dynamic system response - new york university tandon...

59
Sensors & Actuators in Mechatronics Dynamic System Response K. Craig 1 Dynamic System Response Solution of Linear, Constant-Coefficient, Ordinary Differential Equations Classical Operator Method Laplace Transform Method Laplace Transform Properties 1 st -Order Dynamic System Time and Frequency Response 2 nd -Order Dynamic System Time and Frequency Response

Upload: others

Post on 29-Feb-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig1

Dynamic System Response

• Solution of Linear, Constant-Coefficient, Ordinary Differential Equations– Classical Operator Method

– Laplace Transform Method

• Laplace Transform Properties

• 1st-Order Dynamic System Time and Frequency Response

• 2nd-Order Dynamic System Time and Frequency Response

Page 2: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig2

Laplace Transform Methods

• A basic mathematical model used in many areas of engineering is the linear ordinary differential equation with constant coefficients:

• qo is the output (response) variable of the system• qi is the input (excitation) variable of the system• an and bm are the physical parameters of the system

ad qdt

ad qdt

adqdt

a q

bd qdt

bd qdt

bdqdt

b q

n

no

n n

no

no

o

m

mi

m m

mi

mi

i

+ + + + =

+ + + +

1

1

1 1 0

1

1

1 1 0

L

L

Page 3: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig3

• Straightforward analytical solutions are available no matter how high the order n of the equation.

• Review of the classical operator method for solving linear differential equations with constant coefficients will be useful. When the input qi(t) is specified, the right hand side of the equation becomes a known function of time, f(t).

• The classical operator method of solution is a three-step procedure:– Find the complimentary (homogeneous) solution qoc for the

equation with f(t) = 0.

– Find the particular solution qop with f(t) present.– Get the complete solution qo = qoc + qop and evaluate the constants

of integration by applying known initial conditions.

Page 4: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig4

• Step 1– To find qoc, rewrite the differential equation using the differential

operator notation D = d/dt, treat the equation as if it were algebraic, and write the system characteristic equation as:

– Treat this equation as an algebraic equation in the unknown D and solve for the n roots (eigenvalues) s1, s2, ..., sn. Since root finding is a rapid computerized operation, we assume all the roots are available and now we state rules that allow one to immediately write down qoc:

– Real, unrepeated root s1:

– Real root s2 repeated m times:

a D a D a D ann

nn+ + + + =−

−1

11 0 0L

q c eocs t= 11

q c e c te c t e c t eocs t s t s t

mm s t= + + + +0 1 2

22 2 2 2L

Page 5: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig5

– When the a’s are real numbers, then any complex roots that might appear always come in pairs a ± ib:

– For repeated root pairs a ± ib, a ± ib, and so forth, we have:

– The c’s and φ’s are constants of integration whose numerical values cannot be found until the last step.

q ce btocat= +sin φa f

q c e bt c te btocat at= + + + +0 0 1 1sin sinφ φa f a f L

Page 6: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig6

• Step 2– The particular solution qop takes into account the "forcing

function" f(t) and methods for getting the particular solution depend on the form of f(t).

– The method of undetermined coefficients provides a simple method of getting particular solutions for most f(t)'s of practical interest.

– To check whether this approach will work, differentiate f(t) over and over. If repeated differentiation ultimately leads to zeros, or else to repetition of a finite number of different time functions, then the method will work.

– The particular solution will then be a sum of terms made up of each different type of function found in f(t) and all its derivatives, each term multiplied by an unknown constant (undetermined coefficient).

Page 7: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig7

– If f(t) or one of its derivatives contains a term identical to a term in qoc, the corresponding terms should be multiplied by t.

– This particular solution is then substituted into the differential equation making it an identity. Gather like terms on each side,equate their coefficients, and obtain a set of simultaneous algebraic equations that can be solved for all the undetermined coefficients.

• Step 3– We now have qoc (with n unknown constants) and qop (with no

unknown constants). The complete solution qo = qoc + qop. The initial conditions are then applied to find the n unknown constants.

Page 8: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig8

• Certain advanced analysis methods are most easily developed through the use of the Laplace Transform.

• A transformation is a technique in which a function is transformed from dependence on one variable to dependence on another variable. Here we will transform relationships specified in the time domain into a new domain wherein the axioms of algebra can be applied rather than the axioms of differential or difference equations.

• The transformations used are the Laplace transformation (differential equations) and the Z transformation (difference equations).

