Professional Documents
Culture Documents
net/publication/328578498
CITATIONS READS
54 1,109
3 authors:
Hassan Hosseinnia
Delft University of Technology
160 PUBLICATIONS 1,717 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
Constant gain Lead phase for precision motion control View project
All content following this page was uploaded by Ali Ahmadi Dastjerdi on 02 November 2018.
Abstract
1. Introduction
∗ Correspondingauthor
Email address: s.h.hosseinniakani@tudelft.nl (S. Hassan HosseinNia)
2
that tuning of FO-PID controllers is not straightforward. Consequently, find-
ing a proper tuning method for FO controllers has been the subject of several
investigations in order to promote usage of these controllers in industry. The
existed tuning methods for FO-PID controllers fall into three categories namely
auto-tuning, optimal tuning, and robust tuning methods [40, 41, 35, 42, 43, 44,
45, 46, 47, 48, 37, 49, 16, 50].
In [40, 41, 42], auto-tuning of FO-PID controllers was studied using the relay
test. Although these auto-tuning methods are very useful for practical applica-
tions, they are hardly used in motion control industry where high bandwidths
(cross-over frequency) are required. However, they are very effective tools for
process systems (first order plus delay plants).
Some investigations were devoted to finding a new tuning method by utilizing
optimization algorithms like particle swarm optimization and genetic algorithm
[43, 44, 45, 46, 47]. In this way, different objective functions and constraints
are considered for tuning of FO-controllers [48, 37, 49, 16]. These methods help
controllers to work at their optimal point. However, these are very complex
and in most of them, the dynamics of the system must be known. So, any
uncertainty in the parameters of the system may even lead to instability.
In addition, some research has resulted in tuning methods based on H∞
constraints in which the performance constraints such as stability, bandwidth,
robustness, and precision are solved by using mathematical methods such as
the graphical method, the Newton-Raphson numerical iterative algorithm and
so on [51, 52, 53, 35]. Although these methods satisfy all requirements needed
by the designer, solving these nonlinear equations is very difficult, and in some
cases, it is not possible to find the answer. Moreover, in some of these methods,
the dynamic parameters of the plant must be determined which leads to several
problems. In some cases, loop-shaping is used for solving these performance
constraints. For instance, in [36], loop-shaping methods are applied to tune
an FO-PID controller for a precision motion system. Loop-shaping tools and
an optimization method are used to achieve a high bandwidth. However, this
method has only been applied in a specific application and it cannot be directly
3
used for general purposes.
To recap, most of the existing tuning methods are very complex and each
of them is suitable only for a specific class of systems. Hence, there is a big
need for a widely applicable simple rule for FO-PID controllers particularly for
motion control applications (high bandwidth and low time delay). As it has
been discussed, one of the most important reasons for the widespread usage
of IO-PID controllers in industry is that a lot of simple tuning methods exist
for these controllers. One of the simplest and most popular tuning methods for
IO-PID controllers used in motion control industry is the rule of thumb which is
proposed by using loop-shaping principles [36, 54]. So, it can be anticipated that
IO-PID controllers will be substituted with FO ones if the design of FO-PID
controllers becomes as easy through a simple tuning method.
As discussed before, a lot of research has already been done to show that
FO-PID controllers outperform integer order ones [25, 27, 18, 35, 37, 55, 21, 22,
23, 38, 6, 39]. However, FO-PID controllers are not commonly used in industry
since there is a lack of a simple tuning rule for such controllers. In this line, the
scope of this article is to use loop-shaping tools to achieve a straightforward and
simple tuning method for FO-PID controllers. In other words, the rule of thumb
which is introduced for IO-PID controllers [36, 54] will be generalized for FO-
PID controllers in order to ensure utilization of FO-PID in more applications
including motion control.
The basis and methodology used to develop the tuning method are elabo-
rated in section 2. Next, the proposed tuning method is evaluated on a high-tech
precision positioning system. Finally, some remarks for further development of
this method are given in section 4.
2. Tuning method
In this section, our new tuning method for FO-PID controllers is elaborated.
Since the rule of thumb is widely utilized in industry, the proposed method is
compatible with this to ensure that industry uses it. Therefore, it is necessary
4
to introduce the rule of thumb [54] for IO-PID controllers briefly. It can be said
that our tuning method is obtained by generalizing the rule of thumb.
One of the simplest approaches for tuning PID controllers defined as:
lead
compensator
PI Block z }| {
1 + ωsd
z }| {
ωi
CIO (s) = kp (1 + ) ( ) (1)
s 1 + ωst
• Having high gain at low frequencies for better tracking and disturbance
rejection
In this respect, the PI block of controller (1) improves the disturbance rejection
and tracking.
5
100
80
Integration
60 Part
40
Gain slope -1
Lead-Lag
Magnitude (dB)
20
Compensator
0
Gain slope -2
-20
Low-Pass
-40 Filter
-60
-100
-80
-100
Tracking and Noise
Stability rejection
disturbance rejection
-120
Phase(°)
-140
-160
-180
Low Frequency-----------------------Bandwidth--------------------High frequency
Moreover, the lead compensator part of controller (1) is used to achieve the
phase (ϕ) at the cross-over frequency (ωc ). The phase provided by this controller
at the cross-over frequency is equal to:
ωc ωc ωi
ϕ = tan−1 ( ) − tan−1 ( ) − tan−1 ( ) (2)
ωd ωt ωc
According to the rule of thumb [36, 54], the tuning knobs in above equations
are set to:
1
kp = (3)
3|G(ωc )|
ωc
ωd = (4)
3
ωt = 3ωc (5)
6
ωc
ωi = (6)
10
where G(ω) is the plant transfer function. It is obvious that, in this tuning
method, all the control parameters are directly related to the cross-over fre-
quency. It is important to mention that factor 3 in kp, ωd and ωt are chosen
to provide about 53◦ phase at the cross-over frequency and, if a higher phase
margin is required, this factor can increased. This method has been used in
industry since it is simple and reliable. However, it must be recalled that this
is not an optimal tuning method.
Similar to the rule of thumb for IO-PID controllers, the cut-off frequencies are
substituted with:
ωc
ωd = (8)
a
ωt = aωc (9)
ωc
ωi = (10)
b
Now, controller (7) becomes:
as
ωc λ 1 + ωc µ
CF O (s) = kp (1 + ) ( ) (11)
bs 1 + aωs c
where:
(i) (a, b, λ, µ) ∈ R,
7
(ii) µ ∈ [0, 2],
(iii) λ ∈ [1, 2],
(iv) 2 ≤ a ≤ b,
(v) b ≥ 5,
(vi) |GC(ωc )| = 1,
(vii) 3 ≤ aµ = Q ≤ 9.
Looking at the controller (11), it is understood that the cross-over frequency (ωc )
is the geometric mean of the corner frequencies of the lead compensator. Con-
sequently, the maximum phase of the controller is at the cross-over frequency.
Using constraint (vi), we get:
ωc λ |G(ωc )|−1 ωc λ
limω→0 |CF O (ω)| = kp ( bω ) = Q ( bω )
as
|G(ωc )|−1
(13)
limω→∞ |CF O (ω)| = kp ( ωc
s
µ
) = Q (a2 )µ = |G(ωc )|−1 Q
aωc
The bode diagram of the controller (11) is shown in figure 2 and relations
between controller performances and tuning knobs are summarized in table 1:
Performance Dependency
Phase margin
Stability ωd , ωt , µ ∝ Q
at the bandwidth
Low gain
Noise rejection kp , ωd , ωt , µ ∝ Q
at high frequencies
8
I action P action D action T action
Magnitude(dB)
- 20dB/decade 20dB/decade
90
- 90
i d c t
Frequency(rad/s)
9
and robustness. Applying the rule of thumb ((4) and (5)), the parameter Q can
be found to be 3 and 9 for the first and second order lead filter, respectively. On
the one hand, for Q less than 3, robustness and stability features of the controller
are not in an appropriate shape; on the other hand, for Q more than 9, precision
is unfavourable. Hence, it is rational to constrain the value of Q in the range of
[3, 9] (i.e. constraint(vii)). As shown in figure 2, constraint (iv) is used to avoid
the differentiator cancelling the integration. Constraints (iii) and (v) are to be
considered for tuning the parameters of the lag compensator. The former one is
used to avoid losing disturbance rejection and tracking performance compared
to lag compensator of IO-PID controllers. The latter one is supposed to give
flexibility to designers in order to tune a so that it satisfies constraint (iv) (i.e
a ≤ b).
Q2
Q1
0
Phaseo
-90
c
Frequency(rad/s)
Figure 3: Comparison of phase behavior of the controller for a fixed value of µ with different
value of Q (Q2 > Q1 )
10
Q1
Magnitude(dB) Q2
c
Frequency(rad/s)
Figure 4: Comparison of magnitude behavior of the controller for two values of Q (Q2 > Q1 )
All in all, for tuning this controller, there are four parameters (Q, a, b, λ)
which must be set. In the following sections, the tuning procedure of each
part including lag and lead compensator are elaborated separately. Finally, the
tuning procedure is summarized in section 2.4.
11
the tuning parameters of the lag compensator are obtained as:
30 3 ≤ Q ≤ 6
Q
b= (14)
5 6<Q≤9
1 3≤Q≤6
λ= (15)
Q
log 6<Q≤9
2 3
Figure 5 shows (b, λ) versus Q parameter. For detailed information about how
equations (14) and (15) are derived, see Appendix A. As defined before, equation
(14) has to satisfy the constraint (iv), hence:
3 ≤ Q ≤ 9
a≤5
(16)
3 ≤ Q ≤ 30
a>5
a
1.6 10
9.5
1.5 9
8.5
1.4
8
7.5
1.3
7
b
1.2 6.5
6
1.1 5.5
5
1 4.5
4
0.9 3 3.5 4 4.5 5 5.5 6 6.5 7 7.5 8 8.5 9
3 3.5 4 4.5 5 5.5 6 6.5 7 7.5 8 8.5 9 Q
Q
12
Equation (18) can be simplified as:
(0.2Q + 0.42)F (a, 3) 3≤Q≤6
ϕLead ≈ (19)
(0.12Q + 0.92)F (a, 3) 6<Q≤9
where F (a, 3) (figure 6) is ϕLead for Q = 3 (For more information see Appendix
B). Finally, the phase of the controller at the cross-over frequency can be ob-
tained by adding phase of the lead compensator to the phase of lag compensator
as (see Appendix B):
(0.2Q + 0.42) F (a, 3) − 6.2
3≤Q≤6
ϕC = ϕLead + ϕIP ⇒ ϕC ≈
(0.12Q + 0.92) F (a, 3) − 8.16
6<Q≤9
(20)
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
40
39
38
37
2 2.5 3 3.5 4 4.5 5 5.5 6 6.5 7 7.5 8 8.5 9 9.5 10
a
The maximum error of the phase of the controller at the cross-over frequency
due to these simplifications is less than 3◦ which is negligible (see Appendix B).
Hence, we can claim that the phase of the controller at the cross-over frequency
for each value of a and Q can be found by using equation (20) and figure 6.
13
2.4. Design procedure summary
In the previous sections, the lag and lead elements are separately tuned in a
simple manner. Now, it is possible to present the new complete simple tuning
method. The procedure for tuning the FO-PID controller for a given ωc and ϕm
(the cross-over frequency and desired phase margin respectively) is as follows:
14
Determine values of
c and m
Calculating c using
equation (21)
Guess parameter a
Setting parameters
b, , and k p
Checking precision
Decrease value of a
requirements
Are they
satisfied?
No
Yes
Approximation
fractional order part
Finish
Figure 7 shows the tuning procedure completely. Although this is not an opti-
mal tuning method, it is a simple and straightforward rule for tuning FO-PID
controllers for industrial applications.
3. Practical example
15
is considered and used for controlling the position of mass ‘3’ attached to the
same actuator which results in a SISO system.
Figure 8: 3 DOF planar precision positioning ‘Spyder’ stage. Voice coil actuators 1A, 1B and
1C control 3 masses (indicated as 3) which are constrained by leaf flexures. The 3 masses are
connected to central mass (indicated by 2) through leaf flexures. Linear encoders (indicated
by 4) placed under masses ‘3’ provide position feedback
To identify the plant and implement the controller, an FPGA module (Myrio
from National Instruments) has been used running on Labview 2016 which leads
to a fast real-time control. LM388 linear power amplifier is utilized to drive
the Lorentz actuator and Mercury M2000 linear encoder is used to obtain po-
sition feedback with a resolution of 0.1 µm. The whole setup and identified
frequency response data of the system are respectively illustrated in figure 9
and 10. Although the plant is a collocated double mass-spring system, the
identified frequency response data is well approximated by a second order mass-
spring-damper system (equation (22)) because this system has a high damping
coefficient as shown in figure 10.
Ke−τ s 105e−0.0006s
G(s) ≈ s2
= s2
(22)
2
ωn + 2ζs
ωn + 1
s
7744 + 176 + 1
16
• the phase margin: ϕm = 50◦
17
50
FRF Data
40 Fitted transfer
function
Magnitude(dB)
30
20
10
-10
200
100
Phase(°)
-100
-200
10-1 100 101 102
Frequency(Hz)
Now, the controller is tuned using the described procedure to satisfy these re-
quirements:
18
5. Other parameters including µ, kp , λ, and b are calculated utilizing equa-
tions (12), (12), (15) and (14) respectively. Therefore, the tuning param-
eters are as follow:
• a=5
• Q=6
|G(ωc =85)|−1
• kp = Q = 0.0595
• µ = log5 6 = 1.11
• λ=1
30
• b= 6 =5
|G(ωc =85)|−1
• kp = 3 = 0.1117
ωc
• ωi = 10 = 54
ωc
• ωd = 3 = 176
19
• ωt = 3ωc = 1600
The Bode plots of the open-loop transfer functions of the system for both con-
trollers are plotted in figure 11. It is discerned from this figure that the FO-PID
has more phase margin, more phase flatness around the bandwidth, better track-
ing and disturbance rejection than IO-PID. Although at high frequencies the
performance of IO controller is slightly better than FO one, this is of less con-
cern since it can be overcome using an extra low pass filter. However, it might
slightly reduce the phase margin which is the consequence of waterbed effect.
In other words, when stability and robustness are improved, the precision will
decrease and vice versa. In addition, it is found that the IO-PID tuned by the
rule of thumb could not satisfy the phase margin requirement and this fact can
be considered as one of the advantages of the designed FO-PID over IO-PID
tuned by the rule of thumb.
Controllers ωc ϕm MM GM
◦
FO-PID 85Hz 49 3.6dB 15dB
IO-PID 85Hz 35◦ 6.1dB 13.3dB
20
FO-PID
IO-PID
60
Magnitude (dB)
40
=85 Hz
c
20
-20
180
90
Phase (°)
-90
-180
Figure 11: Frequency response of the open-loop transfer function of the system for FO-PID
and IO-PID
Now, the robustness of the systems against gain variations (i.e iso-damping)
and tracking performance are investigated practically. To obtain experimental
results, the designed controllers are discretized for implementation using Tustin
method [50, 54] with a sampling time Ts = 0.1ms. The discretized forms of the
controllers are as follows:
21
in both cases. It is deduced from figure 12 that FO-PID has less overshoot and
is more robust against gain variation within the range of 80%K to 120%K in
comparison with IO-PID controller. The tracking response and tracking error
of both controllers are depicted in figure 13 and 14. As it is shown, the FO-PID
reduces the error tracking by 30%. It is concluded that the FO-PID has better
tracking and disturbance rejection features than IO-PID controller. These facts
are predictable from figure 11 because i) open-loop transfer function FO-PID
has more phase margin and its phase is flatter near the bandwidth ii) gains of the
FO-PID at low frequency are higher than the IO one. Finally, the advantages
of FO-PID tuned by the proposed method over IO-PID tuned by the rule of
thumb are summarized as:
• Designing both controllers for the bandwidth of 85Hz, the FO-PID has
better tracking and disturbance rejection performance than integer order
one as shown in figure 13.
• The FO-PID is more robust against the gain variation as shown in figure
12 (iso-damping behaviour).
22
80
80 K=85
K=85
K=105
K=105
K=125
K=125 70
70
60
60
50
Amplitude( m)
50
Amplitude( m)
40
40
30
30
20
20
10
10
0
0 0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
Time(s)
Time(s)
600
Reference
500 FO-PID
IO-PID
499.5
400
499
498.5
200
Amplitude( m)
498
1.245 1.25 1.255 1.26 1.265
-200
-400
-600
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
Time(s)
Figure 13: Tracking performance of FO-PID and IO-PID for r = 500 sin(2πωt)
23
7
FO-PID
IO-PID
5
Amplitude( m)
0
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
Time(s)
Figure 14: Tracking error of the system for both FO-PID and IO-PID for r = 500 sin(2πωt)
4. Conclusion
24
Appendix A (lag compensator)
In this section, the tuning of lag compensator which involves setting the
values of b and λ is elaborated completely. As discussed earlier, for each value
of Q, parameters b and λ are set so that the lag compensator has the same or
better disturbance rejection capability and tracking in comparison with IO-lag
compensators which are tuned by the rule of thumb. As a result,
where (ωlow ∈ (0, ω10c )). Then, equation (26) is approximated to:
25
1. Objective function : {b}min
2. C1 : b ≥ 5
30
3. C2 : b ≥ Q
4. C3 : 3 ≤ Q ≤ 9
5. C4 : λ = log( 10b ) ( Q
3)
1 3≤Q≤6
λ= (33)
Q
log 6<Q≤9
2 3
18
17
16
15
14
13
12
11
10
9
8
7
6
5
3 3.5 4 4.5 5 5.5 6 6.5 7 7.5 8 8.5 9
Q
26
Appendix B (lead compensator)
As it has been discussed, the phase from the lead element at the cross-over
frequency can be obtained as:
1
ϕLead = 57◦ loga Q tan−1 (a) − tan−1 ( )
a
Function ϕLead can be reshaped as:
1
ϕLead = (log3 Q) 57◦ loga 3 tan−1 (a) − tan−1 ( ) = (log3 Q)F (a, 3) (35)
a
In this respect, F (a, 3) (figure (6)) is used to calculate function ϕLead using
figure (6) and equation (35) for each value of a and Q. For simplicity, it is
decided to linearize function log3 Q utilizing the least square method to get:
0.2Q + 0.42 3 ≤ Q ≤ 6
log3 Q ≈ (36)
0.12Q + 0.92 6 < Q ≤ 9
(37)
Equation (37) can be rewritten in the form of:
(0.2Q + 0.42) F (a, 3) − α(Q)
3≤Q≤6
ϕC ≈ (38)
(0.12Q + 0.92) F (a, 3) − β(Q)
6<Q≤9
1.87Q+0.12 2.18Q−1.5
where α(Q) = 0.2Q+0.42 and β(Q) = 0.12Q+0.92 . For further simplification,
functions α(Q) and β(Q) can be substituted with their average values. In other
words, R6
α(Q)dQ
α(Q) ≈ 3
≈ 6.2
R 9 6−3 (39)
β(Q)dQ
β(Q) ≈ 6
9−6 ≈ 8.16
Finally, equation (37) becomes:
(0.2Q + 0.42) F (a, 3) − 6.2
3≤Q≤6
ϕC ≈
(0.12Q + 0.92) F (a, 3) − 8.16
6<Q≤9
27
For each value of a and Q, the exact value of the phase at the cross-over fre-
quency is compared to the one obtained from approximation (equation (20))
and figure 16 shows the maximum error for each value of Q. As it is observed,
the maximum error of the phase of the controller at the cross-over frequency
due to these simplifications is less than 3◦ which is negligible.
2.5
Maximum error ( o)
1.5
0.5
0
3 3.5 4 4.5 5 5.5 6 6.5 7 7.5 8 8.5 9
Q
References
[1] A. O’Dwyer, Handbook of PI and PID controller tuning rules, World Sci-
entific, 2009.
28
[6] L. Marinangeli, F. Alijani, S. H. HosseinNia, Fractional-order positive posi-
tion feedback compensator for active vibration control of a smart composite
plate, Journal of Sound and Vibration 412 (2018) 1–16.
[13] Y. Chen, I. Petras, D. Xue, Fractional order control-a tutorial, in: Ameri-
can Control Conference, 2009. ACC’09., IEEE, 2009, pp. 1397–1411.
29
[16] C. Zhao, D. Xue, Y. Chen, A fractional order PID tuning algorithm for
a class of fractional order plants, in: Mechatronics and automation, 2005
IEEE international conference, Vol. 1, IEEE, 2005, pp. 216–221.
[18] D. Xue, Y. Chen, Fractional order calculus and its applications in mecha-
tronic system controls organizers, in: Mechatronics and Automation, Pro-
ceedings of the 2006 IEEE International Conference on, IEEE, 2006, pp.
nil33–nil33.
[23] J. Huang, Y. Chen, H. Li, X. Shi, Fractional order modeling of human oper-
ator behavior with second order controlled plant and experiment research,
IEEE/CAA Journal of Automatica Sinica 3 (3) (2016) 271–280.
30
[24] J. Wang, L. Qiao, Y. Ye, Y. Chen, Fractional envelope analysis for rolling
element bearing weak fault feature extraction, IEEE/CAA Journal of Au-
tomatica Sinica 4 (2) (2017) 353–360.
[30] A.-A. Zamani, S. Tavakoli, S. Etedali, Fractional order PID control design
for semi-active control of smart base-isolated structures: a multi-objective
cuckoo search approach, ISA transactions 67 (2017) 222–232.
31
[33] I. Petráš, Tuning and implementation methods for fractional-order con-
trollers, Fractional Calculus and Applied Analysis 15 (2) (2012) 282–303.
32
[42] B. M. Vinagre, C. A. Monje, A. J. Calderón, J. I. Suárez, Fractional PID
controllers for industry application. a brief introduction, Journal of Vibra-
tion and Control 13 (9-10) (2007) 1419–1429.
[43] J.-Y. Cao, J. Liang, B.-G. Cao, Optimization of fractional order PID con-
trollers based on genetic algorithms, in: Machine Learning and Cybernetics,
2005. Proceedings of 2005 International Conference on, Vol. 9, IEEE, 2005,
pp. 5686–5689.
33
[51] V. Feliu-Batlle, R. R. Perez, L. S. Rodriguez, Fractional robust control of
main irrigation canals with variable dynamic parameters, Control Engi-
neering Practice 15 (6) (2007) 673–686.
[55] J. Liu, T. Zhao, Y. Chen, Maximum power point tracking with fractional
order high pass filter for proton exchange membrane fuel cell, IEEE/CAA
Journal of Automatica Sinica 4 (1) (2017) 70–79.
[58] D. Laro, The design of the spider stage, Master’s thesis, TU Delft (2005).
34