• No results found

MECH466 L22 DesignExample

N/A
N/A
Protected

Academic year: 2020

Share "MECH466 L22 DesignExample"

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 22

Lecture 22

Design examples

Design examples

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

Outline

Outline

ƒ

ƒ System description and control objectiveSystem description and control objective

ƒ

ƒ ModelingModeling

ƒ

ƒ AnalysisAnalysis

ƒ

ƒ Stability analysis via Stability analysis via RouthRouth--Hurwitz criterionHurwitz criterion

ƒ

ƒ SteadySteady--state error analysisstate error analysis

ƒ

ƒ Design of leadDesign of lead--lag compensatorslag compensators

ƒ

ƒ Root locusRoot locus ƒ

ƒ Frequency responseFrequency response

Radio telescope antenna

Radio telescope antenna

ƒ

ƒ Large & parabolicLarge & parabolic

ƒ

ƒ Receive radio wave Receive radio wave

ƒ

ƒ Radio astronomyRadio astronomy

ƒ

ƒ TrackingTracking

ƒ

ƒ Collecting dataCollecting data

ƒ

ƒ SatelliteSatellite

ƒ

(2)

2008/09 MECH466 : Automatic Control 5

Antenna azimuth position control

Antenna azimuth position control

(Taken from

(Taken from NiseNise’’ssbook)book)

Antenna Antenna

Potentiometer Potentiometer Potentiometer

Potentiometer

Motor Motor

2008/09 MECH466 : Automatic Control 6

Outline

Outline

ƒ

ƒ System description and control objectiveSystem description and control objective

ƒ

ƒ ModelingModeling

ƒ

ƒ AnalysisAnalysis

ƒ

ƒ Stability analysis via Stability analysis via RouthRouth--Hurwitz criterionHurwitz criterion ƒ

ƒ SteadySteady--state error analysisstate error analysis

ƒ

ƒ Design of leadDesign of lead--lag compensatorslag compensators

ƒ

ƒ Root locusRoot locus

ƒ

ƒ Frequency responseFrequency response

Antenna azimuth position control

Antenna azimuth position control

Block diagram

Block diagram

Closed

Closed

-

-

loop transfer function

loop transfer function

ƒ

(3)

2008/09 MECH466 : Automatic Control 9

Outline

Outline

ƒ

ƒ System description and control objectiveSystem description and control objective

ƒ

ƒ ModelingModeling

ƒ

ƒ AnalysisAnalysis

ƒ

ƒ Stability analysis via Stability analysis via RouthRouth--Hurwitz criterionHurwitz criterion

ƒ

ƒ SteadySteady--state error analysisstate error analysis

ƒ

ƒ Design of leadDesign of lead--lag compensatorslag compensators

ƒ

ƒ Root locusRoot locus ƒ

ƒ Frequency responseFrequency response

2008/09 MECH466 : Automatic Control 10

Stability of feedback system

Stability of feedback system

ƒ

ƒ RouthRoutharrayarray

CL system is stable

CL system is stable

Outline

Outline

ƒ

ƒ System description and control objectiveSystem description and control objective

ƒ

ƒ ModelingModeling

ƒ

ƒ AnalysisAnalysis

ƒ

ƒ Stability analysis via Stability analysis via RouthRouth--Hurwitz criterionHurwitz criterion

ƒ

ƒ SteadySteady--state error analysisstate error analysis

ƒ

ƒ Design of leadDesign of lead--lag compensatorslag compensators

ƒ

ƒ Root locusRoot locus ƒ

ƒ Frequency responseFrequency response

Steady

Steady

-

-

state error

state error

ƒ

(4)

2008/09 MECH466 : Automatic Control 13

Steady

Steady

-

-

state error (cont

state error (cont

d)

d)

ƒ

ƒ For unit step:For unit step:

ƒ

ƒ For unit ramp:For unit ramp:

ƒ

ƒ For unit parabolic:For unit parabolic:

2008/09 MECH466 : Automatic Control 14

