Research Article | Open Access

Oscar Octavio Gutiérrez-Frias, Juan Carlos Martínez-García, Rubén A. Garrido Moctezuma, "PD Control for Vibration Attenuation in a Physical Pendulum with Moving Mass", *Mathematical Problems in Engineering*, vol. 2009, Article ID 179724, 11 pages, 2009. https://doi.org/10.1155/2009/179724

# PD Control for Vibration Attenuation in a Physical Pendulum with Moving Mass

**Academic Editor:**John Burns

#### Abstract

This paper proposes a Proportional Derivative controller plus gravity compensation to damp out the oscillations of a frictionless physical pendulum with moving mass. A mass slides along the pendulum main axis and operates as an active vibration-damping element. The Lyapunov method together with the LaSalle's theorem allows concluding closed-loop asymptotic stability. The proposed approach only uses measurements of the moving mass position and velocity and it does not require synchronization of the pendulum and moving mass movements. Numerical simulations assess the performance of the closed-loop system.

#### 1. Introduction

Vibrating mechanical systems are an important class of dynamic systems including buildings, bridges, car suspensions, pacemakers, wind generators, and hi-fi speakers [1]. In physical terms, the behavior of a vibrating system is describe by the interplay between an energy-storing component and an energy-carrying component. Thus, the system dynamics are described in terms of energy changes, that is, the motion of the system results from an energy exchange. The control of vibrating mechanical systems is an important area of research, which has provided technological solutions to several problems concerning oscillatory behaviors of some important classes of dynamic systems. For instance, active control of vibrations allows attenuating undesired oscillations in buildings affected by external forces such as strong winds and earthquakes (see, e.g., [2–9] and the references therein), and computer-based active suspension systems are now common in cars as a mean to improve road handling.

As far as mathematical tools are concerned, the control of vibrations has mainly been tackled via frequency-domain techniques, which are essentially restricted to linear systems (see, e.g., [10, 11]). If the vibrating systems are nonlinear and if they oscillate too far away from their equilibrium points, then, frequency-domain techniques are not suitable. In the case of nonlinear systems characterized by small domains of attraction around their equilibrium points, the linear approach is not very effective. Hence, modern approaches, employing time-domain nonlinear control strategies, would yield better performance.

This paper focuses on active control of a class of underdamped lumped nonlinear under-actuated vibrating mechanical systems following an energy-based approach, that is, the control of vibrations is tackled via the shaping of the energy flow that characterizes the system. The control of vibrations is considered in terms of the solution of a particular asymptotic stabilizing feedback control problem around a selected equilibrium point. A stabilizing controller is then obtained following an energy-based Lyapunov approach, which exploits the physical properties of the mechanical system. Intuitively speaking, the energy-based Lyapunov control shapes, using a feedback loop, the potential, and kinetic energies of the controlled system to ensure a motion guaranteeing the control objective (see, e.g., [8, 12, 13]). Moreover, this approach requires the total energy of the system to be a non-increasing function. The total energy function is also required to be at least locally positive definite around the selected equilibrium point (see, e.g., [6, 7, 9, 13]). In this way, the proposed approach avoids conservative control strategies based either on high gains or on canceling nonlinear terms [14, 15].

The problem tackled in this work is the stabilization of a frictionless under-actuated physical pendulum with a radially moving mass. This system was studied in [16], where several control strategies solved the aforementioned stabilization problem. The proposed stabilizing strategies include a modified nonlinear Proportional Derivative (PD) controller and a neural network approach. Further works also studied this physical system [17, 18]. The proposed approach in these two references synchronizes the movement of the moving mass with the pendulum oscillation to damp out the pendulum oscillation. It is interesting to point out that the aforementioned approaches are mainly heuristic and they do not provide rigorous stability proofs. Reference [19] provides a control algorithm based on a switching strategy. The model of the pendulum includes damping friction, and the proposed control law needs measurement of the pendulum angle and the moving mass position. It is also worth remarking that, if not properly tuned, the switching strategy could introduce unbounded control signal chattering.

This paper proposes a simple control law for damping out the oscillation of a frictionless pendulum through the movement of a mass sliding along the pendulum main axis. The control law is composed of two parts, a linear PD controller corresponds to the first part, and the second part is a constant term, that is, equal to the gravity force term associated to the moving mass. Compared with previous approaches, the proposed control law only needs measurements of the moving mass position and velocity and does not relies on the synchronization of the pendulum oscillation. Moreover, it is simple and it could be implemented using processors with limited computing capabilities.

