PID Controller Explained - PID Explained
PID Controller Explained - PID Explained
com/)
Before we dive into the PID controller, there is a few terms that
need de ned:
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if
PID Controller Terms:
you wish. Cookie settings ACCEPT
Set Point
The set point is normally a user entered value, in cruise control
it would be the set speed, or for a heating system, it would be
the set temperature.
Process Value
The process value is the value that is being controlled. For cruise
control this would be the actual vehicle speed, or in a heating
system, this would be the current temperature of the system.
Output
The output is the controlled value of a PID controller. In cruise
control, the output would be the throttle valve, in a heating
system, the output might be a 3 way valve in a heating loop, or
the amount of fuel applied to a boiler.
Error
The error value is the value used by the PID controller to
determine the how to manipulate the output to bring the
c process value to the set point.
Gain
Gain is the term used for “multiplication factor”. By adjusting the
-
gain settings (or multiplication factor) of the proportional, the
integral and the derivative, the user can control how much
e ect the PID controller has on the output, and how the
controller will react to di erent changes in the process value.
P or Proportional
The Proportional is
calculated by
multiplying the P-
Gain by the error.
The purpose of the
proportional, is to
have a large
immediate reaction
on the output to Tuning the Proportional Value
Err = SP – PV
P = kP x Err
I or Integral
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if
c | It = Integral Total
I = kI x Err x dt
c It = It + I
D or Derivative
The derivative is
calculated by multiplying
the D-Gain by the ramp
rate of the process
value. The purpose of
Thisthe derivative
website uses is to
cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if
“predict” where the you wish. Cookie settings ACCEPT
process value is going,
and bias the output in
the opposite direction of
the proportional and
integral, to hopefully
prevent the controller
-
from over-shooting the
set point if the ramp
rate is to fast.
D = kD x (Err – pErr) / dt
c
Output
The PID controller output is calculated by simply adding the
Proportional, the Integral and the Derivative. Depending on
c the gain setting of these three values, will determine how much
e ect they will have on the output.
Output = P + It + D
D = kD x (pErr – Err) / dt
pErr = Err
- Output = P + It + D
(https://www.microsoft.com/en-us/p/pid-
simulator/9nbcz6qq5djs?activetab=pivot:overviewtab)
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if
pid-controller/)
c
Related Posts
LogDC - PID
in to Explained
Reply (https://www.pidexplained.com)
(https://pidexplained.com/wp-login.php?
May 4, 2020 at 10:01 pm(https://pidexplained.com/pid-controller-
redirect_to=https%3A%2F%2Fptop.only.wip.la%3A443%2Fhttps%2Fpidexplained.com%2Fpid-controller-
explained%2F)
explained/#comment-12)
Thanks for the comment RV, your feedback is
appreciated!
LogHenri
in to Reply (https://pidexplained.com/wp-login.php?
January 22, 2020 at 1:00 pm(https://pidexplained.com/pid-
redirect_to=https%3A%2F%2Fptop.only.wip.la%3A443%2Fhttps%2Fpidexplained.com%2Fpid-controller-
explained%2F)
controller-explained/#comment-5)
c
Hi, what order of process did you use? I assume a
rstorder proces with an ajustable deadtime? It
would bij nice if the other parameters of the process
c were adjustable not only the deadtime.
LogDC - PID
in to Explained
Reply (https://www.pidexplained.com)
(https://pidexplained.com/wp-login.php?
January 28, 2020 at 11:19 pm(https://pidexplained.com/pid-
redirect_to=https%3A%2F%2Fptop.only.wip.la%3A443%2Fhttps%2Fpidexplained.com%2Fpid-controller-
explained%2F)
controller-explained/#comment-8)
Hi Henri, we would be glad to take this into
consideration for future updates. Can you provide
some input on the parameters that you would like
to cookies
This website uses see adjustable?
to improve your experience. We'll assume you're ok with this, but you can opt-out if
Leave a Reply
You must be logged in (https://pidexplained.com/wp-
login.php?
redirect_to=https%3A%2F%2Fptop.only.wip.la%3A443%2Fhttps%2Fpidexplained.com%2Fpid-
controller-explained%2F) to post a comment.
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if