no-OS
Public Attributes | List of all members
no_os_pid_config Struct Reference

Configuration of the PID. More...

#include <no_os_pid.h>

Collaboration diagram for no_os_pid_config:
Collaboration graph
[legend]

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
 

Detailed Description

Configuration of the PID.

Member Data Documentation

◆ hysteresis

unsigned int no_os_pid_config::hysteresis

(Optional) Control supressed when process variable is within set point +/- hysteresis

◆ i_clip

struct no_os_pid_range no_os_pid_config::i_clip

(Optional) Boundary limits for integral component

◆ initial

int no_os_pid_config::initial

(Optional) Initial output

◆ Kd

unsigned int no_os_pid_config::Kd

Derivative gain (micro-units)

◆ Ki

unsigned int no_os_pid_config::Ki

Integral gain (micro-units)

◆ Kp

unsigned int no_os_pid_config::Kp

Proportional gain (micro-units)

◆ output_clip

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)


The documentation for this struct was generated from the following file: