Published: 19 October 2019

The control strength quantification analysis of outer pendulum rod for double inverted pendulum

Wencong Fu1
Chan Wang2
Peng Xu3
Yuanhong Dan4
1, 2, 3School of Electrical and Electronic Engineering, Chongqing University of Technology, Chongqing, China
4School of Computer Science and Engineering, Chongqing University of Technology, Chongqing, China
Corresponding Author:
Wencong Fu
Views 56
Reads 25
Downloads 1419

Abstract

Due to the complexity of the dynamics characteristics of an inverted pendulum, and the problem that the linearization analyze method cannot satisfy the controlling requirement, a nonlinear dynamics analyze method was proposed. Through decoupling the dynamics model of a double inverted pendulum, the outer pendulum rod motion equation was derived. And then, aiming at the control strength function of outer pendulum rod, the qualitative and quantitative relationship between spatial position of pendulum rod and the control strength of outer rod, and the quantification relationship between dynamics parameters and the control strength of outer rod were separately analyzed. And the simulation verified the correctness of the analysis.

The control strength quantification analysis of outer pendulum rod for double inverted pendulum

Highlights

  • The structure of rotary double pendulum and its coordinate system
  • Nonlinear dynamics analysis method
  • simulation verified

1. Introduction

The inverted pendulum is a classical underactuated mechanical system with nonholonomic constraints. Such kind of non-completely controllable system is important for the dynamics characteristic analysis. In article [1], the method based on Lyapunov stability theorem to conduct the stability control of rotating inverted pendulum was adopted. Jiang built up the mathematical model for rotary inverted pendulum with Lagrange function [2]. The parameter identification for the physical model of two-link and three-link was done through the least square method [3, 4]. The stability control of triple inverted pendulum with cloud control method was realized in [5]. And the stability control of quadruple inverted pendulum with variable universe fuzzy control algorithm was firstly realized in [6]. The controllability of double inverted pendulum and triple inverted pendulum close to equilibrium points with linearization method was analyzed in [4, 8]. But it is not suitable for the area except equilibrium point. Liu applied the Lyapunov exponent formed by state equation to express the motion stability of the system [9]. It is an efficient method to evaluate the quality of closed-loop system after the fact. But with little valueness for designing the controlling system beforehand. The angular acceleration expression of passive joint was derived through dynamics decoupling for a class of rootless underactuated systems in [10]. And simulation and analysis of the controllability of passive joint were carried out. But the quantification relationship between control input and passive joint did not get further discuss. Also, the quantification relationship between physical parameters and system controlling characteristics did not get further study in most relative researches.

The article mainly discussed the control strength quantification analysis of outer pendulum rod for double inverted pendulum. In Section 2, through decoupling the dynamics model, the outer pendulum rod action strength function was derived. In Section 3, the strength analysis, including maximum positive control and maximum negative control, of the outer pendulum rod and the quantification analysis of dynamics parameters and control strength of the outer rod were mainly discussed. Section 4 includes the discussion and analysis of simulation results. Section 5 presents the concluding remarks.

2. Mathematical model and dynamics decoupling

2.1. Mathematical model

The coordinate system was established shown in Fig. 1.

From [11], the mathematical model of the double inverted pendulum can be derived as:

1
MΘ¨+CΘ˙+G=F,

where:

M=100M21M22M23M31M32M33, G=0-m1gl1+m2gL1sinθ1-mbgL1sinθ1-m2gl2sinθ2,
C=000C21C22C23C31C32C33, F=u00, M21=k1cosθ1, M22=k2, M33=k5,
M23=M32=k4cosθ1-θ2, M31=k3cosθ2, Θ=θ0θ1θ2T,
C21=-12J1+m1l12+m2L12θ˙0sin2θ1-k4θ˙0cosθ1sinθ2-12mbL12θ˙0sin2θ1,
C22=c1+c2, C23=k4θ˙2sinθ1-θ2-c2, C33=c2,
C31=-12 k5θ˙0sin2θ2-k4θ˙0sinθ1cosθ2, C32=-k4θ˙1sinθ1-θ2-c2.

