Abstract

In this paper, we will focus on the dynamical behavior of a rigid body suspended on an elastic spring as a pendulum model with three degrees of freedom. It is assumed that the body moves in a rotating vertical plane uniformly with an arbitrary angular velocity. The relative periodic motions of this model are considered. The governing equations of motion are obtained using Lagrange’s equations and represent a nonlinear system of second-order differential equations that can be solved in terms of generalized coordinates. The numerical solutions are investigated using the fourth-order Runge-Kutta algorithms through Matlab packages. These solutions are represented graphically in order to describe and discuss the behavior of the body at any instant for different values of the physical parameters of the body. The obtained results have been discussed and compared with some previous published works. Some concluding remarks have been presented at the end of this work. The importance of this work is due to its numerous applications in life such as the vibrations that occur in buildings and structures.

1. Introduction

The pendulum models have provided the researchers with a fertile source of examples in nonlinear dynamics and lately in nonlinear control. The most famous rigid pendulum consists of a mass particle that is attached to one end of a massless rigid arm and the other end of the arm is fixed to a pivot point that provides a rotational joint for the arm and mass particle. If the arm and mass particle are constrained to move within a fixed plane, the system is referred to as a planar one-dimension pendulum. If the arm and mass particle are unconstrained, the system is referred to as a spherical two-dimension pendulum. The three-dimensional motion of the swinging spring is studied in [1]. The resonance phenomenon that occurs during the motion is also investigated. Nonlinear normal vibration modes of the spring pendulum and the system containing a pendulum absorber are considered in [2].

The published articles on such models are very large. Few researches view the pendulum as a rigid body. Slandered pendulum models are defined by a single rotational degree of freedom, referred to as a planar rigid rotational degree of freedom, or two rotational degrees of freedom, referred to as spherical rigid pendulum. Control problems for planar and spherical pendulum models have been studied by outstanding researchers; see [36].

In [7], the motion of a variable length pendulum was studied to determine the characteristics of motion. In [8], the process analysis method is presented as the analytical method to obtain a second-order approximate solution for a simple pendulum. This method does not depend on small parameter and therefore can overcome the disadvantages and limitations of the perturbation expansion method. In [9], the authors studied a simple pendulum with a hinge exhibiting bilinear hysteretic moment-rotation characteristics subjected to periodic base motions. They have shown that the bilinear hysteretic nature of the system becomes an effective way to limit the growth of the response during parametric resonance. Various perturbation techniques [10] were employed to obtain the analytical solutions for many physical problems. In [11], the authors studied the motion of the supported point of a pendulum on an ellipse and the method of small parameter [10] was used to obtain the periodic solution of the equation of motion. The relative periodic motion of a pendulum with an elastic string was studied in [12] and generalized in [13] when the motion of the supported point of a rigid body pendulum with an elastic string moves on an elliptical path. The equations of motion were deduced using Lagrange’s equations and solved through the small parameter method to obtain their solutions up to the second order of approximation.

In [14] Amer and Bek studied the chaotic responses of a harmonically excited spring pendulum which moves in a circular path under some conditions. The obtained equations of motion represent a nonautonomous system of two nonlinear differential equations of two degrees of freedom. The approximate solution was obtained up to the third order using the multiple scales method [10]. The parametric control of oscillations and rotations of a compound pendulum was studied in [15]. An approximate asymptotic approach of this problem, based on a combination of the averaging method [10] and the maximum principle, is proposed and applied. The limiting cases of small oscillations and rapid rotation of a pendulum are studied in [16].

In [17], the authors studied the vibration and stability of the nonlinear spring pendulum to describe the motion of a ship. The effects of the longitudinal absorber on the system are described through the obtained results. This model is modified in [18] by connecting the spring pendulum to the transverse absorber. So, the motion has three degrees of freedom under multiparametric excitations. The approximate solution is obtained using the multiple scales method up to the second-order approximations.

The nonlinear two-degree-of-freedom system has been examined in [19]. The analytical approximate solution up to the third order is obtained using the same previous method. All the possible resonances of this solution are examined.

