• No results found

MECH466 L19 FreqDomSpecs

N/A
N/A
Protected

Academic year: 2020

Share "MECH466 L19 FreqDomSpecs"

Copied!
9
0
0

Loading.... (view fulltext now)

Full text

(1)

2008/09 MECH466 : Automatic Control 1

MECH466: Automatic Control

MECH466: Automatic Control

Dr. Ryozo Nagamune Dr. Ryozo Nagamune

Department of Mechanical Engineering Department of Mechanical Engineering

University of British Columbia University of British Columbia

Lecture 19 Lecture 19

Examples of gain margin & phase margin Examples of gain margin & phase margin

Frequency domain specifications Frequency domain specifications

2008/09 MECH466 : Automatic Control 2

Course roadmap

Course roadmap

Laplace transform

Laplace transform

Transfer function

Transfer function

Models for systems

Models for systems

•electricalelectrical •

•mechanicalmechanical •

•electromechanicalelectromechanical Linearization

Linearization Modeling

Modeling AnalysisAnalysis DesignDesign

Time response

Time response

•TransientTransient •

•Steady stateSteady state Frequency response

Frequency response

•Bode plotBode plot Stability

Stability

•RouthRouth--HurwitzHurwitz

•NyquistNyquist

Design specs

Design specs

Root locus

Root locus

Frequency domain

Frequency domain

PID & Lead

PID & Lead--laglag Design examples

Design examples

Matlab

Matlabsimulations & laboratoriessimulations & laboratories

2008/09 MECH466 : Automatic Control 3

Gain margin (GM) (review)

Gain margin (GM) (review)

ƒ

ƒ Phase crossover Phase crossover

frequency

frequency ωωpp::

ƒ

ƒ Gain marginGain margin(in dB)(in dB)

ƒ

ƒ Indicates how much Indicates how much OL gain can be OL gain can be multiplied without multiplied without violating CL stability.

violating CL stability. NyquistNyquistplot of L(splot of L(s))

2008/09 MECH466 : Automatic Control 4

Phase margin:

Phase margin:

CORRECTION

CORRECTION

ƒ

ƒ Gain crossover Gain crossover frequency

frequency ωωgg::

ƒ

ƒ Phase marginPhase margin

ƒ

ƒ Indicates how much Indicates how much OL phase lag can be OL phase lag can be added without added without violating CL stability. violating CL stability.

Nyquist

(2)

2008/09 MECH466 : Automatic Control 5

Relative stability on Bode plot (review)

Relative stability on Bode plot (review)

ω

ωgg

ω

ωpp

GM GM

PM PM

2008/09 MECH466 : Automatic Control 6

Example of GM & PM

Example of GM & PM

dB

dB

deg

deg

--2020

--4040

ω

ωpp: GM:: GM:

ω

ωgg: PM: : PM:

2008/09 MECH466 : Automatic Control 7

Example of GM & PM

Example of GM & PM

ƒ

ƒ Second order systemSecond order system

Bode plot

Bode plot

10-2 10-1 100 101 102 -100

-50 0

10-2 10-1 100 101 102 -150

-100 -50 0

Nyquist

Nyquistplotplot

-1 -0.5 0 0.5 1 -1

-0.5 0 0.5 1

ω

ωpp: GM:: GM:

ω

ωgg: PM: : PM:

2008/09 MECH466 : Automatic Control 8

Example of GM & PM

Example of GM & PM

ƒ

ƒ Third order systemThird order system

Bode plot

Bode plot

10-2 10-1 100 101 102 -150

-100 -50 0

10-2 10-1 100 101 102 -200

-100 0

Nyquist

Nyquistplotplot

-1 -0.5 0 0.5 1 -1

-0.5 0 0.5 1

ω

ωpp: GM:: GM:

ω

(3)

2008/09 MECH466 : Automatic Control 9

How to compute GM?

How to compute GM?

ƒ

ƒ Frequency response functionFrequency response function

