Research on Planar Double Compound Pendulum Based on RK-8 ...

10
Journal on Big Data DOI:10.32604/jbd.2021.015208 This work is licensed under a Creative Commons Attribution 4.0 International License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. Article Research on Planar Double Compound Pendulum Based on RK-8 Algorithm Zilu Meng 1 , Zhehan Hu 1 , Zhenzhen Ai 1 , Yanan Zhang 2,* and Kunling Shan 2 1 Engineering Training Center, Nanjing University of Information Science & Technology, Nanjing, 210044, China 2 School of Atmospheric Sciences, Nanjing University of Information Science and Technology, Nanjing, 210044, China * Corresponding Author: Yanan Zhang. Email: [email protected] Received: 15 September 2020; Accepted: 20 January 2021 Abstract: Establishing the Lagrangian equation of double complex pendulum system and obtaining the dynamic differential equation, we can analyze the motion law of double compound pendulum with application of the numerical simulation of RK-8 algorithm. When the double compound pendulum swings at a small angle, the Lagrangian equation can be simplified and the normal solution of the system can be solved. And we can walk further on the relationship between normal frequency and swing frequency of double pendulum. When the external force of normal frequency is applied to the double compound pendulum, the forced vibration of the double compound pendulum will show the characteristics of beats. Keywords: Lagrangian equation; RK-8; forced vibration; beats of planar double compound pendulum 1 Introduction The motion of simple pendulum with small angle is the model of simple harmonic motion in β€œCollege Physics”. When the air resistance is ignored, the trajectory of the pendulum ball is harmonic vibration. Under the action of gravity, a rigid body that can swing around a fixed horizontal axis is called a compound pendulum. The research of compound pendulum is closer to daily life. Planar double compound pendulum is the basic model of many phenomena in real life. The research on it involves kinematics, dynamics, vibration theory and so on. Although the dynamic differential equation can be listed according to the force analysis, the equation is more complex and has no explicit solution. With the rise of numerical calculation methods, complex systems with multi degrees of freedom, highly nonlinear and multi parameter coupling, such as double pendulum, can be solved by different algorithms, and then their motion laws can be studied [1,2]. In this paper, based on Lagrangian method, the dynamic model is established with the kinetic energy and potential energy of the system, and the Lagrangian equations are obtained. The swing pattern of the double pendulum is solved by using RK-8 algorithm. Nevertheless, numerical simulation of the swing of the double pendulum cannot get the motion law of the double pendulum. Given the constraint conditions, the Lagrangian equations are simplified and the normal coordinates of the system are obtained. The oscillation of the double pendulum is approximately periodic, and the normal coordinate is simple harmonic vibration. Finally, the external force with periodic variation of normal frequency is loaded on the double pendulum system, which makes the vibration of upper and lower compound pendulum have β€œbeats” characteristics, but only the normal coordinate close to the frequency of driving force can continuously receive the energy exerted by driving force. 2 Planar Double Compound Pendulum System A planar double compound pendulum is composed of a compound pendulum connected by its head and tail. As shown in Fig. 1, we can establish a plane rectangular coordinate system whose coordinate origin is the suspension point . The angle between the upper complex pendulum and the y-axis is , and the

Transcript of Research on Planar Double Compound Pendulum Based on RK-8 ...

Journal on Big Data DOI:10.32604/jbd.2021.015208

This work is licensed under a Creative Commons Attribution 4.0 International License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Article

Research on Planar Double Compound Pendulum Based on RK-8 Algorithm

Zilu Meng1, Zhehan Hu1, Zhenzhen Ai1, Yanan Zhang2,* and Kunling Shan2

1Engineering Training Center, Nanjing University of Information Science & Technology, Nanjing, 210044, China 2School of Atmospheric Sciences, Nanjing University of Information Science and Technology, Nanjing, 210044, China

*Corresponding Author: Yanan Zhang. Email: [email protected] Received: 15 September 2020; Accepted: 20 January 2021

Abstract: Establishing the Lagrangian equation of double complex pendulum system and obtaining the dynamic differential equation, we can analyze the motion law of double compound pendulum with application of the numerical simulation of RK-8 algorithm. When the double compound pendulum swings at a small angle, the Lagrangian equation can be simplified and the normal solution of the system can be solved. And we can walk further on the relationship between normal frequency and swing frequency of double pendulum. When the external force of normal frequency is applied to the double compound pendulum, the forced vibration of the double compound pendulum will show the characteristics of beats.

Keywords: Lagrangian equation; RK-8; forced vibration; beats of planar double compound pendulum

1 Introduction The motion of simple pendulum with small angle is the model of simple harmonic motion in β€œCollege