The aim of this work is to investigate the motion of a rigid body suspended on an elastic massless spring. The equations of motion are derived using Lagrange’s equation and are considered as a nonlinear system of second-order differential equations. Each equation of this system depends on all the body variables with their derivatives. So, it is not easy to separate these equations as explicit second-order differential equations of one variable in one side. In order to overcome this quandary, the Mathematica program is used. Consequently, the numerical solutions are achieved using the fourth-order Runge-Kutta procedure of ode45 solver [20] with the aid of more recent computer package, for example, Matlab program. Computer codes are carried out to obtain the graphical representations of the attained numerical solutions for the different parameters of the body. The stability of the solutions is checked during the time interval of motion. Discussion of the results is presented through the comparison between the different plots for different variables. The importance of this problem is due to its wide applications in many fields such as physics and engineering applications like swaying buildings.

2. Formulation of the Problem

This section is devoted to introduce the motion of a rigid body suspended on an elastic massless spring as a pendulum model. So, we consider as a coordinates system, rotating with angular velocity with respect to the downward axis , relative to the motion of a rigid body of mass . The elastic spring is suspended to a point , where at any time . Let us suppose that the rigid body is attached with the spring at the point and has the point as a center of mass, denotes the deformation angle between the spring and the vertical axis , and refers to the angle between the straight line directed through to and the vertical. Choosing an orthogonal coordinates system of the body, in which directed along , is perpendicular to and lying in the plane, while is perpendicular to the plane (see Figure 1). Assume, without loss of generality, that the axes , and are the principal axes of inertia of the body.

The coordinates of the center of mass of the body and , relative to the system , can be written aswhere is the length of elastic string after time .

The kinetic energy and the potential energy of the system have the formwhere , and are the principal moments of inertia with respect to the axes , and , respectively, is the spring’s constant, represents the unstretched length of the string, and denotes the gravitational attraction.

According to the above equations, one can obtain the Lagrangian of the system [21]An inspection of (1)–(3), we can observe that the Lagrangian is expressed in terms of three generalized coordinates and three corresponding generalized velocities .

Use the following Lagrange’s equations to obtain the equations of motion in the formwhereHere is the derived length of the body relative to . Equations (5) are the governing equations of motion of our model that represent a nonlinear system of second-order differential equations.

In order to study this problem we consider that the oscillations of our system are closing to the position of the relative equilibrium. So, we can assumeHence, for the relative equilibrium state the angles and are equal, and then we can writewhere represents the value of and and denotes the pendulum string’s length in the case of relative equilibrium. Moreover, the quantities and can be determined from the following equations:

Substituting from (8) into (5), then using (7) and (9), we getwhere

Our principle aim is to obtain the numerical solutions of system (10) which consists of three nonlinear differential equations of second-order. In view of the right hand sides of these equations, we found three functions , and given by (12). In fact, it is not easy to obtain the second derivatives of the generalized coordinates , and such that each equation contains one of these derivatives only.

3. Numerical Solutions

This section is devoted to discuss the numerical solutions for the considered model in Section 2. Computer programs are carried out to investigate the graphical representations for these solutions, to describe the motion, and to illustrate the behavior of the pendulum at any time.

System (10) consists of three nonlinear differential equations of second-order in terms of , and and is reconsidered to obtain the numerical solutions in framework of the fourth-order Runge-Kutta algorithms through Matlab packages [22]. Each equation of this system includes all variables and their derivatives from the first and second order; see systems of (10), (11), (12), and (13). So, the mentioned system is more complicated to deal with and to obtain another corresponding one consisting of second-order differential equations in terms of , and explicitly. Computer codes are utilized in order to overcome these difficulties and to separate each of , and . Consequently, system (10) is transformed into the following system with the aid of (11), (12), and (13):where

It is clear that the left hand sides of the equations of the previous system are given explicitly in terms of , and , respectively. On the other hand, the right hand sides are functions of , and .

The ode45 solver is used in order to obtain the numerical solutions of the nonstiff ordinary differential equations of the previous system (14), in which this solver uses a variable step of Runge-Kutta technique [20]. So we can rewrite system (14) as a system of coupled first-order differential equations as follows.

