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

pidData Struct Reference

#include <pid.h>


Detailed Description

PID Status.

Setpoints and data used by the PID control algorithm

Definition at line 44 of file pid.h.

Data Fields

int16_t D_Factor
 The Derivative tuning constant, given in x100.
int16_t I_Factor
 The Integral tuning constant, given in x100.
int16_t lastProcessValue
 Last process value, used to find derivative of process value.
int16_t maxError
 Maximum allowed error, avoid overflow.
int32_t maxSumError
 Maximum allowed sumerror, avoid overflow.
int16_t P_Factor
 The Proportional tuning constant, given in x100.
int32_t sumError
 Summation of errors, used for integrate calculations.


Field Documentation

int16_t pidData::D_Factor
 

The Derivative tuning constant, given in x100.

Definition at line 54 of file pid.h.

Referenced by PID_Controller(), and PID_Init().

int16_t pidData::I_Factor
 

The Integral tuning constant, given in x100.

Definition at line 52 of file pid.h.

Referenced by PID_Controller(), and PID_Init().

int16_t pidData::lastProcessValue
 

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

Definition at line 46 of file pid.h.

Referenced by PID_Controller(), and PID_Init().

int16_t pidData::maxError
 

Maximum allowed error, avoid overflow.

Definition at line 56 of file pid.h.

Referenced by PID_Controller(), and PID_Init().

int32_t pidData::maxSumError
 

Maximum allowed sumerror, avoid overflow.

Definition at line 58 of file pid.h.

Referenced by PID_Controller(), and PID_Init().

int16_t pidData::P_Factor
 

The Proportional tuning constant, given in x100.

Definition at line 50 of file pid.h.

Referenced by PID_Controller(), and PID_Init().

int32_t pidData::sumError
 

Summation of errors, used for integrate calculations.

Definition at line 48 of file pid.h.

Referenced by PID_Controller(), PID_Init(), and PID_Reset_Integrator().


Generated on Mon Mar 27 09:31:34 2006 for AVR447: Sine wave driving of three phase motor by  doxygen 1.4.4