Physics”. When the air resistance is ignored, the trajectory of the pendulum ball is harmonic vibration. Under the action of gravity, a rigid body that can swing around a fixed horizontal axis is called a compound pendulum. The research of compound pendulum is closer to daily life. Planar double compound pendulum is the basic model of many phenomena in real life. The research on it involves kinematics, dynamics, vibration theory and so on. Although the dynamic differential equation can be listed according to the force analysis, the equation is more complex and has no explicit solution. With the rise of numerical calculation methods, complex systems with multi degrees of freedom, highly nonlinear and multi parameter coupling, such as double pendulum, can be solved by different algorithms, and then their motion laws can be studied [1,2]. In this paper, based on Lagrangian method, the dynamic model is established with the kinetic energy and potential energy of the system, and the Lagrangian equations are obtained. The swing pattern of the double pendulum is solved by using RK-8 algorithm. Nevertheless, numerical simulation of the swing of the double pendulum cannot get the motion law of the double pendulum. Given the constraint conditions, the Lagrangian equations are simplified and the normal coordinates of the system are obtained. The oscillation of the double pendulum is approximately periodic, and the normal coordinate is simple harmonic vibration. Finally, the external force with periodic variation of normal frequency is loaded on the double pendulum system, which makes the vibration of upper and lower compound pendulum have β€œbeats” characteristics, but only the normal coordinate close to the frequency of driving force can continuously receive the energy exerted by driving force.

2 Planar Double Compound Pendulum System A planar double compound pendulum is composed of a compound pendulum connected by its head

and tail. As shown in Fig. 1, we can establish a plane rectangular coordinate system whose coordinate origin is the suspension point 𝑂𝑂. The angle between the upper complex pendulum and the y-axis is πœƒπœƒ, and the

12 JBD, 2021, vol. 3, no. 1

angle between the lower complex pendulum and the y-axis is πœ‘πœ‘. The corresponding physical quantities of the system are shown in Tab. 1.

Figure 1: Double compound pendulum of plane

Table 2: Symbol description of planar double compound pendulum system Symbol Meaning π‘šπ‘š1 Mass of uniform fine rod 1 π‘šπ‘š2 Mass of uniform fine rod 2 𝑙𝑙1 Length of uniform fine rod 1 𝑙𝑙2 Length of uniform fine rod 2 πœƒπœƒ Angle between uniform fine rod 1 and positive direction of y-axis πœ‘πœ‘ Angle between uniform fine rod 2 and positive direction of y-axis 𝑇𝑇1 Kinetic energy of uniform fine rod 1 𝑇𝑇2 Kinetic energy of uniform fine rod 2 𝑉𝑉1 Potential energy of uniform fine rod 1 𝑉𝑉2 Potential energy of uniform fine rod 2

In this paper, the plane motion of double compound pendulum is studied. Therefore, the motion law of double compound pendulum can be determined by two degrees of freedom. If the position of point 𝑂𝑂 is the zero point of potential energy, ignoring the air resistance and the energy dissipation. Then with consideration of the rotation of the upper complex pendulum, the kinetic energy and potential energy are

𝑇𝑇1 = π‘šπ‘š1𝑙𝑙12οΏ½Μ‡οΏ½πœƒ2

6 (1-1)

𝑉𝑉1 = βˆ’ 𝑙𝑙1π‘šπ‘š1𝑔𝑔 π‘π‘π‘π‘π‘π‘πœƒπœƒ2

(1-2)

The center of mass coordinates of the lower complex pendulum(π‘₯π‘₯2,𝑦𝑦2) = �𝑙𝑙1sinπœƒπœƒ + 𝑙𝑙2sinπœ‘πœ‘2

, 𝑙𝑙1cosπœƒπœƒ +𝑙𝑙2cosπœ‘πœ‘2

οΏ½, Its motion can be regarded as the combination of translation and rotation. If the coordinate origin 𝑂𝑂 is set as zero potential energy point, then the potential energy of the lower complex pendulum is

𝑉𝑉2 = βˆ’π‘™π‘™1π‘šπ‘š2𝑔𝑔 𝑐𝑐𝑐𝑐𝑐𝑐 πœƒπœƒ βˆ’12𝑙𝑙2π‘šπ‘š2𝑔𝑔 𝑐𝑐𝑐𝑐𝑐𝑐 πœ‘πœ‘ (2-1)

The kinetic energy of the lower complex pendulum is equal to the sum of translational kinetic energy and rotational kinetic energy.

𝑇𝑇2 = π‘šπ‘š22

(οΏ½Μ‡οΏ½π‘₯22 + �̇�𝑦22) + π‘šπ‘š2𝑙𝑙22οΏ½Μ‡οΏ½πœ‘2

24 (2-2)

After obtaining the kinetic energy and potential energy of the upper and lower complex pendulum, the Lagrangian function of the planar double complex pendulum system can be obtained. 𝐿𝐿 = 𝑇𝑇1 + 𝑇𝑇2 βˆ’ 𝑉𝑉1 βˆ’ 𝑉𝑉2 = (π‘šπ‘š1𝑙𝑙12

6+ π‘šπ‘š2𝑙𝑙12

2)οΏ½Μ‡οΏ½πœƒ2 + π‘šπ‘š2𝑙𝑙22οΏ½Μ‡οΏ½πœ‘2

