Abstract
The classical problem of stabilization of the controlled inverted pendulum is considered in the case of stochastic perturbations of the type of Poisson’s jumps. It is supposed that stabilized control depends on the entire trajectory of the pendulum. Linear and nonlinear models of the controlled inverted pendulum are considered, and the stability of the zero and nonzero equilibria is studied. The obtained results are illustrated by examples with numerical simulation of solutions of the equations under consideration.
Keywords:
controlled inverted pendulum; stochastic perturbations; Poisson’s jumps; zero and nonzero equilibria; asymptotic mean square stability; stability in probability; numerical simulation MSC:
60G51; 60G52; 60G65
1. Introduction
The problem of stabilization for the mathematical model of the controlled inverted pendulum has been very popular among researchers over many years (see, for instance [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]). The nonlinear model of the controlled inverted pendulum has the form of a nonlinear differential equation of the second order
where measures the angle between the rod and the upward vertical (Figure 1). The linearized mathematical model of the controlled inverted pendulum can be described by the linear differential equation of the second order
Figure 1.
Controlled inverted pendulum.
The classical approach to stabilization [1] for the Equation (1) or the Equation (2) uses the control , which is a linear combination of the state and velocity of the pendulum, i.e.,
But this type of control, which represents instantaneous feedback, is quite difficult to realize because usually it is necessary to have some finite time to make measurements of the coordinates and velocities to treat the results of the measurements and to implement them in the control action.
Unlike the classical approach to stabilization, another approach to stabilization is proposed in [8,9,23]. It is supposed that only the trajectory of the pendulum is observed and the control does not depend on the velocity, but depends on the previous values of the trajectory , , and is given in the form
where the kernel is continuous from the right function of the bounded variation on and the integral is understood in the Stieltjes sense. This means, in particular, that both distributed and discrete delays can be used, depending on the concrete choice of the kernel .
In addition, it is supposed that the pendulum is under the influence of stochastic perturbations; so, the considered stabilization problem is a problem of the theory of stochastic functional differential equations [23,32,33,34,35,36,37].
The initial conditions for the system (1), (3) or (2), (3) are
where is a given continuously differentiable function.
1.1. Stability Conditions in the Deterministic Case
Substituting (3) into (2), putting , and using (4), we obtain the system of linear differential equations with delay
Let us denote
By virtue of the general method of Lyapunov functionals construction in [23] the following statements have been proven.
Theorem 1.
Remark 1.
Remark 2.
Note that the third inequality (7) can be represented in the form
Remark 3.
Note that the inverted pendulum cannot be stabilized by a control that depends on the velocity only, i.e., or on the acceleration only, i.e., .
1.2. Transformation to a System of Differential Equations of Neutral Type
From the first equation of (5), we have
2. Stabilization of the Zero Solution Under Stochastic Perturbations
Linear and nonlinear models of the controlled inverted pendulum under stochastic perturbations of the type of white noise are studied in [23], where the zero and a stationary nonzero solutions are investigated analytically and via numerical simulations. Here, both these mathematical models of the controlled inverted pendulum are considered under a combination of both types of stochastic perturbations: white noise and Poisson’s jumps.
Note that the problem of stability of the controlled inverted pendulum under stochastic perturbations of the type of Poisson’s jumps is considered for the first time.
Let be a complete probability space, be a nondecreasing family of sub--algebras of , i.e., for , be the mathematical expectation with respect to the probability .
Let and be, respectively, -measurable by the Wiener and the Poisson processes, , , [32,33,38,39],
2.1. Linear Model
Supposing that the parameter a in the second equation of the system (5) is under the influence of stochastic perturbations , we obtain
In this case, instead of the system (12), we obtain the system of stochastic differential equations of the neutral type [23,32,33]
where is defined in (10).
Definition 1.
The zero solution of the Equation (16) is called:
- -
- stable in probability if for any and there exists such that the solution of the Equation (16) satisfies the condition for any initial condition ;
- -
- mean square stable if for each there exists a such that , , provided that ;
- -
- asymptotically mean square stable if it is mean square stable and for each initial function .
Lemma 1
([23]). Let the matrix A be defined in (15) and means the A transpose. The matrix equation
has the positive definite solution with the elements
Theorem 2.
Proof.
Following the general method of Lyapunov functionals construction [23], consider the functional , where , is defined in (15), elements of the matrix P are defined in (17), the additional functional will be chosen below.
From (17), it follows that , , , . So,
Put now
Then, via (6)
From the condition of positivity of the expressions in the brackets before and , we have
So, if
then there exists such that the Lyapunov functional satisfies the condition
It is well known (see [23,34,35,36,37,40]) that the existence of a Lyapunov functional satisfying the condition (31) ensures the asymptotic mean square stability of the zero solution of the considered equation.
It remains to show that the inequality (30) for some coincides with the inequality (18) for . From (30), it follows that
or via
Note that the function has a minimum for and
2.2. Nonlinear Model
Consider now the nonlinear Equation (1) with the control (3) and similarly to (5) represent it in the form of the system of nonlinear differential equations
Supposing that the parameter a in (33) is influenced by stochastic perturbations (13), i.e., , we obtain
or
Note that the system (14) is the linear part of the system (35) and , i.e., the order of nonlinearity of the system (35) is higher than one. It is known [23] that if the order of nonlinearity of the nonlinear system under consideration is higher than one then the sufficient condition for asymptotic mean square stability of the zero solution of the linear part of this system is at the same time the sufficient condition for stability in probability of the zero solution of the initial nonlinear system. Thus, we obtain the following:
3. Nonzero Equilibrium
To obtain the nonzero equilibrium of the nonlinear system (33), let us suppose that , . Then, and . From (33) and (6), it follows that is a root of the equation
or
where
The function we will call “the characteristic function of the system (33)”.
Let us note the following statements [23].
Remark 5.
Remark 6.
Remark 7.
Theorem 4.
Let be a positive root of the Equation (37).
- -
- If is a point of stable equilibrium of the system (33), then , i.e., is a point where the characteristic function decreases.
- -
- If is a point where the characteristic function increases, i.e., , then is a point of unstable equilibrium of the system (33).
Remark 8.
Let be a point of an extremum of the characteristic function . In this case, and is a point of one-sided stable equilibrium of the system (33). This means that if the system stays in a point x from a small enough neighborhood of and , then the solution converges to . But if the system stays in a point x from a small enough neighborhood of and , then the solution goes away from .
Remark 9.
Since the function is an even function, then for negative roots of the Equation (37), the pictures are symmetrical.
Stochastic Perturbations and Linearization
Let us suppose that the second equation of the system (33) is influenced by additive stochastic perturbations of the form , where is a nonzero root of the Equation (37) and is defined in (13). Then, similarly to (34), we obtain:
Putting , and using (6) and (36), let us transform the second equation of the system (39) in the following way
Using elementary trigonometric transformations and linearization
we obtain
or similarly to (11) and (14) in the form of the system of neutral type differential equations
where
4. Numerical Simulation
4.1. Difference Analogue of the System (34)
4.2. Difference Analogue of the System (39)
4.3. Examples
Below three examples are considered, where the difference analogues (47) and (51) are used for numerical simulation of solutions of the systems (46) and (50). Similarly to [38,39], for numerical simulation of the Poisson process , the continuous random variable is used, uniformly distributed on the interval : if and in the contrary case. A special algorithm for numerical simulation of the standard Wiener process and examples with stochastic perturbations of the white noise type are described in detail in [23]; so below, it is supposed that . In all the examples, one can see that some trajectories have discontinuities, which is a consequence of the Poisson process jumps.
Example 1.
Consider the system (46) with , , , , , , , and the initial condition , . By this , , , , the conditions (18) hold, the zero solution of the system (46) is stable in probability (Theorem 3), all trajectories converge to zero (Figure 2).
Figure 2.
Fifty trajectories of the solution of the system (46). , , , , , , , , , , , , .
Example 2.
Consider the system (46), again with the same values of the parameters as in Example 1, with , and the initial condition , . In this case, and . Therefore, the last inequality (18) does not hold, the zero solution is unstable, the trajectories do not converge to zero and fill by itself the entire space. (Figure 3).
Figure 3.
Ten trajectories of the solution of the system (46). , , , , , , , , , , , , .
Example 3.
Consider the system (50) with , , , , , , , . In this case, , , and . Thus, the first condition (7) does not hold and, consequently, the zero solution of the system (35) is unstable. By that, the Equation (37) has three positive roots: , , , which are equilibria of the system (33) (Remark 5). For these equilibria, we have, respectively: , ; , ; , . Moreover, , , . From Theorems 4 and 5, it follows that the equilibria and are stable in probability, and the equilibrium is unstable. In Figure 4, 50 trajectories of the system (50) solution are shown with the initial condition , , . One can see that all trajectories go out from the unstable equilibrium . By that, a part of the trajectories converges to the stable equilibrium , while another one converges to the stable equilibrium .
Figure 4.
Fifty trajectories of the solution of the system (50). , , , , , , , , , , , , .
5. Conclusions
In this paper, the classical problem of stabilization for the inverted pendulum is considered under stochastic perturbations of the type of Poisson’s jumps. The linear and nonlinear models are studied, stability conditions for the zero and nonzero equilibria are investigated. The obtained results are illustrated by numerical simulation of solutions of the equations under consideration. The proposed research method can be used for detailed investigation of many other nonlinear mathematical models for different applications.
Funding
This research received no external funding.
Data Availability Statement
No new data were created or analyzed in this study. Data sharing is not applicable to this article.
Conflicts of Interest
The author declares no conflicts of interest.
References
- Kapitza, P.L. Dynamical stability of a pendulum when its point of suspension vibrates, and pendulum with a vibrating suspension. In Collected Papers of P.L. Kapitza; ter Haar, D., Ed.; Pergamon Press: London, UK, 1965; Volume 2, pp. 714–737. [Google Scholar]
- Mitchell, R. Stability of the inverted pendulum subjected to almost periodic and stochastic base motion—An application of the method of averaging. Int. J. Nonlinear Mech. 1972, 7, 101–123. [Google Scholar] [CrossRef]
- Levi, M. Stability of the inverted pendulum—A topological explanation. SIAM Rev. 1988, 30, 639–644. [Google Scholar] [CrossRef]
- Blackburn, J.A.; Smith, H.J.T.; Gronbech-Jensen, N. Stability and Hopf bifurcations in an inverted pendulum. Am. J. Phys. 1992, 60, 903–908. [Google Scholar] [CrossRef]
- Acheson, D.J. A pendulum theorem. Proceedings of the Royal Society of London, Seria A. Math. Phys. Eng. Sci. 1993, 443, 239–245. [Google Scholar] [CrossRef]
- Acheson, D.J.; Mullin, T. Upside-down pendulums. Nature 1993, 366, 215–216. [Google Scholar] [CrossRef]
- Levi, M.; Weckesser, W. Stabilization of the inverted linearized pendulum by high frequency vibrations. Siam Rev. 1995, 37, 219–223. [Google Scholar] [CrossRef]
- Borne, P.; Kolmanovskii, V.; Shaikhet, L. Steady-state solutions of nonlinear model of inverted pendulum. Theory Stoch. Process. 1999, 5, 203–209. [Google Scholar]
- Borne, P.; Kolmanovskii, V.; Shaikhet, L. Stabilization of inverted pendulum by control with delay. Dyn. Syst. Appl. 2000, 9, 501–514. [Google Scholar]
- Lozano, R.; Fantoni, I.; Block, D.J. Stabilization of the inverted pendulum around its homoclinic orbit. Syst. Control. Lett. 2000, 40, 197–204. [Google Scholar] [CrossRef]
- Imkeller, P.; Lederer, C. Some formulas for Lyapunov exponents and rotation numbers in two dimensions and the stability of the harmonic oscillator and the inverted pendulum. Dyn. Syst. 2001, 16, 29–61. [Google Scholar] [CrossRef]
- Mata, G.J.; Pestana, E. Effective Hamiltonian and dynamic stability of the inverted pendulum. Eur. J. Phys. 2004, 25, 717–721. [Google Scholar] [CrossRef]
- Sharp, R.; Tsai, Y.-H.; Engquist, B. Multiple time scale numerical methods for the inverted pendulum problem. In Multiscale Methods in Science and Engineering; Lecture Notes Computing Science and Engineering; Springer: Berlin, Germany, 2005; Volume 44, pp. 241–261. [Google Scholar]
- Shaikhet, L. Stability of difference analogue of linear mathematical inverted pendulum. Discret. Dyn. Nat. Soc. 2005, 2005, 215–226. [Google Scholar] [CrossRef]
- Dadios, E.P.; Fernandez, P.S.; Williams, D.J. Genetic algorithm on line controller for the flexible inverted pendulum problem. J. Adv. Comput. Intell. Intell. Inform. 2006, 10, 155–160. [Google Scholar] [CrossRef]
- Ovseyevich, A.I. The stability of an inverted pendulum when there are rapid random oscillations of the suspension point. Int. J. Appl. Math. Mech. 2006, 70, 762–768. [Google Scholar] [CrossRef]
- Chang, L.-H.; Lee, A.-C. Design of nonlinear controller for bi-axial inverted pendulum system. Iet Control. Theory Appl. 2007, 1, 979–986. [Google Scholar] [CrossRef]
- Sanz-Serna, J.M. Stabilizing with a hammer. Stochastics Dyn. 2008, 8, 47–57. [Google Scholar] [CrossRef]
- Shaikhet, L. Improved condition for stabilization of controlled inverted pendulum under stochastic perturbations. Discret. Contin. Dyn. Syst.-A 2009, 24, 1335–1343. [Google Scholar] [CrossRef]
- Tang, J.; Ren, G. Modeling and simulation of a flexible inverted pendulum system. Tsinghua Sci. Technol. 2009, 14, 22–26. [Google Scholar] [CrossRef]
- Li, G.; Liu, X. Dynamic characteristic prediction of inverted pendulum under the reduced-gravity space environments. Acta Astronaut. 2010, 67, 596–604. [Google Scholar] [CrossRef]
- Shaikhet, L. Lyapunov Functionals and Stability of Stochastic Difference Equations; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2011; Available online: https://link.springer.com/book/10.1007/978-0-85729-685-6 (accessed on 28 December 2024).
- Shaikhet, L. Lyapunov Functionals and Stability of Stochastic Functional Differential Equations; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2013; Available online: https://link.springer.com/book/10.1007/978-3-319-00101-2 (accessed on 28 December 2024).
- Semenov, M.E.; Meleshenko, P.A.; Solovyov, A.M.; Semenov, A.M. Hysteretic nonlinearity in inverted pendulum problem. In Structural Nonlinear Dynamics and Diagnosis; Springer Proceedings in Physics; Belhaq, M., Ed.; Springer: Cham, Switzerland, 2015; pp. 463–506. [Google Scholar]
- Semenov, M.E.; Solovyov, A.M.; Meleshenko, P.A. Elastic inverted pendulum with backlash in suspension: Stabilization problem. Nonlinear Dyn. 2015, 82, 677–688. [Google Scholar] [CrossRef]
- Biswas, T.; Rao, S.; Bh, awat, V. A simple extension of inverted pendulum template to explain features of slow walking. J. Theor. Biol. 2018, 457, 112–123. [Google Scholar] [CrossRef] [PubMed]
- Semenov, M.E.; Solovyov, A.M.; Popov, M.A.; Meleshenko, P.A. Coupled inverted pendulums: Stabilization problem. Arch. Appl. Mech. 2018, 88, 517–524. [Google Scholar] [CrossRef]
- Antoniak, G.; Biswas, T.; Cortes, N.; Sikdar, S.; Chun, C.; Bhandawat, V. Spring-loaded inverted pendulum goes through two contraction-extension cycles during the single-support phase of walking. Biol. Open 2019, 8, 1–11. [Google Scholar] [CrossRef] [PubMed]
- Aranovskiy, S.; Biryuk, A.; Nikulchev, E.V.; Ryadchikov, I.; Sokolov, D. Observer design for an inverted pendulum with biased position sensors. J. Comput. Syst. Sci. Int. 2019, 58, 297–304. [Google Scholar] [CrossRef]
- Saleem, O.; Mahmood-ul-Hasan, K. Robust stabilisation of rotary inverted pendulum using intelligently optimised nonlinear self-adaptive dual fractional-order PD controllers. Int. J. Syst. Sci. 2019, 50, 1399–1414. [Google Scholar] [CrossRef]
- Semenov, M.E.; Solovyov, A.M.; Meleshenko, P.A. Stabilization of coupled inverted pendula: From discrete to continuous case. J. Vib. Control 2021, 27, 43–56. [Google Scholar] [CrossRef]
- Gikhman, I.I.; Skorokhod, A.V. Stochastic Differential Equations; Springer: Berlin/Heidelberg, Germany, 1972. [Google Scholar]
- Gikhman, I.I.; Skorokhod, A.V. The Theory of Stochastic Processes, v.III; Springer: Berlin/Heidelberg, Germany, 1979. [Google Scholar]
- Kolmanovskii, V.B.; Nosov, V.R. Stability of Functional Differential Equations; Academic Press: London, UK, 1986. [Google Scholar]
- Kolmanovskii, V.B.; Myshkis, A.D. Applied Theory of Functional Differential Equations; Kluwer Academic: Dordrecht, The Netherlands, 1992. [Google Scholar]
- Kolmanovskii, V.B.; Myshkis, A.D. Introduction to the Theory and Applications of Functional Differential Equations; Kluwer Academic: Dordrecht, The Netherlands, 1999. [Google Scholar]
- Mao, X. Exponential Stability of Stochastic Differential Equations; Marcel Dekker: New York, NY, USA, 1994. [Google Scholar]
- Shaikhet, L. Stability of the neoclassical growth model under perturbations of the type of Poisson’s jumps: Analytical and numerical analysis. Commun. Nonlinear Sci. Numer. Simul. 2019, 72, 78–87. [Google Scholar] [CrossRef]
- Shaikhet, L. About stabilization by Poisson’s jumps for stochastic differential equations. Appl. Math. Lett. 2024, 153, 109068. Available online: https://authors.elsevier.com/sd/article/S0893-9659(24)00088-0 (accessed on 28 December 2024). [CrossRef]
- Khasminskii, R.Z. Stochastic Stability of Differential Equations; Springer: Berlin/Heidelberg, Germany, 2012. [Google Scholar]
- Shaikhet, L. Stability of difference analogues of nonlinear integro-differential equations: A survey of some known results. Res. Commun. Math. Math. Sci. 2024, 16, 21–84. Available online: https://jyotiacademicpress.org/jyotic/journalview/16/article/66/112 (accessed on 28 December 2024).
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).