A choice of the state variables for this system iswhich results in the following state-equations:Use (16) and (17) into system (14) to getThe following initial conditions are required to achieve the numerical solution of (18), by using the fourth-order Runge-Kutta method of ode45 solver in framework of Matlab program,in addition to the following physical parameters of the considered model:Figure 2 shows the variation of the solutions and their derivatives against time when and . This figure is drawn at , , and . The variations of , and with , and , respectively, are illustrated in Figure 3, namely, the phase plane diagrams that are represented in Figures 3(a), 3(b), 3(c) and 3(d), 3(e), 3(f) when and , respectively, with the same other parameters that are taken into consideration in Figure 2.

In these figures, our principle aim is to investigate the effect of increasing time on the motion of pendulum.

According to the calculations depicted in Figure 2(a), we found that when , the wave of the elongation grows up with the increasing of time till . After that both of the elongation and its derivative fluctuate between increasing and decreasing when time reaches . Thus the wave of the solution is stable; see the phase plane Figure 3(a). With the passing of time, one can observe that and are growing quickly, so the motion will be unstable after . The rage behavior of both and is due to the weight of the rigid body and the values of the principal moments of inertia. Consequently, we expect that behavior of elongation becomes greater as observed in Figures 2(a) and 2(d). Moreover, the variation of the spring between stretching and contraction is consistent with the phase plane diagrams represented in Figures 3(a) and 3(d).

It is worthwhile to notice from Figure 2(b) that when time increases from to , the behavior of the angle increases gradually to reach the value and then decreases slowly to reach during the time period . After , the decline of the wave becomes quickly to reach at the end of time period (minus sign indicates opposite direction). This is not possible because must belong to the interval . So, the motion of the wave is unstable as it is manifest from Figure 3(b). On the other hand, increases till and then fluctuates as indicated from Figure 2(b).

The graphs displayed in Figures 2(c) and 3(c) describe the variation of the ( and ) against time and the phase plane diagram ( with ), respectively, when . It is clear that when time belongs to the period , the angle remains stationary, and then its wave oscillates between decreasing and increasing till . After that time, the angle increases up to the end of time interval and consequently the motion will be stable as seen from Figure 3(c) during the period . It is obvious from Figure 2(c) that the behavior of remains stationary to some extent through the time interval and then oscillates between increasing and decreasing till .

It should be noticed that when , the stretching on the string increases gradually till the time becomes , and then and oscillate between increasing and decreasing when the time reaches the end of time interval; see Figure 2(d). Consequently, the wave of the solution is stable as seen from the phase plane Figure 3(d).

An inspection of the graphs depicted in Figure 2(e) shows that the wave describing the behavior of the angle increases gradually from at to its maximum value at and then decreases slowly at to reach its minimum value (minus sign indicates opposite direction) at . With the increasing of time, the wave grows again to reach the value at . Thus, the motion is stable as it is manifest from Figure 3(e). On the other hand, increases and decreases as indicated from Figure 2(e).

Also, it is remarkable from Figure 2(f) that the behavior of the angle remains steady till ; then its wave oscillates between decreasing and increasing. Consequently the motion will be stable as seen from Figure 3(f). It is worthwhile to notice also from Figure 2(f) that the behavior of oscillates between increasing and decreasing.

From the above observations, we can conclude that the motion of our model is more stable when than when . This highlights the importance of the effect of value on the motion. It is worthwhile to notice that the comparison between the solutions , and included in Figures 2(a), 2(b), and 2(c) with the corresponding Figures 2(d), 2(e), and 2(f) reveals that the amplitude of the waves decreases when increases from to . On the other hand, the comparison between their derivatives shows that the amplitude of the waves increases when increases. Figure 4 shows the variation of , and with time when changes from for Figures 4(a), 4(b), and 4(c) to for Figures 4(d), 4(e), and 4(f) at the same values of other parameters , and . According to the calculations depicted in these figures, we can consider these figures as a rotation of the corresponding parts of Figure 3 with time to observe the bending and crossing of the resulting curves.

Figures 5(a), 5(c) and 5(b), 5(d) represent 3D plots that illustrate the variation of the solutions via and via , respectively, for different values of when , and . The graphs displayed in parts of Figure 6 show the variation of , and against time when with consideration of the parameters , and . The corresponding phase plane between the amplitudes and their derivatives is represented in parts of Figure 7. Inspection of the graph depicted in Figure 6(a) shows that when time increases from to the behavior of the solution remains stationary and quickly growing during the time interval and then oscillates till the end of time interval. This indicates that the motion is stable as seen from Figure 7(a). On the other side, the behavior of the derivative remains approximately stationary during the interval and then fluctuates with the increasing of time; see Figure 6(a).

