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

Functions

void Transform_abc_alBe0 (LIB_3COOR_ABC_t *abc, LIB_3COOR_ALBE0_t *alBe0, transformation_source_t src)
 Performs the Clarke and inverse Clarke transformations.
 
void Transform_alphaBeta0_dq0 (LIB_3COOR_ALBE0_t *alBe0, LIB_3COOR_DQ0_t *dq0, LIB_3COOR_TRIGNO_t *trigno, transformation_source_t src, park_transform_type_t parkType)
 Performs the Park and inverse Park transformations.
 
void Transform_alphaBeta0_dq0_wt0 (LIB_3COOR_ALBE0_t *alBe0, LIB_3COOR_DQ0_t *dq0, transformation_source_t src, park_transform_type_t parkType)
 Performs the Park and inverse Park transformations with wt = 0.
 
void Transform_abc_dq0 (LIB_3COOR_ABC_t *abc, LIB_3COOR_DQ0_t *dq0, LIB_3COOR_TRIGNO_t *trigno, transformation_source_t src, park_transform_type_t parkType)
 Performs the transforms between ABC and DQ0 coordinates.
 
void Transform_abc_dq0_wt0 (LIB_3COOR_ABC_t *abc, LIB_3COOR_DQ0_t *dq0, transformation_source_t src, park_transform_type_t parkType)
 Performs the transforms between ABC and DQ0 coordinates with wt = 0.
 
void Transform_wt_sincos (LIB_3COOR_TRIGNO_t *trigno)
 Transform wt to the trigonometric values required in DQ transforms to pre-compute before use.
 
float Transform_Theta_0to2pi (float theta)
 Transform theta from value to range 0-2pi.
 
static float ShiftTheta_0to2pi (float theta, float shift)
 Gets the specified shift from current theta in radians adjusted to range 0 - 2pi.
 

Detailed Description

Function Documentation

◆ ShiftTheta_0to2pi()

static float ShiftTheta_0to2pi ( float  theta,
float  shift 
)
inlinestatic
Parameters
thetaCurrent theta
shiftOffset required
Returns
float Shifted and adjusted theta in radians

◆ Transform_abc_alBe0()

void Transform_abc_alBe0 ( LIB_3COOR_ABC_t abc,
LIB_3COOR_ALBE0_t alBe0,
transformation_source_t  src 
)
extern
Parameters
*abcPointer to the abc coordinates structure
*alBe0Pointer to the alpha Beta zero coordinates structure
srcconversion source. If src = SRC_ABC converts from ABC to ALBE0 else converts from ALBE0 to ABC coordinates
Note
https://www.mathworks.com/help/physmod/sps/powersys/ref/abctoalphabetazeroalphabetazerotoabc.html

◆ Transform_abc_dq0()

void Transform_abc_dq0 ( LIB_3COOR_ABC_t abc,
LIB_3COOR_DQ0_t dq0,
LIB_3COOR_TRIGNO_t trigno,
transformation_source_t  src,
park_transform_type_t  parkType 
)
extern
Parameters
*abcPointer to the abc coordinates structure
*dq0Pointer to the dq0 coordinates structures
*trignoPointer to the trigonometric structure, Make sure that the Sines and Cosines are pre-computed before calling this method
srcconversion source. If src = SRC_ABC converts from ABC to DQ0 else converts from DQ0 to ABC coordinates
parkTypeSelect the park transformation types. For three phase systems set to PARK_SINE
Note
https://www.mathworks.com/help/physmod/sps/powersys/ref/abctodq0dq0toabc.html?s_tid=doc_ta

◆ Transform_abc_dq0_wt0()

void Transform_abc_dq0_wt0 ( LIB_3COOR_ABC_t abc,
LIB_3COOR_DQ0_t dq0,
transformation_source_t  src,
park_transform_type_t  parkType 
)
extern
Parameters
*abcPointer to the abc coordinates structure
*dq0Pointer to the dq0 coordinates structures
srcconversion source. If src = SRC_ABC converts from ABC to DQ0 else converts from DQ0 to ABC coordinates
parkTypeSelect the park transformation types. For three phase systems set to PARK_SINE
Note
https://www.mathworks.com/help/physmod/sps/powersys/ref/abctodq0dq0toabc.html?s_tid=doc_ta

◆ Transform_alphaBeta0_dq0()

void Transform_alphaBeta0_dq0 ( LIB_3COOR_ALBE0_t alBe0,
LIB_3COOR_DQ0_t dq0,
LIB_3COOR_TRIGNO_t trigno,
transformation_source_t  src,
park_transform_type_t  parkType 
)
extern
Parameters
*alBe0Pointer to the alpha Beta zero coordinates structure
*dq0Pointer to the dq0 coordinates structures
*trignoPointer to the trigonometric structure, Make sure that the Sines and Cosines are pre-computed before calling this method
srcconversion source. If src = SRC_ALBE0 converts from ALBE0 to DQ0 else converts from DQ0 to ALBE0 coordinates
parkTypeSelect the park transformation types. For three phase systems set to PARK_SINE
Note
https://www.mathworks.com/help/physmod/sps/powersys/ref/alphabetazerotodq0dq0toalphabetazero.html?s_tid=doc_ta

◆ Transform_alphaBeta0_dq0_wt0()

void Transform_alphaBeta0_dq0_wt0 ( LIB_3COOR_ALBE0_t alBe0,
LIB_3COOR_DQ0_t dq0,
transformation_source_t  src,
park_transform_type_t  parkType 
)
extern
Parameters
*alBe0Pointer to the alpha Beta zero coordinates structure
*dq0Pointer to the dq0 coordinates structures
srcconversion source. If src = SRC_ALBE0 converts from ALBE0 to DQ0 else converts from DQ0 to ALBE0 coordinates
parkTypeSelect the park transformation types. For three phase systems set to PARK_SINE
Note
https://www.mathworks.com/help/physmod/sps/powersys/ref/alphabetazerotodq0dq0toalphabetazero.html?s_tid=doc_ta

◆ Transform_Theta_0to2pi()

float Transform_Theta_0to2pi ( float  theta)
extern
Parameters
thetacurrent value of theta
Returns
float transformed value of theta

◆ Transform_wt_sincos()

void Transform_wt_sincos ( LIB_3COOR_TRIGNO_t trigno)
extern
Parameters
*trignoPointer to the trigonometric information