SE4
Prof. Davide Manca – Politecnico di Milano
Dynamics and Control of Chemical Processes
Solution to Lab #4
Design of a control system
System representation
Data:
3
2 1
2 2
2
9.4 m s 30 m
50 m 1.2 s m F i
A A r
A 2
h 2
A 1
h 1
F i
r 1
LC
F o
I.C.:
2 6.6 m h
New set-point
2 8.6 m
h
Design of the proportional-integral controller
Performance criteria:
2 2
, ,
0 0
C I C I
K K
ISE t dt Min ISE Min t dt
, ,
0 0
C I C I
K K
IAE t dt Min IAE Min t dt
, ,
0 0
C I C I
K K
ITAE t t dt Min ITAE Min t t dt
Minimum search: brute-force method
max
min max
K C
min
K C
Points where to evaluate the objective function
K C
MATLAB implementation
for iIter = 1:nPoints
Kc = KcMin + (iIter - 1) * dKc;
for jIter = 1:nPoints
tauI = tauIMin + (jIter - 1) * dtauI;
... Obtaining dynamics with PI controller
... Minimum ISE (or a different performance index) computing
... Comparison between ISE and its minimum value end
end
Optimizer use
2
, ,
C I C I
0
K K
Min ISE Min t dt
n , n
C I
K
Evaluation of the dynamics
Objective function evaluation
Evaluation of the new controller parameters
1
1
n