2.1.2 Declaration
The available
functions have the following declarations:
void GMCLIB_Clark_F16(const
2.1.3 Function use
The use of the
function is shown in the following example:
#include "gmclib.h"
static
static
void Isr(void);
void main(void)
{
/* ABC structure initialization */
}
/* Periodical function or interrupt */
void Isr(void)
{
/* Clarke Transformation calculation */
GMCLIB_Clark_F16(&sAbc, &sAlphaBeta);
}
2.2 GMCLIB_ClarkInv
The
function calculates the Clarke transformation, which is used to
transform values (flux, voltage, current) from the two-phase (
α
-
β
) orthogonal coordinate
system to the three-phase coordinate system, according to the following equations:
Equation 3
Equation 4
Equation 5
GMCLIB_ClarkInv
GMCLIB User's Guide, Rev. 2, 10/2015
18
Freescale Semiconductor, Inc.
Summary of Contents for DSP56800E
Page 1: ...GMCLIB User s Guide DSP56800E Document Number DSP56800EGMCLIBUG Rev 2 10 2015 ...
Page 2: ...GMCLIB User s Guide Rev 2 10 2015 2 Freescale Semiconductor Inc ...
Page 4: ...GMCLIB User s Guide Rev 2 10 2015 4 Freescale Semiconductor Inc ...
Page 64: ...GMCLIB_SvmU7n GMCLIB User s Guide Rev 2 10 2015 64 Freescale Semiconductor Inc ...
Page 78: ...GMCLIB User s Guide Rev 2 10 2015 78 Freescale Semiconductor Inc ...