Main Page | Data Structures | File List | Data Fields | Globals | Related Pages

PID_DATA Struct Reference

#include <pid.h>


Detailed Description

PID Status.

Setpoints and data used by the PID control algorithm

Definition at line 52 of file pid.h.

Data Fields

int D_FACTOR
 The Derivative tuning constant, given in x100.
int I_FACTOR
 The Integral tuning constant, given in x100.
int LAST_PROCESS_VALUE
 Last process value, used to find derivative of process value.
int MAX_ERROR
 Maximum allowed error, avoid overflow (= MAX_INT / PFactor).
int MAX_SUM_ERROR
 Maximum allowed sumerror, avoid overflow (= MAX_INT / IFactor).
int P_FACTOR
 The Proportional tuning constant, given in x100.
int SUM_ERROR
 Summation of errors, used for integrate calculations.


Field Documentation

int PID_DATA::D_FACTOR
 

The Derivative tuning constant, given in x100.

Definition at line 62 of file pid.h.

Referenced by Init_PID(), and PID().

int PID_DATA::I_FACTOR
 

The Integral tuning constant, given in x100.

Definition at line 60 of file pid.h.

Referenced by Init_PID(), and PID().

int PID_DATA::LAST_PROCESS_VALUE
 

Last process value, used to find derivative of process value.

Definition at line 54 of file pid.h.

Referenced by Init_PID(), and PID().

int PID_DATA::MAX_ERROR
 

Maximum allowed error, avoid overflow (= MAX_INT / PFactor).

Definition at line 64 of file pid.h.

Referenced by Init_PID(), and PID().

int PID_DATA::MAX_SUM_ERROR
 

Maximum allowed sumerror, avoid overflow (= MAX_INT / IFactor).

Definition at line 66 of file pid.h.

Referenced by Init_PID(), and PID().

int PID_DATA::P_FACTOR
 

The Proportional tuning constant, given in x100.

Definition at line 58 of file pid.h.

Referenced by Init_PID(), and PID().

int PID_DATA::SUM_ERROR
 

Summation of errors, used for integrate calculations.

Definition at line 56 of file pid.h.

Referenced by Init_PID(), and PID().


Generated on Thu Nov 10 11:12:11 2005 for AVR221 - PID controller by  doxygen 1.4.4