Professional Documents
Culture Documents
Technical Presentation
By David Basile
Examples:
Affects Value Of
PID In Everyday Life
• When you drive your car you drive the speed limit
of 55 mph.
• The Closed Loop elements in this example are:
• Speedometer (Sensor / Feedback) - shows your true
speed.
• Your Brain (PLC / Controller) - compares your speed
to speed limit and moves your foot down on pedal.
• Gas Pedal (Output) - increases / decreases the speed of
the car via change in fuel flow to the engine. Executed
through 0-100% depression of the pedal.
Error and Disturbances
• As you drive, disturbances affect the speed of the car.
(Wind Resistance, Friction, Inclines etc.)
• This might slow you down which creates an error in
your driving speed. Now you are moving 50mph.
• Error (e) is the difference between the setpoint
(55mph) and and the process variable (PV,
speedometer reading of 50 mph) that we are attempting
to hold.
e = SP-PV = 5 mph
PID - What does it stand for?
• PID Stands for the following:
• P - Proportional Control
• I - Integral Control
• D - Derivative Control
CV(t)
CV(t) = k · e(t) k =1
e(t)
Setpoint
Offset
Integral Control
• To eliminate this offset, the integral control does
exactly what is says. It integrates the error over
time. It is basically like moving the Proportional
Line up and down the axis (changing the y-
intercept of the line)
CV(t) = Kpe(t) + Ki ∫ e(t) dt where Ki is the reset constant
• This would be like trying to catch up to the car ahead of you. Over
time if you did not see the car getting closer you would start to increase
the pressure on the pedal. The longer you waited without gaining on
him the harder you would press down. So the integral looks at how
long the error has existed and contributes based on that factor.
Derivative Control
• One additional tool might speed up the time it takes to get
to the desired setpoint. In the case of Derivative action,
how quickly the error is changing allows us to react more
effectively.
• Derivative Action adds another contributing term to the
output that is proportional to the rate of change of the
error.