Full text

1.Introduction

The inverted pendulum control system is a kind of ideal control theory research and experimental equipment with high order, instability, multivariable, non-linearity and strong coupling. It is also an effective platform for researchers in control field to verify new theories and methods [1-2] . At present, the related research results on inverted pendulum control system have been widely used in various high-tech fields, such as aerospace, robot control and so on.

Therefore, the research on inverted pendulum control system has both theoretical value and engineering significance [3] . Now, the research results of inverted pendulum control system are very rich. The PID and LQR control methods for single inverted pendulum systems were studied in [4, 5]. The observer-based method has been used to study the inverted pendulum system in [6]. The H∞ control problem of single inverted pendulum system based on state feedback is studied by using Riccati equation and LMI optimization method respectively in [7, 8]. It has been considered that the control method based on state feedback has some limitations because only the car displacement and the swing rod angle can be directly measured in the inverted pendulum system variables, while the car speed and the swing rod speed can not be directly measured. In [9, 10], the problem of output feedback design is studied for single inverted pendulum and double inverted pendulum respectively. However, the adverse effects of external uncertainty disturbance on robust control performance are not fully considered.

In this paper, the frictional resistance between the car and the guide rail of the inverted pendulum is regarded as external interference for the single inverted pendulum control system. According to the performance requirements of the H∞ control, the design of a class of controller based on output feedback is studied by using linear matrix inequality (LMI) method. The sufficient conditions for the existence of the controller are given by using LMI optimization technology, and the parameters of the controller to be designed are solved by using MATLAB toolbox.

2.Problem formulation

The linear model of single inverted pendulum [11] : ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) 1 11 12 2 21 22 xt Axt B t But ytCxtD tDut tCxtD tDut ω ω ψω =++  =++  =++  (1) where ( ) nxt R∈ is the state vector; ( ) pyt R∈ is the controlled output signal; ( ) ptRψ ∈ is the signal to be estimated; ( ) ptRψ ∈ is the controlled input signal; ( ) qtRω ∈ is the external interference signal; A , 1B , 2B , 1C , 11D

, 12D , 2C , 21D and 22D are known real constant matrices with appropriate dimensions. Since the car speed and pendulum rod swing speed of single inverted pendulum system can not be observed directly, the H∞ controller ( ) ( ) ( )ut K s tψ= based on output feedback will be designed. The state space implementation of the controller to be designed is as follows:

( ) ( ) ( ) ( ) ( ) ( ) c cc c cc c xt Axt B t u t Cx t D t ψ ψ = + = +  (2) where ( ) n cxt R∈ is the state variable of controller; cA , cB , cC and cD are the gain matrices of controller to be designed. Remark 1. In order to simplify the calculation, reduce the difficulty of derivation and without loss of generality, the matrix 22 0D = in the following design algorithm.

Define the augmented state vector ( ) ( ) ( ) TTT cxt xt xtξ =,then the closed-loop control system of single inverted pendulum can be described as

( ) ( ) ( ) ( ) ( ) ( ) xt Axt B t yt Cx t D t ξ ξξ ξ ξξ ξ ω ω = + = +  (3) where cc cc A BDC BCA BC A ξ += , 1 2 21 21 c c B BDDB BD ξ += , [ ]1 12 2 12ccC C D DC D Cξ = + , 11 12 21cD D D DDξ = + . The design goal of this paper is to design a controller of the form (2) so that the closed-loop control system (3) satisfies: (1)when ( ) 0tω = , then the system is asymptotic stable; (2)Under zero initial conditions, for any non-zero ( ) [ )2 0,tLω ∈∞, the system has H∞ control performance, that is, the closed-loop transfer function satisfies ( )yTsω γ ∞ < , 0γ > .

3. Design of H∞ controller

Conclusion 1.For a given 0γ > , the closed-loop control system (3) is asymptotic stable and has a given H∞

performance, if there exist positive definite symmetric matrix P such that equation (4) holds. 2 0 TT TT A P PA PB C BP I D C DI ξ ξ ξξ ξξ ξξ γ + −< − (4) Proof: Select Lyapunov function of the closed-loop control system (3) as follows: ( )( ) ( ) ( ), TV x t t x t Px tξξ= (5) (i)The proof of the asymptotic stability of the closed-loop control system (3) with ( )=0kω .

( )( ) ( ) ( ) ( ) ( ) ( )( ) ( ) , TT TT V x t t x t Px t x t Px t x t A P PA x t ξξξξ ξ ξ ξξ = + = +   (6) By using Schur complement lemma, it is easy to get 0TA P PAξξ+< from equation (4). Therefore, for any ( ) 0xtξ ≠ , there is ( )( ),0V xt t < . According to the Lyapunov stability theorem, the closed-loop control system is asymptotically stable. (ii)The proof of the H∞ performance of the closed-loop control system (3) for all nonzero ( ) 0tω ≠ . ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( )( ) ( ) ( ) ( ) ( ) , T TT T T TT T T J y t y t t t dt y t y t t t V x t t dt xt xt dttt ξξ γω ω γω ω Λωω = − ≤ −+ =  ∫ ∫ ∫ 

(7) where 2 TT TT C A X XA XBCDD BX I ξ ξ ξξ ξξ ξξ Λ γ   += +   −     . By using Schur complement lemma, we can get that equation (4) is equivalent to 0Λ< , so that ( )yTsω γ ∞ < holds, that is, the closed-loop control system has a given H∞ performance.

This ends the proof. On the basis of conclusion 1, the design method of the H∞ controller will be further given.

Conclusion 2.For a given 0γ > , the closed-loop control system (3) is asymptotic stable and has a given H∞

performance, if there exist positive definite symmetric matrices X and Y ,matrices ˆA , ˆB , ˆC and ˆD such that equation (8) holds. 2 2 22 1 21 2 1 21 1 12 1 12 2 11 12 21 ˆˆ * ** ˆ ˆˆˆ **0ˆˆ * ˆ ˆˆ T TT T T TT T TT T T TT T T T AX XA B C C B A A CDB YA AY BC CB B DDB BY DB I C X D C C D DC D D DD I γ +++ ++ + + +<+ +− + + +− (8) Proof: Partitioning matrices P and 1P− into the following block forms: T YUP U ϑ = , 1 2 T XVP V ϑ − = where nnXR×∈ and nnYR×∈ are symmetric positive definite matrices,U and V are full rank matrices, 1ϑ and 2ϑ are arbitrary matrices and are determined by 1*PP I− = .

Define the invertible matrices as follows:

0T XI Vη = , 2 0 T IY Uη = which implies that 12Pηη= . Performing congruence transformation to equation (4) by the transformational matrix 1Ξ and defining the following matrix variables: ( )22 2 2 ˆ ˆˆˆ TT c c cc T cc c c c A Y AX B D C X UB C X YB C V UA V B YB D UB C D C X C V D D =+ +++ =+=+ =,, (9) then equation (9) is equivalent to equation (8), where { }11,,diag I IηΞ= . 1 22 12 1 TT T T TT TT A A BC B ID C DI ξ ξ ξξ ξξ ξξ η ηηηη η ηγ η + −< − (10) This ends the proof.

