Abstract
In this study, a nonlinear adaptive controller that can be used to control a magnetic levitation (maglev) is designed. The designed controller is equipped with a nonlinear velocity observer to provide the control without measuring velocity. Its capability to adaptively compensate all parametric uncertainties during the control process is one of the main advantages of this controller. Utilizing this capability, control of the maglev system can be realized without using any knowledge about system parameters. Due to the fast convergence capability of the designed observer and the desired model dependent structure of the adaptation rules, the proposed control design provides better performance than most of the robust and adaptive controllers that have been frequently used to control maglev system. The observer dynamics are analyzed via a Lyapunov–like preliminary analysis. Then, convergence of the observation and the tracking errors under the closed–loop operation and stability of the closed–loop error dynamics are proven via a Lyapunov–based stability analysis where the result obtained in the mentioned preliminary analysis is used. Performance of the designed observer–controller couple is demonstrated via experimental results. The efficiency of the designed controller is tested against a robust proportional–integral–derivative (PID) controller and an another Lyapunov–based nonlinear robust controller called as robust integral of sign of error (RISE) controller. Experimental results show that the designed controller performs the best tracking performance with the least control effort among these three controllers.
Introduction
Devices that can hold ferromagnetic materials in the desired position in the air by using electromagnetic force are called as magnetic levitation (maglev) systems. The electromagnetic force required for this process is provided by an electromagnetic field generated by maglev systems. The ability of the mentioned devices to move the ferromagnetic materials in free air ensures that these devices form the basis of many other technologies. This ability removes the friction problem, and as a result of this, it is able to minimize the material wear. Maglev systems that can be used as an active suspension system have greatly contributed to ground transportation systems (Goodall and Kortum, 1983; Rote and Cai, 2002). They were considered and used as the main basis of development of magnetic train technologies (Givoni, 2006; Lee et al., 2006). Moreover, maglev systems can be utilized in many other applications such as vibration isolation in sensitive devices, and high precision positioning of chip plates in photolithography (Eroglu and Ablay, 2016). The efficiency of the usage of maglev systems in the mentioned applications and more is directly related with the efficiency of the controller designed to provide the control on the unstable equilibrium points of the system. This subject makes these systems suitable for testing different types of linear and nonlinear control approaches. As a result of these, control design for the maglev systems has become an important and an attractive subject for the research area of control.
When the literature is reviewed it is seen that control design for the maglev and maglev–based systems is a long–standing and popular topic. In Matsumura and Yoshimoto (1986), an integral type control was designed to get the rotor of the magnetic bearing system to the desired point and maintain its position. In Cho et al. (1993), a comparative control study about the control of maglev system was presented. The comparison was experimentally realized between the sliding–mode controller (SMC) and a classical controller. Other SMC approaches used for the control of maglev and maglev–based systems were presented in Yeh et al. (1999), Hajjaji and Ouladsine (2001) and Lin et al. (2007). In Yeh et al. (1999), SMC approach was used for the control of a magnetic bearing system. In Hajjaji and Ouladsine (2001), asymptotic regulation of the maglev system was guaranteed via static and dynamic type SMCs while the friction force and the other uncertainties were compensated. Position tracking of the maglev system was provided via a radial basis function (RBF) network-based intelligent SMC in Lin et al. (2007). In Green and Craig (1998), experimental performances of robust, adaptive and nonlinear controllers on the control of maglev system were demonstrated. A self–tuning adaptive stabilizing controller was designed for the control of repulsive maglev guiding system in Chen et al. (2000). In the mentioned study, the stability of the overall system and regulating precision were provided via the designed controller without using the exact knowledge of various components.
Design and experimental verification of linear and nonlinear state-space controllers equipped with velocity observers are presented in Barie and Chiasson (2000). Both of the control designs presented in the mentioned study were based on linearized system models. In Yang et al. (2004), the position tracking problem of the maglev system was solved via a robust nonlinear control design. In the mentioned control design uncertainties of physical parameters and the modeling errors caused from these uncertainties were taken into account and the controller was designed by considering its robustness against them. In Lin et al. (2009), a proportional–integral–derivative (PID)–type SMC controller and the PID–type dynamic SMC controller were adopted for the control of maglev system. In Chen et al. (2009), another PID control approach was presented to cope with the unbalanced vibration problems of an active magnetic bearing system. The mentioned PID controller was equipped with a fuzzy gain tuning mechanism to increase its efficiency.
This topic has maintained its popularity over the last decade. In Baranowski and Piatek (2012), a laboratory maglev system was controlled via a PID–based control design. Different from the classical PID control applications, the mentioned PID controller was supported with a velocity observer and a nonlinear feedforward to improve the control quality and stable range of the motion. In Michail et al. (2012), control of an electromagnetic suspension system was provided via a combination of the linear quadratic Gaussian control, the fault tolerant control and the multiobjective optimization. In Wai et al. (2010), stabilization, balance and the propulsive positioning of a maglev transportation system were provided via a PID control based on real–time particle swarm optimization (PSO). Another combination of the PSO and the PID control approach is available in Lin et al. (2011). In the mentioned study the position tracking of the maglev system was ensured via an adaptive PID controller combined with a PSO method to obtain the optimal learning–rates of the adaptation rule. An adaptive control approach based on online algebraic estimation of the system parameters, linearization and generalized proportional integral control was proposed for the control of maglev system in Morales et al. (2010). In Yanga et al. (2011), position tracking of a maglev suspension system was provided via a nonlinear disturbance observer based nonlinear robust controller design while the exponential tracking control of the maglev system was provided via a robust nonlinear control design in Zhang et al. (2015). In Al-Araji (2016), a cognitive online auto–tune algorithm based on backstepping technique was utilized to develop a novel position–tracking control algorithm for a maglev system.
SMC approach has also preserved its popularity for the control of maglev system in the last decade. An application of an active magnetic bearing system used to levitate the elevation axis of an electro–optical sight mounted on a moving vehicle and controlled via the SMC by considering the robustness of this method against model uncertainties and its reducing capability on disturbance responses was described in Kang et al. (2010). Cascade structured SMC designs presented in Eroglu and Ablay (2016) and Ginoya et al. (2016) can be given as two of many SMC examples that can be found in the literature of maglev control systems in this process. In Tepljakov et al. (2018), control of the maglev system was ensured via the fractional–order PID control. In the mentioned study, model reference adaptive control was utilized to realize the fractional order PID control under the closed–loop operation and the PID controller was equipped with a disturbance rejection algorithm. An improved adaptive fuzzy backstepping controller that is able to control the maglev system in the presence of parametric and structural uncertainties was designed in Sadek et al. (2017). An integral joint structure based control strategy was proposed for stabilization of maglev train in Wang et al. (2018). A self–tuning robust integral of signum of error (RISE) based controller was designed and used in a cascade control system that was proposed for the control of maglev system in Bidikli and Bayrak (2018). An application of a robust control design based on approximate feedback linearization technique to an electromagnetic levitation system was presented in Oh and Choi (2018). In Adiguzel et al. (2018), an adaptive backstepping control design developed to compensate position tracking error of an iron ball in a maglev system was presented. A nonlinear state feedback controller design was realized in Khimani et al. (2018) to ensure high performance step response of maglev system. In Humaidi et al. (2018), performance comparison of linear and nonlinear active disturbance rejection controllers for control and disturbance rejection of maglev system was presented. A PID controller and an adaptive neural–fuzzy SMC were presented in Sun et al. (2019b) for the magnetic suspension control of a low–speed maglev train. In Sun et al. (2019a), an exponential reaching law based SMC supported with an RBF neural network estimator was designed for the control of maglev system. Another RBF network approximation based sliding mode adaptive controller design realized for maglev vehicles nonlinear suspension system was presented in Chen et al. (2019).
These examples can easily be increased when the popularity of the subject is considered. However, the studies mentioned in this section are sufficient to make some determinations about the control of maglev and maglev–based systems. When the studies given in this section are examined with many other studies available in this literature it can be observed that robust control approach has been frequently preferred for the control of these type of systems. Structure of robust controllers that does not need any information about the system model and its parameters is feasible to cope with parametric and structural uncertainties that are commonly encountered problems in the control of maglev systems. However, their high control effort requirement can be considered as their main disadvantage. Since this situation causes from the structure of the robust controllers that works according to the worst case scenario, it is an inevitable situation. Moreover, most of these type of designs need measurements of all states (i.e. position and velocity of the ferromagnetic material and the electromagnet current) to provide the control of these systems. The need for more measurements increases the possibility of encountering sensor precision problems. Controlling maglev systems becomes more compelling when the possible sensor precision problems are added to the aforementioned uncertainties. Therefore, in such a case, the need for control effort may become much higher. Adaptive control is an another commonly preferred method for the control of maglev systems. Adaptive controllers can be considered as feasible solutions for decreasing the control effort. Some of adaptive controllers can cope with high control effort requirement by compensating parametric and/or structural uncertainties while some of them were equipped with velocity observers to reduce the possible sensor precision problems by eliminating velocity measurement. However, when the literature is examined, it can be observed that most of the adaptive controllers equipped with velocity observers require partial knowledge about the system model, while most of the adaptive controllers that do not need any knowledge about the system model require the measurements of all states. Adaptive controllers that are completely independent from the system model and provide the control without using velocity measurement generally need additional parameter estimation tools to adaptively compensate the parametric uncertainties and/or separate velocity observer tools that were not designed as a part of control design to compensate the lack of velocity measurement. The control system may have a very complex structure when they are designed as separate tools and this is a disadvantage for the user.
Designing a nonlinear adaptive controller that can provide control of maglev system without using velocity measurement is the main purpose of this study. Designed controller compensates all parametric uncertainties while reaching this aim and it is equipped with a nonlinear velocity observer design to compensate the lack of velocity measurement. At this point it should be noted that the parameter estimations and velocity observation are not realized via additional tools, but rather designs included in the controller’s structure. Moreover, the designed controller provides better steady state performance than most of the robust and adaptive controllers available in the literature due to the fast convergence of the observer formulation and adaptations that are based on time–varying integral effect and the desired system model. The theoretical analysis of the designed controller is realized via Lyapunov–based arguments. Convergence of the observation and tracking errors under the closed–loop operations are shown mathematically in this analysis.
Maglev systems contain electrical and electromechanical subsystems in their structures. In the electrical subsystem the necessary electromagnet current that is utilized to get the ferromagnetic material to the desired position is generated via the input voltage. In the electromechanical subsystem, the ferromagnetic material is get to desired position via this electromagnet current. A cascade control structure based on the designed adaptive controller is proposed in this study by considering the mentioned structure. First, the necessary electromagnet current is determined by providing the controller of the electromechanical subsystem via the designed observer–controller couple and then the determined current value is obtained from the electrical subsystem via proportional–integral (PI) controller. The performance of the designed adaptive controller and the proposed control structure are demonstrated via experimental studies. Additionally, comparative experimental studies are presented to show the aforementioned advantages of the designed controller.
The rest of the paper is organized in the following manner. The first section after the Introduction section describes the dynamical model of the maglev system along with its properties. The section about system model is followed by a section where the control design and related analysis are presented in a detailed manner. Finally, the paper is concluded by giving experimental results and concluding remarks, respectively.
Dynamic model of the Maglev system
The maglev system whose schematic is given in Figure 1 consists of two subsystems. One of these subsystems is called as an electrical subsystem. This subsystem is structured as a series resistor–inductor circuit that generates the electromagnet current from the input voltage. The relation between the electromagnet current and the ball’s position can be examined by considering other subsystem called as an electromechanical subsystem. Mathematical model of the maglev system can be examined by considering mathematical models of the mentioned subsystems. These mathematical models are tried to be examined in a detailed manner in this section.

