1 Introduction

Maglev systems attract great interest from engineers over the world due to their basic characteristics (contact-less property between the rail and the train, minimal maintenance cost, faster speed and so on) and their different applications such as high-speed, frictionless bearing and levitation of metal slabs during manufacturing [1]. It has a broad spectrum of applications in different domains in day-to-day life for example in transportation [2, 3], bearing-less motors [4, 5], bio-medical [6], industries [7, 8], launching of rockets [9, 10], in levitation of metals etc. A step-by-step design of an efficient suspension system is globally determined by an in-depth understanding of the train dynamics. It is also essential for the development of the control laws for the effective operation of the Maglev system. In order to be commercially viable, the Maglev train must have certain technical requirements to fully satisfy passengers. Therefore, it is essential to consider the dynamic as well as static stability as an integral part of Maglev design even for the control development.

From a viewpoint of the mechanics, the dynamics of the mechanical parts are inescapably affected by the electromagnetic properties. A ferromagnetic material suspended to an air spring, which is subject to the electromagnetic force created by the field of an electromagnet. The electrical current flowing along the magnetic circuit is a nonlinear function of the electromagnetic force. consequently, all motions induced in the ferromagnetic material are nonlinear. As a result, extensive dynamical researches have been carried out to achieve satisfactory performance specifications [11, 12]. Most of these works essentially provide the theoretical basis for the development of the electromechanical systems and then give us great inspiration to further improve the Maglev system. Some approaches for the analysis of suspension systems were strongly associated with the vibration phenomena such as hopf bifurcation, limit cycle and so on. Recently, Yougang et al., investigated the modeling and the control of the low-speed maglev using fuzzy sliding-mode technique [13]. In their work, they used the Euler–Lagrange strategy to construct the nonlinear dynamic model. In the qualitative analysis viewpoint, Lee investigated the occurrence of the Hopf bifurcation and the impact of guide-way parameters on the Maglev system behavior [14]. Following the same idea, Haiyan and collaborators presented an appropriate levitation chassis analysis with a relevant robust position control design of the suspension system under nonlinear periodic disturbance [15]. They demonstrated that the stable suspension of the maglev vehicle is achieved by controlling individual EMS modules. More recently, Zhai and coworkers proposed a calculation and evaluation of the load performance of Maglev in medium–low speed [16]. They provided a load performance of the magnetic levitation system under different load using theoretical calculations associated with the finite element. We note that the typical modeling of the maglev system met the unceasing improvement and is more confronted to the basic requirements of engineering applications, but now-a-days, there are still many technical difficulties, especially for the analysis and design of a levitation system. Despite the numerous works on this topic, there is no relevant study that provides a systematic design procedure in the simpler manner of the Maglev system to the best of the author’s knowledge. We notice that the improvement of the Maglev train dynamic is of paramount importance and can be achieved through the perfect knowledge of the behavior of the parameters.

It is worthwhile to recall that, the maglev system suffers from various control complexities such as inherent instability, one direction force input, nonlinearity modeling and exogenous disturbances [17, 18]. Hence, an external controller is necessary to stabilize the overall system. Abundant control approaches of the maglev systems are based on the linear model which use the linear controller [19,20,21] and the references therein. However, this design model tracking performance deteriorates rapidly as deviation with respect to nominal operating point increases. Some modeling technics were proposed by researchers in order to linearize existing models or to develop a theory around the suppression of vibrations in the system. Most researches in literature deal with appropriate nonlinear controllers that control globally instead of locally the dynamic of the system in a real-time. The principal criterion to select the nonlinear controller is strongly based on its ability to give fast and efficient dynamic response i.e. lesser rise time, fast settling time, less peak value, minimum overshoot/undershoot and negligible steady-state error [22]. In addition, the nonlinear controller is designed to deal with the inherent perturbations on the system dynamic. The majority of the nonlinear control presents poor performance and is less efficient against the disturbances. Therefore, the major motivation behind this work is to design an appropriate nonlinear controller for stabilizing the maglev system with best dynamic and also to allow the guide magnets to keep the rail on track by overcoming the effect of disturbances in an efficient way.

Many contributions have been devoted to the development of control strategies of the maglev train. Yang et al., demonstrated that the magnetic levitation subjected to the uncertainty can be efficiently controlled via a particular dynamic surface proposed a robust position control of a magnetic levitation system via dynamic surface control technique of magnetic levitation system containing parameter uncertainty [23]. The position control strategy is constructed to maintain stable perturbed Maglev system. On the other hand, a robust estimator is designed to estimate the system uncertainties using a DSP-based sliding-mode control for an electromagnetic-levitation system by Lee et al., [24]. These techniques present the advantages to be simple and consequently easy to be implemented, but they consider only a particular scenario, which may be conservative. Wiboonjaroen and Sujitjorn [25] exploited the linearized version of the Maglev model to derive a novel state-PID feedback controller. We notice that the results obtained penalize the performance of the controller due to the fact that the linear systems do not actually exist. The linearization of such systems inevitably leads to the loss of some important properties of the original systems. Recently, Bobtsov et al., proposed a state observer for sensorless control of maglev systems [26]. More recently, Sun and coworkers developed a minimum levitation unit via the RBF Neural Network for the Maglev systems [27]. The neural network enabled us to improve significantly the proposed strategy as regards time-delay. Although, the promising results obtained by these authors, it appears boring and bulking in the practical case. In [28], a nonlinear control method for the electromagnetic suspension system of the maglev train was designed by Junqi and Yuan. They prove that the adjustment of time delay parameters plays a guiding role in avoiding vibration. The non-adaptive time-delayed feedbacks controllers are designed to control the overall system which stands as a drawback since the feedback gains cannot be infinite. On the same way, You-gang Sun et al., presented a robust levitation control of maglev vehicles subject to time delay and disturbances: design and hardware experimentation [29]. Their works show an adequate design of controller based on the Riccati method and sliding-mode technology that can handle efficiency the time delays and disturbances in the control scheme. The basic requirement is the enhancement in the dynamic response of the system so that the proposed controller should have characteristics like: minimal overshoot/undershoot, faster convergence rate, minimal or zero steady state error and reduced chattering and robustness against external disturbance. To satisfy these requirements we choose the nonsingular sliding mode for designing our proposed controller.

Amongst huge control approaches, the application of sliding mode technic to control Maglev system are numerous [30, 31] and give many advantages such as fast response, insensitivity to the matching external disturbances, robustness against uncertainties and good transient performance [32, 33]. It’s important to recall that sliding mode structure control has achieved success in various domains. However, from the literature viewpoint, there are only a few works that take into account these procedures magnetic suspension systems area. It is worth to recall that in physical Maglev systems, some significant constraints exist, such as unavailability of all the state variables, matched and/or unmatched uncertainties due to parameter variation, model simplification and/or external disturbances [33,34,35]. Due to these considerations, it is become a titanic task to design an appropriate controller with the specifics performance. An attempt to overcome perturbations in the system is to use the nonsingular sliding mode control which uses a single control inputs and allows the finite-time stabilization using without requiring the information of the uncertainties [36, 37]. In addition, the singularity and the chattering are eliminated. Nevertheless, this topology of the controller has some weaknesses such as asymptotic stability with a slow response.