• The Laplace transformation results in functions of the time variable t being transformed into functions of the frequency-related variable s.

Page 9: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig9

• The Z transformation is a direct outgrowth of the Laplace transformation and the use of a modulated train of impulses to represent a sampled function mathematically.

• The Z transformation allows us to apply the frequency-domain analysis and design techniques of continuous control theory to discrete control systems.

• One use of the Laplace Transform is as an alternative method for solving linear differential equations with constant coefficients. Although this method will not solve any equations that cannot be solved also by the classical operator method, it presents certain advantages:– Separate steps to find the complementary solution, particular

solution, and constants of integration are not used. The complete solution, including initial conditions, is obtained at once.

Page 10: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig10

– There is never any question about which initial conditions are needed. In the classical operator method, the initial conditions are evaluated at t = 0+, a time just after the input is applied. For some kinds of systems and inputs, these initial conditions are not the same as those before the input is applied, so extra work is required to find them. The Laplace Transform method uses the conditions before the input is applied; these are generally physically known and are often zero, simplifying the work.

– For inputs that cannot be described by a single formula for their entire course, but must be defined over segments of time, the classical operator method requires a piecewise solution with tedious matching of final conditions of one piece with initial conditions of the next. The Laplace Transform method handles such discontinuous inputs very neatly.

– The Laplace Transform method allows the use of graphical techniques for predicting system performance without actually solving system differential equations.

Page 11: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig11

• All theorems and techniques of the Laplace Transform derive from the fundamental definition for the direct Laplace Transform F(s) of the time function f(t):

• This integral cannot be evaluated for all f(t)'s, but when it can, it establishes a unique pair of functions, f(t) in the time domain and its companion F(s) in the s domain. Comprehensive tables of Laplace Transform pairs are available. Signals we can physically generate always have corresponding Laplace transforms. When we use the Laplace Transform to solve differential equations, we must transform entire equations, not just isolated f(t) functions, so several theorems are necessary for this.

L f t F s f t e dt

s i

st( ) ( )= =

= = +

−∞za f0

t > 0

a complex variable σ ω

Page 12: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig12

• Linearity Theorem:

• Differentiation Theorem:

– f(0), (df/dt)(0), etc., are initial values of f(t) and its derivatives evaluated numerically at a time instant before the driving input is applied.

L L La f t a f t a f t a f t a F s a F s1 1 2 2 1 1 2 2 1 1 2 2a f a f a f a f a f a f+ = + = +

L

L

L

dfdt

sF s f

d fdt

s F s sfdfdt

d fdt

s F s s f sdfdt

d fdt

n

nn n n

n

n

LNM

OQP = −

LNM

OQP = − −

LNM

OQP = − − − −− −

a f a f

a f a f a f

a f a f a f a f

0

0 0

0 0 0

2

22

1 21

1L

Page 13: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig13

• Integration Theorem:

– Again, the initial values of f(t) and its integrals are evaluated numerically at a time instant before the driving input is applied.

L

L

f t dtF s

sf

s

f tF ss

fs

t f t dt t f t

nn

k

n kk

n

n n

a f a f a f

a f a f a f

a f a fa f a f a f

a f

a fa f

a f a f

z∑

= +

= +

= z z =

−−

− +=

1

11

0

0

where f and f -0L

Page 14: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig14

• Delay Theorem:– The Laplace Transform provides a theorem useful for the dynamic

system element called dead time (transport lag) and for dealing efficiently with discontinuous inputs.

u t t

u t t

u t a t a

u t a t a

( ) .

( )

( ) .

( )

= ⇒ >= ⇒ <

− = ⇒ >− = ⇒ <

10 0

0 0

10

0

L f t a u t a e F sas( ) ( ) ( )− − = −

Page 15: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig15

• Final Value Theorem:– If we know Q0(s), q0(∞) can be found quickly without doing the

complete inverse transform by use of the final value theorem.

– This is true if the system and input are such that the output approaches a constant value as t approaches ∞.

• Initial Value Theorem:– This theorem is helpful for finding the value of f(t) just after the

input has been applied, i.e., at t = 0+. In getting the F(s) needed to apply this theorem, our usual definition of initial conditions as those before the input is applied must be used.

lim ( ) lim ( )t sf t sF s→∞ →= 0

lim ( ) lim ( )t sf t sF s→ →∞=0

Page 16: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig16

• Impulse Function

– The step function is the integral of the impulse function, or conversely, the impulse function is the derivative of the step function.

