#include <pid.h>
Setpoints and data used by the PID control algorithm
Definition at line 44 of file pid.h.
Data Fields | |
| int16_t | D_Factor |
| The Derivative tuning constant, given in x100. | |
| int16_t | I_Factor |
| The Integral tuning constant, given in x100. | |
| int16_t | lastProcessValue |
| Last process value, used to find derivative of process value. | |
| int16_t | maxError |
| Maximum allowed error, avoid overflow. | |
| int32_t | maxSumError |
| Maximum allowed sumerror, avoid overflow. | |
| int16_t | P_Factor |
| The Proportional tuning constant, given in x100. | |
| int32_t | sumError |
| Summation of errors, used for integrate calculations. | |
|
|
The Derivative tuning constant, given in x100.
Definition at line 54 of file pid.h. Referenced by PID_Controller(), and PID_Init(). |
|
|
The Integral tuning constant, given in x100.
Definition at line 52 of file pid.h. Referenced by PID_Controller(), and PID_Init(). |
|
|
Last process value, used to find derivative of process value.
Definition at line 46 of file pid.h. Referenced by PID_Controller(), and PID_Init(). |
|
|
Maximum allowed error, avoid overflow.
Definition at line 56 of file pid.h. Referenced by PID_Controller(), and PID_Init(). |
|
|
Maximum allowed sumerror, avoid overflow.
Definition at line 58 of file pid.h. Referenced by PID_Controller(), and PID_Init(). |
|
|
The Proportional tuning constant, given in x100.
Definition at line 50 of file pid.h. Referenced by PID_Controller(), and PID_Init(). |
|
|
Summation of errors, used for integrate calculations.
Definition at line 48 of file pid.h. Referenced by PID_Controller(), PID_Init(), and PID_Reset_Integrator(). |
1.4.4