no-OS
|
Configuration of the PID. More...
#include <no_os_pid.h>
Public Attributes | |
unsigned int | Kp |
unsigned int | Ki |
unsigned int | Kd |
unsigned int | hysteresis |
struct no_os_pid_range | i_clip |
struct no_os_pid_range | output_clip |
int | initial |
Configuration of the PID.
unsigned int no_os_pid_config::hysteresis |
(Optional) Control supressed when process variable is within set point +/- hysteresis
struct no_os_pid_range no_os_pid_config::i_clip |
(Optional) Boundary limits for integral component
int no_os_pid_config::initial |
(Optional) Initial output
unsigned int no_os_pid_config::Kd |
Derivative gain (micro-units)
unsigned int no_os_pid_config::Ki |
Integral gain (micro-units)
unsigned int no_os_pid_config::Kp |
Proportional gain (micro-units)
struct no_os_pid_range no_os_pid_config::output_clip |
(Optional) Boundary limits for the output (for example, for an 8-bit controlled PWM, one would clip the output to 0-255 range)