Next Article in Journal
Evaluation and Intercomparison of MODIS and GEOV1 Global Leaf Area Index Products over Four Sites in North China
Next Article in Special Issue
Strong Ferromagnetically-Coupled Spin Valve Sensor Devices for Droplet Magnetofluidics
Previous Article in Journal
Expected Improvements in the Quantitative Remote Sensing of Optically Complex Waters with the Use of an Optically Fast Hyperspectral Spectrometer—A Modeling Study
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Digital Control Analysis and Design of a Field-Sensed Magnetic Suspension System

1
Department of Electrical Engineering, Kun Shan University, 195 Kunda Road, Yongkang District, Tainan City 710, Taiwan
2
Department of Electrical Engineering, Southern Taiwan University of Science and Technology, 1 Nan Ti Street, Yongkang District, Tainan City 710, Taiwan
*
Author to whom correspondence should be addressed.
Sensors 2015, 15(3), 6174-6195; https://doi.org/10.3390/s150306174
Submission received: 20 December 2014 / Revised: 11 February 2015 / Accepted: 6 March 2015 / Published: 13 March 2015
(This article belongs to the Special Issue Magnetic Sensor Device-Part 1)

Abstract

:
Magnetic suspension systems are mechatronic systems and crucial in several engineering applications, such as the levitation of high-speed trains, frictionless bearings, and wind tunnels. Magnetic suspension systems are nonlinear and unstable systems; therefore, they are suitable educational benchmarks for testing various modeling and control methods. This paper presents the digital modeling and control of magnetic suspension systems. First, the magnetic suspension system is stabilized using a digital proportional-derivative controller. Subsequently, the digital model is identified using recursive algorithms. Finally, a digital mixed linear quadratic regulator (LQR)/H∞ control is adopted to stabilize the magnetic suspension system robustly. Simulation examples and a real-world example are provided to demonstrate the practicality of the study results. In this study, a digital magnetic suspension system model was developed and reviewed. In addition, equivalent state and output feedback controls for magnetic suspension systems were developed. Using this method, the controller design for magnetic suspension systems was simplified, which is the novel contribution of this study. In addition, this paper proposes a complete digital controller design procedure for magnetic suspension systems.

1. Introduction

Magnetic suspension systems (MSSs) are important in several engineering applications [1,2,3,4], such as the levitation of high-speed Maglev trains [1,2], frictionless bearings [3], and wind tunnels [4]. Maglev trains travel a contactless guideway using magnetic suspension, therefore the friction is reduced and the speed is faster than possible with wheeled trains. The magnetic bearing is a kind of bearing and it has several notable features, being contact-free, abrasion-free, and lubrication-free. Magnetic bearings can adapt to high rotation speed. Wind tunnel experiments can measure the aerodynamic forces and torques applied to the object with a supporting rod. Magnetic suspension and balance system can sustain aerodynamic models stationary in a wind tunnel without a rod. Magnetic suspension technology is one of crucial techniques in those of engineering systems.
Since 1986, MSSs have been the mechatronic subject of an undergraduate project [5] and have been provided as a teaching example in a control engineering textbook [6]. In research on MSSs, the dynamic control is an important subject because the magnetic force is nonlinear and the open loop system is inherently unstable. Many modeling and controls are adopted to stabilize MSSs. Basically, the modeling methods can be summarized in two aspects. One aspect is analog modeling and the other is digital modeling. Numerous studies [1,2,3,4,5,6] have analyzed and designed MSSs by using analog control models. In this study, an MSS was analyzed and designed using a digital control model [7,8]. In addition, a digital model of an MSS and a digital proportional-derivative (PD) control were reviewed, and the equivalent state and output feedback controls of an MSS were developed. Based on the digital model, a linear-quadratic regulator (LQR)/H∞ control was adopted to improve system dynamics and eliminate disturbances.
For an analog modeling viewpoint, a lot of research has been performed on control methods for MSSs. For example, Wong [1] and Kuo [2] used system linearization and phase-lead compensation techniques to control the unstable nonlinear system. Bittar and Sales [3] proposed H2 and H∞ controls, which are based on the analysis and design of the frequency domain and the analog case. Zhang et al. [4] established the state feedback linearized suspension module control system model. A PID control method was used to stabilize the suspension module control system model.
From the digital modeling viewpoint, [9,10] are focused on digital controls for MSSs. Qin et al. [9] dealt with the MSS by use of model predictive control. The ARX model is adopted. Su et al. [10] stabilized the MSS by use of Takagi–Sugeno (T-S) fuzzy control. By employing the Euler first-order approximation, they obtained the T–S fuzzy model. In these situations [9,10], initial stable conditions are important and necessary. Hence, the proposed digital model in this paper is newer and more useful for implementation. A hands-on field-sensed magnetic suspension system is provided to demonstrate the practicality of the study results. Complete sensor and drive circuits are provided and analyzed. In this paper, a second-order digital model was developed and a thorough research description is provided from analysis and design to implementation. This paper gives a new solution of MSSs.
Up to now, with the progress in microcomputers, embedded controllers are widely applied to mechatronic systems. With the use of microcomputers, digital modeling and controls are essentially necessary. Weng and Chao [11] investigated sampled-data robust H∞ control of the active suspension system. The controller design was cast into a convex optimization problem with LMI constraints. Vesely et al. [12] studied the problem of a robust static output feedback model predictive controller design. The developed control design was illustrated on the model of a double integrator controlled through network control systems. Shi et al. [13] designed a H∞ controller for a class of discrete-time Markov jump systems with missing information. Markov jump systems have application in many practical systems, such as in manufacturing, economic, electrical and communication systems. Li et al. [14] addressed the state estimation and sliding mode control problems for Markov jump systems with mismatched uncertainties. Wang et al. [15] designed a sliding mode I/O feedback linearization controller for speed and current tracking of the permanent magnet synchronous motor. A sliding mode variable structure input-output feedback linearization controller is proposed. Su et al. [16,17] dealt with discrete-time Takagi–Sugeno fuzzy systems. The dynamic output feedback controller design of time delay systems was investigated in [16]. The dynamic output feedback Hankel norm controller design of stochastic systems was investigated in [17]. Liu et al. [18] proposed adaptive robust controllers for path following of underactuated surface vessels. The hierarchical sliding mode method was designed.
In this paper, a new digital modeling of MSSs is proposed and a complete controller design procedure is also provided. The simulation results and real world experimental results are guaranteed by the proposed scheme. This paper is structured as follows: Section 2 reviews the digital model and digital PD control; Section 3 presents identification methods of the digital model; Section 4 describes the state and output feedback controls; Section 5 reviews the state LQR/H∞ control; Section 6 presents the experiments and results; and Section 7 provides the conclusions.

