PID controller model written in Pascal.
The conventional parallel form of a proportional - integral - derivate controller is:
Where
This can be solved using a simple discrete formulation (to reduce computational power):
The integral term
where
The calculated derivative is sensitive to changes in
The derivative term
The filtered derivate term
The series (or standard) form of a proportional - integral - derivate controller is:
This is mathematically identical to the first equation, with the gain calculated as
An alternative formulation for solving the PID equation is to use equation
This is sometimes called the velocity form.