Professional Documents
Culture Documents
Stabilization of A Double Inverted Rotary Pendulum
Stabilization of A Double Inverted Rotary Pendulum
Stabilization of A Double Inverted Rotary Pendulum
Abstract
Rotary double inverted pendulum is a highly nonlinear complex system and requires a high performance controller for its
control. Using gain matrix which is obtained through state feedback technique may create complexity while removing the
steady-state error for all states. Incorporating an integral action can be an alternative for these errors. Therefore, a state
space–based fractional order controller with fractional integral action is designed and tested on a rotary double inverted
pendulum in this article. The fractional integral controller is designed based on Bode’s ideal transfer function. Two degree
of freedom is considered for tuning purpose as well. The integer order controller based on the state space approach is
also shown for comparison. Simulation and experimental results are presented for both controllers of this rotary double
inverted pendulum system.
Keywords
State space control, fractional order controller, two degree of freedom, Bode’s ideal transfer function, rotary double
inverted pendulum
Creative Commons CC BY: This article is distributed under the terms of the Creative Commons Attribution 4.0 License
(http://www.creativecommons.org/licenses/by/4.0/) which permits any use, reproduction and distribution of the work without
further permission provided the original work is attributed as specified on the SAGE and Open Access pages (https://us.sagepub.com/en-us/nam/
open-access-at-sage).
2 International Journal of Advanced Robotic Systems
entails a robust closed-loop system with respect to produce and can be computed with the help of Ackermann’s tech-
variable gains and exhibits the property of iso-damping in nique,26 and the integer compensator KðsÞ is calculated by
the step response.
Dd ðsÞ 1
The closed-loop transfer function using Bode’s ideal KðsÞ ¼ ð9Þ
ic s N ðsÞ ð1 þ if sÞr
method is
1 The inner-loop’s characteristic polynomial is denoted by
f ðsÞ ¼ 0<k<1 ð3Þ Dd ðsÞ. The numerator, N ðsÞ, is obtained from the transfer
1 þ ic skþ1
function of the linear integer system shown in equation (1).
Here, ic is responsible for the effectiveness of the The time constant of the Bode’s ideal transfer function is
performance tracking system for transient conditions, expressed by ic (equation (3)). In equation (9), KðsÞ is made
and the overshoot depends on the value of k. As shown realizable in such a way that a low pass filter, ð1þi1f sÞr , is
in Bettayeb and Mansouri,24 ic is related to the gain cascaded with it.
crossover frequency !c and k is related to the phase N ðsÞ is in the form N ðsÞ ¼ N þ ðsÞ N ðsÞ while system
margin ’m (equation (1)) is non-minimum phase. Here, N ðsÞ is the
p ’m 1 part of N ðsÞ inverted by KðsÞ and N þ ðsÞ is the part that
k¼ 1 and ic ¼ ð4Þ KðsÞ does not attempt to inverse, it comprises the right-half
p=2 !kþ1
c
plane zeros. Moreover, N þ ðsÞ should be such that
The step response of equation (3) shows the behavior of N þ ð0Þ ¼ 1. Therefore, KðsÞ is given by
an underdamped second-order system with damping ratio
Dd ðsÞ 1
between one and zero. Again, the value of k can be com- KðsÞ ¼ ð10Þ
ic s N ðsÞ ð1 þ if sÞr
puted from its relation with the overshoot of the step
response, M p ð%Þ.25 Equation (5) shows this relation. The details of the proof of this result can be found in Al-
5 Saggaf et al.21
k 6:75 10 M p2 þ 0:016 M p þ 0:066 ð5Þ
2 3
0 0 0 1 0 0
60 0 0 0 1 07
6 7
6 7
60 0 0 0 0 17
A¼6
60 a
7 ð20Þ
6 a M þ p1lp1 Lr M p2 gðlp1 þ Lp1 Þ 0 0 07
7
6 7
4 0 ab M p2 gðLr2 Lp1 ÞM p1 þ Lr2 Lp1 M p1 þ J r Lp1 Þ 0 0 05
0 ac ad 0 0 0
Mehedi et al. 5
50 2 Statefeedback control
Fractional order control
40
1.5
30
20 1
10 0.5
θ (deg)
Vm (V)
0
0
−10
−20 −0.5
−30 −1
Reference input
−40 Statefeedback controller
Fractional order controller −1.5
−50
0 10 20 30 40 50 60 70 80 90 100
−2
time (s) 0 10 20 30 40 50 60 70 80 90 100
time (s)
3
Statefeedback Control
Fractional order control
1
α (deg)
−1
−2
−3
0 10 20 30 40 50 60 70 80 90 100
Sample time (s)
Figure 7. Experiment of rotary double inverted pendulum
Figure 4. Angle of bottom pendulum and a set point change. system.
5 5
φ (deg)
0
0
−5
−10 −5
30 35 40 45 30 35 40 45
time (s) time (s)
4
Control voltage (V)
2
0
−2
−4
30 35 40 45
time (s)
10
5
0
−5
−10
30 35 40 45
time (s)
Bottom pendulum (deg)
5 4
2
0
0
−5 −2
30 35 40 45 30 35 40 45
time (s) time (s)
4
Control voltage (V)
2
0
−2
−4
30 35 40 45
time (s)
inverted pendulum is initially manually erected unlike the Figure 10 shows the performance on disturbance rejec-
self swing up control available for the single inverted pen- tion. To produce these disturbances, the top pendulum is
dulum. The results obviously tell that the integer order tapped lightly arbitrarily. In this investigation, the top pen-
controller is better in terms of rotary arm position and dulum is tapped from t ¼ 32 s to t ¼ 37 s. The results
pendulum angles deflection. However, we can see that the produced by this experiment prove the effectiveness of
control voltage behaves more precise and smoothly for the fractional order controller in terms of external disturbance
fractional order controller over the integer order controller. rejection. Hence, the proposed controller is robust enough
8 International Journal of Advanced Robotic Systems
20
−10
−20
−30
30 35 40 45
time (s)
2
0
−2
−4
30 35 40 45
time (s)
Figure 10. Experimental results with disturbance rejection for fractional order controllers.
40
20
θ (deg)
−20
15 20 25 30
time (s)
10 10
5
0
α (deg)
φ (deg)
0
−10
−5
−20 −10
15 20 25 30 15 20 25 30
time (s) time (s)
5
Vm (V)
−5
15 20 25 30
time (s)
Figure 11. Complete experimental results for the square reference signal.
successfully conducted using the designed fractional order 11. Poblubny I. Fractional-order system and PI k D controllers.
controller. Although implementing the fractional order IEEE Trans Autom Control 1999; 44(1): 208–214.
controller on such inherently unstable system is a big chal- 12. Das S, Saha S, Das S, et al. On the selection of tuning meth-
lenge, yet the experimental results show a better perfor- odology of FOPID controllers for the control of higher pro-
mance in terms of precise and smooth control voltage as cesses. ISA Trans 2011; 50: 376–388.
well as external disturbances applied on the pendulum. 13. Nia SHH, Sierociuk D, Calderon AJ, et al. Augmented system
Disturbance rejection and robustness performances are also approach for fractional order SMC of a DC-DC Buck con-
observed for the proposed fractional order controller. verter. In: Proceedings of the 4th IFAC workshop on frac-
tional differentiation and its applications Badajoz, Spain,
Acknowledgment October 2010, pp. 18–20.
The authors would like to acknowledge the technical and financial 14. Sierociuk D and Vinagre BM. State and output feedback
support of KAU. fractional control by system augmentation. In: Proceedings
of the 4th IFAC workshop on fractional differentiation and its
Declaration of conflicting interests
applications, Badajoz, Spain, October 2010, pp. 18–20.
The author(s) declared no potential conflicts of interest with 15. Farges C, Moze M, and Sabatier J. Pseudo-state feedback
respect to the research, authorship, and/or publication of this stabilization of commensurate fractional order systems. In:
article.
Proceedings of the 10th European control conference, Buda-
Funding pest, Hungary, August 2009, pp. 23–26.
16. Farges C, Moze M, and Sabatier J. Pseudo-state feedback
The author(s) disclosed receipt of the following financial support
stabilization of commensurate fractional order systems. Auto-
for the research, authorship, and/or publication of this article: This
project was funded by the Center of Excellence in Intelligent matica 2010; 46: 1730–1734.
Engineering Systems (CEIES), King Abdulaziz University, under 17. Bettayeb M, Boussalem C, Mansouri R, et al. Stabilization of
grant no. CEIES-16-12-01. an inverted pendulum-cart system by fractional PI-state feed-
back. ISA Trans 2014; 53: 508–516.
References 18. Mansouri R, Bettayeb M, Boussalem C, et al. Linear integer
1. Jerry G. Engineering dynamics. Cambridge: Cambridge Uni- order system control by fractional PI-state feedback, Chapter
versity Press, 2008. 4. In: RAZ D (ed) Fractional calculus: Applications. New
2. Ahmed E and Alexandre P. Humanoid robot balance control York: Nova publishers, 2015.
using the spherical inverted pendulum mode. Front Robot AI 19. Bettayeb M and Mansouri R. Fractional IMC-PID-filter con-
2015; 2(21): 1–13. trollers design for noninteger order systems. J Process Contr
3. Jensen JS. Nonlinear dynamics of the follower-loaded double 2014; 24(4): 261–271.
pendulum with added support-excitation. Fuzzy Set Syst 20. Al-Saggaf UM, Mehedi IM, Mansouri R, et al. Fractional-
1998; 79(3): 315–321. order controller design for a heat flow process. Proc Insti-
4. Fuyan C, Guomin Z, Youshan L, et al. Fuzzy control of a tut Mech Eng Part I, J Syst Control Eng 2016; 230(7):
double-inverted pendulum. J Sound Vib 1996; 215(1): 680–691.
125–142. 21. Al-Saggaf UM, Mehedi IM, Mansouri R, et al. State feedback
5. Ashwani K. Anti-swing and position control of double with fractional integral control design based on the Bode’s
inverted pendulum (dip) on cart using hybrid neuro-fuzzy ideal transfer function. Int J Syst Sci 2016; 47(1): 149–161.
controllers. Int J Inform Technol Comput Sci 2016; 7: 16–21. 22. Ogata K. Modern control engineering. Englewood Cliffs:
6. Bingbing W, Chaoying L, Xueling S, et al. Design and imple- Prentice-Hall, 1990.
mentation of the inverted pendulum optimal controller based 23. Bode HW. Network analysis and feedback amplifier design.
on hybrid genetic algorithm. In: International conference on New York: Van Nostrand, 1945.
automation, mechanical control and computational engineer- 24. Bettayeb M and Mansouri R. Fractional IMC-PID-filter con-
ing, China, 24–26 April 2015, pp. 623–629. trollers design for integer order systems. ISA Trans 2014; 53:
7. Shubhobrata R and Ranjit KB. Robust adaptive backstepping 1620–1628.
control of inverted pendulum on cart system. Int J Control 25. Bettayeb M, Mansouri R, Al-Saggaf U, et al. Smith predictor
Autom 2012; 5(1): 13–26. based fractional-order-filter PID controllers design for long
8. Ilhami Y. Model free sliding mode stabilizing control of a time delay systems. Asian J Control 2017; 19(2): 587–598.
real rotary inverted pendulum. J Vib Control 2017; 23(10): 26. Dorf RC and Bishop RH. Modern control systems. 13th ed,
1–18. London: Pearson, 2017.
9. Oustaloup A. La commande CRONE. Paris: Hermès Editeur, 27. Quanser innovative Edutech laboratory guide—rotary dou-
1991. ble inverted pendulum experiment. Markham: Quanser Inc,
10. Oustaloup A and Mathieu B. La commande CRONE du sca- 2012.
laire au multivariable. Paris: Hermès Editeur, 1999. 28. Quanser SRV02 user manual. Markham: Quanser Inc, 2009.