• No results found

MECH466 L14 RLLeadLag

N/A
N/A
Protected

Academic year: 2020

Share "MECH466 L14 RLLeadLag"

Copied!
8
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 14

Lecture 14

Root locus: Lead

Root locus: Lead--lag compensator designlag compensator design

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 •

•Routh-Routh-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

Closed

Closed-

-loop design by root locus

loop design by root locus

ƒ

ƒ Place closedPlace closed--loop poles at desired locationloop poles at desired location

ƒ

ƒ by tuning the gain by tuning the gain C(sC(s)=K.)=K.

ƒ

ƒ If root locus does not pass the desired location, If root locus does not pass the desired location, then reshape the root locus

then reshape the root locus

ƒ

ƒ by adding poles/zeros to by adding poles/zeros to C(sC(s). (How?)). (How?)

G(s

G(s)) C(s

C(s))

Plant Plant Controller

Controller

Compensation Compensation

Fixed! Fixed! Designable!

Designable!

(for time domain specs)

(for time domain specs)

Lead and lag compensators

Lead and lag compensators

ƒ

ƒ LeadLeadcompensatorcompensator

G(s

G(s)) C(s

C(s))

Plant Plant Controller

Controller

Re

Re

Im

Im

ƒ

ƒ LagLagcompensatorcompensator

Re

Re

Im

Im

The reason why these are called

The reason why these are called ““leadlead””and and ““laglag””will be explained will be explained

in frequency response approach (later in this course).

(2)

2008/09 MECH466 : Automatic Control 5

Roles of lead & lag compensators

Roles of lead & lag compensators

ƒ

ƒ Lead compensatorLead compensator

ƒ

ƒ Improve transient responseImprove transient response

ƒ

ƒ Improve stabilityImprove stability

ƒ

ƒ Lag compensatorLag compensator

ƒ

ƒ Reduce steady state errorReduce steady state error

ƒ

ƒ LeadLead--lag compensatorlag compensator

ƒ

ƒ Take into account all the above issues.Take into account all the above issues.

2008/09 MECH466 : Automatic Control 6

Lead compensator design

Lead compensator design

ƒ

ƒ Consider a systemConsider a system

ƒ

ƒ Analysis of CL system for C(sAnalysis of CL system for C(s)=1)=1

ƒ

ƒ Damping ratio Damping ratio ζζ=0.5=0.5

ƒ

ƒ UndampedUndampednatural freq. natural freq. ωωnn=2 =2 rad/srad/s

ƒ

ƒ Performance specificationPerformance specification

ƒ

ƒ Damping ratio Damping ratio ζζ=0.5=0.5

ƒ

ƒ UndampedUndampednatural freq. natural freq. ωωnn=4 =4 rad/srad/s

G(s

G(s)) C(s

C(s))

Plant Plant Controller

Controller

Re

Re

Im

Im

Desired pole

Desired pole

CL pole

CL pole

with

with C(sC(s)=1)=1

Angle & magnitude conditions (review)

Angle & magnitude conditions (review)

ƒ

ƒ A point s to be on root locus A point s to be on root locus ÅÆÅÆit satisfiesit satisfies

ƒ

ƒ Angle conditionAngle condition

ƒ

ƒ For a point on root locus, gain K is obtained byFor a point on root locus, gain K is obtained by

ƒ

ƒ Magnitude conditionMagnitude condition

Odd number Odd number

Lead compensator design (cont

Lead compensator design (cont

d)

d)

Evaluate

Evaluate G(s) at the desired pole.G(s) at the desired pole.

o

o If If angle conditionangle conditionis satisfied, is satisfied,

compute the corresponding K.

compute the corresponding K.

o

o In this example, In this example,

Angle condition is not satisfied.

Angle condition is not satisfied.

Re

Re

Im

Im

Angle deficiency

(3)

2008/09 MECH466 : Automatic Control 9

Lead compensator design (cont

Lead compensator design (cont’

’d)

d)

To compensate angle deficiency, To compensate angle deficiency,

design a lead compensator design a lead compensator C(sC(s))

satisfying satisfying

Re

Re

Im

Im

Desired pole

Desired pole

There are many ways to design such

There are many ways to design such C(sC(s)!)!

2008/09 MECH466 : Automatic Control 10

How to select pole and zero?

How to select pole and zero?

ƒ

ƒ Draw horizontal line PADraw horizontal line PA

ƒ

ƒ Draw line PODraw line PO

ƒ

ƒ Draw bisector PBDraw bisector PB

ƒ

ƒ Draw PC and PDDraw PC and PD

ƒ

ƒ Pole and zero of C(sPole and zero of C(s) are shown in the figure.) are shown in the figure.

Re

Re

Im

Im

Desired pole

Desired pole

P

P

A

A

O

O

B

B

C

C

D

D