6+ π‘šπ‘š2𝑙𝑙1𝑙𝑙2οΏ½Μ‡οΏ½πœƒοΏ½Μ‡οΏ½πœ‘

2𝑐𝑐𝑐𝑐𝑐𝑐(πœƒπœƒ βˆ’ πœ‘πœ‘) + 𝑙𝑙1(π‘šπ‘š1+2π‘šπ‘š2)𝑔𝑔 π‘π‘π‘π‘π‘π‘πœƒπœƒ

2+ 𝑙𝑙2π‘šπ‘š2π‘”π‘”π‘π‘π‘π‘π‘π‘πœ‘πœ‘

2 (3)

The Lagrangian equations are then listed.

JBD, 2021, vol.3, no.1 13

�𝑑𝑑𝑑𝑑𝑑𝑑

(πœ•πœ•πœ•πœ•πœ•πœ•οΏ½Μ‡οΏ½πœƒ

) βˆ’ πœ•πœ•πœ•πœ•πœ•πœ•πœƒπœƒ

= 0𝑑𝑑𝑑𝑑𝑑𝑑

(πœ•πœ•πœ•πœ•πœ•πœ•οΏ½Μ‡οΏ½πœ‘

) βˆ’ πœ•πœ•πœ•πœ•πœ•πœ•πœ‘πœ‘

= 0 (4)

The dynamic differential equation of the planar double complex pendulum can be obtained.

οΏ½(π‘šπ‘š1𝑙𝑙12

3+ π‘šπ‘š2𝑙𝑙1

2)οΏ½ΜˆοΏ½πœƒ + π‘šπ‘š2𝑙𝑙1𝑙𝑙2οΏ½Μ‡οΏ½πœ‘2

𝑐𝑐𝑐𝑐𝑐𝑐( πœƒπœƒ βˆ’ πœ‘πœ‘) + 𝑙𝑙1(π‘šπ‘š1+2π‘šπ‘š2)𝑔𝑔𝑐𝑐𝑠𝑠𝑠𝑠 πœƒπœƒ2

+ π‘šπ‘š2𝑙𝑙1𝑙𝑙2οΏ½Μ‡οΏ½πœ‘2

2𝑐𝑐𝑠𝑠𝑠𝑠(πœƒπœƒ βˆ’ πœ‘πœ‘) = 0

π‘šπ‘š2𝑙𝑙22οΏ½ΜˆοΏ½πœ‘3

+ π‘šπ‘š2𝑙𝑙1𝑙𝑙2οΏ½ΜˆοΏ½πœƒ 𝑐𝑐𝑐𝑐𝑐𝑐(πœƒπœƒβˆ’πœ‘πœ‘)2

+ 𝑙𝑙2π‘šπ‘š2𝑔𝑔𝑐𝑐𝑠𝑠𝑠𝑠 πœ‘πœ‘2

βˆ’ π‘šπ‘š2𝑙𝑙1𝑙𝑙2οΏ½Μ‡οΏ½πœƒ2

2𝑐𝑐𝑠𝑠𝑠𝑠(πœƒπœƒ βˆ’ πœ‘πœ‘) = 0

(5)

3 Numerical Simulation Results and Analysis of double Compound Pendulum In order to obtain the high-precision solution of Eq. (5), we used the eighth-order Runge Kutta (RK-

8) method to solve the Eq. (3). In the process of solving, because of the uncertainty between the second derivative and the original function, the second derivative and the original function can be regarded as independent functions in the form of solution. To facilitate the solution of linear equations, the following matrices are written:

οΏ½(π‘šπ‘š1𝑙𝑙12

3+π‘šπ‘š2𝑙𝑙1

2)π‘šπ‘š2𝑙𝑙1𝑙𝑙2 𝑐𝑐𝑐𝑐𝑐𝑐(πœƒπœƒβˆ’πœ‘πœ‘)

2

π‘šπ‘š2𝑙𝑙1𝑙𝑙22

π‘π‘π‘π‘π‘π‘οΌˆπœƒπœƒ βˆ’ πœ‘πœ‘οΌ‰

π‘šπ‘š2𝑙𝑙22

3

οΏ½ οΏ½οΏ½ΜˆοΏ½πœƒοΏ½ΜˆοΏ½πœ‘οΏ½ = οΏ½βˆ’ 𝑙𝑙1(π‘šπ‘š1+2π‘šπ‘š2)𝑔𝑔𝑐𝑐𝑠𝑠𝑠𝑠 πœƒπœƒ

2βˆ’ π‘šπ‘š2𝑙𝑙1𝑙𝑙2οΏ½Μ‡οΏ½πœ‘2

2𝑐𝑐𝑠𝑠𝑠𝑠( πœƒπœƒ βˆ’ πœ‘πœ‘)

