Open access peer-reviewed chapter

On Fractional-Order PID Design

By Mohammad Reza Faieghi and Abbas Nemati

Submitted: November 21st 2010Reviewed: April 24th 2011Published: September 9th 2011

DOI: 10.5772/22657

Downloaded: 9277

1. Introduction

Fractional-order calculus is an area of mathematics that deals with derivatives and integrals from non-integer orders. In other words, it is a generalization of the traditional calculus that leads to similar concepts and tools, but with a much wider applicability. In the last two decades, fractional calculus has been rediscovered by scientists and engineers and applied in an increasing number of fields, namely in the area of control theory. The success of fractional-order controllers is unquestionable with a lot of success due to emerging of effective methods in differentiation and integration of non-integer order equations.

Fractional-order proportional-integral-derivative (FOPID) controllers have received a considerable attention in the last years both from academic and industrial point of view. In fact, in principle, they provide more flexibility in the controller design, with respect to the standard PID controllers,because they have five parameters to select (instead of three). However, this also implies that the tuning of the controller can be much more complex. In order to address this problem, different methods for the design of a FOPID controller have been proposed in the literature.

The concept of FOPID controllers was proposed by Podlubny in 1997 (Podlubny et al., 1997; Podlubny, 1999a). He also demonstrated the better response of this type of controller, in comparison with the classical PID controller, when used for the control of fractional order systems. A frequency domain approach by using FOPID controllers is also studied in (Vinagre et al., 2000). In (Monje et al., 2004), an optimization method is presented where the parameters of the FOPID are tuned such that predefined design specifications are satisfied. Ziegler-Nichols tuning rules for FOPID are reported in (Valerio & Costa, 2006). Further research activities are runnig in order to develop new tuning methods and investigate the applications of FOPIDs. In (Jesus & Machado, 2008) control of heat diffusion system via FOPID controllers are studied and different tuning methods are applied. Control of an irrigation canal using rule-based FOPID is given in (Domingues, 2010). In (Karimi et al., 2009) the authors applied an optimal FOPID tuned by Particle Swarm Optimzation (PSO) algorithm to control the Automatic Voltage Regulator (AVR) system. There are other papers published in the recent years where the tuning of FOPID controller via PSO such as (Maiti et al., 2008) was investigated.

More recently, new tuning methods are proposed in (Padula & Visioli, 2010a). Robust FOPID design for First-Order Plus Dead-Time (FOPDT) models are reported in (Yeroglu et al., 2010). In (Charef & Fergani, 2010 ) a design method is reoported, using the impulse response. Set point weighting of FOPIDs are given in (Padula & Visioli, et al., 2010b). Besides, FOPIDs for integral processes in (Padula & Visioli, et al., 2010c), adaptive design for robot manipulators in (Delavari et al., 2010) and loop shaping design in (Tabatabaei & Haeri, 2010) are studied.

The aim of this chapter is to study some of the well-known tuning methods of FOPIDs proposed in the recent literature. In this chapter, design of FOPID controllers is presented via different approaches include optimization methods, Ziegler-Nichols tuning rules, and the Padula & Visioli method. In addition, several interesting illustrative examples are presented. Simulations have been carried out using MATLAB via Ninteger toolbox (Valerio & Costa, 2004). Thus, a brief introduction about the toolbox is given.

The rest of this chapter is organized as follows: In section 2, basic definitions of fractional calculus and its frequency domain approximation is presented. Section 3 introduces the Ninteger toolbox. Section 4 includes the basic concepts of FOPID controllers. Several design methods are presented in sections 5 to 8 and finally, concluding remarks are given in section 9.

2. Fractional calculus

In this section, basic definitions of fractional calculus as well as its approximation method is given.

2.1. Definitions

The differintegral operator, denoted byDatq, is a combined differentiation-integration operator commonly used in fractional calculus. This operator is a notation for taking both the fractional derivative and the fractional integral in a single expression and is defined by


Where q is the fractional order which can be a complex number and a and t are the limits of the operation. There are some definitions for fractional derivatives. The commonly used definitions are Grunwald–Letnikov, Riemann–Liouville, and Caputo definitions (Podlubny, 1999b). The Grunwald–Letnikov definition is given by


The Riemann–Liouville definition is the simplest and easiest definition to use. This definition is given by


where n is the first integer which is not less than q i.e. n-1q<nand Γ is the Gamma function.


For functions f(t) having n continuous derivatives for t0wheren-1q<n, the Grunwald–Letnikov and the Riemann–Liouville definitions are equivalent. The Laplace transforms of the Riemann–Liouville fractional integral and derivative are given as follows:


