CMSIS-DSP
Version 1.5.1
CMSIS DSP Software Library
|
Functions | |
CMSIS_INLINE __STATIC_INLINE void | arm_inv_clarke_f32 (float32_t Ialpha, float32_t Ibeta, float32_t *pIa, float32_t *pIb) |
Floating-point Inverse Clarke transform. More... | |
CMSIS_INLINE __STATIC_INLINE void | arm_inv_clarke_q31 (q31_t Ialpha, q31_t Ibeta, q31_t *pIa, q31_t *pIb) |
Inverse Clarke transform for Q31 version. More... | |
Inverse Clarke transform converts the two-coordinate time invariant vector into instantaneous stator phases.
The function operates on a single sample of data and each call to the function returns the processed output. The library provides separate functions for Q31 and floating-point data types.
pIa
and pIb
are the instantaneous stator phases and Ialpha
and Ibeta
are the two coordinates of time invariant vector. CMSIS_INLINE __STATIC_INLINE void arm_inv_clarke_f32 | ( | float32_t | Ialpha, |
float32_t | Ibeta, | ||
float32_t * | pIa, | ||
float32_t * | pIb | ||
) |
[in] | Ialpha | input two-phase orthogonal vector axis alpha |
[in] | Ibeta | input two-phase orthogonal vector axis beta |
[out] | pIa | points to output three-phase coordinate a |
[out] | pIb | points to output three-phase coordinate b |
CMSIS_INLINE __STATIC_INLINE void arm_inv_clarke_q31 | ( | q31_t | Ialpha, |
q31_t | Ibeta, | ||
q31_t * | pIa, | ||
q31_t * | pIb | ||
) |
[in] | Ialpha | input two-phase orthogonal vector axis alpha |
[in] | Ibeta | input two-phase orthogonal vector axis beta |
[out] | pIa | points to output three-phase coordinate a |
[out] | pIb | points to output three-phase coordinate b |
Scaling and Overflow Behavior:
References __QSUB().