The controller matrix parameters can be obtained from equation (9): ( ) ( ) ˆ T c c T c c AU V BU CV DD ψ ψ ψ −− − − = = = = (11) where 1 2 2 22 ˆˆ ˆˆA YAX BC X YB C YB DC Xψ =−− −+ , 22 ˆˆB YB Dψ = − , 32 ˆ ˆC DC Xψ = − In order to solve the problem that the matrix needed to construct the controller parameter matrix is not included in equation (8), the transfer function ( )uTsψ of controller (2) is used. ( ) ( ) u c c ccT s C sI A B Dψ − =−+ (12) Substituting equation (11) into equation (12) and simplifying it: ( ) ( ) 3 12 ˆT uT s zUV Dψ ψ ψψ − = −+ (13) According to 1PP I− = , it is easy to deduce TUV I YX= − , then substitute it into equation (13) and simplify it: ( ) ( )( ) ( )( ) ( ) 3 12 3 12 ˆ ˆ uT s s I YX D sI I YX I YX D ψ ψ ψψ ψ ψψ − −−− = −− + = −− − + (14) The matrix parameters of the controller can be obtained from the sum of equation (12) and equation (14) as shown in equation (15). ( ) 1cA I YX ψ − = − , ( ) 2cB I YX ψ − = − , 3cC ψ= , ˆ cDD= (15) Remark 2: On the basis of conclusion 2, the design of H∞ controller can be further optimized. The sub-optimal H∞ controller can be obtained by solving the following optimization problems with 2g γ= as shown in equation (16). ˆˆ ˆˆ,,,,, . .(8) min X Y ABC D st g (16) The sub-optimal H∞ attenuation levels are given by opt gγ ∗= , where g∗ are the sub-optimal solutions of the

corresponding convex optimization problems. Through the above transformation, the design problem of the H∞ controller based on output feedback is transformed into a convex optimization problem with LMI constraint and linear objective function. Finally, the LMI toolbox in MATLAB is used to solve cA , cB , cC and cD .

4.Simulation example

In this section, the single inverted pendulum control system is used as a simulation model to verify the effectiveness of the designed H∞ controller. For the mathematical model of single inverted pendulum control system [11] , the system state space equation with external force as input is as follows. 22 2 43 44 4 01 0 0 0 0 00 0 1 0 0 1 000 0 0 0 01 0 0 0 u xx A m gl mlf mlx xBu mlb A A B ml x xxyu ω ΞΞ Ξωϕϕ Ξϕ ϕΞ ωϕϕ ϕ            −     = ++           −           == ++                  where, ( ) 22A I ml bΞ=−+ , ( )43A mgl M m Ξ= + , ( )44A M mfΞ= − , ( )4B Mmω Ξ= + , ( ) 2 2uB I ml Ξ= + , ( ) 21 M m I MmlΞ = ++ .

Model parameters of inverted pendulum: The quality of the car 1.096M kg= ,The quality of the pendulum rod 0.109m kg= ,Friction coefficient of the car ,The length of the pendulum rod 0.25lm= ,Inertia of the pendulum rod ,With the prescribed parameters, equation (16) can be solved by using the Matlab LMI toolbox. 0.0605 0.2379 0.4777 1.4968 0.0319 0.1235 0.2504 0.786110 0.0717 0.2736 0.5616 1.7691 0.0151 0.0583 0.1183 0.3713 cA − −= ×−−− −−− , 0.0013 1.2441 0.0006 0.651910 0.0012 1.4608 0.0002 0.3079 cB − −= ×− − , [ ]63.6298 71.9102 204.0240 230.0706cC =−−− , [ ]2.4682 12.2183cD = .

Fig. 1 shows the step response waveform of a single inverted pendulum system under the action of the designed H controller in the absence of external random interference. Then Figure 2 shows the step response waveform in the case of external random interference. The simulation results show that the displacement of the car and the swing angle of the swing rod can achieve stable state in 15s. That is to say, the H∞controller designed by this method is effective and has good robustness and stability for the control of inverted pendulum system.

5.Conclusion

The design problem of H∞ controller has been considered in this paper for a class single inverted pendulum based on output feedback. The design problem of the H∞ controller has been transformed into a class of convex optimization problems with LMI constraints and linear objective functions by using optimization techniques. A sufficient condition for the existence of the controller has been established by means of LMI, and the parameters of the controller are determined directly by solutions of the LMI. The simulation result has showed that the controller

designed in this paper has good effect on maintaining the balance stability of single inverted pendulum and has good anti-interference ability.