Lecture-25-PID-Controllers
Lecture-25-PID-Controllers
𝑟(𝑡) 𝑒(𝑡)
+ 𝐶𝑂𝑁𝑇𝑅𝑂𝐿𝐿𝐸𝑅 𝑃𝐿𝐴𝑁𝑇
𝑅(𝑠) - 𝐸(𝑠)
𝑌(𝑠)
The range through which the actuator signal must move before
switching is called differential gap.
•When to use: If you need a straightforward response that reacts to the current error, a P-only controller is the
simplest choice. It responds immediately to deviations but does not eliminate steady-state error by itself.
•Features:
𝑟(𝑡) 𝑒(𝑡) 𝐾 ∫ 𝑒 𝑡 𝑑𝑡
+ 𝐾∫ 𝑑𝑡 𝑃𝐿𝐴𝑁𝑇
𝑅(𝑠) - 𝐸(𝑠) 𝐾
𝐸(𝑠) 𝑌(𝑠)
𝑠
•When to use: Integral action is added when you need to eliminate the steady-state error. Whenever your process
must settle at an exact setpoint (for example, speed regulation or position tracking where no offset is tolerated),
the I term is essential.
•Features:
•Accumulates past error and drives the steady-state error to zero.
•Slows down the overall response (because integration is inherently slower).
•Too much integral action can cause increased oscillations or “integrator windup.”
Derivative (D) controller
𝐶𝑂𝑁𝑇𝑅𝑂𝐿𝐿𝐸𝑅
𝑑𝑒(𝑡)
𝑟(𝑡) 𝑒(𝑡) 𝑑 𝐾
+ 𝐾
𝑑𝑡
𝑃𝐿𝐴𝑁𝑇
𝑅(𝑠) - 𝐸(𝑠) 𝑑𝑡 𝑠𝐾 𝐸(𝑠)
𝑌(𝑠)
•When to use: Derivative action is especially helpful if you need to reduce overshoot or respond to rapid
changes before they become too large. It provides a form of “prediction” by sensing the rate of change of error.
•Features:
•Reacts to how fast the error is changing (the error’s slope).
•Helps reduce overshoot and can improve damping.
•Very sensitive to noise in real systems (because it amplifies high-frequency signals).
•Often combined with filtering to avoid amplifying measurement noise.
Proportional-integral-derivative (PID) controller
𝐶𝑂𝑁𝑇𝑅𝑂𝐿𝐿𝐸𝑅
𝑑𝑒(𝑡)
𝑑 𝐾
𝑑𝑡
𝐾
𝑑𝑡 𝑠𝐾 𝐸(𝑠)
𝑟(𝑡) + 𝑑
+
𝑒(𝑡) 𝐾 𝑒(𝑡) 𝐾 𝑒(𝑡) + 𝐾 ∫ 𝑒 𝑡 𝑑𝑡 + 𝐾 𝑒(𝑡)
+ 𝐾 𝑑𝑡
𝑃𝐿𝐴𝑁𝑇
𝑅(𝑠) - 𝐸(𝑠) 𝐾 𝐸(𝑠) + 𝐾
𝐾 𝐸(𝑠) + 𝐸 𝑠 + 𝑠𝐾 𝐸(𝑠)
𝑠 𝑌(𝑠)
𝐾 ∫ 𝑒 𝑡 𝑑𝑡
𝐾∫ 𝑑𝑡
𝐾
𝐸(𝑠)
𝑠