2. Digital Model and Digital PD Control

The digital model and digital PD control of the MSS are reviewed in this section. The general analog model of an MSS is formulated as follows [1,5,6,7,8]:
m d 2 x d t 2 = m g C i 2 x 2
where m is the mass of the controlled object, x is the distance between the electromagnet and the controlled object, g is the gravitational acceleration, C is the force constant, and i is the coil current. In order to avoid confusing definitions of symbols, symbols of this paper are summarized in Table 1. Using a Taylor series expansion [6] and neglecting all higher-order terms yields the following piecewise linearized equation:
d 2 d t 2 Δ x = 2 C i 0 m x o 2 Δ i + 2 C i 0 2 m x o 3 Δ x
where x 0 is the equilibrium position, i 0 is the bias current, Δ x = x x 0 is the deviation of the distance, Δ i = i i 0 the deviation of the coil current. The equilibrium condition is:
i 0 = x 0 m g C
Table 1. Symbol summary.
Table 1. Symbol summary.
m the mass of the controlled object
g the gravitational acceleration
C the force constant
ρ the linear factor of the position sensor
x the distance between the electromagnet and the controlled object
x 0 the equilibrium position
Δ x = x x 0 the deviation of the distance
Δ X ( s ) , Δ X ( z ) the Laplace transform and z transform of Δ x
i the coil current
i 0 the bias current
Δ i = i i 0 the deviation of the coil current
Δ I ( s ) , Δ I ( z ) the Laplace transform and z transform of Δ i
T the sampling period
β = e T 2 C i 0 2 m x o 3 the derived parameter
σ = C 2 m x o the derived parameter
σ ˜ = σ ρ ( β 2 1 ) β the derived parameter
β ˜ = β + β 1 the derived parameter
G ( z ) the z transform of G ( s )
G C ( z ) the transfer function of digital PD controller
K the parameter of controller G C ( z )
ϕ the parameter of controller G C ( z )
Δ X ˜ ( z ) the output of the Figure 1, z transform of Δ x ˜ ( k )
R ( z ) the reference input of the Figure 1
Q ( z ) the characteristic polynomial of the closed-loop system
x 1 ( k ) , x 2 ( k ) state variables of Equation (34)
K 1 , K 2 output feedback gains of Equation (36)
Figure 1. Block diagram of the digital model and PD control.
Figure 1. Block diagram of the digital model and PD control.
Sensors 15 06174 g001
Applying the Laplace transform of Equation (2) [6] yields the transfer function of an MSS:
G ( s ) = Δ X ( s ) Δ I ( s ) = 2 C i 0 m x o 2 s 2 2 C i 0 2 m x o 3
where Δ X ( s ) is the Laplace transform of Δ x , and Δ I ( s ) is the Laplace transform of Δ i . The digital model of Equation (4) can be calculated using the residue formula [11]:
G ( z ) = at poles of  G ( λ ) [ residues of  G ( λ ) 1 1 z 1 e T λ ]
where T is the sampling period, and Equation (5) can be expressed as follows:
G ( z ) = Δ X ( z ) Δ I ( z ) = σ ( z z 1 β z z β ) = z σ ( β 2 1 ) / β ( z β ) ( z 1 β )
The parameters are expressed as follows:
β = e T 2 C i 0 2 m x o 3 > 1 ,    σ = C 2 m x o
The digital PD control [7,8] is described and formulated as follows:
G C ( z ) = K z 1 ( z + ϕ )
and is adopted, as shown in Figure 1. The term z 1 is designed to cancel the z term of G ( z ) in Equation (6). The value of zero was set to z = ϕ and the gain K was increased to move the roots into the unit circle. According to Figure 1, the transfer function of Δ X ˜ ( z ) / R ( z ) is:
Δ X ˜ ( z ) R ( z ) = ( z + ϕ ) K σ ˜ ( z β ) ( z 1 / β ) + ( z + ϕ ) K σ ˜
The parameter σ ˜ = σ ρ ( β 2 1 ) / β , where ρ is the linear factor of the position sensor, is a positive real number. The term R ( z ) is the reference input of the closed-loop system. The characteristic polynomial of the closed-loop system is:
Q ( z ) = z 2 + z ( K σ ˜ β ˜ ) + 1 + K σ ˜ ϕ
where the parameter β ˜ = β+β 1 . According to the Jury stability criterion [19], the stable conditions for K and ϕ are:
( β 1 ) σρ ( β + 1 ) ( 1 + ϕ ) < K < ( β + 1 ) σρ ( β 1 ) ( 1 ϕ )
and:
| 1 + K σ ˜ ϕ | < 1
The inequality in Equation (12) implies that:
2 K σ ˜ < ϕ < 0
because σ ˜ > 0 and K > 0 . The digital PD control can then be designed as follows. First, the value of zero is set to z = ϕ , and then the gain K is increased to ensure the stability of the MSS. If this step is not guaranteed, a different zero can be used.
The total current command of the equilibrium point is the sum of the bias current Equation (3) and Δ i . Therefore, the current command is:
i ( k ) = i o ( k ) + Δ i ( k ) = i o ( k ) + K Δ x ˜ ( k ) + K ϕ Δ x ˜ ( k 1 )
where i o ( k ) is the bias current of the equilibrium point, Δ i ( k ) is the control current, Δ x ˜ ( k ) is the present position measurement deviation, and Δ x ˜ ( k 1 ) is the previous position measurement deviation.

