• Aucun résultat trouvé

NONLINEAR CONTROLLER FOR A MODIFIED DESIGN OF THE BALL & BEAM SYSTEM

N/A
N/A
Protected

Academic year: 2021

Partager "NONLINEAR CONTROLLER FOR A MODIFIED DESIGN OF THE BALL & BEAM SYSTEM"

Copied!
7
0
0

Texte intégral

(1)

HAL Id: hal-00673432

https://hal.inria.fr/hal-00673432

Submitted on 23 Feb 2012

HAL is a multi-disciplinary open access archive for the deposit and dissemination of sci- entific research documents, whether they are pub- lished or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers.

L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de recherche français ou étrangers, des laboratoires publics ou privés.

NONLINEAR CONTROLLER FOR A MODIFIED DESIGN OF THE BALL & BEAM SYSTEM

Oscar Salas, Samer Riachy, Jean-Pierre Barbot

To cite this version:

Oscar Salas, Samer Riachy, Jean-Pierre Barbot. NONLINEAR CONTROLLER FOR A MODIFIED

DESIGN OF THE BALL & BEAM SYSTEM. ASME, ESDA 2012, Jul 2012, Nantes, France. �hal-

00673432�

(2)

Proceedings of the ASME 2012 11th Biennial Conference On Engineering Systems Design And Analysis ESDA 2012 July 2-4, 2012, Nantes, France

ESDA2012-82147

NONLINEAR CONTROLLER FOR A MODIFIED DESIGN OF THE BALL & BEAM SYSTEM

Oscar S ALAS

ECS-Lab/ENSEA

EA-3649. 6 av. du Ponceau, 95014 Cergy-Pontoise, France.

Oscar-Salvador.Salas-Pena@ensea.fr

Samer R IACHY ∗

Jean-Pierre B ARBOT

ECS-Lab/ENSEA & INRIA/Non-A.

EA-3649, 6 av. du Ponceau, 95014 Cergy-Pontoise, France

Samer.Riachy@ensea.fr,Jean-Pierre.Barbot@ensea.fr

ABSTRACT

The global stabilization of the classical ball & beam has been approached in the literature through saturated control which imposes restrictions on the reactivity of the closed loop.

In this work a modified design for the classical ball & beam sys- tem is presented. The beam is driven by two actuators (see figure 1). In comparison to the classical system, this design offers an additional degree of freedom which is the vertical motion of the beam. We show that the new design offers the possibility to get rid of the closed loop low reactivity restriction. We propose two nonlinear controllers to steer the trajectories of the system to- wards a final desired position. The first controller adapts, to the new design, existing controllers from the literature for the clas- sical ball & beam. The second controller uses the additional degree of freedom to provide a faster stabilization.

1 Introduction

Stabilization of underactuated systems, driven by fewer ac- tuators than degrees of freedom, presents a challenging problem which has attracted a considerable attention in the nonlinear con- trol community (see, for example, [1] [2] [3] [4] and the refer- ences therein). The ball & beam system is one of the simplest underactuated systems.

The classical system consists of a beam free to rotate around a fixed axis. The ball is free to translate along the beam. It is un-

deractuated since the position of both the ball and beam should be controlled through the torque acting on the beam. An obsta- cle to the stabilization of the system came from the destabilizing centrifugal force (for more details see [5] [6] [7] [8]). In fact, from the dynamical equations

y ¨ = y θ ˙ 2 − g sin(θ ) θ ¨ = τ 2 ,

one may naturally consider the gravitational term −g sin(θ ) as a virtual control input for the y dynamics. τ 2 is then designed to accomplish the desired virtual input θ which stabilize y. This ap- proach works locally since if y is large or ˙ θ is high, the system is destabilized by y θ ˙ 2 . The problem arise thus from the centrifugal force y θ ˙ 2 , when both fast stabilization and large domain of at- traction are desired. The global stabilization has been addressed through low gain control designs in [5] [6] [7] [8]. The idea is to drive the beam slowly such that ˙ θ become very small. A ma- jor drawback of low gain design is the slow time response of the closed loop system which induces large transients when the sys- tem starts far away from the origin. The present work consider a novel design of the ball & beam system which permits to over- come both mentioned problems. It is described in the following lines.

