48
I-1 I. Concepts and Tools Mathematics for Dynamic Systems Differential Equation Transfer Function State Space Time Response Transient Steady State Frequency Response Bode and Nyquist Plots Stability and Stability Margins Extensions to Digital Control

I. Concepts and Tools

  • Upload
    liko

  • View
    27

  • Download
    0

Embed Size (px)

DESCRIPTION

I. Concepts and Tools. Mathematics for Dynamic Systems Differential Equation Transfer Function State Space Time Response Transient Steady State Frequency Response Bode and Nyquist Plots Stability and Stability Margins Extensions to Digital Control. A Differential Equation of Motion. - PowerPoint PPT Presentation

Citation preview

Page 1: I. Concepts and Tools

I-1

I. Concepts and Tools Mathematics for Dynamic Systems

Differential Equation Transfer Function State Space

Time Response Transient Steady State

Frequency Response Bode and Nyquist Plots Stability and Stability Margins

Extensions to Digital Control

Page 2: I. Concepts and Tools

I-2

A Differential Equation of Motion

Newton’s Law:

A Linear Approximation:

( ) ( , ( ), ( ), ( )) ( )y t f t y t y t w t bu t

( ) ( ) ( ) ( )TKy t y t w t u tJ J

Page 3: I. Concepts and Tools

I-3

Laplace Transform and Transfer Function

2

( ) ( ) ( )

( ) ( ) ( ) ( )

( )( )

( ) ( )

T

T

Tp

Ky t y t u t

J J

Ks Y s sY s U s

J J

Y s KG s

U s s Js

0( ) ( ) stY s y t e dt

Page 4: I. Concepts and Tools

I-4

State Space Description

1 2

1 1

2 2

1

2

( ) ( ) ( )

,

0 1 0

0

[1 0]

T

T

Ky t y t u t

J J

x y x y

x xuK

x xJ J

xy

x

1

2

0 1 0,

0

[1 0], D=0

T

xLet x

x

x Ax Bu

y Cx Du

with

A B K

J JC

Page 5: I. Concepts and Tools

I-5

From State Space to Transfer Function

1( ) ( )

=( )

p

T

G s C sI A B D

K

s Js

Page 6: I. Concepts and Tools

I-6

Linear System Concepts

States form a linear vector space Controllable Subspace and Controllability Observable Subspace and Observability The Linear Time Invariance (LTI) Assumptions Stability

Lyapunov Stability (for linear or nonlinear systems) LTI System Stability: poles/eigenvalues in RHP

Page 7: I. Concepts and Tools

I-7

A Motion ControlProblem

LOAD

DRIVE

PULLEYASSEMBLY

J L

J D

N L

N D

N PD

N PL

WL0

r

r WL

M WL

r WDO

WDr

M WD

TD

J P

L

D

LT

B L L

DDB

B TRL

L

LLT J TR

L

LTRLJ

EQUIVALENTMODEL

Page 8: I. Concepts and Tools

I-8

L T TT J B

L D TT T gr

L T

D T T

grTF

T s J s B

D CS S A TT v K K K

( ) L S A T T

pCS T T

K K K grG s

v s J s B

From Differential Eq. To Transfer Function

Page 9: I. Concepts and Tools

I-9

( ) S A T T

pT T

K K K grG s

s J s B

Transfer Function model of the motion plant

( )p

KG s

s Js

Page 10: I. Concepts and Tools

I-10

Unity Feedback Control System

(s)-

(s)r ye

referenceinput

outputpGcGu

Page 11: I. Concepts and Tools

I-11

Common Nonlinearities

Page 12: I. Concepts and Tools

I-12

Linearization

Page 13: I. Concepts and Tools

I-13

Time Response

Page 14: I. Concepts and Tools

I-14

Open Loop Transient Response

How parameters of transfer functions affect output Terminologies for 1st and 2nd order systems

Page 15: I. Concepts and Tools

I-15

Basis of Analysis

Page 16: I. Concepts and Tools

I-16

First Order Transfer Function

( )

1

1

aG s

s a

s

Page 17: I. Concepts and Tools

I-17

Pure 2nd Order Transfer Functions

2

1( )

2 1

: damping ratio, : natural frequency

1: overdamped

1: underdamped

1: critically damped

0 : undamped

n n

n

G ss s

Page 18: I. Concepts and Tools

I-18

Pure 2nd Order Transfer Functions

Page 19: I. Concepts and Tools

I-19

Pure 2nd Order Transfer Functions

Page 20: I. Concepts and Tools

I-20

Terminologies

max% 100final

final

c cOS

c

Page 21: I. Concepts and Tools

I-21

Calculations

2( / 1 )% 100

4s

n

OS e

T