Schematic of Maglev system.
Dynamic model of the electrical subsystem
Electrical subsystem of the maglev system is constructed by connecting a resistor, a coil having a variable and iron ball’s position dependent inductance value, and an alternative current voltage source in series. The position of the iron ball and the inductance value are represented by
where
where an additive constant inductance value that is effective on the inductance value around the operating point
where
where (1) and (3) are utilized.
Dynamic model of the electromechanical subsystem
Force equations of the free–body diagram of the iron ball shown in Figure 1 are examined to obtain the mathematical model of the electromechanical subsystem. In the mentioned diagram, there are two forces namely as electromagnet and gravitational forces that affect the iron ball in the opposite directions. In Figure 1,
while the gravitational force that causes from the mass of the iron ball expressed as
where
where (1), (5) and (6) are utilized. The final form of the model can be arranged as
where
where
Providing the position control of an iron ball just by designing the input voltage by considering the structure of the model in (9)–(12) was the main aim for the mentioned studies. However, in this study the control inputs of electrical and electromechanical subsystems are designed separately. Then, the mentioned aim is reached by combining these designs in a cascade control structure. Considering this situation, dynamic models of electrical and electromechanical subsystems are presented separately in this section.
As it can be seen in Figure 1, the iron ball moves in a limited space. This situation makes the position of the iron ball
and the following upper bound can be obtained for its time derivative by utilizing the upper boundedness of position and velocity of the iron ball
where
In addition to these properties, the following property that is valid for the system model in (8) will later be utilized for the control design
where
where
Control design and analysis
Controlling the position of the iron ball via applied input voltage is the general control approach for the maglev system. It can be observed from the previous section that the necessary electromagnet current is provided via the input voltage while the position of the ball can be brought to desired level via this current. The control process is realized in two steps in this study by considering these issues. First, the necessary electromagnet current is determined from the control input of the electromechanical subsystem as it is defined in (8). To realize this, a nonlinear adaptive control approach that only needs the position measurement to provide the control is designed and applied to this part. This controller is combined with a nonlinear velocity observer design to compensate the lack of velocity measurement. Then, the necessary input voltage is obtained from the electrical subsystem via a PI controller. The current value obtained from the control of electromechanical subsystem is used as the desired current during the control process of the electrical subsystem.
Block diagram of the control process that is examined in a detailed manner in this section is shown in Figure 2. At this point it should be stated that equations and variables shown in Figure 2 that have not been defined so far are examined in a detailed manner in the following subsections.

