Dynamic Response

39
Dynamic Response Unit step signal: Step response: y(s)=H(s)/s, y(t)=L - 1 {H(s)/s} Unit impulse signal: δ(t)1 Impulse response: h(t)= L -1 {H(s)} In Matlab: use “step”, “impulse”, “lsim”, etc s t u t u s 1 ) ( ) (

description

Unit step signal: Step response: y(s)=H(s)/s, y(t)= L -1 {H(s)/s} Unit impulse signal: δ (t) 1 Impulse response: h(t)= L -1 {H(s)} In Matlab: use “step”, “impulse”, “lsim”, etc. Dynamic Response. Defined based on unit step response Defined for closed-loop system - PowerPoint PPT Presentation

Transcript of Dynamic Response

Page 1: Dynamic Response

Dynamic Response

• Unit step signal:

• Step response: y(s)=H(s)/s, y(t)=L-1{H(s)/s}• Unit impulse signal: δ(t)1• Impulse response: h(t)= L-1 {H(s)}• In Matlab: use “step”, “impulse”, “lsim”, etc

stutu s

1)()(

Page 2: Dynamic Response

• Defined based on unit step response• Defined for closed-loop system

• Steady-state value yss

• Steady-state error ess

• Settling time ts

= time when y(t) last enters a tolerance band

tutyy st

input,lim

sstytee

1lim

Time domain response specifications

Page 3: Dynamic Response
Page 4: Dynamic Response

H s Y s U s 1U ss

1 0

1 0

mmn

b s b s b s bH s

a s s a s a

1Y s H ss

By final value theorem 0

0 00

lim lim limss t s s

by y t sY s H sa

In MATLAB: num = [ .. .. .. .. ] b0 = num(length(num)), or num(end) a0 = den(length(den)), or den(end) yss=b0/a0

1ss sse y

Page 5: Dynamic Response

If numerical values of y(t) available,abs(y – yss) < tol means inside band

abs(y – yss) ≥ tol not inside

e.g. t_out = t(abs(y – yss) ≥ tol) contains all those time points when y is not inside the band.

Therefore, the last value in t_out will be the settling time.

ts=t_out(end)

Page 6: Dynamic Response

Peak time tp = time when y(t) reaches its maximum value.

Peak value ymax = y(tp)Hence: ymax = max(y); tp = t(y = ymax);

Overshoot: OS = ymax - yss

Percentage overshoot:

max 100%ssp

ss

y yMy

max 1 100%1

y

Page 7: Dynamic Response

If ymax is reached as t→∞, there is no peak time and there is no overshoot.

Delay time td = the time when y(t) first reaches

50% of yss

– Not frequently used

– Some people use a percentage different from 50%

t50=t(y<=0.5*yss);td=t50(end)

Page 8: Dynamic Response

Rise time tr = the time it takes for y(t) to go from 0.1yss to 0.9yss for the first time.

• Rise time captures how fast a system responds to changes in a reference input

• td, tp has similar effect

Page 9: Dynamic Response

If t50 = t(y >= 0.5·yss),this contains all time points wheny(t) is ≥ 50% of yss

so the first such point is td.

td=t50(1);

Similarly, t10 = t(y >= 0.1*yss)& t90 = t(y >= 0.9*yss)can be used to find tr.

tr=t90(1)-t10(1)

Page 10: Dynamic Response
Page 11: Dynamic Response
Page 12: Dynamic Response

%158.012.0

12.08.092.0,92.02.0

1,8.0)(

max

.

...

o.s. percentage

overshoot

0i.c.stepu

resp. step on defined are specs

yyyeyyy

ssdss

ssdss

tp≈0.9sec

10%yss

90%yss

tr≈0.45

td≈0.35

ts ts

Page 13: Dynamic Response

tr≈0.35

±5% ts=0.45

yss=1

ess=0

O.S.=0

Mp=0

tp=∞

td≈0.2

Page 14: Dynamic Response

tr≈0.1

td≈0.2

ts≈0.92

tp=0.35O.S.=0.4

Mp=40%

yss=1

es=0

Page 15: Dynamic Response

Steady-state tracking & sys. types

• Unity feedback control:

G(s) C(s)+

-r(s) e y(s)

plant

Go.l.(s)+

-r(s) e

y(s)ol

ol

GG

srsy

1)(

)(

T.F. get & open, loop cut i.e.

yto e from T.F. loop open the is )()()(

.. sGsesy

lo

Page 16: Dynamic Response

s. an cancel can otherwise , need , If

but

:into factored be always can

00

0

00,0

)1()1)(1()1()1)(1(

0

0

011

011

11

1

01

21..

..

bN

babK

anpNaaaN

asasasasasbsbsb

sTsTsTssTsTsTKG

G

mN

N

N

NN

NN

nn

n

mm

pN

mbalo

lo

Page 17: Dynamic Response

psloss

slosss

lo

lo

lo

KsGe

ssr

sGssrsseete

srsG

sysrse

srsGsGsy

11

)(11

1)(

)(1)()(lim)(

)()(1

1)()()(

)()(1)()(

0..

0..0

..

..

..

step to

:input step For

:tracking state-steady

:error tracking

:loop-closed

Page 18: Dynamic Response

finite

r, to respect with0" type" called is system the IfK control alproportion withconfused be to not p, small use here

step to Then

const. error positionstatic called

denote

P

0

0..

....0

)0(

,0)(

11

)0()(lim

abGK

N

Ke

GsGK

lop

pss

lolosp

Page 19: Dynamic Response

011

0

)0(

212,1

.

01

111

0

0

0..

0

0

pss

lop

ss

pss

Ke

a

abGK

Ne

abK

e

step to

, type or , type called is system larger or , or If

zero-non withinput step a track can system 0 type

Page 20: Dynamic Response

higher or 1 type for

0 type for

then:unit not is step If

higher or 1 type for

0 type for

:input step unit For zero withinput step a track can higher or 1 type of system A

0

1

1

,)(

0

1

1

.

0

0

0

0

R

ab

e

sRsr

ab

e

e

ss

ss

ss

Page 21: Dynamic Response

const errorvelocity static called

:denote

ramp to

:ramp unit is If

)(lim

1)(

1lim

)(1lim

)(1

1

lim

)(1)(lim

1)(

)(

0

0

0

2

0

0

2

ssGKKssG

ssGssGss

sGssre

ssr

sr

olsv

vols

ols

ols

olsss

r(t)

t

Page 22: Dynamic Response

signal. input ramp a track not can system 0 type

ramp to

system, 0 type For

vss

s

n

mm

sv

Ke

abs

asasbsbsbsK

baN

1

0lim

lim

0,0,0

0

0

0

01

01

0

00

Page 23: Dynamic Response

. error statesteady zero-non withramp tracks system 1 type

finiteramp to

finite,

1: type For

ss

vss

n

mm

s

n

mm

sv

e

Ke

ab

asasbsbsb

asasbsbsbsK

baaN

,01

0lim

lim

!0,0,0,1

1

0

121

01

0

01

01

0

010

Page 24: Dynamic Response

. no withinput ramp a track can system higher or 2 type

ramp to

higher, or 2 type For

factor a as s has still ones cancel

ss

vss

n

mm

s

n

mm

sv

e

Ke

sasasbsbsb

asasasasbsbsbsK

baaN

01

lim

lim

0,0,3,2

22

31

01

0

0

012

23

3

01

0

010

Page 25: Dynamic Response

1type if :then

unit, not is ramp If

2type if

1type if

0type if

:input ramp unit For

RK

e

sRsr

ba

Ke

vss

vss

1

)(

0

1

2

0

1

Page 26: Dynamic Response

)(121)(

1)(:

2

3

tttr

ssr

input onaccelerati unit

ass

ssss

ss

KsGssGss

sGs

s

sGssre

e

1)(

1lim)(

1lim

)(1

1

lim)(1)(lim

20220

3

00

acc to

r(t)

t0

Page 27: Dynamic Response

ass

s

n

mm

sa

sa

Ke

abs

asasbsbsbsK

as

ssGK

1

0lim

lim

0

)(lim

0

02

0

01

012

0

0

0

acc to

den. in of factor no system, 0 type For

constant. error onaccelerati the is

Page 28: Dynamic Response

sig. acc. tract tcan' system 1 or 0 type

acc to

bu i.e.den. in of factor one i.e.

. in of factor one system, 1 type For

ass

s

nn

n

mm

sa

Ke

abs

asasasbsbsbsK

aas

sGs

1

0lim

lim

0,0

)(1

1

0

0

011

1

012

0

10

Page 29: Dynamic Response

error. s.s. finite withsig.acc tract can system 2 type

acc to

orden. in of factors two or,

in of factors two :2 type

01

)0(0

lim

0,0,0

1,2

0

2

02

0

22

11

012

0

210

ba

Ke

bab

sasasbsbsbsK

aaas

Gs

N

ass

nn

n

mm

sa

Page 30: Dynamic Response

error. s.s. no withsig.acc tract can syst. higher or 3 type

acc to

higher or 3 type

010

lim

0,03

0

33

11

012

0

0210

ass

nn

n

mm

sa

Ke

bsasasbsbsbsK

baaaN

Page 31: Dynamic Response

stabilize. to difficult are system higher or 2 type but tracting. bettertyper larger like seems

:Cautionby A. multiplied be to needs then,

:rather acc, unit not If

3type if

2type if

0,1type if

acc to

:input acc. forsummary

ss

ass

e

ttA

ba

Ke

)(121

0

1

2

0

2

Page 32: Dynamic Response

r(t)=R·1(t)r(s)=R/s

r(t)=R·t·1(t)r(s)=R/s2

r(t)=R·1/2·t2

r(s)=R/s3

type 0(N=0 a0≠0)

Kp=b0/a0

ess=R/(1+Kp)

Kv=0

ess=∞

Ka=0

ess=∞

type 1(N=1 a0=0 a1≠0 b0≠0 )

Kp= ∞

ess=0

Kv=b0/a1

ess=R/Kv

Ka=0

ess=∞

type 2, N=2a0=a1=0

a2≠0,b0≠0

Kp= ∞

ess=0

Kv= ∞

ess=0

Kp=b0/a2

ess=R/Ka

type≥3, N ≥ 3a0=a1=a2=0

b0≠0

Kp= ∞

ess=0

Kv= ∞

ess=0

Ka= ∞

ess=0

sys.type

ref.input

Page 33: Dynamic Response

Example of tank

ass

vss

ppss

avpp

plo

p

p

Ke

Ke

RKKe

KKRKGK

NRAs

RKsHsCsG

KsCRAsRsH

K

1

1

11

11

0,)0(

00,1

)()()(

)(,1

)(

..

acc to

ramp to

step to

type

:control H+

- C

Page 34: Dynamic Response

ass

Ivss

pss

aIsvp

Ip

IpIp

Ke

RKKe

Ke

KRKssGKKNsRAss

RKsKsHsCsG

sKsK

sKKsC

sH

1

11

011

0,)(lim,1

)1()(

)()()(

)(

),(

0

acc to

ramp to

step to

type den, in of factor one

but

same :control PI

Page 35: Dynamic Response
Page 36: Dynamic Response

the to loop the following from path the in #

T.F. loop open the in #i.e.

in # is w.r.t.type sys.

type. sys. is tracking statesteady toKey

es

s

sGs

sr

1

1

)(1)(

+r(s)

Kps+KI

s+

-r(s) e ωn

2

s(s+2ξ ωn)

1

Ts+1

)(1 srs

w.r.t.2 type 2 :path in #count

e.g.

Page 37: Dynamic Response

example

1type one is there

:default Takespecified. dist. or input No :Note

acc. ramp. step. to error statesteady & constants error type, system find

,1

)5.0)(5.1()15.3()(

s

ssssKsG

G(s)r(s) e(s) y(s)

Page 38: Dynamic Response

KKe

eeK

KKssGK

K

vss

ss

ss

a

sv

p

2.411

00

2.45.05.115.3)(lim

0

ramp to

1 type for acc to 1 type for step to

1 type for

1 type for

Page 39: Dynamic Response

121121

51215)(lim

200

2,

221)5)(12(

)1(5)(

2

0

2

ass

sa

ss

ss

vp

Ke

sGsK

ee

KKs

sssssG

acc to

typeramp to step to

type

type ,#

:Example