The scope of this paper falls into the electro-magnetic suspension technology. We consider a novel dynamical approach associated with a control problem of the nonlinear Maglev system. Facing the challenges previously established, the main contributions of this paper are three-fold:

  1. 1.

    Design and analyze the Maglev system in terms of laws and including stability theories,

  2. 2.

    Propose a robust control strategy for the Maglev train which can ensure the system to be uniformly bounded.

  3. 3.

    Propose an adaptive law to regulate the total system uncertainty, which was not available earlier.

The designing of the novel adaptive robust nonsingular sliding mode control reveals an important contribution of this paper. To the best of the author’s knowledge, not of all these aspects of the Maglev have been simultaneously considered in the literature and then become challenging. In this study, we emphasize the need for improvement of Maglev system in their technical performance and the designing of the efficient control strategy which deserves recognition as a profound contribution.

The rest of the paper is organized as follows. Section 2 gives the problem description and dynamical analysis of the maglev system with some associated simulations. Section 3 deals with the designing of the nonsingular sliding mode control. The simulation investigation is presented in Sect. 4. Section 5 concludes the paper.

2 Model and dynamics of a Maglev system

2.1 System modeling

Maglev train structure has two suspension systems: the upper car body between wheels and bogie and the lower between the bogie and car body. The suspension is necessary not only for isolating the car from vibrations and bumps but also to reduce the forces between wheels and rail. The bogie modeling is the key to the Maglev vehicle model [38]. In order to gain more insight into the behavior of the system, two majors factors are taken into account, the magnetic damping and stiffness of the air spring in the modeling which are the important parameters that determine the dynamic response and the stability of the Maglev system. These quantities in the equation of motion allow to gain more knowledge about the (nonlinear) dynamical behavior of the system for certain parameters and also enable the evaluation of their effects on the operation of the maglev [39, 40]. For the sake of accuracy and for a judicious design of the Maglev train, various forms of active and passive damping mechanisms must be incorporated into the design to make the no steady-state operation stable [41]. The predominant approaches in the literature consider stiffness coefficient similar to the mechanical spring. The stability exists in the direction of positive stiffness if the reaction force acts to oppose perturbative displacements.

In order to analyze the dynamic of the maglev system, we consider the standard model structure presented in Fig. 1. This model is similar to those encountered in literature which consists of three subsystems: the spring system, guideway, and electromagnet system [29, 42]. The specificity of our approach compared to other existing works is that the influence of the spring system and the friction are not ignored. For more details, we refer the reader to [43,44,45]. We neglected the magnetic flux leakage and the edge effect which cannot significantly affect the dynamical behavior of the Maglev. We also consider only the vertical motion of the electromagnet.

Fig.1
figure 1

Configuration of the Maglev system

Remark 1

Keep the levitation system steady is more difficult since the maglev force is inherently unstable, which leads to the dynamic characteristics performing diversity and complexity. Two approaches have been presented in literature such as the dynamics characteristics of the maglev vehicle structure and other way is focusing on controller design [46, 47]. The big challenge is to study the impact of each parameter on the dynamic behavior of the device and to detect those whose influence is significant for the Maglev design. Unfortunately, by referring to the theoretical and experimental aspects, most strategies although satisfactory encountered in the literature remain qualitative (Hopf, bifurcation …) which does not allow the rigorous establishment of the performance concepts of the Maglev system. An appropriate mathematical approach appears interesting and significantly helpful for us to understand the dynamical behavior of Maglev trains and to design relevant control laws.

Remark 2

The order of the Maglev will be high if all factors are taken into consideration which will be boring and the handing very difficult. For the sake of simplicity, we mention some important hypothesis considered in the analysis of this work: (1) Only vertical motion of the electromagnet is considered, namely, there is no displacement between the surface and the guideway. (2) the edge effect and the magnetic flux leakage are neglected, consequently, the flux is uniformly distributed in the air gap. (3) the electromagnet develops an electromagnetic force which the origin is considered to be on the center of mass.

We derive the electromagnetic force as follows:

$$ F = \frac{{dE_{m} }}{dz} = \frac{d}{dz}\int {e_{m} dv = \frac{d}{dz}} \left( {\frac{1}{2}BHV} \right) = \frac{d}{dz}\left( {\frac{{B^{2} Az}}{{\mu_{0} }}} \right) = \frac{{AB^{2} }}{{\mu_{0} }} $$
(1)

where Em represents the magnetic field energy of volume V; em is the magnetic field energy density; A is the magnetic pole area of the electromagnet; \(\mu_{0}\) is air permeability and F denotes the electromagnetic attraction force. It is well known that the magnetic flux density can be expressed as \(B = \frac{{\mu_{0} Ni(t)}}{2z(t)}\) and taking into account the Eq. (1), we finally derive the expression of the electromagnetic force generated by the electromagnet as follows:

$$ F\left( {i,z(t)} \right) = \frac{{\mu_{0} AN^{2} }}{4}\left[ {\frac{i(t)}{{z(t)}}} \right]^{2} $$
(2)

where \(z(t)\) is the magnet gap or the magnet displacement, N the number of turns and \(i(t)\) the current of the solenoid coil. We suppose that components of the Maglev train are rigid bodies. Using the electrical and mechanical laws, it is found that the mechanical and the electrical dynamics are described by the following equations

$$ \begin{gathered} m\frac{{d^{2} z(t)}}{{dt^{2} }} + \beta \left( {\dot{z}(t),z(t)} \right)\frac{dz(t)}{{dt}} - mg = \frac{{\mu_{0} AN^{2} }}{4}\left[ {\frac{i(t) + \Delta i(t)}{{z(t) + \Delta z(t)}}} \right]^{2} \hfill \\ \frac{\hbar }{2z(t)}\frac{di(t)}{{dt}} + Ri(t) - \frac{\hbar }{{z^{2} (t)}}i(t)\frac{dz(t)}{{dt}} = u(t) \hfill \\ \end{gathered} $$
(3)

\(\Delta i(t)\) and \(\Delta z(t)\) are the fluctuations of current and air-gap when the Maglev moves on the guideway. At any point of the Maglev operation, the linearized electromagnetic force can be express as follows [48, 49]

$$ \frac{{\mu_{0} AN^{2} }}{4}\left[ {\frac{i(t) + \Delta i(t)}{{z(t) + \Delta z(t)}}} \right]^{2} = F\left( {i,z(t)} \right) + k_{i} \Delta i(t) - K\Delta z(t) $$
(4)

