One easy way to control the plant is to cascade a controller before the plant like in Figure 9.
Figure 9: Cascade Feedback Compensation
We can design the controller H(s) to alter the behavior of our system.
Proportional Integral (PI) Control
Definition 35
A proportional integral controller applies an input which is a linear combination of the scaled and integrated error signal.
H(s)=Kp+sKi=Kpss+KpKi
What a PI Controller effectively does is place a new pole at
s=0
and a new zero at
s=−KpKi
. Because of the pole at zero, adding a PI controller enables the system to track a step input perfectly. However, because the pole is placed at zero, it can slow down the time response unless the zero can cancel it out.
Proportional Derivative (PD) Control
Definition 36
A proportional derivative controller applies an input which is a linear combination of the scaled and differentiated error signal.
H(s)=Kp+Kds=Kd(s+KdKp)
Adding a PD controller introduces a new zero into the system. By carefully choosing where we place the zero, we can shape the time-response of the system. If we want our dominant second order poles to be at a particular location, then we can use the angle rule to find the location of the zero
s=−KdKp
. Since differentiation is an unstable operations, sometimes we instead also place a pole very far in the left half plane, and the transfer function becomes
H(s)=Kds+ps+KdKp.
Proportional Integral Derivative (PID) Control
Definition 37
A proportional integral derivative controller applies an input which is a linear combination of the scaled, differentated, and integrated error signals.
H(s)=Kp+Kds+sKi=Kdss2+KdKps+KdKi
A PID controller is used where we need to both eliminate steady-state error and shape the time response. We need to choose two different zero locations and set the total gain of the system.
Lag Compensation
Definition 38
A lag compensator is a controller with the transfer function
H(s)=Ks+pcs+zc,pc<zc.
The purpose of a lag network is to reduce steady state error by increasing the gains at low frequency and maintaining the gain at higher frequencies. This keeps the phase margin the same. We can achieve this because of the frequency response of the lag network (shown by its bode plot in Figure 10).
Figure 10: Lag Network
We can place the pole and zero carefully to control how much the phase decreases by. The design procedure is as follows:
1.
Set gain
K
to the value that satisfies the SSE specification and plot the Bode diagram at that gain.
2.
Find
ωPM
such that
ϕM
is 5˚to 12˚larger than required.
3.
Let the high frequency asymptote be
−20logKPM
db at
ωPM
where
KPM=∣G(jωPM)∣
.
4.
Choose the upper break frequency to be
10ωPM
.
5.
Set the low frequency asymptote to be 0 db and locate the lower break frequency.
6.
Reset the system gain K to compensate for attenuation.
Lead Controller
Definition 39
A Lead Controller is a compensator with the transfer function
H(s)=ks+pcs+zc=βks+βT1s+T1zc>pc,β<1.
A lead controller is used to change the phase margin and alter the time perfomance metrics of the step response. It has a peak phase