3. Identification Methods

The identification methods used in the magnetic suspension system are presented in this section. Because the digital model is unstable, the digital PD control was used to stabilize the MSS model. SIMULINK simulations for these two identification methods are provided. The results of both these methods are favorable. In this section, the identification of MSS parameters is examined. In Figure 1, the transfer function from Δ I ( z ) to Δ X ˜ ( z ) is:
Δ X ˜ ( z ) Δ I ( z ) = z σ ˜ z 2 β ˜ z + 1
The input/output equation is:
Δ x ˜ ( k ) β ˜ Δ x ˜ ( k 1 ) + Δ x ˜ ( k 2 ) = σ ˜ Δ i ( k 1 )
Equation (16) can then be rewritten as follows:
Δ x ˜ ( k ) + Δ x ˜ ( k 2 ) = β ˜ Δ x ˜ ( k 1 ) + σ ˜ Δ i ( k 1 )
Let the following equations be defined as follows:
y ( k ) = Δ x ˜ ( k ) + Δ x ˜ ( k 2 )
φ T ( k ) = [ Δ x ˜ ( k 1 ) Δ i ( k 1 ) ] = [ φ 1 ( k ) φ 2 ( k ) ]
θ T = [ β ˜ σ ˜ ] = [ θ 1 θ 2 ]
Then the following regression model holds:
y ( k ) = φ T ( k ) θ
The following MSS system parameters are used to minimize the least-squares function as follows:
V ( θ , k ) = 1 2 n = 1 k η k n ( y ( n ) φ T ( n ) θ ) 2
where η is a parameter such that 0 < η 1 . The parameter η is called the forgetting factor. Because the measurement outputs are obtained sequentially, the computation time for recursive computations can be reduced. Let θ ^ ( k ) denote the least-squares estimate based on k ’s measurement. The following theorem was developed by Astrom and Wittenmark [20] and is used to estimate system parameters.
Theorem 1. Assume that the matrix Φ ( k ) has full rank. The parameter θ , which minimizes Equation (22), is given recursively by:
θ ^ ( k ) = θ ^ ( k 1 ) + K ( k ) ( y ( k ) φ T ( k ) θ ^ ( k 1 ) )
K ( k ) = P ( k ) φ ( t ) = P ( k 1 ) φ ( k ) ( η I + φ T ( k ) P ( k 1 ) φ ( k ) ) 1
P ( k ) = ( I K ( k ) φ T ( k ) ) P ( k 1 ) / η
where Φ T ( k ) = [ φ ( 1 ) φ ( k ) ] and P ( k ) = ( Φ T ( k ) Φ ( k ) ) 1 = ( j = 1 k φ ( j ) φ T ( j ) ) 1 .
A numerical example is provided as follows. In [5], an undergraduate MSS project was described. The parameters measured in [5] are listed in Table 2. The data in Table 2 indicate that the open-loop digital model of an MSS is formulated as follows:
G ( z ) = Δ X ( z ) Δ I ( z ) = 0.0258 z ( z 1.0508 ) ( z 0.9517 )
The parameters in Equation (7) are β = 1.0508 and σ = 0.2606 . If the zero of the digital PD control is defined as ϕ = 0.8 in Equation (8), the stable range of gain is:
4.166 × 10 4 < K < 0.0755
If the gain is defined as K = 0.05, the characteristic polynomial of the closed-loop system is:
Q ( z ) = z 2 0.5306 z 0.1774
The eigenvalues of Equation (28) are 0.7632 and −0.2325. All of these poles are inside the unit circle; hence, the closed-loop system is stable. A SIMULINK simulation is shown in Figure 2. The digital PD control Equation (8) is G C ( z ) = 0.05 0.04 z 1 . The digital model of MSS (15) is 29.4362 z / ( z 2 2.0025 z + 1 ) . The command input is white noise. The block ID is the algorithm of Theorem 1. The inputs of the block ID are Δ i ( k ) and Δ x ˜ ( k ) . The outputs of the block ID are estimates of β ˜ and σ ˜ . The parameter η is 0.75. The results are shown in Figure 2, which are θ ^ 1 = 2.0025 and θ ˜ 2 = 29.4362 . These results exactly match the parameters of the MSS.
Table 2. Measured data of the project in [1].
Table 2. Measured data of the project in [1].
m 0.068 K g
g 9.8 m s 2
C 7.39 × 10 5 N · m 2 A 2
ρ 1.14 × 10 3 V m
x 0 0.008 m
i 0 0.76 A
Figure 2. The Simulink simulation of identification.
Figure 2. The Simulink simulation of identification.
Sensors 15 06174 g002
For large dimensions, the majority of computing effort is expended on updating the matrix P . The Kaczmarz algorithm [20] is a simple method for reducing computing effort. However, the convergence rate of this method is slower. The least-squares function Equation (22) is replaced by the following function:
V ( θ ^ , k ) = 1 2 ( θ ^ ( k ) θ ^ ( k 1 ) ) T ( θ ^ ( k ) θ ^ ( k 1 ) ) + α ¯ ( y ( k ) φ T ( k ) θ ^ ( k ) )
where α ¯ is a Lagrangian multiplier. By taking the derivatives with respect to θ ^ ( k ) and α ¯ , the following equations are obtained:
θ ^ ( k ) θ ^ ( k 1 ) α ¯ ϕ ( k ) = 0
y ( k ) φ T ( k ) θ ^ ( k ) = 0
The following equation is then produced by combining Equations (30) and (31):
θ ^ ( k ) = θ ^ ( k 1 ) + φ ( k ) φ T ( k ) φ ( k ) ( y ( k ) φ T ( k ) θ ^ ( k 1 ) )
Changing the step size of Equation (32) is useful for avoiding a situation in which φ ( k ) = 0 . The following Kaczmarz algorithm is then obtained:
θ ^ ( k ) = θ ^ ( k 1 ) + μ φ ( k ) α + φ T ( k ) φ ( k ) ( y ( k ) φ T ( k ) θ ^ ( k 1 ) )
where α 0 and 0 < μ < 2 . The Simulink simulation of the Kaczmarz algorithm is shown in Figure 3. The block Kaczmarz algorithm is the algorithm shown in Equation (33). The step size is μ = 1 and the parameter is α = 1 . The results are θ ^ 1 = 2.002495348766 and θ ˜ 2 = 29.436148592765 . These results are almost the same as the MSS parameters.
Figure 3. The Simulink simulation of Kaczmarz’s algorithm.
Figure 3. The Simulink simulation of Kaczmarz’s algorithm.
Sensors 15 06174 g003