Outline

Outline

ƒ

ƒ System description and control objectiveSystem description and control objective

ƒ

ƒ ModelingModeling

ƒ

ƒ AnalysisAnalysis

ƒ

ƒ Stability analysis via Stability analysis via RouthRouth--Hurwitz criterionHurwitz criterion ƒ

ƒ SteadySteady--state error analysisstate error analysis

ƒ

ƒ Design of leadDesign of lead--lag compensatorslag compensators

ƒ

ƒ Root locusRoot locus

ƒ

ƒ Frequency responseFrequency response

Gain design via root locus

Gain design via root locus

ƒ

ƒ Find K required for Find K required for 25% overshoot.

25% overshoot.

For 2nd order systems

For 2nd order systems

By magnitude

By magnitude

condition

condition

Step response

Step response

(5)

2008/09 MECH466 : Automatic Control 17

Lead

Lead

-

-

lag design via root locus

lag design via root locus

ƒ

ƒ Design specificationsDesign specifications

ƒ

ƒ 25% overshoot25% overshoot ƒ

ƒ 2% settling time 2 seconds2% settling time 2 seconds ƒ

ƒ Kv=20Kv=20

ƒ

ƒ In the previous gain design,In the previous gain design,

ƒ

ƒ 25% overshoot25% overshoot ƒ

ƒ 2% settling time 4.8 seconds2% settling time 4.8 seconds ƒ

ƒ KvKv=2.49 =2.49 (Verify this by yourself!)(Verify this by yourself!) Not satisfactory!

Not satisfactory!

2008/09 MECH466 : Automatic Control 18

Lead compensator design

Lead compensator design

ƒ

ƒ Locate desired polesLocate desired poles

ƒ

ƒ Due to Due to ““2% settling time 2 seconds2% settling time 2 seconds””

ƒ

ƒ Angle conditionAngle condition

Re Re Im

Im

Lead compensator design

Lead compensator design

ƒ

ƒ Fix z=Fix z=--2 (rather arbitrarily), 2 (rather arbitrarily), and obtain p

and obtain p s.ts.t. .

ƒ

ƒ Find KFind K

Im Im

Lag compensator design

Lag compensator design

ƒ

(6)

2008/09 MECH466 : Automatic Control 21

Step and ramp responses

Step and ramp responses

0 0.5 1 1.5 2 2.5 3

0 0.2 0.4 0.6 0.8 1 1.2 1.4

9.5 9.6 9.7 9.8 9.9 10 9

9.2 9.4 9.6 9.8 10

Gain compensated Gain compensated

Lead compensated Lead compensated

Lead

Lead--lag compensatedlag compensated

Ramp reference Ramp reference

2008/09 MECH466 : Automatic Control 22

Outline

Outline

ƒ

ƒ System description and control objectiveSystem description and control objective

ƒ

ƒ ModelingModeling

ƒ

ƒ AnalysisAnalysis

ƒ

ƒ Stability analysis via Stability analysis via RouthRouth--Hurwitz criterionHurwitz criterion ƒ

ƒ SteadySteady--state error analysisstate error analysis

ƒ

ƒ Design of leadDesign of lead--lag compensatorslag compensators

ƒ

ƒ Root locusRoot locus

ƒ

ƒ Frequency responseFrequency response

10-2 10-1 100 101 102

-100 -50 0

-250 -200 -150 -100

Open

Open

-

-

loop frequency response

loop frequency response

GM=68.41dB

GM=68.41dB

PM=88.68deg

PM=88.68deg

Gain, PM, and step response

Gain, PM, and step response

ƒ

ƒ Change preamplifier gain K to 20, 40, 60.Change preamplifier gain K to 20, 40, 60.

0.2 0.4 0.6 0.8 1 1.2 1.4

K=20 (PM=67) K=20 (PM=67)

K=40 (PM=53) K=40 (PM=53)

K=60 (PM=45) K=60 (PM=45)

Step responses

(7)