– When we multiply the impulse function by some number, we increase the “strength of the impulse”, but “strength” now means area, not height as it does for “ordinary” functions.

1/b

b

Approximating function forthe unit impulse function

p(t)

t

δ

δ

( ) lim ( )

( ) ( ) .

t p t

L t Ldudt

sU s ss

b=

= LNM

OQP = = =

→0

110

δ

δ εε

ε

( )

( )

t t

t dt

= ⇒ ≠

= ⇒ >−

+z0 0

1 0

δ( )t

Page 17: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig17

• An impulse that has an infinite magnitude and zero duration is mathematical fiction and does not occur in physical systems.

• If, however, the magnitude of a pulse input to a system is very large and its duration is very short compared to the system time constants, then we can approximate the pulse input by an impulse function.

• The impulse input supplies energy to the system in an infinitesimal time.

Page 18: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig18

• Inverse Laplace Transformation

– A convenient method for obtaining the inverse Laplace transform is to use a table of Laplace transforms. In this case, the Laplace transform must be in a form immediately recognizable in such a table.

– If a particular transform F(s) cannot be found in a table, then we may expand it into partial fractions and write F(s) in terms of simple functions of s for which inverse Laplace transforms are already known.

– These methods for finding inverse Laplace transforms are based on the fact that the unique correspondence of a time function and its inverse Laplace transform holds for any continuous time function.

Page 19: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig19

Time Response & Frequency Response1st-Order Dynamic System

Example: RC Low-Pass Filter

R

Cein

eout

iin

iout

Dynamic System Investigationof the

RC Low-Pass Filter

Page 20: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig20

P h y s i c a lS y s t e m

P h y s i c a lM o d e l

M a t hM o d e l

M o d e l

P a r a m e t e rI D

A c t u a l

D y n a m i cB e h a v i o r

C o m p a r e

P r e d i c t e d

D y n a m i cB e h a v i o r

M a k e

D e s i g n

D e c i s i o n s

D e s i g nC o m p l e t e

Measurements,Calculations,

Manufacturer 's Specifications

Assumptions

and

Engineering Judgement

Physical Laws

Experimental

Analysis

Equation Solut ion:

Analytical

and Numerical

Solu t ion

Model Adequate ,

Performance Adequate

Model Adequate ,

Performance Inadequate

Modify

o r

Augmen t

Model Inadequate :

Modify

D y n a m i c S y s t e m I n v e s t ig a t i o n

Which Parameters to Identify?

What Tes t s to Per form?

Page 21: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig21

Zero-Order Dynamic System Model

Page 22: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig22

Validation of a Zero-OrderDynamic System Model

Page 23: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig23

1st-Order Dynamic System Model

tis

o

Kqq e

−τ=

τ& is

o t 0

Kqq

==

τ&

Slope at t = 0

t = τ

τ = time constantK = steady-state gain

Page 24: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig24

• How would you determine if an experimentally-determined step response of a system could be represented by a first-order system step response?

( )

( )

( )

( )

t

o is

to is

is

to

is

o10 10

is

q t Kq 1 e

q t Kqe

Kq

q t1 e

Kq

q t t tlog 1 log e 0.4343

Kq

−τ

−τ

−τ

= −

= −

− =

− = − = − τ τ

Straight-Line Plot:

( )o10

is

q tlog 1 vs. t

Kq

Slope = -0.4343/τ

Page 25: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig25

– This approach gives a more accurate value of τ since the best line through all the data points is used rather than just two points, as in the 63.2% method. Furthermore, if the data points fall nearly on a straight line, we are assured that the instrument is behaving as a first-order type. If the data deviate considerably from a straight line, we know the system is not truly first order and a τ value obtained by the 63.2% method would be quite misleading.

– An even stronger verification (or refutation) of first-order dynamic characteristics is available from frequency-response testing. If the system is truly first-order, the amplitude ratio follows the typical low- and high-frequency asymptotes (slope 0 and –20 dB/decade) and the phase angle approaches -90° asymptotically.

Page 26: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig26

– If these characteristics are present, the numerical value of τ is found by determining ω (rad/sec) at the breakpoint and using τ = 1/ωbreak. Deviations from the above amplitude and/or phase characteristics indicate non-first-order behavior.

Page 27: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig27

• What is the relationship between the unit-step response and the unit-ramp response and between the unit-impulse response and the unit-step response?– For a linear time-invariant system, the response to the

