<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "https://jats.nlm.nih.gov/publishing/1.3/JATS-journalpublishing1-3.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="1.3" xml:lang="en" article-type="research-article"><front><journal-meta><journal-id journal-id-type="publisher-id">jcse</journal-id><journal-title-group><journal-title>Journal of Computational Science and Engineering</journal-title></journal-title-group><issn>1710-4068</issn><publisher><publisher-name>Advancersin</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">jcse-v57-a07</article-id><article-categories><subj-group subj-group-type="heading"><subject>Research Article</subject></subj-group></article-categories><title-group><article-title>Design of H∞ Controller for Single Inverted Pendulum Based on Output Feedback</article-title></title-group><contrib-group><contrib contrib-type="author"><name name-style="western"><surname>Wang</surname><given-names>Chunpeng</given-names></name><xref ref-type="aff" rid="aff-1"/></contrib><contrib contrib-type="author"><name name-style="western"><surname>Zou</surname><given-names>Benjie</given-names></name><xref ref-type="aff" rid="aff-1"/></contrib><contrib contrib-type="author"><name name-style="western"><surname>Guo</surname><given-names>Jian</given-names></name><xref ref-type="aff" rid="aff-1"/></contrib><contrib contrib-type="author"><name name-style="western"><surname>Zhang</surname><given-names>Yancheng</given-names></name><xref ref-type="aff" rid="aff-2"/></contrib></contrib-group><aff id="aff-1">School of Mechanical and Electrical Engineering, Binzhou Polytechnic, Binzhou,Shandong,256603, China</aff><aff id="aff-2">Shandong Mingquan New Material Technology Co. LTD, Jinan, Shandong Province, China</aff><pub-date publication-format="electronic" date-type="pub" iso-8601-date="2021-08-30"><day>30</day><month>08</month><year>2021</year></pub-date><volume>57</volume><fpage>32</fpage><lpage>37</lpage><permissions><copyright-statement>2022@ The American Computational Science Society.</copyright-statement><license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/"><ali:license_ref xmlns:ali="http://www.niso.org/schemas/ali/1.0/" start_date="2021-11-26">https://creativecommons.org/licenses/by/4.0/</ali:license_ref><license-p>This article is licensed under the Creative Commons Attribution 4.0 International license (CC BY 4.0), which permits sharing and adaptation, including commercial reuse, subject to attribution, a link to the license and an indication of changes. Third-party material separately credited with different terms is governed by the license or rights notice stated for that material.</license-p></license></permissions><self-uri content-type="fulltext" xlink:href="https://www.advancersin.org/jcse/articles/jcse-v57-a07/index.html"/><self-uri content-type="pdf" xlink:href="https://www.advancersin.org/jcse/articles/jcse-v57-a07/jcse-v57-a07.pdf"/><abstract><p>For a single inverted pendulum control system, the design method of a class of output feedback H∞ controller and the performance of the robust control are studied, then the H∞ controller design is studied for the control system mentioned above based on LMI optimization, and a sufficient condition is derived in terms of linear matrix inequalities. The designed controller guarantees the stability of the single inverted pendulum control system, and has good anti-interference ability. Numerical example is given to illustrate the effectiveness of the proposed method.</p></abstract><kwd-group><kwd>single inverted pendulum</kwd><kwd>H∞ control</kwd><kwd>linear matrix inequality</kwd></kwd-group></article-meta></front><body>
    <sec>
      <title>1.Introduction</title>
      <p>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.</p>
      <p>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.</p>
      <p>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.</p>
    </sec>
    <sec>
      <title>2.Problem formulation</title>
      <p>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</p>
      <p>, 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:</p>
      <p>( ) ( ) ( ) ( ) ( ) ( ) 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.</p>
      <p>Define the augmented state vector ( ) ( ) ( ) TTT cxt xt xtξ =,then the closed-loop control system of single inverted pendulum can be described as</p>
      <p>( ) ( ) ( ) ( ) ( ) ( ) 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ω γ ∞ &lt; , 0γ &gt; .</p>
    </sec>
    <sec>
      <title>3. Design of H∞ controller</title>
    </sec>
    <sec>
      <title>Conclusion 1.For a given 0γ &gt; , the closed-loop control system (3) is asymptotic stable and has a given H∞</title>
      <p>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 ξ ξ ξξ ξξ ξξ γ + −&lt; − (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ω .</p>
      <p>( )( ) ( ) ( ) ( ) ( ) ( )( ) ( ) , 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ξξ+&lt; from equation (4). Therefore, for any ( ) 0xtξ ≠ , there is ( )( ),0V xt t &lt; . 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 ξξ γω ω γω ω Λωω = − ≤ −+ =  ∫ ∫ ∫ </p>
      <p>(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Λ&lt; , so that ( )yTsω γ ∞ &lt; holds, that is, the closed-loop control system has a given H∞ performance.</p>
      <p>This ends the proof. On the basis of conclusion 1, the design method of the H∞ controller will be further given.</p>
    </sec>
    <sec>
      <title>Conclusion 2.For a given 0γ &gt; , the closed-loop control system (3) is asymptotic stable and has a given H∞</title>
      <p>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 γ +++ ++ + + +&lt;+ +− + + +− (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− = .</p>
      <p>Define the invertible matrices as follows:</p>
      <p>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 ξ ξ ξξ ξξ ξξ η ηηηη η ηγ η + −&lt; − (10) This ends the proof.</p>
      <p>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</p>
      <p>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 .</p>
    </sec>
    <sec>
      <title>4.Simulation example</title>
      <p>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Ξ = ++ .</p>
      <p>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 = .</p>
      <p>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.</p>
    </sec>
    <sec>
      <title>5.Conclusion</title>
      <p>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</p>
      <p>designed in this paper has good effect on maintaining the balance stability of single inverted pendulum and has good anti-interference ability.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref-001">
        <mixed-citation>[1]Liu Li, He Huacan. Overview of the Stable Control of the Inverted Pendulum System[J]. Computer Science, 2006,33(5): 214-219.</mixed-citation>
      </ref>
      <ref id="ref-002">
        <mixed-citation>[2]Li Dong, Chen Qiang, Sun Zhenguo,etc. Design of a Cart-Pendulum Teaching System and its Application[J]. Ex - perimental Technology and Management, 2006, 23(9):100-102,106.</mixed-citation>
      </ref>
      <ref id="ref-003">
        <mixed-citation>[3] J.Sieber, B.Krauskopf. Complex balancing motions of an inverted pendulum subject to delayed feedback control [J]. Physica D Nonlinear phenomena, 2004, 197(3-4): 332- 335.</mixed-citation>
      </ref>
      <ref id="ref-004">
        <mixed-citation>[4]Yang Shiyong, Xu Liping, Wang Peijin. Study on PID Control of a Single Inverted Pendulum System[J]. Control Engineering of China, 2007, 14(21):23-24,53.</mixed-citation>
      </ref>
      <ref id="ref-005">
        <mixed-citation>[5]Xing Jinghu, Chen Qigong, Jing Ming. Research on an Optimal Linear Inverted Pendulum Control System Based on LQR[J]. Industrial Instrumentation and Automation, 2007(6):3-5.</mixed-citation>
      </ref>
      <ref id="ref-006">
        <mixed-citation>[6]Luo Zhong, Zhao Shixin, Shi Zhiyong, etc. Inverted Pendulum System Control Based on State Observer and Ex - perimental Investigation[J]. Journal of Northeastern University (Natural Science), 2010, 31（1）：107-110.</mixed-citation>
      </ref>
      <ref id="ref-007">
        <mixed-citation>[7]Dong Jie, Wang Lei. Design of Single Inverted Pendulum Controller Based on H∞ Robust Control[J]. Industrial Control Computer, 2013, 26(3):38-39.</mixed-citation>
      </ref>
      <ref id="ref-008">
        <mixed-citation>[8]Lv Shen, Wu Junfeng. Design of Robust Controller Based on LMI Optimization[J]. Industrial Instrumentation and Automation, 2017 (3):123-125,128.</mixed-citation>
      </ref>
      <ref id="ref-009">
        <mixed-citation>[9]Zhang Jing, Wang Guangxiong. H∞ Output Feedback Design of Inverted Pendulum[J]. Journal HarBin Universi- ty of Science and Technology, 2005,10(4)：81-83.</mixed-citation>
      </ref>
      <ref id="ref-010">
        <mixed-citation>[10]Qi Ji, Li Yanhui, Zhang Jingxin. Study of Double Inverted Pendulum System based on Output Feedback Con - trol[J]. Research and Exploration in Laboratory, 2015, 34(5):108-111,137.</mixed-citation>
      </ref>
      <ref id="ref-011">
        <mixed-citation>[11]Ma Jun. The Research on Robust Control for Inverted Pendulums [D]. University of Science and Technology LiaoNing, 2008. 0 10 20 30 40 50-2 x 10 -3 position of cart time/s position/m 0 10 20 30 40 50-3 -2 -1 1 x 10 -3 angle of pendulum time/s angle/rad 0 10 20 30 40 50-2 x 10 -3 position of cart time/s position/m 0 10 20 30 40 50-3 -2 -1 1 x 10 -3 angle of pendulum time/s angle/rad Fig.1 Step response curve of single inverted pendulum without interference Fig.2 Step response curve of single inverted pendulum with interference</mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>
