Professional Documents
Culture Documents
7
2005 IEEE Conference on Control Applications
Toronto, Canada, August 28-31, 2005
Abstract— Many nonlinear controllers for ball and beam In order to solve transient performance problem, energy
system can achieve in some cases asymptotic stability. Only shaping method uses a nonlinear static state feedback that is
a few of them apply their nonlinear control theory results in derived from the interconnection and damping assignment
real experiment. On the other hand, many laboratories use
PD control for the ball and beam system, but theory analysis [3]. But it requires the kinetic and potential energies shaping
is based on a linear approximate model. Little effort has been [8]. Sliding mode controller can overcome the problem
made to analyze the PD control via the complete nonlinear associated with singular states [6]. But chattering in sliding
model. In this paper we propose an asymptotically stabilizing mode is a big problem in application. Observer-based non-
PD controller that ensures that, for a well defined set of initial linear control in [7] uses the same coordinate transformation
conditions, the ball remains on any point of the bar. Complete
nonlinear model of ball and beam system and stability analysis as in [5] to design a nonlinear observer for the velocities of
of PD control are proposed in this paper. Real experiments ball and beam system. The controller is more complex than
are applied to test our theory results. [5]. Some intelligent controllers for ball and beam can also
be found, such as fuzzy control [10], sliding mode fuzzy
I. I NTRODUCTION control, neural control [1], fuzzy neural control [2], etc.
Ball and beam system is one of the most enduringly These intelligent controllers are derived from some prior
popular and important laboratory models for teaching con- information or input-output data of ball and beam system.
trol systems engineering. It is widely used because many There are two problems for ball and beam control: 1)
important classical and modern design methods can be many laboratories use simple controllers such as PD control,
studied based on it. The system (shown in Fig.1) is very but theory analysis is based on linear models. 2) nonlinear
simple – a steel ball rolling on the top of a long beam. One controllers for ball and beam system have good theory
side of the beam is fixed, the other side is mounted on the results, but they are seldom used in real applications. In this
output shaft of an electric motor and so the beam can be paper we will analyze the stability of the PD control with
tilted by applying an electrical control signal to the motor the complete nonlinear model. To the best of our knowledge,
amplifier. The position of the ball can be measured using stability analysis of PD control based on nonlinear model
a special sensor. It has a very important property – open of ball and beam system has not yet been established in the
loop unstable, because the system output (the ball position) literature. Since the dynamic equations of ball and beam
increases without limit for a fixed input (beam angle). The system are not suitable for Lyapunov method, some special
control job is to automatically regulate the position of the transformations are applied. Also we propose a modified-PD
ball by changing the position of the motor. This is a difficult controller to guarantee asymptotic stability of the regulation
control task because the ball does not stay in one place on procedure. A real experiment is applied to test our theory
the beam when 6= 0> but moves with an acceleration that results.
is proportional to the tilt of the beam.
This standard experiment can be approximated by a linear II. BALL AND BEAM MODEL AND PD CONTROL
model, many universities use it for education of classical
control theory. Linear feedback control or PID control For the ball and beam system described schematically in
can be applied, the stability analysis are based on linear Fig.1, a ball is placed on a beam where it is allowed to roll
state-space model or transfer function [9]. Resent results with 1 degree of freedom along the length of the beam. A
show that the stabilization problem of the ball and beam lever arm is attached to the beam at one end and a servo
can be solved by nonlinear controllers. Approximate input- gear at the other. As the servo gear turns by an angle , the
output linearization used state feedback to linearize ball and lever changes the angle of the beam by . When the angle is
beam system first, the a tracking controller based on the changed from the horizontal position, gravity causes the ball
approximates system can stabilize the ball and beam system to roll along the beam. The basic mathematical description
[5]. But this controller is very complex for real application. of this system consists of DC servomotor dynamic and ball
on the beam model.
Wen Yu and Floriberto Ortiz are with the Departamento de Control
Automatico, CINVESTAV-IPN, Av.IPN 2508, México D.F., 07360, México Modelling DC servomotor can be divided into electrical
yuw@ctrl.cinvestav.mx and mechanical two subsystems. The electrical system is by
0-7803-9354-6/05/$20.00 ©2005 IEEE 517
Authorized licensed use limited to: LIVERPOOL JOHN MOORES UNIVERSITY. Downloaded on November 12,2023 at 14:33:28 UTC from IEEE Xplore. Restrictions apply.
y N
R r
ball
L
L mg sin α F α
mg
beam d
θ
α z Mg
d
θ
motor
Fig. 2. Relation between motor position and beam angle.
Fig. 1. Ball and beam system summarize the two equation in (5) with I = 0>
·· ·· 2 ··
p| sin + p} cos = pj sin + pu
5
based on Kirchhoff´s voltage law ··
³· ·
´ ··
g
Use the conditions | = gw u sin + u cos > } =
· · ³· ´
X = Op L p + Up Lp + Ne (1) g ·
gw u cos u sin , | = u sin > } = u cos
where X is input voltage, Lp is armature current, Up and ·· ·· ·· ·2
Op are the resistance and inductance of the armature, Ne | sin + } cos = u + u
·
is back emf constant, is angular velocity. Compared to It is the second equation of (4). When the system is near
· · ·
Up Lp and Ne > the term Op L p is very small. In order to stable point, 0> the acceleration of the ball is given
to simplify the modeling and as most DC motor modeling by
· ·· 5
methods, we neglected the term Op L p = DC motor model u = j sin
7
is µ ¶
Up Mp ·· Up Ep · Since is a small angle, sin = The approximation
+ Ne + =X (2) linear model for the ball and beam system becomes
Np Nj Np Nj
e
The mechanical subsystem is J(v) = (6)
µ ¶ v2
1 ·· ·
Mp + Ep = p (3) In state space form, it is
Nj " · # · ¸· ¸ · ¸
{1 0 1 {1 0
where Nj is gear ratio, Mp is the effective moment of · = + x
{2 0 0 {2 e
inertia, Ep is viscous friction coefficient, p is the torque · ¸
produced at the motor shaft. The electrical and mechanical {1
| = [1> 0]
subsystems are coupled to each other through an algebraic {2
torque equation where {1 = u> {1 = u=
·
3
N ormal PD control
2 for simplified m odel
1
M odified PD control
0 for com plete m odel
-1
-2
N orm al PD control
for complete m odel
-3
Tim e (m s)
-4
0 20 40 60 80 100
Fig. 4.
Fig. 5. Ball and beam control system.
3 0
2
-1
1
-2
0
-1 -3
Time (ms)
-2
-4
0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000
-3
Time (ms)
-4
0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000
V. C ONCLUSION
The main contributions of the paper are, 1) A class of
asymptotically stable PD controllers has been presented
for regulation of ball and beam system. The new con-
trollers, which have some attractive advantages for practical
applications, are constructed by introducing a nonlinear
compensator into the traditional PD controller. 2) By using
Lyapunov´s direct method, we have shown for a well
defined set of initial conditions, the ball remains on any
point of the bar. 3) Experimental results are presented to
illustrate the control system stability and performance.
R EFERENCES
[1] Y.C.Chu, J.Huang, A neural-network method for the nonlinear ser-
vomechanism problem, IEEE Trans. Neural Networks, Vol.10, No.6,
1412-1423, 1999.
522
Authorized licensed use limited to: LIVERPOOL JOHN MOORES UNIVERSITY. Downloaded on November 12,2023 at 14:33:28 UTC from IEEE Xplore. Restrictions apply.