4. State and Output Feedback Control

The state block diagram of Equation (15) is shown in Figure 4, and the state space representation [19] is expressed as follows:
[ x 1 ( k + 1 ) x 2 ( k + 1 ) ] = [ 0 1 1 β ˜ ] [ x 1 ( k ) x 2 ( k ) ] + [ 0 1 ] Δ i ( k )
Δ x ˜ ( k ) = [ 0 σ ˜ ] [ x 1 ( k ) x 2 ( k ) ]
where x 1 ( k ) and x 2 ( k ) are state variables of Figure 4. The output feedback control is shown in Figure 5 and is formulated as follows:
Δ i ( k ) = K 2 Δ x ˜ ( k ) + K 1 Δ x ˜ ( k 1 ) = K 2 σ ˜ x 2 ( k ) + K 1 σ ˜ x 1 ( k ) = K ˜ 2 x 2 ( k ) + K ˜ 1 x 1 ( k )
where K 1 and K 2 are output feedback gains of Figure 5. According to Equation (36), the dynamic output feedback control in Figure 5 is equivalent to the state feedback control in Figure 6. The relationship is expressed as follows:
K 1 = K ˜ 1 σ ˜ , K 2 = K ˜ 2 σ ˜
where K 1 and K 2 are the control gains of the dynamic output feedback control, and K ˜ 1 and K ˜ 2 are the control gains of the state feedback control. Figure 6 indicates that the closed-loop system is:
[ x 1 ( k + 1 ) x 2 ( k + 1 ) ] = [ 0 1 1 + K ˜ 1 β ˜ + K ˜ 2 ] [ x 1 ( k ) x 2 ( k ) ]
The characteristic polynomial of the closed-loop system is:
Q ( z ) = z 2 ( β ˜ + K ˜ 2 ) z + ( 1 K ˜ 1 )
Comparing the characteristic polynomial of the digital PD control Equations (10) with (39) indicates that the parameters for the control are:
K ˜ 2 = K σ ˜ , K ˜ 1 = K ϕ σ ˜
and:
K 2 = K , K 1 = K ϕ
Hence, for the digital model of the MSS, the digital PD control, state feedback control, and output feedback control are nearly the same. First, the state feedback control can be designed. Subsequently, the digital PD control can replace the state feedback control in Equations (40) and (41).
Figure 4. Block model representation of Equations (34) and (35).
Figure 4. Block model representation of Equations (34) and (35).
Sensors 15 06174 g004
Figure 5. Output feedback control of a MSS.
Figure 5. Output feedback control of a MSS.
Sensors 15 06174 g005
Figure 6. Equivalent state feedback control of a MSS.
Figure 6. Equivalent state feedback control of a MSS.
Sensors 15 06174 g006

5. State Feedback LQR/H∞ Control