The contribution is organized as follows: Section 2 presents the model of the physical pendulum with moving mass, as well as its main physical properties. Section 3 describes the proposed control law and the stability analysis of the closed loop system. Section 4 depicts some computer simulations. The paper ends with some final comments.

#### 2. Physical Pendulum with Moving Mass

##### 2.1. Lagrangian Modeling

Consider a mechanical system consisting of a physical frictionless pendulum of mass with its pivot at and an auxiliary mass able to slide to and from the pivot as depicted in Figure 1. The moment of inertia of the pendulum about the pivot is given by , and its center of mass is located at a distance from the pivot. The forces acting on the mass are the gravitational force and a force parallel to the guide and supplied by an actuator, that is, an electric motor, attached to the auxiliary mass. The pivot is the origin of the reference frame . The -axis is set in the horizontal direction and the -axis is set in the vertical direction. The set of generalized coordinates are the angle between and the -axis, and the radial displacement of the mass from the pivot . It is easy to show that the total kinetic energy and the total potential energy for this system are given by respectively. Note that the total kinetic energy comprises the rotational energy of the pendulum as well as the translational and rotational energy of the sliding mass. The above equations allow writing the Lagrangian function where . From the above, the corresponding Euler-Lagrange equations are given by

##### 2.2. Model Properties

Define the force as where variable is a new input, and is a gravity compensation term. Substituting (2.4) into (2.3) leads to the following Euler-Lagrange system where and and System (2.5) satisfies the following properties:

(**P1**) is positive definite.(

**P2**) is skew symmetric with (

**P3**)The operator is passive.

Properties (**P1**) and (**P2**) are shared by any Euler-Lagrange mechanical system. In order to prove property (**P3**), define the following storage function:

Taking the time derivative of (2.8) and using properties (**P1**) and (**P2**) yields

According to standard results [20, page 236] the operator is passive. Finally, the following remark concerns the local controllability of (2.5).

*Remark 2.1. *Define *.* Then, linearization of system (2.5) around , produces
From the above, it is clear that (2.10) is not locally controllable since there is no way to affect the dynamics of . Further, is a stable equilibrium point of (2.5) if and .

#### 3. The Control Law

Before establishing the control objective of this work, we define the admissible set as The control objective is defined as follows.

*Problem 3.1. *Consider the physical pendulum with moving mass described in (2.5), under the assumption that the initial conditions satisfy . Then, the control objective is to bring asymptotically the rotating pendulum with moving mass to the equilibrium point , while .

To solve the aforementioned control problem, define the following Lyapunov function candidate: where is the modified potential energy stated as with .

*Remark 3.2. *The selected potential energy has a minimum at since

As a matter of fact, the above condition implies that is a convex function around . In geometrical terms, the level curves of consist of a set of closed curves around . On the other hand, function is positive definite as long as .

Taking into account property (**P3**), the first time derivative of along a trajectory of (2.5) is given by

Define the control input as a Proportional Derivative control law with , . Therefore, substituting control law (3.6) into (3.5) yields

As a consequence, . Thus, this condition establishes stability of the equilibrium point in the Lyapunov sense. Moreover, it also shows that function is not increasing so does . Therefore, if , then, as . On the other hand, since is not increasing, then, . The above result allows defining a compact invariant set as follows: where . Therefore, if , then, as .

To end the stability proof, La Salle's Theorem [21] will allow concluding asymptotic stability. To this end, define the invariant set as follows:

Clearly, in the set , we have that and as a consequence and , where is a constant. Thus, substituting these quantities into (2.5) leads to

The time derivative of the first equation in (3.10) yields

Two cases must then be analyzed.

*Case 1. *If in the set , it also follows that . From the second differential equation of (3.10), it is clear that since is strictly positive. Hence, it follows that in the set . As a consequence, from the first equation of (3.10) . Therefore, in the set .

*Case 2. *If in the set , then (3.11) implies that
Since , thus, is well defined. Taking into account the second differential equation in (3.10) and (3.12) yields to the following algebraic equation for the variable :

This last equation implies that on the set because . This means that Case 2 is not possible since it assumes that . Therefore, and Case 1 is the only possibility.

The above analysis allows concluding that the largest invariant set contained in is given by . According to the LaSalle's invariance theorem, all the trajectories starting in asymptotically converge towards . The following proposition resumes the stability result previously presented.

