#### Abstract

This paper presents a novel fractional-order PID controller tuning strategy based on Bode’s optimal loop shaping which is commonly used for LTI feedback systems. Firstly, the controller parameters are achieved based on flat phase property and Bode’s optimal reference model, so that the controlled system is robust to gain variations and can achieve desirable transient performance according to various control requirements. Then, robustness analysis of the controlled system is carried out to support the results. Furthermore, the parameter setting is analyzed to demonstrate the superiority of the proposed controller. At last, some simulation examples are shown to verify the accuracy and usefulness of the proposed control strategy. The proposed fractional-order PID controller does not have any restriction on the controlled plant, so it can be widely applied on both integer-order and fractional-order systems.

#### 1. Introduction

Fractional calculus was first mentioned in a letter between Leibniz and L’Hospital about 300 years ago [1]. Not until the last few decades had the related studies been generalized to various fields instead of pure theoretical derivation. A number of studies have revealed the potentialities of fractional calculus, such as engineering [2–4], physics [5], applied mathematics [6, 7], and bioengineering [8]. Among these research fields, fractional-order control technology and fractional-order modeling develop quite fast. Many physical phenomena were proved to be better described by fractional-order models [9, 10]. The additional integral and differential orders in fractional-order control algorithms offer more possibilities in enhancing system robustness, stability, and transient performance.

In the control field, PID control is undoubtedly the most widely used control algorithm in industrial applications [11]. So there are abundant reasons to investigate control algorithm which owns the superiorities of both PID controller and fractional calculus. The earliest attempt was made by Podlubny who proposed the fractional-order PID ( or FOPID) controller [12]. There are two more parameters, that is, integral order and differential order , in FOPID controller compared with traditional PID controller. These extra parameters can serve as additional tuning knobs which may provide more flexibilities in improving system control performance. Petras presented a digital version FOPID controller which was implemented in a DC motor [13]. Fractance circuits and microprocessors were used to achieve the analogue transformation and implementation of the digital FOPID controller. An optimal FOPID controller was designed based on particle swarm optimization and applied to an automatic voltage regulator by Zamani et al. [14]. A frequency domain tuning scheme of FOPID controller was proposed by Vinagre et al. [15]. Hamamci investigated an FOPID controller which can stabilize fractional-order systems with time delay [16]. The proposed controller can also be tuned to meet gain and phase margins requirements. The design method of FOPID controller which is suitable to be used in industrial applications was demonstrated by Monje et. al [2]. Moreover, some novel control technologies which combined FOPID controller and intelligent control algorithms together have been investigated and were proved to be effective in improving system transient performance [4, 17].

Going a step further, there are many FOPID controllers proposed for enhancing system robustness. One of the notable works is CRONE controller with three generations, developed by Oustaloup to deal with different model uncertainties including zero and pole misplacement [18]. Another frequently used method is achieving the flat phase property which is done by making the derivative of the phase to be zero at gain crossover. A PID control scheme based on this property was presented in [19]. Later, the fractional-order PD/PI controllers, which have already been successfully applied in motion control systems, were also designed according to the same isodamping property [20–22]. The extension of this method which can guarantee the system robustness with respect to different parameters variations was studied by Liu et al. [23]. Moreover, Feliu-Batlle et al. presented a Smith predictor based robust fractional-order controller with the application to water distribution [24]. The author has also proposed a robust fractional-order control scheme used in oscillatory systems with large uncertainties in their parameters [25]. A note on FOPID controller design which proposed a robust parameter tuning algorithm using Bode envelopes can be found in [26]. Besides, a robust fractional-order cascade PD and PI controller was investigated based on fuzzy control technology by Kumar et al. and has been applied to the speed control of a hybrid electric vehicle [27].

