Special Issue

## Stochastic Systems and Control: Theory and Applications

View this Special Issue

Research Article | Open Access

Volume 2017 |Article ID 7838431 | https://doi.org/10.1155/2017/7838431

Weiwei Sun, Kaili Wang, Congcong Nie, Xuejun Xie, "Energy-Based Controller Design of Stochastic Magnetic Levitation System", Mathematical Problems in Engineering, vol. 2017, Article ID 7838431, 6 pages, 2017. https://doi.org/10.1155/2017/7838431

# Energy-Based Controller Design of Stochastic Magnetic Levitation System

Revised15 May 2017
Accepted18 Jul 2017
Published20 Aug 2017

#### Abstract

This paper investigates the control problem of magnetic levitation system, in which velocity feedback signal is influenced by stochastic disturbance. Firstly, single-degree-freedom magnetic levitation is regarded as an energy-transform action device. From the view of energy-balance relation, the magnetic levitation system is transformed into port-controlled Hamiltonian system model. Next, based on the Hamiltonian structure, the control law of magnetic levitation system is designed by applying Lyapunov theory. Finally, the simulation verifies the correctness of the proposed results.

#### 1. Introduction

Magnetic levitation system is a class of typical nonlinear system, which is difficult to establish accurate mathematical model for the natural parameter of electromagnetic part dependent times [1, 2]. Normally, a standard magnetic levitation system consists of four parts: the sensors, the controller, the power amplifier, and the electromagnetic drives. This kind of system is a control system and its control objective is to ensure that the soliquoid is in the normal position through a series of feedback and control activities. The general process is as follows: firstly, after comparing the given signal with the feedback signal, they will be passed along regulating circuit to power amplifier circuit; then the control currents flow through the power amplifier; finally, the electromagnet converts it to electromagnetic force to control the suspension position. Shu et al. in  introduced the working principle of the magnetic levitation system. Combined with the classical theory of dynamics and electromagnet, the nonlinear equations of motion of the system are derived by the general form of Lagrange equation, and after the linearization processing around the operating point, the state space description of the system is obtained.

In addition, the systems are always affected by stochastic disturbance in many practical control problems, which always lead to system instability . Therefore, more and more scholars and experts pay attention to the research of stability and control of stochastic nonlinear systems and a lot of research achievements have been made that greatly promoted the development of the system research . In , the nonlinear stochastic control of It-type differential systems with all the state, control input, and external disturbance is studied and a sufficient condition is given for the finite/infinite horizon control of such a system by means of Hamilton-Jacobi inequality. More recently, some progress has been made toward solving the stability analysis and controller design for stochastic Hamiltonian systems . Sun and Peng in  studied the robust adaptive control problem for a class of time-delay stochastic Hamiltonian systems. An uncertainty-independent adaptive control law is designed to guarantee that the closed-loop Hamiltonian system is robustly asymptotically stable in the mean square.

Due to the highly nonlinear characteristics of the system, the controller design problem will be solved based on Hamiltonian energy theory. In fact, the energy-based Hamiltonian system method has been widely used in practical systems control [11, 1319]. Based on the Hamiltonian system theory, the port-controlled Hamiltonian dissipative model of magnetic levitation system was established in , by using the Hamiltonian function as the storage function and the controller was designed, which is simple and easy to implement. A key feature of the systems, which is useful for stability analysis and stabilization, is that Hamiltonian function in a port-Hamiltonian systems can be used as a Lyapunov function which brings great convenience.

As is known, the controllers and regulators of the systems are always unavoidably affected by stochastic disturbances, and the study of the controlled systems with stochastic disturbance is of practical significance. Different from what have been studied, this present paper deals with the controller design problem of the magnetic levitation system with stochastic disturbances. Current efforts have been made to dispose the control problem of the stochastic magnetic levitation system on the basis of Hamiltonian energy theory. We regard the magnetic suspension as the energy conversion device and then derive a mathematical model of the single degree of freedom stochastic magnetic levitation system from the point of energy balance, which is transformed into a port-controlled Hamiltonian system. Consequently, the controller of the stochastic magnetic levitation system is designed. Finally, a simulation example is given to verify the validity of the results.