Proposition 3.3. *Consider the closed-loop dynamic system given by (2.5) in closed-loop with the control law
**
Then, all the trajectories starting in asymptotically converge towards the equilibrium point .*

It is worth noting that the three terms defining (3.14) are the proportional part , the derivative part , and a gravity compensation term . Moreover, (3.7) indicates that damping introduced by the derivative part provides energy dissipation.

#### 4. Numerical Simulations

To illustrate the performance of the proposed control law, a numerical simulation was carried out using the MATLAB program. The system physical parameters were set as follows:

The radial displacement of was given by and. The initial conditions were chosen to be [rad], [m], [rad/s] and [m/s]. The control gains, empirically proposed to increase the convergence rate of the closed-loop system, were set as and . Figure 2 shows the angular displacement, Figure 3 depicts the displacement of the moving mass. Figure 4 displays the time evolution of both, the force applied to the moving mass and the Lyapunov function . From the above results, it is evident that the proposed control law attenuates the pendulum oscillations by a factor of five; the radial displacement remain bounded and converges to the value . On the other hand, the applied force stays also bounded and converges to Nw, that is, the value given by the gravity compensation . Note also that the Lyapunov function , which accounts for the kinetic and potential energy of the closed-loop system, also decreases. Figure 5 displays the equivalent damping. This concept is introduced in [17] and is given by the following equation:

**(a)**

**(b)**

Even if this measure was originally intended for evaluating the damping in one cycle of the pendulum oscillation, equation allows computing for any time provided that . Note that the time evolution of and determines the behaviour of . The equivalent damping has final value of , which is indeed very small.

It must be pointed out that the control strategy is effective in reducing the pendulum oscillations with reasonable control input effort for a large deviation from the equilibrium point. However, the damping injection capability of the proposed strategy is somewhat limited, that is, the system is brought to the desired equilibrium very slowly. This last observation is in agreement with the small value of the equivalent damping. Nevertheless, in real systems there always exists viscous friction, which helps to accelerate convergence to the equilibrium point. Also, Figure 6 shows the level curves associated with the modified potential energy , for the two different values of the parameter and and, as we can see, the region of attraction of the specified equilibrium point can be increased by just augmenting the value of . However, it is not convenient to consider high values for the proportional gain , because it may generate high frequencies oscillations in the closed-loop system. Thus, it is better to consider small values for parameter in order to guarantee that holds.

**(a)**

**(b)**

#### 5. Conclusions

This paper proposes a Proportional Derivative control law plus gravity compensation for active vibration damping in a frictionless physical pendulum with moving mass. The control law is able to damp out the oscillations of the pendulum by using the moving mass as active damper, and its design exploits the underlying physical properties of this system to shape a Lyapunov function candidate. LaSalle's theorem allows concluding asymptotic stability of the closed-loop system. Moreover, the control law only needs measurements of the position and velocity of the moving mass. Compared with previous approaches [16, 18], the proposed methodology does not need to synchronize the motion of the moving mass with the swings of the pendulum, then avoiding measurement of the pendulum position and velocity. The proposed strategy could be considered as a first step towards the reduction of undesirable oscillation in civil structures.

#### Acknowledgments

This research was supported by the Centro de Investigación en Computación of the Instituto Politecnico Nacional, by the Secretara de Investigación y Posgrado of the Instituto Politecnico Nacional (SIP-IPN), under Research Grant 20082694, and by the Centro de Investigación y Estudios Avanzados del Instituto Politecnico Nacional (Cinvestav-IPN) by CONACYT-México under Research Grant 32681-A. Octavio Gutiérrez is a scholarship holder of the Consejo Nacional de Ciencia y Tecnologia (CONACYT-México).

#### References