derivative of an input signal can be obtained by differentiating the response of the system to the original signal.

– For a linear time-invariant system, the response to the integral of an input signal can be obtained by integrating the response of the system to the original signal and by determining the integration constants from the zero-output initial condition.

Page 28: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig28

• Unit-Step Input is the derivative of the Unit-Ramp Input.

• Unit-Impulse Input is the derivative of the Unit-Step Input.

• Once you know the unit-step response, take the derivative to get the unit-impulse response and integrate to get the unit-ramp response.

Page 29: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig29

System Frequency Response

Page 30: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig30

dB = 20 log10 (amplitude ratio)decade = 10 to 1 frequency changeoctave = 2 to 1 frequency change

Bode Plotting of 1st-Order

Frequency Response

Page 31: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig31

Analog Electronics:RC Low-Pass FilterTime Response &

Frequency Response

outin

outin

outout

in

ee RCs 1 R

ii Cs 1

e 1 1 when i 0

e RCs 1 s 1

+ − = −

= = =+ τ +

R

Cein

eout

iin

iout

Page 32: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig32

0 1 2 3 4 5 6 7 8

x 10-4

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

Time (sec)

Am

plitu

de

Time Constant τ = RC

Time Response to Unit Step Input

R = 15 KΩC = 0.01 µF

Page 33: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig33

• Time Constant τ– Time it takes the step response to reach 63% of

the steady-state value

• Rise Time Tr = 2.2 τ– Time it takes the step response to go from 10%

to 90% of the steady-state value

• Delay Time Td = 0.69 τ– Time it takes the step response to reach 50% of

the steady-state value

Page 34: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig34

102

103

104

105

-25

-20

-15

-10

-5

0

Frequency (rad/sec)

Gai

n dB

Bandwidth = 1/τ

102

103

104

105

-100

-80

-60

-40

-20

0

Frequency (rad/sec)

Ph

ase

(deg

rees

)

Frequency Response

( )( ) ( )

1out

2 22 1 2in

e K K 0 Ki tan

e i 1 1 tan 1

∠ω = = = ∠ − ωτ

ωτ + ωτ + ∠ ωτ ωτ +

o

R = 15 KΩ

C = 0.01 µF

Page 35: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig35

• Bandwidth– The bandwidth is the frequency where the

amplitude ratio drops by a factor of 0.707 = -3dB of its gain at zero or low-frequency.

– For a 1st -order system, the bandwidth is equal to 1/ τ.

– The larger (smaller) the bandwidth, the faster (slower) the step response.

– Bandwidth is a direct measure of system susceptibility to noise, as well as an indicator of the system speed of response.

Page 36: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig36

t

time

output

output

input

input

Sine Wave

1

tau.s+1

First-OrderPlant

Clock

MatLab / Simulink DiagramFrequency Response for 1061 Hz Sine Input

τ = 1.5E-4 sec

Page 37: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig37

0 0.5 1 1.5 2 2.5 3 3.5 4

x 10-3

-1

-0.8

-0.6

-0.4

-0.2

0

0.2

0.4

0.6

0.8

1

time (sec)

ampl

itud

e

Response to Input 1061 Hz Sine Wave

Amplitude Ratio = 0.707 = -3 dB Phase Angle = -45°

Input

Output

Page 38: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig38

Time Response & Frequency Response2nd-Order Dynamic System

Example: 2-Pole, Low-Pass, Active Filter

Dynamic System Investigationof the Two-Pole, Low-Pass, Active Filter

R1

C2

ein

eout

R3

R4

C 5

R7

R6

+

-

+

-

Page 39: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig39

P h y s i c a lS y s t e m

P h y s i c a lM o d e l

M a t hM o d e l

M o d e l

P a r a m e t e rI D

A c t u a l

D y n a m i cB e h a v i o r

C o m p a r e

P r e d i c t e d

D y n a m i cB e h a v i o r

M a k e

D e s i g n

D e c i s i o n s

D e s i g nC o m p l e t e

Measurements,Calculations,

Manufacturer 's Specifications

Assumptions

and

Engineering Judgement

Physical Laws

Experimental

Analysis

Equation Solut ion:

Analytical

and Numerical

Solu t ion

Model Adequate ,

Performance Adequate

Model Adequate ,

Performance Inadequate

Modify

o r

Augmen t

Model Inadequate :

Modify

D y n a m i c S y s t e m I n v e s t ig a t i o n

