Datastructure for an instance of the PID algorithm.
More...
#include <pid.h>
Data Fields |
uint8_t | envelope |
| Number of degrees above or below the target temperature, at which the PID algorithm kicks in.
|
uint8_t | p_gain |
| Gain of the proportional component.
|
uint8_t | i_gain |
| Gain of the integral component.
|
uint8_t | d_gain |
| Gain of the derivative component.
|
float | i_state |
| Accumulated state of the integral component.
|
float | d_term |
| Previous value of the derivative term, required to calculate the new value of the derivative term.
|
float | target_temp |
| Target temperature in degrees celsius.
|
float | last_temp |
| Previously measured temperature in degrees celsius.
|
Detailed Description
Datastructure for an instance of the PID algorithm.
Definition at line 40 of file pid.h.
Field Documentation
Gain of the derivative component.
Definition at line 44 of file pid.h.
Previous value of the derivative term, required to calculate the new value of the derivative term.
Definition at line 47 of file pid.h.
Number of degrees above or below the target temperature, at which the PID algorithm kicks in.
Definition at line 41 of file pid.h.
Gain of the integral component.
Definition at line 43 of file pid.h.
Accumulated state of the integral component.
Definition at line 46 of file pid.h.
Previously measured temperature in degrees celsius.
Definition at line 49 of file pid.h.
Gain of the proportional component.
Definition at line 42 of file pid.h.
Target temperature in degrees celsius.
Definition at line 48 of file pid.h.
The documentation for this struct was generated from the following file: