3.1. Design of Active Disturbance Rejection Controller for Levitating Control System
Based on an in-depth analysis of the PID control algorithms, Han Jingqing proposed the auto-disturbance rejection control technology [
19]. This control technology does not require high precision in the mathematical model, and can estimate and compensate for "internal disturbances" and "external disturbances" in the system in real time, with strong adaptability and good anti-interference performance [
19,
20].
Due to the susceptibility of the levitating system to working magnetic field, current and load disturbances of the levitating coil, an active disturbance rejection control strategy is an effective solution to restrain the disturbances [
19]. Because active disturbance rejection control not only requires lower modeling precision, but also can observe and compensate for coupling disturbances between different degrees of freedom (za and ψ) through an extended state observer, thereby solving the decoupling and disturbance suppression problems in levitating control [
19].
The ADRC controller of the levitating system is shown in
Figure 10. It mainly consists of a tracking differentiator (TD), an extended state observer (ESO), and a nonlinear state error feedback control law (NLSEF) [
24].
Han Jingqing proposed the concept of nonlinear tracking differentiator, whose discrete tracking differentiator has the following form [
2]:
1. Tracking differentiator (TD)
When the MR system is started, the given position will undergo a sudden change. However, due to inertia, the position of the MC will not immediately reach the given position, but there will be a relatively slow change process. This leads to the emergence of a transition process. When using classical PID control algorithm for position control, if the
za need to track the
vz0 as soon as possible, the control quantity should be increased. However, after increasing the control quantity, the
za will have an overshoot. The transition process of the
za is an objective existence. Therefore, the best way to eliminate the overshoot is to arrange a transition process for the
vz0 [
2].
The TD in the ADRC can be used to arrange a reasonable transition process for the given position. Equation (55) is a discretized second-order tracking differentiator [
2].
In the equation, vz0(n) is the za initial signal, vz1(n) traces the signal of vz0(n), vz2(n) is the differential signal of vz0(n); h is the integration size of step, tracing speed is determined by r, and h0 control the effect of the noise filtering. r and h0 should be coordinated to get suitable transition process.
2. Extended State Observer (ESO)
According to the active disturbance rejection control law, equation (53) is changed to:
In the equation,
wz(t) and
wp(t) are the equivalent disturbances of the system, which include coupling and disturbance.
ia and
ib are control variables.
bz and
bp in equation (55) are the control parameters of control variables
ia and
ib.
ia=
i3-
i1,
ib=
i4-
i2.
i1,
i2,
i3,
i4 are the currents of the four levitating coils. Let Δ
ia and Δ
ib be the changes of
ia and
ib respectively, then:
After compensation, equation (55) can be rewritten as:
After compensation,
za and
ψ are decoupled and controllable. Taking
za as an example, it can be seen from equation (53) that the system controls
za through
ia. However, changes in
ia also cause changes in
ψ, resulting in coupling. In equation (55), after parameter adjustment,
ia becomes part of the equivalent disturbance of
wp(t), which is then observed and compensated by ESO. Similarly, controlling the other degree of freedom,
ib, also causes changes in
za. In equation (55), after parameter adjustment,
ib becomes part of the equivalent disturbance of
wz(t), and then ESO observes and compensates it. The ESO of the levitating system is as follows [
2]:
In the equation: z1(n), z2(n), and z3(n) are the state variables of the ESO, z1(n) and z2(n) are used to trace the state variables of levitating system, and z3(n) is used to trace the state variables of the total disturbance; βe1, βe2, and βe3 are the gains of the ESO. a1 and δ are undetermined parameters. If ai is less than 1, the function has nonlinear characteristics; δ represents the linear range, aiming to avoid oscillation caused by large gain with minimal error.
3. Nonlinear error feedback control law (NLSEF)
In this paper, the levitating control system adopts the following form of NLSEF [
2]:
In the equation, e1(n) and e2(n) are the deviations and derivatives between the expected transition process and the estimated value of the system output; a2, a3, and δf1 are the relevant parameters of fal; u0 is the output of NLSEF; b0 is the compensation coefficient.
4. Interference compensation [
2]
Use ESO to track the variable
z3(n) expanded from the original system. Use the control variable to compensate for the disturbance. The control variable is:
After a large number of simulation experiments and prototype testing experiments [
2], this paper summarizes the parameter tuning method for the levitating control system:
1. Parameter tuning of TD.
There are three parameters in TD that need to be tuned, namely r, h0, and h.
r is the tracking factor. The tracking factor determines the speed at which
w1(n) and
w2(n) track the
za given signal. The larger the tracking factor, the faster the tracing speed and the steeper the tracking curve. The smaller the tracking factor, the slower the tracing speed and the slower the tracking curve. However, it is also necessary to set a suitable tracking factor value based on the inertia of the MC to ensure the tracing effect of
w1(n) and
w2(n).
h0 is the filtering factor. The effect of TD determined by the
h0.
h0 is related to the execution frequency of the controller [
2].
h is the integration step size [
2]. The shorter the integration step size, the higher the precision of the integral value, but the stronger the lag. An overly short integration step size can cause system oscillations. However, an overly long integration step size can reduce the precision of the integral value. In this paper,
h=
h0.
2. Parameter tuning of ESO.
By analyzing the inherent laws of ESO parameters and referring to the bandwidth method, this section proposes an ESO parameter tuning method for the levitation control system.
Where,
i=1, 2. Substituting equation (62) into equation (59):
In order to analyze the characteristics of the function
ζi(e) and compare the changes in the output of the function
ζi(e) corresponding to different aj values, this article selects
aj=0.2,
aj=0.4,
aj=0.8, and
δ=0.1, resulting in the output curve of the function
ζi(e) shown in
Figure 11.
From
Figure 11, it can be seen that as the
aj decreases, the nonlinearity of function
ζi(e) increases, and the maximum gain increases. It can be seen that too small
aj may lead to high-frequency oscillations in the observed values, while a larger
aj may make it difficult for ESO to leverage its advantages of fast error attenuation and strong anti-interference capabilities. That is to say,
aj can significantly affect the performance of ESO. In addition, if the error
e is within the range [-
δ,
δ], the function
ζi(e) is a constant, and
. Additionally, an excessively large linear interval
δ can cause the nonlinear gain to fail, while a
δ that is too small can render the observer unstable. Typically,
δ should fall within the range of [0.001, 0.1], with
δ=
h being suitable in this context; aj must satisfy the condition that
a1>
a2. According to the empirical values
a1=0.5 and
a2=0.25.
In ESO, there are three additional parameters that require adjustment, namely βe1, βe2, and βe3. βe3 is the most important of the three parameters. When tuning the parameters, first select the parameter βe3. If βe3 is too small, it will cause insufficient observation precision of z3(n), and z1(n) and z2(n) will lag behind w1(n) and w2(n). If βe3 is too large, it will cause increased system fluctuations and even system oscillations. Therefore, adjust βe3 first to ensure the precision of ESO, and then adjust βe1 and βe2 from small to large to reduce the oscillation of ESO output. Due to the coupling of the levitating system, these two parameter values should be as small as possible while ensuring stable ESO output.
This paper employs the bandwidth method and experimental approach to tune the parameters of ESO. Therefore, based on the optimal parameter settings obtained through simulation in reference [
2] and [
24], the tuning formulas for
βe1,
βe2, and
βe3 proposed in this paper can be expressed as follows:
Consequently, the performance of ESO is influenced by
ω0. Performing the Laplace transform on equation (63) yields:
According to equation (65), the transfer function model is obtained as:
According to equation (66), ESO exhibits superior suppression of disturbances to
uz. However, the effectiveness in suppressing disturbances introduced by
yz requires further analysis. Hence, the effects of
uz interference and nonlinear factors can be disregarded to simplify the analysis, setting
uz=0,
ζ1(e)=
ζ2(e)=1, and then substituting equation (64) into (66) yields:
With the increase of ω0, the ESO exhibits better dynamic performance, evidenced by more precise disturbance estimation, reduced phase lag in disturbance observation, and accelerated convergence of estimation error. However, the influence of a broad bandwidth on high-frequency noise is significant and cannot be overlooked, potentially resulting in a decline in the suspension control system's performance. Therefore, in practical applications, it is advisable to adjust ω0 gradually until the disturbance observation satisfies the requirements of system.
3. Parameter tuning of NLSEF.
Three parameters of NLSEF needed to be tuned, namely βf1, βf2, and b0. b0 is the coefficient of the control variable u. The adjustment methods for βf1 and βf2 are similar to those for PD parameters.