Which Parameters to Identify?

What Tes t s to Per form?

Page 40: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig40

R1

C2

ein

eout

R3

R4

C 5

R7

R6

+

-

+

-

Physical Model Ideal Transfer Function

( )7

6 1 3 2 5out

2in

3 2 1 2 4 2 3 4 2 5

R 1R R R C Ce

se 1 1 1 1

s sR C R C R C R R C C

=

+ + + +

Page 41: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig41

2nd-Order DynamicSystem Model

20 0

2 1 0 0 0 i2

20 0

0 i2 2n n

d q dqa a a q b q

dt dtd q dq1 2

q Kqdt dt

+ + =

ζ+ + =

ω ω

0n

2

1

2 0

0

0

a undamped natural frequency

a

a damping ratio2 a a

bK steady-state gain

a

ω =

ζ =

=

@

@

@

Step Responseof a

2nd-Order System

Page 42: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig42

20 0

0 i2 2n n

d q dq1 2q Kq

dt dtς

+ ζ + =ω ω

( )n t 2 1 2o is n2

1q Kq 1 e sin 1 t sin 1 1

1

−ζω −

= − ω − ζ + − ζ ζ < − ζ

Step Responseof a

2nd-Order System

( )

( )

2n

2n

21 t

2

o is2

1 t

2

11 e

2 1q Kq 1

1 e

2 1

−ζ+ ζ − ω

−ζ− ζ − ω

ζ + ζ −−

ζ − = ζ >

ζ − ζ − + ζ −

( ) nto is nq Kq 1 1 t e 1−ω = − + ω ζ =

Over-damped

Critically Damped

Underdamped

Page 43: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig43

Frequency Responseof a

2nd-Order System

( )o2

i2n n

Q Ks

s 2 sQ1

=ζ+ +

ω ω

( ) 1o

22i 2 2 n

2 nn n

Q K 2i tan

Q4

1

− ζω = ∠

ω ω − ω ζ ω − + ω ω ω ω

Laplace Transfer Function

Sinusoidal Transfer Function

Page 44: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig44

Frequency Responseof a

2nd-Order System

Page 45: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig45

Frequency Responseof a

2nd-Order System

-40 dB per decade slope

Page 46: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig46

Some Observations

• When a physical system exhibits a natural oscillatory behavior, a 1st-order model (or even a cascade of several 1st-order models) cannot provide the desired response. The simplest model that does possess that possibility is the 2nd-order dynamic system model.

• This system is very important in control design.– System specifications are often given assuming that the

system is 2nd order.

– For higher-order systems, we can often use dominant pole techniques to approximate the system with a 2nd-order transfer function.

Page 47: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig47

• Damping ratio ζ clearly controls oscillation; ζ < 1 is required for oscillatory behavior.

• The undamped case (ζ = 0) is not physically realizable (total absence of energy loss effects) but gives us, mathematically, a sustained oscillation at frequency ωn.

• Natural oscillations of damped systems are at the damped natural frequency ωd, and not at ωn.

• In hardware design, an optimum value of ζ = 0.64 is often used to give maximum response speed without excessive oscillation.

2d n 1ω = ω − ζ

Page 48: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig48

• Undamped natural frequency ωn is the major factor in response speed. For a given ζ response speed is directly proportional to ωn.

• Thus, when 2nd-order components are used in feedback system design, large values of ωn (small lags) are desirable since they allow the use of larger loop gain before stability limits are encountered.

• For frequency response, a resonant peak occurs for ζ < 0.707. The peak frequency is ωp and the peak amplitude ratio depends only on ζ.

2p n 2

K1 2 peak amplitude ratio

2 1 ω = ω − ζ =

ζ − ζ

Page 49: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig49

• Bandwidth– The bandwidth is the frequency where the amplitude

ratio drops by a factor of 0.707 = -3dB of its gain at zero or low-frequency.

– For a 1st -order system, the bandwidth is equal to 1/ τ.– The larger (smaller) the bandwidth, the faster (slower)

the step response.

– Bandwidth is a direct measure of system susceptibility to noise, as well as an indicator of the system speed of response.

– For a 2nd-order system:

2 2 4nBW 1 2 2 4 4= ω − ζ + − ζ + ζ

Page 50: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig50

– As ζ varies from 0 to 1, BW varies from 1.55ωn to 0.64ωn. For a value of ζ = 0.707, BW = ωn. For most design considerations, we assume that the bandwidth of a 2nd-order all pole system can be approximated by ωn.

