# Fractional Order PID Controller for Liquid Level System

DOI : 10.17577/IJERTV4IS070647

Text Only Version

#### Fractional Order PID Controller for Liquid Level System

Ramkumar V P

PG Scholar, Electrical &Electronics Dept.

Mar Baselios college of Engineering Thiruvananthapuram, Kerala, India

Elizabeth Varghese Associate Professor, Electrical &Electronics Dept.

Mar Baselios college of Engineering

Thiruvananthapuram, Kerala, India

Abstract Control of Liquid Level System has been a proven area by control engineers implementing the conventional controllers such as PID controller. But with development of Fractional calculus the control technique are also being improved. The thesis work deals with design of Fractional order PID [FOPID] controller for a Liquid Level System (LLS).

The Liquid Level system is modeled mathematically to obtain the transfer function, as first order system plus delay. Then the FOPID controller is designed by using Zeigler- Nichols and Astrom-Hagglund method based on certain design specifications. The frequency response of the FOPID controller is compared with the frequency response of normal PID controller.

Index Terms Fractional order PID controller, PID controller, Zeigler-Nichols, Astrom-Hagglund.

I. INTRODUCTION

Liquid Level System has become an inevitable part in many industries due to the wide use of steam generators and other liquid based production techniques. Therefore the control of liquid level has gained its priority in these industries, so is the controller used.

The idea of fractional order PID is proposed by Podlubny

1. [1]. In 1980, Irving et al. introduced a linear parameter varying model in order to describe the steam generator dynamics over the entire operating power range and proposed a model reference adaptive proportional integral derivative (PID) level controller [2]. The Irving model and its modifications have probably been the most widely accepted steam generator models for the design of water- level controllers. On the basis of classical MPC theory for linear time varying system, Kothare and et al. established a framework to design water level controller for Steam Generator. In 1999, Bendotti set water-level control problem for Steam Generator as a benchmark for robust control techniques, and the evaluation of water- level control performance using six different linear control algorithms such as PID, etc., were also obtained [3]. The performance of these linear robust controllers is higher than that of the classical PID-like controllers. With the development of neural networks, fuzzy set theory and evolutionary computing, some intelligent water level controllers have also been designed which result in better transient response with comparison to those PID controllers.

