first order systems

40
Time Response of First Order Systems • Standard Test Inputs • Response to different inputs • Response in Matlab and Simulink

Upload: waqas-saghir

Post on 15-Apr-2016

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: First Order Systems

Time Response of First Order Systems

• Standard Test Inputs• Response to different inputs• Response in Matlab and Simulink

Page 2: First Order Systems

Introduction• In time-domain analysis the response of a dynamic system

to an input is expressed as a function of time.

• It is possible to compute the time response of a system if the nature of input and the mathematical model of the system are known.

• Usually, the input signals to control systems are not known fully ahead of time.

• For example, in a radar tracking system, the position and the speed of the target to be tracked may vary in a random fashion.

• It is therefore difficult to express the actual input signals mathematically by simple equations.

Page 3: First Order Systems

Standard Test Signals• The characteristics of actual input signals are a

sudden shock, a sudden change, a constant velocity, and constant acceleration.

• The dynamic behavior of a system is therefore judged and compared under application of standard test signals – an impulse, a step, a constant velocity, and constant acceleration.

• Another standard signal of great importance is a sinusoidal signal.

Page 4: First Order Systems

Standard Test Signals

• Impulse signal– The impulse signal imitate the

sudden shock characteristic of actual input signal.

– If A=1, the impulse signal is called unit impulse signal.

0 t

δ(t)

A

000

ttA