βˆ’ 𝑙𝑙2π‘šπ‘š2π‘”π‘”π‘π‘π‘ π‘ π‘ π‘ πœ‘πœ‘2

+ π‘šπ‘š2𝑙𝑙1𝑙𝑙2οΏ½Μ‡οΏ½πœƒ2

2𝑐𝑐𝑠𝑠𝑠𝑠(πœƒπœƒ βˆ’ πœ‘πœ‘)

οΏ½ (6)

Because there is a certain error between the simulated value and the real value of RK-8 algorithm, the algorithm error is tested by the conservation of mechanical energy. The mechanical energy error ratio is now defined as πœ‚πœ‚.

πœ‚πœ‚ = οΏ½(𝑉𝑉1+𝑉𝑉2+𝑇𝑇1+𝑇𝑇2)|𝑑𝑑=0βˆ’(𝑉𝑉1+𝑉𝑉2+𝑇𝑇1+𝑇𝑇2)(𝑉𝑉1+𝑉𝑉2+𝑇𝑇1+𝑇𝑇2)|𝑑𝑑=0

οΏ½ (7)

The accuracy of RK-8 algorithm is tested by solving error ratio under given initial conditions. Numerical simulation was carried out with πœƒπœƒ0 = πœ‹πœ‹/2 πœƒπœƒ0 = πœ‹πœ‹/6 as initial conditions, and the results are shown in Fig. 2 and Fig. 3. Fig. 2(b) and Fig. 3(b) show that the error of RK-8 algorithm is very small, which is not more than 10βˆ’8. In Fig. 2(a), whenπœƒπœƒ0 = πœ‹πœ‹/2, the angle change of the upper compound pendulum seems to have a certain regularity, but the swing angle of the lower compound pendulum changes more at first, and the change of time at any time shows a little regularity in the later stage of swing. When the initial conditions change as πœƒπœƒ0 = πœ‹πœ‹/6, as shown in Fig. 3(a), the swing angles of the upper and lower compound pendulums almost change regularly.

(a) (b)

Figure 2: (a) Change of πœƒπœƒ,πœ‘πœ‘ with t and (b) Change of error πœ‚πœ‚ with t

14 JBD, 2021, vol. 3, no. 1

(a) (b)

Figure 3: (a) Change of πœƒπœƒ,πœ‘πœ‘ with t and (b) Change of error πœ‚πœ‚ with t

4 Numerical Simulation Results and Analysis of Small Angle Vibration of Double Compound Pendulum It can be seen from Fig. 2(a) and Fig. 3(a) that, after a period of oscillation, the angle of the double

compound pendulum is approximately regular, but it is not a simple harmonic vibration. In order to study its oscillation law, we had better simplify the Lagrangian function which describes the plane double complex pendulum with the second order function ignore. 𝐿𝐿 = 𝑇𝑇1 + 𝑇𝑇2 βˆ’ 𝑉𝑉1 βˆ’ 𝑉𝑉2 = (π‘šπ‘š1𝑙𝑙12

6+ π‘šπ‘š2𝑙𝑙12

2)οΏ½Μ‡οΏ½πœƒ2 + π‘šπ‘š2𝑙𝑙22οΏ½Μ‡οΏ½πœ‘2

6+ π‘šπ‘š2𝑙𝑙1𝑙𝑙2οΏ½Μ‡οΏ½πœƒοΏ½Μ‡οΏ½πœ‘

2+ 𝑙𝑙1(π‘šπ‘š1+2π‘šπ‘š2)𝑔𝑔(2βˆ’πœƒπœƒ2)

2+ 𝑙𝑙2π‘šπ‘š2𝑔𝑔(2βˆ’πœ‘πœ‘2)

2 (8)

The expression of Lagrangian function is simplified as follows:

𝐴𝐴 = π‘šπ‘š1𝑙𝑙12

6+ π‘šπ‘š2𝑙𝑙12

2,𝐡𝐡 = π‘šπ‘š2𝑙𝑙22

6,𝐢𝐢 = π‘šπ‘š2𝑙𝑙1𝑙𝑙2

2,𝐸𝐸 = 𝑙𝑙1(π‘šπ‘š1+2π‘šπ‘š2)𝑔𝑔

4,𝐹𝐹 = 𝑙𝑙2π‘šπ‘š2𝑔𝑔

4 (9)

Order π‘žπ‘ž1 = βˆšπΈπΈπœƒπœƒ, π‘žπ‘ž2 = βˆšπΉπΉπœ‘πœ‘, the potential energy of equilibrium type is zero potential energy, and by eliminating the constant, and the Lagrangian function of double pendulum system is simplified

𝐿𝐿 = π΄π΄πΈπΈοΏ½Μ‡οΏ½π‘ž12 + 𝐡𝐡

πΈπΈοΏ½Μ‡οΏ½π‘ž22 + 𝐢𝐢

