Data Fields
_VOLREC_Obj_ Struct Reference

Defines the VOLREC controller object. More...

#include <volt_recons.h>

Data Fields

float32_t a1
 the denominator filter coefficient value for z^(-1) More...
 
float32_t b0
 the numerator filter coefficient value for z^0 More...
 
float32_t b1
 the numerator filter coefficient value for z^(-1) More...
 
MATH_Vec3 x1
 the input value at time sample n=-1 More...
 
MATH_Vec3 y1
 the output value at time sample n=-1 More...
 
MATH_Vec3 Vin_V
 the input Phase voltage phase (V) More...
 
MATH_Vec3 Vs_V
 the input Phase voltage phase (V) More...
 
float32_t sf
 the scale factor of phase voltage More...
 
float32_t sfCalc
 the scale factor of phase voltage More...
 
float32_t threshold
 the voltage level corresponding to zero i/p More...
 
float32_t VaSen
 the input Phase voltage phase (V) More...
 
float32_t VaSenSum
 the square calculation over one sine cycle More...
 
float32_t VaSum
 the square calculation over one sine cycle More...
 
float32_t VaSenRms
 the RMS Value More...
 
float32_t VaRms
 the RMS Value More...
 
int32_t numSamples
 the sampling points More...
 
int32_t minSamples
 the sampling points More...
 
int32_t maxSamples
 the sampling points More...
 
int16_t signPrev
 the flag to detect ZCD More...
 
int16_t signCurr
 the flag to detect ZCD More...
 
int16_t jitterCount
 the jitter count due to noise on input More...
 
bool flagCalSf
 

Detailed Description

Defines the VOLREC controller object.

Field Documentation

◆ a1

float32_t _VOLREC_Obj_::a1

the denominator filter coefficient value for z^(-1)

Referenced by VOLREC_run().

◆ b0

float32_t _VOLREC_Obj_::b0

the numerator filter coefficient value for z^0

Referenced by VOLREC_run().

◆ b1

float32_t _VOLREC_Obj_::b1

the numerator filter coefficient value for z^(-1)

Referenced by VOLREC_run().

◆ x1

MATH_Vec3 _VOLREC_Obj_::x1

the input value at time sample n=-1

Referenced by VOLREC_run().

◆ y1

MATH_Vec3 _VOLREC_Obj_::y1

the output value at time sample n=-1

Referenced by VOLREC_run().

◆ Vin_V

MATH_Vec3 _VOLREC_Obj_::Vin_V

the input Phase voltage phase (V)

Referenced by VOLREC_calcVolSF(), and VOLREC_run().

◆ Vs_V

MATH_Vec3 _VOLREC_Obj_::Vs_V

the input Phase voltage phase (V)

Referenced by VOLREC_run().

◆ sf

float32_t _VOLREC_Obj_::sf

the scale factor of phase voltage

Referenced by VOLREC_calcVolSF(), and VOLREC_run().

◆ sfCalc

float32_t _VOLREC_Obj_::sfCalc

the scale factor of phase voltage

Referenced by VOLREC_calcVolSF().

◆ threshold

float32_t _VOLREC_Obj_::threshold

the voltage level corresponding to zero i/p

Referenced by VOLREC_calcVolSF().

◆ VaSen

float32_t _VOLREC_Obj_::VaSen

the input Phase voltage phase (V)

Referenced by VOLREC_calcVolSF().

◆ VaSenSum

float32_t _VOLREC_Obj_::VaSenSum

the square calculation over one sine cycle

Referenced by VOLREC_calcVolSF().

◆ VaSum

float32_t _VOLREC_Obj_::VaSum

the square calculation over one sine cycle

Referenced by VOLREC_calcVolSF().

◆ VaSenRms

float32_t _VOLREC_Obj_::VaSenRms

the RMS Value

Referenced by VOLREC_calcVolSF().

◆ VaRms

float32_t _VOLREC_Obj_::VaRms

the RMS Value

Referenced by VOLREC_calcVolSF().

◆ numSamples

int32_t _VOLREC_Obj_::numSamples

the sampling points

Referenced by VOLREC_calcVolSF().

◆ minSamples

int32_t _VOLREC_Obj_::minSamples

the sampling points

Referenced by VOLREC_calcVolSF().

◆ maxSamples

int32_t _VOLREC_Obj_::maxSamples

the sampling points

Referenced by VOLREC_calcVolSF().

◆ signPrev

int16_t _VOLREC_Obj_::signPrev

the flag to detect ZCD

Referenced by VOLREC_calcVolSF().

◆ signCurr

int16_t _VOLREC_Obj_::signCurr

the flag to detect ZCD

Referenced by VOLREC_calcVolSF().

◆ jitterCount

int16_t _VOLREC_Obj_::jitterCount

the jitter count due to noise on input

Referenced by VOLREC_calcVolSF().

◆ flagCalSf

bool _VOLREC_Obj_::flagCalSf

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

Copyright 2023, Texas Instruments Incorporated