where \(F\left( {i,z(t)} \right) = \frac{{\mu_{0} AN^{2} }}{4}\left[ {\frac{i(t)}{{z(t)}}} \right]^{2} ,\)\(K = k_{i} = \frac{{\mu_{0} AN^{2} i(t)^{2} }}{{2z(t)^{2} }}\) are the equivalent stiffnesses. Neglecting the fluctuation of the current in the electromagnetic force for the sake of simplicity, Eqs. (3) becomes

$$ \begin{gathered} m\frac{{d^{2} z(t)}}{{dt^{2} }} + \beta \left( {\dot{z}(t),z(t)} \right)\frac{dz(t)}{{dt}} + K\Delta z(t) - mg = \frac{{\mu_{0} AN^{2} }}{4}\left[ {\frac{i(t)}{{z(t)}}} \right]^{2} \hfill \\ \frac{\hbar }{2z(t)}\frac{di(t)}{{dt}} + Ri(t) - \frac{\hbar }{{z^{2} (t)}}i(t)\frac{dz(t)}{{dt}} = u(t) \hfill \\ \end{gathered} $$
(5)

Because very low damping is considered, the system is simplified to a constant damping coefficient: \(\beta \left( {\dot{z}(t),z(t)} \right) = \beta\). However, the equation is still nonlinear because of the nonlinear spring forces. \(u(t)\) is the control voltage acting on both ends of the electromagnet. m is the equivalent mass of the train body and the levitation chassis. K is the stiffness of the air spring. \(z_{e} (t)\) the designed rating magnet gap \(z(t)\), \(\beta\) the mechanical resistance and \(a_{m}\) the area of magnetic the pole while g is the gravity constant. \(\Delta z(t) = z(t) - z_{e}\) is the magnet gab deviation. The simplified model of the slow medium maglev train can be obtained by introducing the new variables \(y\) and \(\omega\) as \(z = y\) and \(i = y\omega\) which lead to the following coupled systems:

$$ m\ddot{y}(t) + \beta \dot{y}(t) + K\left( {y(t) - y_{e} } \right) - mg = \frac{{\hbar \omega^{2} (t)}}{2} $$
(6)
$$ \hbar \dot{\omega }(t) + Ry(t)\omega (t) = u(t) $$
(7)

where \(\hbar = \frac{{\mu_{0} N^{2} A}}{2}\) denotes the force transmission coefficient.

Remark 3

It’s easy to obtain the simplified model in [42, 50] by setting \(\beta \approx 0\). In the following analysis, we recall that the mechanical resistance of the air spring is known and remains a fundamental characteristic of the Maglev described in [51,52,53].

2.2 Equilibrium point and stability analysis

The equilibrium points are solutions of the equations

$$ K\left( {y(t) - y_{e} } \right) - mg = \frac{{\hbar \omega^{2} }}{2} $$
(8)
$$ Ry(t)\omega (t) = u(t) $$
(9)

2.2.1 Case u(t) = 0

Denoting solution of Eqs. (8)-(9) by \((y_{0} ,\omega_{0} )\), two distinct possibilities do exist.

If \(y_{0} = 0\), then, \(\omega_{0} = \pm \sqrt { - 2\left( {\frac{mg}{\hbar } + \frac{K}{\hbar }y_{e} } \right)}\). We then obtain two equilibrium points \(\Omega_{1} \left( {0,\;\sqrt { - 2\left( {\frac{mg}{\hbar } + \frac{K}{\hbar }y_{e} } \right)} } \right)\) and \(\Omega_{2} \left( {0,\; - \sqrt { - 2\left( {\frac{mg}{\hbar } + \frac{K}{\hbar }y_{e} } \right)} } \right)\) such that \(mg\hbar + K\hbar y_{e} \le 0\).

On the other hand, if \(\omega_{0} = 0\), the equilibrium point is therefore \(\Omega_{3} \left( {y_{e} + \frac{mg}{K},\;0} \right)\).

The Jacobian matrix of the corresponding system is

$$ J = \left( {\begin{array}{*{20}c} K & { - \hbar } \\ {R\omega_{0} } & {Ry_{0} } \\ \end{array} } \right) $$
(10)

By considering the linearization around the \(\Omega \left( {y_{0} ,\;\omega_{0} } \right)\), the eigenvalues are solutions of the following characteristic equation, namely

$$ m\hbar \lambda^{3} + (mRy_{0} + \beta \hbar )\lambda^{2} + (K\hbar + \beta Ry_{0} )\lambda + R(Ky_{0} + \hbar \omega_{0}^{2} ) = 0 $$
(11)

We let \(\beta_{1} = \frac{{mRy_{0} + \beta \hbar }}{m\hbar }\), \(\beta_{2} = \frac{{K\hbar + \beta Ry_{0} }}{m\hbar }\) and \(\beta_{3} = \frac{{R(Ky_{0} + \hbar \omega_{0}^{2} )}}{m\hbar }\).

For the equilibrium points \(\Omega_{1}\) and \(\Omega_{2}\), the following inequalities are verified \(\beta_{1}\) ˃0, \(\beta_{2}\) ˃0 and \(\beta_{1} \beta_{2}\) ˃ \(\beta_{3}\). According to the Routh-Hurwitz criteria, hence, these points are all unstable. And the other hand, considering \(\Omega_{3}\), we have \(\beta_{1}\) ˃0, \(\beta_{2}\) ˃0 and \(\beta_{1} \beta_{2}\) ˂ \(\beta_{3}\). According to the Routh-Hurwitz criteria, the corresponding equilibrium point is stable.

Note: According to the stiffness criterion, it’s easy to verify that the stability of the Maglev system can be expressed as follows:

  1. a)

    Stable: K > 0 b) Unstable: K < 0

2.2.2 Case u(t) = 0

Many authors have proven that numerous dynamical systems encountered in literature can depict a variable fixed point called AC equilibrium points [54] (the reader can also find an excellent text in Ref. [55]). This will allow a supplementary stringent aspect of many mechanicals systems which is submitted to small vibrations at a rest point.

Taking from (6) the parameter \(\omega_{0} = \frac{u(t)}{{Ry_{0} }}\), the equilibrium point \((y_{0} ,\omega_{0} )\) is the solution of the function \(f(y)\) defined as follows

$$ f(y_{0} ) = KR^{2} y_{0}^{3} - R^{2} \left( {Ky_{e} + mg} \right)y_{0}^{2} + k_{0} u^{2} (t) = 0 $$
(12)

where \(k_{0} = - \frac{\hbar }{2}\). The first derivative of \(f(y_{0} )\) is given by

$$ \frac{{df(y_{0} )}}{{dy_{0} }} = 3KR^{2} y_{0}^{2} - 2R^{2} \left( {Ky_{e} + mg} \right)y_{0} $$
(13)

The solutions of (12) are defined as follows

$$ \frac{df(y)}{{dy}} = 0 \Rightarrow y_{10} = 0,\;\;y_{20} = \frac{{2\left( {Ky_{e} + mg} \right)}}{3K}, $$
(14)

