Abstract
In this research, a new optimization algorithm, called the cuckoo search algorithm, is introduced for design controller. A large proportion of industrial systems are represented by linear time-invariant transfer functions. The proportional-integral-derivative (PID) controller is one of the most widely used functions. The lead-lag controller is a more practical alternative. Traditionally, time-domain or frequency-domain methods have been used to design a lead-lag controller to design specifications. This chapter focused on the design of controller both PID and lead-lag controller, by optimization of the time-domain objective function. The proposed objective function includes time-domain specifications, including the rise time, peak time, maximum overshoot, setting time, and steady-state error. In the chapter, Cuckoo Search algorithm is chosen to finding the optimal solutions. Cuckoo Search is metaheuristic optimization method recently developed. That is a type of population-based algorithm inspired by the behavior of some Cuckoo species in combination with the Lévy flight behavior. Given that the plant is modeled according to a linear time-invariant transfer function, the proposed method designs the controller capable of approaching the specifications.
Access provided by Autonomous University of Puebla. Download conference paper PDF
Similar content being viewed by others
Keywords
25.1 Introduction
Most industrial plant systems can be represented by a linear time-invariant transfer function. Proportional-integral-derivative (PID) controllers are probably the most commonly used controllers in industrial applications. Numerous methods have been proposed for tuning the PID controller parameters [1–3].
Lead-lag controllers provide a more practical alternative. The design of the lead-lag controller has been studied [4–6]. Ou and Lin proposed a method based on Generic Algorithm (GA) and Particle Swarm Optimization (PSO) to design the PID controller, and then compared the results [7]. Horng used cuckoo search to design lead-lag controller [8]. Cuckoo search algorithm is one of the latest metaheuristic techniques, developed by Yang and Deb [9–11].
In this chapter, cuckoo search algorithm that uses a time-domain objective function to design the controller is proposed. If the plant could be modeled as a linear time-invariant transfer function, the proposed method can design a controller that approaches or meets the time-domain specifications. The objective function includes eight specifications, they are delay time, rise time, first peak time, maximum peak time, percent maximum overshoot, percent maximum undershoot, setting time, and steady-state error. This is improved by the formation of reference [8].
25.2 Time-Domain Objective Functions
Typical unit-step response of a control system illustrating the time-domain specifications are percentage maximum overshoot OS %, delay time T d , rise time, T r , setting time T s , and steady-state error E ss [1]. Let y(t) be the unit-step response and y ss the steady-state error. For a more general system, the following specifications will be considered:
-
1.
First Peak time, T p . The time to reach the first peak.
-
2.
Maximum Peak time, T m . The time to reach the maximum peak.
-
3.
Percentage Maximum overshoot, US % is defined as
First define deviation ratio (DR)
where TDS is the time-domain specification, i.e., rise time, first peak time, maximum peak time, etc. The proposed objective function is
where \( \mathrm{T}\mathrm{W}={\displaystyle {\sum}_{i=1}^8{w}_i} \). In (25.3), w i represents weights reflecting the relative importance of the corresponding term. DR denotes the deviation ratio of desired interval, from lower bound (lb) to upper bound (ub). For second-order system, the first peak time is the maximum peak time. But, for the general system, they are not the same.
The design of controller becomes in the minimization of the TDOF for all possible parameters. Moreover, some tolerances in the time-domain specifications are allowable as in (25.2).
25.3 The Controller
Two kinds of controllers are considered, there are PID and lead-lag (or lag-lead) controller. For PID control, one typically has
The transfer function of a lead-lag (or lag-lead) controller is written as:
where \( K>0,\kern0.5em \alpha >1,\kern0.5em {T}_1>0,\kern0.5em \beta <1,{T}_2>0 \).
25.4 Cuckoo Search Algorithm
In this chapter, a new optimization algorithm, called the cuckoo search algorithm, is introduced for design controller [9–11]. The algorithm uses a combination of a local random walk and the global random walk, controlled by a parameter p a . This allows for proper balance between exploration and exploitation of the solution space. The local random walk can be written as
where x t i and x t k are two different solutions taken by random permutation. In (25.6), H(u) is a Heaviside function, ε is a random number got from a uniform distribution, and s is the step size. On the other hand, the global random walk is figured out using Lévy flights:
where
Here, \( \alpha =0.01 \) is the step size scaling factor.
In the following design procedure, set maximum generation equals to 750, and \( {P}_a=0.25 \). Generate initial population of 15 host nests, which cause closed-loop stable (by using Routh-Hurwitz criterion).
25.5 Illustrative Examples
Example 1
A unity feedback system has the forward transfer function:
as in Fig. 25.1. The closed-loop system is stable. The system type refers to the order of the pole of G p (s) at s = 0. Thus, the closed-loop system having the forward-path transfer function of (25.9) is type 0. The step response of the uncompensated system is shown in Fig. 25.3. Here, the peak time is 0.249 s, the percentage overshoot is 13.3 %, and the steady-state error E ss is equal to 0.273.
As shown, the uncompensated system does not satisfy the design specifications in Table 25.1. Hence, the controller is used to improve the transient response as in Fig. 25.2. All the weight w i are set to 1. First, the PID controller will be designed for the system. When the design procedure is completed, the parameters are \( {K}_{\kern-.15em p}=5.3161 \), \( {K}_i=10.2197 \), and \( {K}_d=0.2299 \). Apart from delay time, most of the time-domain specifications are very close to demand. Next, the lead-lag controller will be designed. When completed, the parameters are K = 59.6384, α = 26.0208, T 1 = 0.2319, β = 0.1520, and T 2 = 0.0911. All the desired specifications are fulfilled. If the deviation ratio of delay time would be reduced, the weight of delay time will increase to 6, and keep the others the same value. After the adjustments of weights, and redesign the controller again. The parameters found are, \( {K}_{\kern-.15em p}=3.0046 \), \( {K}_i=7.3653 \), and \( {K}_d=0.1339 \). The deviation ratio of all specifications are listed in Table 25.2. Since the specifications of both led-lag controllers are full-filed, the adjustments produce influence of no importance as shown in Fig. 25.4.
Example 2
A unity feedback system has the following forward transfer function:
The closed-loop system is unstable. The step response of the uncompensated system is shown in Fig. 25.5. The design specifications are listed in Table 25.3. When the design procedure is finished, the PID parameters are \( {K}_{\kern-.15em p}=0.2431 \), \( {K}_i=0.3030 \), and \( {K}_d=0.2299 \). Furthermore, the lead-lag parameters are K = 7.1739, α = 67.1652, T 1 = 0.4054, β = 0.0010, and T 2 = 0.4112. The deviation ratio of delay time has been improved (Fig. 25.6).
The weight of delay time T d increase by a factor of 6, while keeping the others the same. Redesign the controller again; the PID parameters found are \( {K}_{\kern-2pt p}=0.2431 \), \( {K}_i=0.2840 \), and \( {K}_d=0.0523 \) (Table 25.4).
25.6 Conclusions
A large part of an industrial plant system may be represented by the linear time-invariant transfer function. A simple procedure is used to design the controller to meet or approach the specification with cuckoo search algorithm has been proposed in this chapter. The proposed time-domain objective function is expressed in terms of peak time, maximum overshoot, maximum undertow, and setting time of the unit-step response. Computer simulations support the usefulness of the method.
References
Golnaraghi, F., Kuo, B.C.: Automatic control systems, 9th edn. Wiley, Hoboken (2011)
Okada1, Y., Yamakawa, Y., Yamazaki, T., Kurosu, S.: Tuning method of PID controller for desired damping coefficient. In: SICE anal conference, Kagawa University, Japan, Sept. 17–20, pp. 795–799. (2007)
Panda, S., Sahu, B.K., Mohanty, P.K.: Design and performance analysis of PID controller for an automatic voltage regulator system using simplified particle swarm optimization. J. Franklin Inst. 349(8), 2609–2625 (2012)
Yang, J., Chen, C.F., Chen, C.S., Xu, Y.S.: An approach to automatic tuning of phase-lead and phase-lag compensators. In: Proceedings of the 30th IEEE conference on decision and control, Brighton, England, Vol. 3. pp. 2944–2945. (1991)
Tan, N.: Computation of stabilizing lag/lead controller parameters. Comput. Electr. Eng. 29, 835–849 (2003)
Sree, R.P., Srinivas, M.N., Chidambaram, M.: A simple method of tuning PID controllers for stable and unstable FOPTD systems. Comput. Chem. Eng. 28, 2201–2218 (2004)
Ou, C., Lin, W.: Comparison between PSO and GA for parameters optimization of PID controller. In: International conference on mechatronics and automation. Luoyang, China, pp. 2471–2475. (June 2006)
Horng, H.Y.: Design of lead-lag controller via time-domain objective function by using cuckoo search, (ICITES2013). Lect. Notes Electr. Eng. 293, 1083–1091 (2014)
Yang, X.S., Deb, S.: Cuckoo search via Lévy flights. In: Proceedings of world congress on nature & biologically inspired computing, India. IEEE Publications, USA, pp. 210–214. (December 2009)
Yang, X.S., Deb, S.: Engineering optimisation by cuckoo search. Int. J. Math. Modell. Numer. Optim. 1(4), 330–343 (2010)
Yang, X.S., Deb, S.: Cuckoo search: recent advances and applications. Neural Comput. Appl. 24, 169–174 (2014)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2016 Springer International Publishing Switzerland
About this paper
Cite this paper
Horng, HY. (2016). Controller Design by Time-Domain Objective Functions Using Cuckoo Search. In: Juang, J. (eds) Proceedings of the 3rd International Conference on Intelligent Technologies and Engineering Systems (ICITES2014). Lecture Notes in Electrical Engineering, vol 345. Springer, Cham. https://doi.org/10.1007/978-3-319-17314-6_25
Download citation
DOI: https://doi.org/10.1007/978-3-319-17314-6_25
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-17313-9
Online ISBN: 978-3-319-17314-6
eBook Packages: EngineeringEngineering (R0)