Overall controller design

Post on 30-Dec-2015

33 views 3 download

Tags:

description

Overall controller design. Draw R.L. for G ( s ) Draw desired region for closed-loop poles based on specs If R.L. goes through region, pick p d on R.L. and in region. Go to step 7. Pick p d in region (leave some safety flex) Compute angle deficiency: - PowerPoint PPT Presentation

transcript

Overall controller design

1. Draw R.L.for G(s)

2. Draw desired region for closed-loop poles based on specs

3. If R.L. goes through region, pick pd on R.L. and in region. Go to step 7.

4. Pick pd in region (leave some safety flex)

5. Compute angle deficiency:

6. a. PD control, choose zpd such that

then

dpG

pdd zp

pdzssC

6. b. Lead control: choose zlead, plead such that

You can select zlead & compute plead.Or you can use the “bisection”

method to compute z and p.

Then

leadd

leadd

pp

zp

lead

lead

ps

zssC

7. Compute overall gain:

8. If there is no steady-state error requirement, go to 14.

9. With K from 7, evaluate error constant. You already have:

dps

sGsCK

1

sGsCKsKs

a *lim

0avp ,,

2,1,0

The 0, 1, 2 should match p, v, a

This is for lag control.

For PI:

s

zssGsCKsK i

sa

*lim0

control. PI theis wheres

zs i

10. Compute desired error const. from specs:

11. For PI : set K*a = K*d & solve for zi

For lag : pick zlag & let

advdpdss KKK

e1

or , 1

or 1

1

d

alaglag K

Kzp

lag

lagi

ps

zs

s

zssC

or

12. Re-compute K

13.

14. Get closed-loop T.F. Do step response analysis.

15. If not satisfactory, go back to 3 and redesign.

dps

sGsCsCK

1

sCsCKsC

If we have both PI and PD we have PID control:

s

KsKKsC I

DP

KKD :where

ipdP zzKK

ipdI zKzK

Lead-lag design example

Too much overshoot, too slow & ess to ramp is too large.

984.125.0at poles loop-closed ,1With jsC

125.0

%16 :Want pM

sec36.0rt%2ramp to sse

5.0%16 :Sol pM

cone 60 i.e.

58.1

sec36.0 r

nr tt

%21

%2 vd

ss Ke

50let vdK 1 Type

Draw R.L. for G(s) & the desired region

3.45.2 jpd

Clearly R.L. does not pass through desired region.

need PD or lead.

Let’s do lead.Pick pd in region

3.43 picked have could j

3.45.2 jpd

: Compute

Now choose zlead & plead.

Could use bisection.

Let’s pick zlead to cancel plant pole s + 0.5

dpG 235

55235180

5.0let leadz

Use our formula to get plead

Now compute K :

Now evaluate error constant Kva

021.5leadp

26.6

1

dlead

lead

pspszs sG

K

sGpszs

sKKlead

lead

sva

0lim

spss leadKs

41

0lim

021.526.644

leadpK

1.050021.526.64

vd

va

KK

20~5

5.2

20~5

RePick

dp

z

2.0Pick z

02.0then vd

va

K

Kzp

Should re-compute K, but let’s skip:

do step response.

02.0

2.0

021.5

5.026.6

s

s

s

ssC

02.0021.5

2.026.6

sss

ssGsC

2.026.602.0021.5

2.026.6..

ssss

ssGr

Op-amp controller circuit:

1. Proportional:

eKeRR

RRu P

13

24

13

24

RR

RRKP

2. Integral:

131

4

CRR

RK I

ses

K I

sesCRR

Rsu

113

4 1

3. Derivative control:

123

4 CRR

RKD

sseKD

sesCRR

Rsu 12

3

4

4. PD controller:

123

4

13

24 , CRR

RK

RR

RRK DP

sesKK DP

sesCRR

R

R

Rsu 111

1

2

3

4

5. PI controller:

213

4

13

24 1,

CRR

RK

RR

RRK IP

ses

KK I

P

sesCR

sCR

R

R

R

Rsu

22

22

1

2

3

4 1

6. PID controller:

213

412

3

4

22

11

13

24 ,,1CRR

RKCR

R

RK

CR

CR

RR

RRK IDP

ses

KsKK I

DP

sesCR

sCRsCR

R

R

R

Rsu

22

2211

1

2

3

4 11

7. Lead or lag controller:

221123

14 1,

1,

CRp

CRz

CR

CRK

seps

zsKse

sCR

sCR

RR

RRsu

1

1

22

11

13

24

seCRs

CRs

CR

CR

22

11

23

14

1

1

If R1C1 > R2C2

then z < pThis is lead controller

If R1C1 < R2C2

then z > pThis is lag controller

8. Lead-lag controller:

se

sCRR

sCR

sCR

sCRR

RR

RRsu

lag

242

22

lead

11

131

35

46

1

1

1

1

11131 CRCRR 24222 CRRCR

seps

zs

ps

zsK

2

2

1

1

42

2

1

31

35

46

RR

R

R

RR

RR

RRK

lead11

111

1311 CR

pCRR

z

lag11

2422

222 CRR

pCR

z