- S. Behrens, “Potential system efficiencies for MEMS vibration energy harvesting,” in
*Smart Structures, Devices, and Systems III*, S. F. Al-Sarawi, Ed., vol. 6414 of*Proceedings of SPIE*, 2007. View at: Publisher Site | Google Scholar - D. Inman,
*Engineering Vibration*, Prentice-Hall, New York, NY, USA, 1994. - H. Matsuhisa, R. Gu, Y. Wang, O. Nishihara, and S. Sato, “Vibration control of a ropeway carrier by passive dynamic vibration absorbers,”
*JSME International Journal, Series C*, vol. 38, no. 4, pp. 657–662, 1995. View at: Google Scholar - P. Dong, H. Benaroya, and T. Wei, “Integrating experiments into an energy-based reduced-order model for vortex-induced-vibrations of a cylinder mounted as an inverted pendulum,”
*Journal of Sound and Vibration*, vol. 276, no. 1-2, pp. 45–63, 2004. View at: Publisher Site | Google Scholar - H. Sira-Ramírez and O. Llanes-Santiago, “Sliding mode control of nonlinear mechanical vibrations,”
*Journal of Dynamic Systems, Measurement and Control*, vol. 122, no. 4, pp. 674–678, 2000. View at: Publisher Site | Google Scholar - C. Aguilar-Ibanez and S. Sira-Ramirez, “PD control for active vibration damping in an underactuated nonlinear system,”
*Asian Journal of Control*, vol. 4, no. 4, pp. 502–508, 2002. View at: Google Scholar - C. Aguilar-Ibañez and R. Lozano, “The ball and beam acting on the ball,” in
*Non-Linear Control for Underactuated Mechanical Systems*, A. Isidori, J. H. Van Schuppen, E.D. Sontag, and M. Thoma, Eds., chapter 10, pp. 143–151, Springer, London, UK, 2002. View at: Google Scholar - C. F. Aguilar-Ibañez, F. Guzmán-Aguilar, R. Lozano, and J. C. Chimal-E., “A control energy approach for the stabilization of the rigid beam balanced by the cart,”
*International Journal of Robust and Nonlinear Control*, vol. 19, no. 11, pp. 1278–1289, 2008. View at: Publisher Site | Google Scholar - C. Aguilar-Ibáñez and H. Sira-Ramírez, “A linear differential flatness approach to controlling the Furuta pendulum,”
*IMA Journal of Mathematical Control and Information*, vol. 24, no. 1, pp. 31–45, 2007. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - W. T. Thomson,
*Theory of Vibrations with Applications*, Allen and Unwin, London, UK, 1981. - C. Fuller, S. J. Elliot, and P. A. Nelson,
*Active Control of Vibration*, Academic Press, San Diego, Calif, USA, 1996. - R. Ortega, A. Loria, P. J. Nicklasson, and H. Sira-Ramirez,
*Passivity-Based Control of Euler—Lagrange Systems*, Springer, Berlin, Germany, 1998. - C. A. Ibáñez and J. H. Sossa Azuela, “Stabilization of the Furuta pendulum based on a Lyapunov function,”
*Nonlinear Dynamics*, vol. 49, no. 1-2, pp. 1–8, 2007. View at: Publisher Site | Google Scholar | MathSciNet - V. Utkin,
*Sliding Modes Control in Electromechanical Systems*, Taylor & Francis, London, UK, 1999. - A. Isidori,
*Nonlinear Control Systems*, Communications and Control Engineering Series, Springer, Berlin, Germany, 3rd edition, 1995. View at: MathSciNet - D. S. D. Stilling,
*Vibration attenuation by mass redistribution*, Ph.D. thesis, University of Saskatchewan, Saskatoon, Canada, 2000. - D. S. D. Stilling and W. Szyszkowski, “Controlling angular oscillations through mass reconfiguration: a variable length pendulum case,”
*International Journal of Non-Linear Mechanics*, vol. 37, no. 1, pp. 89–99, 2002. View at: Publisher Site | Google Scholar | Zentralblatt MATH - W. Szyszkowski and D. S. D. Stilling, “On damping properties of a frictionless physical pendulum with a moving mass,”
*International Journal of Non-Linear Mechanics*, vol. 40, no. 5, pp. 669–681, 2005. View at: Publisher Site | Google Scholar - K. Yoshida, K. Kawanishi, and H. Kawabe, “Stabilizing control for a single pendulum by moving the center of gravity: theory and experiment,” in
*Proceedings of the American Control Conference (ACC '97)*, Alburquerque, NM, USA, June 1997. View at: Google Scholar - H. K. Khalil,
*Non-Linear Systems*, Prentice-Hall, Upper Saddle River, NJ, USA, 3rd edition, 2002. - S. Lefschetz and J. P. La Salle,
*Stability By Liapunov's Direct Method with Applications*, Academic Press, San Diego, Calif, USA, 1964.

#### Copyright

Copyright © 2009 Oscar Octavio Gutiérrez-Frias et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.