Abstract
Adaptive sliding mode control schemes are proposed for the control problem of a magnetic levitation system. Two control laws based on sliding mode concepts are developed to deal with this problem. For the first controller, an adaptive sliding mode controller is designed to control a magnetic levitation system. The other controller is also developed by combining a fast terminal sliding mode control method with an adaptive technique. Both controllers can guarantee finite-time reachability of a given desired position of a magnetic levitation system. The stability of the controlled system under presented controllers is proved by using the Lyapunov stability theorem. An example of a magnetic levitation system is given and simulation results are included to verify the performance of the proposed controllers.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
Magnetic levitation systems have practical significance in many engineering applications such as high-speed maglev passenger trains, frictionless bearings, levitation of wind tunnel models, vibration isolation of sensitive machinery and levitation of molten metal in induction furnaces. The maglev systems are usually open-loop unstable and are modeled by highly nonlinear differential equations which present difficulties in controlling these systems. Therefore, it is an important task to construct high-performance feedback controllers for regulating the position of the levitated object.
In recent years, many techniques have been reported in the literature for controlling magnetic levitation systems. The feedback linearization technique has been used to design controllers for magnetic levitation systems (Barie and Chiasson 1996; Hajjaji and Ouladsine 2001; Trumper et al. 1997). Other types of nonlinear control approaches have been proposed (see, e.g., Green and Craig 1998; Huang et al. 2000; Yang and Tateishi 1998; Zhao and Thornton 1992). Robust control methods have also been applied to control magnetic levitation systems Fujita et al. (1990), Fujita et al. (1995). Control laws based on phase space Zhao et al. (1999), linear controller design El Rifai and Youcef-Toumi (1998), the gain scheduling approach Kim and Kim (1994) and natural network techniques Lairi and Bloch (1999) have also been used to control magnetic levitation systems.
Sliding mode control (SMC) Hung et al. (1993), Yong et al. (1999), Zinober (1994) is a powerful nonlinear control method that is well known for its robustness. Sliding mode control gets attention owing to its ability to eliminate uncertainties and external disturbances. The SMC design consists of two parts, the continuous equivalent control and discontinuous switching control. To satisfy the reachability conditions the switching gain should be larger than the upper bounds of the model uncertainty and disturbance.
Recently, terminal sliding mode control (TSMC) has been developed Tang (1998), Wu et al. (1998). Compared with linear hyperplane-based sliding modes, terminal sliding mode offers some superior properties such as fast, finite-time convergence. The TSMC is particularly useful for high-precision control as it speeds up the convergence rate near an equilibrium point. ASMC and AFTSMC have been successfully applied to many practical control systems (see. e.g, Wu et al. 1998; Man et al. 1999; Keleher and Stonier 2001; Feng et al. 2001; Keleher and Stonier 2001; Li et al. 2013; Yu and Man 2002). Adaptive terminal sliding mode control (ATSMC) is proposed in Man et al. (1999), Keleher and Stonier (2001), Feng et al. (2001), Keleher and Stonier (2001) to control a rigid robot manipulator. This control method relaxes the need of the known upper bound of parameter uncertainties and disturbance. Later, Yu and Man (2002), Almutairi and Zribi (2006) presented the fast terminal sliding mode control (FTSMC). Using FTSMC scheme, the system state variables can converge fast to the equilibrium point in finite time Wu et al. (1998). Evidently, it is of theoretical importance to design the FTSMC. Tao and Taur (2004) developed a new adaptive fuzzy terminal sliding mode controller for linear systems with mismatched time varying uncertainties. Adaptive nonsigular FTSMC has been used in Li et al. (2013) for application to electromechanical actuator. However, the AFTSMC law has not been developed for a magnetic levitation system.
The main contributions of this paper are that new ASMC and AFTSMC laws for a magnetic levitation system are designed to achieve a fast convergence rate and high accuracy of results. To the best knowledge of the authors, AFTSMC has not previously been used to develop a controller for a magnetic levitation system. In the controller designs, we assume that the disturbance d is taken into account [(see Eq. (5)]. A rigorous Lyapunov function is used to ensure the finite-time stability of the closed-loop system. Moreover, the proposed control methods have adaptive laws which can estimate the upper bound of a disturbance.
The paper is organized as follows. In Sect. 2, the model of the magnetic levitation system is presented. Section 3 presents a sliding mode controller design for the magnetic levitation system. Section 4 proposes an adaptive sliding mode control (ASMC) algorithm to solve the same control problem as in Sect. 3. The sliding manifold is chosen and the sliding control law is studied and a proof of finite-time convergence is given by using the Lyapunov stability theory. Section 5 gives the design of AFTSMC. The finite time reachability to the designed state is also ensured by the Lyapunov stability theory. In Sect. 6, numerical simulations on a magnetic levitation system are presented to demonstrate the usefulness of the proposed controllers. In Sect. 7, we present conclusions.
2 Model of the Magnetic Levitation System
The model of a magnetic levitation system considered in this paper consists of a ferromagnetic ball suspended in a voltage-controlled magnetic field. Only the vertical motion is considered. The objective is to keep the ball at a reference level. The dynamic model of the system can be written as Barie and Chiasson (1996), AL-Muthairi and Zribi (2004)
where p is the ball’s position, v represents the ball’s velocity, i is the current in the coil of the electromagnet, e denotes the applied voltage, R denotes the coil’s resistance, L represent the coil’s inductance, \(g_\mathrm{c}\) is the gravitational constant, C denotes the magnetic force constant and m is the mass of the levitated ball.
The inductance L is considered as a nonlinear function of the ball’s position p. The approximation
will be used, where \(L_1\) is a parameter of the system. Let us define \(x_1 = p,\ x_2 = v,\ x_3 = i,\ u =e,\) and let \(x = ( x_1 \quad x_2 \quad x_3)^T\) be the state vector. Thus, the state-space model of the magnetic levitation system is expressed as AL-Muthairi and Zribi (2004)
The objective of the proposed control schemes is to drive the states \(x_1 ,\ x_2\) and \(x_3\) to their desired constant values \(x_{1d} ,\ x_{2d}\) and \(x_{3d},\) respectively.
Let \(z_1=x_1-x_{1d}, \) \(z_2=x_2-x_{2d}\) and \(z_3=g_\mathrm{c}-\frac{C}{m}\left( \frac{x_3}{x_1}\right) ^2\), where \( x_{1d} ,\ x_{2d}, \) and \(x_{3d}\) are the desired position, velocity and current. Here, we assume that \(x_{2d}=0, x_{3d}=\sqrt{g_\mathrm{c}m/C}x_{1d}\) and the disturbance d is taken into account.
Therefore, the time derivatives of \(z_1, z_3\) and \(z_3\) can be obtained as
and
where f(z) and g(z) are given by
Now, suppose that the disturbance d is added into the system. We consider the following nonlinear change of coordinates AL-Muthairi and Zribi (2004)
Note that f(z) and g(z) correspond in the original coordinate to the following functions.
where \(f_1(x)=f(z)\) and \(g_1(x)=g(z)\). Let the output of the system be defined as
Note that the equilibrium point for the system (5) is \(z_1=z_2=z_3=0\).
The transformation is normally required to change the equilibrium point from \(x_d\) to the origin. The stability property of the transformed system is the same with the original system. This is the standard step to analysis the stability of a nonlinear system by using the Lyapunov stability theory.
The design of SMC schemes for the magnetic levitation system will be studied in the next sections.
We now present a basic lemma that we will use in the following sections.
Lemma 1
(Bhat and Berstein 2000) Consider the system
where \(F:D \rightarrow R^n\) is continuous on an open neighborhood D of the origin \(x=0\). Suppose that there is a continuous function \(V(x) : D \rightarrow R\) defined on a neighborhood \(U \subset D\) of the origin such that the following conditions hold:
-
1.
V(x) is positive definite on \(D \subset R^n ; \)
-
2.
there exist real numbers \(k>0\) and \(\lambda \in (0,1)\), such that
Then, system (7) is locally finite-time stable. The settling time, depending on the initial state \(x(0) = x_0 \), satisfies
for all \(x_0\) in some open neighborhood of the origin. If \( D=R^n \) and V(x) is also unbounded, system (7) is globally finite-time stable.
3 Design of a Sliding Mode Control
The design of a SMC scheme for the magnetic levitation system is presented in this section. The first step in designing an SMC scheme for the system is to design the sliding surface. Let the sliding surface s be
where \(\lambda _1\) and \(\lambda _2\) are positive constants. The sliding mode controller is designed as
where sign\((\cdot )\) denotes the signum function and w is a positive constant.
For the original system (3), the sliding surface (10) and the controller (11), may be written as
Assumption 2
The disturbance d in (5) is unknown but bounded, i.e., \(|d| \le D\) where D is a positive constant.
Theorem 3
If Assumption 2 is valid, then the system (5) converges to the origin in finite time under the feedback law (11) with the sliding surface (10).
Proof
Consider the following Lyapunov function
By applying (5), (10) and (11), we get
Substituting (11) into (15), we obtain
Letting \(\gamma = w-D\) and selecting \(w>D\), we obtain that \(\dot{V}_1\) is negative definite. Using (14), one has \(|s|=\sqrt{2V_1}\) and it follows that
By Lemma 1, the sliding surface \(s=0\) is achieved in finite time. Then the system trajectories move toward the sliding surface (10) to the origin in finite time. \(\square \)
4 Design of an Adaptive Sliding Mode Control
To relax the requirement of an upper bound on the uncertainties or disturbance, we design an adaptive SMC law for the system (5).
The proposed adaptive sliding mode controller is designed as
where \(\hat{\varOmega }\) is an adjustable gain and s is the sliding surface defined in (10).
For the original system (3), the controller (18) may be written as
Let the adaptive law be given as
where \(\hat{\varOmega }\) is the estimated value of \(\bar{\varOmega }\), and \(\alpha > 0\) is denoted as an adaptive gain. The compensated control with adaptive algorithm is designed as follows
and the estimation error is defined as
The adaptation speed of \(\hat{\varOmega }(t)\) can be tuned by \(\alpha \). Choosing a suitable adaptation gain \(\alpha \) can also effectively avoid a high level of control activity in the reaching phase. In the following, the validity of the compensated control is confirmed by using Lyapunov theory.
Theorem 4
Consider the sliding variable dynamics (10) and the control law (18) with the adaptive law (20); then, the gain \(\hat{\varOmega }(t)\) has an upper bound; that is, there exists a positive constant \(\varOmega _d\) so that
Proof
Choose a Lyapunov function cadidate as
By taking the time derivative of \(V_2\) , one obtains
Using Lyapunov stability theory, the estimated gain \(\hat{\varOmega }\) is bounded, that is, there exists a positive constant \(\varOmega _d\) such that \(\hat{\varOmega } \le \varOmega _d\), \(\forall t > 0\) . This completes the proof. \(\square \)
Theorem 5
The system (5) converges to the origin in finite time under the feedback law (18) with the adaptive law (20) and the sliding surface (10) .
Proof
Consider the following Lyapunov function
By taking the time derivative of \(V_3\), one obtains
Substituting (18) into (27), one has
Let \(\beta _1=\hat{\varOmega }-\bar{\varOmega }\) and \( \beta _2=\displaystyle \frac{\sqrt{\alpha _1}}{\alpha }|s|\). Therefore, (28) becomes
where \(\beta = \min (\sqrt{2}\beta _1,\sqrt{2}\beta _2)\). Therefore, by Lemma 1, the sliding surface \(s=0\) is achieved in finite time.
5 Design of an Adaptive Fast Terminal Sliding Mode Control
In this section, we design a fast terminal sliding mode control which does not require upper bounds on the uncertainties or disturbance (5).
Let the new sliding surface be Wu et al. (2014)
where a, b are positive odd numbers with \(b > a\) and
The proposed adaptive fast terminal sliding mode control is
where \(\hat{\mu }\) and \(\hat{\lambda }\) are adjustable gain constants and s is the sliding surface design in (30). For the original system (3), system (31) and the controller (32) may be written as
In most cases of control design, controller gains remain constant, and they have been selected by using the conservative approach. But, in an uncertain environment, upper bounds are not known very precisely. Thus, the constant gain approach may apply excessive gain which may be a reason for chattering in control input.
Therefore, we consider adaptive laws \(\hat{\mu }(t)\) and \(\hat{\lambda }(t)\) defined as follows:
and where the estimation error is defined as
Here \( \hat{\mu }\) and \(\hat{\lambda }\) are the estimates of \(\mu \) and \(\lambda \), respectively, \(\rho \) and \(\eta \) are the adaptation parameters used to control the adaptation speed and \(\Delta \) is a design constant used to avoid unbounded growth of the adaptive gain.
Theorem 6
Consider the sliding surface (30) and the control law (32) with adaptive gains (35) and (36); then, the gains \(\hat{\mu }(t)\) and \(\hat{\lambda }(t)\) have upper bounds; that is, there exist positive constants \(\mu \) and \(\lambda \) such that
Proof
Choose a Lyapunov function candidate as
By taking the time derivative of \(V_4\), one obtains
Since \(\mu > 0\) and \(\lambda > 0\), the above equation can be rewritten as
\(\square \)
Clearly \(\dot{V_4} < 0 \) when \(\sigma \ne 0\) and \(\lambda > d\). Using Lyapunov stability theory, the estimated gain \(\hat{\mu }\) and \(\hat{\lambda }\) are bounded; that is, there exists a positive constant \(\mu \) and \(\lambda \) such that \(\hat{\mu } \le \mu \) and \(\hat{\lambda } \le \lambda ,\forall t > 0\). This completes the proof.
Theorem 7
The system (5) converges to the origin in finite time under the feedback law (32) and adaptive gains defined in (35), (36) and the sliding surface (30).
Proof
Consider the Lyapunov function
where \(\bar{\mu }=\hat{\mu }(t) - \mu \) and \(\bar{\lambda }=\hat{\lambda }(t) - \lambda \) represent the adaptation errors, \(\alpha _1 > 0 , \alpha _2>0\) and \(\omega _1, \omega _2\) are positive constants.
Now, finding the first time derivative of the Lyapunov function, one obtains
By applying (5) ,(10), (32), (39) and (40), we get
With \(\mu >0\), we add \(\mu \sigma ^2\) to the right hand side of (45). Now, we obtain
Using Theorem 6, we have \(\bar{\mu }<0\) and \(\bar{\lambda }<0\) and it follows that
where \(\zeta _1=\lambda -d\), \(\zeta _2 =\displaystyle \frac{\omega _1}{\rho }\sigma ^2-\sigma ^2\) and \(\zeta _3 =\displaystyle \frac{\omega _2}{\eta } |\sigma |-|\sigma |\). Therefore, (46) becomes
where \(\zeta =\min \left( \sqrt{2}\zeta _1, \sqrt{\frac{2}{\omega _1}}\zeta _2, \sqrt{\frac{2}{\omega _2}}\zeta _3\right) >0 \), for \(\displaystyle \frac{1}{\omega _1} <\displaystyle \frac{1}{\rho }\) and \(\displaystyle \frac{1}{\omega _2} < \displaystyle \frac{1}{\eta }\). Therefore, by using Lemma 1, we have proved that \(\sigma (t)=0\) is achieved in finite time.
6 Simulation Result
The parameters of the magnetic levitation system are taken from AL-Muthairi and Zribi (2004). The coil’s resistance \(R=28.7 \,\Omega \), the inductance \(L_1=0.65\,\)H, the gravitational constant \(g_\mathrm{c}=9.81\) m s\(^{-2}\), the magnetic force constant \(C=1.410\times 10^{-4}\) and the mass of the ball \(m=11.87\) g. Numerical simulations are performed to compare the ASMC (18) and AFTSMC (32) with the dynamic sliding mode (DSM) control presented in AL-Muthairi and Zribi (2004).The method in AL-Muthairi and Zribi (2004) seems to work well of the magnetic levitation system, so we choose this method to compare the performance with our proposed control laws. In the simulations, the disturbance d in (5) is set as \(d = 0.2\mathrm{sin}(0.2t)\) V. The control parameters and initial conditions for all controllers are given in Table 1.
As shown in Fig. 1, for AFTSMC the trajectory of position converges to the desired position (\(x_{1d}=0.009\) m.) in finite time, while for ASMC and DSMC, position states are forced to the desired position with lower accuracy. Similarly, from Fig. 2 we can see that the trajectory of velocity obtained by AFTSMC converges to zero with higher accuracy than either ASMC or DSMC. Figure 3 shows that AFTSMC gives fast convergence to the sliding surface in finite time. For DSMC, the sliding surface \(s=0\) is achieved but more slowly and with a large error. ASMC gives a lower accuracy of the sliding state and reaches it more slowly than AFTSMC. As shown in Fig. 4 the control response obtained by AFTSMC is smooth and properly reaches zero. In view of this simulation, AFTSMC gives better results when compared with ASMC and DSMC.
7 Conclusion
New AFTSM and ASM controllers have been developed for the control of a magnetic levitation system. It is found that the combination of an adaptive control method and FTSMC gives good tracking results and achieves fast convergence to the sliding surface. Using Lyapunov stability theory, we have proved that the new controllers drive the states of a magnetic levitation system to desired values in finite time. Numerical simulations have been presented to demonstrate the effectiveness of the proposed control methods.
References
Almutairi, N. B., & Zribi, M. (2006). Sliding mode control of coupled tanks. Mechatronics, 16, 427–441.
AL-Muthairi, N. F., & Zribi, M. (2004). Sliding mode control of a magnetic levitation system. Mathematical Problems in Engineering, 2004, 93–107.
Barie, W., & Chiasson, J. (1996). Linear and nonlinear state-space controllers for magnetic levitation. International Journal of Systems Science, 27, 1153–1163.
Bhat, S., & Berstein, D. (2000). Finite-time stability of continuous autonomous systems. SIAM Journal on Control and Optimization, 38, 751–766.
El Rifai, O. & Youcef-Toumi, K. (1998). Achievable performance and design trade-offs in magnetic levitation control. In Proceedings of the 5th international workshop on advanced motion control (AMC’98), Coimbra, Portugal (pp. 586–591).
Feng, Y., Yu, X. H., Man, Z. H. (2001). Adaptive fast terminal sliding mode tracking control of robotic manipulator. In Proceedings of the 40th IEEE conference on decision and control (pp. 4021–4026).
Fujita, M., Matsumura, F., & Uchida, K. (1990). Experiments on the \(H^\infty \)disturbance attenuation control of magnetic suspension system. In Proceedings of the 29th IEEE conference on decision and control, Hawaii (Vol. 5, pp. 2773–2778).
Fujita, M., Namerikawa, T., Matsumura, F., & Uchida, K. (1995). Synthesis of an electromagnetic suspension system. IEEE Transactions on Automatic Control, 40, 530–536.
Green, S. A., & Craig, K. C. (1998). Robust, design, nonlinear control of magnetic-levitation systems. Journal of Dynamics, Measurement, and Control, 120, 488–495.
Hajjaji, A., & Ouladsine, M. (2001). Modeling and nonlinear control of magnetic levitation systems. IEEE Transactions on Industrial Electronics, 48, 831–838.
Huang, C.-M., Yen, J.-Y., & Chen, M.-S. (2000). Adaptive nonlinear control of repulsive maglev suspension systems. Control Engineering Practice, 8, 1357–1367.
Hung, J. Y., Gao, W., & Hung, J. C. (1993). Variable structure control: A survey. IEEE Transactions on Industrial Electronics, 40, 2–22.
Keleher, P. G., & Stonier, R. J. (2001). Adaptive terminal sliding mode control of a rigid robotic manipulator with uncertain dynamics incorporating constraint inequalities. ANZIAM Journal, 43, 102–153.
Keleher, P. G., & Stonier, R. J. (2001). Adaptive terminal sliding mode control of rigid robotic system with uncertain dynamics incorporating constraint inequalities. ANZIAM Journal, 43, 102–153.
Kim, Y. C., & Kim, H. K. (1994). Gain scheduled control of magnetic suspension systems. In Proceedings of the American control conference, Maryland (Vol. 3, pp. 3127–3131).
Lairi, M. & Bloch, G. (1999). A neural network with minimal structure for maglev system modeling and control. In Proceedings of the 1999 IEEE international symposium on intelligent control/intelligent systems and semiotics, Massachusetts (pp. 40–45).
Li, H., Dou, L., & Su, Z. (2013). Adaptive nonsingular fast terminal sliding mode control for electromechanical actuator. International Journal of Systems Science, 44(3), 401–415.
Man, Z. H., Mike, O., & Yu, X. H. (1999). A robust adaptive terminal sliding mode control for rigid robotic manipulators. Journal of Intelligent and Robotic Systems, 24, 23–41.
Tang, Y. (1998). Terminal sliding mode control for rigid robots. Automatica, 34, 51–56.
Tao, C. W., & Taur, J. S. (2004). Adaptive fuzzy terminal sliding mode controller for linear system with mismatched time-varying uncertainties. IEEE Transactions on Systems, 34(1), 255–262.
Trumper, D. L., Olson, M., & Subrahmanyan, P. K. (1997). Linearizing control of magnetic suspension systems. IEEE Transaction on Control Systems Technology, 5, 427–438.
Wu, S., Radice, G., & Sun, Z. (2014). Robust finite-time control for flexible spacecraft attitude maneuver. Journal of Aerospace Engineering, 27, 185–190.
Wu, Y. Q., Yu, X. H., & Man, Z. H. (1998). Terminal sliding mode control design for uncertain dynamic systems. Systems and Control Letters, 34, 281–287.
Yang, Z. J. & Tateishi, M. (1998). Robust nonlinear control of a magnetic levitation system via backstepping approach. In Proceedings of the 37th SICE annual conference (SICE ’98) (pp. 1063–1066).
Yong, K. D., Utkin, V. I., & Ozguner, U. (1999). A control engineer’s guide to sliding mode control. IEEE Transactions on Control Systems Technology, 7, 328–342.
Yu, X. H., & Man, Z. H. (2002). Fast terminal sliding-mode control design for nonlinear dynamical systems. IEEE Circuits and Systems, 49, 261–264.
Zhao, F., & Thornton, R. (1992). Automatic design of a maglev controller in state space. In Proceedings of the 31st conference on decision and control, Tucson, Ariz (pp. 2562–2567).
Zhao, F., Loh, S. C., & May, J. A. (1999). Phase-space nonlinear control toolbox: the maglev experience. Hybrid Systems V: Springer. Lecture Notes in Computer Science.
Zinober, A. S. I. (1994). Variable structure and Lyapunov control. Berlin: Springer.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Boonsatit, N., Pukdeboon, C. Adaptive Fast Terminal Sliding Mode Control of Magnetic Levitation System. J Control Autom Electr Syst 27, 359–367 (2016). https://doi.org/10.1007/s40313-016-0246-2
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s40313-016-0246-2