Abstract
This paper proposes a novel fractional order PID controller for commensurate fractional order systems based on Laguerre orthonormal functions. The transfer functions of the fractional order plant, the desired loop gain and the fractional order PID controller are expanded in terms of their Laguerre basis functions. Matching the first three coefficients of the Laguerre series of the loop gain with the desired one yields the fractional order PID controller parameters. The pole of the fractional order Laguerre basis function is adjusted to minimize an integral square error performance index subject to control signal constraint. The numerical examples are presented to show the effectiveness of this Laguerre based fractional order PID controller.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
Fractional calculus concerns utilizing non-integer derivatives and integrals instead of the corresponding ordinary ones to increase the design flexibility and modelling precision [1–3]. The Fractional Order PID (FOPID) controllers with fractional order derivative and integral terms have been employed to control industrial plants [4, 5]. A lot of approaches have been proposed to design FOPID controllers for fractional order systems in the literature. Internal model based FOPID controllers have been considered in this regard [6, 7]. In [8], a Ziegler–Nichols-type tuning method for designing FOPID controllers has been provided. Designing fractional order PD (FOPD) controllers robust to gain variations has been considered [9, 10]. The same idea has been proposed for designing fractional order PI (FOPI) controllers [11]. In [12], the superiority of the FOPI controller comparing with the PI and PID controllers for controlling a time delayed system with a fractional order pole has been demonstrated. Optimization methods have been employed for designing these controllers [13]. Root locus method has been employed to design FOPID for minimum-phase fractional order systems [14].
One of the analytical approaches proposed for designing PID controllers is the moment matching method. In this method, the PID controller parameters could be obtained by matching the first three moments of the closed loop system transfer function with the desired one. In this approach, the closed loop system transfer function is expanded in terms of some orthogonal functions. For example, the MacLaurin expansion has been employed to find the PID controller parameters through a moment matching approach [15]. A PD controller for the First-Order Plus Dead Time (FOPDT) plants is designed based on the Taylor series approximation [16]. Laguerre orthogonal functions have been utilized to design PID controllers for some special case of plants [17]. A moment matching based FOPID controller, has been proposed in the literature [18]. In the proposed approach, the first three moments of the desired closed loop system transfer function obtained from a characteristic ratios assignment approach are matched with the corresponding ones in the closed loop system transfer function. The proposed method could be employed to design FOPID for commensurate fractional order systems. Block pulse, Walsh and Haar Wavelet as piecewise orthogonal functions have been employed to design FOPID for integer and fractional order systems [19].
Fractional order Laguerre orthogonal functions as a generalization of ordinary Laguerre functions have been constructed to approximate fractional order systems [20, 21].
In the current paper, the fractional order Laguerre orthogonal functions are employed to design FOPID and Fractional order PI (FOPI) controllers for fractional order systems. First, the Laguerre series coefficients of a commensurate fractional order plant are calculated. These coefficients are the inner product of the plant transfer function with their corresponding fractional order Laguerre basis functions. This idea is employed to calculate the Laguerre series coefficients of the open loop gain (the product of the FOPID controller transfer function with the plant transfer function). Matching the first three Laguerre series coefficients of the open loop gain with the desired one gives the FOPID or FOPI controller parameters. The optimum location of the fractional order Laguerre basis function pole is determined so that the best fitting to the desired loop gain is achieved. The performance of these Laguerre based FOPID and FOPI controllers is investigated through numerical simulations.
The remainder of this paper is organized as follows. A brief review on fractional calculus is given in Sect. 2. Section 3 describes the construction of the fractional order Laguerre series basis functions. The proposed FOPID and FOPI controller are presented in Sect. 4. The performance of the proposed FOPID and FOPI controllers is demonstrated by numerical simulations given in Sect. 5. Finally, Sect. 6 concludes the paper.
2 A brief review on fractional calculus
There are a lot of definitions for the fractional order derivative in the literature [1]. Due to its computation advantages, the Grunwald–Letnikov definition is utilized in this paper. According to this definition, the fractional order derivative of a function \(f(t) (D^{\rho }f(t))\) is defined as [1]
where \(\rho \) is the fractional order. If \(\rho =1\), then the ordinary definition of derivative is obtained. The Fractional Order Transfer Function (FOTF) toolbox proposed for numerical simulation of fractional order systems is based on this definition [22]. A Linear Time Invariant (LTI) fractional order system with input u(t) and output y(t) could be described with the following differential equation
where \(\alpha _i (i=0,\ldots ,n)\) and \(\beta _j (j=0,\ldots ,m)\) are the fractional orders and \(a_k (k=0,\ldots ,n)\) and \(b_k (k=0,\ldots ,m)\) are arbitrary constant numbers. If \(\alpha _i=iv,\;i=0,\ldots ,n\) and \(\beta _j=jv,\;j=0,\ldots ,m\) are considered, then the fractional order system (2) is called commensurate and v is called the commensurate order. Taking Laplace transform from both sides of (2) gives the transfer function of a commensurate fractional order system as
The controllers containing fractional order operators in their structure are called fractional order controllers. For example, the transfer function of a fractional order PID controller could be written as
where \(k_c \), \(T_i\) and \(T_d\) are the proportional gain, integrator and derivative coefficients, respectively. While \(\beta \) and \(\mu \) are two arbitrary real numbers belonging to (0, 2). If \(\beta =\mu =1\), then the ordinary PID controller is obtained.
3 Fractional order Laguerre orthogonal functions
In this section, fractional order Laguerre basis functions are introduced. To begin, some necessary preliminaries should be introduced. A fractional order transfer function (3) is stable if the following conditions are satisfied [23, 24]
The \(H_2\) norm of a transfer function F(s) denoted by \(\left\| F \right\| _2\) is defined as
Let denote open right half-plane (complex numbers with positive real part) with \(\mathbb {C}^{+}\) and closed right half plane (complex numbers with nonnegative real part) with \({\overline{{\mathbb {C}}^{+}}}\). Now, the space of functions which are analytical on \({\mathbb {C}}^{+}\) and continuous on \({\overline{{\mathbb {C}}^{+}}}\) with finite \(H_2\) norm are called \(H_2 ({\mathbb {C}}^{+})\).
The transfer function (3) belongs to \(H_2 ({\mathbb {C}}^{+})\) if the following inequality is fulfilled [20]
To construct the fractional order Laguerre basis functions, the following generating functions are defined
According to (7), the generating functions in (8) belong to \(H_2 ({\mathbb {C}}^{+})\), if the following inequality holds
According to (9), the transfer function (8) belongs to \(H_2 ({\mathbb {C}}^{+})\) for all \(n\ge 1 (n_0=1)\) if \(v\in (0.5,2)\). Thus, in the remainder of the paper, the plant is considered a commensurate fractional order system as (3) with commensurate order \(v\in (0.5,2)\). Unfortunately, the generating functions (8) aren’t orthogonal and couldn’t be utilized directly as Laguerre basis functions [20]. Therefore, these functions are employed to generate fractional order Laguerre basis functions according to a Gram-Schmidt orthogonalization procedure [20].
Gram-Schmidt orthogonalization procedure: Consider arbitrary generating functions \(F_i (s)\in H_2 ({\mathbb {C}}^{+}), i=1,\ldots , N\). Now, the functions \(\varphi _i (s)\in H_2 ({\mathbb {C}}^{+}), i=1,\ldots , N\) obtained from the following relations are orthonormal
where \({<}p,q{>}\) denotes the inner product of functions p and q defined as follows
Moreover, the norm of function p is defined as
This yields the orthonormal fractional order Laguerre basis functions \(\varphi _i (s)\in H_2 ({\mathbb {C}}^{+}), i=1,\ldots , k\). To construct fractional order Laguerre basis functions, the inner product of a fractional order plant and the generating functions (8) should be calculated. The transfer function of any commensurate order plant with real poles could be described with a partial fractions expanded form in terms of pseudo first order terms (8). Thus, it is enough to compute the inner product of two generating functions like (8). Or
The relation (13) could be rewritten as
By change of variable \(x=\omega ^{v}\) Eq. (14) is simplified as
where
The details of computing integral (16) is illustrated in [3.194, 4 p. 285] of [25] and [20].
Now, a commensurate order strictly proper system as (3) could be described as the following fractional order Laguerre series expansion
where \(\varphi _i (s)\) are the Laguerre basis functions constructed from a Gram-Schmidt procedure. The Laguerre basis functions could be parameterized as follows
where \(s_{ij}, j=1,\ldots , i, i=1,2,3,\ldots \) are constant parameters obtained from the Gram-Schmidt procedure. Moreover, the Laguerre series coefficients \(g_i\) are calculated as
Example 1
Consider the following fractional order system
Considering the Laguerre pole \(\lambda =2.5\), gives the unknown parameters of Laguerre basis functions in (18) as
The first three Laguerre series coefficients of (20) obtained from (19) and (15) are
To design Laguerre based FOPI and FOPID controllers, the product of each pairs of two Laguerre basis functions should be computed. By some manipulations, we have
where the coefficients \(a_{ijk}\) could be obtained in terms of \(s_{ij}\) as
4 Laguerre based design of FOPI and FOPID controllers
At first, consider a stable commensurate fractional order system with the fractional order Laguerre series expansion (17). Then, the algorithm is extended for the unstable plants, too. The controller C(s) is designed such that the open loop gain could approximate a desired open loop gain L(s). Or
In a unit negative feedback control structure, the following desired loop gain is considered
where \(\eta \) and \(\omega _n\) are the damping ratio and the natural frequency, respectively. The desired open loop gain isn’t a stable function. Therefore, it should be rewritten as follows
where the first three Laguerre series coefficients in (27) are calculated by partial fraction expansion as
The Laguerre based FOPI and FOPID design procedures are illustrated in the following subsections.
4.1 Laguerre based FOPI design for stable plants
Consider the following FOPI controller
The controller could be rewritten in the following Laguerre series form
where
Substituting relations (17), (27) and (31) in (25) yields
Considering the product property of fractional order Laguerre basis functions in (23) and matching the first two coefficients in both sides in series (33) gives the following FOPI coefficients
where
Finally, the following algorithm could be obtained for designing FOPI controllers.
Algorithm 1.
-
a)
Calculate \(s_{11}, s_{21}, s_{22}\) in (18) according to the Gram-Schmidt orthogonalization procedure in (10).
-
b)
Calculate \(l_i, {l}'_i, i=1,2\) according to (28) and (29) and \(g_i, i=1,2\) according to (19) (partial fraction expansion could be utilized).
-
c)
Calculate \({c}'_i, i=1,2\) according to (32) and \(c_i, i=1,2\) according to (35).
-
d)
Calculate FOPI controller parameters \((k_c, T_i)\) according to (34).
4.2 Laguerre based FOPID design for stable plants
The FOPID controller with the following transfer function is considered
Transfer function (36) is rewritten as
where
The relation (33) could be utilized in the FOPID case, too. Thus, the following FOPID controller parameters could be obtained from relations (23), (38) and (39)
where
Consider that \(a_{113}=0\). Finally, the Laguerre based FOPID controller design algorithm could be summarized as
Algorithm 2.
-
a)
Calculate \(s_{11}, s_{21}, s_{22}, s_{31}, s_{32}, s_{33}\) in (18) according to the Gram-Schmidt orthogonalization procedure in (10).
-
b)
Calculate \(l_i, {l}'_i, i=1,2,3\) according to (28) and (29) and \(g_i, i=1,2,3\) according to (19).
-
c)
Calculate \({c}'_i, i=1,2,3\) according to (39) and \(c_i , i=1,2,3\) according to (41).
-
d)
Calculate FOPID controller parameters \((k_c, T_i, T_d)\) according to (40).
4.3 Laguerre based FOPI and FOPID design for unstable plants
The proposed FOPI and FOPID controllers could be utilized to control unstable plants. To achieve this goal, the plant transfer function is written as
where p(s) is the numerator of G(s) and \(q_s (s)\) and \(q_u (s)\) are the stable and unstable parts of the denominator of G(s), respectively. The transfer function (42) could be rewritten in the following Laguerre series form
where r is the degree of \(q_u (s)\) and \(g_i \), \({g}'_i\) are the Laguerre series coefficients of \(\frac{p(s)}{q_s (s)(s^{v}+\lambda )^{r+1}}\) and \(\frac{q_u (s)}{(s^{v}+\lambda )^{r+1}}\), respectively. Now, according to (25), relation (33) should be rewritten as
Now, the FOPI controller parameters could be obtained from (34) in which \(c_1, c_2\) are calculated as
For the FOPID controller case, relation (44) and (40) could be utilized, yet. But, relation (41) should be replaced with the following relation
Finally, the following algorithm could be employed to design FOPI or FOPID controllers for unstable plants
Algorithm 3.
-
a)
Calculate \(s_{11}, s_{21}, s_{22}, s_{31}, s_{32}, s_{33}\) in (18) according to the Gram-Schmidt orthogonalization procedure in (10).
-
b)
Calculate \(l_i, {l}'_i, i=1,2,3\) according to (28) and (29) and \(g_i, {g}'_i, i=1,2,3\) in (43) using inner product approach.
-
c)
Calculate \({c}'_i, i=1,2\) for FOPI according to (32) and \({c}'_i, i=1,2,3\) for FOPID according to (39) and calculate \(c_i, i=1,2\) for FOPI from (45) and \(c_i, i=1,2,3\) for FOPID from (46).
-
d)
Calculate FOPI controller parameters \((k_c, T_i)\) according to (34) and FOPID controller parameters \((k_c, T_i, T_d)\) according to (40).
4.4 Optimum choice of the fractional order Laguerre basis function pole
The designed FOPI and FOPID controllers have three parameters: \(\eta , \omega _n, \lambda \). The parameters \(\eta \) and \(\omega _n\) could be selected to reach a good transient response. But, the free parameter \(\lambda \) should be selected to achieve the closed loop system stability and the best compliance with the desired step response in the presence of control signal constraints. Thus, the following constrained optimization problem should be solved
where y(t) is the closed loop system step response, \(y_d (t)\) is the desired closed loop system step response, u(t) is the control signal, \(u^{+}\) and \(u^{-}\) are its upper and lower bounds.
This means that for the FOPI and FOPID controller design, an initial value for \(\lambda \) is selected. Based on this selection, the FOPI or FOPID controller parameters are calculated. These parameters could be employed to obtain the closed loop system step response y(t) and the performance index \(J(\lambda )\). Then, the value of \(\lambda \) is changed according to an optimization loop such that the minimum performance index \(J(\lambda )\) is obtained and the control signal constraints are satisfied. MATLAB FMINCON function is utilized to solve this constrained optimization problem.
5 Simulation results
To show the performance of the FOPI and FOPID controllers, some numerical examples are provided.
Example 2
Consider the following fractional order plant
Considering \(u^{+}=2,u^{-}=-2,\eta =0.5, \omega _n=6\) and the obtained Laguerre function pole \(\lambda =2\), yields the following FOPI controller transfer function
With the same values of \(\lambda , \omega _n\), the Laguerre function pole value for the FOPID controller is obtained as \(\lambda =1.5\). This leads to the following FOPID transfer function
Figure 1 compares the closed loop system unit step response obtained from the FOPI and FOPID controllers with the desired one. The FOPID shows superior performance comparing with the FOPI controller. Moreover, the control signal constraints are fulfilled.
Example 3
In this example, a fractional order plant with one zero and two poles is considered
For the FOPI controller, considering \(u^{+}=2,u^{-}=-2,\eta =1, \omega _n=4\) yields \(\lambda =0.1\). This leads to the following FOPI controller
If the similar values for \(\lambda , \omega _n\) are considered for the FOPID controller, then \(\lambda =1.5\) will be obtained. The corresponding FOPID controller is given by
The obtained closed loop system unit step responses for the FOPI and FOPID controllers are compared with the desired step response in Fig. 2. As could be seen from Fig. 2, the step response obtained from the FOPID controller is closer to the desired step response comparing with the corresponding one obtained from the FOPI controller. Moreover, the obtained control signals are in the permissible range.
Example 4
In this example, the following unstable integer order plant is considered
Considering \(u^{+}=6,u^{-}=-1,\eta =1, \omega _n=26.35\) and \(\lambda =3.7\) gives the following PI controller
With similar values for \(\lambda , \omega _n\) and \(\lambda =11.95\) the following PID controller is obtained
The comparison between the desired step response and the closed loop system step response obtained from the PI and PID controllers are given in Fig. 3. As expected, in the PID controller case, the step response is more similar to the desired step response. In addition, the control signals given in Fig. 3 are admissible.
6 Conclusions
The orthonormal Laguerre basis functions obtained from a Gram-Schmidt orthogonalization approach are employed to design FOPI and FOPID controllers for commensurate fractional order systems. The simulation results show the effectiveness of the proposed controllers. The best transient response quality based on integral square error performance index in the presence of the control signal limitations is achieved. The design approach could be utilized for commensurate fractional order plants with real poles. Extending the proposed FOPI and FOPID methods for general commensurate fractional order systems could be considered as a future research topic. Designing Laguerre based FOPID controllers for the commensurate fractional order systems with commensurate order smaller than half is another future work. The FOPD controller could be designed in the similar manner, too.
References
Podlubny I (1999) Fractional differential equations. Academic Press, San Diego
Sierociuk D, Skovranek T, Macias M, Podlubny I, Petras I, Dzielinski A, Ziubinski P (2015) Diffusion process modeling by using fractional-order models. Appl Math Comput 257:2–11
Meral FC, Royston TJ, Magin R (2010) Fractional calculus in viscoelasticity: an experimental study. Commun Nonlinear Sci Numer Simul 15(4):939–945
Vinagre BM, Monje CA, Calderon AJ, Suarez JI (2007) Fractional PID controllers for industry application. A brief introduction. J Vib Control 13(9):1419–1429
Monje CA, Vinagre BM, Feliu V, Chen YQ (2008) Tuning and auto-tuning of fractional order controllers for industry applications. Control Eng Pract 16(7):798–812
Bettayeb M, Mansouri R (2014) Fractional IMC-PID-filter controllers design for non integer order systems. J Process Control 24(4):261–271
Vinopraba T, Sivakumaran N, Narayanan S, Radhakrishnan TK (2012) Design of internal model control based fractional order PID controller. J Control Theory Appl 10(3):297–302
Valerio D, Costa JSD (2006) Tuning of fractional PID controllers with Ziegler–Nichols-type rules. Sig Process 86(10):2771–2784
Luo Y, Chen YQ (2009) Fractional order [proportional derivative] controller for a class of fractional order systems. Automatica 45(10):2446–2450
Badri V, Tavazoei MS (2013) On tuning fractional order [proportional-derivative] controllers for a class of fractional order systems. Automatica 49(7):2297–2301
Luo Y, Chen YQ, Wang CY, Pi YG (2010) Tuning fractional order proportional integral controllers for fractional order systems. J Process Control 20(7):823–831
Malek H, Luo Y, Chen YQ (2013) Identification and tuning fractional order proportional integral controllers for time delayed systems with a fractional pole. Mechatronics 23(7):746–754
Biswas A, Das S, Abraham A, Dasgupta S (2009) Design of fractional-order \(PI^{\lambda }D^{\mu }\) controllers with an improved differential evolution. Eng Appl Artif Intell 22(2):343–350
Merrikh-Bayat F, Karimi-Ghartemani M (2010) Method for designing \(PI^{\lambda }D^{\mu }\) stabilisers for minimum-phase fractional-order systems. IET Control Theory Appl 4(1):61–70
Ramasamy M, Sundaramoorthy S (2008) PID controller tuning for desired closed loop responses for SISO systems using impulse response. Comput Chem Eng 32(8):1773–1788
Xu L (2014) A proportional differential control method for a time-delay system using the Taylor expansion approximation. Appl Math Comput 236(1):391–399
Olivier PD (2009) PID controller design using Laguerre series. In: Proceedings of 17th mediterranean conference on control and automation. Thessaloniki, Greece, pp 846–851
Tabatabaei M, Haeri M (2011) Design of fractional order proportional-integral-derivative controller based on moment matching and characteristic ratio assignment method. Proc Inst Mech Eng Part I J Syst Control Eng 225(8):1040–1053
Bouafoura MK, Braiek NB (2010) \(PI^{\lambda }D^{\mu }\) controller design for integer and fractional plants using piecewise orthogonal functions. Commun Nonlinear Sci Numer Simul 15(5):1267–1278
Aoun M, Malti R, Levron F, Oustaloup A (2007) Synthesis of fractional Laguerre basis for system approximation. Automatica 43(9):1640–1648
Maione G (2002) Laguerre approximation of fractional systems. Electron Lett 38(20):1234–1236
Chen YQ, Petras I, Xue D (2009) Fractional order control: a tutorial. In: Proceedings of the American control conference. St. Louis, MO, USA, pp 1397–1411
Matignon D (1998) Stability properties for generalized fractional differential systems. ESAIM: Proc Fract Differ Syst Models Methods Appl 5:145–158
Sabatier J, Farges C (2012) On stability of commensurate fractional order systems. Int J Bifurc Chaos 22(4):1250084
Gradshteyn IS, Ryshik IM (1980) Table of integrals, series, and products. Academic Press, Cambridge
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Tabatabaei, M., Salehi, R. Fractional order PID controller design based on Laguerre orthogonal functions. Int. J. Dynam. Control 5, 542–550 (2017). https://doi.org/10.1007/s40435-016-0248-8
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s40435-016-0248-8