chapter 3 analytical method for determination of scaling factors

23
CHAPTER 3
ANALYTICAL METHOD FOR DETERMINATION OF
SCALING FACTORS
3.1
INTRODUCTION
Successful design of FLCs depends on the proper selection of input
and output scaling factors. This chapter describes the Fuzzy PI Controller and
determines an unified analytical method for determination of the scaling
factors in Fuzzy PI Controller.
3.2
FUZZY PI CONTROLLER
3.2.1
Block Diagram Description
Figure 3.1 shows the block diagram of Fuzzy PI Controller. It
consists of a Fuzzy Logic Controller (FLC), two input scaling factors Ge,G
e
and output scaling factor Gu, R the set point, u the controller output and y the
process output. Error and change in error are the two inputs to the Fuzzy
Logic Controller. The Fuzzy Logic PI Controller generates incremental
control output u from error (e) and change of error ( e).The actual value of
the controller output (u) is obtained by the accumulation of the incremental
change in controller output.
u(k) = u(k-1) + u(k)
where,
k is the sampling instant.
u (k) is the change in controller output at kth sampling instant.
(3.1)
24
Figure 3.1 Block diagram of FPIC
3.2.2
Model Approximation
Standard method of finding controller gains has been developed for
first order plus time delay model (FOPTD). Mostly to design a controller for
higher order system, the system is reduced to a FOPTD model. Many methods
are available for reducing the higher order system. Among these Sundaresan
and Krishnaswamy method is used for approximating the higher order system.
(Bequette 2006). In this method, two time instants t1 and t2 must be estimated
from the step response curve corresponding to the response times 35.3% and
85.3% respectively, as illustrated in Figure 3.2. The reduced transfer function
is represented as
G(s)
K
e
( s 1)
s
(3.2)
25
Figure 3.2 Step response of the system with times t35.3% and t85.3% marked
where
Process Gain K
Time constant
Time delay
y/ u
= 0.67 (t1-t2)
= 1.3t1-0.29t2
(3.3)
(3.4)
(3.5)
t1 - time at 35.3% of unit step response
t2 - time at 85.3% of unit step response
3.2.3
Determination of PI Controller Gain
Determination of PI controller gains directly for FOPTD model is
given by SIMC approach (Skogested 2003). Here the SIMC method is used to
derive the PI controller gains. The proportional gain Kp and integral time
constant
I are
obtained using the Equations 3.6 and 3.7.
26
0.5
K
Kp
(3.6)
(3.7)
I
KI =
Kp
(3.8)
I
where,
Kp - Proportional gain
KI - Integral gain
I
- Integral time constant
K - Process gain
- Time constant
- Time delay
3.2.4
Determination of Scaling Factors
The PI controller produces an output signal proportional to the error
signal and proportional to the integral of the error signal and is given by
Equation 3.9 (Coughenour 1991, Stephanopolous 1984, Ogata 1997, Gopal
1992, Shinsky 1998)
The conventional PI controller is expressed mathematically as,
u(t) K p e(t) K I e(t)dt
Where,
Kp
- Proportional gain
KI
- Integral gain
u(t) - Controller output as a function of time
e(t) - Error as a function of time
Differentiating Equation 3.9,
(3.9)
27
du(t)
dt
de(t)
dt
Kp
(3.10)
K I e(t)
Discretizing Equation 3.10 by backward difference approximation
u (k ) u (k 1)
e(k ) e(k 1)
= Kp
TS
TS
K Ie( k )
(3.11)
where Ts - Sampling time
u ( k ) = K P e(k)
K I TSe(k)
(3.12)
Fuzzy controller will generate u N as a function of normalised error
and normalised change of error.
u N (k)
f (e N , e N )
(3.13)
Actual output of fuzzy controller is a function of error and change
of error
u(k)
f (G e e, G
e
(3.14)
e)G u
The function ‘f’ is the fuzzy input-output map of the fuzzy
controller. It is possible to construct a rule base with a linear input-output
mapping that acts like a summation and is shown in Equation 3.15
(Silver and Ying 1989, Qiao and Mizumoto 1996 )
f (G e e,G
e
e)
G e e(k) G
e
e (k)
(3.15)
Therefore using linear approximation given in Equation 3.15,
Equation 3.14 can be approximated as a linear combination of error and error
change
u(k)
G e G u e(k) G
e
e(k) G u
(3.16)
28
Comparing Equations 3.12 and 3.16 the following relation is
obtained,
G
e
Gu
Ge Gu
Kp
(3.17)
K ITS
(3.18)
There are four unknowns in the Equations 3.17 and 3.18. Sampling
time Ts is fixed for the fuzzy controller. From the literature and also from
simulation study,it is found that variation of Ge, does not affect the rise time
and settling time. So in this study, Ge is assumed and the other two parameters
G e and Gu are found using Equations 3.17 and 3.18.
3.3
CONCLUSION
In this chapter, an analytical method is derived for selecting the
scaling factors in a Fuzzy PI Controller.Eventhough there are a very few
analytical analytical solution in the existing literature (Parasiliti et al 1996,
Betin et al 2007) those methods are all system dependent.But the analytical
method given in this chapter is applicable for any system.In the next chapter,
this analytical method is used to calculate the scaling factors and to conduct
simulation studies on FPIC.