PM computation

PM computation

often requires

often requires

computational tools.

computational tools.

2008/09 MECH466 : Automatic Control 10

Course roadmap

Course roadmap

Laplace transform

Laplace transform

Transfer function

Transfer function

Models for systems

Models for systems

•electricalelectrical •

•mechanicalmechanical •

•electromechanicalelectromechanical Linearization

Linearization Modeling

Modeling AnalysisAnalysis DesignDesign

Time response

Time response

•TransientTransient •

•Steady stateSteady state Frequency response

Frequency response

•Bode plotBode plot Stability

Stability

•RouthRouth--HurwitzHurwitz

•NyquistNyquist

Design specs

Design specs

Root locus

Root locus

Frequency domain

Frequency domain

PID & Lead

PID & Lead--laglag Design examples

Design examples

Matlab

Matlabsimulations & laboratoriessimulations & laboratories

2008/09 MECH466 : Automatic Control 11

Controller design comparison

Controller design comparison

Design specifications in time domain

Design specifications in time domain

(Rise time, settling time, overshoot, steady state error, etc.)

(Rise time, settling time, overshoot, steady state error, etc.)

Desired closed

Desired closed--loop loop pole location

pole location

in s

in s--domaindomain

Desired open

Desired open--loop loop

frequency response

frequency response

in s

in s--domaindomain

Root locus shaping

Root locus shaping Frequency response shapingFrequency response shaping (Loop shaping)

(Loop shaping)

Approximate translation

Approximate translation

2008/09 MECH466 : Automatic Control 12

Feedback control system design

Feedback control system design

ƒ

ƒ Given Given G(sG(s), design ), design C(sC(s) that satisfies CL stability ) that satisfies CL stability and time domain specs, i.e., transient and

and time domain specs, i.e., transient and

steady

steady--state responses.state responses. ƒ

ƒ We learn typical qualitative relationships We learn typical qualitative relationships between

between openopen--loop Bode plotloop Bode plot and timeand time--domain domain responses.

responses.

G(s G(s)) C(s

C(s))

Plant

Plant

Controller

Controller

OL:

OL:

CL:

(4)

2008/09 MECH466 : Automatic Control 13

Typical desired OL Bode plot

Typical desired OL Bode plot

Steady

Steady--state accuracystate accuracy Sensitivity

Sensitivity

Disturbance rejection Disturbance rejection

Noise Noise reduction reduction Transient

Transient Response speed Response speed

Transient Transient Overshoot Overshoot Relative stability

Relative stability

Relative stability Relative stability

Noise

Noise

reduction

reduction

2008/09 MECH466 : Automatic Control 14

Steady

Steady

-

-

state accuracy

state accuracy

G(s G(s)) C(s

C(s))

Plant

Plant

Controller

Controller

For steady

For steady--state accuracy, state accuracy,

L should have high gain at low frequencies.

L should have high gain at low frequencies.

y(t

y(t) tracks ) tracks r(tr(t) composed of ) composed of low frequencies very well. low frequencies very well.

2008/09 MECH466 : Automatic Control 15

Steady

Steady

-

-

state accuracy (cont

state accuracy (cont

d)

d)

ƒ

ƒ Step Step r(tr(t))

Increase Increase

ƒ

ƒ Ramp Ramp r(tr(t)) Increase Increase

ƒ

ƒ Parabolic Parabolic r(tr(t)) Increase Increase

For

For KvKvto be nonzero,to be nonzero,

L must contain

L must contain

at least one integrator.

at least one integrator.

For Ka to be nonzero,

For Ka to be nonzero,

L must contain

L must contain

at least two integrators.

at least two integrators.

<

<--2020 <<--4040

2008/09 MECH466 : Automatic Control 16

Typical desired OL Bode plot

Typical desired OL Bode plot

Noise Noise reduction reduction Transient

Transient Response speed Response speed

Transient Transient Overshoot Overshoot Relative stability