βˆšπΈπΈπΈπΈοΏ½Μ‡οΏ½π‘ž1οΏ½Μ‡οΏ½π‘ž2 βˆ’ π‘žπ‘ž12 βˆ’ π‘žπ‘ž22 (10)

The coefficient matrix 𝑀𝑀 of kinetic energy 𝑇𝑇 and the coefficient matrix 𝑉𝑉 of potential energy are obtained.

𝑀𝑀 = οΏ½ 𝐴𝐴

𝐸𝐸𝐢𝐢

2√𝐸𝐸𝐸𝐸

𝐢𝐢

2√𝐸𝐸𝐸𝐸

𝐡𝐡𝐸𝐸

οΏ½ , 𝑉𝑉 = οΏ½10 01οΏ½ (11)

The eigenvalue equation is

𝑑𝑑𝑑𝑑𝑑𝑑(𝑀𝑀 βˆ’ πœ†πœ†π‘‰π‘‰) = οΏ½π΄π΄πΈπΈβˆ’ πœ†πœ†πΆπΆ

2√𝐸𝐸𝐸𝐸

𝐢𝐢

2βˆšπΈπΈπΈπΈπ΅π΅πΈπΈβˆ’ πœ†πœ†

οΏ½ = 0 (12)

The eigenvalue of the obtained matrix is

πœ†πœ†1,2 =𝐴𝐴𝐸𝐸+

𝐡𝐡𝐹𝐹±�𝐢𝐢

2𝐸𝐸𝐹𝐹+(π΄π΄πΈπΈβˆ’

𝐡𝐡𝐸𝐸)2

2 (13)

The above solution satisfies the condition of small vibration, that is, the displacement and velocity of double compound pendulum are small, so the vibration energy is also small vibration. It is a basic method

JBD, 2021, vol.3, no.1 15

to study the small vibration characteristics of the system by linearizing the Lagrangian function near the equilibrium point of the system [4,5]. Two eigenfrequencies of vibration can be solved by Eq. (13).

πœ”πœ”1 = 1οΏ½πœ†πœ†1

, πœ”πœ”2 = 1οΏ½πœ†πœ†2

(14)

The analytic solution of coordinates πœƒπœƒ and πœ‘πœ‘ is

οΏ½πœƒπœƒ = 1

βˆšπΈπΈπ‘žπ‘ž1 = 1

√𝐸𝐸[𝐢𝐢1𝐴𝐴11 𝑐𝑐𝑐𝑐𝑐𝑐(πœ”πœ”1𝑑𝑑 + πœ™πœ™1) + 𝐢𝐢2𝐴𝐴12 𝑐𝑐𝑐𝑐𝑐𝑐(πœ”πœ”2 + πœ™πœ™2)]

πœ‘πœ‘ = 1βˆšπΈπΈπ‘žπ‘ž2 = 1

√𝐸𝐸[𝐢𝐢1𝐴𝐴21 𝑐𝑐𝑐𝑐𝑐𝑐(πœ”πœ”1𝑑𝑑 + πœ™πœ™1) + 𝐢𝐢2𝐴𝐴22 𝑐𝑐𝑐𝑐𝑐𝑐(πœ”πœ”2 + πœ™πœ™2)]

(15)

Among them, 𝐢𝐢1,𝐢𝐢2,πœ™πœ™1,πœ™πœ™2 is related to the initial value of motion. By further simplification and substitution, we can get the analytical solution Q of two normal coordinates of vibration π‘žπ‘ž1β€²οΌŒπ‘žπ‘ž2β€² .

π‘žπ‘ž1β€² = 𝐴𝐴21𝐴𝐴11

√𝐸𝐸√𝐸𝐸

= οΌˆπœ†πœ†1 βˆ’π΄π΄πΈπΈ

) 2πΈπΈπΆπΆπœƒπœƒ βˆ’ πœ‘πœ‘ = 𝐢𝐢2β€² 𝑐𝑐𝑐𝑐𝑐𝑐(πœ”πœ”1 + πœ™πœ™1) (16-1)

π‘žπ‘ž2β€² = 𝐴𝐴22𝐴𝐴12

√𝐸𝐸√𝐸𝐸

= (πœ†πœ†2 βˆ’π΄π΄πΈπΈ

) 2πΈπΈπΆπΆπœƒπœƒ βˆ’ πœ‘πœ‘ = 𝐢𝐢1β€² 𝑐𝑐𝑐𝑐𝑐𝑐(πœ”πœ”2𝑑𝑑 + πœ™πœ™2) (16-2)

The above formula gives the relationship between πœƒπœƒ, β€„πœ‘πœ‘ obtained from the solution of Lagrangian equations and the two functions π‘žπ‘ž1β€² ,β€„π‘žπ‘ž2β€²   describing the energy of the system. πœƒπœƒ, β€„πœ‘πœ‘ can be solved separately according to the kinetic energy and potential energy of the upper and lower complex pendulums under given initial conditions. Fig. 4 shows πœƒπœƒ, β€„πœ‘πœ‘ vibration images obtained under given initial conditions. It can be seen that the swing of the upper and lower compound pendulum has certain regularity, but it does not satisfy the simple harmonic vibration. Substituting πœƒπœƒ, β€„πœ‘πœ‘ into Eq. (16), π‘žπ‘ž1β€² ,β€„π‘žπ‘ž2β€²   are obtained, as shown in Fig. 5. It can be seen from the figure that π‘žπ‘ž1β€² ,β€„π‘žπ‘ž2β€²   are periodic functions. In fact, π‘žπ‘ž1β€² ,β€„π‘žπ‘ž2β€²   are normal coordinates, while πœ”πœ”1β€² ,β€„πœ”πœ”2

β€² are normal frequencies [6]. If the plane double compound pendulum system only swings at one frequency and the vibration of other frequencies is not excited, then the coordinate reflecting the vibration mode is the normal coordinate. The corresponding vibration mode becomes normal vibration. Any vibration state of the system is the linear superposition of all kinds of normal vibration. The vibration of two normal frequencies is shown in Fig. 5. The vibration shown in Fig. 4 is the linear superposition of the normal vibration of Fig. 5. The period of π‘žπ‘ž1β€² ,β€„π‘žπ‘ž2β€²   obtained by solving πœƒπœƒ, β€„πœ‘πœ‘ by using the motion equation is also basically consistent with the normal period of π‘žπ‘ž1β€² ,β€„π‘žπ‘ž2β€²   images. The results are shown in Tab. 2.

Figure 4: Vibration images of πœƒπœƒ, β€„πœ‘πœ‘

16 JBD, 2021, vol. 3, no. 1

Figure 5: Vibration images of π‘žπ‘ž1β€²and π‘žπ‘žβ€²2

Table 2: Comparison of kinematics equation and Lagrangian equation

Initial condition π‘šπ‘š1 = 1 π‘˜π‘˜π‘”π‘”,π‘šπ‘š2 = 1 π‘˜π‘˜π‘”π‘”, 𝑙𝑙1 = 1 π‘šπ‘š, 𝑙𝑙2 = 1 π‘šπ‘š, 𝑔𝑔 = 9 π‘šπ‘š β‹… π‘π‘βˆ’2,πœƒπœƒ0 = πœ‹πœ‹/360,πœ‘πœ‘0 = 0

Solution period of kinematics equation π‘žπ‘ž1β€² ,β€„π‘žπ‘ž2β€²   Image solving period relative error 𝑇𝑇1 = 0.85 𝑐𝑐 𝑇𝑇1 = 0.874 𝑐𝑐 2.8% 𝑇𝑇2 = 2.34 𝑐𝑐 𝑇𝑇2 = 2.346 𝑐𝑐 0.2%

In this paper, the motion law of double compound pendulum in small angle vibration is discussed, which can be solved by Lagrangian equation. The results obtained are the same as those obtained by Newton's law of motion, which provides a new idea for the study of complex motion.

5 Analysis of Low Energy Vibration of Double Compound Pendulum under External Force It is concluded that the upper and lower compound pendulums tend to vibrate regularly after a period

of time. When the angle is small, the vibration of the upper and lower pendulum is linear superposition of normal vibration. If the periodic external force is applied to the double compound pendulum, and the frequency of the external force is equal to the normal frequency, can the double compound pendulum make simple harmonic vibration?

First, take a simple complex pendulum as an example, as shown in Fig. 6, when πœƒπœƒ is very small at low energy, πœƒπœƒthe vibration differential equation of the complex pendulum is 𝑑𝑑2πœƒπœƒπ‘‘π‘‘π‘‘π‘‘2

+ 32π‘”π‘”π‘™π‘™πœƒπœƒ = 0 (17)

At this time, the compound pendulum vibrates harmoniously and its angular frequency isπœ”πœ”0 =οΏ½3𝑔𝑔/2𝑙𝑙. The periodic driving force 𝑓𝑓 π‘π‘π‘π‘π‘π‘πœ”πœ”0 𝑑𝑑 is loaded on the complex pendulum, and the rk-8 algorithm is used for numerical simulation, and the vibration image of the complex pendulum is obtained as shown in Fig. 6.

The reason is that only when theta is small can the simple harmonic vibration be satisfied. When the periodic external force is applied to the compound pendulum, the amplitude increases gradually [7,8]. At this time, the 𝑐𝑐𝑠𝑠𝑠𝑠 πœƒπœƒis no longer approximately equal to πœƒπœƒ, which means that the intrinsic frequency of the complex pendulum is no longer equal to οΏ½3𝑔𝑔/2𝑙𝑙, but will change with the change of the amplitude, which is always different from the fixed frequency of the external driving force.

JBD, 2021, vol.3, no.1 17