Unfortunately, the Riemann–Liouville fractional derivative appears unsuitable to be treated by the Laplace transform technique because it requires the knowledge of the non-integer order derivatives of the function att=0. This problem does not exist in the Caputo definition that is sometimes referred as smooth fractional derivative in literature. This definition of derivative is defined by


where m is the first integer larger than q. It is found that the equations with Riemann–Liouville operators are equivalent to those with Caputo operators by homogeneous initial conditions assumption. The Laplace transform of the Caputo fractional derivative is


Contrary to the Laplace transform of the Riemann–Liouville fractional derivative, only integer order derivatives of function f are appeared in the Laplace transform of the Caputo fractional derivative. For zero initial conditions, Eq. (7) reduces to


In the rest of this paper, the notationDq, indicates the Caputo fractional derivative.

2.2. Approximation methods

The numerical simulation of a fractional differential equation is not simple as that of an ordinary differential equation. Since most of the fractional-order differential equations do not have exact analytic solutions, so approximation and numerical techniques must be used. Several analytical and numerical methods have been proposed to solve the fractional-order differential equations. The method which is considered in this chapter is based on the approximation of the fractional-order system behavior in the frequency domain. To simulate a fractional-order system by using the frequency domain approximations, the fractional order equations of the system is first considered in the frequency domain and then Laplace form of the fractional integral operator is replaced by its integer order approximation. Then the approximated equations in frequency domain are transformed back into the time domain. The resulted ordinary differential equations can be numerically solved by applying the well-known numerical methods.

One of the best-known approximations is due to Oustaloup and is given by (Oustaloup, 1991)


The approximation is valid in the frequency range[ωl,ωh]; gain kis adjusted so that the approximation shall have unit gain at 1 rad/sec; the number of poles and zeros N is chosen beforehand (low values resulting in simpler approximations but also causing the appearance of a ripple in both gain and phase behaviours); frequencies of poles and zeros are given by


The case q<0may be dealt with inverting (Eq. 9).

In Table 1, approximations of 1/sqhave been given for q{0.1,0.2,...,0.9}with maximum discrepancy of 2 dB within (0.01, 100) rad/sec frequency range (Ahmad & Sprott, 2003).

qApproximated transfer function

Table 1.

Approximation of 1/sqfor different q values

3. The Ninteger toolbox

Ninteger is a toolbox for MATLAB intended to help developing fractional-order controllers and assess their performance. It is freely downloadable from the internet and implements fractional-order controllers both in the frequency and the discrete time domains. This toolbox includes about thirty methods for implementing approximations of fractional-order and three identification methods. The Ninteger toolbox allow us to implement, simulate and analyze FOPID controllers easily via its functions. In the rest of this chapter, all the simulation studies have been carried out using the Ninteger toolbox.

In order to use this toolbox in our simulation studies, the function nipid is suitable for implementing FOPID controllers. The toolbox allow us to implement this function either from command window or SIMULINK. In order to use SIMULINK, a library is provided called Nintblocks. In this library, one can find the Fractional PID block which implements FOPID controllers. We can specify the following parameters of a FOPID via nipid function or Fractional PID block:

  • proportional gain

  • derivative gain

  • fractional derivative order

  • integral gain

  • fractional integral order

  • bandwidth of frequency domian approximation

  • number of zeros and poles of the approximation

  • the approximating formula

It was pointed out in (Oustaloup et al., 2000) that a band-limit implementation of fractional order controller is important in practice, and the finite dimensional approximation of the fractional order controller should be done in a proper range of frequencies of practical interest. This is true since the fractional order controller in theory has an infinite memory and some sort of approximation using finite memory must be done.

In the simulation studies of this chapter, we will use the Crone method within the frequency range (0.01, 100) rad/s and the number of zeros and poles are set to 10.

4. Fractional-order Proportional-Integral-Derivative controller

The most common form of a fractional order PID controller is the PIλDμcontroller (Podlubny, 1999a), involving an integrator of order λ and a differentiator of order μ where λ and μ can be any real numbers. The transfer function of such a controller has the form


where Gc(s) is the transfer function of the controller, E(s) is an error, and U(s) is controller’s output. The integrator term is1/sλ, that is to say, on a semi-logarithmic plane, there is a line having slope -20λ dB/decade. The control signal u(t) can then be expressed in the time domain as