Page 22: I. Concepts and Tools

I-22

Pure 2nd Order Transfer Functions

Page 23: I. Concepts and Tools

I-23

Pure 2nd Order Transfer Functions

Page 24: I. Concepts and Tools

I-24

Pure 2nd Order Transfer Functions

Page 25: I. Concepts and Tools

I-25

Steady State Response

Steady state response is determined by the dc gain: G(0)

Page 26: I. Concepts and Tools

I-26

Steady State Error

(s)-

(s)r ye

referenceinput

outputpGcGu

0( ) | ( ) |

( )( )

1 ( ) ( )

ss t s

c p

e e t sE s

R sE s

G s G s

Page 27: I. Concepts and Tools

I-27

Frequency Response: The MOST useful concept in control theory

Performance Measures Bandwidth Disturbance Rejection Noise Sensitivity

Stability Yes or No? Stability Margins (closeness to instability) Robustness (generalized stability margins)

Page 28: I. Concepts and Tools

I-28

Frequency Response

Page 29: I. Concepts and Tools

I-29

Bode Plot (Magnitude and Phase vs. Frequency) G(s) =1/(s +2)

Page 30: I. Concepts and Tools

I-30

Polar Plot: imaginary part vs. real part of G(j) G(s) =1/(s +2)

Page 31: I. Concepts and Tools

I-31

Bandwidth of Feedback Control

-3dB Frequency of CLTF

0 dB Crossing Frequency (c) of Gc(j)Gp(j)

Defines how fast y follows r

(s)-

(s)r ye

referenceinput

outputpGcGu

( ) ( )( )

( ) 1 ( ) ( )c p

c p

G j G jY j

R j G j G j

Page 32: I. Concepts and Tools

I-32

Disturbance Rejection

(s)-

(s)0 y

outputpGcG

d

( ) 1

( ) 1 ( ) ( )

measures disturbance rejection quality

c p

Y j

D j G j G j

Page 33: I. Concepts and Tools

I-33

Noise Sensitivity

(s)-

(s)0 y

pGcG

n

u

noise

( ) ( )

( ) 1 ( ) ( )

( ) at high frequency

c

c p

c

U j G j

N j G j G j

G j

Page 34: I. Concepts and Tools

I-34

Nyquist Plot

Using G (j) to determine the stability of

-

r y( )G s

( )H s

( ) ( ) ( )

( ) : Sensor and Filter

c pG s G s G s

H s

Page 35: I. Concepts and Tools

I-35

The Idea of Mapping

Page 36: I. Concepts and Tools

I-36

Nyquist Contour

j

j

s j RHP

Page 37: I. Concepts and Tools

I-37

Nyquist Stability Criteria

Determine stability by inspection Assume G(s)H(s) is stable, let s complete the N-

countourThe closed-loop system is stable if G(s)H(s)

does not encircle the (-1,0) point Basis of Stability Robustness Further Reading: unstable G(s)H(s), # of unstable

poles

Page 38: I. Concepts and Tools

I-38

Nyquist Stability Criteria

Stable

Unstable

Page 39: I. Concepts and Tools

I-39

Stability Robustness

The (-1,0) point on the GH-plane becomes the focus Distance to instability:

G(s)H(s)-(-1)=1+G(s)H(s) Robust Stability Condition

Distance to instability > Dynamic Variations of G(s)H(s)

This is basis of modern robust control theory

Page 40: I. Concepts and Tools

I-40

Gain and Phase Margins(-1,0) is equivalent of 0dbpoint on Bode plot

G(j)H(j)

G(j)H(j)|

Page 41: I. Concepts and Tools

I-41

Stability Margins:

Bode PlotNyquist Plot

Page 42: I. Concepts and Tools

I-42

Digital Control

Page 43: I. Concepts and Tools

I-43

Discrete Signals

Page 44: I. Concepts and Tools

I-44

Digital Control Concepts

Sampling Rate Delay

ADC and DAC Resolution (quantization levels) Speed Aliasing

Digital Control AlgorithmDifference equation

Page 45: I. Concepts and Tools

I-45

Discrete System Description

Discrete system

h[n]: impulse response

Difference equation

h[n]u[n] y[n]

0 0

[ ] [ ]N M

k kk k

a y n k b u n k

Page 46: I. Concepts and Tools

I-46

Discrete Fourier Transform and z-Transform

X(e j ) x[n]e j

n

X(z) x[n]z n

n

Page 47: I. Concepts and Tools

I-47

Discrete Transfer Function and Frequency Response

H(e j ) H(z) ze j

H(z) Y(z)

X(z)

bkz k

k0

M

ak z k

k0

N

Page 48: I. Concepts and Tools

I-48

Application of Basic Concepts to Previously Designed Controllers