liba 0.1.15
An algorithm library based on C/C++
Loading...
Searching...
No Matches

instance structure for PID controller More...

#include <pid.h>

Public Member Functions

void init ()
 
void set_kpid (double kp_, double ki_, double kd_)
 
double run (double set, double fdb_)
 
double pos (double set, double fdb_)
 
double inc (double set, double fdb_)
 
void zero ()
 

Data Fields

double kp
 proportional constant
 
double ki
 integral constant
 
double kd
 derivative constant
 
double summax
 maximum integral output
 
double summin
 minimum integral output
 
double sum
 controller integral output
 
double outmax
 maximum final output
 
double outmin
 minimum final output
 
double out
 controller final output
 
double var
 cache variable
 
double fdb
 cache feedback
 
double err
 cache error
 

Detailed Description

instance structure for PID controller


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