t )(

Sudden shocks i e., HV due lightening or short circuit.

Page 5: First Order Systems

Standard Test Signals

• Impulse signal

Page 6: First Order Systems

Standard Test Signals

• Step signal– The step signal imitate

the sudden change characteristic of actual input signal.

– If A=1, the step signal is called unit step signal

000

ttA

tu )( 0 t

u(t)

A

•Switching on a constant voltage in an electrical circuit.•Sudden opening or closing a valve.

Page 7: First Order Systems

Standard Test Signals

• Ramp signal– The ramp signal imitate

the constant velocity characteristic of actual input signal.

– If A=1, the ramp signal is called unit ramp signal

000

ttAt

tr )(

0 t

r(t)

r(t)

ramp signal with slope A

•Altitude Control of a Missile

Page 8: First Order Systems

Standard Test Signals

• Parabolic signal– The parabolic signal

imitate the constant acceleration characteristic of actual input signal.

– If A=1, the parabolic signal is called unit parabolic signal.

00

02

2

t

tAttp

)(

0 t

p(t)

parabolic signal with slope A

p(t)

Page 9: First Order Systems

Relation between standard Test Signals

• Impulse

• Step

• Ramp

• Parabolic

000

ttA

t )(

000

ttA

tu )(

000

ttAt

tr )(

00

02

2

t

tAttp

)(

dtd

dtd

dtd

Page 10: First Order Systems

Laplace Transform of Test Signals

• Impulse

• Step

000

ttA

t )(

AstL )()}({

000

ttA

tu )(

SAsUtuL )()}({

Page 11: First Order Systems

Laplace Transform of Test Signals

• Ramp

• Parabolic

2sAsRtrL )()}({

32SAsPtpL )()}({

000

ttAt

tr )(

00

02

2

t

tAttp

)(

Page 12: First Order Systems

Time Response of Control Systems

System

• The time response of any system has two components

• Transient response

• Steady-state response.

• Time response of a dynamic system response to an input expressed as a function of time.

Page 13: First Order Systems

Time Response of Control Systems• When the response of the system is changed form rest or

equilibrium it takes some time to settle down.

• Transient response is the response of a system from rest or equilibrium to steady state.

0 2 4 6 8 10 12 14 16 18 200

1

2

3

4

5

6x 10

-3

Step Response

Time (sec)

Ampl

itude

Response

Step Input

Transient Response

• The response of the system after the transient response is called steady state response.

Page 14: First Order Systems

Time Response of Control Systems

• Transient response is dependent upon the system poles only and not on the type of input.

• It is therefore sufficient to analyze the transient response using a step input.

• The steady-state response depends on system dynamics and the input quantity.

• It is then examined using different test signals by final value theorem.

Page 15: First Order Systems

Introduction• The first order system has only one pole.

• Where K is the D.C gain and T is the time constant of the system.

• Time constant is a measure of how quickly a 1st order system responds to a unit step input.

• D.C Gain of the system is ratio between the input signal and the steady state value of output.

1

TsK

sRsC)()(

Page 16: First Order Systems

Introduction• The first order system given below.

1310)(

s

sG

53

s

sG )(151

53

s//

• D.C gain is 10 and time constant is 3 seconds.

• And for following system

• D.C Gain of the system is 3/5 and time constant is 1/5 seconds.

Page 17: First Order Systems

Impulse Response of 1st Order System• Consider the following 1st order system

1TsK )(sC)(sR

0 t

δ(t)

1

1 )()( ssR

1

TsKsC )(

Page 18: First Order Systems

Impulse Response of 1st Order System

• Re-arrange following equation as1

Ts

KsC )(

TsTKsC /

/)(1

TteTKtc /)(

• In order represent the response of the system in time domain we need to compute inverse Laplace transform of the above equation.

atCeas

CL

1

Page 19: First Order Systems

Impulse Response of 1st Order SystemTte

TKtc /)( • If K=3 and T=2s then

0 2 4 6 8 100

0.5

1

1.5

Time

c(t)

K/T*exp(-t/T)

Page 20: First Order Systems

Step Response of 1st Order System• Consider the following 1st order system

1TsK )(sC)(sR

ssUsR 1

)()(

1

TssKsC )(

1

TsKT

sKsC )(

• In order to find out the inverse Laplace of the above equation, we need to break it into partial fraction expansion

Forced Response Natural Response

Page 21: First Order Systems

Step Response of 1st Order System

• Taking Inverse Laplace of above equation

11

TsT

sKsC )(

TtetuKtc /)()(

• Where u(t)=1 TteKtc /)( 1

KeKtc 63201 1 .)(

• When t=T

Page 22: First Order Systems

Step Response of 1st Order System• If K=10 and T=1.5s then TteKtc /)( 1

0 1 2 3 4 5 6 7 8 9 100

1

2

3

4

5

6

7

8

9

10

11

Time

c(t)

K*(1-exp(-t/T))

Unit Step Input

Step Response

110

Input

outputstatesteadyKGainCD .%63

Page 23: First Order Systems

Step Response of 1st Order System• If K=10 and T=1, 3, 5, 7 TteKtc /)( 1

0 5 10 150

1

2

3

4

5

6

7

8

9

10

11

Time

c(t)

K*(1-exp(-t/T))

T=3s

T=5s

T=7s

T=1s

Page 24: First Order Systems

Step Response of 1st order System

• System takes five time constants to reach its final value.

Page 25: First Order Systems

Step Response of 1st Order System• If K=1, 3, 5, 10 and T=1 TteKtc /)( 1

0 5 10 150

1

2

3

4

5

6

7

8

9

10

11

Time

c(t)

K*(1-exp(-t/T))

K=1

K=3

K=5

K=10

Page 26: First Order Systems

Partial Fraction Expansion in Matlab• If you want to expand a polynomial into partial fractions use

residue command.

Y=[y1 y2 .... yn];X=[x1 x2 .... xn];[r p k]=residue(Y, X)

kps

rps

rps

rsxsy

n

n

2

2

1

1

)()(

Page 27: First Order Systems

Partial Fraction Expansion in Matlab• If we want to expand following polynomial into partial fractions

8684

2 ss

s

Y=[-4 8];X=[1 6 8];[r p k]=residue(Y, X)

r =[-12 8] p =[-4 -2] k = []

2

2

1

12 86

84ps

rps

rss

s

28

412

8684

2

ssss

s

Page 28: First Order Systems

Partial Fraction Expansion in Matlab

• If you want to expand a polynomial into partial fractions use residue command.

126

Ss

sC )(

Y=6;X=[2 1 0];[r p k]=residue(Y, X)

r =[ -6 6]p =[-0.5 0]k = []

ssss6

506

126

.

Page 29: First Order Systems

Ramp Response of 1st Order System• Consider the following 1st order system

1TsK )(sC)(sR

21s

sR )(

12

TssKsC )(

• The ramp response is given as

TtTeTtKtc /)(

Page 30: First Order Systems

0 5 10 150

2

4

6

8

10

Time

c(t)

Unit Ramp Response

Unit RampRamp Response

Ramp Response of 1st Order System• If K=1 and T=1 TtTeTtKtc /)(

error

Page 31: First Order Systems

0 5 10 150

2

4

6

8

10

Time

c(t)

Unit Ramp Response

Unit RampRamp Response

Ramp Response of 1st Order System• If K=1 and T=3 TtTeTtKtc /)(

error

Page 32: First Order Systems

Parabolic Response of 1st Order System

• Consider the following 1st order system

1TsK )(sC)(sR

31s

sR )( 13

TssKsC )(

• Do it yourself

Therefore,

Page 33: First Order Systems

Practical Determination of Transfer Function of 1st Order Systems

• Often it is not possible or practical to obtain a system's transfer function analytically.

• Perhaps the system is closed, and the component parts are not easily identifiable.

• The system's step response can lead to a representation even though the inner construction is not known.

• With a step input, we can measure the time constant and the steady-state value, from which the transfer function can be calculated.

Page 34: First Order Systems

Practical Determination of Transfer Function of 1st Order Systems

• If we can identify T and K from laboratory testing we can obtain the transfer function of the system.

1

TsK

sRsC)()(

Page 35: First Order Systems

Practical Determination of Transfer Function of 1st Order Systems

• For example, assume the unit step response given in figure.

• From the response, we can measure the time constant, that is, the time for the amplitude to reach 63% of its final value.

• Since the final value is about 0.72 the time constant is evaluated where the curve reaches 0.63 x 0.72 = 0.45, or about 0.13 second.

T=0.13s

K=0.72

• K is simply steady state value.

• Thus transfer function is obtained as:

7755

1130720

..

..

)()(

sssRsC

75

ssR

sC)()(

Page 36: First Order Systems

Examples of First Order Systems

• Armature Controlled D.C Motor (La=0)

abt

at

RKKBJsRK

U(s)Ω(s)

uia T

Ra La

J

B

eb

V f=constant

Page 37: First Order Systems

Examples of First Order Systems

• Liquid Level System

)()()(

1

RCsR

sQsH

i

Page 38: First Order Systems

Examples of First Order Systems

• Electrical System

11

RCssE

sE

i

o

)()(

Page 39: First Order Systems

Examples of First Order Systems

• Mechanical System

1

1

skbsX

sX

i

o

)()(

Page 40: First Order Systems

Examples of First Order Systems

• Cruise Control of vehicle

bmssUsV

1)()(