Relative stability

Relative stability Relative stability Noise

Noise reduction reduction Steady

Steady--state accuracystate accuracy Sensitivity

Sensitivity

(5)

2008/09 MECH466 : Automatic Control 17

A second order example

A second order example

ƒ

ƒ For illustration, we use the feedback system: For illustration, we use the feedback system:

G(s G(s)) C(s

C(s))

Plant

Plant

Controller

Controller

2008/09 MECH466 : Automatic Control 18

Percent overshoot

Percent overshoot

0 5 10 15 0

0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8

For small percent overshoot,

For small percent overshoot,

L should have larger phase margin.

L should have larger phase margin.

10-1 100 101 -20

0 20

10-1 100 101 -180

-160 -140 -120 -100

CL step response CL step response OL Bode plot

OL Bode plot

PM

PM

2008/09 MECH466 : Automatic Control 19

Typical desired OL Bode plot

Typical desired OL Bode plot

Noise Noise reduction reduction Transient

Transient Response speed Response speed

Transient Transient Overshoot Overshoot Relative stability

Relative stability

Relative stability Relative stability Noise

Noise reduction reduction Steady

Steady--state accuracystate accuracy Sensitivity

Sensitivity

Disturbance rejection Disturbance rejection

2008/09 MECH466 : Automatic Control 20

0 5 10 15 0

0.2 0.4 0.6 0.8 1 1.2 1.4

100 -20

0 20

10-1 100 101 -180

-160 -140 -120 -100

Response speed

Response speed

For fast response,

For fast response,

L should have larger gain crossover frequency.

L should have larger gain crossover frequency.

CL step response CL step response OL Bode plot

(6)

2008/09 MECH466 : Automatic Control 21

Typical desired OL Bode plot

Typical desired OL Bode plot

Noise Noise reduction reduction Transient

Transient Response speed Response speed

Transient Transient Overshoot Overshoot Relative stability

Relative stability

Relative stability Relative stability Noise

Noise reduction reduction Steady

Steady--state accuracystate accuracy Sensitivity

Sensitivity

Disturbance rejection Disturbance rejection

2008/09 MECH466 : Automatic Control 22

Relative stability

Relative stability

ƒ

ƒ We require adequate GM and PM for:We require adequate GM and PM for:

ƒ

ƒ safety against inaccuracies in modelingsafety against inaccuracies in modeling

ƒ

ƒ reasonable transient response (overshoot)reasonable transient response (overshoot) ƒ

ƒ It is difficult to give reasonable numbers of GM It is difficult to give reasonable numbers of GM and PM for general cases, but usually,

and PM for general cases, but usually,

ƒ

ƒ GM should be at least 6dB GM should be at least 6dB

ƒ

ƒ PM should be at least 45deg PM should be at least 45deg

(These values are not absolute but approximate!) (These values are not absolute but approximate!) ƒ

ƒ In controller design, we are especially interested In controller design, we are especially interested in PM (which typically leads to good GM).

in PM (which typically leads to good GM).

2008/09 MECH466 : Automatic Control 23

Typical desired OL Bode plot

Typical desired OL Bode plot

Noise Noise reduction reduction Transient

Transient Response speed Response speed

Transient Transient Overshoot Overshoot Relative stability

Relative stability

Relative stability Relative stability Noise

Noise reduction reduction Steady

Steady--state accuracystate accuracy Sensitivity

Sensitivity

Disturbance rejection Disturbance rejection

2008/09 MECH466 : Automatic Control 24

Noise reduction

Noise reduction

y(t

y(t) is not affected by ) is not affected by n(tn(t) ) composed of high frequencies. composed of high frequencies. G(s

G(s)) C(s

C(s))

Plant

Plant

Controller

Controller

n(t

n(t): noise): noise y(t

y(t))

For noise reduction,

For noise reduction,

L should have small gain at high frequencies.

(7)

