• Non ci sono risultati.

Process Control Systems (2) C. Siettos N.T.U.A.

N/A
N/A
Protected

Academic year: 2021

Condividi "Process Control Systems (2) C. Siettos N.T.U.A."

Copied!
20
0
0

Testo completo

(1)

Process Control Systems

(2)

C. Siettos

N.T.U.A.

(2)

Transfer Function

differential equation

r(t) y(t)

transfer function

r(s) y(s)

A Transfer Function is a relation which

connects the output with the input of a linear systems in the s-domain (SISO)

H(s) = y(s) / r(s)

(3)

Transfer Function

H(j w )

( ) ( ) ( ) Y s H s X s

est

s X )(

   

0 0

i i

n m

i i i i

i i

d y t d u t

a b

dt dt

Let

   

1 1

 

1 1

 

0 0 0 0

0

0 0 0

0 0

m i n i

m i i j i j

i j i j

i i j i j

i

n n n

i i i

i i i

i i i

b s u a s y

b s

Y s U s

a s a s a s

   

 

 

  

Then the LaplaceTransformation is

Initial Conditions i

 

i0 i

 

0 , 0,...., 1

d y y i n

dt

From the Transfer Function it can be derived the differential equation by substituting

s d

dt

(4)

Transfer Function

H(j w )

( ) ( ) ( ) Y s H s X s

est

s X )(

The Transfer Function is the Laplace (Fourier) Transformation of the Response in dirac function : H(s) (H(jw))

The poles and roots are given by H(s)Pi(s-zi)/Pj(s-pi).

It allows the computation and (from differential equations) and the analysis of the response

f(t)

t

 (t

o

) F(s) = e

-st

 (t

o

) dt = e

-sto

0

(5)

MIMO Transfer Functions

   

 

     

     

     

   

 

1 11 12 1 1

2 21 22 2 2

1 2

...

...

...

...

m m

n n n nm m

Y s G s G s G s U s

Y s G s G s G s U s

Y s G s G s G s U s

   

   

   

   

   

   

   

Set of differential equations U1

Um

Y1

Yn

(6)

1 st Order System



c(t) 1 e

at



C(s)  R(s) G(s)  a

s(s  a)

1 1

( ) ( )

( )

C s a

s a s s a

 

  

(7)

Response of 1 st order system

Transient Response:

1. Time-constant, 1/a 2. Rise time, Tr

3. Settling time, Ts

(8)

Experimental Construction of Transfer Function of 1

st

order



G(s)K (s  a) C(s)K

s(s  a)K a

sK a (s  a)

The time that the system nees to reach 63% of its final value:

63 x 0.72 = 0.45  0.13 sec , a = 1/0.13 = 7.7

Steady State value K/α =0.72  K= 0.72 x 7.7= 5.54

G(s) = 5.54/(s+7.7) .

( ) / ( / )

at

c tK aK a e

(9)

2 nd order System

R Y

2

2

2

2

( )

n

( )

n n

Y s R s

s s

w

w w

  

2

2 2 2

( ) n

n n

G s s s

w

w w

Response inunit step

) 2

) (

( 2

2

2

n n

n

s s

s s

Y w w

w

 

) 1 sin(

1 )

( w  

w

e

t

t

y

nt n 1 2

cos1

(10)

2 nd order system

) 1 sin(

1 )

( w  

w

e

t

t

y

nt n 1 2

cos1

frequency w

n

– the frequency of oscillations for two complex poles if the dissipation was zero

Dissipation ratio  - a measure of the dissipation for the second order characteristic equation



s

2

 2 w

n

s  w

n2

 0 s

1

  w

n

 w

n

2

1 s

2

  w

n

 w

n

2

1

2

2

2

2

( )

n

( )

n n

Y s R s

s s

w

w w

  

(11)

2 nd order system

) 1 sin(

1 )

( w  

w

e

t

t

y

nt n 1 2

cos1

(12)

Transfer Function of a motor of continuous current

e : electromotive force

Analogous to the angular velocity of the shaft

The torgue T is analogous to the intensity of the current i: T=Kii

i

Inertia J is the inertia of the motro plus the inertia of the load bdθ/dt: the total friction

     

 

2

   

i 2

di t d t

Ri L V t K

dt dt

d t d t

K i t J b

dt dt

Τhe model:

(13)

Transfer Function of a motor of continuous current

i

2

2

, i

di d d d

Ri L V K K i J b

dt dt dt dt

 

The model:

Laplace transformation:

       

     

i

R sL I s V s K s K I s Js b s

 

 

       

2

i i

i i

s K K JL

V s Js b R sL KK b R bR KK

s s

J L JL JL

Transfer Function

(14)

0 0.5 1 1.5 2 2.5 3 0

0.05 0.1 0.15 0.2 0.25

time

angular velocity

Use of Matlab for computing the Dynamic Response of a motor of continuous current

 

i

  

2

2

i i

i i

s K K JL

V s Js bs R sL KK s s s b R s bR KK

J L JL JL

Ki=1;

J=0.01;

L=0.5;

b=1;

R=1;

K=0.01;

num=Ki/J*L;

den=[1 (b/J+R/L) b*R/(J*L)+Ki*K/(J*L)];

sys=tf(num,den);

t=[0:0.1:3];

[y,t]=step(sys,t);

plot(t,y),grid xlabel('time')

ylabel('angular velocity')

(15)

Transfer Function of Car Suspension

Mass of Car body

Suspension mass

Road

1 1 1

x x x



2 2 2

x x x



k1

k1

b1

b2

xr

The model

   

       

1 1 1 2 1 1 2 1

2 2 2 r 2 2 r 2 1 2 1 1 2 1

m x k x x b x x

m x k x x b x x k x x b x x





Input

(16)

Transfer Function of Car Suspension

Mass of Car body

Suspension mass

Road

1 1 1

x x x



2 2 2

x x x



k1

k1

b1

b2

xr

The model

   

       

1 1 1 2 1 1 2 1

2 2 2 r 2 2 r 2 1 2 1 1 2 1

m x k x x b x x

m x k x x b x x k x x b x x





Input

2

1 1 1 1 1 1 1 2 1 21

2

2 2 2 2 1 2 2 2 2 r 2 r 1 1 1 1

m s X b sX k X b sX k X

m s X b sX b X k X k X b sX k X b sX

Laplace transform

 

 

2

1 1 1 1 1 1 2

2

2 2 1 2 2 2 2 r 1 1 1

m s b s k X b s k X

m s b s b k X b s k X b s k X

 

(17)

Transfer Function of Car Suspension

Mass of Car body

Suspension mass

Road

1 1 1

x x x



2 2 2

x x x



k1

k1

b1

b2

xr

The model

 

 

2

1 1 1 1 1 1 2

2

2 2 1 2 2 2 2 r 1 1 1

m s b s k X b s k X

m s b s b k X b s k X b s k X

 

 

   

2

1 1 1 1 1 1

2 2 2 2

1 1 2 2 1 2

0

r

m s b s k b s k X

b s k X b s k m s b s b k X

   

   

 

   

2 1

1 1 1 1 1

1

2 2 2

2 1 1 2 2 1 2

0

r

m s b s k b s k

X X

b s k

X b s k m s b s b k

 

(18)

Use of Matlab for computing the response of the suspension system

Mass of Car body

Suspension mass

Road

1 1 1

x x x



2 2 2

x x x



k1

k1

b1

b2

xr

To μοντέλο

 

   

2 1

1 1 1 1 1

1

2 2 2

2 1 1 2 2 1 2

0

r

m s b s k b s k

X X

b s k

X b s k m s b s b k

 

syms m1 b1 k1 m2 b2 k2 s m1=2500;

m2=320;

k1=80000;

k2=500000;

b1 = 350;

b2 = 15020;

A=[m1*s^2+b1*s+k1 -(b1*s+k1);b1*s+k1 - (m2*s^2+b2*s+b1+k2)];

B=inv(A);

C=[0;b2*s+k2];

num1=B(1,1)*C(1)+B(1,2)*C(2);

num2=B(2,1)*C(1)+B(2,2)*C(2);

G=(num1-num2);

Matlab code

Output: X1-X2

(19)

Use of Matlab for computing the response of the suspension system

Mass of Car body

Suspension mass

Road

1 1 1

x x x



2 2 2

x x x



k1

k1

b1

b2

xr

The model

syms m1 b1 k1 m2 b2 k2 s m1=2500;

m2=320;

k1=80000;

k2=500000;

b1 = 350;

b2 = 15020;

A=[m1*s^2+b1*s+k1 -(b1*s+k1);b1*s+k1 - (m2*s^2+b2*s+b1+k2)];

B=inv(A);

C=[0;b2*s+k2];

num1=B(1,1)*C(1)+B(1,2)*C(2);

num2=B(2,1)*C(1)+B(2,2)*C(2);

G=(num1-num2);

[num, den]=numden(G) num1=sym2poly(num);

den1=sym2poly(den);

step(num1,den1) Matlab code

(20)

Use of Matlab for computing the response of the suspension system

step(num1,den1) : response in unit step change of the input

Αποκρίσεις

0 5 10 15 20 25 30 35 40 45

-1 -0.5 0 0.5 1

1.5 Step Response

Time (sec)

Amplitude

step(0.1*num1,den1) : response in 0.1 step change of the input

0 5 10 15 20 25 30 35 40 45

-0.1 -0.05 0 0.05 0.1

0.15 Step Response

Time (sec)

Amplitude

Riferimenti

Documenti correlati

«Il paese racconta un Paese», che intende promuovere la conoscenza di un luogo attraverso la sua storia, la cultura, le tradizioni, le caratteristiche del territorio e

b) la partecipazione alle attività collegiali dei consigli di classe, di interclasse, di intersezione. Gli obblighi relativi a queste attività sono programmati secondo criteri

Il sottoscritto dichiara di essere consapevole che la scuola può utilizzare i dati conferiti esclusivamente nell’ambito e per i fini istituzionali propri della Pubblica

• Principali mansioni e responsabilità Responsabile dell’implementazione del modello di domanda e di offerta di trasporto privato e pubblico legato alla Linea B della

VISTO in particolare l’art. 50/2016, il quale prevede che, prima dell’avvio delle procedure di affidamento dei contratti pubblici, le stazioni appaltanti, in conformità

20 MAGGIO 15.00 Via Nazionale Francese VITALE Giuseppe MADEO Caterina. CAVATTON DAVIDE SANTORO

L’azienda agricola dove è possibile degustare pregiati vini e visitare le antiche cantine e dove tutt'ora sono conservate le botti originarie, risalenti al XIX secolo. Diego

La Scuola, considerato che tutti gli alunni saranno accolti nelle classi, nel rispetto delle regole del distanziamento sociale, ha adottato il Piano della Didattica Digitale