Research Article: Design of A PID Controller For A Linearized Magnetic Bearing
Research Article: Design of A PID Controller For A Linearized Magnetic Bearing
Research Article
Design of a PID Controller for a Linearized Magnetic Bearing
Copyright © 2015 Theodore K. Psonis et al. This is an open access article distributed under the Creative Commons Attribution
License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly
cited.
This paper presents the study of magnetic bearings regarding a linear model. Initially, the advantages of magnetic bearings are
referenced, in relation to the existing technology. Subsequently, the linearized model of the system is presented and the need for
closed loop and control of the system is clarified. This need leads to further analysis of linear controllers like P, I, D, PI, PD, and
PID. For each of them, the stability of closed loop system is studied, using the characteristic equation of the system and the Routh-
Hurwitz criterion. To this end, the boundary conditions for the existence of the stability of each of them are found and presented.
After finding the controllers’ characteristic parameters which could provide stability to the system, simulation tests with existence
of white noise follow. Finally, the proposed PID controller performance is examined, based on existing laboratory data, and results
concerning the stability of this controller are presented.
Noise
Slider X KSD X
++
Transfer function of Scope
Input + Controller
gain − magnetic bearing gain
with 𝑝 being the number of poles bearing, 𝑊 × 𝑙 the gasket- Table 1: Effect of controllers in the system.
gap magnet shaft, and 𝑘𝑥 the force-displacement factor.
Controller Rising Rise Restoration Permanent
2 ⋅ 𝐿 0 ⋅ cos (𝜋/𝑝) time time error
𝑘𝑥 = ⋅ 𝐼bias 2 N/m. (6) Minor
𝑔2 Proportional Reduction Increase Reduction
change
The transfer function of the magnetic bearing following the Integral Reduction Increase Increase Elimination
Figure 2 can be written as Minor Minor
Derivative Reduction Reduction
change change
𝐾𝑓𝑐𝑓
. (7)
𝑚 ⋅ 𝑠2 − 𝑘𝑥
3.4. Proportional-Differential Controller (PD). It has as a
Neglecting unbalance and gyroscopic forces, (7) can result the reduction of the rise and the reduction of the
be transformed in the Laplace domain, giving the transfer restoration time. But it has a little effect on the rise time and
function: the steady-state error.
𝑋 (𝑠) 𝐾𝑓𝑐𝑓
= . (8) 3.5. Proportional-Integral (PI). It has as a result the elimina-
𝑋 (𝑠) 𝑚𝑠2 − 𝑘𝑥 tion of the permanent error and reducing the rising time but
The poles of the transfer function that correspond to an greatly increases the restoration time.
unstable system are 𝑆1,2 = ±√𝑘𝑥 /𝑚, and using these poles,
the AMB plant is an unstable system. 3.6. Proportional-Integral-Differential Controller (PID). It has
For this reason a closed loop control scheme is necessary. as a result the elimination of the permanent error and the
rise. Simultaneously it achieves the reduction of rising and
restoration time [16, 17].
3. Considerations of PID Control
The closed loop system can be stable in the presence of a 3.7. Proportional Controller (P). Assuming the existence of
controller. In linear models the most common and effective proportional control, the system is as follows:
controllers are the P, I, D, PI, PD, and PID. Each of these 𝑋 𝐾P ⋅ 𝐾I
controllers has its own advantages. These features will be = . (9)
𝑋 𝑚 ⋅ 𝑠2 + 𝐾P ⋅ 𝐾I − 𝑘𝑥
mentioned below.
To ensure system stability, the gain of the proportional
3.1. Proportional Controller (P). The controller output is controller must issue the following condition:
proportional to the error, contributes to the reduction of the 𝐾P × 𝐾𝑓𝑐𝑓 − 𝐾𝑥 ≥ 0 ⇒
rise time, and reduces but never eliminates the steady-state
error. 𝐾𝑥
𝐾P ≥ ⇒ (10)
𝐾𝑓𝑐𝑓
3.2. Integral Controller (I). It has as a result the elimination of
the permanent fault but deteriorates the transient response. 𝐾P ≥ 8875.1.
3.3. Differential Controller (D). It has the effect of increasing 3.8. Integral Controller (I). Assuming the existence of Integral
the stability of the system by reducing the rise and improving control the system is
the transient response. 𝐾𝑓𝑐𝑓 × 𝐾I
𝑋
The influence of each controller type in the individual
= 3
. (11)
characteristics of the system is shown in Table 1. 𝑋 𝑚 × 𝑠 − 𝐾𝑥 × 𝑠 + 𝐾𝑓𝑐𝑓 × 𝐾I
4 International Journal of Rotating Machinery
The roots of the denominator are The roots of the denominator are
The above inequality cannot be satisfied for any value of 𝐾𝑖 . 3.11. Proportional-Differential Controller (PD). Assuming the
So, integral control of the system is not feasible. existence of proportional-differential controller the system is
the following:
3.9. Differential Controller (D). Assuming the existence of
𝑋 (𝐾D ⋅ 𝑠 + 𝐾P ) ⋅ 𝐾𝑓𝑐𝑓
differential controller, the system becomes
= 2
. (20)
𝑋 𝑚 ⋅ 𝑠 + 𝐾𝑓𝑐𝑓 ⋅ 𝐾D ⋅ 𝑠 + 𝐾P ⋅ 𝐾𝑓𝑐𝑓 − 𝐾𝑥
𝑋 𝐾D ⋅ 𝐾𝑓𝑐𝑓 ⋅ 𝑠
= . (14) The roots of the denominator are
𝑋 𝑚 ⋅ 𝑠2 + 𝐾D ⋅ 𝐾𝑓𝑐𝑓 ⋅ 𝑠 − 𝐾𝑥
𝑠1
The roots of the denominator are 2
−𝐾𝑓𝑐𝑓 ⋅ 𝐾D + √ (𝐾𝑓𝑐𝑓 ⋅ 𝐾D ) − 4 ⋅ (𝐾𝑓𝑐𝑓 ⋅ 𝐾P − 𝐾𝑥 ) ⋅ 𝑚
2 = ,
−𝐾D ⋅ 𝐾𝑓𝑐𝑓 + √ (𝐾D ⋅ 𝐾𝑓𝑐𝑓 ) + 4 ⋅ 𝑚 ⋅ 𝐾𝑓𝑐𝑓 2⋅𝑚
(21)
𝑠1 = , 𝑠2
2⋅𝑚
(15)
2
−𝐾D ⋅ 𝐾𝑓𝑐𝑓 − √ (𝐾D ⋅ 𝐾𝑓𝑐𝑓 ) + 4 ⋅ 𝑚 ⋅ 𝐾𝑓𝑐𝑓
2 −𝐾𝑓𝑐𝑓 ⋅ 𝐾D − √ (𝐾𝑓𝑐𝑓 ⋅ 𝐾D ) − 4 ⋅ (𝐾𝑓𝑐𝑓 ⋅ 𝐾P − 𝐾𝑥 ) ⋅ 𝑚
= .
𝑠2 = . 2⋅𝑚
2⋅𝑚
To ensure system stability, the real part of these roots must
To ensure the stability of the system, the real part of these satisfy the following condition:
roots must satisfy the following inequality:
Re {𝑠1,2 } ≤ 0. (22)
Re {𝑠1,2 } ≤ 0. (16)
Case 1. If the root is negative,
The above inequality cannot be satisfied for any value of 𝐾D . 2
So, differential control for our system is not possible. (𝐾D ⋅ 𝐾𝑓𝑐𝑓 ) − 4 ⋅ 𝑚 ⋅ (𝐾P ⋅ 𝐾𝑓𝑐𝑓 − 𝐾𝑥 ) < 0
2 (23)
(𝐾D ⋅ 𝐾𝑓𝑐𝑓 ) − 4 ⋅ 𝑚 ⋅ 𝐾𝑥
3.10. Proportional-Integral Controller (PI). Assuming the ⇒ > 𝐾P .
existence of proportional-integral controller the system 4 ⋅ 𝑚 ⋅ 𝐾𝑓𝑐𝑓
becomes
With negative discriminant,
𝑋 𝐾𝑓𝑐𝑓 ⋅ (𝐾I + 𝑠 ⋅ 𝐾P )
= . (17) −𝐾D ⋅ 𝐾𝑓𝑐𝑓
𝑋 𝑚 ⋅ 𝑠3 + (𝐾𝑓𝑐𝑓 ⋅ 𝐾P − 𝐾𝑥 ) ⋅ 𝑠 + 𝐾𝑓𝑐𝑓 ⋅ 𝐾I Re {𝑠1,2 } = ⇒ 𝐾D ≥ 0. (24)
2⋅𝑚
International Journal of Rotating Machinery 5
Gain 1
ki X
X .5917 +− PID(S) − ++ Ksn
m · s2 + −Kx
Constant Slider gain Scope
PID
controller
Transfer function
i control (A)
10
5
0
−5
−10
0 10 20 30 40 50 60 70 80 90 100
Time (s)
Figure 4: Response with P controller with proportional gain of 8875.1 and white noise of 0.01 volts.
Figure 5: System response with P controller with proportional gain of 8875.1 and white noise of 0.001 volts.
for the proportional gain 22.1426, for the integral gain 23.2457, Sequentially, the obtained results are shown in Figures 14 and
and for the differential gain 283.4574. The results are shown 15.
in Figures 12 and 13.
Also form Figures 12 and 13 the obtained values could 5. Control Investigation Using
not be accepted. In an effort to optimize the controller, the Experimental Data
gains were changed. The corresponding values have occurred:
(i) of the proportional gain as 319.0187, (ii) of the integral After choosing a PID controller that satisfies the stability
gain as 1273.2977, and (iii) of the differential gain as 7.2565. criteria while giving a satisfactory response rate, the system
International Journal of Rotating Machinery 7
Figure 6: System response with P controller with proportional gain of 12000 and white noise of 0.01 volts.
Figure 7: System response with P controller with proportional gain of 12000 and white noise of 0.001 volts.
i control (A)
2
1
0
−1
−2
0 10 20 30 40 50 60 70 80 90 100
Time (s)
Figure 8: System response with PD controller with proportional gain of 12.2083 and gifferential gain of 1.9875 and white noise of 0.01 volts.
has been tested using experimental noise data [7]. This data has been chosen is shown in Figure 18. This figure shows that
consists of recorded noise in a range of 0.0048 volts. The the rise time and the recovery time are very small (rise time <
PID parameters were found for the proportional gain to be 0.002 sec, recovery time < 0.015 sec); simultaneously steady-
319.0187, for the integral gain to be 1273.2977, and for the state gain is very small. The results corresponding to the above
differential gain to be 7.2565. Several values have been tested PID values are shown in Figures 16 and 17.
for the gains and corresponding curves of reference tracking. In the next step a fastest controller must be found. So, the
The above values of gains have been selected as they give following PID controller was constructed, with the following
faster response with low current. The faster response which reference tracking which as it is shown in Figure 18.
8 International Journal of Rotating Machinery
−0.5
0 10 20 30 40 50 60 70 80 90 100
Time (s)
Figure 9: System response with PD controller with proportional gain of 12.2083 and differential gain of 1.9875 and white noise of 0.001 volts.
Figure 10: System response with PD controller with proportional gain of 192.8569 and differential gain of 7.8867 and white noise of 0.01 volts.
The proportional gain is 1526.6269, the integral gain is while the rotor center remains low. So, these PID values can
13330.5096, and the differential gain is 15.8724. Using the be considered as suitable.
above PID values, the system response is shown in Figure 19.
It is depicted from Figure 19 that the proposed PID values 5.1. System Stability. The stability of the system can also be
lead to a constant gain and relative small control currents proved by the mathematical study of the transfer function of
the closed loop system with the above controller PID values:
𝑋
𝑋
(32)
[𝑠2 (𝐾P + 𝑁 ⋅ 𝐾D ) + 𝑠 (𝐾P ⋅ 𝑁 + 𝐾I ) + 𝐾I ⋅ 𝑁] ⋅ 𝐾𝑓𝑐𝑓 ⋅ 𝑘sn
= ,
𝑚 ⋅ 𝑠4 + 𝑁 ⋅ 𝑚 ⋅ 𝑠3 + ((𝐾P + 𝑁 ⋅ 𝐾D ) ⋅ 𝐾𝑓𝑐𝑓 ⋅ 𝑘sn − 𝑘𝑥 ) 𝑠2 + ((𝐾P ⋅ 𝑁 + 𝐾I ) ⋅ 𝐾𝑓𝑐𝑓 ⋅ 𝑘sn − 𝑘𝑥 ⋅ 𝑁) ⋅ 𝑠 + 𝐾𝑓𝑐𝑓 ⋅ 𝐾I ⋅ 𝑁 ⋅ 𝑘sn
where the proportional gain is 1526.6269, the integral gain is 𝑃3 = −1128.92409 + 1177.08749 ∗ 𝑖,
13330.5096, and the differential gain is 15.8724.
𝑃4 = −1128.92409 − 1177.08749 ∗ 𝑖.
The poles of the above transfer function are
(33)
The transfer function which appears in (32) has 4 poles,
𝑃1 = −9.71450, of which 2 are real and 2 are complex. All of them have
negative real part, which means that they are in the left
𝑃2 = −90.13387, half-plane. This is a necessary and sufficient condition for
International Journal of Rotating Machinery 9
−0.5
0 10 20 30 40 50 60 70 80 90 100
Time (s)
Figure 11: System response with PD controller with proportional gain of 192.8569 and differential gain of 7.8867 and white noise of 0.001
volts.
Figure 12: System response with PID controller with proportional gain of 22.1426, integral gain of 23.2457, and differential gain of 283.4574
and white noise of 0.01 volts.
−0.5
0 10 20 30 40 50 60 70 80 90 100
Time (s)
Figure 13: System response with PID controller with proportional gain of 22.1426, integral gain of 23.2457, and differential gain of 283.4574
and white noise of 0.001 volts.
system stability. Observing the real poles of the system, it of the system have small ratio of the real to the imaginary
is perceived that the system has quick response as these part. This helps to cancel the oscillation of the system. All
two poles have not an imaginary part (𝑃1 = −9.7145, the above are perceived by observing Figure 19 which is the
𝑃2 = −90.13387). Simultaneously the two complex poles system response with PID controller.
10 International Journal of Rotating Machinery
Figure 14: System response with PID controller with proportional gain of 319.0187, integral gain of 1273.2977, and differential gain of 7.2565
and white noise of 0.01 volts.
−0.5
0 10 20 30 40 50 60 70 80 90 100
Time (s)
Figure 15: System response with PID controller with proportional gain of 319.0187, integral gain of 1273.2977, and differential gain of 7.2565
and white noise of 0.001 volts.
6. Conclusion I: Integral
𝐼bias : Current bias
In this paper the control of a linear model of a magnetic 𝐾D : Derivative gain
bearing is presented. Τhe equations of the closed loop systems 𝐾I : Integral gain
with the individual linear controllers have been analyzed and
𝐾𝑓𝑐𝑓 : Force-current factor
the conditions for control stability have been investigated.
𝐾P : Proportional gain
From the above analysis, the control performance of the
magnetic bearing has been studied with a linear model and 𝐾𝑥 : Force-displacement factor (stiffness coefficients)
three types of controllers, P, PD, and PID. Subsequently, 𝑙: Stack length
these three controllers have been simulated and characteristic 𝐿 0: Nominal inductance
results have been derived with the presence of white noise. 𝑚: Mass of shaft
Then, in order to avoid large values in the associated gains, 𝑁: Number of turns
while keeping the system within certain limits, the PID con- P: Proportional
troller has been selected. For this purpose the corresponding 𝑝: Number of pole bearings
gains have been selected in order to satisfy the required PD: Proportional derivative
boundary conditions. Then the specific controller has been PI: Proportional integral
tested through simulation. Finally, the mathematical model PID: Proportional integral derivative
was studied and the stability of the controller was proved.
𝑆: Cross-sectional area of flux path
𝑊: Weight of shaft
Nomenclature 𝑊 × 𝑙: Gasket-gap magnet shaft
D: Derivative 𝜃𝑡 : Angle between shaft and electromagnet (Figure 1),
𝐹1 : Force from electromagnet 𝜃𝑡 = 25 deg
𝑔: Acceleration of gravity 𝜇0 : Permeability of free space.
International Journal of Rotating Machinery 11
Figure 16: System response with PID controller with proportional gain of 319.0187, integral gain of 1273.2977, and differential gain of 7.2565
and white noise of 0.001 volts.
Figure 17: System response to enforced changes of the 𝑥 position. System with PID controller with proportional gain of 319.0187, integral
gain of 1273.2977, and differential gain of 7.2565 and white noise of 0.001 volts.
1.4
1.2
1
Amplitude
0.8
0.6
0.4
0.2
0
0 0.002 0.004 0.006 0.008 0.01 0.012 0.014 0.016 0.018
Time (s)
Block response
Tuned response
Figure 19: System response with PID controller with proportional gain of 1526.6269, integral gain 13330.5096, and differential gain of 15.8724
and white noise of 0.01 volts.
Rotating
Machinery
International Journal of
The Scientific
Engineering Distributed
Journal of
Journal of
Journal of
Control Science
and Engineering
Advances in
Civil Engineering
Hindawi Publishing Corporation Hindawi Publishing Corporation
http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014
Journal of
Journal of Electrical and Computer
Robotics
Hindawi Publishing Corporation
Engineering
Hindawi Publishing Corporation
http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014
VLSI Design
Advances in
OptoElectronics
International Journal of
International Journal of
Modelling &
Simulation
Aerospace
Hindawi Publishing Corporation Volume 2014
Navigation and
Observation
Hindawi Publishing Corporation
http://www.hindawi.com Volume 2014
in Engineering
Hindawi Publishing Corporation
http://www.hindawi.com Volume 2014
Engineering
Hindawi Publishing Corporation
http://www.hindawi.com Volume 2014
Hindawi Publishing Corporation
http://www.hindawi.com
http://www.hindawi.com Volume 2014
International Journal of
International Journal of Antennas and Active and Passive Advances in
Chemical Engineering Propagation Electronic Components Shock and Vibration Acoustics and Vibration
Hindawi Publishing Corporation Hindawi Publishing Corporation Hindawi Publishing Corporation Hindawi Publishing Corporation Hindawi Publishing Corporation
http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014