2008/09 MECH466 : Automatic Control 25

Lead

Lead

-

-

lag design via freq. response

lag design via freq. response

ƒ

ƒ Design specifications (same as before)Design specifications (same as before)

ƒ

ƒ 25% overshoot25% overshoot

ƒ

ƒ 2% settling time 2 seconds 2% settling time 2 seconds

ƒ

ƒ KvKv=20=20

ƒ

ƒ One possible procedureOne possible procedure 1.

1. Use the gain to satisfy Use the gain to satisfy KvKv..

2.

2. Use lead compensator to increase PM (and gain Use lead compensator to increase PM (and gain

crossover frequency).

crossover frequency).

3.

3. Use lag compensator to decrease gain crossover Use lag compensator to decrease gain crossover

frequency (to increase PM).

frequency (to increase PM).

2008/09 MECH466 : Automatic Control 26

Gain+lead

Gain+lead

compensation

compensation

10-2 10-1 100 101 102 -200

-100 0 100

10-2 10-1 100 101 102 -250

-200 -150 -100 -50

0 1 2 3 4 5

0 0.5 1 1.5 2

G(s G(s))

KG(s

KG(s) (PM=13)) (PM=13)

KC

KCLeadLead(s)G(s(s)G(s) (PM=50)) (PM=50)

Step responses

Step responses

Open

Open--loop Bode plotloop Bode plot

0.5 1 1.5 2

Gain+lead

Gain+lead

/lag compensation

/lag compensation

KG(s

KG(s) (PM=13)) (PM=13)

KC

KCLeadLead(s)C(s)CLagLag(s)G(s(s)G(s) ) (PM=69)

(PM=69)

10-2 10-1 100 101 102 -200

-100 0 100

-150 -100 -50

G(s G(s))

Step responses

Step responses

Open

Open--loop Bode plotloop Bode plot

Hard disk drives

Hard disk drives

ƒ

ƒ Data storage mediaData storage media

ƒ

ƒ ApplicationsApplications

ƒ

ƒ ComputerComputer

ƒ

ƒ Mobile audio playerMobile audio player

ƒ

ƒ Mobile phoneMobile phone

ƒ

ƒ Video cameraVideo camera

ƒ

ƒ Car navigation, etc.Car navigation, etc.

ƒ

(8)

2008/09 MECH466 : Automatic Control 29

Control mechanism

Control mechanism

ƒ

ƒ Disk spins ~5,400rpmDisk spins ~5,400rpm

ƒ

ƒ Head slider flies over Head slider flies over

the disk <100nm height

the disk <100nm height

ƒ

ƒ Input: VCM actuatorInput: VCM actuator

ƒ

ƒ Output: Head positionOutput: Head position

ƒ

ƒ Track seeking:Track seeking:Head Head

moves from one track to

moves from one track to

another.

another.

ƒ

ƒ Track following:Track following:Head Head

follows a specified track.

follows a specified track. VCM

VCM

Spindle

Spindle

Head

Head

Tracks

Tracks

Pivot

Pivot ArmArm

Samsung HG501LJ Samsung HG501LJ

2008/09 MECH466 : Automatic Control 30

Modeling & Block diagram

Modeling & Block diagram

Flexure Flexure

Head Head

VCM VCM

Arm Arm

Sensor Sensor ( (H(sH(s)=1))=1) Controller

Controller C(s C(s))

Load Load

G

G2(s)2(s) Y(sY(s):): Actual head

Actual head

position

position

R(s

R(s):):

Desired head

Desired head

position

position

Coil Coil G G11(s)(s)

D(s

D(s): Torque disturbance): Torque disturbance

Transfer functions

Transfer functions

ƒ

ƒ Open loop transfer functionOpen loop transfer function

ƒ

ƒ From From R(sR(s) (reference) to ) (reference) to Y(sY(s))

ƒ

ƒ From From D(sD(s) (disturbance) to ) (disturbance) to Y(sY(s))

Specifications in this example

Specifications in this example

ƒ