With the development of Fractional calculus, the control engineers are extending the conventional control technique to the fractional level so that the performance of controller is improved. The Fractional order PID controller is actually an improved form of normal PID controller with more number of control parameters thereby improving the performance of the controller. The main advantages of fractional order PID controller over integer-order PID controllers is that, it has five adjustable parameters (the proportional gain (KP , the integrating gain (Ki, the derivative gain (Kd, the integrating order () and the derivative order ()), thus, expands the scope of parameter tuning, increase design freedom and can achieve better control qualities; it can effectively suppress noise; it has better robustness for the model uncertainty.

Zeigler- Nichols and Astrom-Hagglund methods are used for obtaining the PID control parameters Kp, Ki ,and Kd. In order to obtain the and parameters two nonlinear equations as explained in [4] are solved which is described in the coming sections. The frequency response of FOPID controller and the conventional PID controllers are compared.

2. MATHEMATICAL MODELLING OF LIQUID

LEVEL SYSTEM III.

The diagram of Liquid Level system (plant) under consideration is shown in the fig 1. The LLS mainly consists of process tank, reservoir tank, level transmitter, pump, control valve governed by pneumatic signal and data acquisition card.

Fig 1: The Liquid Level System under consideration

The functional diagram is shown in the figure 2. The RF capacitance level transmitter is used to measure the liquid level in the process tank. In level control action, the pump

Qi Qo

= A dH

dt

(1)

sucks water from reservoir tank and gives it to control valve. The error signal is generated by the PC and according to this signal. the control signal is generated and given to the Electro-Pneumatic converter. It controls the flow of the fluid in pipeline by varying stem position of the control valve. For

But the outflow rate Qo is dependent on the height of the tank. Considering the Valve V2 as an orifice, considering that the opening of the orifice (valve V2 position) remains same throughout the operation, therefore,

maintaining the level of the process tank, flow is manipulated level signal is given to the Data acquisition card. By pass line

Qo = CH

(2)

where, C is a constant. So from equation (1) we can write that,

Q C H = A dH

i

dt

(3)

The nonlinear nature of the process dynamics is evident from equation 3, due to the presence of the term H. In order to linearize the model and obtain a transfer function between the input and output, let us assume that initially Qi = Qo = Qs; and the liquid level has attained a steady state value Hs.

Now expanding in Taylors series, we can have

Qo = Qo(Hs) + Qo (Hs)(H Hs) +

(4)

Fig 2: Function diagram of Liquid Level system

Taking first order approximation, we obtain linear model as

q = A dh + 1

(5)

The components specification of the plant is given in table 1. For designing the control parameters, the first step is to

where q= Qi – Qo

dt R

obtain the mathematical model of the plant, LLS. The linear modeling is explained in this section in a simple method [5] by considering the figure 3.

Table 1: Specification of Liquid Level System

h=H Hs

Hs is the steady state height

From (5) the transfer function of the plant is obtained as:

h(s) = R q(s) s + 1

(6)

 Pump Process tank Reservoir tank Model Tullu 80 Material Acrylic Material Mild Steel Speed 6500RPM Capacity 2 liters Capacity 7 liters

where,

R = 2Hs

C

and

= R A

Equation 6 is the transfer function of the plant.

IV. FRACTIONAL ORDER PID CONTROLLER

Fig 3: Modeling diagram of Process tank

Let Qi and Qo are the inflow rate and outflow rate (in m3/sec) of the tank, and H is the height of the liquid level at

In the last two decades, fractional calculus has been rediscovered and applied in many number of fields, mainly in the area of control theory [6], [7], [8], [9]. Fractional order proportional-integral-derivative (FOPID) controllers have received a considerable attention in the last years and they provide more flexibility in the controller design, with respect to the standard PID controllers, because they have five parameters to tune. Other than Kp, Ki, an Kd control parameters of normal PID controller, and , fractional powers ( and ) of the integral and derivative parts, respectively add to the better flexibility of Fractional PID controller.

The differential equation of Fractional order PID controller is given as:

any time instant. We assume that the cross sectional area of the tank be A. In a steady state, both Qi and Qo are same, and the height H of the tank will be constant. But when they are unequal, we can write,

U(t) = Kpe(t) + KdJte(t) + KiDte(t)

(7)

The continuous transfer function of FOPID is also obtained through Laplace transform as:

Table 2: Control parameters from Zeigler-Nichols method

C(s) = K + Ki + K s

p s d

(8)

1. FRACTIONAL ORDER PID: TUNING Fractional PID controller is actually an extended and

much more advanced form of PID controller with more number of control parameters which increase the design freedom and also makes the controller more flexible. The tuning is done to obtain the parameters of PID controller Kp, Ki and Kd by Ziegler-Nichols and Astrom-Hagglund method. The initial values of Kp and Ki are obtained by using Zeigler- Nichols tuning method. The initial value of Kd is obtained by using Asttrom-Hagglund method. The integral and differential order and are then obtained by solving the non-linear equations which are obtained by considering the phase margin is equal to the desired phase margin and the criteria

C(jcp)G(jcp) = 1

the equation below must be satisfied:

 CONTROL SCHEME Kp Ki Kd ZEIGLER- NICHOLS 1.0440 1.0158 0.257

After obtaining Kp, Ki, and Kd values, same parameters are tuned using Asrtom-Hagglund method with the desired phase margin as 30, whose result is shown in table 3. The Kd value is then fine-tuned to obtain the better response. The corresponding result is shown in table 4.

Table 3: Control parameters from Astrom-Hagglund method

 CONTROL SCHEME Kp Ki Kd ASTROM- HAGGLUND 1.7399 1.77179 0.42714

After obtaining these results, the Kp, Ki, and Kd values from Zeigler-Nichols and Kd from Astrom-Hagglund method

C(jcp) = 1 ejpm = Kccospm + jKcsinpm

G(jcp)

LHS of the equation can be written as below:

(9)

is selected to find the integral and differential order of

Fractional order PID controller which is obtained by solving equations 10 and 11, the results are tabulated as in table 5.

C(j

) = K

+ K

cp

p i cp

cos (2 ) + Kdcp

cos (2 ) +

 CONTROL SCHEME Kp Ki Kd ASTROM- HAGGLUND 1.7399 1.77179 0.63485

Table 4: Control parameters after fine tuning

j[Kicp sin ( ) + Kdcp sin ( )]

(10)

2 2

Thus the non-linear equations are obtained as:

f1(, ) = kp + kicpcos( )+kdcpcos( )-

kc(cospm)

2 2 (11)

 CONTROL SCHEME Kp Ki Kd FOPID 1.0440 1.0158 0.63485 0.4433 1.0467

f2(, ) = kicpcos( )+kdcpsin( )-

Table 5: Fractional order PID control parameter

2

kc(sinpm)

2 (12)

Hence all the control parameters of Fractional order PID controller is obtained. The values can be optimized to obtain better values of control parameters.

1. APPLICATION OF TUNING METHOD

The transfer function of LLS shown in figure 3 is obtained after taking the measurements radius of inlet valve, outlet valve, process tank and undergoing certain calculations. The transfer function of LLS is therefore obtained as:

The conventional PID designed for phase margin 30Â°is shown in table 6.

 CONTROL SCHEME Kp Ki Kd PID CONTRO- LLER 0.3420 8.13 12.8908

Table 6: Fractional PID control parameter

G(s) = 1.23

0.924+1

1

(13)

which is of first order plus a delay system.

The tuning of PID controller by Zeigler-Nichols method is done, and the result is shown in the table 2.

2. SIMULATION RESULTS

The simulation results of control designs are discussed here. The figure 4 shows the step response of Zeigler-Nichols tuning.

Fig 4: Step response of Zeigler-Nichols tuning method

The figure 5 shows the simulation result of Astrom-Hagglund method.

Fig 7: Frequency Response of PID controller

VI. CONCLUSION

The Liquid Level System has been modeled and Transfer function is obtained as in equation 13. The Fractional Order PID controller has been designed for the LLS and the frequency response is taken and has been validated that the required phase margin is satisfied by the controller. The conventional PID is also degined for same phase margin and its observed that Fractional PID is better than PID as it satisfies the Phase Margin more accurately as in figure 7.

Fig 5: Step response of Astrom-Hagglund tuning method

The Fractional order PID controller is designed using the results of Zeigler-Nichols and Astrom-Hagglund method, and the frequency response is obtained as in figure 6.

Fig 6: Frequency Response of proposed controller

The desired phase margin is obtained from the Fractional PID controller designed as shown in figure 6. For comparing the Frequency response of FOPID controller with conventional technique, a normal PID controller is designed for desired phase margin of 30Â° and the Frequency response is compared as in figure 7.

REFERENCES

1. Podlubny I., Fractional-order systems and PID controllers, IEEE Transactions on Automatic Control, volume. 44, issue 1, pages 208-214, 1999.

2. Irving,E.,Miossec,C.,Tassart,J., Towards efcient full automatic operation of the PWR steam generator with water level adaptive control 2nd International Conference on Boiler Dynamics and Control in Nuclear Power Stations ,.British Nuclear Energy Society, Bournemouth, pages.309329, 1980.

3. Bendotti, P., C.M. Falinower and J.M. Legros Steam Generator Water Level Control: A Benchmark for Hybrid Control Techniques. International Federation of Automatic Control, Volume 16 part 1, pages 333-336, 1999.

4. C. Yeroglu, N. Tan, Note on fractional-order proportionalintegraldifferential controller design, IET Control Theory Appl., Vol. 5, Issue 17, pages 19781989, 2011.

5. NPTEL study material, Version 2 EE IIT, Kharagpur.

6. Radek Matusu, Application of fractional order calculus to controltheory, International Journal of Mathematical models and methods in applied sciences, Volume 5, Issue 7, pages 1162-1169, 2011.

7. Qin Changmao,Qi Naiming,Song Zhiguo, Fractional PID controller design of Hypersonic Flight Vehicle, in proceedings of International conference on Computer, Mechatronics, Control and Electronic Engineering (CMCE), pages 466-469, 2012.

8. Y. Luo, H. Chao, L. Di and Y.Q. Chen, Lateral directional fractional order (PI) control of a small fixed-wing unmanned aerial vehicles: controller designs and flight tests, IET Control Theory Application, volume 5, issue 8, pages 2156-2167, 2011.

9. C. A. monje, Y. Q. Chen, D. Xue, B. M. Vinagre and V. Feliu, Fractional order Systems and Control:

Fundamentals and Applications, Advances in Industrial Control, Springer, 2010.