#include <pid.h>
Setpoints and data used by the PID control algorithm
Definition at line 52 of file pid.h.
Data Fields | |
int | D_FACTOR |
The Derivative tuning constant, given in x100. | |
int | I_FACTOR |
The Integral tuning constant, given in x100. | |
int | LAST_PROCESS_VALUE |
Last process value, used to find derivative of process value. | |
int | MAX_ERROR |
Maximum allowed error, avoid overflow (= MAX_INT / PFactor). | |
int | MAX_SUM_ERROR |
Maximum allowed sumerror, avoid overflow (= MAX_INT / IFactor). | |
int | P_FACTOR |
The Proportional tuning constant, given in x100. | |
int | SUM_ERROR |
Summation of errors, used for integrate calculations. |
|
The Derivative tuning constant, given in x100.
Definition at line 62 of file pid.h. Referenced by Init_PID(), and PID(). |
|
The Integral tuning constant, given in x100.
Definition at line 60 of file pid.h. Referenced by Init_PID(), and PID(). |
|
Last process value, used to find derivative of process value.
Definition at line 54 of file pid.h. Referenced by Init_PID(), and PID(). |
|
Maximum allowed error, avoid overflow (= MAX_INT / PFactor).
Definition at line 64 of file pid.h. Referenced by Init_PID(), and PID(). |
|
Maximum allowed sumerror, avoid overflow (= MAX_INT / IFactor).
Definition at line 66 of file pid.h. Referenced by Init_PID(), and PID(). |
|
The Proportional tuning constant, given in x100.
Definition at line 58 of file pid.h. Referenced by Init_PID(), and PID(). |
|
Summation of errors, used for integrate calculations.
Definition at line 56 of file pid.h. Referenced by Init_PID(), and PID(). |