Professional Documents
Culture Documents
Abstract. In this paper, a novel design method for determining the optimal
proportional-integral-derivative (PID) controller parameters for multi-input
multi-output (MIMO) Takagi-Sugeno (T-S) fuzzy model using the particle
swarm optimization (PSO) algorithm is presented. In order to assist estimating
the performance of the proposed PSO-PID controller, a new time domain
performance criterion function has been used. The proposed approach yields
better solution in term of rise time, settling time, maximum overshoot and
steady state error condition of the system. The proposed method was indeed
more efficient and robust in improving the step response.
Keywords: Takagi-Sugeno fuzzy model, Particle Swarm Optimization, PID
controller.
1. INTRODUCTION
PID controller, which is usually known as a classical output feedback control for
SISO systems, has been widely used in the industrial world [1] and [2]. The tuning
methods of PID control are adjusting the proportional, the integral and the
derivative gains to make an output of a controlled system track a target value
properly. Several researchers focus on MIMO control systems. Because many
industrial processes are MIMO systems which need MIMO control techniques to
improve performance, though they are naturally more difficult than SISO systems.
As we know, MIMO PID controller design has developed over a number of years.
Luyben has been proposed a simple tuning method for decentralized PID controllers
in MIMO system from single loop relay tests [3]. Yusof and Omatu presented a
multivariable self-tuning PID controller based on estimation strategies [4]. We cite
also, An auto-tuning approach for centralized MIMO PID controllers and unknown
process models is presented. Classical multivariable PID controller tuning methods
are combined with iterative feedback tuning (IFT) to develop an auto-tuning method
with a bounded number of tuning parameters [5]. A PID controller calculates an
error value as the difference between a measured process variable and a desired set
point. The controller attempts to minimize the error by adjusting the process control
inputs. Kennedy and Eberhart proposed a swarm-intelligence-based parallel
optimization algorithm PSO [6]. This algorithm shows a realistic performance on
pattern classification, optimization and controller parameters design [7]. Nowadays;
257
there are many engineering fields where they are employed. Allouya et al has been
proposed an intelligent controller of DC Motor drive is designed using PSO method
for formative the optimal PID controller tuning parameters (15). Similarly, the
method is used to determine optimum PID controller parameters for a hybrid model
of the Buck-Boost DC-DC converter control (14). Moreover, the researchers
propose fuzzy PID controllers to replace the conventional ones but the values of
these parameters of the proposed fuzzy PID controllers are optimized using particle
swarm optimization (PSO) technique (16). Most of these works, in PID controller
design methods, the most common used criteria are integrated absolute error (IAE),
the integrated of time weight square error (ITSE) and integrated of squared error
(ISE). In this paper, besides demonstrating how to employ the PSO method to
obtain the optimal PID controller parameters of a nonlinear MIMO system, but, we
have proposed new criteria. The remainder of this paper is organized as follows.
Section 2 describes fuzzy T-S modeling and parameter identification. The proposed
PID tuning algorithm based on PSO is detailed in Section 3. Simulation results and
conclusion are given in Section 4 and Section5, respectively.
1.1 T-S Fuzzy model of MIMO process
Generally, modeling process consists to obtain a parametric model with the same
dynamic behavior of the real process. In this section, we are interested to the
problem of the MIMO process identification [8]. We consider a MIMO system with
ni inputs and n0 outputs. This system can be approximated by a set of discrete time
fuzzy MISO models. We consider also two wo polynomials A and B defined by:
q is a backward shift operator where (qn y(k ) y(k n)) and two integers m
and n which define a delayed sample of a discrete time signal as:
(2)
The MISO models are a input-output NARX (Nonlinear Auto Regressive with
exogenous input) defined by:
yl (k 1) fl ( xl (k )) l 1, 2,..., n0
(4)
258
ny ln0
(3)
nulni
ndlni
Where k denotes the discrete time, n y and nu define the number of delayed
outputs and inputs respectively, nd define the number of pure delays and fl () are
unknown nonlinear functions. MISO models are estimated independently [9], so, to
simplify the notation, the output index l is omitted and we will be interested only in
the multi-input, mono-output case. The T-S MISO rules are estimated from the
system input- output data. The base rule contains r rules of the following form:
Ri : if y1 (k ) is Ai1
and if
nu
j 1
j 1
l 1 j 1
(4)
i=1, 2,,r.
i (k ) i (k 1) Li (k ) yi (k ) (k )iT (k 1)
P(k 1) (k )
1/ ik (k ) P(k 1) T (k )
Pi (k ) Pi (k 1) Li (k ) (k ) Pi (k 1)
(5)
Li (k )
(6)
(7)
where P(k 1) is a covariance matrix and L(k ) referred to the estimator gain
vector. A common choice of initial value is to take i (0) 0 and Pi (0) I
where is a large number.
1.2 PID Control System MIMO Process
n * n MIMO processes:
259
h11 ( z )...h1n ( z )
H ( z ) ... ... ...
hn1 ( z )... hnn ( z )
(8)
C11 ( z )...C1n ( z )
C ( z ) ... ... ...
Cn1 ( z )... Cnn ( z )
(9)
z
( z 1)
)
Tiij ( z 1) Tdij z
Where kp is the proportional gain, Ti is the integral time constant,
C ( z) kpij (1
(10)
and
Td is
C ( z ) kpij
kiij z
( z 1)
kdij ( z 1)
(1.11)
z
where ki kp Ti is an integral gain and kd kp.Td is a derivative gain.
We can also rewrite as Controller design attempts to minimize the system error
produced by certain anticipated inputs [16]. The system error is defined as the
difference between the desired response of the system and its actual response.
Performance criteria are mainly based on measures of the system error ISE, IAE,
and ITSE. They are defined as follows:
N
k 1
N
k 1
N
k 1
N
k 1
k 1
k 1
(1.12)
IAE e1 (k ) e2 (k ) ... en (k )
(1.13)
k 1
k 1
k 1
(1.14)
A disadvantage of the IAE and ISE criteria is that its minimization can result in
a response with relatively small overshoot but a long settling time because IAE and
ISE performance criterion weights all errors equally independent of time. Although
the ITSE performance criterion weights errors with time, the derivation processes of
the analytical formula are complex and time consuming. In this paper, a new
performance criterion in the time domain is proposed for evaluating the PID
controller. A set of good control parameters kp , ki and kd can yield a good step
response that will result in performance criteria minimization in the time domain.
260
These performance criteria in the time domain include the overshoot Mp , Rise
Time ( Tr ), Settling Time ( Ts ), and Steady-State Error ( Ess ). Therefore, a new
performance criterion is defined as follows: time and settling time.
n
(15)
the modified velocity and position of each particle can be calculated using the
current velocity and distance from pbestid to gbestid as shown in the following
formulas:
(16)
(17)
261
(18)
In this paper, a PID controller using the PSO algorithm was developed to improve
the step transient response of nonlinear system. It was also called the PSO-PID
controller. The PSO algorithm was mainly utilized to determine three optimal
controller parameters, and such that the controlled system could obtain a good step
response output. For our case of design, we had to tune all the three parameters of
PID such that it gives the best output results or in other words we have to optimize
all the parameters of the PID for best results. Here we define a three dimensional
search space in which all the three dimensions represent three different parameters
of the PID. Each particular point in the search space represent a particular
combination of kp ki kd for which a particular response is obtained The
performance of the point or the combination of PID parameters is determined by a
fitness function or the cost function. This fitness function consists of several
component functions which are the performance index of the design. The point in
the search space is the best point for which the fitness function attains an optimal
value. For the case of our design, we have taken four component functions to define
fitness function. The fitness function is a function of steady state error, peak
overshoot, rise time and settling time. However the contribution of these component
functions towards the original fitness function is determined by a scale factor that
depends upon the choice of the designer. For this design the best point is the point
where the fitness function has the minimal value.
The proposed PSO-PID controller for searching the optimal controller parameters,
kp , ki , and kd with the PSO algorithm. Each individual contains three
members kp , ki and kd . Its dimension is n 3 . The searching procedures of the
proposed PSO-PID controller were shown as below:
262
Step 8: The individual that generates the latest is an optimal controller parameter.
3. SIMULATION RESULTS
This section presents a simulation example to shown an application of the proposed
control algorithm and its satisfactory performance.
k1Cb (k )
w1 (k )
w (k )
(Cb 2 Cb (k )) 2
Cb (k 1) Cb (k ) Te ((Cb1 Cb (k ))
h(k )
h(k ) (1 k2Cb (k ))2
(19)
where h( k ) is the height of the mixture in the vessel, w1 , w2 the volumetric flow
rates divided by cross-sectional are as with concentration Cb1 (resp, Cb 2 ), k1 and
k2 are
temperature in there actor is assumed constant which is used as a test for control
techniques introduced in this paper, to demonstrate the effectiveness of the proposed
algorithms. Here h1 and h2 are the outputs, w1 and w2 are the inputs which are
uniformly bounded in the region
2, 2 . We choose:
263
0.5
0
0
0.5
1
Discrete time (sec)
1.5
0.7
PSO-IAE
PSO-ITSE
PSO-ISE
PSO-Fit
0.6
0.5
Cb
0.4
0.3
0.2
0.1
0
0
0.5
1
Discrete time (sec)
264
1.5
Tuning Method
PSO-IAE
PSO-ITSE
PSO-ISE
PSO-fit
kp
32.3431
35.7236
10.3487
3.1225
ki
kd
3.2943
16.2192
45.7988
1.2092
6.4829
9.1360
46.4369
1.2675
Tuning Method
PSO-IAE
PSO-ITSE
PSO-ISE
PSO-Fit
kp
31.4310
35.2360
13.4870
1.6380
ki
kd
3.8430
15.1920
44.9880
1.0645
11.7290
35.2360
40.3690
2.9735
Tuning Method
PSO-IAE
PSO-ITSE
PSO-ISE
PSO-Fit
Overshoot
44.0341
47.1406
40.8062
0.0000
Rise Time
Setting Time
0.1104
0.0368
0.0929
0.0419
0.7981
0.4864
0.7970
0.0514
Tuning Method
PSO-IAE
PSO-ITSE
PSO-ISE
PSO-Fit
Overshoot
35.0070
44.8720
38.0510
0.0000
Rise Time
Setting Time
0.0828
0.0400
0.0614
0.0417
0.6939
0.5115
0.5366
0.0511
The results of the comparison are shown in Figure 2, Figure 3. Table 2 and
Table 3 in terms of overshoot, rise time and setting time. In these figures, the blue
line denotes the output control of the T-S fuzzy model based on PSO-IAE, The
green line denote the output control of the T-S fuzzy models based on PSO-ITSE,
265
the purple line shows the output control of the T-S fuzzy model based on PSO-ISE
algorithm and the red line shows the output control of the T-S fuzzy model based on
our algorithm (PSO-Fit). In these Tables, It is observed that the overshoot in MPCFit algorithm was zero; it is lesser than those of other algorithms. The rise time was
0.0419 for first output ( h ) and it was 0.0417 for second output ( Cb ), it is lesser than
those of other algorithms. The setting time in our algorithm is 0.0514 and 0.0511,
respectively, of h output and Cb output, it is lesser than those of other algorithms.
Therefore, the simulation results demonstrate the superiority of PSO-New criteria
(PSO-Fit) based on global search comparing to the other algorithms in terms of
overshoot, rise time and setting time. The overshoot, rise time and setting time are
the major factors for comparing the performance and robustness analysis of a
system.
4. CONCLUSION
This paper presents a novel design method for determining the PID controller
parameters using the PSO method for T-S fuzzy model. The proposed method
integrates the PSO algorithm with the new performance criterion into a PSO-PID
controller. Through the simulation, the results show that the proposed controller can
perform an efficient search for the optimal PID controller parameters.
5. REFERENCES
1. Astrom, K.J. Hgglund, T. PID Controllers: Theory, Design, and Tuning, ISA, ISBN
(1995), 978-1-55617-516-9, North Carolina.
2. Suda, N. PID Control. Asakura Publishing Co., Ltd., ISBN (1992), 978- 4-254-209662, Tokyo.
3. Luyben, W. L. (1986), A simple method for tuning SISO controllers in a multivariable
system, Industrial Engineering Chemistry Product Research and Development, 25: 654660.
4. Yusof, R., Omatu, S. (1993),A multivariable self-tuning PID controller, Internal Journal
of Control, 57: 1387-1403.
5. Steffen. S and Achim. K. Auto-Tuning of Multivariable PID Controllers Using Iterative
Feedback Tuning. at Automatisierungstechnik, (2012), 60: 20-27.
6. Kennedy. J and Eberhart. C ,Particle Swarm Optimization, Proceedings of the IEEE
International Conference on Neural Networks, (1995), Australia, 1942-1948.
7. Yongwei. Z, Fei. Q, Lu. J, Lei. W and Qidi. W, Performance Criteria Research on PSOPID Control System, College of Electronics and Information Engineering, Intelligent
Computing and Cognitive Informatics (ICICCI) 2010, 316-320.
8. Lagrat. I, Ouakka. H and Boumhidi. I, Fuzzy clustring for identification of TakagiSugeno fuzzy models of a class of nonlinear multivariable systems, Facult Des
Sciences, B. P 1796 Atlas, 30000 Fez MOROCCO 2007.
266
267