09 PID Control + Compensators
09 PID Control + Compensators
The PID algorithm is the most popular feedback controller algorithm used. It is a
robust easily understood algorithm that can provide excellent control performance
despite the varied dynamic characteristics of processes.
As the name suggests, the PID algorithm consists of three basic modes:
1. Proportional mode,
2. Integral mode,
3. Derivative mode.
3
PID Control
• (P) reduces error responses to disturbances, but still allows a steady-state error.
• When the controller includes (I), then the steady state error to step input is eliminated, although
typically at the cost of deterioration in the dynamic response.
• A derivative control typically makes the system better damped and more stable.
Closed-loop Response
4
PID Control
1. No controller
5
PID Control
2. P controller 3. PD controller
6
PID Control
7
PID Control
8
PID Control
9
PID Control
PID Tuning
Controller tuning: selecting controller parameters to meet a given performance
PID tuning rules: selecting controller parameter values based on experimental
step responses of the controlled plant.
The first PID tuning rules proposed by Ziegler and Nichols in 1942
10
PID Tuning using Ziegler-Nichols method PID Control
11
PID Tuning example PID Control
Ex1: Design a PID controller for the below system using Ziegler-Nichols method.
PID controller
Set K I K D 0, 12
PID Tuning example PID Control
The value of Kp that makes the system marginally stable (sustained oscillation) can be
obtained by use of Routh’s stability criterion.
The Ch. Eq. of CL is s3 6s2 5s K 0
When Kp=30, the closed-loop system is marginally stable.
Thus, critical gain Kcr=30
To find the frequency of the sustained oscillation, we solve aux. eq.
6S2+30 = 0
13
Summary
PID Control
14
PID Control
16
Active-Circuit Realization PID Control
𝑉𝑜 𝑍2
𝐺𝐶 𝑠 = =−
𝑉𝑖 𝑍1
17
PID Control
Implementing a PID Controller using active circuit
solution
18
compensators
In this part, you’ll learn
What’s compensation
Phase Lead Compensation
Phase Lag Compensation
Why to compensate?
In closed-loop system, some single performance requirement can be obtainedvby selecting a
particular value of the gain K,.
Cascade compensation
19
Phase Lag Compensation compensators
R1
1. Transfer function:
R2
Ei
Eo
C
𝑆 + 𝑍𝐶
𝐺𝐶 𝑠 = 𝐾 ; 𝑍𝐶 > 𝑃𝐶 Passive phase lag network
𝑆 + 𝑃𝐶
2. Root locations:
−𝑍𝐶 − 𝑃𝐶
3. Bode & polar plot: ?
20
Phase Lag Compensation effect compensators
Example
21
Phase Lag Compensation effect compensators
45.8415
20
22
Phase Lead Compensation compensators
1. Transfer function:
R1
Eo s 1 1 Ts C
Gc s Ei Eo
Ei s 1 Ts
R2
2. Root locations:
−𝑃𝐶 − 𝑍𝐶
3. Bode & polar plot: ?
23
Phase Lead Compensation effect compensators
Lag-lead compensator
25
Passive-Circuit Realization compensators
26
compensators
Implementing a compensator using passive circuit
solution
27
PID Control & compensators
Check your learning
Answer
For practice, refer to Q31 & Q32 page 521 in Control Systems Engineering, by
Norman S. Nise, 6th Edition
28
Summary on Lead/Lag Compensators
𝑆 + 𝑍𝐶 𝑍𝐶 < 𝑃𝐶 (𝐿𝑒𝑎𝑑)
𝐺𝐶 𝑠 = 𝐾 ;
𝑆 + 𝑃𝐶 𝑍𝐶 > 𝑃𝐶 (𝐿𝑎𝑔)
𝑆+1 𝑆 + 10
𝐺𝐶 𝑠 = 𝐺𝐶 𝑠 =
𝑆 + 10 𝑆+1
29
compensators
Weakness (1) Broad bandwidth reduces the filtering for Narrow Bandwidth increase the response time.
noise.
(1) Extra phase lead compensation is less than (1) The phase lag of the uncompensated system is
550. fast around ωc.
(2) Require broad bandwidth and fast (2) Bandwidth and transient response are
Application response satisfactory.
(3) No matter the noise at high-frequency part. (3) Require attenuation of noise
(4) The phase margin can be satisfied at the low
frequency.
Bandwidth (BW) is the band of frequencies to which a system can respond satisfactorily.
So, if the frequency of reference signal is within BW then output will be able to track it else
tracking will be very slow.
High bandwidth systems provide good performance but they are prone to noise.
30
PID Control & compensators
Review Questions
31
PID Control & compensators
Answer to Review Questions
32