Block diagram of the control process.
Control of the electromechanical subsystem
Designing a controller that provides a satisfactory tracking performance between the position
where the desired position
where the observed position and velocity are denoted by
The following auxiliary error terms are also defined to simplify the subsequent stability analysis by eliminating higher order time derivatives from it
where
Observer-based adaptive control design
The velocity observer is designed as follows
where the update rule for the auxiliary signal denoted by
where
where
The following expression can be obtained by utilizing (21) and (23)
The control design in (29) can be rearranged as follows by substituting (30) and its first time derivative into it
where (25) and (26) are utilized. In (8), the control input is defined as the square of the electromagnet current. According to this definition the electromagnet current’s value becomes a complex number for the negative values of the control input. The following saturation function can be applied on control input to avoid this situation and to guarantee the nonnegativeness of the control input
Preliminary analysis for the observer dynamics
In this section observer error dynamics are analyzed via a Lyapunov–like analysis. The result obtained from this analysis will be used in the Lyapunov–based stability analysis of the closed–loop error dynamics of the designed observer–controller couple. The time derivative of (22) is rearranged as
where (8) and (25) are utilized. The auxiliary term denoted by
This auxiliary term can be partitioned as a sum of two newly defined auxiliary terms by substituting (31) into (34)
where (20) and (24) are utilized and the auxiliary terms
At this point it should be noted that the boundedness of
where
The preliminary analysis can be continued by rearranging the time derivative of (26) by utilizing (33) and (35) as
For the selection of the observer gains given as
the expression given in (39) can be rearranged as
where (25) is utilized. The following lemma should be stated for the completeness of this analysis.
can be guaranteed via definitions of
and the selection of
The following nonnegative Lyapunov–like function can be defined to complete the Lyapunov–like analysis
The time derivative of
Error system development
The time derivative of (25) is multiplied with
where
The closed–loop error dynamics can be obtained as follows by substituting (31) into the open–loop error dynamics
where an error–like auxiliary term denoted by
At this point the boundedness of
where
After that point Lyapunov–based stability analysis can be proceeded to show the convergence of the observation and the tracking errors under the closed–loop operation and to prove the stability of the closed–loop error dynamics.
Stability analysis
where
The first nonnegative function specified for the tracking error and denoted by
The final form of the time derivative of the above function can be obtained as
where (25) is utilized.
Other nonnegative function specified for the auxiliary error
The final form of the time derivative of the above function can be obtained as
where (50) is utilized.
The last nonnegative function specified for the parameter estimation error
where
where (24) is utilized.
The nonnegative Lyapunov function candidate denoted by
where
The time derivative of (62) is obtained as
where (47), (57), (59) and (61) are utilized. When (64) is considered with the mathematical analysis that have been realized up to now, it can be seen that an upper bound can be proposed for
where
After substituting the time derivative of (65) into (64), (64) can be rearranged as
The upper bound of (67) can be obtained as follows after (53)–(55) are utilized
The above inequality can be rearranged as follows after the terms inside the parenthesis are completed the squares
To write (69) in a more compact form the vector of combined errors
and the upper bound of the time derivative of Lyapunov function candidate can be written in a more compact form by utilizing this definition as
From the upper bound of
where
The boundedness of
Control of the electrical subsystem
Obtaining an efficient tracking between the current of the electromagnet and the desired current denoted by
The auxiliary error term
PI control design
The input voltage that can be used as the control input to compensate the above tracking error is designed as
where the positive proportional and integral gains of PI controller are denoted by
Error system development
The open–loop error system of this part can be obtained as follows by multiplying the time derivative of (74) with
where time derivative of (3), (73) and (74) are utilized and the auxiliary term
where
Stability analysis
where
as long as
where
Time derivative of (83) is obtained as
where time derivative of (73) and (77) are utilized. The following upper bound can be obtained for
where (79) is utilized. The above inequality can be written in the following compact form
when
The upper bound of
where
Experimental results
Maglev 33–210 experimental system produced by Feedback Instruments, shown in Figure 3, was used as an experimental setup. In this system, a ferromagnetic ball can be taken to the desired position via the current that is generated by the coil that acts as an electromagnet. The necessary measurements are obtained from the system via infrared sensors. Control input can be adjusted from the interface constructed in computer environment and can be applied to the system via a data acquisition card used to connect the experimental system to the computer.