In this paper, we focus on the robust FOPID controller design based on Bode’s optimal loop shaping which is commonly used for LTI (Linear Time Invariant) feedback systems [28]. Bode’s ideal transfer function is served as a reference model in the parameter optimization process. Some related fractional-order controller tuning algorithms were discussed in [29–31]. However, most of them have a specified controlled system type and cannot be widely applied to different kinds of systems. In [29], a PID controller is proposed based on Bode’s ideal transfer function, but it only aims at integer-order controlled plants; a similar work can be found in [30], where a robust fractional-order PI controller is designed; however, according to the derivation process, only one certain type of fractional-order controlled plant has been taken into consideration; moreover, the Bode loop shaping with CRONE compensator is discussed in [31], but it only emphasizes the loop shaping accuracy instead of controller tuning algorithm. The application domain of these studies is quite limited. Therefore, a robust fractional-order PID controller tuning algorithm based on Bode’s optimal loop shaping which can be widely applied on both integer-order and fractional-order controlled systems is worth exploring in this paper. The controlled system with the proposed controller is robust to gain variations because the phase curve is flat within a certain frequency limit. The effectiveness of the presented robust FOPID controller is demonstrated by the simulation results of several controlled systems including integer-order and fractional-order ones.

The rest of this paper is organized as follows: in Section 2, some preliminaries of fractional calculus are given; detailed analysis of Bode’s optimal loop shaping is presented in Section 3; Section 4 illustrates the proposed controller tuning process as well as robustness analysis of the controlled system; simulation results to verify the effectiveness of the proposed algorithm are presented in Section 5; finally, conclusions are made in Section 6.

#### 2. Preliminaries

##### 2.1. Fractional-Order Derivative

The fractional-order integral-differential operator can be defined aswhere is the integral or differential order and are upper and lower limits of the operator, respectively.

So far, there is still no unified definition of fractional-order derivative. But there have been three generally accepted definitions, that is, Caputo definition, Riemann-Liouville definition, and Grunwald-Letnikov [1]. Each of the three definitions has its own properties. In this paper, we use Caputo definition because it has been extensively used in engineering applications [6, 7]. The Caputo derivative of order for a function is defined as [6]where is a positive integer, such that .

The Laplace transform based on Caputo definition can be expressed aswhere represents the Laplace transform, , and is the Laplace transform operator.

##### 2.2. Mittag-Leffler Function

The Mittag-Leffler (ML) function is a generalized form of exponential function. It is widely used in solving fractional-order differential equations [1]. An ML function with two parameters can be written as a power series as [1]where and . When , .

When , the ML function in (4) simplifies to a one-parameter form as

The Laplace transform of (4) iswhere and is the real part of .

#### 3. Analysis of Bode’s Optimal Loop Shaping

Consider a system whose open-loop transfer function iswhere , , and is the crossover frequency of amplitude curve in Bode diagram which satisfies . System (7) is a typical elementary fractional-order system. The resonance condition of this kind of system is , which has been proved in [32]. Therefore, we only take into consideration in this paper. The Bode diagrams of system (7) with are shown as Figure 1. The amplitude curves are straight lines with the slopes of dB/dec, and the corresponding phase curves are horizontal lines with rad. Therefore, the phase margin of system (7) is . That is to say, the phase margin will not change along with the change of . So system with the open-loop transfer function in (7) is robust to gain variations. This is the optimal loop shaping suggested by Bode in [28].

The closed-loop transfer function corresponding to the open-loop one in (7) iswhere and is the time constant of the system. The closed-loop system in (8) will be a reference model in the controller parameters optimization process in next section. Therefore, parameters can be tuned to satisfy different performance requirements.

When a unit step signal is fed into system (8), the time response of the system can be achieved as [1]

Figure 2 gives the step responses of system (8) with . Some important time response performance indicators are derived as follows.

(1) Overshoot percentage

(2) Rise time (the time for the output to rise from 10% to first time 90% of the final value).

(3) 2% or 5% error band settling time (the time for the output to reach and stay within a 2% or 5% error band of the final value).

These indicators cannot be achieved explicitly. Therefore, we express the relations between them and parameter in Figures 3–6. The relationship curves have been approximated numerically into some nonlinear functions in [33]. However, the approximate accuracies may not be satisfactory enough. Hence, we recommend referring to the results we got in the figures. In this way, the controller parameters can be tuned by choosing different values according to the required time domain indicators.