--z(=z(=--2.9)2.9)

--p(=p(=--5.4)5.4)

Comparison of root locus

Comparison of root locus

ƒ ƒ G(sG(s))

Re

Re

Im

Im

ƒ

ƒ G(s)C(sG(s)C(s))

Re

Re

Im

Im

Improved stability! Improved stability!

How to design the gain K?

How to design the gain K?

ƒ

ƒ Lead compensatorLead compensator

ƒ

ƒ Open loop transfer functionOpen loop transfer function

ƒ

(4)

2008/09 MECH466 : Automatic Control 13

0 1 2 3 4 5

0 0.2 0.4 0.6 0.8 1 1.2 1.4

Comparison of step responses

Comparison of step responses

Uncompensated system ( Uncompensated system (C(sC(s)=1))=1) Compensated system

Compensated system

Lead compensator Lead compensatorgives gives

faster transient responsefaster transient response (shorter rise and settling time)

(shorter rise and settling time)

improved stabilityimproved stability

2008/09 MECH466 : Automatic Control 14

0 1 2 3 4 5

0 1 2 3 4 5

Error constants

Error constants

ƒ

ƒ Step-Step-error constanterror constant

ƒ

ƒ Ramp-Ramp-error constanterror constant

Lag compensator can be used to reduce Lag compensator can be used to reduce

steady

steady--state error.state error.

Unit ramp input Unit ramp input

Ramp response

Ramp response

Roles of lead & lag compensators

Roles of lead & lag compensators

ƒ

ƒ Lead compensatorLead compensator

ƒ

ƒ Improve transient responseImprove transient response

ƒ

ƒ Improve stabilityImprove stability

ƒ

ƒ Lag compensatorLag compensator

ƒ

ƒ Reduce steady state errorReduce steady state error

ƒ

ƒ LeadLead--lag compensatorlag compensator

ƒ

ƒ Take into account all the above issues.Take into account all the above issues.

Lead

Lead-

-lag compensator design

lag compensator design

ƒ

ƒ Consider a systemConsider a system

ƒ

ƒ Analysis of CL system for C(sAnalysis of CL system for C(s)=1)=1

ƒ

ƒ Damping ratio Damping ratio ζζ=0.5=0.5

ƒ

ƒ UndampedUndampednatural freq. natural freq. ωωnn=2 =2 rad/srad/s

ƒ

ƒ RampRamp--error constant error constant KvKv=2=2

ƒ

ƒ Performance specificationPerformance specification

ƒ

ƒ Damping ratio Damping ratio ζζ=0.5=0.5

ƒ

ƒ UndampedUndampednatural freq. natural freq. ωωnn=4 =4 rad/srad/s

ƒ

ƒ RampRamp--error constant error constant KvKv=50=50

G(s

G(s)) C(s

C(s))

Plant Plant Controller

Controller

Re

Re

Im

Im

Desired pole

(5)

2008/09 MECH466 : Automatic Control 17

0 1 2 3 4 5

0 0.2 0.4 0.6 0.8 1 1.2 1.4

Comparison of step responses

Comparison of step responses

(after lead compensation)

(after lead compensation)

Uncompensated system ( Uncompensated system (C(sC(s)=1))=1) Compensated system

Compensated system

Lead compensator Lead compensatorgives gives

faster transient responsefaster transient response (shorter rise and settling time)

(shorter rise and settling time)

improved stabilityimproved stability

2008/09 MECH466 : Automatic Control 18

0 1 2 3 4 5

0 1 2 3 4 5

Error constants

Error constants

(after lead compensation)

(after lead compensation)

ƒ

ƒ Step-Step-error constanterror constant

ƒ

ƒ Ramp-Ramp-error constanterror constant

Lag compensator can reduce steady

Lag compensator can reduce steady--state error. state error. Unit ramp input Unit ramp input

Ramp response

Ramp response

NOT SATISFACTORY! NOT SATISFACTORY!

How to design lag compensator

How to design lag compensator

ƒ

ƒ Lag compensatorLag compensator

ƒ

ƒ We want to increase rampWe want to increase ramp--error constanterror constant

Take, for example, z=10p. Take, for example, z=10p.

ƒ

ƒ We do not want to change CL pole location sWe do not want to change CL pole location s11so so

much (already satisfactory transient). much (already satisfactory transient).

Root locus with lag compensator

Root locus with lag compensator

ƒ

ƒ Without compensatorWithout compensator

s

s11

ƒ

ƒ With compensatorWith compensator

s

(6)

2008/09 MECH466 : Automatic Control 21

Guidelines to choose z and p

Guidelines to choose z and p

ƒ

ƒ The zero and the pole of a lag compensator The zero and the pole of a lag compensator should be

should be close to each otherclose to each other, for , for

ƒ

ƒ The pole of a lag compensator should be The pole of a lag compensator should be close close