By the same way, we can observe that the wave of the angle increases through a short time to reach its maximum value at , taking into consideration that , and then decreases slowly to reach its minimum value at the end of time interval; see Figure 6(b). This indicates that the motion is close to be stable as observed from the phase plane Figure 8(b). As seen from Figure 6(b), increases and decreases quickly during the period to reach its minimum value at the end of time interval.

The variation of and with time is illustrated in Figure 6(c). In this figure our main goal is to examine the influence of time on the motion of pendulum. It is clear that the behavior of and remains stationary (to some extent) when ; then their waves fluctuate till the end of time interval. Consequently the motion is stable as seen from the phase plane diagram, Figure 7(c). The comparison between parts of Figure 6 with the corresponding Figures 2(d), 2(e), and 2(f) shows that when changes from 0 to the amplitude of the waves decreases. Also, the motion will be more stable when than when as seen from the corresponding phase plane diagrams, that is, Figures 3(d), 3(e), 3(f) and 7(a), 7(b), 7(c), respectively.

On the other hand, parts of Figure 8 show 3D plots that describe the variation of the solutions and their derivative via time when , , , and . The plots displayed in the mentioned parts show bending and crossing of the resulting curves.

Figures 9(a), 9(b), and 9(c) show the variation of the solutions and their derivatives with time when for the given values of other parameters , , and . In view of the first part, we can conclude that when time increases, each of the waves and oscillates between increasing and decreasing till and then increases gradually. So, the motion is stable as seen from Figure 10(a).

From a closer look on the second part of Figure 9(b) we can write, with the increasing of time, the behavior of wave increases to reach its maximum value at and then decreases slowly through the period . After that, its behavior has a sharp decline in a few seconds (about 2.4 s) and then increases till the end of time period and consequently the motion is stable; see Figure 10(b).

According to the calculations depicted in Figure 9(c), we can observe that the waves describing and decrease slowly till and then increase and decline sharp. The phase plane Figure 10(c) shows that the behavior of is not stable.

When parts of Figure 9 and their phase plane parts (of Figure 10) are generally compared with the corresponding Figures 2(d), 2(e), and 2(f) and their phase plane Figures 3(d), 3(e), and 3(f), we can observe that amplitude of the wave increases when compared to when and the motion is more stable when . An inspection of parts of Figure 11 reveals the 3D plots when with the same other data considered in Figures 9 and 10. Figure 10 shows the variation of the solutions and their derivatives with time . It is worthwhile to notice that the comparison between Figures 4(d), 4(e), and 4(f) and Figures 11(a), 11(b), and 11(c) shows more bending and crossing of the curves in Figures 4(d), 4(e), and 4(f) when than the corresponding ones of Figure 11.

Now, we study the last case when with the same other data , , and . The obtained results are represented graphically in Figures 12(a), 12(b), and 12(c), while their phase plane diagrams are given in Figures 12(d), 12(e), and 12(f). At the first glance, we can conclude that this case is not stable, so it is very important to notice that the dimensionless parameter must take any value different from zero as it is pointed in Figure 2 () and Figure 9 (). This elucidates the importance of parameter on the motion.

4. Conclusion

A conclusion that may be made here is that the problem of the relative motion of a rigid body as a pendulum model is investigated. The governing deferential equations are obtained using Lagrange’s equations. Mathematica package was utilized, in order to overcome the difficulties that appear in the separation of the second derivatives of the generalized coordinates , and for the nonlinear system (10). Computer codes are used to obtain the numerical solutions for system (14). These solutions are represented graphically using Matlab program, to study the influence of the different parameters on the motion. The good effect of the parameters , and on the motion is obvious from the mentioned plots. The motion of our model is more stable when the parameters , and take values run away from zero. This highlights the importance of the effect of these parameters on the motion. Such results have been confirmed by many works, such as Ismail [13] and Amer and Bek [14].

Competing Interests

The author declares that they have no competing interests.