This section reviews the state-feedback control and mixed LQR/H∞ control [21]. The digital linear system is:
x ( k + 1 ) = A x ( k ) + B 1 w ( k ) + B 2 u ( k )
z ( k ) = C 1 x ( k ) + D 12 u ( k )
where the state vector is x ( k ) R n , the control input vector is u ( k ) R m , the disturbance vector is w ( k ) R q and belongs to L 2 [ 0 , ] , and the controlled output vector is z ( k ) R p ; A , B 1 , B 2 , C 1 , and D 12 are known matrices of the appropriate dimensions. The initial condition is x ( 0 ) .
The state feedback control is:
u ( k ) = F x ( k )
where F is a gain matrix with appropriate dimensions. The closed-loop transfer matrix from the disturbance input w to the controlled output z is
T z w ( z ) = [ A F B F C F 0 ] = C F ( z I A F ) 1 B F
where A F = A + B 2 F , B F = B 1 , and C F = C 1 + D 12 F .
The quadratic performance index included in optimal LQR control theory is shown as follows:
J = k = 0 ( x T ( k ) Q x ( k ) + u T ( k ) R u ( k ) )
where the weighting matrices are Q 0 and R > 0 . The H norm is defined for a stable transfer matrix T z w ( z ) as follows:
T z w ( z ) = sup w [ 0 , 2 π ] σ max { T z w ( e j w ) }
where the symbol σ max { } denotes the highest singular value.
The state feedback and optimal LQR controls are used to identify an admissible control that minimizes the quadratic performance index Equation (46) under the condition of w = 0. However, when using state feedback and H controls, identifying an admissible control such that T z w ( z ) < υ for a given positive number υ is difficult. In the LQR/H∞ control, these two problems are combined as w L 2 [ 0 , ) .
The design objective of the state-feedback control and mixed LQR/H∞ control is to identify an admissible control F that minimizes:
sup w L 2 + inf F { J } subject to T z w ( z ) < υ
To determine the solution, the following assumptions are defined:
Assumption 1: ( C 1 , A ) is detectable.
Assumption 2: ( A , B 2 ) is stabilizable.
Assumption 3: D 12 T [ C 1 D 12 ] = [ 0 I ]
To determine the solution, the Riccati equation must be solved as follows:
A T X A X A T X B ^ ( B ^ T X B ^ + R ^ ) 1 B ^ T X A + C 1 T C 1 + Q = 0
where B ^ = [ γ 1 B 1 B 2 ] , R ^ = [ I 0 0 R + I ] . Xu [21] proposed the following theorem, which provides the solution to the state-feedback control and mixed LQR/H∞ control problem.
Theorem 2. A state-feedback control and mixed LQR/H∞ control u = F x exists if the Riccati equation Equation (49) produces a stabilizing solution X 0 and U 1 = I υ 2 B 1 T X B 1 > 0 .
The state-feedback control and mixed LQR/H∞ control is formulated as follows:
F = U 2 1 B 2 T U 3 A
where U 2 = R + I + B 2 T U 3 B 2 and U 3 = X + υ 2 X B 1 U 1 1 B 1 T X .
The state-feedback control and mixed LQR/H∞ control achieves:
sup w L 2 + inf F { J } = x T ( 0 ) ( X + υ 2 X w X z ) x ( 0 ) subject to T z w < υ
where A ^ F = A F + υ 2 B F U 1 1 B F T X A F , X w = k = 0 { ( A ^ F k ) T A F T X B F U 1 2 B F T X A F A ^ F k } and X z = k = 0 { ( A ^ F k ) T C F T C F A ^ F k } .
The numerical example in Section 3 was used to describe the mixed LQR/H∞ control in this section. According to Equations (34) and (35), the state equation and the output equation of the open-loop system are expressed as follows:
[ x 1 ( k + 1 ) x 2 ( k + 1 ) ] = [ 0 1 1 2.0025 ] [ x 1 ( k ) x 2 ( k ) ] + [ 0 1 ] Δ i ( k )
Δ x ˜ ( k ) = [ 0 29.4362 ] [ x 1 ( k ) x 2 ( k ) ]
The state-feedback control and mixed LQR/H∞ control were then designed. Based on Equations (42) and (43), the system matrices are:
A = [ 0 1 1 2.0025 ] , B 2 = [ 0 1 ] , B 1 = [ 1 0 0 1 ]
C 1 = [ 1 0 0 1 0 0 ] , D 12 = [ 0 0 1 ]
The closed-loop system with disturbances w = [ w 1 w 2 ] T is shown in Figure 7. The performance variable vector is:
z ( k ) = [ x 1 ( k ) x 2 ( k ) u ( k ) ] T
MATLAB was used to confirm that Assumption 1 holds because rank(ctrb(A,B2)) = 2 and that Assumption 2 holds because rank(obsv(A,C1)) = 2. In addition, Assumption 3 holds because the following equation holds:
D 12 T [ C 1 D 12 ] = [ 0 0 1 ]
Letting Q = I 2 , R = 1 , and υ = 5 , the Riccati equation Equation (49) is solved using the MATLAB command dare. The solution is shown as follows:
X = [ 3.8099 3.0264 3.0264 10.3759 ]
The following matrices are then calculated:
U 1 = I υ 2 B 1 T X B 1 = [ 0.8476 0.1211 0.1211 0.5850 ] > 0
U 3 = X + υ 2 X B 1 U 1 1 B 1 T X = [ 5.3932 6.2897 6.2897 19.0393 ]
U 2 = R + I + B 2 T U 3 B 2 = 21.0393
Next, the state feedback gain is calculated as follows:
F = U 2 1 B 2 T U 3 A = [ 0.9049 1.5132 ]
.
The poles of the closed-loop system were calculated using the MATLAB command eig(A+B2*F), and the eigenvalues were 0.2447 ± j 0.1876 . Hence, the closed-loop system was stable.
Figure 7. The closed loop system with disturbances.
Figure 7. The closed loop system with disturbances.
Sensors 15 06174 g007
The dynamics of the closed-loop system were simulated using SIMULINK (Figure 8). Figure 9 shows the output response under the initial conditions of x 1 ( 0 ) = 1 and x 2 ( 0 ) = 1 . Figure 10 shows the output response given the disturbances w 1 = δ ( t = 0 ) and w 2 = δ ( t = 0.01 ) . The symbol δ ( t = t 1 ) is the unit impulse function at time t 1 . As shown in Figure 9, the initial condition response was asymptotically stable. As shown in Figure 10, the disturbance w 1 = δ ( t = 0 ) was added to the closed-loop system and was attenuated to zero at time 0.007 s. The disturbance w 2 = δ ( t = 0.01 ) was added to the closed-loop system and was attenuated to zero at time 0.018 s. Hence, the disturbances were rejected asymptotically. Based on the simulation results, this control can simultaneously provide optimal output and reject disturbances.
Figure 8. SIMULINK simulation of the closed loop system.
Figure 8. SIMULINK simulation of the closed loop system.
Sensors 15 06174 g008
Figure 9. The initial response.
Figure 9. The initial response.
Sensors 15 06174 g009
Figure 10. The distrubance response.
Figure 10. The distrubance response.
Sensors 15 06174 g010

