Professional Documents
Culture Documents
Lecture2 - PID Controller Laplace Transform and Transfer Function Maths
Lecture2 - PID Controller Laplace Transform and Transfer Function Maths
Lecture2 - PID Controller Laplace Transform and Transfer Function Maths
Lecture 2
CONTROL SYSTEMS ENGINEERING
By: Norman S. Nise
PID controller
PID controller:
A proportional–integral–derivative controller (PID controller or three-term controller) is a control loop
algorithm employing feedback that is widely used in industrial control systems and a variety of other
applications requiring continuously modulated/adjusted control.
A PID controller continuously use the error value [difference between a desired setpoint (SP) and a
measured process variable (PV)].
PID controller applies a correction based on proportional, integral, and derivative terms (denoted P, I,
and D respectively), hence the name.
Fig.: A block diagram of a PID controller in a feedback loop. r(t) is the desired process value or setpoint (SP), and
y(t) is the measured process value (PV).
PID controller:
PID controller:
The controller attempts to minimize the error over time by adjustment of a control variable,
such as the opening of a control valve, to a new value determined by a weighted sum of the
control terms.
PID controller:
Integral term:
Term I accounts for past values of the SP − PV error and integrates them over time to
produce the I term.
If there is a residual SP − PV error after the application of proportional control, the integral
term seeks to eliminate the residual error by adding a control effect due to the historic
cumulative/collective value of the error.
When the error is eliminated, the integral term will cease/finish/stop to grow. This will result
in the proportional effect diminishing as the error decreases, but this is compensated for by
the growing integral effect.
PID controller:
Derivative term:
Term D is a best estimate of the future trend of the SP − PV error, based on its current rate of
change. It is sometimes called "anticipatory/preventive/defensive control", as it is effectively
seeking to reduce the effect of the SP − PV error by exerting a control influence generated by
the rate of error change. The more rapid the change, the greater the controlling or damping
effect.
1. P controller:
Apply a small value of Kp.
Apply step input.
Gradually increase the Kp value.
--------------
PD controller: Kp, Kd
Laplace Transformation
Laplace transformation:
The Laplace transform is an integral transform named after its discoverer Pierre-Simon
Laplace. It takes a function of a positive real variable t (often time) to a function of a
complex variable s (frequency).
-The real parts of s give information about the stability and damping/time constants.
-The imaginary parts give information about the frequencies of vibration.
-The Laplace derived algebraic expressions can also be interpreted graphically in the
complex s-plane root locus diagram. The roots of the closed loop transfer function (poles
and zeros) at a given set of gains (the proportionality constant on a given functional block
expression) appear on the root locus diagram and enable a visual understanding of closed
loop system behavior.
-At the most basic level, poles in the left half plane represent stable decaying response to
input commands.
-Poles in the right half plane represent unstable continuing increase in system output.
Dept. of Mechanical and Production
Ahsanullah University of Science and Technology Engineering 17
Control Engineering
Laplace transform converts the function into frequency domain which is easy to evaluate.
By taking the inverse laplace transform of the transfer function ( ratio of Laplace of output
to the laplace of input ), we can obtain the time response of the given system.
Characteristic equation:
2) Produce transfer function of the differential equation and use that transfer function in
simulink
k d 2x k dx
2 n kx F (t )
n dt
2 2
n 2
dt
n 2
∑F=ma Multiply both side by
c k
F(t)-cv-kx=ma
d 2x dx n 2
ma+cv+kx=F(t) 2 n n
2
x F (t )
dt 2 dt k
m d2x/dt2 +c dx/dt + kx=F(t) Laplace transform ation :
Let, n 2
s X(s) 2 n sX ( s ) n X ( s )
2 2
ωn=√(k/m), undamped natural frequency (rad/s) F ( s)
k
Cc= 2√(mk), critical damping coefficient n 2
(s 2 n s n ) X(s)
2 2
=2m ωn F (s)
k
ξ= C/Cc, damping ratio=actual damping/critical damping n 2
Damping coefficient, c= 2m ωn ξ
X(s)
G(s) 2 k
s 2 n s n
2
F ( s)
Example3