Professional Documents
Culture Documents
We Are Intechopen, The World'S Leading Publisher of Open Access Books Built by Scientists, For Scientists
We Are Intechopen, The World'S Leading Publisher of Open Access Books Built by Scientists, For Scientists
We Are Intechopen, The World'S Leading Publisher of Open Access Books Built by Scientists, For Scientists
5,100
Open access books available
126,000
International authors and editors
145M Downloads
154
Countries delivered to
TOP 1%
most cited scientists
12.2%
Contributors from top 500 universities
Abstract
The novelty method of the discrete variable, fractional order PID controller is pro-
posed. The PID controllers are known for years. Many tuning continuous time PID
controller methods are invented. Due to different performance criteria there are opti-
mized three parameters: proportional, integral and differentiation gains. In the fractional
order PID controllers there are two additional parameters: fractional order integration
and differentiation. In the variable, fractional order PID controller fractional orders are
generalized to functions. Nowadays all PID controllers are realized by microcontrollers in
a discrete time version. Hence, the order functions are discrete variable bounded ones.
Such controllers offer better transient characteristics of the closed loop systems. The
choice of the order functions is still the open problem. In this Section a novelty intuitive
idea is proposed. As the order functions one applies two spline functions with bounded
functions defined for every time subinterval. The main idea is that in the final time
interval the variable, fractional order PID controller transforms itself to the classical one
preserving the stability conditions and zero steady-state error signal. This means that in
the last time interval the discrete integration order is 1 and differentiation is 1.
1. Introduction
1
Advance Innovation and Expansion of PID Controllers
There are numerous continuous and discrete-time PID and FOPID controller
synthesis methods [16, 19–31]. One should mention that the optimisation of the
closed-loop system in this case is more complicated because of the controller optimi-
zation. Apart from the three classical gains there are two additional parameters,
namely, a fractional order of differentiation and summation [32]. The FOPID control
characterizes by slow achieving the steady state and growing calculation “tail” [12].
In the paper a novelty variable, the fractional-order PID (VFOPID) [6, 28, 33–41]
controller synthesis is proposed. It consists of dividing the closed-loop system
discrete-transient time division into the finite time intervals over which are defined
fractional orders summation and differentiation functions. The main idea is that for
the final infinite interval ½kL , þ∞Þ the difference order equals 0 and the summation is
! preserving quick reaching the zero steady state value. Thus, in the VFOPID control
the disadvantages of FOPID are extracted. One should admit that in the FOPID or
VFOPID control the microcontrollers are numerically loaded.
Fractional-orders systems are characterized by the so called system “memory”.
This, in practice, means that in every step the FOPID controller computes its output
signals taking into account step-by-step linearly computed number of samples. This
causes in practice the micro-controllers realization problems. It is known as “Finite
memory principle” [12].
The paper is organized as follows. In Section 2 the basic information related to the
fractional calculus and variable, fractional order Grünwald-Letnikov backward differ-
ence is given. The main result of the paper includes Section 3. It contains the proposed
VFOPID controller synthesis method with the proposal of the order functions form.
The brief description of the controller parameters evaluation algorithm is given. The
investigations are supported by a numerical example presented in Chapter 4.
2. Mathematical preliminaries
1 for k¼0
8
<
½νðlÞ
a ðkÞ ¼ 1Þ⋯ðνðlÞ k þ 1Þ (1)
: ð 1Þk νðlÞðνðlÞ for k ∈ 1
k!
One should mention that function (1) for νðlÞ ¼ nðlÞ ¼ const ∈ 0
1 for k¼0
8
>
1Þ⋯ðn k þ 1Þ
>
nðn
>
<
a½n ðkÞ ¼ k
for k ∈ ½1, n (2)
>
> ð 1Þ !
>
0 for
:
k ∈ nþ1
The above function will be named as: the “oblivion function” or “decay function”.
2
Variable, Fractional-Order PID Controller Synthesis Novelty Method
DOI: http://dx.doi.org/10.5772/intechopen.95232
kXk0
νðkÞ
k0 Δk f ðkÞ ¼ aνðkÞ ðiÞf ðk iÞ
i¼0
2 3
f ðkÞ
(3)
i 6 f ðk 1 Þ 7
6 7
h
¼ 1 aνðkÞ ð1Þ aνðkÞ ð2Þ ⋯ aνðkÞ ðk0 Þ 6
6 7
7
6
4 ⋮ 7
5
f ðk k0 Þ
Relating to (2) as the first special case of the defined above VFOBD and a
constant order function νðkÞ ¼ ν ¼ const from (2.1) one gets the fractional-order
backward difference (FOBD). The second special case is for a constant integer order
function νðkÞ ¼ ν ¼ n ¼ const where the integer-order backward difference
(IOBD) is a classical one.
Equality (3) is valid for k, k 1, k 2, … , k0 þ 1, k0 . Hence, one gets a finite set
of equations. Collecting them in a vector matrix form one gets
GL ½νðkÞ ½νðkÞ
k0 Δk f ðkÞ¼k0 Ak f ðkÞ, (4)
where
3
Advance Innovation and Expansion of PID Controllers
where mi ≤ ni , νni,l ðkÞ ≥ νni,l 1 ðkÞ ≥ ⋯νi,1 ðkÞ ≥ νi,0 ðkÞ ¼ 0, μmi,l ðkÞ ≥ μmi,l 1 1 ðkÞ ≥ ⋯
μi,1 ðkÞ ≥ μi,0 ðkÞ ≥ 0, ai,l and bi,l are constant coefficients for l ¼ 0, 1, ⋯, ni and l ¼
0, 1, ⋯, mi , respectively. It is assumed that a0,n0 ¼ 1.
According to the notation (5) Eq. (7) takes the form
ni i m
X ½νi,l ðkÞ X ½μi,l ðkÞ
ai,lk0 Ak yðkÞ ¼ ai,lk0 Ak uðkÞ (8)
l¼0 l¼0
The vector u j ðkÞ satisfies the condition u j ðkÞ ¼ 0k for k < k0 . In the general solution
h iT
of (8) to the assumed u j ðkÞ and initial conditions vector yi,k0 1 ¼ yi,k0 1 yi,k0 2 ⋯
(T denotes the transposition) must be taken into account with ∞ ¼ k00 < 0 ≤ k0 ≤ k.
Then, the infinite number of initial conditions (8) are formed in the following vector
2 3
yi,k0 1
yi,k0 ¼ 4 yi,k0 (9)
6 7
1 2 5
⋮
n
Xi 1
4
Variable, Fractional-Order PID Controller Synthesis Novelty Method
DOI: http://dx.doi.org/10.5772/intechopen.95232
In the transfer functions defined by the one-sided Z transform one assumes zero
initial conditions. Following this assumption equality (11) simplifies to
ni mi
½ν ðkÞ ½μ ðkÞ
X X
aik0 Ak i yðkÞ ¼ bik0 Ak i uðkÞ (13)
l¼0 l¼0
Defining matrices
ni
½νP ðkÞ ½ν ðkÞ
X
k0 Dk ¼ aik0 Ak i (14)
l¼0
mi
½μ ðkÞ ½μ ðkÞ
X
k0 N k
P
¼ bik0 Ak i (15)
l¼0
one gets
½νðkÞ
Under assumption (12) k0 Dk is invertible, so for k0 ¼ 0 one can write
h i 1
½νP ðkÞk
yðkhÞ ¼ 0D N ½μP ðkÞk uðkhÞ (17)
0
Denoting
h i
½νP ðkÞ ½νP ðkÞ ½μðkÞ
0 Gk ¼ 0 Dk Nk (18)
0
½ν ðkÞ,μP ðkÞ
yðkhÞ¼0 Gk P uðkhÞ (19)
or for simplicity
½ν ðkÞ,μP ðkÞ
Go ðkhÞ¼0 Gk P (20)
Remark 2.1. Though the relation (19) looks similar to the classical discrete trans-
fer function it is different by the real discrete variables. It relates discrete SISO
systems by vectors and matrices related to its dimensions k þ 1 ∈ 0 .
2.4.1 VFO_PID
μðkÞ νðkÞ
uðkhÞ ¼ K P eðkhÞ þ K I0 Δk eðkhÞ þ K D0 Δk eðkhÞ (21)
5
Advance Innovation and Expansion of PID Controllers
Figure 1.
Closed-loop system.
½ν ðkÞ ½ μC ðkÞ
uðkhÞ ¼ K P 1k eðkhÞ þ K D0 Gk C eðkhÞ þ K I0 Gk eðkhÞ (22)
where νC ðkÞ, μC ðkÞ ≥ 0 and controlling and error signals are denoted as uðkÞ and
eðkÞ, respectively. Then, denoting.
Remark 2.2. The plant may be described by classical integer order, fractional or
even variable, fractional - order difference equations. The matrix - vector descrip-
tion used makes it possible.
½ν ðkÞ ½ μC ðkÞ
CðkhÞ ¼ K P 1k þ K D0 Gk C þ K I0 Gk (24)
HðkhÞ ¼ 1k (26)
The closed-loop system is presented in Figure 1 from which one gets the fol-
lowing relations
where
6
Variable, Fractional-Order PID Controller Synthesis Novelty Method
DOI: http://dx.doi.org/10.5772/intechopen.95232
In the synthesis of the classical PID controller there are three parameters to evalu-
ate. Namely, K , K I , K D known as the proportional, integral and differential gains. In the
fractional-order PID controllers there are two additional parameters: the differentia-
tion order νðkhÞ ∈ þ and the integration one μðkhÞ ∈ þ . In the variable, fractional-
order PID controller the mentioned orders are generalized to functions. This means
that there are three constant coefficients and two discrete variable functions to find
In the rejection of the external disturbation one can assume that rðkhÞ ¼ 0 so
Eq. (29) simplifies to
Usually the sensor matrix HðkhÞ is treated as constant, by assumption that sensors
do not introduce its own dynamics to the system. Hence, HðkhÞ ¼ H ¼ const. It may
be assumed that H ¼ h0 1k or further, for h0 ¼ 1, formula (30) takes a form
The optimal parameters (29) are evaluated due to the assumed optymality cri-
terion. The most popular is so called ISE one (Integral of the Squared Error) or in
the discrete-system case: Sum of the Squared Error (SSE).
kX
m ax
In the proposed VFOPID controller synthesis method with partially intuitive and
supported by closed-loop systems synthesis experience the classical optimisation
due to the performance criterion (32) is performed. The pre-defined differentiation
and integration order functions orders are as follows
νðkhÞ ≥ 0 (34)
7
Advance Innovation and Expansion of PID Controllers
and
μðkhÞ ≤ 0 (36)
μ1 ðkhÞ for k ∈ ½0, kM1 Þ
8
>
>
< μ2 ðkhÞ for k ∈ ½kM1 , kM2 Þ
>
>
>
>
μðkhÞ ¼ ⋮ (37)
μN ðkhÞ for k ∈ ½kMM 1 , kM MÞ
>
>
>
>
>
>
1 for k ∈ ½kMM , þ∞Þ
:
2. Applying the classical Gauss algorithm find a minimal SSE performance index
value alongside the first variable (eg. K_P),
Remark 3.1. Algorithm described above can be applied also to the classical dis-
crete PID controller with three parameters.
4. Numerical example
b0
Go ð sÞ ¼ (38)
s2 þ a1 s þ a0
where
• a1 ¼ 0:5
• a0 ¼ 0:1
• b0 ¼ a0
8
Variable, Fractional-Order PID Controller Synthesis Novelty Method
DOI: http://dx.doi.org/10.5772/intechopen.95232
The plant is discretized with the sampling time h ¼ 0:5 and a VFOPID controller
is applied
1hÞ
1 þ d1 ed2 ðkh for k ¼ ½0, 10
(
μ1 ðkhÞ ¼
μðkhÞ ¼ (40)
1 for k ∈ ð10, þ∞Þ
• K P ¼ 1:000
• K i ¼ 0:514
• K D ¼ 0:890
νI (kh)(bk − .), νF (kh)(bk − o), μ I (kh)(red − .), μ F (k h))(red − o)(red)
1.5
0.5
−0.5
−1
−1.5
0 5 10 15 20 25
kh
Figure 2.
VFOPID controller order functions: νðkhÞ (in black) and μðkhÞ (in red).
9
Advance Innovation and Expansion of PID Controllers
50
45
40
vI (kh)(black), vF (kh)
35
30
25
20
15
10
0
0 5 10 15
kh
Figure 3.
VFOPID (in red) and IOPID (in black) controller unit step response.
• d1 ¼ 0:35
• d2 ¼ 0:5
The VFOPID controller order functions are plotted in Figure 2 whereas the PID
and VFOPID controllers unite step responses are given in Figure 3.
The achieved VFOPID controller synthesis result is compared with the classical
discrete-time PID controller optimized due to criterion (30). The optimal
parameters are
• K P ¼ 1:00
• K i ¼ 0:81
• K D ¼ 0:90
Figure 4 contains the closed - loop systems with PID (in blue) and VFOPID (in
red) controllers unit step responses. There is included a plant unit step response of
the plant (in black.)
In Figure 5 the controlling signals are presented (PID - in black, VFOPID - in
red). The controlling signals have typical shapes: first differentiation action and
10
Variable, Fractional-Order PID Controller Synthesis Novelty Method
DOI: http://dx.doi.org/10.5772/intechopen.95232
1.4
yo (kh)(bk), ycI (kh)(b), ycF (kh)(rd)
1.2
0.8
0.6
0.4
0.2
0
0 5 10 15
kh
Figure 4.
The closed-loop system response with the VFOPIS (in red) and IOPID controllers (in blue).
2.5
2
uI (kh)(bk), uF (kh)(rd)
1.5
0.5
0
0 5 10 15
kh
Figure 5.
The closed-loop controlling signals.
11
Advance Innovation and Expansion of PID Controllers
finally the classical integration preserving zero steady - state closed - loop system
error.
Remark 4.1. In the Numerical example proposed here the VFOPID and the
classical PID controllers maximal control signal values are the same reaching
assumed bounding value max ½uI ðklÞ, max ½uF ðkhÞ ¼ 2.
Remark 4.2. In the Numerical example
5. Conclusions
One should emphasize that the proposed solution of the VFOPID controller do
not guarantee the absolute optimum of the closed-loop control system synthesis. It
proves that the proposal of a physically realizable VFOPID controller by micro-
controller (with finite memory) leads to better results due to the assumed perfor-
mance criterion.
The main idea of the proposed method is to assume a priori the order functions
with unknown parameters. In the VFOPID controller synthesis essential is an
assumption that the summation order equals 1 One can express the action as the
assumption of skeleton order functions with unknown parameters evaluated fur-
ther in an SSE optimization algorithm.
Here, it is worth mentioning that there are still open problems of the VFOPID
controllers tuning.
• For evaluation of the VFOPID controller parameters one can apply another
optimization methods. It seems that optimization methods based on the
artificial intelligence will be very effective.
Acknowledgments
The work was supported by the National Science Center Poland by Grant no.
2016/23/B/ ST7/03686.
Abbreviations
12
Variable, Fractional-Order PID Controller Synthesis Novelty Method
DOI: http://dx.doi.org/10.5772/intechopen.95232
Author details
© 2020 The Author(s). Licensee IntechOpen. This chapter is distributed under the terms
of the Creative Commons Attribution License (http://creativecommons.org/licenses/
by/3.0), which permits unrestricted use, distribution, and reproduction in any medium,
provided the original work is properly cited.
13
Advance Innovation and Expansion of PID Controllers
References
[1] Åström, K. J. (1995). PID controllers: [8] Oustaloup A. (1995) La dérivation non
theory, design and tuning. In entière: théorie, synthèse et applications.
Instrument Society of America. https:// Hermes. DOI 2–7462–2926-9
doi.org/1556175167
[9] Coimbra CF.M, (2003). Mechanics
[2] Kailath T. (1980) Linear Systems. with variable-order differential
Englewood Cliffs, N.J.: Prentice-Hall, operators, Ann. Phys., Leipzig, No.
Inc. ISBN 0–13–536961–4 11–12, pp. 692–703. DOI 10.1002/
andp.200310032.
[3] Chopade, A. S., Jonathan, L.,
Junghare, A. S., Aware, M. V. (2014). [10] Kilbas A.A, Srivastava H.M.,
Hardware in Loop, real time Trujillo J. (2006) Theory and
implementation of Fractional Order PID Applications of Fractional Differential
controller on Magnetic Levitation Equations. Amsterdam. Elsevier. ISBN-
System. In Symposium on Advances in 13 978–0–444-51832-3
Control & Instrumentation (SACI-
2014). Vol.24, pp.26. DOI: 10.13140/
[11] Munoz-Hernandez, G. A., Mino-
2.1.3151.9521
aguilar, G., Guerrero-castellanos, J. F.,
Peralta-sanchez, E. (2020). Fractional
[4] Idir, A., Kidouche, M., Bensafia, Y.,
order PI-based control applied to the
Khettab, K., & Tadjer, S. A. (2018).
traction system of an electric vehicle
Speed control of DC motor using PID
(EV). Applied Sciences (Switzerland),
and FOPID controllers based on
10(1). https://doi.org/10.3390/
differential evolution and PSO.
International Journal of Intelligent app10010364
Engineering and Systems, 11(4), 241–
249. https://doi.org/10.22266/ijie [12] Podlubny, I. (1999). Fractional-
s2018.0831.24 order systems and PIλDμ-controllers.
IEEE Transactions on Automatic
[5] Mirghasemi, S. A., Necsulescu, D., Control, vol.44. No.1, 208–214. https://
Sasiadek, J. (2019). Quadcopter doi.org/10.1109/9.739144
Fractional Controller Accounting for
Ground Effect. Proceedings of the 12th [13] Baleanu D., Diethelm K., Trujillo J.J.
International Workshop on Robot (2012). Fractional Calculus: Models and
Motion and Control, (2), 32–37. https:// Numerical Methods. Series on
doi.org/10.1109/romoco.2019.8787366 Complexity, Nonlinearity and Chaos.
Singapore: World Scientific.
[6] Ostalczyk P.: Discrete Fractional
Calculus. Selected Applications. [14] Caponetto R., Dongola G.,
Applications in control and Image Fortuna G. and Petras I. (2010).
processing Series in computer Vision - vol. Fractional Order Systems: Modeling and
4, New Jersey: World Scientific; 2016, 361 Control Applications. Singapore: World
p.: 745–750. ISBN: 978–981–4725-66-8 Scientific. ASIN : B00ADHLAM2.
[7] Matusiak, M., & Ostalczyk, P. [15] Mahmood, A. K., Abdul, S., & Saleh,
(2019). Problems in solving fractional R. (2018). Realization of fractional-order
differential equations in a proportional-integral-derivative
microcontroller implementation of an controller using fractance circuit. JEA
FOPID controller. Archives of Electrical JOURNAL OF ELECTRICAL
Engineering, 68(3), 565–577. https://doi. ENGINEERING, Vol.2. No.1, pp.22–32. h
org/10.24425/aee.2019.129342 ttps://doi.org/10.1177/0959651818790809
14
Variable, Fractional-Order PID Controller Synthesis Novelty Method
DOI: http://dx.doi.org/10.5772/intechopen.95232
[16] Monje, C. A., Vinagre, B. M., Chen, [23] Das, S., Saha, S., Das, S.,Gupta, A.
Y., Feliu, V., Lanusse, P., Sabatier, J. (2011). On the selection of tuning
(2004). Proposals for fractional order methodology of FOPID controllers for
PIλDμ tuning. Proceedings of the First the control of higher order processes.
IFAC Workshop on Fractional ISA transactions, Vol.5. No.3, pp.376–
Differentiation and Applications, 388. DOI: 10.1016/j.isatra.2011.02.003
Bordeaux, France.
[24] De Keyser, R., Muresan, C. I.,
[17] Malesza, W., Sierociuk, D. (2018). Ionescu, C. M. (2018). Autotuning of a
Fractional variable order anti-windup robust fractional order PID controller.
control strategy. Bulletin of the Polish IFAC-PapersOnLine, 51(25), pp.466–
Academy of Sciences: Technical 471. https://doi.org/10.1177/
Sciences, Vol.66. No4. pp.427–432. DOI 0959651818790809
10.24425/124258
[25] El-Khazali, R. (2013). Fractional-
[18] Ostalczyk, P., Rybicki T. (2008). order PIλDμ controller design.
Variable-fractional-order dead-beat Computers & Mathematics with
control of an electromagnetic servo. Applications, 66(5), 639–646. https://
Journal of Vibration and Control, 14(9– doi.org/10.1016/j.camwa.2013.02.015
10), 1457–1471. https://doi.org/10.3182/
20060719-3-PT-4902.00017 [26] Gligor, A., & Dulău, T. M. (2017).
Fractional Order Controllers Versus
[19] Baleanu D., Machado J.T. Luo A.J. Integer Order Controllers. Procedia
(2014), Fractional Dynamics and Engineering, 181, 538–545. https://doi.
Control. New York: Springer-Verlag. org/10.1016/j.proeng.2017.02.431
ISBN 978–1-4-4614-0456-9
[27] Merrikh-Bayat, F., Mirebrahimi, N.,
[20] Barbosa R.S., Silva M.F., Machado J. Khalili, M. R. (2015). Discrete-time
A.T: Tuning and Application of Integer fractional-order PID controller:
and Fractional Order PID Controllers. Definition, tuning, digital realization
(2009). Eds. Tenreiro Machado J.J., and some applications. International
Pátani, Rudas L.J. Intelligent Engineering Journal of Control, Automation and
Systems and Computational Dybernetics. Systems, 13(1), 81–90. https://doi.org/
pp. 245–255-4. DOI: 10.1007/978-1- 10.1007/s12555-013-0335-y
4020-8678-6_21
[28] Xue D., Liu L., Pan F. (2015, June).
[21] Brzeziński, D. W., Ostalczyk, P. Variable-order fuzzy fractional PID
(2012). The Grunwald-Letnikov controllers for networked control
formula and its equivalent Horner’s systems. ISA Transactions. Vo. 55.
form accuracy comparison and pp. 227–233. https://doi.org/10.1016/j.
evaluation for application to fractional isatra.2014.09.012
order PID controllers. 2012 17th
International Conference on Methods [29] Oprzedkiewicz, K., Dziedzic, K.
and Models in Automation and Robotics (2017). A Tuning of a Fractional Order
MMAR https://doi.org/10.1109/ PID Controller with the Use of Particle
MMAR.2012. Swarm Optimization Method. https://
doi.org/10.1007/978-3-319-59063-9_35
[22] Dastjerdi, A. A., Vinagre, B. M.,
Chen, Y., HosseinNia, S. H. (2019). [30] Li, X., Wang, Y., Li, N., Han, M.,
Linear fractional order controllers; A Tang, Y., & Liu, F. (2017). Optimal
survey in the frequency domain. Annual fractional order PID controller design
Reviews in Control, 47, 51–70. https:// for automatic voltage regulator system
doi.org/10.1016/j.arcontrol.2019. based on reference model using particle
15
Advance Innovation and Expansion of PID Controllers
16