The beam consist in a double axis system whose inclination

is driven through two actuators of different technology, pneu-

matic and electrical. The upper axis is held up from one side

(3)

by a Prismatic-Revolute (PR) piston rod and by a Revolute (R) piston rod on the other side. The “ball” (actually it is a trans- lating mass) hang on lower axis and can slide along this one. A diagram of the platform is depicted in figure 2. It is worth men- tioning that the new design is also an underactuated system since it has 3 outputs and 2 control inputs. Challenges arising from tight cooperation between both actuators will be addressed and faced using nonlinear control techniques, afterwards validated by means of this prototype in one of ongoing works.

This communication proceeds as follows. Section 2 intro- duces the dynamical model of the system. In section 3 and 4 two nonlinear controllers are developed. The first adapts existing results from literature to the new design. While the second con- troller take profit of the additional degree of freedom to provide faster time responses in closed loop. Simulation results are pre- sented in section 5 with the aim of comparing the responses of both controllers. Finally, in section 6, conclusions are drawn.

FIGURE 1. Benchmark picture

2 DYNAMICAL MODEL

Actuators dynamics is not our concern in this work, we as- sume that a feedback is already designed such that the forces acting on the beam can be considered as control inputs. Nonethe- less, actuators dynamics will be one of our main concern in a fu- ture work in order to compare both technologies pneumatic and electrical. After writing the total energy of the system and apply- ing the equations of Euler-Lagrange we have:

Γ(q) q ¨ +C(q, q) ˙ q ˙ + G(q) = τ, (1) where q = [x , θ , y] T is the vector of generalized coordinates.

Γ(q) = [γ 1 (q) , γ 2 (q) , γ 3 (q)] T , C(q, q), ˙ G(q) represent the in-

ertia matrix, the matrices of Coriolis and gravitational forces re- spectively. Due to lack of space we denote sin θ by s θ , tan θ by t θ and cos θ by c θ . This notation applies only to the elements of equation (1) which are listed below:

γ 1 (q) =

M + m (Ml + my)c θ

ms θ

 , γ 3 (q) =

ms θ

−myφ m(s 2

θ + c 2 θ+α

1

)

 ,

γ 2 (q) =

(Ml + my)c θ J 0 + (Ml 2 + my 2 )(c 2 θ + s 2 θ+α

1

)

−myφ

 ,

G(q) =

−(Mg+ mg)c α

1

−(Ml − my)gc θ mgs θ

, τ =

F 1 + F 2 c

1

F

2

s

θ+β

2

(d−2d

1

(t))c

β

1

c

θ

+s

θ

t

α2

0

 ,

C(q, q) = ˙

0 −(Ml + my)s θ θ ˙ + 2m yc ˙ θ 0 0 φ (Ml 2 +my 2 ) θ ˙ + 2my y(c ˙ 2 θ + s 2 θ

1

) 0 0 −2m˙ yφ −my(c 2 θ+α

1

+ s 2 θ ) θ ˙ 0

 ,

with φ = (s θ+α

1

c θ+α

1

− c θ s θ ). M and m represent the masses of the beam and the “ball” respectively, J the inertia of the beam.

The systems variables are represented on the figure 2.

For the sake of simplicity, in this preliminary study we assume that both actuators are mounted in a vertical position (α 1 = α 2 = 0) reducing the dynamical model to (see fig. 3):

(M + m) x ¨ + (Ml +my)cos θ θ ¨ + msin θ y− ¨ (Ml + my)sin θ θ ˙ 2 + 2m ycos ˙ θ θ ˙ − (M +m)g = F 1 +F 2

(J 0 + Ml 2 + my 2 ) θ ¨ + (Ml + my) cos θ x ¨ +2my y ˙ θ ˙ (2)