The state variables and physical parameters of the rotating secondary inverted pendulum were defined as follows: m1, m2, mb are the mass of inner rod, outer rod and encoder. l1, l2 are the centroid position of inner and outer rod. L0, L1 are the length of horizontal rotating rod and inner rod. c1, c2 are the rotational friction of cart-inner rod and inner rod-outer rod axis. J1, J2 represent the moment of inertia of inner and outer rod. θ0, θ1, θ2 represent the angle of the horizontal rotating rod, and the inner and outer rod. θ˙0, θ˙1, θ˙2 represent the angular speed of the horizontal rotating rod, and the inner and outer rod. And u is the control variable.

Fig. 1The structure of rotary double pendulum and its coordinate system

The structure of rotary double pendulum and its coordinate system

2.2. Dynamics decoupling

The meaning of the physical parameters abbreviation in the mathematical model, and the derivation of the outer rod motion equation are shown as follows:

2
k1=m1l1+m2L1+mbL1L0, k2=J1+m1l12+m2L12+mbL12, k3=m2l2L0,
k4=m2l2L1, k5=J2+m2l22, k6=m1l1+m2L1+mbL1, k7=m2l2,
θ¨2=KKu2u+Kg2g+Kv02θ˙02+Kv12θ˙02+Kv22θ˙02+Ke12θ˙02+Ke22(θ1˙-θ2˙).

Then, the expressions of the intensity function factor Ku2 in Eq. (2) is shown as follow:

3
Ku2=k1k4cosθ1cosθ1-θ2-k2k3cosθ2.

3. Quantitative analysis of spatial position of rod and control strength of the outer rod

cosθ1cosθ1-θ2 is a continuous derivable function. Therefore:

4
dcosθ1cosθ1-θ2dθ1=0 θ1=nπ+θ22, nZ.

Substituting Eq. (4) into cosθ1cosθ1-θ2:

5
maxcosθ1cosθ1-θ2=cosθ222, n is even,
6
mincosθ1cosθ1-θ2=-sinθ222, n is odd.

3.1. Analysis of maximum positive control strength for outer rod

7
maxKu2=12(k1k4-2k2k3)cosθ^2+12k1k4,
8
d[max(Ku2)]dθ^2=0 2k2k3-k1k42sinθ^2=0.

In Eq. (7), the Ku2 is the relative maximum, when the outer rod angle is θ^2.

Considering that Ku2 is a continuous derivable function, the derivative is zero at the relative maximum value of Ku2. Then, θ^2 can be obtained in Eq. (8).

Substitute 2k2k3-k1k4=0 into Eq. (7): maxKu2=12k1k4=k2k3.

For any given θ2, if the inner rod angle θ1=2nπ+θ22, Ku2 achieves the highest controllability.

Substitute 2k2k3-k1k40 into Eq. (8): θ^2=nπ, nZ and:

9
maxKu2=k1k4-k2k3, n is even,
10
maxKu2=k2k3, n is odd.

When 2k2k3-k1k4>0, Eq. (10) is the global maximum. Then, θ2=(2n+1)π, and θ1=(n+12)π(nZ). The spatial position of inner and outer rods are shown in Fig. 2.

For the same reason, Eq. (9) is the global maximum when 2k2k3-k1k4<0. At this time, the outer rod angle θ2=2nπ and the inner rod angle θ1=nπ shown in Fig. 3.

Fig. 2The angle of both rods on max Ku2 when 2k2k3-k1k4>0

The angle of both rods on max Ku2  when 2k2k3-k1k4>0

Fig. 3The angle of both rods on max Ku2 when 2k2k3-k1k4<0

The angle of both rods on max Ku2  when 2k2k3-k1k4<0

3.2. Analysis of maximum negative control strength for outer rod

11
minKu2=-k1k4sinθˇ222-k2k3cosθˇ2=-k1k42-2k2k3-k1k42cosθˇ2.

For the same reason, the minimum value min(Ku2) can be obtained in Eq. (11):

12
minKu2=-k1k4/2=-k2k3, 2k2k3-k1k4=0,
13
minKu2=-k2k3, 2k2k3-k1k4>0,
14
minKu2=k2k3-k1k4, 2k2k3-k1k4<0.

In Eq. (12), for any given θ2, the outer rod obtains the reverse maximum controllability when θ1=nπ+θ22. In Eq. (13), θ2=2nπ, θ1=2n+1π+θ22=nπ+π2(nZ) shown in Fig. 4. In Eq. (14), θ2=(2n+1)π, the inner rod angle θ1=2n+1π+θ22=nπ(nZ) shown in Fig. 5.