Figure 6: Forced vibration image of complex pendulum (π‘šπ‘š = 1π‘˜π‘˜π‘”π‘”, 𝑙𝑙 = 1π‘šπ‘š,𝑔𝑔 = 10π‘šπ‘š/π‘π‘βˆ’2)

From the point of view of energy, the work done by external force is transformed into the mechanical energy of the pendulum. When the simple pendulum swings at a small angle, the driving force does positive work to the system. When the system energy gradually accumulates, the amplitude increases. However, when the amplitude reaches a certain degree, the driving force starts to do negative work on the system, resulting in the gradual decrease of system energy. Fig. 7 shows the curve of the total energy of the system as a function of time when a single compound pendulum is loaded with driving force. It can be seen from the figure that the total energy of the system does not always increase, but gradually decreases after a certain time point. This is precisely because the swing angle of the complex pendulum increases and the driving force does negative work, and this change is also periodic.

Figure 7: Energy change of single compound pendulum system with driving force loading

When a periodic driving force is applied to the double compound pendulum as shown in Fig. 1, the equation of motion becomes

�𝑑𝑑𝑑𝑑𝑑𝑑

(πœ•πœ•πœ•πœ•πœ•πœ•οΏ½Μ‡οΏ½πœƒ

) βˆ’ πœ•πœ•πœ•πœ•πœ•πœ•πœƒπœƒ

= 𝑓𝑓 𝑐𝑐𝑐𝑐𝑐𝑐 πœ”πœ” 𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑

(πœ•πœ•πœ•πœ•πœ•πœ•οΏ½Μ‡οΏ½πœ‘

) βˆ’ πœ•πœ•πœ•πœ•πœ•πœ•πœ‘πœ‘

= 0 (18)

According to the same solving process, we can get

οΏ½π‘žπ‘ž1β€² = 𝐷𝐷1πœƒπœƒ βˆ’ πœ‘πœ‘

π‘žπ‘ž2β€² = 𝐷𝐷2πœƒπœƒ βˆ’ πœ‘πœ‘ β‡’ οΏ½Μ‡οΏ½πœƒ = οΏ½Μ‡οΏ½π‘ž2

β€²βˆ’οΏ½Μ‡οΏ½π‘ž1β€²

𝐷𝐷2βˆ’π·π·1 (19)

18 JBD, 2021, vol. 3, no. 1

The initial conditions (π‘šπ‘š1 = 1π‘˜π‘˜π‘”π‘”,π‘šπ‘š2 = 1π‘˜π‘˜π‘”π‘”, 𝑙𝑙1 = 1π‘šπ‘š, 𝑙𝑙2 = 1π‘šπ‘š,𝑔𝑔 = 9.8π‘šπ‘š β‹… π‘π‘βˆ’2,πœƒπœƒ0 = 0,πœ‘πœ‘0 = 0)are substituted and simulated by rk-8 algorithm. The dynamic differential equations are simplified to matrix equations:

οΏ½(π‘šπ‘š1𝑙𝑙12

3+ π‘šπ‘š2𝑙𝑙1

2)π‘šπ‘š2𝑙𝑙1𝑙𝑙2 𝑐𝑐𝑐𝑐𝑐𝑐(πœƒπœƒβˆ’πœ‘πœ‘)

2

π‘šπ‘š2𝑙𝑙1𝑙𝑙2

2𝑐𝑐𝑐𝑐𝑐𝑐(πœƒπœƒ βˆ’ πœ‘πœ‘)

π‘šπ‘š2𝑙𝑙22

3

οΏ½ οΏ½οΏ½ΜˆοΏ½πœƒοΏ½ΜˆοΏ½πœ‘οΏ½ = οΏ½βˆ’ 𝑙𝑙1(π‘šπ‘š1+2π‘šπ‘š2)𝑔𝑔 𝑐𝑐𝑠𝑠𝑠𝑠 πœƒπœƒ

2βˆ’ π‘šπ‘š2𝑙𝑙1𝑙𝑙2οΏ½Μ‡οΏ½πœ‘2

2𝑐𝑐𝑠𝑠𝑠𝑠( πœƒπœƒ βˆ’ πœ‘πœ‘) + 𝑓𝑓 𝑐𝑐𝑐𝑐𝑐𝑐 πœ”πœ” 𝑑𝑑

βˆ’ 𝑙𝑙2π‘šπ‘š2𝑔𝑔 π‘π‘π‘ π‘ π‘ π‘ πœ‘πœ‘2

+ π‘šπ‘š2𝑙𝑙1𝑙𝑙2οΏ½Μ‡οΏ½πœƒ2

2𝑐𝑐𝑠𝑠𝑠𝑠(πœƒπœƒ βˆ’ πœ‘πœ‘)

οΏ½ (20)

The eigenvalues are as follows: πœ†πœ†1 = 0.139359 , πœ†πœ†2=0.019371

The intrinsic frequencies are as follows: πœ”πœ”1 = 7.1850 , πœ”πœ”2=2.6787