Fig. 1 is a block-diagram configuration of FOPID. Clearly, selecting λ = 1 and μ = 1, a classical PID controller can be recovered. The selections of λ = 1, μ = 0, and λ = 0, μ = 1 respectively corresponds conventional PI & PD controllers. All these classical types of PID controllers are the special cases of the fractional PIλDμcontroller given by (Eq. 15).

Figure 1.

Block-diagram of FOPID

It can be expected that the PIλDμcontroller may enhance the systems control performance. One of the most important advantages of the PIλDμcontroller is the better control of dynamical systems, which are described by fractional order mathematical models. Another advantage lies in the fact that the PIλDμcontrollers are less sensitive to changes of parameters of a controlled system (Xue et al., 2006). This is due to the two extra degrees of freedom to better adjust the dynamical properties of a fractional order control system. However, all these claimed benefits were not systematically demonstrated in the literature. In the next sections, different design methods of FOPID controllers are discussed. In all cases, we considered the unity feedback control scheme depicted in Fig.2.

Figure 2.

The considered control scheme; G(s) is the process, Gc(s) is the FOPID controller, R(s) is the reference input, E(s) is the error, D(s) is the disturbance and Y(s) is the output

5. Tuning by minimization

In (Monje et al., 2004) an optimization method is proposed for tuning of FOPID controllers. The analytic method, that lies behind the proposed tuning rules, is based on a specified desirable behavior of the controlled system. We start the section with basic concepts of this design method, and then control pH neutralization process is presented as an illustrative example.

5.1. Basic concepts

In this method, the desirable dynamics is described by the following criteria:

No steady-state error:

Properly implemented a fractional integrator of order k +λ, k ∈ N, 0 < λ < 1, is, for steady-state error cancellation, as efficient as an integer order integrator of order k + 1.

The gain-crossover frequency ωcgis to have some specified value


The phase margin φmis to have some specified value


So as to reject high-frequency noise, the closed loop transfer function must have a small magnitude at high frequencies; thus it is required that at some specified frequency ωtits magnitude be less than some specified gain


So as to reject output disturbances and closely follow references, the sensitivity function must have a small magnitude at low frequencies; thus it is required that at some specified frequency ωsits magnitude be less than some specified gain


So as to be robust in face of gain variations of the plant, the phase of the open-loop transfer function must be (at least roughly) constant around the gain-crossover frequency


A set of five of these six specifications can be met by the closed-loop system, since the FOPID has five parameters to tune. The specifications 2-6 yield a robust performance of the controlled system against gain changes and noise and the condition of no steady-state error is fulfilled just with the introduction of the fractional integrator properly implemented, as commented before.

In (Monje et al., 2004), the use of numerical optimization techniques is proposed to satisfy the specifications 2-6. Motivated from the fact that the complexity of a set of five nonlinear equations (Eq. 17Eq. 21) with five unknown parameters (kP, kI, kD, λ and μ) is very significant, the optimization toolbox of MATLAB has been used to reach out the better solution with the minimum error. The function used for this purpose is called fmincon, which finds the constrained minimum of a function of several variables. In this case, the specification in Eq. (17) is taken as the main function to minimize, and the rest of specifications (Eq. 18Eq. 21) are taken as constrains for the minimization, all of them subjected to the optimization parameters defined within the function fmincon.

5.2. Example: pH neutralization process

The pH dynamic model of a real sugar cane raw juice neutralization process can be modelled by the following FOPDT dynamic:


Assume that the design specifications are as follows:

  • Gain crossover frequencyωcg=0.08

  • Phase marginφm=0.44π

  • Robustness to variations in the gain of the plant must be fulfilled.

  • |T(jω)|-20dB,ωωt=10E23
  • |S(jω)|-20dB,ωωs=0.01E24

Using the function fmincon, the FOPID controller to control the plant is


Simulation block-diagram of the system is depicted in Fig. 3 and the step response of the closed-loop system is illustrated in Fig. 4.

Figure 3.

Simulation block-diagram for control of pH neutralization process

Figure 4.

Step responses of closed loop and open loop pH neutralization process

Figure 5.

Bode plot of pH neutralization process

As shown in the Fig.4 the closed loop step response has no steady state error and a fulfilling rise time in the comparison of the open loop response. In order to evaluate the effect of FOPID in frequency response of the process, let us consider Fig.5 as bode plot of the open loop pH neutralization process. The diagram is provided via “Control System Toolbox” of MATLAB. The bode diagram of the FOPID defined in (Eq. 23) is also depicted in Fig. 6 and finally, the bode plot of G(s)Gc(s)is depicted in Fig. 7.

Figure 6.

Bode plot of FOPID controller designed for pH neutralization process

