1. Introduction
Due to many advantages of magnetic levitation system, including absence of contact, low noise, low energy consumption, it has been widely used, such as magnetic levitation bearings [
1], magnetic levitation trains [
2], magnetic levitation wind turbines [
3], magnetic levitation vehicle operation lines [
4]. Magnetic levitation system is highly nonlinear unstable system, it is a strong need to control the suspension gap. In recent years, various research methods have been proposed, such as Proportional-Integral-Derivative (PID) control [
5,
6], Linear Quadratic Regulator (LQR) control [
7], and sliding mode controller [
8], fuzzy control is presented in [
9]. When PID controller is designed, the system has to be linearized, sliding mode control has chattering effect. As for fuzzy control, the membership function is selected entirely by experience.
In recent years, Ortega proposed a passivity-based design method for nonlinear system control based on the concept of energy variation in control systems [
10,
11]. The superiority of this design method has been recognized and gradually applied to various fields. Liu et al. [
12,
13] presented passivity-based controller to solve low-frequency voltage oscillation. Ortega et al. [
14] applied sensorless passivity-based control to solve the trajectory tracking task associated with the bidirectional DC/DC Buck power converter-inverter-DC motor system. Zhang et al. [
15] addressed the problem of stabilization of port-Hamiltonian systems via the ubiquitous PID controller. Jung et al. [
16] designed a passivity-based robust switching controller for the posture stabilization of wheeled mobile robots with model uncertainty. Passivity-based theory and Lyapunov’s stability theory can be used to study system stability. The passivity-based theory has unique advantages. For example, the storage function in passivity-based theory is related to the physical characteristics of the system, which is easy to obtain according to the structure of the system. Jung et al.’s method [
16] is based on Lyapunov’s method, has a complicated design process and needs to switch between two controllers. The passivity-based design idea is different from the traditional idea, it is based on (error) signal and (frequency) response. It retains more nonlinear characteristics. The physical meaning of the design process is clear, especially the structure of the system, Moreover, the structure of the controller is simple and easy to implement. Passivity-based control needs to solve a partial differential equation. In order to solve the problem easily, the mathematical model of the system needs to be transformed into the Hamilton model. However, passivity-based control is generally more focused on qualitative considerations and is more difficult to apply to specific designs. In this paper, passivity-based control is combined with the bias-based feedback control and the response characteristics of the system, combines qualitative and quantitative methods. The magnetic levitation system gap control (suspended at the expected value) is presented as an example to illustrate the detailed design process, and a practical design method for passivity-based control of nonlinear systems is provided.
The rest of paper is organized as follows.
Section 2 briefly introduces passivity-based control. In
Section 3, we briefly introduce sensitivity function. Passivity-based control for magnetic levitation systems is presented in
Section 4. In
Section 5, we analysis the role of the interconnection and damping assignment. The concluding remarks are contained in
Section 6.
2. Passivity-Based Control
If there is a non-negative storage function
that satisfies the following equation, the system is said to be passive.
where
is the control input of the system,
is the output of the system.
Equation (1) can also be written as an energy balance equation
where the left term of Equation (2) represents the energy stored by the system, the integral term of the right term represents the energy supplied, and
is the energy dissipated.
If select a control action
, and let
satisfies the following equation about function
where
is the integral constant. Substituting the above
into Equation (2), we have that
where Equation (4) shows that under this control, the new input
to output
mapping is still passive. Then, the new energy function is written as
If Equation (5) has a minimum value at the desired working point , then when , is a stable equilibrium point, and is the Lyapunov function. Note that is configurable as required, and the dissipative term can also be reconfigured. This is the basic idea of passivity-based control (PBC).
In general, Equation (3) needs to solve a partial differential equation (PDE). But for a general nonlinear passive system
,
This PDE is not easy to solve, so under the premise of the above PBC design, Equation (6) of the system need to be organized into a port-controllable Hamilton system,
[
10],
where
is the energy function of the system,
represents the interconnection structure of the system, and
is the dissipative matrix, which represents the dissipative structure of the system, damping in English, which means that the energy is dissipated and quickly stabilized.
For the Hamilton system, its partial differential equations are easier to solve, because and can reflect the structural characteristics of the system and facilitate PBC design. Such a design is called interconnection and damping assignment PBC, abbreviated as IDA-PBC.
Let the Hamilton system
[Equation (7)] select static feedback
, then the equation for the state
of the system can be written as
The following partial differential equation what is required now is
If
can be solved from Equation (9), and according to Equation (5), then Equation (8) can be rewritten as
is that there is a new energy function,
. If it is guaranteed that
can be minimized at the equilibrium point, then this state feedback
will stabilize the system at that equilibrium point.
In fact,
and
in Equation (10) do not have to remain unchanged, and the dynamic characteristics of the closed-loop system can be changed as required
is that the Hamilton system’s interconnect relationship
and the dissipative term
can be reconfigured. This is IDA-PBC. IDA-PBC not only increases the freedom of design, but also makes the solution of partial differential equations more flexible due to the addition of some new parameters.
According to Equations (8) and (11), the partial differential equation in this IDA-PBC problem now is
where
The partial differential Equation (12) is generally not easy to solve directly. In order to solve
, the literature [
10] proposes some additional conditions such as integrable, equilibrium point conditions and Lyapunov stability conditions. But such a solution often causes the solution to lose its physical meaning. In fact, for some less complicated occasions, Equation (12) can be solved directly. The directly obtained solution has a clear physical concept and is convenient for IDA-PBC design, making it easier to determine specific parameters. The following is a detailed description in conjunction with a design example.
4. Passivity-Based Control for Magnetic Levitation System
Magnetic levitation system are often used to verify control algorithms [
18,
19,
20]. The simplified magnetic levitation control system model is shown in
Figure 2 [
21],
m is the mass of the suspended magnet,
i is the current of the electromagnet coil,
u is the input voltage,
f is the electromagnetic levitation force,
z is the distance between the electromagnet and the track,
N is the number of coil windings,
R0 is the coil resistance,
A is the effective area of the magnetic pole,
is the air gap resistance, and
is the main pole flux.
Neglecting the leakage flux and the magnetic reluctance of the guide rail and the magnetic core, the magnetic resistance of the magnetic circuit formed by the electromagnet and the guide rail is mainly concentrated on the air gap between the two, so the effective air gap resistance
is written as
where
is the permeability of vacuum, and
. The flux linkage of electromagnet is written as
According to Equations (13) and (14), the inductance of the electromagnet winding satisfies
According to Equation (15), the energy storage of the magnetic field is as follows
Therefore, the electromagnetic force can be calculated from Equation (16) as follows (the derivative of energy versus displacement
z)
Assuming that the degree of freedom of the dissipative system is
n, the general form of the Lagrange equation is
where
j is the label of the generalized coordinate,
L is the Lagrange function,
r and
are the generalized coordinate and the generalized velocity, respectively,
G is the dissipative function of the system,
is a generalized and nonpotential force (except the dissipative force).
In the magnetic levitation system, let and are generalized coordinates, and and are the corresponding generalized velocities.
The kinetic energy of the system can be written as
The potential energy can be written as
Using Equations (19) and (20), we can formulate Lagrange function of the system as
The system’s dissipation function is given by
For generalized coordinates
and
, the following equations hold
Substituting Equations (21)–(23) into Equation (18), nonlinear model of the system will be
According to Equations (14), (15), (24), and (25), we obtain Equation (26)
where
is the flux linkage of electromagnet,
k is a constant, and
. The nominal working point of the system is
,
and
.
Then the inductance of the system is
, the magnetic energy is
, so the total energy
of the system can be written as
where the second term in the formula is potential energy, in this example, the positive direction of
z points downward. The third term in the formula is kinetic energy. Taking the state variable
, the energy function can be written as
The partial derivative of Equation (27) is as follows
According to Equation (28), Equation (26) can be organized into a port-controllable Hamilton model, as shown in Equation (7)
Note that the original system Equation (29) is not a passive system, so the interconnection matrix needs to be configured into
where
provides the coupling of displacement and velocity to the flux linkage, making it a passive system, as discussed in
Figure 3 below. In addition, it is also necessary to add
to the dissipative matrix to increase the dissipation of energy and improve the response speed, that is
Substituting Equations (30) and (31) into Equation (12) to obtain the partial differential equation of this example is
After Equation (32) is expanded, we obtain
where Equation (33) can be used to determine the control action
, Equation (34) and (35) are the partial differential equations that need to be solved. Note that the energy function
of the final closed-loop system is a Lyapunov function and there should be no totals for
(flux linkage) and
(distance), so according to Equation (5), we should use
to subtract these two terms of
[Equation (27)]. According to Equations (34) and (35), it can be known that
should also have the following function term
, and use the equality of the left and right terms to solve this system of equations. In this way, the final solution is written as
where the function
in Equation (36) should have the synthesized function
, a minimum at the equilibrium point
, so that
becomes the Lyapunov function, so let
be a square form
where
is a constant, the tilde indicates increment,
,
.
After adding feedback, the new energy function of the closed-loop system is
Substituting the function
of Equation (37) into Equation (36) of
, and then in accordance with Equation (33), the control action can be obtained
where
This control action u can be explained as follows. The first term of Equation (39) is equal to , which is used to compensate for the voltage drop across resistor , the second term is the acceleration [see Equation (26)]. Therefore, it can be seen from Equation (39) that the control action after compensating for the voltage drop is equivalent to the conventional deviation control with respect to the equilibrium point . Specifically, first, negative feedback is first applied to the flux linkage that forms the electromagnetic force to stabilize, and the rest are displacement (), velocity (), and acceleration (). It can be seen that the design results for this passivity can be explained. The difference is that this passivity-based design provides a new, clear physical concept (referred to as energy concept) design idea for the control of nonlinear systems, as further explained below.
In this example, the first term of the control action Equation (39) compensates for the nonlinear term in the flux linkage loop, so the nonlinear term in the equation
of the system leaves only the square of the electromagnetic force generated by the flux linkage
Equation (41) can be linearized, so the parameter relationship in the control action is first analyzed from the linearization system. Finally, the configuration of the inline structure and the dissipative matrix in IDA-PBC is discussed based on this relationship.
Linearizing
in Equation (41), take one degree term
After the voltage drop is compensated, and the control action Equation (39) is added, according to Equation (42), the signal flow diagram under the small deviation linearization of the system as shown in
Figure 3.
For the sake of discussion, the parameters in the system are specifically taken as
,
,
. Under this set of parameters, the acceleration loop of
has less influence in the system analysis, so it is omitted. Thus, the open loop characteristic of the system corresponding to
Figure 3 is written as
We obtain the natural frequency of the inner loop (rate loop) obtained by Equation (43)
The low frequency band approximation of
is
is that the system crosses the frequency of the 0 dB line.
Figure 4 shows the Bode diagram of this example.
5. Discussion
From the signal flow diagram and the above data, it can be seen that the roles of the interconnection and damping assignment is:
(1) exists in the feedback gains of and , indicating that is configured in to provide channels for and . With these two channels, the entire system is likely to become a passive system.
(2) The feedback gains of , and are all related to , so the value of directly determines the response speed of the system. This can be seen Equation (40), contains the dissipation coefficients and , especially is added to the dissipative matrix . The role of the dissipative matrix is to accelerate the energy dissipation, so that make it quickly converge to the equilibrium point.
(3) It can be seen from Equation (38) that the relative relationship between the variables in the quadratic term is consistent with the relative relationship between the feedback gains of
,
,
in
Figure 3, indicating that the gain of the feedback loop is closely related to the composition of the Lyapunov function
.
The performance of the IDA-PBC system can be seen from this example that the nonlinear term in
[Equation (36)] is mainly used to cancel a part of the nonlinear characteristics of the object, and the other function
is a quadratic form. Therefore,
obtained by using Equation (39) and the increments are linear. Therefore, although it is a nonlinear object, due to the linear feedback, the nonlinear influence of the forward link is weakened by the feedback, so that the whole system exhibits approximately linear characteristics.
Figure 5 is a graph showing the sensitivity characteristics of the output of the system in this example. This set of curves is obtained by simulation of the actual nonlinear model. It is based on the curve of the ratio of the sinusoidal output to the sinusoidal input at different frequencies. The amplitude of the signal during the test was 0.1 mm, 0.5 mm, 0.8 mm, and 1 mm. As the amplitude of the signal increases, the sensitivity
peak shifts slightly to the left. This is because the squared term causes the gains in the positive and negative directions to be different, resulting in a decrease in the equivalent gain. In general, however, the sensitivity characteristics at different amplitudes does not change significantly. The time domain response of the system is shown in
Figure 6.