Moreover, frequency domain response specifications should also be taken into consideration. As it was demonstrated above, the phase margin of system (8) which has correspondence with time domain response overshoot is . The closed-loop frequency domain responses of system (8) with different are illustrated in Figure 7. It can be seen from Figure 7 that the bandwidth of the system increases along with the value of . On the other hand, the wider the bandwidth is in a system frequency domain response, the smaller the rise time will be in the corresponding time domain response. Namely, the controller parameters can also be tuned according to frequency domain specifications by changing the values of and . Moreover, the curves attenuate fast at high frequencies, which means that the system is not sensitive to high frequency disturbance.

It should be noted that there are some conflict relations between different design specifications. For instance, parameters chosen according to small rise time will lead to large overshoot. Therefore, wise trade-offs should be made on the selection of reference model.

#### 4. Controller Tuning

##### 4.1. Fractional-Order PID Controller

FOPID () controller is an extension of conventional PID controller with extra two parameters, that is, integral order and differential order [12]. It can be expressed in frequency domain aswhere are proportional, integral, and differential coefficients, respectively. When , FOPID controller is equal to conventional PID controller. Figure 8 gives the comparison of controller parameters tuning domains between FOPID and PID controllers in geometrical perspective. The two extra parameters make the controller parameter tuning domain extend from a few points into a partial quarter plane. Meanwhile, the slope of amplitude curve in open-loop system frequency response at crossover frequency updates from dB/dec into dB/dec. These provide more possibilities in improving control system robustness as well as transient performance, especially for fractional-order systems. However, the regulating process may become more complicated at the same time. The detailed analysis of the influence of on control system performance can be found in [4].

##### 4.2. Fractional Operator Realization

The fractional operators in (11) can be realized by several approaches [1]. In this paper, taking system (7) into consideration, we choose the Oustaloup approximation method which is widely used in this field [34]. A generalized fractional operator can be expressed as

Consider the expected approximate frequency range as ; the operator can be substituted bywhere . Therefore, (12) can be updated aswhere . Transform the transfer function above into the zero-pole form; it is obtained thatwhere

In this paper, we use the 7th approximation with interested frequency range .

##### 4.3. Parameter Optimization

Normally, controller parameter optimization is proceeded based on the objective function which includes error between reference signal and actual output. However, this tuning method can only randomly get satisfactory control performance. It may make the rise time or overshoot of the controlled system quite small, but it cannot guarantee meeting any specific requirement. Besides, large times of trial and error are needed in the tuning process. In this paper, the Bode’s optimal loop shaping transfer function is used as a nominal reference model in the optimization process to help the controlled system satisfy different control performance requirements. The tuning structure of the controlled system is represented in Figure 9, where are reference signal, actual output signal, and disturbance signal, are nominal error signal and desire output signal which satisfy , and are controller, controlled plant, and nominal reference model, respectively. In this way, the robustness and other transient performance requirements can be improved by tuning the controller parameters as well as the parameters of the nominal reference model which was discussed in Section 3. The ITAE (Integral Time Absolute Error) indicator is chosen as the objective function in this paper. Therefore, according to Figure 9, the objective function can be expressed as

After getting the objective function, the Nelder-Mead (NM) simplex search algorithm is used to optimize the controller parameters according to the value of the objective function [35]. The fundamental principle of NM algorithm is constructing a rough search direction according to the initial parameter values first and updating the search direction constantly according to the objective function value until the optimal result is achieved. NM algorithm is widely applied in optimization processes, but the initial values influence the optimization result a lot. Therefore, suitable initial values should be selected before optimization.

##### 4.4. Robustness Analysis

In this subsection, the robustness of a typical fractional-order system controlled by the proposed controller is analyzed. Consider a fractional-order transfer function described by where is the system gain, and are positive constant coefficients, and the fractional-orders satisfy .

Next we consider the corresponding FOPID controller designed as (11), where the fractional-orders are chosen as and and the controller parameters are set as , , and . The constant satisfies , and represents the gain crossover frequency of the open-loop transfer function .

Based on (11) and (18), the open-loop transfer function can be obtained as

Then we analyze the robustness of the controlled system with designed FOPID controller by employing the small gain theorem which has been widely used in FOPID control [36–38]. According to the small gain theorem, the robust stability condition can be represented by where denotes the multiplicative norm-bound uncertainty of transfer function . Thus, larger means that bigger modeling uncertainty may occur without breaking the robust stability of the controlled system.

