Professional Documents
Culture Documents
Where:
Rm J m L
k1 JB
Km K g d
L K m Kb R B
k2 Kb m m
d Rm Km K g
Km
k3 1
Rm
7
Fig1 Schematic diagram a ball-beam
k4 system.
5
vin(t): voltage supply to the motor In fact, as well as theory control moment of
the motor is u(t) consider Fig2 and [3], [6] so
() ( ): control input to the Ball on a
we get:
beam system
u(t) = η. Kg.Jm (3)
Table1. Parameters of the ball on a beam
system
Symbol Description
Armature resistance of the motor
Gear ratio
Motor torque constant
Fig2 Equation characteristic of DC motor
Effective moment of inertial
The equilibrium of the system is working
( ) Servo gear angle
condition. So we get equation as follows:
α(t) Beam angle
( ) (4)
r(t) Ball position
Gravitational constant (5)
3. Design controller DSMC for system
M
Mass of the beam
2
Consider equation nonlinear of the system ̇ * ( )
( )
[4]
( )
( ) + (10)
( )
( ̇ ̈ )
( )
( ̇ ̈ ) The sliding surface is determined [1]:
( )
Set ̇ ̈ ̈ ̇ ̇
So system state equation is rewritten as
̈ ̇ ̇ ( )(11)
follow:
̇ satisfy Lyapunov stability criterion.
x1 x2
x x Where:
2 3
(6) e: error of set signal and real signal
....
x x ̇ ̇ ̇ ̇
n 1 n
xn f ( x) g ( x)u
̇ ̇ ̈ ̈
, and are scalars such that
Output signal y = x1.
Define the sliding surface as follow:
and are chosen to
S e( n1) an2e( n2) ... a1e a0e
satisfy the Routh–Hurwitz stability criterion.
The control law is determined as follow
The control law is determined:
f ( x) an 2 ( xn r ( n 1) )
1
u ... a1 ( x3 r ) a0 ( x2 r ) r
(n)
̇
g ( x) ̇ ( ) *
sign(S) ( )
( ̇ ) ̇ ( )
̇
( )
Apply to a ball-beam system we get: ̇
̇ ( )+ (12)
From (1), (2) and (6) rewrite equation state of
the system as follow: :
̇ (7)
2mrr L
f 2mrr k2 mgr 2 Mg cos
mr k1
2
̇ ( ) (8)
2
1 r 2 2 grsin (13)
[ 2mrr k2 2m r 2
̇ (9) mr k1
2
k4
L
mgr Mg sin mgrcos
2
3
4. Results of simulation The control structure of a ball-beam system is
based on control law (12).
Based on the parameters of real experimental,
we get parameters as follow:
=5.0246.10-4Kg.m2
Fig4 Control structure of a ball-beam system
4
Fig6 Result of beam angle at r_set= 0.4
Fig9 Result of beam angle at r_set = 0.6
6
working. The chattering is removed and ball
position can response anywhere on the beam
by DSMC controller. But there are
differences of the response time between
under real model and simulation.
References:
[1] Naif B. Almutari-Mohamed Zribi, On the
sliding mode control of a Ball on Beam
Fig16 Result of beam angle (rad) at r_set=0.4 system, Springer Science+Busuness Media
B.V2009
[2] I. Lagrat, H. Quakka, I Boumhidi, Fuzzy
Sliding Mode PI Controller for Nonlinear
Systems, Proceeding of the 6th WSEAS
International Conference on Simulation,
Modelling and Optimization, Lisbon,
Portugal, September 22-24, 2006.
[3] Mohammad Keshmiri, Ali Fellah Jahromi,
Abolfazl Mohebbi, Mohammad Hadi
Amoozgar, and Wen-Fang Xie, Modeling and
Control of ball and beam system using
Fig17 Result of u_control signal (V) at model-based and non-model based control
r_set=0.4 approaches, International Journal on Smart
Similar simulation, results of implementation Sensing and Intelligent, vol.5, No 1, March
showed that DSMC controller has better 2012
results SSMC and FSMC about time to [4] Abdul Manan Khan, Amir Iqbal Bhatti,
response r_set position of the ball, non- Sami-ud-Din, Qudrat Khan
overshot and chattering of the control signal Static & Dynamic Sliding Mode Control of
is reduced. DSMC can control the ball any Ball and Beam System, Proceedings of 2012
position on the beam. With FSMC is response 9th International Bhurban Conference on
ball position not well that indicated fig12, Applied Sciences & Technology (IBCAST).
fig15.
[5] Nguyen Minh Tam, Nguyen Van Dong
6. Conclusion Hai, Dao Minh Tien, Vu Dinh Dat, Ho Trong
In this paper, we proposed DSMC Nguyen, Nguyen Thi Oanh, Method of
controller purpose to compare results control sliding mode control for ball-beam systems,
with FSMC and SSMC controllers of a ball- Journal of Technical Education Science No
beam system from simulation to experiment. 39, 12-2016.
All results showed that DSMC is better
7
b
[6] Vo Van Chau, ‘Design controller Lecturer at Department of Mechanical
PI_FSMC to stability for the ball on beam Engineering, Ho Chi Minh City of
system’, Master Thesis, Ho Chi Minh City Technology and Education.
University of Transport, 2014.
Email:
[7] Huang, J., Lin, C.-F.: Robust nonlinear
thinhnt@hcmute.edu.vn,
control of the ball and beam system. In: Proc.
phuongnn@hcmute.edu.vn
American Control Conference, Seattle, WA,
pp. 306–310 (1995)
[8] Kim, H.-K., Lee, D.-H., Kuc, T.-Y., Yi,
T.-C.: A back-stepping design of adaptive
robust learning controller for fast trajectory
tracking of ball beam dynamic systems. In:
Proc. IEE International Conference on
Systems, Man, and Cybernetics, Beijing,
China, pp. 2311–2314 (1996)
[9] Jiang, Y., Mc.Corkell, C., Zmood, R.:
Application of neural networks for real-time
control of a ball–beam system. In: Proc IEEE
International Conference on Neural
Networks, Perth, WA, Australia, pp. 2397–
2402 (1995)
[10] Wang, Q., Mi, M., Ma, G., Spronck, P.:
Evolving a neural
controller for a ball-and-beam system. In:
Proc. International Conference on Machine
Learning and Cybernetics,
pp. 757–761 (2004).
Responsible author a:
Phan Thanh Phuc
Student at Department of Mechanical
Engineering, Ho Chi Minh City of
Technology and Education.
Cellphone: (+84)909452287
Email: phanthanhphuc@gmail.com