Fig. 4The angle of both rods on min Ku2 when 2k2k3-k1k4>0

The angle of both rods on min Ku2  when 2k2k3-k1k4>0

Fig. 5The angle of both rods on min Ku2 when 2k2k3-k1k4<0

The angle of both rods on min Ku2  when 2k2k3-k1k4<0

3.3. Quantification analysis of dynamics parameters and control strength of outer rod

15
Ku2=2m1cosθ1cosθ1-θ2-23cosθ2+4m2+mbcosθ1cosθ1-θ2-cosθ2169m1+4m213+sinθ1-θ22+163mb* L0l2.

It can be inferred from the Eq. (15) that l1 has no relationship with the control strength of outer rod Ku2. Besides that, simulations of dynamics parameters including rotating arm length L0, the inner rod mass m1, the outer rod length and mass l2, m2 are shown in Section 4.

The relationship of inner rod mass m1 and control strength of outer rod can be simplified as:

16
Ku2=am1+b+c,
c=L0l22cosθ1cosθ1-θ2-43cosθ2, b=94m213+sinθ1-θ22+3mb,
a=1694m213+sinθ1-θ22+163mb2cosθ1cosθ1-θ2-43cosθ2
+1694m2cosθ1cosθ1-θ2+mbcosθ1.

It is clear that b>0. When a>0, c>0, Ku2c,ab+c, the Ku2 decrease with m1. When a>0, c<0, Ku2ϵc,2b+c, Ku2 increases with m1, if ab+c>0, Ku2 decreases before m1 passing zero point. When a<0, c<0, Ku2ϵ ab+c, c, Ku2 decreases with m1. When a<0, c>0, Ku2 increases with m1, if ab+c<0, Ku2 decreases before m1 passing zero point.

Also, the relationship between m1 and Ku2 can be simplified as:

17
Ku2=am2+b+c.

The analyzing process is similar to m1. With different dynamics parameters, three situations such as increasing, decreasing, decreasing first and then increasing exist for the control strength of outer rod. The simulation under different spatial position is given in Section 4.

4. The simulation verification of control strength for outer rod

In order to verify the analysis process and conclusion mentioned above, the equivalent dynamics parameters [11] were put into Eq. (3). Then, calculate the Ku2 within the range of pendulum angles θ1,θ2-2π, 2π. Finally, the 3D surface graphs were drawn as follow.

Fig. 6 and Fig. 7 show the relationship between Ku2 and rod angles from different perspectives. In these figures, the red area indicates the part in which Ku2 is greater (the deep red shows the maximum of Ku2). And the blue area is the part which Ku2 is smaller. Also, when Ku2 reaches the maximum, the outer rod angles could be ±π, and the inner rod angles could be ±π2, ±3π2. And when Ku2 reaches the minimum, the outer rod angles could be 0, ±2π, and the inner rod angles could be ±π2, ±3π2. Finally, the rod angles with the maximum and the minimum of Ku2 from Fig. 7 fit the rod angles derived from Eq. (10) and Eq. (13) separately which verified the correctness of analysis about the extremum of Ku2 mentioned above.

The simulation result of control strength of outer rod and dynamics parameters including L0, l2, m1, and m2, were separately shown in Fig. 8, Fig. 9, Fig. 10 and Fig. 11.

Fig. 6The perspective view between Ku2 and θ1, θ2

The perspective view  between Ku2 and θ1, θ2

Fig. 7The left and right view between Ku2 and θ1, θ2

The left and right view between Ku2 and θ1, θ2

Fig. 8The relationship between L0 and Ku2

The relationship between L0 and Ku2

a) Inverted point

The relationship between L0 and Ku2

b) Hanging point

The relationship between L0 and Ku2

c) Horizontal point

Fig. 9The relationship between l2 and Ku2

The relationship between l2 and Ku2

a) Inverted point

The relationship between l2 and Ku2

b) Hanging point

The relationship between l2 and Ku2

c) Horizontal point

Fig. 10The relationship between the mass of inner rod m1 and Ku2

The relationship between the mass of inner rod m1 and Ku2

a) Down point, Ku2 increases with m1

