Root Locus
Root Locus
Root Locus
Name of the Experiment: Design of a PID controller using root locus method and
performance analysis.
Objectives:
1. To design a PID controller using the root locus method for a given control system.
2. To tune the proportional, integral, and derivative gains (Kp, Ki, Kd) for desired
system performance.
3. To analyze the system performance after PID controller implementation.
4. To analyze the effect of the PID controller on the system’s rise time, overshoot and
steady-state response.
Theory:
A proportional Integral Derivative controller also called a PID controller, is a widely used
feedback control mechanism in industrial automation. It aims to regulate a process variable
by adjusting a manipulated variable based on the error between the set point and the actual
process variable.
Mathematical Expression of
PIDFigController
4.1: Block Diagram of PID Controller.
The PID controller output(Co)
is the sum of the proportional,
Mathematical Expression of PID Controller :
The PID controllerIntegral
output(Co) isand
the sumderivative terms.
of the proportional, Integral and derivative terms.
2
So according to proportional action,
Co(t) ∝ e(t)
Co(t) = Kp . e(t) ———–(i)
According to Integral action,
Co(t) ∝ ∫ e(t) dt
Co(t) = Ki . ∫ e(t) dt ———–(ii)
According to Derivation action,
Co(t) ∝ de(t)/dt
Co(t) = Kd . de(t)/dt ————(iii)
Combining all these three equation we get,
Co(t) = Kp . e(t) + Ki . ∫ e(t) dt + Kd . de(t)/dt
Kp – Proportional gain
Ki – Integral gain
Kd – Derivative gain
Mathematical
The root locus method Expression
is a graphical approach of the poles of a control
used to analyze how
PID Controller
system vary as a particular system parameter, often the gain 𝐾K, is varied.
Poles and Stability:The PIDof controller
The poles output(Co)
the closed-loop transfer function determine the system's
is isthe
stability. The system sum
stable of the
if all poles proportional,
are in the left half of the s-plane.The general
2
K1
D f
m
K2
1
Transfer function for the system 2 : TF = (m∗s2 +D∗s+K)
R1 R2
V C
L
s∗L
Transfer function for the system 3 : TF = (s2 ∗C∗L∗(R1+R2)+s∗(R1+R2∗C+L)+R1)
3
Matlab code :
5
PID controller(system 02)
6
PID controller(system 03)
7
Performance analysis :
For System 01:
Controller Rise time Overshoot Settling time
PID 1.02 0 1.85
Discussion :
In this lab, the design and implementation of a PID controller using the root locus method
were carried out. The root locus method allowed for the visualization of how the poles of
the system shift as the controller gains were varied, providing a clear understanding of
system stability and performance. Proportional control (Kp ) improved rise time but
couldn't eliminate steady-state error. Adding integral control (Ki ) eliminated steady-state
error, though it reduced stability. Finally, derivative control (Kd ) improved damping,
reducing overshoot and settling time. Each PID component had a specific role: Kp
enhanced response speed, Ki corrected steady-state error, and 𝐾𝑑K d improved transient
behavior, achieving a balanced system performance.
Conclusion:
The root locus method proved effective for PID controller design, allowing for tuning of
Kp , Ki , and Kd to enhance system stability, transient response, and accuracy. By
carefully selecting these parameters, the designed PID controller significantly improved
the system’s overall performance, balancing fast response, minimal steady-state error, and
stable operation.
References:
[1]“Fig.2 PID Block Diagram PID stands for Proportional, Integral,...,” ResearchGate.
https://www.researchgate.net/figure/PID-Block-Diagram-PID-stands-for-Proportional-
Integral-Derivative-control-A-PID_fig1_316709017
[2]“Construction of Root Locus - Tutorialspoint,” Tutorialspoint.com, 2019.
https://www.tutorialspoint.com/control_systems/control_systems_construction_root_l
ocus.htm