Abstract
In this paper, the mathematical model of the stabilization of the inverted pendulum with vertically oscillating suspension under hysteretic control is constructed. In the frame of the presented model, the stability criteria for the linearized equations of motion are found. We have made the numerical construction of the stability zones in the two-dimensional parameter space. Dependencies between initial conditions and driven parameters that provide periodic oscillations of the pendulum are obtained.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.Avoid common mistakes on your manuscript.
1 Introduction
The problem of the inverted pendulum has a long history [14, 15, 33] and remains relevant even in the present days [1, 5–7, 12, 20, 23, 26, 34, 35, 37]. As is well known, the model of the inverted pendulum plays the central role in the control theory [4, 5, 10, 13, 16, 22, 28, 34, 35]. It is a well established benchmark problem that provides many challenging problems to control design. Because of their nonlinear nature, pendulums have maintained their usefulness and they are now used to illustrate many of the ideas emerging in the field of nonlinear control [2]. Typical examples are feedback stabilization, variable structure control, passivity based control, back-stepping and forwarding, nonlinear observers, friction compensation, and nonlinear model reduction. The challenges of control made the inverted pendulum systems a classic tools in control laboratories.Footnote 1
According to control purposes of the inverted pendulum, the control of inverted pendulum can be divided into three aspects. The first aspect that is widely researched is the swing-up control of inverted pendulum [10, 22, 28].Footnote 2 The interesting and important results on the time optimal control of the inverted pendulum were obtained in [10, 28]. In particular, in [28] the optimal transients (taking into account the cylindrical character of the states space of the system under control) were built for different values of the parameters and constraints on the control torque. The second aspect is the stabilization of the inverted pendulum [3, 9]. The third aspect is the tracking control of the inverted pendulum [8]. In practice, stabilization and tracking control are more useful for application.
Also, the model of the inverted pendulum (especially, under various kinds of control of the motion of the suspension point) is widely used in the various fields of physics [31], applied mathematics [35], engineer sciences [19, 32], neuroscience [36], economics [30], and others.
The model of an inverted pendulum with an oscillating suspension point (see panel a in Fig. 1) was studied in detail by Kapitza [14, 15]. Let us recall that the equation of motion of pendulum has the form:
where ϕ is the angle of vertical deviation of the pendulum, l is the pendulum’s length, g is the gravitational acceleration, and f(t) is the law of motion of the suspension point (of course, this equation should be considered together with the corresponding initial conditions).
As is known, if the motion of the suspension point is of harmonic character, then Eq. (1) reduces to the Mathieu equation, studied in detail, e.g., in [21].
In order to make an adequate description of the dynamics of real physical and mechanical systems, it is necessary to take into account the effects of hysteretic nature such as “backlash,” “stops,” etc. [25]. The mathematical models of such nonlinearities according to the classical patterns of Krasnosel’skii and Pokrovskii [18], reduce to operators that are treated as converters in appropriate function spaces. The dynamics of such converters are described by the relation of “input-state” and “state-output.”
As is known, most of the real physical and technical systems contain a various kind of parts that can be represented as a cylinder with a piston [25]. Inevitably, the backlashes appear in such systems during its long operation due to the “aging” of the materials. As was mentioned above, such backlashes are of hysteretic nature and the analysis of such nonlinearities is quite important and an actual problem. In this paper, we investigate the problem of the inverted pendulum under hysteretic control in the form of backlash. More specific, we investigate the dynamical features of such a system depending on the control parameters, especially on the cylinder’s length that of hysteretic nature. Let us note also that the system under consideration can be considered as a successful model for a real mechanical system with a hysteretic type of nonlinearity.
The paper is organized as follows. In Sect. 2, we construct the mathematical model of the inverted pendulum under hysteretic control. Section 3 is dedicated to the problem of stability of the linearized equation of motion. Particularly, in this section the monodromy matrix and the stability condition for the inverted pendulum under hysteretic control are found in the explicit analytical form. In Sect. 4, the stability zones of the presented system are analyzed in detail. Section 5 is dedicated to the analysis of the periodic solutions for the system under consideration taking into account that the hysteretic control takes place. In the last section, all the main results of this paper are summarized.
2 Mathematical model
Let us consider a system where the base of the pendulum is a physical system (P,S) formed by a cylinder of length H and the piston P.Footnote 3 Both the cylinder and piston can move in the direction of the vertical axis as it is shown in panel b of the Fig. 1.
We determine the piston’s position by the coordinate f(t) and the cylinder’s position by coordinate υ(t). Let us assume also that the “leading” element in the system (P,S) is a cylinder P. In this assumption, the system (P,S) can be considered as a converter Γ with the input signal f(t) (piston’s position) and the output signal υ(t) (cylinder’s position). Such a converter is called backlash. The set of its possible states is f(t)≤υ(t)≤f(t)+H (−∞<f(t)<∞). The cylinder’s position υ(t) at t>t 0 is defined by υ(t)=Γ[t 0,υ(t 0)]f(t), where Γ[t 0,υ(t 0)] is the operator defined for each υ 0=υ(t 0) on the set of continuous inputs f(t) (t>t 0) for which υ 0−H<f(t)<υ 0 [18].
We assume that the piston’s acceleration periodically changes from −aω 2 to aω 2 with the frequency ω. This assumption consists in the fact that the linearized equation of motion of such a pendulum can be written in the form:Footnote 4
where \(\operatorname{sign}(z)\) is the usual signum function, G(t,H)w(t) is the acceleration of the suspension point and
where t ∗ are the moments after which the acceleration’s sign change takes place; \(\Delta t=\sqrt{\frac{2H}{a\omega^{2}}}\) is the time for which the piston passes through the cylinder.
3 Stability of linearized equation
Let we pass to dimensionless units in (2) using the following change:
As a result, we obtain an equation similar to the Meissner equation [21], but with the negative coefficients and hysteretic nonlinearity, namely:
We can write Eq. (3) in the form of an equivalent system:
The matrix of this system has the form:
where \(p(\tau)=k-sG(\tau,H)\operatorname{sign}(\sin{\tau})\). In the frame of our assumptions, the matrix P(τ) is a periodic function of time with the period 2π, namely: P(τ+2π)≡P(τ).
Let we say that Eq. (3) is stable (or unstable) according to Lagrange if the system (4) is stable (or unstable, respectively). It means that all solutions x(τ) of the stable Eq. (3) are bounded in [τ 0,∞) together with the derivatives \(\dot {x}(\tau)\).
Following the results of Floquet [27], the investigation of the stability of such systems reduces to the problem of finding of the fundamental matrix of the solutions at the moment 2π (the so-called monodromy matrix) and evaluation of its eigenvalues (the so-called multipliers). For the stability of the periodic system, it is necessary and sufficient that the following condition takes place |ϱ|<1 (all the multipliers are placed inside the unit circle).
Due to the fact that the matrix P(τ) is a piecewise-constant, the fundamental system of solutions and the monodromy matrix can be constructed in the closed form. In order to do this, let us consider behavior of a piecewise-constant function \(r(\tau )=-G(\tau,H)\operatorname{sign}(\sin{\tau})\) with the period 2π, and a function p(τ), respectively (see Fig. 2).
As we see from Fig. 2, in the interval (0,2π) the system (4) can be described by the following linear systems with the constant coefficients:
Since the fundamental matrix should be continuous, the solutions of (5)–(8) should match at the corresponding points, namely:
where i=1,2,3, \(\tau^{\ast}_{i}\) are the moments at which the control changes during the period, E is the unity matrix.
Consistent integration of the systems (5)–(8) leads to the following fundamental matrices:
Putting τ=2π in X 4(τ), we obtain the following form of the monodromy matrix of the system (4):
where (k 1)2=k+s, (k 2)2=s−k (s>k), γ=π−Δτ. Let we write also the characteristic equation for the matrix A:
where
[24] and α=−(a 11+a 22).
The product of the roots ϱ 1 and ϱ 2 of Eq. (10) is equal to unity, so the motion will be stable at |α|<2 only, i.e., when the modules both of multipliers are equal to unity, but these multipliers are different. Thus, we obtain the following condition for the stability of solutions of (3):
Using (9) the condition (11) can be written in the explicit form:
Thus, the stability zone of the system (4) in the space of parameters is defined by the inequality (12).
4 Stability zones
Let us consider Eq. (3) at H=0, i.e., in the absence of the hysteretic nonlinearity:
then Δτ=0 and the inequality (12) takes the form:
Now we construct numerically a solution of (14) with relation to the parameters k and s (see the panel a in Fig. 3). In panel b of the Fig. 3 we show also the stability zone for the Meissner equation obtained by Sato [29].
As we can see, these diagrams are the mirror images of each other because of opposite signs at x in the corresponding equations.
Let us construct the stability zone for the system (9). Such a system has a three-dimensional parameter space because of dependence on the three parameters takes place (namely, the dimensionless variables k, s, and the piston’s length H). We set the length of the pendulum as l=1 m.
Figure 4 shows that the stability zones do not qualitatively change, but only slightly deformed with growth of H. Note that in the presented problem the parameters k and s can take the positive values only. The change of the stability zone in the positive half-plane is shown in Fig. 5. Also, in this figure, we see that the growth of the parameter H leads to the increasing of the lower boundary of the stability zone. Moreover, we see in this figure that with increasing of the hysteretic parameter (see the panel f) the boundaries of the stability zones become multivalued functions (namely, the function s(k)). Such a behavior of the boundaries is connected with the fact that the main equation of the model contains the hysteretic nonlinearity (hysteretic behavior of the control parameter H).
Stability zones in the space of parameters of the system (see Eq. (2)) are shown in Fig. 6. This figure shows that the area of stability zone essentially unchanged with increasing of the length of piston H, just only shifted (for the values of H in the interval H∈[0,0.5]). This means that for any H in the presented interval there exists a pair of values ω and a to ensure the stability of the vertical position of the inverted pendulum with oscillating suspension and the hysteretic nonlinearity. However, as we can see in panel f, at H=1, there are two domains of values ω and a that ensure the stability of the vertical position. It should also be pointed out that in full analogy with Fig. 5 the boundaries of the stability zones become multivalued functions (in this case, the function ω(a)) when the hysteretic parameter H increases. Such a behavior of the boundaries follows from the fact that in the presence of the hysteretic control the main equation (2) (together with the corresponding monodromy matrix (9)) becomes essentially nonlinear.
In Fig. 7, we plot the dependencies of the oscillation frequency (namely, the frequency which lies on the border of the stability zone, in other words, the frequency which ensuring the stability of solutions of (2)), on the length of the piston H at different values of a (oscillation amplitude for the piston).
Let us note that the parameters which satisfy the inequality (12) correspond to the almost periodic oscillations [17] relative to the top of the pendulum. In order to confirm these results, we present the plots of characteristics of oscillations (in the linearized model described by Eq. (2)) of the inverted pendulum with length l=1 m and hysteretic nonlinearity H=0.05 m (Fig. 8). The amplitude and frequency of oscillation of the piston are a=0.15 m and ω=30 s−1, respectively. The initial conditions are ϕ(0)=0.2 and \(\dot{\phi }(0)=1~\mbox{s}^{-1}\).
5 Periodic solutions
Now, let us consider the behavior of the pendulum on the edges of the stability zone. In the characteristic equation for the monodromy matrix (10) such a situation corresponds to the two cases: α=−2 (left edge) and α=2 (right edge). The multipliers in this case have taken the values ϱ 1=ϱ 2=1 and ϱ 1=ϱ 2=−1, respectively.
If ϱ 1=ϱ 2=1, then the corresponding normal solution will satisfy the equality X(t+2π)=X(t). Therefore, Eq. (2) has a periodic solution and the period of such a solution coincides with the period of the coefficients \(T_{1}=\frac {2\pi}{\omega}\).
In the second case (ϱ 1=ϱ 2=−1), the corresponding normal solution will satisfy the equality X(t+2π)=−X(t) (through the one more period X(t+4π)=−X(t+2π)=X(t)). This fact means that in the case when the multipliers equal to −1, Eq. (2) has a periodic solution with the period \(T_{2}=\frac{4\pi}{\omega}\).
The solutions are periodic (and hence limited) in both of the presented cases. We will say that they are stable by Lagrange. We assume also that all of the pendulum’s parameters (in periodic regime of oscillations) should satisfy the following condition:
However, these conditions are necessary only, but not sufficient due to the fact that not for all of the nonzero initial values (for a given control with the parameters which satisfy to one of these equations) the periodic solutions will exist.
Note also that for the presented control described by the function \(\upsilon(t)=-a\omega^{2}G(t,H)\operatorname{sign}[\sin{(\omega t)}]\) the initial conditions lie in the first and third quadrants.
Put the following initial condition (ϕ 10,ϕ 20), and consider the case of periodic oscillations with the period T 1. In this case, the equality X(0+T 1)=AX(0)=X(0) takes place, and also
This implies that the initial conditions satisfy the following expressions:
i.e., lie on a straight line \(z_{1}{:}\ \dot{\phi}=K_{1}\phi\), where the coefficient K 1 is
This equality ensures that the condition (15) is valid. If for the initial conditions (ϕ 10,ϕ 20) can be found a pair of the parameters a and ω, which lies on the border of the stability zone (at fixed H) and satisfies Eq. (18) then this pair is unique. The opposite statement is also true.
In similar manner, we find that the periodic solutions with period T 2 exist for initial conditions that satisfy the equations:
In an analogous manner, these initial conditions lie on a straight line \(z_{2}{:}\ \dot{\phi}=K_{2}\phi\) with the coefficient
Corresponding parameters a and ω have been obtained from the numerical solution of Eqs. (19) and (21). Namely, for the solutions of Eq. (2) with the initial conditions that satisfy Eq. (19) the parameters a and ω are a=0.2 m and ω=18.73 s−1 (hysteretic nonlinearity H=0.05 m). For the solutions with the initial conditions that satisfy Eq. (21), the corresponding parameters are a=0.43 m and ω=15.02 s−1 (at the same value of the hysteretic nonlinearity). However, the obtained periodic solutions (using the corresponding parameters a and ω) are not stable (in the strict sense). Therefore, the numerical simulation of these solutions cannot be made without a special regularization procedure.
However, we plot (see the Fig. 9) the surfaces in the space of parameters ω, a, and H that satisfy the existence conditions for the periodic solutions (Eqs. (19) and (21)). The complicated shape of the obtained surfaces is connected with the fact that the values of the parameters that determine the periodic solutions are placed on the boundary of the stability zone (see, e.g., Eqs. (10) and (11)) where the corresponding solutions are not stable. Moreover, the obtained surfaces (more specific, the dependencies that determine such surfaces) are the solutions of the essentially nonlinear equations (19) and (21) (the parameters a ij in these equations are the elements of the monodromy matrix (9)).
6 Conclusions
In this paper, we have analyzed the inverted pendulum with the oscillating suspension point under hysteretic control (hysteretic nonlinearity) in the form of a backlash. More specific, the explicit condition for the stability of such a system has been obtained using the monodromy matrix technique (for the monodromy matrix is also obtained the explicit expression). The periodic solutions in such a system is also analyzed and the corresponding equations for the parameters a and ω are obtained. Here, it should be pointed out that the dynamics of the inverted pendulum with hysteretic control qualitatively differs from the dynamics of the pendulum with conventional control. The presence of the hysteresis element complicates the study of the dynamics of mechanical systems. As a result, the main results of the presented paper were obtained using the numerical simulations only. It should be noted also that the same model can be used in the economics, namely for the problem of optimal production [30].
Notes
Here, it should be noted that although a lot of control algorithm are researched in the systems control design, PID controller is the most widely used controller structure in the realization of a control system [34]. The advantages of the PID controller, which have greatly contributed to its wide acceptance, are its simplicity and sufficient ability to solve many practical control problems.
The one-dimensional swinging inverted pendulum with two degrees of freedom is a popular demonstration of using feedback control to stabilize an open-loop unstable system. Since the system is inherently nonlinear, it has been used extensively by the control engineers to verify a modern control theory. In this system, an inverted pendulum is attached to a cart equipped with a motor that drives it along a horizontal track [11].
Here, we would like to note that both the cylinder and piston are ideal, absolutely rigid, and can move along the y-axis in the infinite ranges.
It should also be pointed out that such a periodic behavior of the piston’s acceleration (namely, the fact that the acceleration of the piston changes from −aω 2 to aω 2) is an assumption of the model presented in this paper. Such a model allows us to obtain some analytical results (the explicit conditions for the stability zones). Also, the numerical simulations are most effectively in the frame of this model. Moreover, such a model of the piston’s behavior most effectively and adequately describes the dynamics of the parts of real technical devices.
References
Arinstein, A., Gitterman, M.: Inverted spring pendulum driven by a periodic force: linear versus nonlinear analysis. Eur. J. Phys. 29, 385–392 (2008)
Åström, K.J., Furuta, K.: Swinging up a pendulum by energy control. Automatica 36, 287–295 (2000)
Bloch, A.M., Leonard, N.E., Marsden, J.E.: Controlled Lagrangians and the stabilization of mechanical systems. i. the first matching theorem. IEEE Trans. Autom. Control 45, 2253–2270 (2000)
Boubaker, O.: The inverted pendulum: a fundamental benchmark in control theory and robotics. In: International Conference on Education and e-Learning Innovations (ICEELI 2012), pp. 1–6 (2012)
Butikov, E.I.: Subharmonic resonances of the parametrically driven pendulum. J. Phys. A, Math. Theor. 35, 6209 (2002)
Butikov, E.I.: An improved criterion for Kapitza’s pendulum stability. J. Phys. A, Math. Theor. 44, 295,202 (2011)
Butikov, E.I.: Oscillations of a simple pendulum with extremely large amplitudes. Eur. J. Phys. 33, 1555–1563 (2012)
Chang, L.H., Lee, A.C.: Design of nonlinear controller for bi-axial inverted pendulum system. IET Control Theory Appl. 1, 979–986 (2007)
Chaturvedi, N.A., McClamroch, N.H., Bernstein, D.S.: Stabilization of a 3d axially symmetric pendulum. Automatica 44, 2258–2265 (2008)
Chernous’ko, F.L., Reshmin, S.A.: Time-optimal swing-up feedback control of a pendulum. Nonlinear Dyn. 47, 65–73 (2007)
Hasan, M., Saha, C., Rahman, M.M., Sarker, M.R.I., Aditya, S.K.: Balancing of an inverted pendulum using pd controller. Dhaka Univ. J. Sci. 60, 115–120 (2012)
Henders, M., Soudack, A.: Dynamics and stability state-space of a controlled inverted pendulum. Int. J. Non-Linear Mech. 31, 215–227 (1996)
Huang, J., Ding, F., Fukuda, T., Matsuno, T.: Modeling and velocity control for a novel narrow vehicle based on mobile wheeled inverted pendulum. IEEE Trans. Control Syst. Technol. 21, 1607–1617 (2013)
Kapitza, P.L.: Dynamic stability of a pendulum when its point of suspension vibrates. Sov. Phys. JETP 21, 588–592 (1951)
Kapitza, P.L.: Pendulum with a vibrating suspension. Usp. Fiz. Nauk 44, 7–15 (1951) (in Russian)
Kim, K.D., Kumar, P.: Real-time middleware for networked control systems and application to an unstable system. IEEE Trans. Control Syst. Technol. 21, 1898–1906 (2013)
Krasnosel’skii, M.A., Burd, V.S., Kolesov, J.S.: Nonlinear Almost Periodic Oscillations. Wiley, New York (1973)
Krasnosel’skii, M.A., Pokrovskii, A.V.: Systems with Hysteresis. Springer, Berlin (1989)
Li, G., Liu, X.: Dynamic characteristic prediction of inverted pendulum under the reduced-gravity space environments. Acta Astronaut. 67, 596–604 (2010)
Lozano, R., Fantoni, I., Block, D.J.: Stabilization of the inverted pendulum around its homoclinic orbit. Syst. Control Lett. 40, 197–204 (2000)
Magnus, K., Popp, K.A.: Schwingungen: eine Einfuehrung in die physikalische Grundlagen und die theoretische Behandlung von Schwingungsproblemen. Teubner, Basel (1997)
Mason, P., Broucke, M., Piccoli, B.: Time optimal swing-up of the planar pendulum. IEEE Trans. Autom. Control 53, 1876–1886 (2008)
Mata, G.J., Pestana, E.: Effective Hamiltonian and dynamic stability of the inverted pendulum. Eur. J. Phys. 25, 717 (2004)
Merkin, D.R.: Introduction to the Theory of Stability. Springer, New York (1997)
Nelepin, R.A. (ed.): Methods of Investigation of Automatic Control Nonlinear Systems. Nauka, Moscow (1975) (in Russian)
Pippard, A.B.: The inverted pendulum. Eur. J. Phys. 8, 203 (1987)
Pliss, V.A.: Nonlocal Problems of the Theory of Oscillations. Academic Press, New York (1966)
Reshmin, S.A., Chernous’ko, F.L.: A time-optimal control synthesis for a nonlinear pendulum. J. Comput. Syst. Sci. Int. 46, 9–18 (2007)
Sato, C.: Correction of stability curves in Hill–Meissner’s equation. Math. Comput. 20, 98–106 (1966)
Semenov, M.E., Grachikov, D.V., Mishin, M.Y., Shevlyakova, D.V.: Stabilization and control models of systems with hysteresis nonlinearities. Eur. Res. 20, 523–528 (2012)
Sieber, J., Krauskopf, B.: Complex balancing motions of an inverted pendulum subject to delayed feedback control. Physica D 197, 332–345 (2004)
Siuka, A., Schöberl, M.: Applications of energy based control methods for the inverted pendulum on a cart. Robot. Auton. Syst. 57, 1012–1017 (2009)
Stephenson, A.: On an induced stability. Philos. Mag. 15, 233 (1908)
Wang, J.J.: Simulation studies of inverted pendulum based on pid controllers. Simul. Model. Pract. Theory 19, 440–449 (2011)
Yavin, Y.: Control of a rotary inverted pendulum. Appl. Math. Lett. 12, 131–134 (1999)
Yue, J., Zhou, Z., Jiang, J., Liu, Y., Hu, D.: Balancing a simulated inverted pendulum through motor imagery: an eeg-based real-time control paradigm. Neurosci. Lett. 524, 95–100 (2012)
Zhang, Y.X., Han, Z.J., Xu, G.Q.: Expansion of solution of an inverted pendulum system with time delay. Appl. Math. Comput. 217, 6476–6489 (2011)
Acknowledgements
This work is supported by the RFBR grants 11-08-00032-a, 12-07-00252-a, 13-08-00532-a.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Semenov, M.E., Shevlyakova, D.V. & Meleshenko, P.A. Inverted pendulum under hysteretic control: stability zones and periodic solutions. Nonlinear Dyn 75, 247–256 (2014). https://doi.org/10.1007/s11071-013-1062-x
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11071-013-1062-x