Functions | |
static __INLINE void | arm_inv_park_f32 (float32_t Id, float32_t Iq, float32_t *pIalpha, float32_t *pIbeta, float32_t sinVal, float32_t cosVal) |
Floating-point Inverse Park transform. More... | |
static __INLINE void | arm_inv_park_q31 (q31_t Id, q31_t Iq, q31_t *pIalpha, q31_t *pIbeta, q31_t sinVal, q31_t cosVal) |
Inverse Park transform for Q31 version. More... | |
Inverse Park transform converts the input flux and torque components to two-coordinate vector.
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.
pIalpha
and pIbeta
are the stator vector components, Id
and Iq
are rotor vector components and cosVal
and sinVal
are the cosine and sine values of theta (rotor flux position).
|
static |
Floating-point Inverse Park transform.
[in] | Id | input coordinate of rotor reference frame d |
[in] | Iq | input coordinate of rotor reference frame q |
[out] | *pIalpha | points to output two-phase orthogonal vector axis alpha |
[out] | *pIbeta | points to output two-phase orthogonal vector axis beta |
[in] | sinVal | sine value of rotation angle theta |
[in] | cosVal | cosine value of rotation angle theta |
Definition at line 5630 of file arm_math.h.
|
static |
Inverse Park transform for Q31 version.
[in] | Id | input coordinate of rotor reference frame d |
[in] | Iq | input coordinate of rotor reference frame q |
[out] | *pIalpha | points to output two-phase orthogonal vector axis alpha |
[out] | *pIbeta | points to output two-phase orthogonal vector axis beta |
[in] | sinVal | sine value of rotation angle theta |
[in] | cosVal | cosine value of rotation angle theta |
Scaling and Overflow Behavior:
Definition at line 5665 of file arm_math.h.