Due to (11), (18), and (20), we achieve as

Besides, we calculate the derivatives of with respect to and obtain It is obvious that when and . Thus, is monotone decreasing with respect to . In other words, for the same control system, FOPID controller owns better robust performance than PID controller in the low or even medium frequency ranges, which is established by the gain crossover frequency , and has no connection with the fractional-order . In the simulation part, the obtained robust analysis result will be verified by some numerical examples.

#### 5. Simulation

In this section, we take three typical kinds of systems, including fractional-order system and integer-order system, into consideration to illustrate the effectiveness of the proposed control strategy. Firstly, consider a fractional-order system whose transfer function is similar to the widely used first-order system [30]:

The reference parameters in (8) and controller parameters in (11) tuned by the proposed algorithm are shown in Table 1. The Bode diagram of controlled by the proposed controller with reference model parameters is depicted in Figure 10. It can be seen that the phase curve at crossover frequency is almost flat and the phase margin is which satisfies the controller design requirements. The step responses of controlled by FOPID controllers tuned with the fixed phase margin and different crossover frequencies are shown in Figure 11. Correspondingly, Figure 12 demonstrates the step responses of controlled by FOPID controllers tuned with the fixed crossover frequency and varying phase margins . The unchanged overshoot and different settling times in Figure 11 and the similar settling time and different overshoots in Figure 12 illustrate the impact of reference model with varying parameters. Therefore, different control requirements can be fulfilled by varying reference model parameters and controller parameters. In order to check the robustness of the controlled system, step responses comparisons of systems tuned by different reference parameters under ±30% gain variations are demonstrated in Figures 13 and 14, respectively. The overshoots of the step responses in each subfigures remain almost the same. These phenomena show that system controlled by the proposed controller is robust to high amplitude gain variations. The step response comparison of controlled by the proposed FOPID controller and the FOPID controller used in [30] is shown in Figure 15. The performance of system controlled by the proposed controller outperforms the other one with better robustness, lower overshoot, and smaller settling time. Figure 16 illustrates the ITAE indices values of with different tuning parameters. All the indices are small enough to meet the optimization requirements.

**(a)**= 1, = 45°

**(b)**= 1, = 60°

**(c)**= 1, = 90°

**(a)**= 0.5, = 60°

**(b)**= 1, = 60°

**(c)**= 1.5, = 60°**(a)**

**(b)**

Then, consider a fractional-order system [1] which is relatively complicated as

The reference parameters and the obtained the controller parameters are shown in Table 2. Figures 17 and 18 demonstrate the step responses of controlled by the proposed controllers tuning with different and . Similarly, the results show that different control performance can be satisfied by varying reference model parameters. The ITAE indices of in Figure 19 are also small enough for optimization.

Finally, take an integer-order system [31], whose transfer function is shown as below, into consideration:

Table 3 shows the tuned controller and reference model parameters of . Step responses of controlled by different controllers in Table 3 are depicted in Figures 20 and 21. It is shown that the step responses of integer-order system can also be shaped by the proposed FOPID controller according to different design requirements. The ITAE indices of in Figure 22 also satisfy the optimization criterion. The simulation results verify the effectiveness of the proposed controller used on both fractional-order and integer-order systems. The systems controlled by the proposed algorithm achieve better robustness and transient control performance compared with other controllers.

#### 6. Conclusion

In this paper, a novel tuning methodology of robust fractional-order PID controller is proposed. The controlled system output can be shaped by varying reference model parameters according to different control performance requirements. The phase curve can be flat within a certain frequency limit. Therefore, the system has the desirable characteristic of being robust to gain variations. Robustness analysis which supports the robust tuning specification is also carried out. The proposed fractional-order PID controller does not have any restriction on the controlled plant. So it can be widely applied on both integer-order and fractional-order systems. Three design examples including different kinds of controlled plants are presented to verify the effectiveness of the proposed algorithm.

#### Conflicts of Interest

The authors declare that they have no conflicts of interest.

#### Acknowledgments

This work is supported by the Fundamental Research Funds for the Central Universities of China (under Grant nos. G2018KY0305, G2018KY0302, and 3102017OQD069) and the National Natural Science Foundation of China (NSFC) (under Grant no. 61703335).