Page 51: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig51

2n

2 2n n

21,2 n n

1,2 d

KG(s)

s 2 s

s i 1

s i

ω=

+ ςω + ω

= −ςω ± ω − ς

= −σ ± ω

( )

( )

2

rn

sn

1p

1.8t rise time

4.6t settling time

M e 0 1 overshoot

1 0 0.60.6

−πς

−ς

≈ω

≈ςω

= ≤ ζ <

ζ ≈ − ≤ ζ ≤

Location of PolesOf

Transfer Function

General All-Pole2nd-Order

Step Response

( ) td d

d

y t 1 e cos t sin t−σ σ= − ω + ω ω

Page 52: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig52

Time-Response Specifications vs. Pole-Location Specifications

nr

1.8t

ω ≥

( )p0.6 1 M 0 0.6ζ ≥ − ≤ ζ ≤

s

4.6t

σ ≥

Page 53: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig53

Experimental Determination of ζ and ωn

• ζ and ωn can be obtained in a number of ways from step or frequency-response tests.

• For an underdamped second-order system, the values of ζ and ωn may be found from the relations:

( )

21p 2

e p

2 dd n n 2 2

1M e

1log M

21

1 T 1

πζ−−ζ= ζ =

π+

ω πω = ω − ζ ω = =

− ζ − ζ⇒

d

2T

π=

ω

Page 54: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig54

• Logarithmic Decrement δ is the natural logarithm of the ratio of two successive amplitudes.

( )( ) ( )

( )

n Tn

n n

2 2d n

2 2

1

n 1

x tln ln e T

x t T

2 2 2

1 1

2

B1ln

n B

ζω

+

δ = = = ζω +

ζω π ζω π πζ= = =

ω ω − ζ − ζ

δζ =

π + δ

δ =

Free Response of a 2nd-Order System

( ) ( )n tdx t Be sin t−ζω= ω + φ

d

2T

π=

ω

Page 55: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig55

– If several cycles of oscillation appear in the record, it is more accurate to determine the period T as the average of as many distinct cycles as are available rather than from a single cycle.

– If a system is strictly linear and second-order, the value of n is immaterial; the same value of ζ will be found for any number of cycles. Thus if ζ is calculated for, say, n= 1, 2, 4, and 6 and different numerical values of ζ are obtained, we know that the system is not following the postulated mathematical model.

• For overdamped systems (ζ > 1.0), no oscillations exist, and the determination of ζ and ωn becomes more difficult. Usually it is easier to express the system response in terms of two time constants.

Page 56: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig56

– For the overdamped step response:

– where

( )

( )

2n

2n

1 2

21 t

2

o is2

1 t

2

t t

o 1 2

is 2 1 2 1

11 e

2 1q Kq 1

1 e

2 1

qe e 1

Kq

−ζ+ ζ − ω

−ζ− ζ − ω

− −τ τ

ζ + ζ −−

ζ − = ζ >

ζ − ζ − + ζ −

τ τ= − +

τ − τ τ − τ

( ) ( )1 22 2

n n

1 1

1 1τ τ

ζ − ζ − ω ζ + ζ − ω@ @

Page 57: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig57

– To find τ1 and τ2 from a step-function response curve, we may proceed as follows:

• Define the percent incomplete response Rpi as:

• Plot Rpi on a logarithmic scale versus time t on a linear scale. This curve will approach a straight line for large t if the system is second-order. Extend this line back to t = 0, and note the value P1

where this line intersects the Rpi scale. Now, τ1 is the time at which the straight-line asymptote has the value 0.368P1.

• Now plot on the same graph a new curve which is the difference between the straight-line asymptote and Rpi. If this new curve is not a straight line, the system is not second-order. If it is a straight line, the time at which this line has the value 0.368(P1-100) is numerically equal to τ2.

• Frequency-response methods may also be used to find τ1 and τ2.

opi

is

qR 1 100

Kq

@

Page 58: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig58

Step-Response Test for

Overdamped Second-Order

Systems

Page 59: Dynamic System Response - New York University Tandon ...engineering.nyu.edu/.../Control_Lab/Criag/Craig_RPI/2001/Dynamic_System_Response.pdfDynamic System Response K. Craig 2 Laplace

Sensors & Actuators in Mechatronics Dynamic System Response

K. Craig59

Frequency-Response Test of Second-Order

Systems