3.3.8 mcFoc_ClarkeTransformation
C
/* Clarke Transformation */
void mcFoc_ClarkeTransformation( const tmcTypes_ABC_s * pABC, tmcTypes_AlphaBeta_s * const pAlphaBeta )
Summary
Clarke Transformation
Description
This function performs the Clarke transformation to convert three-phase currents into two-phase alpha-beta currents.
The Clarke transform is a linear transformation, shown in following equation, which can apply to any vector quantity , although typical examples are voltage , current , or flux linkage .
The function assumes that the sum of the three-phase values is zero , which is a common assumption in balanced three-phase systems.
Precondition
None..
Parameters
Param | Description |
---|---|
pABC | A pointer to the structure holding three-phase currents. |
pAlphaBeta | A pointer to the structure holding alpha-beta currents. |
Returns
None
Example
tmcTypes_ABC_s phaseValues = { .a = 1.0f, .b = 0.5f, .c = -1.5f }; tmcTypes_AlphaBeta_s AlphaBeta;; mcFoc_ClarkeTransformation(&phaseValues, &AlphaBeta);
Remarks
None.