13

Control Design with Frequency Response - publish.illinois.edupublish.illinois.edu/ymb/files/2020/10/486l15clean.pdfChoices of zand p: the crossover frequency halfway between them,

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Control Design with Frequency Response - publish.illinois.edupublish.illinois.edu/ymb/files/2020/10/486l15clean.pdfChoices of zand p: the crossover frequency halfway between them,
Page 2: Control Design with Frequency Response - publish.illinois.edupublish.illinois.edu/ymb/files/2020/10/486l15clean.pdfChoices of zand p: the crossover frequency halfway between them,

Control Design with Frequency Response

Reading: FPE, 6.7

Page 3: Control Design with Frequency Response - publish.illinois.edupublish.illinois.edu/ymb/files/2020/10/486l15clean.pdfChoices of zand p: the crossover frequency halfway between them,

Heuristic for controller/compensator design:

Goals: - stability - good damping - bandwidth frequency near 0.5

Strategy: - if PM is near 90 degrees, good damping and - to have PM near 90, need gain slope near -1

Work with the double integrator plant, for simplicity.

Note that proportional feedback is not going to work: won’t shift Phase plot away from -180 degrees…

Y -- i¥aR

}

Gls) = 162.

Page 4: Control Design with Frequency Response - publish.illinois.edupublish.illinois.edu/ymb/files/2020/10/486l15clean.pdfChoices of zand p: the crossover frequency halfway between them,

PD controllerOpen loop transfer function:

We add a type 2 factor (in the numerator, equivalently adding a ramp to Gain):

For the Gain-Phase relationship to be valid, choose the break-point several times smaller than desired frequency:

Now, choose the scalar gain

Dst Kp ) G

Page 5: Control Design with Frequency Response - publish.illinois.edupublish.illinois.edu/ymb/files/2020/10/486l15clean.pdfChoices of zand p: the crossover frequency halfway between them,

What have we accomplished: PM≈90, good!Trade-offs: - want bandwidth freq to be large enough for fast response (larger =>larger =>faster rise), but - not too large to avoid noise amplification at high frequencies - usual complaint: D-gain is not physically realizable, so let’s try lead compensation

Moving to lead compensator

or, in Bode form:

'

"" "

\-

Page 6: Control Design with Frequency Response - publish.illinois.edupublish.illinois.edu/ymb/files/2020/10/486l15clean.pdfChoices of zand p: the crossover frequency halfway between them,

Lead Compensator

Note that gain levels off at high frequencies - not as susceptible to noise as PI controller…

Choices of z and p: the crossover frequency halfway between them, on log scale:

Larger p/z means larger PM shift (closer to 90), but also larger gain at high frequencies (noisier)

He = K sSlptl

.

Page 7: Control Design with Frequency Response - publish.illinois.edupublish.illinois.edu/ymb/files/2020/10/486l15clean.pdfChoices of zand p: the crossover frequency halfway between them,

Lag compensator

We see that lag compensators are very similar to the lead ones.

In particular, the same heuristics about the relation of p, z and the shape of the phase and magnitude plots apply.

KD = K SAIslptl

Page 8: Control Design with Frequency Response - publish.illinois.edupublish.illinois.edu/ymb/files/2020/10/486l15clean.pdfChoices of zand p: the crossover frequency halfway between them,

Consider plant

Design goals: - stability - bandwidth at - DC error for constant inputs <1%

What we are starting with:

Example

GH ⇒

W Bw =L

Page 9: Control Design with Frequency Response - publish.illinois.edupublish.illinois.edu/ymb/files/2020/10/486l15clean.pdfChoices of zand p: the crossover frequency halfway between them,

Adding lead compensator

Choose

The phase margin improved, but not enough, - one obvious reason is that we increased magnitude at high frequencies, shifting too much to the right.

How to compensate for it? Obviously, by adding a counterbalancing term that would keep the magnitude where it was on the original Bode plot, shifts the phase down where we need it, and keeps the DC gain fixed…

K stztlslptI '

Page 10: Control Design with Frequency Response - publish.illinois.edupublish.illinois.edu/ymb/files/2020/10/486l15clean.pdfChoices of zand p: the crossover frequency halfway between them,

What if we combine lag and lead compensators?

The sums would do more or less what we want: - push PM up near the desired frequencies (around 1); - keep magnitude gains where we want them at 0 (to satisfy the constant input error requirements), and - won’t increase magnitude at high frequencies (not amplifying the noise)

Note the alternation of the zeros and poles of the lead-lag compensator

-XX

Page 11: Control Design with Frequency Response - publish.illinois.edupublish.illinois.edu/ymb/files/2020/10/486l15clean.pdfChoices of zand p: the crossover frequency halfway between them,

Here’s the proposed design:

I

Page 12: Control Design with Frequency Response - publish.illinois.edupublish.illinois.edu/ymb/files/2020/10/486l15clean.pdfChoices of zand p: the crossover frequency halfway between them,

Design based on Bode plots is good for:

- easily visualizing the concepts;

- evaluating the design and seeing which way to change it using experimental data (frequency response of the uncontrolled system can be measured experimentally)

Design based on Bode plots is not good for: - exact closed-loop pole placement (root locus is more suitable for that) - deciding if a given K is stabilizing or not: we can only measure how far we are from instability (usingGM or PM), if we know that we are stable…however, we don’t have a way of checking whether a given K is stabilizing from frequency response data.

Summary

Page 13: Control Design with Frequency Response - publish.illinois.edupublish.illinois.edu/ymb/files/2020/10/486l15clean.pdfChoices of zand p: the crossover frequency halfway between them,