The rest of this paper is organised as follows. Section 2 provides the problem formulation, the Hamiltonian modeling process of the stochastic magnetic levitation systems, and some preliminaries. Section 3 gives the main results. A simulation example is worked out in Section 4 to illustrate the results. Section 5 draws the concluding remarks.

Notations. stands for either the Euclidean vector norm or the induced matrix 2-norm. A function means that is a twice differentiable continuous function. The notation (resp., ), where and are symmetric matrices, means that the matrix is positive semidefinite (resp., positive definite). () denotes the maximum (minimum) of eigenvalue of a real symmetric matrix . Throughout the paper, the superscript “T” stands for matrix transposition. In addition, for the sake of simplicity, we denote by .

#### 2. Problem Description and Transformation

The physical model of the magnetic levitation train system, which includes the concentrated mass of train carriages (together with the supporting magnet) suspended on the rigid lead rail is shown in Figure 1, where is the quality of train carriage (including the supporting magnet); is gravitational constant; is the gap between the supporting magnet and the guide rail; is the gap between the guide rail and the reference plane; is the distance between the supporting magnet and the reference plane; ; is the self-inductance of magnetic coil, which depends on the gap ; is the current flowing through magnet spool; is the coil resistance; is the voltage at both ends of the magnet spool.

By invoking Kirchoff’s voltage law and Newtons second law, the dynamic equations of the magnetic levitation system can be obtained by taking the vertical upward direction as the positive direction: where is the magnetic flux and is the force created by the electromagnet, which is given by

Here we regard the flux as the independent variable; then (1) can be further transformed into the following forms: where ,   is the permeability of vacuum, is coil turns, and is the effective pole area of the electromagnetic coil.

To obtain a port-controlled Hamiltonian model, we take a suitable approximation for the inductance is . As is known, the speed of the rigid body will be affected by stochastic disturbances during the operation of the magnetic levitation system. Let ; due to the influence of stochastic disturbance, the magnetic levitation system (3) can be modeled as the following algebraic differential equations: where is an independent standard Wiener process and satisfies and and is the expectation operator.

The objective of this paper is to find a feedback control law as to ensure that the stochastic magnetic levitation system (4) with the controller (5) is asymptotically stable in the mean square.

Obviously, system (4) is a nonlinear system. In order to study the control problems of the stochastic magnetic levitation system in view of the energy balance, we need to convert it into a stochastic Hamiltonian system first. Taking the total of electromagnetic energy and mechanical energy as the Hamiltonian function, that is, then the magnetic levitation port-controlled Hamiltonian system is obtained:

where

According to the equilibrium condition of the system, the speed of the rigid body reduced to zero when the system is stable. Meanwhile, the electromagnetic force of the rigid body is equal to the gravity that acting upon on it. Then, we can get , . Therefore the equilibrium point of the system is .

It is evident that is a skew symmetric matrix, that is, , and is a positive semidefinite matrix. Consequently, if and , system (7) is a dissipative Hamiltonian system since

In order to design the controller of system (7), we introduce the following definition.

Definition 1. If there exists a controller such that the stochastic Hamiltonian system (7) is said to be asymptotically stable in the mean square, where is the solution of system (7) at time under the initial condition .

Next we introduce some auxiliary lemmas which will be used in this paper.

Lemma 2 (see ). For system assume that and are locally Lipschitz in . For a constant and any satisfies , there exists function such that then from system (11) there exists a unique solution on for any initial date , where

Lemma 3 (see ). Let ; are the bounded stopping time and satisfy . If   and are both bounded on , then

Lemma 4. For any given matrices and , if , it follows that

#### 3. Controller Design of Stochastic Magnetic Levitation System

In this section, we will put forward the controller design scheme for stochastic magnetic levitation system (4). To this end, the stabilization problem of stochastic Hamiltonian system (7) is to be discussed first.

Consider system (7). Choose Lyapunov function as Suppose that the Hamiltonian function and satisfies where and are positive scalars.

According to It differential equations, it can be obtained that where

If we set suitable scalars and , then we have So the stabilization may be achieved by designing a suitable controller for system (7). The following theorem provides a feasible scheme.