Let’s define a continuous smooth function F such that

$$ F = f(y_{01} ) \times f(y_{02} ) = \frac{{\hbar^{2} }}{4}u^{4} - \frac{1}{27}\frac{{\hbar^{2} u^{2} R^{2} \left( {Ky_{e} + mg} \right)^{3} }}{{K^{2} }} $$
(15)
  1. a.

    If \(F\) ˃ 0 that is \(\frac{1}{4}u^{2}\) ˃ \(\frac{1}{27}\frac{{R^{2} \left( {Ky_{e} + mg} \right)^{3} }}{{K^{2} }}\)

\(f(y_{0} )\) has one solution, consequently one equilibrium point. Finally, the solution obtained is

$$ y_{0} = \frac{1}{3}\frac{{Ky_{e} + mg}}{K} + \left( { - \frac{1}{27}\left( {y_{e} + \frac{mg}{K}} \right)^{3} - \frac{{\hbar u^{2} }}{{2KR^{2} }} + \frac{1}{2}\sqrt \delta } \right)^{{{1 \mathord{\left/ {\vphantom {1 3}} \right. \kern-\nulldelimiterspace} 3}}} + \left( { - \frac{1}{27}\left( {y_{e} + \frac{mg}{K}} \right)^{3} - \frac{{\hbar u^{2} }}{{2KR^{2} }} - \frac{1}{2}\sqrt \delta } \right)^{{{1 \mathord{\left/ {\vphantom {1 3}} \right. \kern-\nulldelimiterspace} 3}}} $$
(16)
  1. b.

    If \(F\) = 0 that is \(u^{2}\) = \(\frac{4}{27}\frac{{R^{2} \left( {Ky_{e} + mg} \right)^{3} }}{{K^{2} }}\)

We have two equilibrium points as follows

$$ y_{01} = \frac{{Ky_{e} + mg}}{3K}\;\;{\text{and }}y_{02} = - \frac{{Ky_{e} + mg}}{3K} $$
(17)
  1. c.

    If \(F\) ˂ 0 that is \(u^{2}\) ˂ \(\frac{4}{27}\frac{{R^{2} \left( {Ky_{e} + mg} \right)^{3} }}{{K^{2} }}\)

We obtain three equilibrium points

$$ \begin{gathered} y_{001} = \frac{{Ky_{e} + mg}}{3K}\left( {1 + \cos (\theta )} \right)\;\; \hfill \\ y_{002} = \frac{{Ky_{e} + mg}}{3K}\left( {1 + \cos \left( {\theta + \frac{2\pi }{3}} \right)} \right) \hfill \\ y_{003} = \frac{{Ky_{e} + mg}}{3K}\left( {1 + \cos \left( {\theta + \frac{4\pi }{3}} \right)} \right) \hfill \\ \end{gathered} $$
(18)

With

$$ \theta = \frac{1}{3}\arctan \left( {\frac{{\sqrt { - \delta } }}{{ - \frac{2}{27}\left( {y_{e} + \frac{mg}{K}} \right)^{3} - \frac{\hbar u}{{2KR^{2} }}}}} \right) $$
(19)

These results are relaxed and proven at the end (see the appendix).

2.3 Amplitude response

In the aims to observe the evolution of the amplitude response of the Maglev system, an analytical expression of displacement \(z(t)\) and the current \(i(t)\) flowing through the electromagnet are for high interest. In order to solve the set of Eqs. 6 and 7, let us make the change of variables:

$$ y(t) = b + \varphi (t) $$
(20)

where \(b,{\text{ and }}\varphi (t)\) are constant and smooth function respectively to be determined. Inserting Eqs. (20) into Eqs. (6)-(7), one obtains

$$ m\ddot{\varphi }(t) + \beta \dot{\varphi }(t) + K\left( {b - y_{e} (t)} \right) - mg = \frac{\hbar }{2}\omega^{2} (t) $$
(21)
$$ \hbar \dot{\omega }(t) + Rb\omega (t) + R\varphi (t)\omega (t) = u(t) $$
(22)

Setting \(\omega (t)\) weak, then the product \(\varphi (t)\omega (t)\) is too weak. Letting \(u(t) = U_{m} \sin (\Omega t)\), it’s obvious to obtain from (22) that

