Control Theory D action – Tuning. When there’s too much oscillation, this can sometimes be...

16
Control Theory D action – Tuning

Transcript of Control Theory D action – Tuning. When there’s too much oscillation, this can sometimes be...

Page 1: Control Theory D action – Tuning. When there’s too much oscillation, this can sometimes be solved by adding a derivative action. This action will take.

Control Theory

D action – Tuning

Page 2: Control Theory D action – Tuning. When there’s too much oscillation, this can sometimes be solved by adding a derivative action. This action will take.

When there’s too much oscillation, this can sometimes be solved by adding a derivative action. This action will take into account how fast the error signal is changing.

In the time domain this leads to:- the PD controller:

- and the PID controller:

dt

tdeTKteKtu Dcc

)()()(

dt

tdeTKdtte

T

KteKtu Dc

t

I

cc

)()()()(

0

Derivative Action

Page 3: Control Theory D action – Tuning. When there’s too much oscillation, this can sometimes be solved by adding a derivative action. This action will take.

)1()( sTKsT DcR PD in the s domain:

PID in the s domain:

sT

sTsTTK

sTsTKsT

I

IDIc

IDcR

1)

11()(

2

Derivative Action

Page 4: Control Theory D action – Tuning. When there’s too much oscillation, this can sometimes be solved by adding a derivative action. This action will take.

Group Task

P or PD? 2/(s2+2s)r(t) z(t)

ProcessController

Compare a P controller with Kc=10 with a PD controller with Kc=10 and TD=0,2

(step response for the servo problem)

Page 5: Control Theory D action – Tuning. When there’s too much oscillation, this can sometimes be solved by adding a derivative action. This action will take.

Group Task

Page 6: Control Theory D action – Tuning. When there’s too much oscillation, this can sometimes be solved by adding a derivative action. This action will take.

Tuning = choosing appropriate parameters for the controller

For PID control: choice of Kc, TI and TD

2 possibilities:- Based on (open/closed loop) model- Based on experiments

2 pretty much used methods:- Ziegler-Nichols- Cohen-Coon (not discussed)

Tuning

Page 7: Control Theory D action – Tuning. When there’s too much oscillation, this can sometimes be solved by adding a derivative action. This action will take.

(one type of) ZIEGLER-NICHOLS:1) Start with a P controller with low Kc and increase this gain

slowly until y oscillates with a constant amplitude. (Remark: every time Kc is increased, one should bring the closed loop system out of equilibrium, e.g. by slightly changing the reference!)

2) The gain we have now is called the ultimate gain Ku and the period of the oscillation is called the ultimate period Tu

3) Choose the PID parameters according to the following table:

Kc TI TD

P Ku/2 - -

PI 0.45 Ku Tu/1.2 -

PID 0.6 Ku Tu/2 Tu/8

Tuning

Page 8: Control Theory D action – Tuning. When there’s too much oscillation, this can sometimes be solved by adding a derivative action. This action will take.

Example:

A process with the following step response:

Tuning

Page 9: Control Theory D action – Tuning. When there’s too much oscillation, this can sometimes be solved by adding a derivative action. This action will take.

Example:

Ku = 1.45Tu = 4.5s

bv.PID:Kc = 0.87TI = 2.25sTD = 0.65s

Tuning

Page 10: Control Theory D action – Tuning. When there’s too much oscillation, this can sometimes be solved by adding a derivative action. This action will take.

Example:

Ku = 1.45Tu = 4.5s

bv.PID:Kc = 0.87TI = 2.25sTD = 0.65s

Remark: ZN typically leads to pretty much overshoot...(there are revised ZN methods that solve this problem)

5 10 15

1

Tuning

60% overshoot

Page 11: Control Theory D action – Tuning. When there’s too much oscillation, this can sometimes be solved by adding a derivative action. This action will take.

Example:

Suppose a model of the process was given by

2.023

4)(

23

ssssT

Can you now tune according to ZN based on this model?

Tuning

Page 12: Control Theory D action – Tuning. When there’s too much oscillation, this can sometimes be solved by adding a derivative action. This action will take.

Example:

2.023

4)(

23

ssssT

-3.227dB

1.4rad/s

Tuning

Page 13: Control Theory D action – Tuning. When there’s too much oscillation, this can sometimes be solved by adding a derivative action. This action will take.

Problem(s) introduced by D-control?

A. Control action in servo problem becomes “infinitely” high.

B. High frequency behavior/noise is amplified.C. None of the above.D. Both A and B

Page 14: Control Theory D action – Tuning. When there’s too much oscillation, this can sometimes be solved by adding a derivative action. This action will take.

Bode plots!Bode plot PD:

Page 15: Control Theory D action – Tuning. When there’s too much oscillation, this can sometimes be solved by adding a derivative action. This action will take.

We introduce an extra pole to solve the problem at high frequencies:

1)(,

s

sTsT

D

DtamD

This means we first filter the error with a low pass filter.Off course the time constant of the filtering << TD

(Remark: to solve the problem of suddenly changing reference values, often another solution is presented: the derivative action is put on the MEASUREMENT instead of on the ERROR!)

Derivative Action with filtering

Page 16: Control Theory D action – Tuning. When there’s too much oscillation, this can sometimes be solved by adding a derivative action. This action will take.

Difference in Bode plot:

Remark: The positive effect on the phase shift is now lost at higher frequencies!

Blue: D actionGreen: D action + prefiltering

Derivative Action with filtering