Professional Documents
Culture Documents
2015-Adaptive Multi-Loop Fractional Order PID - USB
2015-Adaptive Multi-Loop Fractional Order PID - USB
2015-Adaptive Multi-Loop Fractional Order PID - USB
Abstract— Quadruple Tank process is a multi-input-multi-output singular values and condition numbers. Gain matrix with
process. Mathematical modeling of the MIMO process is large condition number said to be ill-conditioned [1]. Many
computed. State space model is computed from the mathematical
model and is converted into transfer function matrices. Fourth methods has been proposed for tuning decentralized PID
order transfer function is approximated into first order plus dead controller such as auto-tuning method from step tests[2],
time. Relative Gain Array (RGA) is computed for pairing the effective transfer function based methods[3], automatic
input and output. Steady state gain matrix is used for determining
tuning method [4], relay feedback tuning method[5] ,
illness of MIMO system. Singular value decomposition technique
is used to determine condition number to avoid sensitivity detuning method, sequential loop closing method[6]. The
problem which arises due to small change of process output. In steps involved in tuning of multi-loop PID are tedious. From
proposed method, multiloop centralized fractional order PID simulation point of view, the mathematical model of the
controller is designed for minimum phase Quadruple Tank
process. Simulation studies show the likelihood of the proposed process needs to be computed. The linear region should be
method for the computational analysis of the nonlinear minimum chosen from input output characteristics and state space and
phase interacting process. The experimental results indicate that transfer function for each linear need to be computed. The
the developed control schemes work well under servo, regulatory influence of manipulated variable and controlled variable
and servo-regulatory conditions.
should be analysed by interaction study [7][8]. Process
Index Terms—Quadruple tank Process, Multi loop Fractional interaction plays vital role in design of optimal controller,
Order PID control, Relative Gain Array, Condition number, such interaction can be compensated by feed forward
nonlinear process.
element called decoupler [9].
Many of MIMO process are higher order dynamics
I. INTRODUCTION
because of sensors and final control element. For
The control of liquid level in tank process is basic control decentralized control design, higher order models
problem in many process industries. Nonlinear multi input approximated into reduced first order model plus dead time
multi output process with high interaction are complex to or second order model plus dead time. All the real world
control. Such multivariable system can be controlled either system is not an exact integer order system. In earlier time,
by centralized multivariable control scheme or decentralized all the real world processes are approximated into integer
multi loop control scheme. In many process industries multi- order process due to lack of method availability. But now,
loop PID control scheme is used for it advantage. The main emerging numerical techniques used to convert
advantage of multi-loop scheme is that if any loop fails, the approximated integer order process into accurate fractional
control engineer can easily identify and replace controller, order process [10].
easy to implement and tune. In this technique multi input The fractional calculus was 300 years old topic in the
multi output (MIMO) process decomposed into single input branch of mathematics. Mathematician was privileged to
single output process. Condition numbers are found to deal with fractional order calculus. Now the engineering
determine the worst case deviation of the open loop transfer start to explore fractional order technique in engineering
function. Some linear systems, a small change in one of the application. The physical meaning of fractional order system
elaborated and identified in recent times. For last three
values of the coefficient matrix or the right-hand side vector
decades, the occurrence and importance of fractional
causes a large change in the solution vector. A solution of calculus techniques in control engineering has been
some linear system more sensitive to small change in error. increased [11][12]. PID controllers have been widely used in
That is small error in process can change large error in all kind of processing industries because of simplicity and
control action, therefore such system can to be decomposed. lower percentage overshoot, robustness [13]. The
The ill conditioned plant estimated in terms of certain conventional PID controller flexibility, robustness and
ISBN: 978−81−925974−3−0
International Conference on Robotics, Automation, Control and Embedded Systems – RACE 2015
18-20 February 2015, Hindustan University, Chennai, India.
accuracy improved by additional two extra degree of unstable. If the sum of distribution valve constant is 1, then
freedom called integral order λ and derivative order μ . transmission zero will be at origin. The flow of tank is the
[14][15]. product of pump gain, ratio of valve opening and voltage
Tuning of five different parameters of controller is applied to the pump. The voltage to the pump is manipulated
difficult and challenging task. Recently various swarm variable which is applied pump driver circuit. The inflow
intelligence techniques like particle swarm optimization, bee water to Tank 1 is γ1k1v1 and flow to Tank 4 is (1-γ1)k1v1,
colony optimization, bacterial foraging, particle swarm Similarly for Tank 2 and 3. The control objective is to
optimization, bat algorithm [16, 17], differential evolution maintain the level in the lower two tanks 1 and 2 with two
(DE)[18,19], Genetic algorithm and some hybrid pumps.
optimization [20,21,22], etc has gained popularity in the
field of automation. Bat algorithm is a new metaheuristic A. Mathematical Modeling
method to find global optimum value. The micro bats find
their prey by its natural echolocation behaviour. The global Mathematical models of system were developed for
optimum value of fractional order controller parameters is many reasons. They may be constructed to assist in the
found by bat algorithm [23] [24]. In the proposed work, interpretation of experimental data, to predict the
multiloop fractional order PID controller parameters is consequences of changes of system input or operating
brought out by using the optimal values obtained from Bat condition, to deduce optimal system or operating conditions
algorithm for quadruple tank process. and for control purposes. But the main problem in modeling
In this paper multi loop fractional order PID control is the process dynamics should be captured otherwise no use
is used for quadruple tank process. The paper has been in modeling the process. The dynamic model of the process
organized as follows : Section 2 discusses the quadruple has been derived from the application of fundamental
tank process, section 3 elaborates the bat algorithm in physical and chemical principles to the system, using a
general, section 4 gives an insight on the fractional calculus, conventional mathematical modeling approach.
section 5 details multiloop fractional order PID controller dh1 a a γ
= − 1 2 gh + 3 2 gh + 1 k ν
(1)
1 3 1 1
tuning, section 6 discusses result analysis and discussion dt A1 A1 A1
and finally Conclusion. d h2 a a4 γ (2)
= − 2 2 g h2 + 2 g h4 + 2
k 2ν 2
dt A2 A2 A2
II. QUADRUPLE TANK PROCESS DESCRIPTION dh 3 a
= − 3 2 gh 3 +
(1 − γ 2 ) k v2
(3)
2
dt A3 A3
dh 4 a
= − 4 2 gh +
(1 − γ 1 ) k v1
(4)
4 1
dt A4 A3
The nominal values of the parameters and variables are
tabulated in table 2.1
TABLE 1. Nominal values of the parameters used
Parameter Description Value
A1,A3 cross sectional area of tank 28 cm2
1 and 3.
A2,A4 cross sectional area of tank 32 cm2
2 and 4.
a 1, a 3 cross-sectional area of the 0.071 cm2
outlet hole for tank 1 and 3
a 2, a 4 cross-sectional area of the 0.057 cm2
outlet hole for tank 1 and 3
g Gravitational constant 981 cm/s2
γ1, γ2 Flow distribution constant 0.70,0.60
Fig.1. Schematic diagram of Quadruple tank process
The open loop data was generated in the Quadruple tank
The schematic diagram for quadruple tank process is system by varying the inflow rate by V1 and V2 open loop
shown in figure 2.1. Johannson [25] proposed laboratory data generated .Operating points found out from the input
Quadruple tank process which consists of four output characteristics.
interconnected water tanks with two pumps v1 and v2. Pump
v1 is connected to tank1 and 4 with distribution valve γ1. B. State Space Model
Similarly pump 2 is connected to tank 2 and tank 3 with
distribution valve γ2. By adjusting the valve position γ1 and State space model for the quadruple tank process is
γ2, the dynamic of process can be changed by introducing obtained by linearizing the mathematical model using
transmission poles and interaction. If the sum of distribution Jacobian approximation and substituting the operating
valve γ1, γ2 is between 1 to 2, then the system is minimum conditions. In table 2.2, State space model and transfer
phase with transmission zero in left half. If the sum is function matrix is shown. The linearized state space model
between 0 to 1, then the system is non-minimum phase with represented as
transmission zero in right half which makes the process
ISBN: 978−81−925974−3−0
International Conference on Robotics, Automation, Control and Embedded Systems – RACE 2015
18-20 February 2015, Hindustan University, Chennai, India.
⎡ −1
0
A3 ⎤ ⎡ γK
0 ⎥ ⎢ 1 1 0
⎤ singularity. A system with high value of condition number
⎢T AT A1 ⎥
⎢ 1 1 3
⎥ ⎢ ⎥ indicates how the linear dependent system is based on
⎢ −1 A4 ⎥ ⎢ γ 2 K2 ⎥
⎢ 0
T2
0
A3T4 ⎥⎥ ⎢
0
A2 ⎥ Singular value decomposition of the gain matrix. When
(5)
i
x=⎢ x+⎢ ⎥u dealing with condition number concept in control system, if
⎢ −1 ⎥ ⎢ (1 − γ 2 ) K2 ⎥
⎢0 0 0 ⎥ ⎢ 0 ⎥ it is below 50 then the system can be easily decoupled.
⎢ T3 ⎥ ⎢ A3 ⎥
⎢ −1 ⎥ ⎢ (1 − γ 1 ) K1 ⎥
⎢0 0 0 ⎥ ⎢ 0 ⎥
⎣ T4 ⎦ ⎣ A4 ⎦ b = g 121 + g 122 (8)
c = g 11 g 21 + g 12 g 22 (9)
⎡1 0 0 0⎤ d = g 2
+ g 2 (10)
y = ⎢ x (6 ) 21 22
⎣0 1 0 0 ⎥⎦
σ 1 = s12 =
(b + d ) + (b − d ) 2 + 4 c 2 (11)
2
Where Ti =
Ai 2 hi
, i = 0 ,1 , 2 , 3 , 4 . bd − c 2
(12)
ai g σ 2 = s 22 =
s 12
⎡s 0 ⎤
TABLE 2. Operating Conditions and the Conventional State Space and ∑ = ⎢ 1
Transfer Function Model of the Quadruple Tank Process ⎣0 s 2 ⎥⎦
Condition number C N = s 1 = σ m a x v a lu e (13)
Operating points
s2 σ m in v a lu e
V1s=3.15; V2s=3.15, h1s=21.67, h2s=22.54, h3s=13.12, h4s=14.12
Where σmax and σmin are the maximum and minimum
State space model singular values of Gain matrix.
⎡ − 0 .11 0 0 0 .11 ⎤ ⎡ 0 . 38 0 ⎤ ⎡1 0 0 0⎤
⎢ 0 ⎥ C = ⎢ ;
⎢ 0 − 0 .08 0 .08 0 ⎥⎥ ⎢ 0 . 27 ⎥ ⎣0 1 0 0 ⎥⎦
A=⎢ . B =
⎢ 0
⎢
0 − 0 .08 0 ⎥
⎥
⎢ 0 . 44
⎢
0 ⎥
⎥
⎡0
D = ⎢
0⎤ B. Calculating RGA with steady state gain matrix
⎣ 0 0 0 − 0 .11 ⎦ ⎣ 0 0 . 59 ⎦ ⎣0 0 ⎥⎦
Transfer Function Matrix G(s) Relative Gain Array formed. RGA is a normalized
⎡ 0.08s3 +0.007s2 +0.0001s+1.3×10−6 0.001s 2 +6.2×10−5 s +7.3×10−7 ⎤ form of the gain matrix.RGA has been widely used for the
⎢ s4 +0.1s3 +0.003s2 +5.3×10−5 s+2.5×10−7 s +0.1s3 +0.003s 2 +5.3×10−5 s +2.5×10−7 ⎥ .
4 multi-loop structure design, such as a ratio of an open-loop
⎢ 0.002s 2 +9.2×10−5 s +7.6×10−7 0.06s3 +0.005s 2 +0.001s +1.47×10−6 ⎥
⎢4 ⎥ gain to a closed-loop gain. It is used to find the influence of
⎣ s +0.1s3 +0.003s2 +5.3×10−5 s+2.5×10−7 s 4 +0.1s3 +0.003s 2 +5.3×10−5 s +2.5×10−7 ⎦
input to output. Form the transfer function matrix dynamic
relative gain arrays are formulated. Variable pairing is done
by selecting the values of relative gain close to value 1.
C. Approximation of the higher order transfer function to
first order plus dead time model for the Quadruple tank TABLE 3. Condition Number for Operating Range.
process
Condition Number for Operating Range.
Any higher order process can be approximated to Gain matrix Condition No. RGA
first order plus dead time. Analysis and controller design
⎡5 .192 2 .836 ⎤ C.N=3.3 ⎡ 1 .4 − 0 .4 ⎤
will be easy if higher order system is approximated to a G (0 ) = ⎢
5 .705 ⎥⎦ ⎢ − 0 .4 1.4 ⎥⎦
⎣ 2 .986 ⎣
FOPDT system. An attempt has been made to approximate
the second order process to FOPDT system.
⎡ 5.192 2.836 ⎤ C. NI Analysis with RGA
⎢ 62 .07 s + 1 e − 0. 2 s ⎥ (7)
126 .61 s + 1
G (s) = ⎢ ⎥.
⎢ 2.986 e − 0.2 s 5.705 ⎥ The stability of control loop pairing is analyzed by
⎣⎢ 89 .6 s + 1 91 .75 s + 1 ⎦⎥ Niederlinski index. Stability analysis of control loop pairing
is calculated by Niederlinski Index. This stability analysis is
perfectly applicable for two input two output system.
III. INTERACTION ANALYSIS Negative value of NI indicates the instability of pairing [26].
G (14)
A. Condition number NI =
∏
n
i =1
G ii
ISBN: 978−81−925974−3−0
International Conference on Robotics, Automation, Control and Embedded Systems – RACE 2015
18-20 February 2015, Hindustan University, Chennai, India.
IV. BASICS OF FRACTIONAL CALCULUS initial conditions assumption. The Laplace transform of the
Caputo fractional derivative is
The differ-integral operator, aDtq, is a combined
differentiation-integration operator commonly used in n −1
fractional calculus. This operator is a notation for taking
both the fractional derivative and the fractional integral in a
{ }
L a Dtq f (t ) = s q F (s) − ∑S q −k −1 ( k )
f (0) ; n − 1 < q < n (12)
single expression and is defined by Contrary to the Laplace transform of the Riemann-
⎧ dq Liouville fractional derivative, only integer order derivatives
⎪ q q>0
⎪ dt of function f are appeared in the Laplace transform of the
q ⎪ Caputo fractional derivative. For zero initial conditions,
a Dt = ⎨ 1 q=0 (6)
⎪t previous equation reduces to
⎪ ( dτ )−q
⎪⎩ ∫a
q<0 L { 0 D tq f ( t )} = s q F ( s ) (13)
Where q is the fractional order which can be a complex The numerical simulation of a fractional differential
number and a and t are the limits of the operation. There are equation is not simple as that of an ordinary differential
some definitions for fractional derivatives. The commonly equation. Since fractional order differential equations do
used definitions are Grunwald-Letnikov, Riemann-Liouville not have exact analytic solutions, approximations and
and Caputo definitions (Podlubny1999b). The Grunwald- numerical techniques are used. The approximation method,
Letnikov definition is given by Oustaloup filter is given by
d q f (t )
-q
⎛q⎞
s
⎡ t-a ⎤ N-1 ⎡ t-a ⎤ 1+
q
a Dt = = lim ⎢ ⎥ ∑ (-1) j ⎜ ⎟ f(t-j ⎢ ⎥ ) (7) N
ωzn
sq = k ∏
q
d (t − a) N->inf
⎣ N ⎦ j=0 j
⎝ ⎠ ⎣N⎦ ; q>0 (14)
The Riemann-Liouville definition is the simplest and easiest s
n=1
1+
definition to use. This definition is given by ωpn
t
dq f (t) 1 dn
d(t − a)q Γ(n − q) dt n ∫0
Dq
a t f (t ) = = (t −τ )n-q-1 f (τ )dτ (8) The approximation is valid in the frequency range [ωl,
ωh]; gain k is adjusted so that the approximation shall have
unit gain at 1 rad/sec; the number of poles and zeros N is
Where n is the first intger which is not less than q i.e. n- chosen beforehand (low values resulting in simpler
1≤q<n and Γ is the Gamma function. approximations but also causing the appearance of a ripple
inf
in both gain and phase behaviours); frequencies of poles and
∫t
z-1 − t
Γ(z) = e dt (9) zeros are given by
0 q
⎛ ω ⎞N
For functions f(t) having n continuous derivatives for t≥0 α =⎜ h ⎟ (1 5)
where n-1≤q<n, the Grunwald-Letnikov and the Riemann- ⎝ ωl ⎠
Liouville definitions are equivalent. The Laplace transforms
1− q
of the Riemann-Liouville fractional integral and derivative
are given as follows:
⎛ω ⎞ N
η =⎜ h ⎟ (16)
n-1
⎝ ωl ⎠
L{a D f (t)} = s F(s) − ∑s 0 D
q q k q−k −1
f (0); n-1<q<n (10)
t
k=0
t
ωzn = ω p ,n −1η , n=2,....,N
The Riemann-Liouville fractional derivative appears ω pn = ωz ,n −1α , n=1,....,N .
unsuitable to be treated by the Laplace transform technique
because it requires the knowledge of the non-integer order V. BAT ALGORITHM
derivatives of the function at t=0. This problem does not
exist in the Caputo definition that is sometimes referred as
smooth fractional derivative in literature. This definition of Swarm Intelligence techniques, such as particle swarm
derivative is defined by optimization, ant colony optimization, bee colony
optimization are gaining popularity in the recent past in the
⎧ 1 t f (m) (τ ) control engineering areas to solve complex problems. In the
⎪Γ(m − q) ∫0 (t −τ )
⎪ q+1-m
dτ ; m-1<q<m
q proposed research work, Bat colony optimization is used for
a Dt f (t) = ⎨ (11)
the optimization purpose. Bats have echolocation property
m
⎪ d [1,2] based on SONAR effects to identify prey, shun
⎪⎩ dt m f (t) ; q=m
obstruction, to find gap in the dark. Loud sound emanates
from Bats which is bounced back by the surrounding
Where m is the first integer larger than q. It is found that objects. The resultant signal bandwidth is correlated to the
the equations with Riemann-Liouville operators are various species. The duration of the pulse is a few
equivalent to those with Caputo operators by homogeneous thousandths of a second (approx. 8 to 10 ms), with a
constant frequency in the range of 25 kHz to 150 kHz.
ISBN: 978−81−925974−3−0
International Conference on Robotics, Automation, Control and Embedded Systems – RACE 2015
18-20 February 2015, Hindustan University, Chennai, India.
During hunting, the pulse rate is about 200 pulses per Multi loop single input single output controller widely
second nearer to their prey, specifying the signal processing used in all multivariable process. Whole MIMO process is
capability of the bats. The bat ear has an integration time treated into many SISO process to make control strategy
around 300 to 400s. Speed of sound in air is typically v = simple. Lower order control can be improved by
340 m/s, the wavelength λ of the ultrasonic sound bursts decentralized control. In spite of many advanced control
with a constant frequency f is given by λ=v/f, which is in the strategies, multi loop control strategies widely used in
range of 2mm to 14mm for the typical frequency range from process industry due to reasonable performance and easy
25kHz to 150 kHz. The loudness varies from loudest to implementation , easiness to handle loop failure .Multi loop
quietest from searching to nearing the prey. They even control design involves two methods. First one is
avoid hinderance in the size of hair. The time delay between decentralized single input single output system and second
emission and reception gives three dimensional view of the one is decoupler to eliminate the interaction effect.
scene Bats have the capability to identify the location of the
prey, its moving speed and its direction. The sight, smell m × m Process output can be described as
properties and the Doppler effect helps detect their prey with m
easiness. Steps involved for the Bat algorithm is given
below:
Y1 ( s ) = G11 ( s ) ⋅ U1 ( s ) + ∑G
i =2
1i ( s ) ⋅ U i ( s ) (17)
ISBN: 978−81−925974−3−0
International Conference on Robotics, Automation, Control and Embedded Systems – RACE 2015
18-20 February 2015, Hindustan University, Chennai, India.
order PID controllers for the loop with higher interaction 40 Height
20
0
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
Time (in secs)
B. Regulatory response
Fig 2. Block diagram of the Multiloop fractional order PID controller Fig.4 shows the regulatory response of the proposed
tuned using Bat Algorithm for two interacting conical tank process.
control scheme for quadruple tank process. Disturbance is
Table 4. Pid Parameters For The Proposed Scheme
given to the process at an interval of 1000sec. By adjusting
the manipulated variable, the process output is maintained
Technique Loop1 Loop2 constant irrespective of the disturbance applied within the
Controller tuned Kp1= 6.8152 Kp2 = 0.6626 range of ±10%. The response of disturbance rejection at
Ki1 = 0.82 Ki2 = 2.1056 steady sate is shown in fig.4. The ISE,IAE,ITAE value of
using Bat
Kd1 = 0.7184 Kd2 = 1.611 Fractional order PID controller 1,2 under regulatory
algorithm λ1 = 0.9686 λ2 = 0.7788 problems is tabulated in table VI.
µ1 = 0.5313 µ2 = 0.4235
VII. ANALYSIS
A. Servo Response
ISBN: 978−81−925974−3−0
International Conference on Robotics, Automation, Control and Embedded Systems – RACE 2015
18-20 February 2015, Hindustan University, Chennai, India.
Output Response for H1 Fig 5 shows the servo regulatory response of the
40 proposed controller. A variable step inputs are applied and a
disturbance is applied after the response reaches the steady
Height (H1 in c m )
30
state value. Even though both the set point and disturbance
20 are applied simultaneously, the proposed Fractional order
10
Set Point PID controller scheme is capable of providing efficient
Height
control action. The ISE,IAE,ITAE value of Fractional order
0
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 PID controller 1,2 under regulatory problems is tabulated in
Time (in secs) table VII.
Output Response for H2
40
Table 7. Performance indices under Servo-regulatory problems
Set Point
Height (H2 in c m )
30
Height
Servo Regulatory IAE ISE ITAE
20
Loop1 3483 39130 6.228e6
10
Loop2 4237 3.38e4 1.112e6
0
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
Time (in secs)
REFERENCES
[1]. Jie chen, james s. Freudenberg and carl n. Nett , The role of the
condition number and the relative gain array in robustness
analysis. Automatica, 1994 30(6), 1029-1035.
40
Set Point
[4]. Palmor ZJ, Halevi Y, Kransney N, Automatic tuning of
Height
decentralized PID controllers for TITO process. Automatica, 1995,
20 31(7), 1001-1010.
Set Point
40
Height
[7]. Xiong Q, W.J. Cai and M.J. He, A practical loop pairing criterion
20 for multivariable processes. Journal of process control, 2005, 15,
741-747.
0
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
Time (in secs)
[8]. E.H. Bristol, on a new measure of interaction for multivariable
process control. IEEE Transactions on Automatic Control, 1966,
Fig.5 Servo and Regulatory Response of FOPID controller 1, 2 11 (1), 133–134.
ISBN: 978−81−925974−3−0
International Conference on Robotics, Automation, Control and Embedded Systems – RACE 2015
18-20 February 2015, Hindustan University, Chennai, India.
[10]. Petras, The fractional order controllers: Methods for their synthesis
and application. Journal of Electrical Enginnering, 1999, 284-288.
[14]. Fabrizio Padula ,VisioliA, Tuning rules for optimal PID and
fractional-order PID controllers. Journal of Process Control, 2011,
21, 69–81.
ISBN: 978−81−925974−3−0