PEController BSP v4
Board Support Package for PEController from Taraz Technologies
 
Loading...
Searching...
No Matches

Functions

float PI_Compensate (pi_compensator_t *pi, float err)
 Evaluates the result for the PI compensation.
 
void PI_Reset (pi_compensator_t *pi)
 Resets the PI compensator parameters.
 
float MovingAverage_Compute (mov_avg_t *filt, float val)
 Computes the moving average.
 
void MovingAverage_Reset (mov_avg_t *filt)
 Resets the moving average filter parameters.
 
bool Average_Compute (avg_t *filt, float val)
 Computes the average filter value.
 
void Average_Reset (avg_t *filt)
 Reset the average filter parameters.
 

Detailed Description

Function Documentation

◆ Average_Compute()

bool Average_Compute ( avg_t filt,
float  val 
)
extern
Parameters
*filtPointer to the filter parameters.
valCurrent value.
Returns
float Resultant value of the average filter.

◆ Average_Reset()

void Average_Reset ( avg_t filt)
extern
Parameters
filtPointer to the filter parameters.

◆ MovingAverage_Compute()

float MovingAverage_Compute ( mov_avg_t filt,
float  val 
)
extern
Parameters
*filtPointer to the filter parameters.
valCurrent value.
Returns
float Resultant value of the moving average filter.

◆ MovingAverage_Reset()

void MovingAverage_Reset ( mov_avg_t filt)
extern
Parameters
*filtPointer to the filter parameters.

◆ PI_Compensate()

float PI_Compensate ( pi_compensator_t pi,
float  err 
)
extern
Parameters
*piPointer to the PI compensator parameters.
errCurrent value of error.
Returns
float Result of the PI compensation of current cycle.

◆ PI_Reset()

void PI_Reset ( pi_compensator_t pi)
extern
Parameters
*piPointer to the PI compensator parameters.