2008/09 MECH466 : Automatic Control 25

Typical desired OL Bode plot

Typical desired OL Bode plot

Noise Noise reduction reduction Transient

Transient Response speed Response speed

Transient Transient Overshoot Overshoot Relative stability

Relative stability

Relative stability Relative stability Noise

Noise reduction reduction Steady

Steady--state accuracystate accuracy Sensitivity

Sensitivity

Disturbance rejection Disturbance rejection

2008/09 MECH466 : Automatic Control 26

Sensitivity reduction

Sensitivity reduction

ƒ

ƒ SensitivitySensitivityindicates the influence of plant indicates the influence of plant variations (due to temperature, humidity, age.)

variations (due to temperature, humidity, age.)

on closed

on closed--loop performance. loop performance. ƒ

ƒ Sensitivity functionSensitivity function

For sensitivity reduction,

For sensitivity reduction,

L should have large gain

L should have large gain

at low frequencies.

at low frequencies.

2008/09 MECH466 : Automatic Control 27

Disturbance

Disturbance

ƒ

ƒ Unwanted signalUnwanted signal

ƒ

ƒ ExamplesExamples

ƒ

ƒ Wind turbulence in airplane altitude controlWind turbulence in airplane altitude control

ƒ

ƒ Wave in ship direction controlWave in ship direction control

ƒ

ƒ Sudden temperature change outside the temperatureSudden temperature change outside the temperature- -controlled room

controlled room

ƒ

ƒ Air pressure brake to DC motorAir pressure brake to DC motor

ƒ

ƒ Bumpy road in cruise controlBumpy road in cruise control ƒ

ƒ Often, disturbance is neither measurable nor Often, disturbance is neither measurable nor

predictable. (Use feedback to compensate it!)

predictable. (Use feedback to compensate it!)

2008/09 MECH466 : Automatic Control 28

Disturbance rejection

Disturbance rejection

y(t

y(t) is not affected by ) is not affected by d(td(t) ) composed of low frequencies. composed of low frequencies.

For disturbance rejection,

For disturbance rejection,

L should have large gain at low frequencies.

L should have large gain at low frequencies. G(s

G(s)) C(s

C(s))

Plant

Plant

Controller

Controller

d(t

d(t): disturbance): disturbance