6. Experiments and Results

In this section, the real-world experiment is presented. The setup of the MSS experiment is shown in Figure 11. The position sensor is a Hall element, and it can sense the strength of the magnetic field. Hence, this apparatus is called a field-sensed magnetic suspension system (FSMSS) [8]. A sketch of the magnet position is shown in Figure 12. The magnet is composed of three 1-cm cubes, as shown in Figure 11 and Figure 12. The magnet position sensor circuit is shown in Figure 13. A SS495A magnetic-field sensor was placed at the bottom of the frame. The output measurement varied in proportion to the strength of the magnetic field. An inverting amplifier was used to adjust the magnet position signal within a range of 0–3 V. When the magnet was placed on top of the SS495A, the output voltage was 3 V. As the magnet was pulled away from the SS495A, the output voltage decreased. Thus, the position of the magnet was measured using the circuit shown in Figure 13. The magnet position signal was sampled using the eZdsp F2812 ADINA1 [22]. The sample rate was 1 kHz. As shown in Figure 12, when the bottom of the magnet was exactly xo = 1 cm away from the sensor, the measured output voltage was 1.5 V. The distance between the electromagnet and the top of the magnet was 4 cm. The bias current required to balance the gravitational force was 0.5 A.
Figure 11. The photograph of a FSMSS.
Figure 11. The photograph of a FSMSS.
Sensors 15 06174 g011
Figure 12. Sketch of the magnet position.
Figure 12. Sketch of the magnet position.
Sensors 15 06174 g012
Figure 13. The magnet position sensor circuit.
Figure 13. The magnet position sensor circuit.
Sensors 15 06174 g013
The drive circuit shown in Figure 14 included a switch (isolated gate bipolar transistor, IGBT), trigger, and coil-current sensor circuits. A GT30J301 was used as a pulse-width modulation (PWM) switch. The TLP250 used was an IGBT trigger chip. In this PWM circuit, the modulation frequency was 18 kHz. The PWM control was used by the pin PWM 7 of eZdsp F2812 [22]. When the IGBT was off, the flywheel diode could protect the coil current circuit and prevent open-circuit sparking. The LA55-P used was a current sensor. A non-inverting amplifier was used to adjust the coil current signal within a range of 0–3 V. When the coil current was 1 A, the output measurement was 3 V. The coil current signal was sampled using ADINA0 of the eZdsp F2812 [22]. The sample rate was also 1 kHz.
Figure 14. The coil current driver circuit.
Figure 14. The coil current driver circuit.
Sensors 15 06174 g014
The digital control used was the eZdsp F2812. The 32-bit microcontroller eZdsp F2812 manufactured by Texas Instruments [22] provides motor-control applications. The software pack of the eZdsp F2812 includes the Code Composer Studio (CCS) software. The CCS includes a text editor, a C compiler, an assembler, a debugger, and a download tool. Users can use C programs to implement control theories.
The block diagram of the FSMSS shown in Figure 15 is a two-loop control system. The coil current was compensated in the inner loop and the magnet position was stabilized in the outer loop. First, the coil current was designed using the digital Proportional and Integral (PI) control [7,8]. The PI control can eliminate residual steady-state errors. No steady-state error was observed in this inner-loop subsystem. Figure 16 shows the step response of the coil current signal from 1 to 2 V. In Figure 16, the settling time of the coil current was approximately 25 ms. The dynamics of the coil current were faster than those of the magnet position; therefore, the inner-loop subsystem was approximated as a constant-gain current source. Hence, the overall system can be recognized as a single-input and single-output system. The input was the current command and the output was the magnet position.
Figure 15. The block diagram of overall system.
Figure 15. The block diagram of overall system.
Sensors 15 06174 g015
Figure 16. The step response of coil current.
Figure 16. The step response of coil current.
Sensors 15 06174 g016
The digital PD control was used to stabilize the FSMSS, as shown in Figure 1. This was a set-point regulation; therefore, the command R ( z ) = 0 . The gain of the digital PD control was K = 10 and the zero was ϕ = 0.85 . The magnet reaches equilibrium at a position measurement of 1.5 V, as shown in Figure 11 and Figure 12. The set-point response is shown in Figure 17. The magnet is stabilized at equilibrium position. Subsequently, the measurement outputs Δ x ˜ ( k ) and control inputs Δ i ( k ) were recorded in the memory of the microcontroller. The recursive algorithms of the parameters identified in Section 3 were adopted to compute the system parameters β ˜ and σ ˜ offline. The results were approximated as follows: β ˜ 2.002 and σ ˜ 0.072 .
Figure 17. The set-point response of magnet position.
Figure 17. The set-point response of magnet position.
Sensors 15 06174 g017
At the next step, the state-feedback LQR/H∞ control described in Section 5 was used to calculate robust-state feedback gain. The state equation and the output equation of the FSMSS are expressed as follows:
[ x 1 ( k + 1 ) x 2 ( k + 1 ) ] = [ 0 1 1 2.002 ] [ x 1 ( k ) x 2 ( k ) ] + [ 0 1 ] Δ i ( k )
Δ x ˜ ( k ) = [ 0 0.072 ] [ x 1 ( k ) x 2 ( k ) ]
Based on Equations (42) and (43), the system matrices of the FSMSS are:
A = [ 0 1 1 2.002 ] , B 2 = [ 0 1 ] , B 1 = [ 1 0 0 1 ]
C 1 = [ 1 0 0 1 0 0 ] , D 12 = [ 0 0 1 ]
The performance variable vector is defined as follows:
z ( k ) = [ x 1 ( k ) x 2 ( k ) u ( k ) ] T
Letting Q = I 2 , R = 1 , and υ = 5 , the Riccati Equation (49) was solved using the MATLAB command dare. The solution is shown as follows:
X = [ 3.8098 3.0254 3.0254 10.3731 ]
The following matrices were then calculated:
U 1 = I υ 2 B 1 T X B 1 = [ 0.8476 0.1210 0.1210 0.5851 ] > 0
U 3 = X + υ 2 X B 1 U 1 1 B 1 T X = [ 5.3922 6.2862 6.2862 19.0296 ]
U 2 = R + I + B 2 T U 3 B 2 = 21.0296
Next, the state feedback gain was calculated as follows:
F = U 2 1 B 2 T U 3 A = [ 0.9049 1.5127 ]
Based on the information in Section 4, the relation between state feedback gain and the digital PD control is:
ϕ = K ˜ 1 K ˜ 2 = 0.9049 1.5127 0.6
and:
K = K 2 = K ˜ 2 σ ˜ = 1.5127 0.072 21
The data from Equation (73) and (74) could replace the eZdsp F2812 in the C program. The gain of the digital PD control was adjusted by defining gain as K = 21 and zero as ϕ = 0.6 . After the parameters were modified using the CCS software, the control program was rebuilt, downloaded, and executed. An experiment was executed by placing six cards on the top of the magnet to demonstrate the robustness. Figure 18 shows the results of this experiment. Figure 19 shows that the magnet position measurement was maintained at 1.5 V and was stable. The yellow line in Figure 19 indicates the coil current measurement. To balance the weight of six cards, the coil current signal increased from 1.5 to 2 V. Based on the results shown in Figure 18 and Figure 19, the stability and robustness of the FSMSS is guaranteed by the mixed LQR/H∞ control. In this section, a complete description of the control design is provided. A flowchart shown in Figure 20 is given to explain clearly the complete procedure for experiments and results.
Figure 18. The picture of the FSMSS with six cards.
Figure 18. The picture of the FSMSS with six cards.
Sensors 15 06174 g018
Figure 19. The set-point responses of both magnet position and coil current with six cards.
Figure 19. The set-point responses of both magnet position and coil current with six cards.
Sensors 15 06174 g019
Figure 20. A flowchart of the complete procedure for experiments and results.
Figure 20. A flowchart of the complete procedure for experiments and results.
Sensors 15 06174 g020