If the frequency of the driving force is set to 1 and 2 respectively, then the forced vibration of the system is shown in Fig. 8.

(a) (b)

(c) (d)

Figure 8: (a) Forced vibration of the system when the driving force of Ο‰1is loaded on the upper swing, (b) Forced vibration of the system when the driving force of πœ”πœ”1is loaded on lower swing, (c) Forced vibration of the system when the driving force of πœ”πœ”2is loaded on the upper swing and (d) Forced vibration of the system when the driving force of πœ”πœ”2is loaded on the lower swing

It can be seen from the figure that the forced vibration of double compound pendulum is similar to that of single compound pendulum. No matter what driving force of intrinsic frequency is applied to the upper and lower compound pendulum, the oscillation of double pendulum will have the characteristic of β€œbeat”, that is, the amplitude of pendulum will change periodically. At the same time, the vibration of the

JBD, 2021, vol.3, no.1 19

upper and lower compound pendulums has the characteristics of β€œbeat”, but does the normal vibration reflecting the arbitrary swing state of the double compound pendulum also have the same characteristics? Fig. 9 shows the vibration of two normal coordinates and the energy change in the two coordinate systems with πœ”πœ”1 as the driving force frequency.

(a) (b)

Figure 9: (a) Vibration image of normal coordinate under the action of driving force of πœ”πœ”1 and (b) The energy change of normal coordinate when the frequency is the driving force of πœ”πœ”1

Different from the characteristics of the upper and lower pendulums, the vibration of the normal coordinate is only "beat" vibration which is similar to the frequency of the driving force, while the other vibration almost does not occur. The energy of the normal coordinate π‘žπ‘ž1β€² also increases first and then decreases, with periodic changes. The energy of π‘žπ‘ž1β€² is almost zero. That is to say, when the driving force with normal frequency acts on the double compound pendulum system, the normal coordinate close to the driving force frequency can receive energy, while another normal coordinate with large difference from the driving force frequency will not be able to accumulate energy.

6 Summary The motion law of the complex pendulum is analyzed by using the mechanical method. Under the

condition of small angle, the compound pendulum vibrates simply. Although the mechanical equation can be listed, the analytical solution of the equation cannot be obtained when the pendulum swings at a large angle. Lagrangian function is used to avoid complex force analysis, and Lagrangian equations are obtained. Rk-8 algorithm can be used to simulate and analyze the motion characteristics of double compound pendulum, which provides a new idea for the analysis of complex mechanical process. When the double compound pendulum swings at a small angle, the Lagrangian equations are simplified and the normal coordinates of the system are solved. It can be proved that the normal coordinate is a simple harmonic vibration. Any vibration state of double compound pendulum is linear superposition of normal vibration. When the periodic driving force satisfying the normal frequency is loaded on the double compound pendulum system, the double pendulum shows obvious beat vibration characteristics under the coupling effect of the double compound pendulum. However, only the normal coordinate close to the frequency of the driving force can receive the energy of the driving force and form the vibration with periodic amplitude variation, while other normal coordinates cannot receive the energy of the driving force.

Acknowledgement: We especially thank teacher Yanan Zhang for his guidance on our writing. We also thank the anonymous reviewers for their valuable comments and insightful suggestions.

Funding Statement: NUIST’s curriculum reform project of β€œintegration of specialty and innovation”.

20 JBD, 2021, vol. 3, no. 1

Conflicts of Interest: The authors declare no conflicts of interest.

References [1] Y. Jiang, Numerical Analysis and Computational Method, World Academic Union, 2011. [2] N. X. Yang, K. Zhang, T. Fan, R. Wang and M. Z. Sun, β€œError analysis of two kinds of experiments on complex

pendulum characterictics,” Physical Experiment of College, 2017. [3] Y. L. Liu and Y. M. Zhu, β€œMulti body dynamics of planar double pendulum mechanism based on Lagrange

method,” Mechanical Design and Manufacturing, pp. 75–77, 2009. [4] G. D. Quiroga and P. A. Qsoina-Henao, β€œDynamics of damped qscillations: Physical pendulum,” European

Journal of Physics, vol. 38, no. 6, 2017. [5] M. S. Saad, Z. Shayfull, S. M. Nasir and M. Fathullah, β€œParameter estimation of damped compound pendulum

differential evolution algorithm,” MATEC Web of Conferences, 2016. [6] F. X. Mei, Analytical Mechanics, Beijing: Beijing University of Technology Press, 2013. [7] M. S. Saad, L. N. H. M. Deri, Z. Shayfull, S. M. Nasir and M. Fathullah, β€œParameter estimation of damped

compound pendulum using bat algorith,” MATEC Web of Conferences, 2016. [8] A. Y. Botalov, β€œOscillations of physical pendulum with a cavity of elliptic shape filled with viscous liquid,”

Thermophysics and Aeromechanics, vol. 22, pp. 339–344, 2015.