Inverse Park transform converts the input flux and torque components to two-coordinate vector. More...
Functions | |
__STATIC_FORCEINLINE 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_FORCEINLINE 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.
end of park group 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_FORCEINLINE 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.
[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 5421 of file arm_math.h.
__STATIC_FORCEINLINE 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.
[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 5452 of file arm_math.h.