7. Conclusions

The main contribution of this paper is the digital model and control of MSSs. The specified digital PD control was adopted to stabilize the MSS initially. Subsequently, the specified identification methods were developed. Two parameters were identified according to the digital model of MSSs. For designing the robust control, the equivalent state and output feedback controls were developed. By using this equivalence, the control design was simplified. The state-feedback control and mixed LQR/H∞ control were then used to design the robust control. The mixed LQR/H∞ control combines the LQR- and H∞-control designs. This method improves the performance and robustness of the MSS. Numerical examples are provided in this paper and a real-time experimental setup is proposed for demonstrating the use of this method. Thus, this paper provides a complete digital robust control design procedure for MSSs.

Acknowledgments

The authors would like to express the sincere thanks to the reviewers for their invaluable comments and suggestions. This work is supported by the Ministry of Science and Technology, Taiwan, Republic of China, under grant number MOST 103-2221-E-218-027.

Author Contributions

Jen-Hsing Li and Juing-Shian Chiou developed the methodology and drafted the manuscript. Moreover, Juing-Shian Chiou synthesized the software simulations and Jen-Hsing Li implemented the hardware experiments. All the authors approved the final manuscript.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Bittar, A.; Sales, R.M. H2 and H∞ control for MagLev vehicles. IEEE Control Syst. 1998, 18, 18–25. [Google Scholar] [CrossRef]
  2. Zhang, W.; Li, J.; Zhang, K.; Cui, P. Decoupling suspension controller based on magnetic flux feedback. Sci. World J. 2013. [Google Scholar] [CrossRef]
  3. Wang, X.; Liu, Q.; Hu, Y.; Cheng, X.; Chen, H.; Huang, L. The redundant design and reliability analysis of magnetic bearings used for aeroengine. Adv. Mech. Eng. 2014. [Google Scholar] [CrossRef]
  4. Kawamura, K.; Mizota, T. Wind tunnel experiment of bluff body aerodynamic models using a new type of magnetic suspension and balance system. J. Fluids Eng. 2013, 135, 101401–101405. [Google Scholar] [CrossRef]
  5. Wong, T.H. Design of a magnetic levitation control system-an undergraduate project. IEEE Trans. Educ. 1986, 29, 196–200. [Google Scholar] [CrossRef]
  6. Kuo, B.C. Automatic Control Systems, 7th ed.; Prentice Hall: Englewood Cliffs, NJ, USA, 1995; pp. 188–189. [Google Scholar]
  7. Li, J.H. Fuzzy supervisory control of a dsp-based magnetic levitation system. Asian J. Control 2007, 9, 64–67. [Google Scholar] [CrossRef]
  8. Li, J.H.; Chiou, J.S. Robust output feedback stabilization of a field-sensed magnetic suspension system. Math. Problems Eng. 2013. [Google Scholar] [CrossRef]
  9. Qin, Y.; Peng, H.; Ruan, W.; Wu, J.; Gao, J. A modeling and control approach to magnetic levitation system based on state-dependent ARX model. J. Process Control 2014, 24, 93–112. [Google Scholar] [CrossRef]
  10. Su, X.; Yang, X.; Shi, P.; Wu, L. Fuzzy control of nonlinear electromagnetic suspension systems. Mechatronics 2014, 24, 328–335. [Google Scholar] [CrossRef]
  11. Weng, Y.; Chao, Z. Robust sampled-data H∞ output feedback control of active suspension system. Int. J. Innov. Comput. Inf. Control 2014, 10, 281–292. [Google Scholar]
  12. Vesely, V.; Rosinova, D.; Quang, T. Networked output feedback robust predictive controller design. Int. J. Innov. Comput. Inf. Control 2013, 9, 3941–3953. [Google Scholar]
  13. Shi, P.; Yin, Y.; Liu, F.; Zhang, J. Robust control on saturated Markov jump systems with missing information. Inf. Sci. 2014, 265, 123–138. [Google Scholar] [CrossRef]
  14. Li, F.; Wu, L.; Shi, P.; Lim, C.C. State estimation and sliding mode control for semi-Markovian jump systems with mismatched uncertainties. Automatica 2015, 51, 385–393. [Google Scholar] [CrossRef]
  15. Wang, L.; Zhang, H.; Liu, X. Sliding mode variable structure I/O feedback linearization design for the speed control of PMSM with load torque observer. Int. J. Innov. Comput. Inf. Control 2013, 9, 3485–3496. [Google Scholar]
  16. Su, X.; Shi, P.; Wu, L.; Song, Y.D. A novel control design on discrete-time takagi–sugeno fuzzy systems with time-varying delays. IEEE Trans. Fuzzy Syst. 2013, 21, 655–671. [Google Scholar] [CrossRef]
  17. Su, X.; Wu, L.; Shi, P.; Song, Y.D. A novel approach to output feedback control of fuzzy stochastic systems. Automatica 2014, 50, 3268–3275. [Google Scholar] [CrossRef]
  18. Liu, C.; Zou, Z.J.; Yin, J.C. Path following and stabilization of underactuated surface vessels based on adaptive hierarchical sliding mode. Int. J. Innov. Comput. Inf. Control 2014, 10, 909–918. [Google Scholar]
  19. Phillips, C.L.; Nagle, H.T. Digital Control System Analysis and Design; Prentice Hall: Englewood Cliffs, NJ, USA, 1984; pp. 198–201. [Google Scholar]
  20. Astrom, K.J.; Wittenmark, B. Adaptive Control, 2nd ed.; Addison Wesley: Reading, MA, USA, 1995; pp. 49–55. [Google Scholar]
  21. Xu, X. Discrete time mixed LQR/H∞ control problems. In Discrete Time Systems; Jordán, M.A., Ed.; InTech: Rijeka, Croatia, 2011. [Google Scholar]
  22. Texas Instruments Inc. Available online: http://www.ti.com (accessed on 30 November 2014).

Share and Cite

MDPI and ACS Style

Li, J.-H.; Chiou, J.-S. Digital Control Analysis and Design of a Field-Sensed Magnetic Suspension System. Sensors 2015, 15, 6174-6195. https://doi.org/10.3390/s150306174

AMA Style

Li J-H, Chiou J-S. Digital Control Analysis and Design of a Field-Sensed Magnetic Suspension System. Sensors. 2015; 15(3):6174-6195. https://doi.org/10.3390/s150306174

Chicago/Turabian Style

Li, Jen-Hsing, and Juing-Shian Chiou. 2015. "Digital Control Analysis and Design of a Field-Sensed Magnetic Suspension System" Sensors 15, no. 3: 6174-6195. https://doi.org/10.3390/s150306174

Article Metrics

Back to TopTop