Figure 7.

Bode plot of pH neutralization process when the controller is applied

6. Ziegler-Nichols type tuning rules

In the previous section, a tuning method based on optimization techniques is proposed. The method is effective but allows local minima to be obtained. In practice, most solutions found with this optimization method are good enough, but they strongly depend on initial estimates of the parameters provided. Some may be discarded, because they are unfeasible or lead to unstable loops, but in many cases it is possible to find more than one acceptable FOPID. In others, only well-chosen initial estimates of the parameters allow finding a solution. Motivated from the fact that the optimization techniques depend on initial estimates, Valerio and Costa have introduced some Ziegler-Nichols-type tuning rules for FOPIDs. In this section, we will explain these tuning rules, and two illustrative examples will be presented. These tuning rules are applicable only for systems that have S-shaped step response. The simplest plant to have S-shaped step response can be described by


Valerio and Costa have employed the minimisation tuning method to plants given by (Eq. 24) for several values of L and T, with K = 1. The parameters of FOPIDs thus obtained vary in a regular manner. Having translated the regularity into formulas, some tuning rules are obtained for particular desired responses.

6.1. First set of tuning rules

A first set of rules is given in Tables 2 and 3. These are to be read as


and so on. They may be used if 0.1T50,L2and were designed for the following specifications:

  • ωcg=0.5E28
  • φm=2/3E29
  • ωt=10E30
  • ωs=0.01E31
  • A=-10E32
  • B=-20E33


Table 2.

Parameters for the first set of tuning rules when 0.1T5


Table 3.

Parameters for the first set of tuning rules when 5T50

6.2. Second set of tuning rules

A second set of rules is given in Table 4. These may be applied for 0.1T50 andL0.5. Only one set of parameters is needed in this case because the range of values of L these rules cope with is more reduced. They were designed for the following specifications:

  • ωcg=0.5E34
  • φm=1E35
  • ωt=10E36
  • ωs=0.01E37
  • A=-20E38
  • B=-20E39

Table 4.

Parameters for the second set of tuning rules

6.3. Example: High-order process control

Consider the following high-order process


The transfer function of the process is not on the form of FOPDT. In order to control the process via FOPID, let us approximate the process by a FOPDT model. The process can be approximated by the following model (see (Astrom & Hagglund, 1995))


where K=1, L=2 and T=2. Fig.8 shows the step response of the process (Eq. 26) and its approximated model. As we see, the model can approximate the process with satisfying accuracy. The step response of the process is of S-shaped type and we can use the Ziegler-Nichols type tuning rules for our FOPID controller.

Using the first set of tuning rules, one can obtain the following FOPID controller.


The closed step response of the system is depicted in Fig. 9.

Figure 8.

Step response of the process and its approximated model

Figure 9.

Step response of high order process controlled by FOPID

6.4. Example: Non-minimum phase process control

When the transfer function of a process is not a FOPDT model, an approximated FOPDT model can be developed; this fact was shown in the previous example. Here, we consider a Non-Minimum phase process. We need to approximate a FOPDT model in order to use Ziegler-Nichols tuning rules. The following non-minimum phase process is considered


The process can be approximated by the following model


The step response of the transfer function (Eq. 30) is compared with the process (Eq. 29) and depicted in Fig. 10. As we see, the FOPDT model of the process presents a good accuracy.

Figure 10.

Step response of the process and its approximated model

After having approximated the process with a FOPDT transfer function, application of the first set of tuning rules gives the following FOPID controller


while the step response of the closed loop control system for set point and is depicted in Fig. 11.

Figure 11.

Step response of non-minimum phase process controlled by FOPID

7. The Padula & Visioli method

In (Padula & Visioli, 2010a), a new set of tuning rules are presented for FOPID controllers. Based on FOPDT models, the tuning rules have been devised in order to minimise the integrated absolute error with a constraint on the maximum sensitivity. In this section, the tuning rules are presented and then the problem of heat exchanger temperature is given.

7.1. Tuning rules

Let us consider a process defined by FOPDT model as one given by Eq. (24). The process dynamics can be conveniently characterised by the normalised dead time and defined as


which represents a measure of difficulty in controlling the process. The proposed tuning rules are devised for values of the normalised dead time in the range0.05τ0.8. In fact, for values ofτ<0.05the dead time can be virtually neglected and the design of a controller is rather trivial, while for values of τ>0.8the process is significantly dominated by the dead time and therefore a dead time compensator should be employed. By the methodology developed in (Padula & Visioli, 2010a), the FOPID controller is modeled by the following transfer function