ƒ Track seeking:Track seeking:For unit step reference For unit step reference r(tr(t):):

(1) Percent overshoot

(1) Percent overshoot< 5%< 5% (2) 1% settling time

(2) 1% settling time< 50ms< 50ms

ƒ

ƒ Track following:Track following:For unit step disturbance For unit step disturbance d(td(t):):

(3) Maximum response

(3) Maximum response< 0.005< 0.005

40 40

(1)

(1)%% (2)(2)msms (3)(3) PM degPM deg ωωggrad/srad/s

4.6

4.6 470470 0.00520.0052 6565 9.19.1 C(s

(9)

2008/09 MECH466 : Automatic Control 33

0 0.5 1 1.5 2

0 0.005 0.01 0.015 0.02

0 0.5 1 1.5 2

0 0.2 0.4 0.6 0.8 1 1.2 1.4

Step responses for gain

Step responses for gain

C(s

C(s

)

)

C(s C(s)=10)=10

C(s C(s)=40)=40 From

From R(sR(s) to ) to Y(sY(s)) From From D(sD(s) to ) to Y(sY(s))

C(s C(s)=80)=80 P.O. should be <5% P.O. should be <5% Settling time should be <50ms Settling time should be <50ms

Max. response to unit Max. response to unit d(td(t) )

should be <0.005 should be <0.005

We cannot find

We cannot find

a satisfactory gain

a satisfactory gain C(sC(s).).

(sec)

(sec) (sec)(sec) 2008/09 MECH466 : Automatic Control 34

A satisfactory lead

A satisfactory lead

-

-

lag

lag

C(s

C(s

)

)

100 101 102 103 -100

-50 0 50

Gain plot

100 101 102 103 -250

-200 -150 -100 -50

Phase plot

0 0.05 0.1 0.15 0.2 0

0.5 1 1.5

y(t) for step r(t)

0 0.05 0.1 0.15 0.2 0

1 2 3 4 5x 10

-3 y(t) for step d(t)

Lead

Lead C(sC(s))

Gain

Gain C(sC(s))

Step response for

Step response for

r(t

r(t

)

)

0.4 0.6 0.8 1

y(t) for step r(t)

P.O should be <5% P.O should be <5% Settling time should be <50ms Settling time should be <50ms

Summary

Summary

ƒ

ƒ Case studyCase study

ƒ

ƒ Antenna azimuth position control Antenna azimuth position control

(

(““Control Systems EngineeringControl Systems Engineering””by by NiseNise.).) ƒ

ƒ Hard disk drive control Hard disk drive control

(

(““Modern Control SystemsModern Control Systems””by by DorfDorfand Bishop)and Bishop)

• ModelingModeling •

• AnalysisAnalysis •

• Design of leadDesign of lead--lag compensators (A lag compensators (A MatlabMatlabcode is code is posted on

References

Related documents

Semi-supervised Generative Adversarial Networks (GANs) are developed in the context of travel mode inference with uni-dimensional smartphone trajectory data.. We use data from

Students who have not had any college calculus, AND have had at least one year of high school calculus, AND have not scored a 4 or 5 on the BC advanced placement calculus test,

After considering the effect of operating parame- ters and physical properties of the systems on dispersed phase holdup, a correlation was sug- gested in order to predict holdup in

Therefore, the primary purpose of this study is to explore faculty perceptions and ideas of the essential knowledge needed to be a community college instructor and the ways in

Only those samples soaked in methanol consistently exhibited what could be considered stress corrosion cracking at constant tensile stresses between 88MPa and

Adding Files to a Project To add a new symbol, a library, or a circuit file to a project, open or activate the appropriate window, then click Add Current Window in the.

then Norstar TAPI SP 1.1 or 1.2 may have been installed on your PC. Continue with the following instructions to remove Norstar TAPI SP 1.1 or 1.2. d) Double-click on the

Despite abundant resources and strong interest in marketing innovation, financial services companies have thus far made less progress in employing their understanding of return on