to the origin

to the origin, to have a large ratio , to have a large ratio z/pz/p, leading to , leading to a large ramp

a large ramp--error constant error constant KvKv..

ƒ

ƒ However, the pole of a lag compensator too However, the pole of a lag compensator too close to the origin may be problematic: close to the origin may be problematic:

ƒ

ƒ Slow settling (due to closedSlow settling (due to closed--loop pole near the origin)loop pole near the origin)

2008/09 MECH466 : Automatic Control 22

How to design lag compensator

How to design lag compensator

ƒ

ƒ For the desired CL poleFor the desired CL pole

ƒ

ƒ Take a small p (by trial-Take a small p (by trial-andand--error!)error!)

ƒ

ƒ Lead-Lead-lag controllerlag controller

Root locus

Root locus

- 6 - 4 - 2 0 - 1 5

- 1 0 - 5 0 5 1 0 1 5

- 6 - 4 - 2 0 - 1 5

- 1 0 - 5 0 5 1 0

1 5 R o o t L o c u s

R e a l A x is

Im

agi

nar

y

A

x

is

R o o t L o c u s

R e a l A x is

Im

agi

nar

y

A

x

is

With lead compensator

With lead compensator With leadWith lead--lag compensatorlag compensator

Desired pole

Desired pole

Comparison of step responses

Comparison of step responses

0 1 2 3 4 5

0 0.2 0.4 0.6 0.8 1 1.2 1.4

Uncompensated

Uncompensated

With lead compensator

With lead compensator

With lead

(7)

2008/09 MECH466 : Automatic Control 25

Comparison of ramp responses

Comparison of ramp responses

0 1 2 3 4 5

0 1 2 3 4 5

Uncompensated

Uncompensated

With lead compensator

With lead compensator

With lead

With lead--lag compensatorlag compensator Unit ramp input

Unit ramp input

2008/09 MECH466 : Automatic Control 26

Summary and exercises

Summary and exercises

ƒ

ƒ Controller design based on root locusController design based on root locus

ƒ

ƒ Lead compensator design Lead compensator design to improve stability and to improve stability and transient response.

transient response. ƒ

ƒ Lag compensator design Lag compensator design to improve steady state to improve steady state error.

error. ƒ

ƒ LeadLead--lag compensator design lag compensator design to improve stability, to improve stability, transient, SS responses.

transient, SS responses.

ƒ

ƒ Exercises Exercises

ƒ

ƒ Read Sections 9.1Read Sections 9.1--9.4. 9.4.

ƒ

ƒ Solve Problem 9.3 with K=10, and Problem 9.4 with Solve Problem 9.3 with K=10, and Problem 9.4 with

K=17.5.

K=17.5.

Compensator realization

Compensator realization

ƒ

ƒ One example, using operational amplifiersOne example, using operational amplifiers

R

R22

R

R11

C

C22

-+

+

C

C11

-+

+

R

R33

R

R44

v

vii(t(t))

v

voo(t(t))

Compensator realization (cont

Compensator realization (cont’

’d)

d)

ƒ

ƒ Transfer functionTransfer function

ƒ

ƒ LeadLeadcompensatorcompensator

Re

Re

Im

Im

ƒ

ƒ LagLagcompensatorcompensator

Re

Re

Im

(8)

2008/09 MECH466 : Automatic Control 29

Suggestion on Lab 4 schedule

Suggestion on Lab 4 schedule

ƒ

ƒ Current scheduleCurrent schedule

ƒ

ƒ Suggested scheduleSuggested schedule

ƒ

ƒ Please email me during this week if this suggestion is Please email me during this week if this suggestion is

inconvenient for you.

inconvenient for you.

ƒ

ƒ If your group wants to perform Lab 4 on Tuesday March If your group wants to perform Lab 4 on Tuesday March

24 (4

References

Related documents

The yield variance, using the weighted average standard budgeted cost per gallon, may be calculated in the same manner as the materials efficiency variances as shown

In this study, sLPS antigen coated latex bead was prepared and their evaluation was done along with RBPT, commonly employed for the serodiagnosis of brucellosis.. sLPS was

Keywords: Community mental health teams, economic crisis, mental healthcare, Mobile Mental Health Units, primary care, rural areas.. Mental Healthcare Delivery in Rural Greece:

Aims: The aim of this study is to compare the cognitive profile across PD, progressive supranuclear palsy (PSP), and multiple system atrophy (MSA) groups and

Objectives After completing this study unit, you should be able to · Identify the purpose of the fitness report. · Identify the criteria that determine if a fitness report

In this they [freedom, immortality and God] become immanent and constitutive inasmuch as they are grounds of the possibility of making real the necessary object of pure

Under current accounting rules, if the firm grants stock in lieu of cash compensation, the value of that stock is recognized on the firm’s income statement as compensation

[r]