Maglev System 33–210 of Feedback Instruments.
Experiments were realized for constant and sinusoidal desired trajectories without changing the default settings of the experimental setup. In both of these studies, observer and control gains were adjusted to numerical values given as
The constant desired position was selected as
Actual and desired trajectories can be seen in Figure 4 while the tracking error and the control input can be seen in Figure 5 and Figure 6, respectively. The parameter estimations are given in Figure 7. Electromagnet’s current and the input voltage are demonstrated in Figure 8 and Figure 9, respectively. From Figure 4 and Figure 5, it is seen that the control objective was met.

Actual (line) and desired trajectories (dashed) for the constant desired trajectory.

Tracking error for the constant desired trajectory.

Control input for the constant desired trajectory.

Elements of the vector of parameter estimations for the constant desired trajectory.

Electromagnet’s current for the constant desired trajectory.

Input voltage for the constant desired trajectory.
The sinusoidal desired position was selected as
Actual and desired trajectories can be seen in Figure 10 while the tracking error and the control input can be seen in Figure 11 and Figure 12, respectively. The parameter estimations are given in Figure 13. Moreover, electromagnet’s current and the input voltage are demonstrated in Figure 14 and Figure 15, respectively. From Figure 10 and Figure 11, it is seen that the control objective was met.

Actual (line) and desired trajectories (dashed) for the sinusoidal desired trajectory.

