Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
net/publication/237082027
CITATIONS READS
17 1,129
3 authors:
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
Inferences on Cross Cultural Decision-Making Derived From International Healthcare Analyses View project
All content following this page was uploaded by Muhammad Jawad Khan on 02 December 2015.
* Department of Mechatronics College of E& ME, National University of Sciences and Technology Rawalpindi,
Pakistan, ** Department of Mechatronics Air University, Islamabad, Pakistan
Abstract-The ball balancing system in a 2-degree of corresponding to the ball position until the ball reaches its
freedom platform is of unique importance in understanding desired position. The control loop of the servo mechanism
the control system applications. It is a platform to test and
is shown in Figl.l.
identify different aspects of controls, as the non-Iinearities
increases with the degree of freedoms. So far many c=SP-FB
Proceedings of 2012 9th International Bhurban Conference on Applied Sciences & Technology (IBCAST) 22
Islamabad, Pakistan, 9th - 12th January, 2012
the plate and the base of the system (ground) was a. Reliability and long term performance
introduced. Consider motor 'A' as the base motor, fixed b. Minimum power drain
to the ground. Now the plate carrying sensor grids is c. Convenience, simplicity and reliability in
mounted on top of motor 'B'. This platform is then maintenance and availability.
mounted on top of motor 'A'. Hence, as motor 'A' rotates In order to control the speed of DC motors pulse
motor 'B' platform consequently moves along the same
controlled circuits are used, enabling capability of high
axis. This dependency is catered for by using separate
closed loop feedback control systems for each axis/ power handling. The motors in our application can be best
motor. controlled using PWM type signals. Since the power
amplifiers associated with the PWM signal will operate in
B. Types of Motors the pulsed mode which will result in minimum power
12 V, 1200 rpm DC servo motors coupled with custom loss. For better clarity a single DC motor driven by PWM
made gear boxes of 1:1 00 have been used in order to signal along with its input voltage and motor current
reduce the speed of motors and increase their torque to waveforms are shown in Fig 3.l.
the desired values. Each motor was coupled with dual in
� 1-T
line optical encoder of 288 lines for the feedback.
C. Dimensions of the Plaiform
B. Control Circuit
The electronic circuit of the motors consists of two
main parts:
a. Digital Circuit. This part of circuit constitutes
all the TTL level circuit components. Signals
from this part i.e., the controller, goes into the
respective motor control circuits. Similarly the
Figure.2. I : PRO-E model of the system
feedback being provided by the optical encoders
III. Electronic Control b. Power Circuit. Considering the voltage driven
capability, better switching time and their
The power elements have been chosen for the plate
availability at required ratings MOSFETs are the
actuator systems after taking into account several limiting
first choice. H-bridge configuration is utilized
factors. These depend upon the velocity and the angular
for full four quadrant operation Z-switching
displacement desired of the motors. Some of the criteria
technique is employed [1].
used for the selection of power elements are:
Proceedings of 2012 9th International Bhurban Conference on Applied Sciences & Technology (IBCAST) 23
Islamabad, Pakistan, 9th - 12th January, 2012
C. Encoder FeedbackSystem were simultaneously turned ON to get the best and fastest
As described earlier the feedback for the control results.
algorithm is being provided by the optical encoders of 1
T S -( ) (1)
288 lines mounted on each motor. This means that P 2 .5S+ 3 . 6
rotation of motor is represented by 1.25 lines of the
encoder. The output of the motors after being coupled Eq 1 gives the transfer function of the individual motor.
with gears reduces almost 10 times in each motors case. The overall step response for the system is given in Fig
So the encoders provide a very accurate feed back of the 4.1.
motor. Step Response
0.35 �-�-�--�-�-�--�-�-�
D. Microcontroller
0.3
AVR ATMega16 microcontroller is employed to serve ----
1 ----
1 ----
1 ---1
- =-=-
- -
1
- -=
- ,=-,=-�-�= - �-��
- ---j
as the brain of the ball on plate system. The advantage of 0.25 ----
1 ----
1 --- -
using an AVR microcontroller is that it is easy to program
and is readily available at relatively low cost. It has 16 •
1
0.2---- __
1
Kbytes of flash memory and a very fast response owing to �
its RISe architecture. The two separate PWM channels � 0.15
purpose.
E. Digital Control
Time (sec)
0.02
5 - - - - L __ .L __ .L __ .1 __ .1 __ .1 __ -.J __ -.J __
1
I I I I I I I I I
0.02- 1--1--1--
I - 1--'--'--1--1--
6 0.01
.� I I I I
-1--1--1--1-
�
:c
� a --j- --j- -
5
·0.00
-0.01
Proceedings of 2012 9th International Bhurban Conference on Applied Sciences & Technology (IBCAST) 24
Islamabad, Pakistan, 9th - 12th January, 2012
Step Response
1000 ,-----�--�--�-___====��___, Fig 4.5 shows the output response of the platform
1 1 1 1
900 ____ L ____ L _ __ L ____ L ____
after the given disturbance input is passed from the PID
I I I
controller. This result shows that the output under
800 ----1- --- 1-----1- ----1- ----
disturbance settles after 0.5 milli seconds and attains the
I I I
700 ----r-- --r-----r-----r-----
original position of bed after the mentioned interval of
I I I
600 ____ ____ L ____ L ____ L ____ time. Fig 4.6 shows the complete system.
. 1 1 1 1
500 --- 1-----1-----1-----1-----
�
<i
1 1 1 1
400 -- -r-----r-----r-----r-----
1 1 1 1
10 20 30 40 50 60
nrre(sec)
VII. References
[1] S. Awtar, C. Bernard,N. Boklund,A. Master,D. Veda, and
K. Craig. "Mechatronic design of a ball-on plate balancing
O �����U-�---L--�--�--�
o 0.2 0.4 0.6 0.8 1.2
system". Vol No.12 No.2 March 2002, pp 217-228
time Technical report,Rensselaer Polytechnic Institute,2002.
Figure.4.S: Output response of controller
Proceedings of 2012 9th International Bhurban Conference on Applied Sciences & Technology (IBCAST) 25
Islamabad, Pakistan, 9th - 12th January, 2012
[2] A. Bicchi and R. Sorrentino, "Dexterous manipulation [7] Nawai, Ahmad, and Osman, "Real Time Control Of Two
through rolling," IEEE International Conference on Wheeled Inverted Pendulum Mobile Robot." World
Robotics and Automation 1995, pp. 452--457,1995. Academy of Science, Engineering and Technology. 29,
214-220
[3] "The design of control system
Yuanjiang, Ming and Liao,
for two wheel mobile platform," IEEE International [8] Lauwers, Kantor and Hollis, "A Dynamically single
Conference computer design abd application. vol 3pp. 300- wheeled Mobile Robot with Inverse Mouse ball Drive"
304,2010. IEEE ICRA 2006. pp. 2884-2889.
[4] McClung and Morrell, "Estimation of contact forces in an [9] K. Ng and M. Trivedi, "Fuzzy logic controller and real
inverted pendulum robot " IEEE International Conference time implementation of a ball balancing beam", In SPIE,
on Intelligent Robots and Systems. pp. 999-1004,2008. Orlando,Florida,1995.
[5] Coelho,Liew, Stol and Liu, "Development of a mobile two [10] Graham Goodwin, Stefan Graebe, and Mario Salgado.
wheel balancing platform for autonomous applications"
"Control system design - ball-on-plate tutorial". Available:
IEEE International Conference on Mechatronics and
http://csd.newcastle.edu. au/control/simulationslballsim.htm
Machine vision in practice. pp. 575-580,2008.
1,2001.
[6] C. Phillips and H. Nagle. "Digital control system analysis
and design", 3rd edition. Technical report, Prentice Hall,
Inc., 1995
Proceedings of 2012 9th International Bhurban Conference on Applied Sciences & Technology (IBCAST) 26
Islamabad, Pakistan, 9th - 12th January, 2012