• Non ci sono risultati.

Design of a control system

N/A
N/A
Protected

Academic year: 2021

Condividi "Design of a control system"

Copied!
7
0
0

Testo completo

(1)

SE4

Prof. Davide Manca – Politecnico di Milano

Dynamics and Control of Chemical Processes

Solution to Lab #4

Design of a control system

(2)

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 

(3)

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

 

 

   

    

 

 

(4)

Minimum search: brute-force method

 max

 min max

K C

min

K C

Points where to evaluate the objective function

K C

(5)

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

(6)

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

,

n

K

 

n

n1

    

n

 

n1

 

time

Initial steady state

New set-point

(7)

MATLAB optimizer

A constrained optimization is performed in order to avoid that the optimizer chooses unfeasible values of the variables respect to which the optimization is being done:

x0 = [Kc tauI];

xMin = [KcMin tauIMin]; % Lower limits xMax = [KcMax tauIMax]; % Upper limits

[x] = fmincon(@(x)funct(x,params),x0,[],[],[],[],xMin,xMax);

KcOptimum = x(1);

tauIOptimum = x(2);

Riferimenti

Documenti correlati

As it will be reported, sometimes the performances of the new PID will not be so optimal but the results can still be used because, as it was shown in the previous section,

The basic components of the geohod are the executive body, which destroys coalface (cutter drums), head and tail sections, the external mover [8,9,10,11]. General view of the

Le tappe di questa evoluzione architetturale hanno riguardato dapprima i sistemi vetto- riali mono-processore (come per esempio, il Cray 1, e il CDC Cyber 203) poi, a partire dai

● The written exam and programming project are independent, and can be completed in any order. ● Grades are valid until September

Key-Words: - Statistical analysis, testing hypotheses, paired test, Model Predictive Control, non-minimum phase system, control quality criterions.. 1

Determination of the parameters of the proportional and the proportional- integral control systems by means of the Cohen-Coon method assuming there is a step disturbance on the

Determination of the parameters of the proportional and the proportional- integral control systems by means of the Cohen-Coon method assuming there is a step disturbance on the

ITAE Weights errors occurring later more heavily..