y(t

(8)

2008/09 MECH466 : Automatic Control 29

Typical shaping goal (Summary)

Typical shaping goal (Summary)

Steady

Steady--state accuracystate accuracy

Sensitivity

Sensitivity

Disturbance rejection

Disturbance rejection

Noise Noise reduction reduction Transient

Transient Response speed Response speed

Transient Transient Overshoot Overshoot Relative stability

Relative stability

Relative stability Relative stability Noise reduction

Noise reduction

ƒ

ƒ Next, Next, frequency shaping (loop shaping) designfrequency shaping (loop shaping) design

2008/09 MECH466 : Automatic Control 30

Course roadmap

Course roadmap

Laplace transform

Laplace transform

Transfer function

Transfer function

Models for systems

Models for systems

•electricalelectrical •

•mechanicalmechanical •

•electromechanicalelectromechanical Linearization

Linearization Modeling

Modeling AnalysisAnalysis DesignDesign

Time response

Time response

•TransientTransient •

•Steady stateSteady state Frequency response

Frequency response

•Bode plotBode plot Stability

Stability

•RouthRouth--HurwitzHurwitz

•NyquistNyquist

Design specs

Design specs

Root locus

Root locus

Frequency domain

Frequency domain

PID & Lead

PID & Lead--laglag Design examples

Design examples

Matlab

Matlabsimulations & laboratoriessimulations & laboratories

2008/09 MECH466 : Automatic Control 31

Frequency shaping (Loop shaping)

Frequency shaping (Loop shaping)

ƒ

ƒ Reshape Reshape Bode plot of G(jBode plot of G(jωω)) into a

into a ““desireddesired””shape ofshape of

by a series connection of

by a series connection of

appropriate

appropriate C(sC(s).).

G(s G(s)) C(s

C(s))

Stable plant

Stable plant

Controller

Controller

2008/09 MECH466 : Automatic Control 32

An advantage of Bode plot (review)

An advantage of Bode plot (review)

ƒ

ƒ Bode plot of a series connection GBode plot of a series connection G11(s)G(s)G22(s) is (s) is

the addition of each Bode plot of G

the addition of each Bode plot of G11and Gand G22..

ƒ ƒ GainGain

ƒ ƒ PhasePhase

ƒ

ƒ We use this property to design We use this property to design C(sC(s) so that ) so that G(s)C(s

(9)

2008/09 MECH466 : Automatic Control 33

Simple controllers

Simple controllers

ƒ

ƒ We use simple controllers for shaping.We use simple controllers for shaping.

ƒ ƒ GainGain

ƒ

ƒ Lead and lag compensatorsLead and lag compensators G(s G(s)) C(s

C(s))

Stable plant

Stable plant

Controller

Controller

2008/09 MECH466 : Automatic Control 34

Bode plot of a gain (review)

Bode plot of a gain (review)

dB

dB

deg

deg

2008/09 MECH466 : Automatic Control 35

Bode plots of lead and lag

Bode plots of lead and lag

C(s

C(s

)

)

10-2 10-1 100 101 102 103 -20

-15 -10 -5 0

10-2 10-1 100 101 102 103 -60

-40 -20 0

10-2 10-1 100 101 102 103 0

5 10 15 20

10-2 10-1 100 101 102 103 0

20 40 60

Lead

Leadcompensatorcompensator LagLagcompensatorcompensator

PHASE LEAD

PHASE LEAD PHASE LAGPHASE LAG MEMORIZE THESE

MEMORIZE THESE SHAPES!!! SHAPES!!!

2008/09 MECH466 : Automatic Control 36

Summary and exercises

Summary and exercises

ƒ

ƒ Examples of gain margin and phase marginExamples of gain margin and phase margin ƒ

ƒ Frequency domain specificationsFrequency domain specifications ƒ

ƒ Frequency shaping (Loop shaping) on Bode plotFrequency shaping (Loop shaping) on Bode plot

ƒ ƒ GainGain

ƒ

ƒ Lead, lag, and leadLead, lag, and lead--lag compensatorslag compensators ƒ

ƒ Next, more detail about frequency shaping.Next, more detail about frequency shaping. ƒ

ƒ Read Sections 10.6, 10.7 and 10.10.Read Sections 10.6, 10.7 and 10.10. ƒ

References

Related documents

It can be seen that the stability of transient voltage deviation, voltage recovery time, transient frequency deviation and frequency recovery time of diesel power supply vehicle

Seven sewage sludge ashes and one residue from gas- ification were thermochemically treated (Cl-donor: MgCl 2 ; Cl-conc.: 150 g Cl/kg ash; temperature: 1000 C; retention time: 30

The initial design of a high stability BPM support utilizing Invar component satisfies both the thermal and vibrational stability requirements for NSLS-II. Finite element

BLyS = B-lymphocyte stimulator; C = constant; CDR = complementarity-determining region; CH = heavy chain C domain; CL = light chain C domain; dAb = domain antibody; Fab =

CHAPTER 5: CONTROL DESIGN: TRANSIENT STABILITY CONSTRAINED OPTIMAL POWER FLOW AND ITS APPLICATION IN CASCADING OUTAGES

ElectroMagnetic Transient Programs (EMTP) is a family of simulation environments capable of providing time- domain numerical solutions of a given power system by using the

ElectroMagnetic Transient Programs (EMTP) is a family of simulation environments capable of providing time- domain numerical solutions of a given power system by using the

Transient proces Operating point Run-up time Kinematics Losses Transient process • Time-domain behaviour as a consequence of change of – Control signal – Disturbing variable –