The relationship between the mass of inner rod m1 and Ku2

b) Spatial position of rods (80°, 110°), Ku2 decreases with m1

It can be inferred from those figures that the dynamics parameters are positively or negatively correlated with Ku2. For the parameters L0, l2, the influence for Ku2 is much greater than m1, m2. And the Ku2 hardly changes with m1, m2. Hence, adjusting l2 could be the main method to satisfy Ku2. However, in the actual system, the improvement of the control action intensity does not mean that the control difficulty is low. And it is also necessary to comprehensively consider that the dynamic and static characteristics such as the servo precision and response speed of the drive mechanism (motor, controller, transmission mechanism).

Fig. 11The relationship between the mass of inner rod m2 and Ku2

The relationship between the mass of inner rod m2 and Ku2

a) Down point, Ku2 decreases with m2

The relationship between the mass of inner rod m2 and Ku2

b) Spatial position of bars (80°,110°), Ku2 increases with m2

5. Conclusions

In this article, the control strength quantification analysis of the outer pendulum rod for double inverted pendulum was mainly discussed from two perspectives. One is the qualitative and quantitative relationship between the control strength of the outer rod and the spatial position of the pendulum rod. And the other is the quantification relationship between the control strength of the outer rod and the dynamics parameters (including the length of pendulum rod L0, l1, l2, and the mass of pendulum rod m1, m2). Finally, the correctness of the relationship was illustrated by simulation results.

References

  • Wen Jie, Shi Yuanhao, Lu Xiaonong Stabilizing a rotary inverted pendulum based on logarithmic Lyapunov function. Journal of Control Science and Engineering, Vol. 2017, 2017, p. 4091302.
  • Jiang Xiangju, Liu Erlin Research and realization of the initial and stable pendulum of rotating inverted pendulum. Journal of Process Automation Instrumentation, Vol. 9, 2016, p. 6-9.
  • Zhu Qiuguo, Wu Haoxian, Yi Jiang, Xiong Rong, Wu Jun Push recovery for humanoid robots with passive damped ankles. Proceedings of the IEEE Conference on Robotics and Biomimetics, Zhuhai, China, 2015, p. 1578-1583.
  • Zhu Qiuguo, Wu Haoxian, Wu Jun, Xiong Rong Humanoid robot standing balance control based on three-link dynamics model. Journal of Robot, Vol. 4, 2016, p. 451-457.
  • Zhang Feizhou, Li Yide Realization of intelligent control of inverted pendulum with cloud model. Journal of Control Theory and Applications, Vol. 4, 2000, p. 519-523.
  • Miao Zhihong, Li Hongxing Fuzzy control of robust guaranteed cost of plane motion N-th inverted pendulum. Journal of Huazhong University of Science and Technology (Natural Science Edition), Vol. 3, 2014, p. 62-74.
  • Bo Guizhen, Mei Xiaorong, Wang Shuyi Establishment of mathematical model and controllability of triple inverted pendulum on inclined orbit. Journal of Electric Machines and Control, Vol. 2, 2003, p. 170-173.
  • Dan Yuanhong, Lai Hongxia Modeling and analysis of observability and controllability of annular double inverted pendulum. Journal of Chongqing University of Technology (Natural Science), Vol. 11, 2007, p. 7-16.
  • Liu Yunping, Li Yu, Chen Cheng, Zhang Yonghong Stability of nonholonomic system based on lyapunov index. Journal of Huazhong University of Science and Technology (Natural Science Edition), Vol. 12, 2016, p. 98-101.
  • Li Na, Zhao Tieshi, Jiang Haiyong, Wang Jiazhong Dynamics coupling characteristics of rootless underactuated redundant robots. Journal of Mechanical Engineering, Vol. 9, 2016, p. 49-55.
  • Dan Yuanhong, Xu Peng, Zhang Wei, Tan Zhi Improved genetic algorithm for parameters identification of cart-double pendulum. Journal of Vibroengineering, Vol. 21, Issue 6, 2019, p. 1587-1599.

About this article

Received
19 September 2019
Accepted
28 September 2019
Published
19 October 2019
SUBJECTS
Chaos, nonlinear dynamics and applications
Keywords
double inverted pendulum
quantification analysis
control strength of outer rod
dynamics parameter
spatial position of pendulum