$$ \omega (t) = C\exp \left( { - \frac{Rb}{\hbar }t} \right) + \frac{{U_{m} }}{{R^{2} b^{2} + \Omega^{2} \hbar^{2} }}\left( {Rb\sin (\Omega t} \right) - \Omega \hbar \cos (\Omega t) $$
(23)

If we seek for harmonic solution, we set \(C = 0\) and derive the following solutions

$$ S_{1} = \frac{Rb}{{R^{2} b^{2} + \Omega^{2} \hbar^{2} }}{\text{ and }}S_{2} = \frac{\Omega \hbar }{{R^{2} b^{2} + \Omega^{2} \hbar^{2} }} $$
(24)

and substituting (24) into (20), one has

$$ b = y_{e} + \frac{mg}{K} + \frac{{\hbar (S_{1}^{2} + S_{2}^{2} )}}{{2K(R^{2} b^{2} + \Omega^{2} \hbar^{2} )}} = y_{e} + \frac{mg}{K} + \frac{{\hbar U_{m}^{2} }}{{2K(R^{2} b^{2} + \Omega^{2} \hbar^{2} )}} $$
(25)

Equation (25) leads to the constraints

$$ 2KR^{2} b^{3} - 2R^{2} (Ky_{e} + mg)b^{2} + 2K\Omega^{2} \hbar^{2} b - 2K\Omega^{2} \hbar (Ky_{e} + mg) - 0.5\hbar U_{m}^{2} = 0 $$
(26)

We set \(y^{\prime}_{0} = \frac{1}{3}\left( {y_{e} + \frac{mg}{K}} \right),P = \left( {y_{0}^{^{\prime}2} - \hbar^{2} \frac{{\Omega^{2} }}{{3R^{2} }}} \right)^{3} ,S = y_{0}^{^{\prime}2} + \frac{{y^{\prime}_{0} \hbar^{2} \Omega^{2} }}{{R^{2} }} + \frac{1}{8}\frac{{\hbar U_{m}^{2} }}{{KR^{2} }}\) and.

\(Q(S,P) = S^{2} - P^{2}\). The quantity \(Q(S,P)\) is called the discriminant. The sign of this quantity clearly defines the complete behavior of the Maglev train at the particular moment.

From Cardan method, the Eq. (26) admits the solution according to:

  1. a.

    If \(Q(S,P)\)˃0, we have only one real solution

    $$ b = y_{0} + \left( {S - \sqrt {S^{2} - P^{2} } } \right)^{1/3} + \left( {S + \sqrt {S^{2} - P^{2} } } \right)^{1/3} $$
    (27)
  2. b.

    If \(Q(S,P)\) = 0, we have two solutions \(b = y_{0} + S^{1/3}\) or \(b = y_{0} - S^{1/3}\)

  3. c.

    If \(Q(S,P)\),˂0 we have three solutions

    $$ b = y_{0} + 2P^{1/3} \cos (\vartheta );\;b = y_{0} + 2P^{1/3} \cos \left( {\vartheta + \frac{2\pi }{3}} \right);\;b = y_{0} + 2P^{1/3} \cos \left( {\vartheta + \frac{4\pi }{3}} \right) $$
    (28)

with \(\vartheta = \frac{1}{3}arc\tan \left( {\frac{{\sqrt {P - S^{2} } }}{S}} \right)\).

Finally, the analytical solution of the electromechanical system (6)-(7) is as follows:

$$ \begin{gathered} y(t) = y_{e} + \frac{mg}{K} + \frac{{\hbar U_{m}^{2} }}{{2K(R^{2} b^{2} + \Omega^{2} \hbar^{2} )}} + \Sigma_{0} \left( {(R^{2} b^{2} + \Omega^{2} \hbar^{2} )(K - 4m\Omega^{2} ) - 4Rb\hbar \beta \Omega^{2} } \right)\cos (2\Omega t) \hfill \\ \, + 2\Omega \Sigma_{0} \left( {Rb\hbar (K - 4m\Omega^{2} ) + \beta (R^{2} b^{2} + \Omega^{2} \hbar^{2} )} \right)\sin (2\Omega t) \hfill \\ \end{gathered} $$
(29)
$$ \omega (t) = \frac{{U_{m} }}{{R^{2} b^{2} + \Omega^{2} \hbar^{2} }}\left( {Rb\sin (\Omega t) - \Omega \hbar \cos (\Omega t)} \right) $$
(30)

where

$$ \Sigma_{0} = - \frac{{\hbar U_{m}^{2} }}{{4\left[ {(K - 4m\Omega^{2} )^{2} + 4\beta^{2} \Omega^{2} } \right](R^{2} b^{2} + \Omega^{2} \hbar^{2} )^{2} }} $$
(31)

Comparing (20) and (29), we identify the constant parameter defined as

$$ b = y_{e} + \frac{mg}{K} - \frac{{\hbar U_{m}^{2} }}{{2K(R^{2} b^{2} + \Omega^{2} \hbar^{2} )}} $$
(32)

Taking into consideration Eq. (29), the solution can be defined as

$$ \left\{ \begin{gathered} y(t) = z_{0} + z_{m} \cos \;(2\Omega t - \varphi_{z} ) \hfill \\ i(t) = I_{1} \cos \;(\Omega t - \varphi_{1} ) + I_{3} \cos \;(3\Omega t - \varphi_{2} ) \hfill \\ \end{gathered} \right. $$
(33)

\(z_{0}\) is the initial position of the maglev which stands as a mean value of \(z(t)\). \(z_{m}\) is the amplitude of \(z(t)\). \(I_{1} {\text{ and }}I_{2}\) are the amplitude of the current for the fundamental and for the third harmonic. \(\varphi_{z} ,\varphi_{1} {\text{ and }}\varphi_{2}\) denote the corresponding phase for the position \(z(t)\) and the current \(i(t)\) respectively. It’s straightforward to obtain after some developments the following results:

$$ z_{0} = y_{e} + \frac{mg}{K} + \frac{{\hbar U_{m}^{2} }}{{2K(R^{2} b^{2} + \Omega^{2} \hbar^{2} )}} $$
(34)
$$ z_{m} = \Sigma_{0} \sqrt {\left( {(R^{2} b^{2} + \Omega^{2} \hbar^{2} )(K - 4m\Omega^{2} ) - 4Rb\hbar \beta \Omega^{2} } \right)^{2} + 4\Omega^{2} \left( {Rb\hbar (K - 4m\Omega^{2} ) + \beta (R^{2} b^{2} + \Omega^{2} \hbar^{2} )} \right)^{2} } $$
(35)
$$ \varphi_{z} = {\text{arctan}}\left( {\frac{{\left( {(R^{2} b^{2} + \Omega^{2} \hbar^{2} )(K - 4m\Omega^{2} ) - 4Rb\hbar \beta \Omega^{2} } \right)}}{{2\Omega \left( {Rb\hbar (K - 4m\Omega^{2} ) + \beta (R^{2} b^{2} + \Omega^{2} \hbar^{2} )} \right)}}} \right) $$
(36)
$$ I_{1} = \sqrt {\left( {\frac{{a_{2} a_{01} }}{2} - \frac{{a_{1} a_{02} }}{2} - a_{02} y_{0} } \right)^{2} + \left( {\frac{{a_{2} a_{02} }}{2} - \frac{{a_{1} a_{01} }}{2} - a_{01} y_{0} } \right)^{2} } $$
(37)
$$ I_{3} = \sqrt {\left( {\frac{{a_{1} a_{01} }}{2} + \frac{{a_{2} a_{02} }}{2}} \right)^{2} + \left( {\frac{{a_{1} a_{02} }}{2} + \frac{{a_{2} a_{01} }}{2}} \right)^{2} } $$
(38)

where \((a_{1} ,a_{2} )\;{\text{and (}}a_{01} ,a_{02} )\) denotes the constants coefficients of the trigonometric function \((\cos (2\Omega t),\sin (2\Omega t))\;{\text{and }}(\sin (2\Omega t),\cos (2\Omega t))\) referring to the solutions \(y(t)\) and \(\omega (t)\) respectively.

From Eq. (33), we can highlight two essential observations: (a) the presence of harmonic currents is one of factors which have the most influence on the technical design of the electromagnet or the associated generator, more particularly with reference to the waveform. These currents cause distortions that move the wave profile away from the ideal sine reference. Accordingly, in this article, the system’s parameters should properly choose to eliminate the third harmonics or to render this higher order component negligible and thus attenuate their effect. (b) The mechanical frequency vibration is probably twice that of the source voltage.

3 Simulations validation of the theory

Let consider the physical parameters of Maglev system as presented in Refs. [21, 36, 38] which are listed in Table 1.

Table 1 Parameters description

For the sake of clarity, we choose the control input voltage as \(u(t) = 220\sqrt 2 \sin (2\pi ft)\) and the radian frequency is \(\omega = 2\pi f\) where f is chosen as \(50Hz\). Now, let us analyze the dynamical behavior of the displacement and the current flowing in the coil. The numerical method used to find the desired solutions is fixed step size fourth-order Runge–Kutta algorithm with step 67 × 10–5. The initial conditions considered are \(z(0) = z_{0} ;\;\dot{z}(0) = 0\) and \(i(0) = z(0)\omega (0) = 0\). We derive the corresponding numerical solutions of the differential Eqs. (3.1) and (3.2) showed on Fig. 2a, b. We clearly observe that the oscillation frequency is twice the one of the current.

Fig. 2
figure 2

Time evolution of the system, a Displacement \(y(t)\) and b Current \(i(t)\)

In order to investigate the effects of each parameter on the behavior of the system, let us depict Fig. 3. The red curve represents the numerical solution obtained from Eq. (19) and the blue one is the analytical solution. We notice that for weak values of the vibration frequency, the two curves are similar. A disparity appears in the gap [1.5; 1.85] and reveals an irregular behavior of the electromagnet in the dynamics of the overall system. The mathematical approximation of the Eq. (19) does not take into consideration this discontinuity. This behavior is observed for m = 520Kg. Figure 3 shows the same curves for m = 620Kg. We obviously point out that the solution obtained remains rigorously true in a sufficient time interval to be able to make a complete analysis of the Maglev. From Fig. 2a, it appears that the great variation of the displacement may destroy the performance of the maglev system. The current that is given to the electric coils of the guideway will be alternating in nature. Thus the polarity of the coils will be changing in period. Figures 3 and 4 depict respectively, the numerical solution of the displacement and the analytical solution from Eq. (19). We observe a perfect agreement between these curves which confirms the performance of the general proposed solution within a suitable interval. In addition, one of the important aspects of this study is also to know the parameter which would considerably reduce the harmonics in the signals of the Maglev, in fact, without loss of generality, from Eqs. (27) and (31), it clearly appears that the relevant design of the value of air spring (K) of the electromagnet assigns considerably the dynamical properties of the vehicle and then becomes fundamental to eliminate the harmonic in the Maglev system. Hence, the change causes a pull force for the train in the front and when it is added to this force, the magnetic field behind the train adds more forward thrust. Figures 5a, b, present the numerical and analytic solution of the displacement. These results are obtained for the small values of the vibrating frequencies (10–30 Hz), when the frequency increases, the maglev system become boring and the control problem takes place. One important issue to improve technologically the Maglev system is the selection of a device which enables slow variation of the displacement of the air gap, Fig. 6 shows the zone in which the oscillations appears.

Fig. 3
figure 3

Current flowing in the coil of the maglev for m = 520 kg

Fig. 4
figure 4

Current flowing in the coil of the maglev for m = 620 kg

Fig. 5
figure 5

Displacement responses of the guideway a Numerical solution, b Analytical solution

Fig. 6
figure 6

Oscillatory and non-oscillatory zone according the initial selection of the displacement ye(mm)

4 Preliminaries

4.1 Control scheme description and objective

To deal with the solution of the Maglev control, the electromechanical Eqs. (6)-(7) can be put in the canonical form of differential equation. By letting \(y(t) = x_{1} (t),\;\dot{x}_{1} (t) = x_{2} (t),\;x_{3} (t) = \omega ,\;g_{0} = \frac{K}{m}x_{1e} + g\) and \(\;x_{1e} = y_{e}\), we obtain

$$ \begin{array}{*{20}c} {\dot{x}_{1} = x_{2} \quad \quad \quad \quad \quad \quad \quad \quad \quad } \\ {\dot{x}_{2} = \frac{K}{m}x_{1} - \frac{\beta }{m}x_{2} - \frac{\hbar }{2m}x_{3}^{2} + g_{0} \;\,} \\ {\dot{x}_{3} = - \left( \frac{R}{L} \right)x_{1} x_{3} + \left( {\frac{u(t)}{L}} \right)\quad \quad } \\ \end{array} $$
(39)

Let consider \(x_{1s} ,\;x_{2s}\) and \(x_{3s}\) be the target values of \(x_{1} ,\;x_{2}\) and \(x_{3}\) respectively. It obvious to note that from Eqs. (39), the equilibrium point is \(x_{0} = \left( {x_{10} ,0,x_{30} } \right)^{T}\), where \(x_{30}\) satisfies \(x_{30} = \sqrt { - 2\left( {\frac{K}{\hbar }x_{10} + \frac{{g_{0} }}{\hbar }} \right)}\). The control objective is to design a robust control \(u(t)\) which will drive the states \(x_{1} ,\;x_{2}\) and \(x_{3}\) to its desired constant values \(x_{1s} ,\;x_{2s}\) and \(x_{3s}\) respectively which can be expressed in the mathematical form by

$$ \lim_{t \to \infty } \left\| {\left( {x(t) - x_{0} } \right)^{T} } \right\| = 0 $$
(40)

4.2 Problem formulation

We first introduce the change coordinators as follows:

$$ \begin{gathered} \varepsilon_{1} = x_{1} - x_{10} \hfill \\ \varepsilon_{2} = x_{2} \hfill \\ \varepsilon_{3} = \frac{K}{m}x_{1} - \frac{\beta }{m}x_{2} + \frac{\hbar }{2m}x_{3}^{2} + g_{0} \hfill \\ \end{gathered} $$
(41)

It’s obvious to remark that when \(\varepsilon_{1} ,\varepsilon_{2} ,\varepsilon_{3}\) are driven to zero as \(t \to \infty\), then \(x_{1}\) will converge to \(x_{10}\), \(x_{2}\) will converge to zero, and \(x_{3}\) will converge to \(x_{30} = \sqrt { - 2\left( {\frac{K}{\hbar }x_{10} + \frac{{g_{0} }}{\hbar }} \right)}\).

The first derivative of Eq. (41) leads to the following

$$ \begin{gathered} \dot{\varepsilon }_{1} = \dot{x}_{1} \hfill \\ \dot{\varepsilon }_{2} = \dot{x}_{2} \hfill \\ \dot{\varepsilon }_{3} = h(\varepsilon ) + g(\varepsilon )u(t) \hfill \\ \end{gathered} $$
(42)

where \(h(\varepsilon )\) and \(g(\varepsilon )\) are functions expressed as follows:

$$ \begin{gathered} h(\varepsilon ) = \left( {\frac{K}{m} + \left( {\frac{\beta }{m}} \right)^{2} } \right)\varepsilon_{2} - \frac{\beta K}{{m^{2} }}\left( {\varepsilon_{1} + x_{10} } \right) - \frac{{g_{0} K}}{m} - \frac{m}{k}\left( {\frac{\beta \hbar }{{2m^{2} }} + \frac{R\hbar }{{mL}}\left( {\varepsilon_{1} + x_{10} } \right)} \right)\left( {\frac{K}{m}\left( {\varepsilon_{1} + x_{10} } \right) - \frac{\beta }{m}\varepsilon_{2} - \varepsilon_{3} + g_{0} } \right) \hfill \\ g(\varepsilon ) = \frac{\hbar }{mL}\sqrt {\left( {\frac{K}{m}\left( {\varepsilon_{1} + x_{10} } \right) - \frac{\beta }{m}\varepsilon_{2} - \varepsilon_{3} + g_{0} } \right)} \hfill \\ \end{gathered} $$
(43)

4.3 Robust sliding mode control design

Let consider Eqs. (42) of uncertain nonlinear maglev system as follows

$$ \begin{gathered} \dot{\varepsilon }_{1} = \varepsilon_{2} \hfill \\ \dot{\varepsilon }_{2} = \varepsilon_{3} \hfill \\ \dot{\varepsilon }_{3} = h(\varepsilon ) + g(\varepsilon )u(t) + \Lambda (t) \hfill \\ \end{gathered} $$
(44)

where \(\Lambda (t)\) is the bounded disturbance that affects the dynamic of the maglev system. We assume that \(\Lambda (t) \in L_{2} ,\) that is \(\int_{0}^{\infty } {\Lambda^{T} (t)\Lambda (t)dt \le 0}\) and the derivative \(\Lambda (t)\) is bounded, that is \(\dot{\Lambda }(t)\) ˂\(\Delta\).

Remark 2.

The diagram overview of the control is illustrated in Fig. 7. The full order adaptive nonsingular sliding mode control is considered in the scheme under the exogenous disturbances.

Fig. 7
figure 7

Control block diagram of the Maglev controlled system

A sliding surface is chosen as

$$ s(\varepsilon ,t) = \dot{\varepsilon }_{3} + \theta_{3} \varepsilon_{3} + \theta_{2} \varepsilon_{2} + \theta_{1} \varepsilon_{1} $$
(45)

\(\theta_{1}\), \(\theta_{2}\) and \(\theta_{3}\) are constants which are selected such that the polynomial \(p^{3} + \theta_{3} p^{2} + \theta_{2} p + \theta_{1}\) is Hurwitz. The aim of this part is to develop an adaptive nonsingular sliding mode controller such that the closed loop (44) states converge to zero in limited time.

We design the control law as

$$ u = g^{ - 1} (\varepsilon ,t)\left( {u_{eq} + u_{n} } \right) = \tilde{u}_{eq} + \tilde{u}_{n} $$
(46)

\(u_{eq}\) can be designed as

$$ u_{eq} = - h(\varepsilon ) - \theta_{3} (\varepsilon_{3} )^{{\frac{1}{\lambda }}} - \theta_{2} (\varepsilon_{2} )^{{\frac{1}{\lambda }}} - \theta_{1} (\varepsilon_{1} )^{{\frac{1}{\lambda }}} $$
(47)

\(u_{n}\) can be taken as

$$ \dot{u}_{n} + tu_{n} = v $$
(48)

where \(v\) is designed as

$$ v = - \alpha \frac{s}{{\left| s \right| + \varepsilon^{\prime}}} - \kappa sgn(s(t)) $$
(49)

where \(u_{n} (0) = 0,\) \(\varepsilon^{\prime}\) is a small positive number and \(\kappa\) the positive constant which is automatically update by the designer according to the following law:

$$ \frac{d}{dt}\kappa = \gamma_{0} \left| {s(\varepsilon ,t)} \right| $$
(50)

where \(\gamma_{0} \succ 0\) is adaptation gain

Theorem

The system (44) reaches and converges to the sliding surface in limited time if the selected sliding surface (45) and the control law as above are considered.

Proof

From (45), we design the sliding surface as:

$$ \begin{gathered} s(\varepsilon ,t) = \dot{\varepsilon }_{3} + \theta_{3} \left( {\varepsilon_{3} } \right)^{{\frac{1}{\lambda }}} + \theta_{2} \left( {\varepsilon_{2} } \right)^{{\frac{1}{\lambda }}} + \theta_{1} \left( {\varepsilon_{1} } \right)^{{\frac{1}{\lambda }}} \hfill \\ \quad \quad \, = f(\varepsilon ,t) + \alpha (\varepsilon ,t)u(t) + \Lambda (t) + \theta_{3} \left( {\varepsilon_{3} } \right)^{{\frac{1}{\lambda }}} + \theta_{2} \left( {\varepsilon_{2} } \right)^{{\frac{1}{\lambda }}} + \theta_{1} \left( {\varepsilon_{1} } \right)^{{\frac{1}{\lambda }}} \hfill \\ \end{gathered} $$
(51)

Take into consideration, (46), (47) and (50), we obtain

$$ \begin{gathered} s(\varepsilon ,t) = \dot{\varepsilon }_{3} + \theta_{3} \varepsilon_{3} + \theta_{2} \varepsilon_{2} + \theta_{1} \varepsilon_{1} \hfill \\ { = }f(\varepsilon ,t) + \alpha (\varepsilon ,t)u(t) + \Lambda (t) + \theta_{3} \varepsilon_{3} + \theta_{2} \varepsilon_{2} + \theta_{1} \varepsilon_{1} \hfill \\ { = }f(\varepsilon ,t) + \alpha (\varepsilon ,t)\left[ { - \alpha^{ - 1} (\varepsilon ,t)f(\varepsilon ,t) - \theta_{3} \varepsilon_{3} - \theta_{2} \varepsilon_{2} - \theta_{1} \varepsilon_{1} - \alpha^{ - 1} (\varepsilon ,t)u_{n} } \right]{ + }\Lambda (t) + \theta_{3} \varepsilon_{3} + \theta_{2} \varepsilon_{2} + \theta_{1} \varepsilon_{1} \, \hfill \\ \, = u_{n} + \Lambda (t) \hfill \\ \end{gathered} $$
(52)

The derivative of (52) gives

$$ \begin{gathered} \dot{s}(\varepsilon ,t) = \dot{u}_{n} + \frac{d}{dt}\Lambda (t) \hfill \\ { = }v - tu_{n} + \frac{d}{dt}\Lambda (t) \hfill \\ \, = - \alpha \frac{s}{\left| s \right| + \varepsilon } - \kappa sign(s) - tu_{n} + \frac{d}{dt}\Lambda (t) \hfill \\ \end{gathered} $$
(53)

The Lyapunov function candidate can be defined as

$$ V(t) = \frac{1}{2}s^{2} + \frac{1}{2}\left( {\kappa (t) - \kappa (0)} \right)^{2} $$
(54)

Substituting (53) into (54), one obtains

$$ \begin{gathered} \dot{V}(t) = s(\varepsilon ,t)\left( { - \alpha \frac{s(\varepsilon ,t)}{{\left| {s(\varepsilon ,t)} \right| + \varepsilon }} - \kappa sign(s(\varepsilon ,t)) - tu_{n} + \frac{d}{dt}\Lambda (t)} \right) + \dot{\kappa }\left( {\kappa (t) - \kappa (0)} \right) \hfill \\ \quad \, = - \alpha \beta \left| {s(\varepsilon ,t)} \right| - \kappa \left| {s(\varepsilon ,t)} \right| - tu_{n} s(\varepsilon ,t) + s(\varepsilon ,t)\frac{d}{dt}\Lambda (t) + \gamma_{0} \left| {s(\varepsilon ,t)} \right|\kappa (t) - \gamma_{0} \left| {s(\varepsilon ,t)} \right|\kappa (0) \hfill \\ \, = - \alpha \beta \left| {s(\varepsilon ,t)} \right| - \left( {1 - \gamma_{0} } \right)\kappa (t)\left| {s(\varepsilon ,t)} \right| - tu_{n} s(\varepsilon ,t) + s(\varepsilon ,t)\frac{d}{dt}\Lambda (t) - \gamma_{0} \left| {s(\varepsilon ,t)} \right|\kappa (0) \hfill \\ \, = - \alpha \beta \left| {s(\varepsilon ,t)} \right| - \left( {1 - \gamma_{0} } \right)\kappa (t)\left| {s(\varepsilon ,t)} \right| - tu_{n} s(\varepsilon ,t) - \left( {\gamma_{0} \kappa (0) - sign\left( {s(\varepsilon ,t)} \right)\frac{d}{dt}\Lambda (t)} \right)\left| {s(\varepsilon ,t)} \right| \hfill \\ \, \prec - \alpha \beta \left| {s(\varepsilon ,t)} \right| - \left( {1 - \gamma_{0} } \right)\kappa (t)\left| {s(\varepsilon ,t)} \right| - tu_{n} s(\varepsilon ,t) - \left( {\gamma_{0} \kappa (0) - sign\left( {s(\varepsilon ,t)} \right)\Delta } \right)\left| {s(\varepsilon ,t)} \right| \hfill \\ \end{gathered} $$
(55)

where \(\frac{s}{\left| s \right| + \varepsilon } = \beta^{\prime}sign(s)\) with 0˂\(\beta^{\prime}\) ˂ 1.

We make the following considerations,

$$ \left( {1 - \gamma_{0} } \right)\kappa (t) > \, 0{\text{ provide that}}.\gamma_{0} < { 1} $$
(56)
$$ \gamma_{0} \kappa (0) - sign\left( {s(\varepsilon ,t)} \right)\Delta > 0{\text{ then}}\;\left| \Delta \right| < \gamma_{0} \kappa (0) $$
(57)

Expression (55) leads to \(\dot{V}(t)\) ˂0 which completes the proof of the theorem.

Remark 3

In order to obtain the expression of \(u_{n}\), let consider the Laplace transform of Eqs. (48)

$$ (s + t)u_{n} (s) = v(s) \to u_{n} (s) = \frac{1}{s + t}v(s) $$
(58)

We also assume that \(u_{n} (0) = 0\) and for \(t = 0\), we have

$$ \frac{{u_{n} (s)}}{v(s)} = \frac{1}{s} $$
(59)

5 Numerical simulation investigating robust control of Maglev train

The simulations are based on Fig. 7. The values on the Tab.1 are considered in the numerical investigations. Matlab simulations are performed to verify the performance of the proposed control scheme. The external disturbance representing time-varying parameter uncertainties is considered as \(\Lambda (t) = 5.10^{ - 3} \sin (0.5t)\). The initial conditions of the differential maglev Eqs. (44) are \(\left( {10^{ - 3} ,0.8,0.4,0.6,10^{ - 3} } \right)\). The results of the proposed scheme are validated using Routh Hurwitz criteria. We first select the parameters of the polynomial as follows \(\alpha = 35,\;\varepsilon = 10^{ - 3} ,\theta_{1} = 100,\;\theta_{2} = 121,\;\;\theta_{3} = 151,\;\gamma_{0} = - 0.01\). It’s obvious to mention for this case that the Hurwitz criteria is not satisfied. With this condition the maglev train remains uncontrollable. Figures 8 a, b, c present the surface and the states \(\varepsilon_{1} (t)\) and \(\varepsilon_{2} (t)\) when the control is not effective.

Fig. 8
figure 8

Time of the sliding surface and the state variables \(\varepsilon_{1} (t)\) and \(\varepsilon_{2} (t)\)

For the sake of simplicity, we choose \(\lambda_{i} = 1,\;(i = 1,2,3)\) which confers to the stability of the maglev system (Hurwitz criteria is verified). For convenience, from Fig. 6, we select arbitrarily \(x_{10}\) close to \(y_{e}\) in order to remain in the oscillatory region such that

$$ \left| {y_{e} - x_{10} } \right| \le 10\% mm. $$
(60)

Let consider the initial position as \(y_{e} = 10mm\), the target air gap is taken as \(\overline{y} = 3.7mm\). The simulation results can be observed in Fig. 9 a, b, c. From Fig. 9a, we can observe that the displacement of the rail and the air gap reaches stability. From Fig. 9 b, c, one can observe that, after a transient period, the current and the speed become stable and converge to zero which is in good agreement with our theoretical results. It is important to recall that the convergence to zero of the state variables describing the current through the coil doesn’t imply that the quantity vanishes, but it also shows the great reduction of the harmonic in the maglev system. Figures 10 and 11 depict the sliding surface \(s(t)\) and the control gain \(k(t)\) respectively. It is observed that the control effort which is measured by \(\int_{0}^{\infty } {u(t)dt}\) is weak and therefore can be easily implemented in real time. From the above results, the response system of the Maglev system has a good control performance. We can clearly observe that the proposed sliding mode control helps to stabilize the maglev on the rail at around 9.5 s despite perturbations. Let’s point out some promising results obtained in the literature using the relevant control techniques for the Maglev [56, 57]. Although, findings are satisfactory, they remain very conservative and present a real problem of energy consumption. Furthermore, the results obtained in this research are in perfect agreement with the theoretical results and provide a significant contribution to the Maglev control domain.

Fig. 9
figure 9

Evolution of the errors of the maglev controlled system

Fig. 10
figure 10

Sliding controller surface s(t)

Fig.11
figure 11

Feedback control gain k(t)

6 Conclusion

This work explores a new and simple concept of the critical analysis for the motion stability of a general class of Maglev train incorporated into differential equations. This paper discussed the AC equilibrium point and its stability. It is found that the initial value of the displacement varies between unstable and stable intervals with the amplitude of the control input. To investigate numerically the complex Maglev dynamic, the derivation of the equilibrium point and the corresponding stability analysis is performed and the behavior depending on the control input have revealed the behavior of the system’s states with respect to the vibrating frequencies. The analytical studies and numerical ones show perfect agreement and can allow predicting efficiently the displacement’s amplitude of the electromagnet as well as the current flowing in the coil. These features are of great interest in the design of maglev vehicles. The adaptive robust nonlinear sliding mode control for the maglev system is proposed in the second part of this work. The bound of uncertainty is assumed to be known. To deal with the difficulties face in Refs. [38], the robust nonsingular sliding mode controller is designed in the frequency domain which guarantees the uniform boundedness of the system regardless of the disturbances. From this study, we can point out a major drawback such as an accurate analytical expression of the displacement and the current due to the high nonlinearity found in the Maglev system.

Our next investigation will be on the test of the present model when the edge effect and the magnetic flux leakage are not neglected, consequently, the flux is not uniformly distributed in the air gap. We will propose to use the fuzzy logic issue to reduce the complexities in analysis and control design. We think also that the analysis of the proposed system with fractional damping is another good idea.