− (Ml +my)g cosθ = F 2 d

¨

y + sin θ x ¨ − y θ ˙ 2 + g sin θ = 0.

where F 1 and F 2 represent actuators forces acting, respectively, on points R and PR of Figure 2 and l the distance between point R and the center of gravity of the rod.

We apply first a classical partial feedback linearization while taking into account that (M + m(cosθ ) 2 )(J 0 + Ml 2 + my 2 ) − (Ml + my) 2 is strictly positive. This condition can be satisfied by a proper choice of the physical parameters transforming (2) into

2 Copyright c 2012 by ASME

(4)

FIGURE 2. System diagram

FIGURE 3. System diagram for α

1

= α

2

= 0. τ

1

is a vertical force.

τ

2

is the torque acting on the beam.

y ¨ = y θ ˙ 2 − (g + τ 1 )sin θ

¨

x = τ 1 (3)

θ ¨ = τ 2 .

3 First nonlinear controller

The domain of interest is constituted by D = R × R × R × R ×] − π 2 , π 2 [× R . We focus here on developing a first nonlinear controller which adapts [5] [6] [7] [8] to the new design in order to globally asymptotically stabilize the system (3).

The controller proceeds in steps. First a homogeneous state feedback from [11] is designed for torque τ 1 . It drives the x dy- namics to zero in finite time. Then, a saturated control design [9]

drives the y,θ subsystem to the origin asymptotically.

Consider a double integrator

¨

x = τ 1 . (4)

According to [11], two positive constants K 1 and K 2 exist such that the control:

τ 1 = −K 1 sign(x)|x| n

1

− K 2 sign( x)| ˙ x| ˙ n

2

, (5) where n 2 ∈ [1 − ε, 1], stabilizes (4) in finite time. ε is a small positive constant and n 1 = 2−n n

2

2

. Thus after a finite time denoted T 0 , we have x = x ˙ = 0.

Consider the change of variables z 1 = y g , z 2 = g y ˙ , z 3 = θ, z 4 = θ, ˙ z 5 = x and z 6 = x ˙ we have

˙ z 1 = z 2

˙

z 2 = − g + τ 1

g sin(z 3 ) + z 1 z 2 4 z ˙ 3 = z 4

˙ z 4 = τ 2

˙ z 5 = z 6

˙

z 6 = τ 1 . (6)

Using the control (5) and taking τ 2 = −z 3 − z 4 +u, we have after the finite time T 0 :

˙ z 1 = z 2

˙

z 2 = −sin(z 3 ) + z 1 z 2 4

˙ z 3 = z 4

z ˙ 4 = −z 3 −z 4 +u. (7)

Consider now the change of variables (where the physical ho- mogeneity is ensured by appropriate choice of the coefficients in (8)):

y 1 = −z 1 − 2z 2 +2z 3 + z 4 y 2 = −z 2 + z 3 + z 4 y 3 = z 3

y 4 = z 4 . (8)

It transforms (7) to

˙

y 1 = y 2 − 2P +u

˙

y 2 = −P + u

˙ y 3 = y 4

˙

y 4 = −y 3 − y 4 +u, (9)

(5)

with P = y 3 − sin(y 3 ) + z 1 y 2 4 . Take the control

u = −σ 2 (y 21 (y 1 )) , (10) where σ 1 and σ 2 are two state dependent saturation functions defined as follows:

σ i (s i ) = s i when |s i | < ε i , σ i (s i ) = ε i when s i ≥ ε i ,

σ i (s i ) = −ε i when s i ≤ −ε i , i = 1,2.

Take ε 2 = min(¯ ε 2 , √ 1

1+Cz

21

) where C > 1 and ¯ ε 2 is chosen suffi- ciently small such that | sin(ε 2 ) −ε 2 | < ε 2 2 , ε 1 < ε 2

2

and ε 2 2 < 2G ε

1

2

. G 2 is a positive constant. By the monotonicity of the sine function and its derivative on the interval [0, π 2 ], it is clear that

| sin y 3 − y 3 | < G y

23

1

∀ |y 3 | < ε 2 , G 1 > 1 is a properly chosen con- stant. By taking a quadratic Lyapunov function in both y 3 and y 4 , it is straightforward to show that in a finite amount of time, say T 1 , we have |y 3 | ≤ |u|

ρ , |y 4 | ≤ |u|

ρ

0

where both ρ and ρ 0 belong to [1 −δ ,1[ and δ is a small positive constant. Consider now the y 2 dynamics, the time derivative of the Lyapunov function V 2 = 1 2 y 2 2 is bounded by

V ˙ 2 = y 2 (P + u) ≤ y 2 ( |u| 2

G 1 + z 1 ε 2 |u| − u)

≤ y 2 ( |u|

G 1

+ |z 12 −1)σ 2 (y 2 + σ 1 (y 1 )), (11)

where G 1 and ε 2 are chosen such that |u| G

1

+ |z 12 − 1 < 0 as a consequence, there exist a finite time, denoted by T 2 , such that y 2ε 2

2

. Consider now the Lyapunov function V 1 = 1 2 y 2 1 associ- ated to the y 1 dynamics which is given by:

y ˙ 1 = y 2 + 2(y 3 − sin y 3 ) + 2z 1 y 2 4 + u, (12) notice that u = −y 2 − σ 1 (y 1 ) from now on. The time derivative of V 1 writes:

V ˙ 1 ≤ y 1 (2 |u| 2

G 1 + 2z 1 |u| 2 −σ 1 (y 1 )), (13) which ensures by a proper choice of the saturation functions as well as the constants C and G 2 that after a finite amount of time the input u is no more saturated u = −y 2 − y 1 . The closed loop system is reduced to:

˙

y 1 = −y 1 +2P

˙

y 2 = −y 1 −y 2 + P

˙ y 3 = y 4

˙

y 4 = −y 3 −y 4 − y 2 − y 1 (14)

which is locally asymptotically stable.

4 Second nonlinear controller

Suppose that there exist a feedback control which drives the system so that the instantaneous axis of rotation of the beam be the position where the “ball” is located. This consideration, if realized, permits to completely supress the (destabilizing) influ- ence of the centrifugal force. Motivated by this observation, let us consider the following change of variables which is valid on D :

x m y m

=

1 sinθ 0 cos θ

x y

. (15)

It is invertible with y = cosθ y

m

and x = x m −y m tan θ . With the new variables the system writes:

¨

x m = −g(sin θ) 2 + 2( y ˙ m +y m tan θ θ) ˙ θ ˙ + (cos θ) 2 τ 1 + y m τ 2

¨

y m = −g sin θ cosθ −2( y ˙ m + y m tan θ θ ˙ )tan θ θ ˙ − sin θ cos θ τ 1

− y m tanθ τ 2

θ ¨ = τ 2 . (16)

Consider the regular change of control variables applicable for θ ∈] − π 2 , π 2 [:

u v

=

(cos θ) 2 y m

0 1

τ 1

τ 2

,

with u given by

u = g(sin θ ) 2 − 2( y ˙ m + y m tan θ θ ˙ ) θ ˙ − ψ(x m , x ˙ m ) (17) and ψ (x m , x ˙ m ) is a stabilizing controller for the x m dynamics.

Equation (17) transforms (16) to

¨

x m = −ψ(x m , x ˙ m )

¨

y m = − tan θ(g + x ¨ m ) θ ¨ = v.

We use a saturated control for ψ (x m , x ˙ m ) in order to ensure that g −| x ¨ m | > 0. Take z = tan θ and v = 1

(1+z

2

)

2

(w−2z˙ z 2 ), the system writes:

¨

x m = −ψ(x m , x ˙ m )

¨

y m = −(g + x ¨ m )z

¨ z = w.

4 Copyright c 2012 by ASME

(6)

where w is a new control input.

Consider the new variable: ξ = z − αy m − β y ˙ m . Its second order derivative is given by:

ξ ¨ = w + (g + x ¨ m )(αz + β z) + ˙ β x (3) m z.

The dynamics (ξ , ξ ˙ ) can be stabilized by

w = −(g + x ¨ m )(α z + β z)− ˙ β x (3) m z −Φ(ξ , ξ ˙ )

where Φ can be taken as in (5) with the purpose of ensuring a finite time stabilization. After a finite time denoted by T 4 , we have ξ = ξ ˙ = 0 and subsystem y m reduced to

¨

y m = −(g + x ¨ m )(αy m +β y ˙ m )

which is asymptotically stable due to the choice of ψ which en- sure that g − |¨ x m | > 0.

5 Simulation

The performance of both controllers is compared through numerical simulations depicted in figures 4-9. Two tests were performed.

1. For the first one, the system starts at the initial conditions y = 1, θ = 0.35rd ≈ 20 and x = x ˙ = y ˙ = θ ˙ = 0. Simulations results are shown on figure 4 for the first controller, while on figures 6 and 7 for the second one.

2. For the second test, the system starts at the initial conditions y = 1, θ = 1.4rd ≈ 80 and x = x ˙ = y ˙ = θ ˙ = 0. Simula- tions corresponding to the first controller are reported on the figure 5. On the other hand, simulations for the second con- troller are shown on figures 8 and 9.

By examining the simulations, it can be noticed that the sec- ond controller avoids the large transients induced by the saturated control of the first one. Thus, the effectiveness of the new design is confirmed. On the other hand, it is worth mentioning that the first controller provide a saturated input which can be beneficial in some situation. Pay attention that the time axis in Figures 4 and 5 are larger than the time axis of Figures 6-9.

6 Conclusion

This communication presented a new design for the ball and beam system. The idea behind this novel design is to get rid of the centrifugal force which constitute an obstacle for fast and global stabilization of the classical ball & beam system. Two nonlinear controllers have been developed. The first one adapts

0 2 4 6 8 10 12 14 16 18 20

−10 0 10

y

0 2 4 6 8 10 12 14 16 18 20

−0.5 0 0.5

θ

0 2 4 6 8 10 12 14 16 18 20

−0.5 0 0.5

τ

2

FIGURE 4. First controller, test 1.

0 5 10 15 20 25 30 35 40

−200 0 200

y

0 5 10 15 20 25 30 35 40

−2 0 2

θ

0 5 10 15 20 25 30 35 40

−0.5 0 0.5

τ

2

FIGURE 5. First controller, test 2.

existing controllers from the literature to the new system. The drawback of this controller is slow reactivity of the closed loop.

The second controller takes profit of the additional degree of freedom of the system to provide fast global stabilization. The efficiency of the algorithm was attested by several numerical sim- ulations. Experimental results are one of our ongoing works.

ACKNOWLEDGMENT

This work was supported by BQR, SYMER and Agregation projects. The authors would like to thank Emmanuel S OHM and Pascal M ARDESSON from SDI company for fruitful discussions.

REFERENCES

[1] Fantoni, I., and Lozano, R., 2001. “Non-linear control for underactuated mechanical systems”. Springer.

[2] Ortega, R., Gomez-Estern, F., and Blankenstein, G., 2002.

“Stabilization of a class of underactuated mechanical sys-

(7)

0 1 2 3 4 5 6 7 8 9 10 0

0.5 1

y

0 1 2 3 4 5 6 7 8 9 10

0 0.2 0.4

θ

0 1 2 3 4 5 6 7 8 9 10

0 0.1 0.2 0.3

x

FIGURE 6. Second controller, test 1, system outputs.

0 1 2 3 4 5 6 7 8 9 10

0 10 20 30

τ

1

0 1 2 3 4 5 6 7 8 9 10

−20

−10 0

τ

2

FIGURE 7. Second controller, test 1, control inputs.

tems via interconnection and damping assignment”. IEEE Trans. Auto. Control., 47, pp. 1218–1233.

[3] Spong, M., 1995. “The swing up control problem for the acrobot”. IEEE Control Systems Magazine, pp. 49–55.

[4] Wei, Q., Dayawansa, W., and Levine, W., 1995. “Nonlinear control for an inverted pendulum having restricted travel”.

Automatica, 31, pp. 841–850.

[5] Sepulchre, R., 2000. “Slow peaking and low-gain designs for global stabilization of nonlinear systems”. IEEE TAC, 45(3), pp. 453–461.

[6] Barbu, C., Sepulchre, R., Lin, W., and Kokotovic, P. V., 1997. “Global asymptotic stabilization of the ball & beam system”. IEEE CDC, Dec.

[7] Teel, A., 1993. “Semi-global stabilization of the ball &

beam using output feedback”. ACC, June.

[8] Ye, H., Gui, W., and Yang, C., 2011. “Novel stabiliza- tion designs for the ball-and-beam system”. IFAC world congress.

[9] Teel, A., 1992. “Global stabilization and restricted tracking for multiple integrators with bounded controls”. Systems &

0 1 2 3 4 5 6 7 8 9 10

−1 0 1

y

0 1 2 3 4 5 6 7 8 9 10

−0.5 0 0.5 1 1.5

θ

0 1 2 3 4 5 6 7 8 9 10

−0.5 0 0.5 1

x

FIGURE 8. Second controller, test 2, system outputs.

0 1 2 3 4 5 6 7 8 9 10

−400

−200 0 200

τ

1

0 1 2 3 4 5 6 7 8 9 10

−100

−50 0

τ

2

FIGURE 9. Second controller, test 2, control inputs.

control letters, 18, pp. 165–171.

[10] Sussman, H., and Kokotovic, P., 1991. “The peaking phe- nomenon and the global stabilization of nonlinear systems”.

IEEE Transactions on Automatic Control, 36, pp. 424–440.

[11] Bhat, S. P., and Bernstein, D. S., 2000. “Finite-time stabil- ity of continuous autonomous systems”. SIAM Journal of Control and Optimization, 38, pp. 751–766.

6 Copyright c 2012 by ASME

Références

Documents relatifs

The main subsystems of the beam delivery starting from the exit of the main linacs are the diagnostics region, fast extraction and tuneup beamline, betatron and energy colli-

In the Falck case, the far-sighted family champion of change Alberto Falck—with crucial support of the external CEO Achille Colombo—was able to de-escalate the family business

ف ( كﻧﺑ مﻫأ رﺑﺗﻋا يذﻟاو، دﺣاو نآ ﻲﻓ نﺎﻣﺗﺋا كﻧﺑو رادﺻإ كﻧﺑﻛ ﻪﺗﺄﺷﻧ ذﻧﻣ مدﻘﯾ نﺎﻛ ثﯾﺣ، ةرﺗﻔﻟا كﻠﺗ ﻲﻓ. ﺔﻧﺳ نﻣ ًارﺎﺑﺗﻋاو 1900 رارﻏ ﻰﻠﻋ ﻲﻋارزﻟا عﺎطﻘﻟﺎﺑ صﺗﺧﺗ

By X-ray diffraction also the crystallite size and the root mean square (rms) strain can be obtained enabling one to estimate the enthalpy stored by grain boundaries and by the

The proof of Theorem 1.2 uses many ingredients: the properties of real geodesics for the Kobayashi distance of B n , Gromov’s theory of quasi-geodesics in D, the theory of

The next steps are: evaluation of the luminosity perfor- mance with the new collimator aperture, improvement of the FFS tuning algorithms, continue with active stabiliza- tion

The stabilization to the nanometre level of a 2 m long CLIC main beam quadrupole should be demonstrated on a full scale quadrupole mockup, currently under design..

The strategy consists in adding an active/passive isolation K (see figure 12) to simulate the presence of a flexible mechanical support under the magnets. It has to limit