Tracking error for the sinusoidal desired trajectory.

Control input for the sinusoidal desired trajectory.

Elements of the vector of parameter estimations for the sinusoidal desired trajectory.

Electromagnet’s current for the sinusoidal desired trajectory.

Input voltage for the sinusoidal desired trajectory.
To demonstrate the efficiency of the designed controller against its two counterparts comparative experimental studies were realized. In the first part of these studies performance of the designed controller was compared with performance of the PID controller whose control input formulation is given as
where
PID controller is one of the frequently used controllers to provide the control of maglev and maglev–based systems. This selection allows to compare the performance of the designed controller with a performance of the controller whose efficiency has been shown in many industrial and scientific applications. Observing the performance of the designed controller against a full state feedback counterpart is an another purpose of this comparison. Moreover, since PID controller is a robust controller its possible to compare the control effort requirement of the designed robust adaptive controller with a robust controller.
Then, performance of the designed controller was compared with the performance of its another Lyapunov–based nonlinear robust counterpart. The mentioned controller called as RISE controller is an another controller that has been widely used for the control of many different nonlinear systems in the research area of the control. The control input formulation of the RISE controller is given as Xian et al. (2004)
where
and
Observing the performance of the designed controller against another robust control structure is the main purpose of this part of the comparative experimental studies. Since the RISE controller is a nonlinear controller designed by utilizing Lyapunov–based arguments, this part of the comparative studies provides us a good opportunity to see the performance of the designed controller against an another controller that was constructed on similar bases. At this point it should be noted that all of these controllers were used for the control of electromechanical subsystem while they were cascaded with identically same PI controller structure for the control of electrical subsystem. Realizing the comparative studies under the similar conditions is the main purpose of this choice.
These experiments were realized for the sinusoidal desired position in (91). Control gains of the PID controller were adjusted via trial–and–error method until the best tracking performance was obtained. The final values of the control gains were obtained as
Tracking results and the control inputs for all controllers are shown in Figure 16 and Figure 17, respectively. The tracking performance and the control effort necessity are presented numerically in Table 1. To show the tracking performance numerically, area under the absolute value of the tracking error (i.e.

Comparative tracking results.

Comparative control inputs.
Performance measures for the compared controllers.
Conclusions
In this study, stabilization and control problem of a maglev system is solved by designing a robust adaptive controller. To get rid of the velocity measurement necessity in the designed controller, the control input is combined with a nonlinear velocity observer design that is able to compensate the lack of velocity measurement by estimating the velocity of the iron ball during its movement. A preliminary Lyapunov–like analysis presented in the study is utilized to theoretically analyze the behavior of the designed velocity observer and then the obtained result from this analysis is used in the stability analysis of the closed–loop error dynamics. The stability analysis of the closed–loop error dynamics of the designed observer–controller couple is realized via Lyapunov–based arguments. The electromagnet current that is necessary to get the ferromagnetic material to the desired position into the generated electromagnet field is obtained from the designed control input by applying it to the electromechanical subsystem. Then, the necessary input voltage is determined by providing the control of the electrical subsystem via a PI controller. The obtained current from the control of electromechanical system is used as the desired current for the control of electrical subsystem. Experimental studies that are supported with comparative results are presented in the study to demonstrate the performance and efficiency of the designed observer–controller couple.
Footnotes
Appendix 1: Proof of bound of absolute value of N b
The norm of
From (95), it can be seen that (38) is provided for the following selections of
Appendix 2: Proof of nonnegativeness of P ( t )
The integration of (43) in time is obtained as
where (26) is utilized. The right–hand side of (98) can be rearranged as follows by integrating the second term via integration by parts
The above expression can be upper bounded as
where (44) is utilized. For the selection of
that guarantees the nonnegativity of
Appendix 3: Proof of bound of the absolute value of χ
The following expression can be obtained after substituting the definitions in (20) and (49) into (51)
where (13), (16) and (18) are utilized. By selecting the bounding constant
Declaration of conflicting interests
The author declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author received no financial support for the research, authorship, and/or publication of this article.