Theorem 5 (consider system (7)). Suppose the Hamiltonian function satisfies (17) and (18). Then, the closed-loop stochastic Hamiltonian system of (7) is asymptotic stable in the mean square under the feedback control law where and are scalars which satisfies and .

Proof. Substituting (22) into (7) yields Combining (18), (20), (21), and (23), we obtain then According to Lemma 3, the following formula was established: for all , Therefore, the following formula was established: Set and multiplying to the two sides of the inequality (27), we have that is, Integrating inequality (29) from to , we get that is, Since , which implies that system (7) is asymptotic stable in the mean square under the feedback control law (22). This completes the proof.

Remark 6. Since , are continuous functions and according to Lemma 2, we can conclude that the solution of the closed-loop system (23) is unique for any initial condition in the neighborhood of the equilibrium point .

Next, we consider the stochastic magnetic levitation system (4). Obviously, there exist positive scalars and which make system (4) meet the inequalities (17) and (18) in Theorem 5; thus we can get the following conclusions.

Theorem 7. The stochastic magnetic levitation system (4) is asymptotic stable in the mean square under the feedback control law where and   is a scalar and satisfies .

Proof. Because of the stochastic magnetic levitation system (4) is equivalent to system (7), substitute into system (7) and the formula (6) into (22); we can get controller (33). The rest of the proof is omitted here.

#### 4. Illustrative Examples

In this section, a simulation example is given to verify the correctness of the results obtained in this paper. The relevant parameters are given as follows:  Ω,   g,   m,  ,  N/g, and   cm. By calculating, we take and  .

According to Theorem 7, we can see that system (4) is asymptotically stable in the mean square under the feedback control law

The velocity curve of the rigid body is shown in Figure 2. It shows that the designed controller can make the system reach to the equilibrium point quickly. Figure 3 is the displacement curve of the rigid body; the displacement can also quickly reach to the equilibrium point.

#### 5. Conclusion

This paper has investigated the control problem of stochastic magnetic levitation system. By regarding the magnetic levitation as the energy conversion device, we derived the mathematical model of single degree of freedom magnetic levitation system with stochastic disturbance from the point of view of the energy balance, and then the model can be transformed into a port-controlled Hamiltonian system. Then the controller of the stochastic magnetic levitation system has been designed based on the obtained Hamiltonian system model. Finally, the correctness of the conclusion has been verified by simulations. The main innovation of this paper is that we have fully taken into account the effect of random disturbances on the magnetic levitation system and solve the control problem under Hamiltonian systems framework by making full use of the dissipative structural properties of the Hamiltonian systems.

#### Conflicts of Interest

The authors declare that they have no conflicts of interest.

