Tuning of PID Controller using Bio-Geography based Optimization

DOI : 10.17577/IJERTCONV4IS02008

Download Full-Text PDF Cite this Publication

Text Only Version

Tuning of PID Controller using Bio-Geography based Optimization

Sumant Kumar, Vinod K. Saw, Ramesh K. Thakur, Amarjeet K. Pandey and Bhargav. A

Dept. of Electrical and Electronics Engg., RVS College of Engineering and Technology, Jamshedpur-831012, INDIA

Abstract In this paper we represent a novel technique for tuning PID controller using a well-known global optimization technique known as Bio-Geography Based Optimization. This technique is used for obtaining the optimum parameters of the PID such that output response of the plant is fast. Simulation is performed using MATLAB® and the results are presented. The results show that the optimization based PID performs better than the conventional tuning technique such as Ziegler Nichols tuning method.

KeywordsPID controller; Bio-Geography Based Optimization; PID Tuning

Fig.1. PID Controller

Gc is the transfer function of the PID controller and is given by equation (1) and closed loop transfer function of the PID controlled process is given by equation (2)

G K KI K s

  1. INTRODUCTION

    c P s D

    (1)

    PID Controller is a very powerful method and it is widely used in industrial applications [1] because of its simplicity, reliability and robust performance. PID controller has been used for control of diverse dynamical systems ranging from industrial processes to aircraft control and ship dynamics. The main advantages of PID Controller are higher stability, no offset, reduced overshoot, reduced steady state error, reliability, etc. However the PID controller has to be tuned in order to achieve satisfactory performance. In this paper, we present Bio-geography Based Optimization [2] for tuning of PID controller.

    The organization of the paper is as follows: second section describes about the PID controller Bio-geography Based Optimization (BBO) technique is presented in the third section. In the fourth section an objective function is formulated for optimizing the closed loop response of the plant (system) and the simulation result are presented. Finally, conclusions are presented in the last section.

  2. PID CONTROLLER

    PID controller is the most widely used controller in the industry. A PID controller has three parameters- proportional constant KP, integral constant KI and the derivative constant KD. These three parameters are meant to take care of the present, future and the past errors. A PID controlled process having system transfer function Gs and unity feedback is shown in Fig. 1.

    G GcGs

    1 GcGs

    P s D s

    P s D s

    K KI K s G

    G

    P s D s

    P s D s

    1 K KI K s G

    (2)

    Proportional action is meant to minimize the instantaneous errors. However, by itself it cannot make the error zero and provides a limited performance. The integral action forces the steady state error to zero, but has two disadvantages: due to the presence of a pole at the origin, it may result in system instability and the integral action may create an undesirable effect known as wind-up in the presence of actuator saturation. The derivative action acts on the rate of change of error and it may result in large control signals when the error signal is of high frequency.

  3. BIO-GEOGRAPHY BASED OPTIMIZATION

    BBO [3] is a new evolutionary global optimization technique. In nature, animal and plant species generally migrate to habitats which are highly suitable for living. In BBO, each solution is characterized by an island. Each island has certain features which characterize its habitability and are known as suitability index variables (SIV). Each island also has a sustainability index (SI), which characterizes how suitable is the island for the animals and plants to live. Islands with high SI values have a high density of populations and those with low SI values are sparsely populated. Also islands which

    have good SI values have low immigration rates () and high emigration rates (µ) and those with low SI values have high value of and low value of µ. Islands with low SI values can accept more population and so there have more chance to improve their SI values. In BBO, an island H is a vector of N (SIVs) which are initialized randomly and then these features are migrated from one island to another followed by mutation to reach the global minima. Features are shared based on immigration and emigration rates of the solution. Each solution is modified based on a probability (Pa) which is defined by the user. Each island has its own and µ given by

    (3) and (4)

    k = (EK/P) (3)

    µ k = I (1- (K/P)) (4)

    Where K is the number of species on the island E= maximum

    I=maximum µ

    P = population size

    Generate an initial population of the islands, then apply migration between islands, to exchange features between the islands. To apply the migration operator emigration and immigration rates are calculated for every solution. Each feature in an island has a probability of immigration proportional to . Emigrating island is selected with a probability proportional to its emigration rate µ.

    After migration takes place, mutation is applied to increase the diversity of the population. This is applied probabilistically and is given by

    Mutation rate (m) = Pa (1- Pi /Pmax) (5) Where Pmax =argmax(Pi),, i = 1,,p.

    BBO Algorithm:

    Initial Parameters:

    N = population size

    MAX = Maximum number of generations P =Elitism parameter

    Pa =Island modification probability

    Step 1: Generate initial solutions randomly and assign species count probabilities for each solution;

    Step 2: Calculate the fitness value of each solution; Step 3: While a termination criterion is not met

    Save the best solutions in a temporary array; For each solution map the SI value to K, and

    µ;

    Perform migration operations;

    Perform mutation operation on the worst half of the population;

    Calculate the fitness of each solution; Sort the population from worst to best; N=N+1

    End while

  4. SIMULATION RESULTS Consider a plant with the model given by:

    1

    controller are KP = 2.4, KI = 0.734 and KD = 1.885. These parameters were obtained using the SISOTOOL of MATLAB®Now, the proposed technique is used for obtaining the parameters of the PID. An objective function is formulated which is given by equation (6).

    r s

    r s

    f T 2 T 2 M 2 (6)

    Where Tr is the rise time, Ts is the settling time and M is the maximum overshoot of the step response of the closed loop system. The BBO algorithm is implemented using MATLAB® and the parameters are taken to be:

    No of generations: 20 Population size: 20 No of variables: 3

    Mutation probability: 0.04

    Habitat modification probability: 1 Elitism: 2

    The parameters of the PID obtained after the completion of the optimization are KP = 1.5369, KI = 0.6175and KD = 2.2404. The comparison of the step response of unity feedback closed loop system with the PID controller tuned using the Ziegler Nicholas method and the proposed method is shown in Fig. 2. The parameters of the unit step response are shown in Table. 1.

    Table. 1. Step response parameters for first example

    Fig .2. Step response comparison for the first example

    Consider another plant with the model given by:

    Gs s 14

    A PID controller is designed for this plant model using the Ziegler Nicolas tuning rules. The parameters of the PID

    Gs

    e s

    s 12

    PID controller is designed using the proposed method its step response is compared with that obtained using Ziegler- Nicolas method. The step response is shown in Fig. 3. The parameters of the PID are shown in Table 2 and the comparison of the step response parameters is shown in Table 3.

    Table. 2. Parameters of PID controller

    Settling Time (sec)

    Rise Time (sec)

    Overshoot (%)

    Ziegler-Nicolas Tuning

    11.64

    1.63

    25.5

    Proposed Tuning

    3.5

    2.14

    0.69

    KP

    KI

    KD

    Ziegler-Nicolas Tuning

    1.63

    0.68

    0.98

    Proposed Tuning

    1.19

    0.55

    0.75

    Table. 3. Step response parameters for second example

    Settling Time (sec)

    Rise Time (sec)

    Overshoot (%)

    Ziegler-Nicolas Tuning

    7.65

    .95

    19.89

    Proposed Tuning

    3.0

    1.5

    1.21

    Fig .2. Step response comparison for the second example

  5. CONCLUSIONS

A Bio-Geography Based Optimization technique for tuning of the PID controllers has been presented. An objective function has been formulated for minimizing the rise time, settling time and the maximum overshoot of the closed loop response of the system. The PID controller parameters were obtained by using the BBO for minimizing the fitness function values. The comparison of the step response of the PID controller obtained using the Ziegler-Nicolas tuning method and that of the proposed method shows the superior performance of the proposed method.

REFERENCES

  1. K.J. Astrom, T. Hagglund, PID Controllers: Theory,Design and Tuning, 2nd Edition, Instrument Society of America, Research Triangle Park, 1995.

  2. Simon,D., Biogeography-basedoptimization," IEEE Trans. Evolut. Comput., Vol.12, No.6, 702-713, Dec.2008.

  3. Appasani Bhargav,Gupta Nisha, "Realization of compact arrays with low side lobes using Biogeography Based Optimization," Microwave and Photonics (ICMAP), 2013 International Conference on , vol., no., pp.1,3, 13-15 Dec. 2013

Leave a Reply