The major difference of FOPID defined by (Eq. 33) with the standard form of FOPID defined by (Eq. 15) is that an additional first-order filter has been employed in (Eq. 33) in order to make the controller proper. The parameterNis chosen asN=10T(μ-1). The performance index is integrated absolute error which is defined as follows


Using Eq.(34) as performance index yields a low overshoot and a low settling time at the same time (Shinskey, 1994). The maximum sensitivity (Astrom and Hagglund, 1995) is defined as


which represents the inverse of the maximum distance of the Nyquist plot from the critical point (-1,0). Obviously, the higher value of Msyields the less robustness against uncertainties. Tuning rules are devised such that the typical values of Ms= 1.4 and Ms= 2.0 are achieved. If only the load disturbance rejection task is addressed, we have


where the values of the parameters are shown in Tables 5-8.


Table 5.

Tuning rules for kP, kD and kI when Ms= 1.4

11.0 ifτ<0.1
1.1 if0.1τ<0.4
1.2 if0.4τ

Table 6.

Tuning rules for λ and μ when Ms= 1.4


Table 7.

Tuning rules for kP, kD and kI when Ms= 2.0

11.0 ifτ<0.2
1.1 if0.2τ<0.6
1.2 if0.6τ

Table 8.

Tuning rules for λ and μ when Ms= 2.0

7.2. Example: Heat exchanger temperature control

A chemical reactor called "stirring tank" is depicted in Fig. 12. The top inlet delivers liquid to be mixed in the tank. The tank liquid must be maintained at a constant temperature by varying the amount of steam supplied to the heat exchanger (bottom pipe) via its control valve. Variations in the temperature of the inlet flow are the main source of disturbances in this process.

Figure 12.

Stirring Reactor with Heat Exchanger

The process can be modelled adequately by FOPDT models as shown in the Fig. 13.

Figure 13.

Open loop process model

The transfer function


models how a change in the voltage V driving the steam valve opening effects the tank temperature T, while the transfer function


models how a change d in inflow temperature affects T.

The control problem is to regulate tank temperature T around a given setpoint. From Eq. (32), the normalized dead-time of the process (Eq. 38) is obtained as 0.4083 which implies that we can utilize the proposed tuning rules. From tuning table 5 and 6, the following FPOID can be obtained for the case of Ms= 1.4


And for the case of Ms= 2, from tables 7 and 8 we have


Simulation results are presented in Fig. 14. It is assumed that a load disturbance is applied at t=500 seconds, and the disturbance rejection of both controllers are verified. Simulations also show that the transient states of both controllers are approached.

9. Conclusion

In this chapter, some of the well-known tuning methods of FOPID controllers are presented and several illustrative examples, verifying the effectiveness of the methods are given.

Figure 14.

Closed response of heat exchanger system and disturbance rejection of controllers (a) Gc1(s)(b) Gc2(s)

Simulations have been carried out using MATLAB/SIMULINK software via Ninteger toolbox. After discussion on fractional calculus and its approximation methods, the Ninteger toolbox is introduced briefly. Then optimization methods, Ziegler-Nichols tuning rules and a new tuning method were introduced. We have considered control of pH neutralization process, high-order process, Non-Minimum phase process and temperature control of heat exchanger as case studies. In spite of extensive research, tuning the parameters of a FOPID controller remains an open problem. Other analytical methods and new tuning rules may be further studied.

How to cite and reference

Link to this chapter Copy to clipboard

Cite this chapter Copy to clipboard

Mohammad Reza Faieghi and Abbas Nemati (September 9th 2011). On Fractional-Order PID Design, Applications of MATLAB in Science and Engineering, Tadeusz Micha&#322;owski, IntechOpen, DOI: 10.5772/22657. Available from:

chapter statistics

9277total chapter downloads

5Crossref citations

More statistics for editors and authors

Login to your personal dashboard for more detailed statistics on your publications.

Access personal reporting

Related Content

This Book

Next chapter

Design Methodology with System Generator in Simulink of a FHSS Transceiver on FPGA

By Santiago T. Pérez, Carlos M. Travieso, Jesús B. Alonso and José L. Vásquez

Related Book

First chapter

Monte Carlo Simulations in NDT

By Frank Sukowski and Norman Uhlmann

We are IntechOpen, the world's leading publisher of Open Access books. Built by scientists, for scientists. Our readership spans scientists, professors, researchers, librarians, and students, as well as business professionals. We share our knowledge and peer-reveiwed research papers with libraries, scientific and engineering societies, and also work with corporate R&D departments and government entities.

More about us