1. L. Gentili and L. Marconi, “Robust nonlinear disturbance suppression of a magnetic levitation system,” Automatica. A Journal of IFAC, the International Federation of Automatic Control, vol. 39, no. 4, pp. 735–742, 2003. View at: Publisher Site | Google Scholar | MathSciNet
2. F. Gómez-Salas, Y. Wang, and Q. Zhu, “Design of a discrete tracking controller for a magnetic levitation system: a nonlinear rational model approach,” Mathematical Problems in Engineering, vol. 2015, Article ID 360783, 2015. View at: Publisher Site | Google Scholar
3. G. Shu, W. Chen, and M. Reinhold, “The research on the model of a magnetic levitation system,” Electric Machines and Control, vol. 9, no. 3, pp. 187–195, 2005 (Chinese). View at: Google Scholar
4. X. Mao and C. Yuan, Stochastic Differential Equations with Markovian Switching, Imperial College Press, London, UK, 2006. View at: Publisher Site | MathSciNet
5. T. Li, G. Li, and Q. Zhao, “Adaptive Fault-Tolerant Stochastic Shape Control with Application to Particle Distribution Control,” IEEE Transactions on Systems, Man, and Cybernetics: Systems, vol. 45, no. 12, pp. 1592–1604, 2015. View at: Publisher Site | Google Scholar
6. S. Liu, S. Ge, and J. Zhang, “Adaptive output-feedback control for a class of uncertain stochastic non-linear systems with time delays,” International Journal of Control, vol. 81, no. 8, pp. 1210–1220, 2008. View at: Publisher Site | Google Scholar | MathSciNet
7. L. Liu, X. Li, H. Wang, and B. Niu, “Global asymptotic stabilization of stochastic feedforward nonlinear systems with input time-delay,” Nonlinear Dynamics. An International Journal of Nonlinear Dynamics and Chaos in Engineering Systems, vol. 83, no. 3, pp. 1503–1510, 2016. View at: Publisher Site | Google Scholar | MathSciNet
8. X. Wei, Z. Wu, and H. Karimi, “Disturbance observer-based disturbance attenuation control for a class of stochastic systems,” Automatica. A Journal of IFAC, the International Federation of Automatic Control, vol. 63, pp. 21–25, 2016. View at: Publisher Site | Google Scholar | MathSciNet
9. W. Zhang, B. Chen, H. Tang, L. Sheng, and M. Gao, “Some remarks on general nonlinear stochastic ${\mathrm{H}}_{\mathrm{\infty }}^{}$ control with state, control, and disturbance-dependent noise,” IEEE Transactions on Automatic Control, vol. 59, no. 1, pp. 237–242, 2014. View at: Publisher Site | Google Scholar | MathSciNet
10. S. Satoh and K. Fujimoto, “Passivity based control of stochastic port-Hamiltonian systems,” IEEE Transactions on Automatic Control, vol. 58, no. 5, pp. 1139–1153, 2013. View at: Publisher Site | Google Scholar | MathSciNet
11. W. Sun and L. Peng, “Observer-based robust adaptive control for uncertain stochastic Hamiltonian systems with state and input delays,” Lithuanian Association of Nonlinear Analysts (LANA). Nonlinear Analysis. Modelling and Control, vol. 19, no. 4, pp. 626–645, 2014. View at: Publisher Site | Google Scholar | MathSciNet
12. W. Sun and L. Peng, “Robust adaptive control of uncertain stochastic Hamiltonian systems with time varying delay,” Asian Journal of Control, vol. 18, no. 2, pp. 642–651, 2016. View at: Publisher Site | Google Scholar | MathSciNet
13. S. Knorn, A. Donaire, J. C. Aguero, and R. H. Middleton, “Passivity-based control for multi-vehicle systems subject to string constraints,” Automatica, vol. 50, no. 12, pp. 3224–3230, 2014. View at: Google Scholar | MathSciNet
14. R. Ortega, A. J. Van der Schaft, I. Mareels, and B. Maschke, “Putting energy back in control,” IEEE Control Systems Magazine, vol. 21, no. 2, pp. 18–33, 2001. View at: Publisher Site | Google Scholar
15. H. Ramrez, Y. Le Gorrec, B. Maschke, and F. Couenne, “On the passivity based control of irreversible processes: a port-Hamiltonian approach,” Automatica, vol. 64, pp. 105–111, 2016. View at: Publisher Site | Google Scholar | MathSciNet
16. W. Sun, L. Peng, Y. Zhang, and H. Jia, “${\mathrm{H}}_{\mathrm{\infty }}$ excitation control design for stochastic power systems with input delay based on nonlinear Hamiltonian system theory,” Mathematical Problems in Engineering, vol. 2015, Article ID 947815, 12 pages, 2015. View at: Publisher Site | Google Scholar | MathSciNet
17. W. Sun and B. Fu, “Adapative control of time-varying uncertain non-linear systems with input delay: a Hamiltonian approach,” IET Control Theory & Applications, vol. 10, no. 15, pp. 1844–1858, 2016. View at: Publisher Site | Google Scholar | MathSciNet
18. Y. Wang and S. S. Ge, “Augmented Hamiltonian formulation and energy-based control design of uncertain mechanical systems,” IEEE Transactions on Control Systems Technology, vol. 16, no. 2, pp. 202–213, 2008. View at: Publisher Site | Google Scholar
19. J. Zhang and J. Wu, “Hamiltonian modeling and passive control of magnetic levitation system,” Dianji yu Kongzhi Xuebao/Electric Machines and Control, vol. 12, no. 4, pp. 464–472, 2008. View at: Google Scholar

#### More related articles

Article of the Year Award: Outstanding research contributions of 2020, as selected by our Chief Editors. Read the winning articles.