Paper of Optimization Lecture 5
Paper of Optimization Lecture 5
Paper of Optimization Lecture 5
https://doi.org/10.1007/s40435-020-00629-8
Abstract
An observer integrated backstepping control is designed for a ball and plate system with the characters of cascade and model
uncertainties. The model of the system is written in the cascaded strict feedback form. The uncertainties of the model and
derivatives of the virtual controls are estimated by a linear extended state observer and a tracking differentiator, respectively.
The convergence of the derivative estimation is studied. The actual control and virtual controls are designed based on the
cascaded model with the Lyapunov theory. The stability of the closed-loop system is consequently proven. Simulations and
experimental results demonstrate the excellent tracking performance of the control design.
Keywords Ball and plate system · Backstepping · Linear extended state observer (LESO) · Tracking differentiator (TD)
123
J. Ma et al.
In this paper, the linear ESO is integrated with the back- where 1 and 2 denote the unknown nonlinear parts of the
stepping method in a cascaded interaction mode so that the system and the disturbances, u is the control and represents
entire stability of the nonlinear system is guaranteed. The the input voltage V m of the servo motor.
parameters for TD to be fast enough to track the virtual con- Introduce the state variables as
troller is discussed in detail so that the tracking stability is
guaranteed. x1 x; x2 ẋ
This paper is organized as follows: The system structure x3 θ ; x4 θ̇ (2)
and the conversion to the strict feedback form are presented
in Sect. 2. Section 3 presents the ADRC based estimation of Then the system model (1) can be represented by the fol-
the uncertain model and derivatives, the cascaded interaction lowing cascaded feedback model:
control design procedure and the theoretical results. Exper-
imental setup and results are presented in Sect. 4. Section 5 ẋ1 x2 + f 1 , ẋ2 x3 + f 2
contains the conclusions. ẋ3 x4 + f 3 , ẋ4 ηu + f 4 (3)
where
2 System structure
f 1 0, f 2 −x3 + ẍ
The ball and plate system makes use of two same rotary f 3 0, f 4 −ηu + θ̈ (4)
servo base units made by Quanser. The plate is symmetrical.
The dynamics along each axis is therefore assumed to be the f i contains ball and plate system dynamic model and
same. As shown in Fig. 1, the motor drives the servo angle θ unknown disturbance is the pseudo-control coefficient. In the
to further control the displacement x of the ball through the following sections, the function f i will be estimated through
movement of the angle α of the beam. The system is a typical a reduced-order linear extended state observer in every step
cascaded, under-actuated system. of the backstepping design. The equivalence proof of the con-
From Newton’s second law, we can state that the dynamic trol between the pseudo-control coefficient and the original
equations for the displacement of the ball and the output angle controller will be given.
of the DC motor can be written in the following general form:
123
Observer integrated backstepping control for a ball and plate system
We use the cascaded feedback model (3) of the ball and plate Theorem 1 Assuming that the derivatives of the system mod-
system to design backstepping controls. We first present an els are bounded, the model estimation error obtained by the
adaptive disturbance rejection linear extended observer to observer (LESO) is bounded.
deal with model uncertainties. Some details of the tracking
derivative (TD) for estimating the derivative of the virtual Proof Define the state estimation error as e(t) s(t) − ξ (t).
controls are presented, which is responsible for avoiding the According to (8) and (9), we have
‘differential explosion’ of the backstepping control design.
The guideline of choosing the parameter for TD is discussed. ė(t) Ae e(t) + Eh(x, t) (10)
The virtual and actual controls are designed with the Lya-
punov method. The stability of the closed-loop system is −β1 1
consequently proven. where Ae ( A − LC)
−β2 0
By selecting a proper L [β1 β2 ] and setting the roots of
3.1 Linear extended observer its characteristic equation s 2 +β1 s +β2 on the left half of the s-
plane, under the assumption that h(x, t) f˙i (x, t) is bounded,
The backstepping treats each state variable x i as a control in the state estimation error is also bounded as suggested by
the cascade system and creates a virtual control design x id for Eq. (10).
the state. The overall control will reduce the tracking error
between the virtual controller x id and each state variable x i Note that he unknown model estimate can be expressed
defined as: as: fˆi (x, t) ξi2 h i (x, t)dt, and the estimation error is
bounded.
z i xi − xid , i 1, 2, 3, 4 (5)
3.2 Derivative estimation
Especially, when i 1, the tracking target is the given
reference denoted as x ref , which means x1d xr e f Derivatives of various terms in the traditional backstepping
Introducing the tracking error (5) into Eq. (3), we have: control design for high-order systems are needed and often
lead to the so-called “differential explosion” involving many
ẋi z i+1 + x(i+1)d + f i , i 1, 2, 3 terms in the control. When the system model is inaccurate
ẋ4 ηu + f 4 (6) or unknown, we cannot have analytical expressions of the
derivatives. In this paper, TD is used to estimate the deriva-
Each subsystem can be further expressed in the following tive of the virtual control in the backstepping design. The
extended form: following closed-loop system of a minimum time optimal
bang-bang control is used to achieve fast estimation.
ẋi z i+1 + x(i+1)d +xi+4
ẋi+4 h i ẏi1 yi2
yi C xi (7) yi2 |yi2 |
ẏi2 −r sign yi1 − xid + (11)
2r
where xi+4 h i (x, t)dt f i (x, t), i 1, 2, 3, 4.
The state equation corresponding to the extended model where yi1 is the output of the system that is supposed to
(7) can be expressed as: track the target x id , for example, yi2 is then an estimate of
the derivative ẋid by virtue of the first line of Eq. (11), and
ṡ(t) As(t) + BU (t) + Eh(x, t) r is the parameter that determines the response speed of the
y(t) Cs(t) (8) tracking differentiator.
In order to ensure that the TD achieves excellent track-
where s [xi xi+4 ]T , A [01; 00]T , B [10]T , E ing in a short time, we examine the relationship between
[01]T , C [10], U (t) z i + x(i+1)d , when i 4, U(t) ηu. the backstepping control speed and the tracking convergence
Equation (8) can be used to design a linear extended state time.
observer (LESO) as: In Eq. (11), we drop the index i for now and denote yi ȳ.
The solution of Eq. (11) can be obtained as:
ξ̇ (t) Aξ (t) + BU (t) + L(y(t) − ŷ(t))
1 2
ŷCξ (t) (9) ȳ1 ȳ + c+ (u +1) (12)
2r 2
123
J. Ma et al.
1
t1 ( ȳ22 − ȳ12 ) (19)
r
1
t2 ( ȳ22 − ȳ32 ) (21)
r
The total time for the system to move from point a to reach
point b is
Fig. 2 Phase trajectory and switching curves of the closed-loop
1 1
minimum-time optimal control system tab t1 + t2 ( ȳ22 − ȳ12 ) + ( ȳ22 − ȳ32 ) (22)
r r
123
Observer integrated backstepping control for a ball and plate system
Hence, when ci > −1, i 1, 2, 3 and c4 > 0 ,the closed- present the results of numerical simulations in X direction.
loop system is stable in the Lyapunov sense. Since the experimental setup is not perfect, a weak coupling
between the dynamics in X and Y directions exists.
3.4 Control equivalence
4.1 Numerical simulations
In [17], it has been shown that under the assumption that
the sign of the control coefficient b2 and its upper bound are The equations in X direction including the servo motor in
known, when |η| |b2 |, the control design with the substi- the loop can be found by using the Lagrange method, and are
tuted control coefficient η converges to the control designed given by
with the known coefficient b2 . ⎡ ⎤
x2
⎡ ⎢ ⎤ ⎥
ẋ1⎢ 2m b grar m rb2 ⎥
⎢ ⎥ ⎢ ⎢ sin x3 + ξ (y) ⎥
4 Simulation and experimental results ⎢ ẋ2 ⎥ ⎢ L plate m b rb + Jb
2 ⎥
⎥
Ẋ ⎢ ⎥⎢
⎢ ẋ ⎥ ⎢ ⎥
⎣ 3 ⎦ ⎢ x4 ⎥
Numerical simulations and experiments of the ball and plate ⎥
⎢ ⎥
system are carried out to demonstrate the performance of the ẋ4 ⎣ Beq,v Am ⎦
− x 4 + u
proposed control design. The hardware system used in the ηg K g2 Jm + Jl ηg K g2 Jm + Jl
experiment is made by Quanser. As shown in Fig. 3, the sys- (30)
tem consists of a ball, a smooth plate, two servo motors in the
X and Y directions, and an overhead camera. The position where x 1 is the displacement of the ball, x 2 is the velocity of
of the ball is measured with the overhead camera. The ball the ball, x 3 is the servo angle displacement, x 4 is the servo
displacement and speed are controlled indirectly by the servo angle speed. ξ (y) is the disturbance induced by the movement
motors adjusting the plate angles to track the desired trajec- of Y direction. The control variable u represents the input
tory. The component names and system parameter definitions voltage V m .
are listed in Tables 1 and 2 in the appendix. It is assumed that the dynamics of each axis is the same.
When the X and Y axes are perfectly perpendicular to each Therefore, only X direction is simulated in the numerical
other, the dynamics of the system in these two directions are simulation. In the simulation, the square trajectory with
decoupled and independent. For this reason, we shall only amplitude of 3 cm and a sinusoidal trajectory with period
123
J. Ma et al.
4
x
2 of 40 s are considered as the reference. The control parame-
0
0 10 20 30 40 50 60 70 80
ters are taken as c1 0.08, c2 9, c3 120000, c4 0.06, η
1
10000000. The tracking speed parameter r for estimating
θ (deg)
0
the derivative of each stage of the virtual control is taken to
−1
10
0 10 20 30 40 50 60 70 80
be 3.6 × 105 , 8 × 1010 and 8 × 1014 . The LESO observer
gains are β1 0.8 and β2 1.2.
V m (V )
−10
0 10 20 30 40 50 60 70 80 Figure 4 shows the simulation results of the ball tracking
Time (s)
the square trajectory. Figure 5a, b show the simulation results
Fig. 4 Simulation results of tracking a square trajectory of the ball tracking the sine and cosine trajectories, respec-
tively. In the figures, the black curve is the reference, and the
red dash line is the tracking response. It is obvious that the
5 5
0 0
x
y
−5 −5
0 10 20 30 40 50 0 10 20 30 40 50
20 20
θ (deg)
θ (deg)
0 0
−20 −20
0 10 20 30 40 50 0 10 20 30 40 50
20 20
V m (V )
V m (V )
0 0
−20 −20
0 10 20 30 40 50 0 10 20 30 40 50
Time (s) Time (s)
(a) (b)
Fig. 5 a Simulation results of tracking a sine trajectory. b Simulation results of tracking a cosine trajectory
5 5
0
x
0
−5
−5
0 10 20 30 40 50 0 10 20 30 40 50
100 100
θx (deg)
θy (deg)
0 0
−100 −100
0 10 20 30 40 50 0 10 20 30 40 50
100 100
V mx (V )
V my (V )
0 0
−100 −100
0 10 20 30 40 50 0 10 20 30 40 50
Time (s) Time (s)
(a) (b)
Fig. 6 a Experimental results of tracking a square trajectory in X direction; b Experimental results of the tracking a sinusoidal trajectory in Y
direction
123
Observer integrated backstepping control for a ball and plate system
5 5
0 0
x
y
−5 −5
0 10 20 30 40 50 0 10 20 30 40 50
100 100
θx (deg)
θy (deg)
0 0
−100 −100
0 10 20 30 40 50 0 10 20 30 40 50
100 100
V mx (V )
V my (V )
0 0
−100 −100
0 10 20 30 40 50 0 10 20 30 40 50
Time (s) Time (s)
(a) (b)
Fig. 7 a Experimental results of tracking a sine trajectory. b Experimental results of tracking a cosine trajectory
2
4.2 Experimental results
0
y
123
J. Ma et al.
123