From 96d6da4e252b06dcfdc041e7df23e86161c33007 Mon Sep 17 00:00:00 2001 From: rihab kouki Date: Tue, 28 Jul 2020 11:24:49 +0100 Subject: Official ARM version: v5.6.0 --- docs/DSP/html/group__park.html | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'docs/DSP/html/group__park.html') diff --git a/docs/DSP/html/group__park.html b/docs/DSP/html/group__park.html index e8330b5..a2b6a48 100644 --- a/docs/DSP/html/group__park.html +++ b/docs/DSP/html/group__park.html @@ -32,7 +32,7 @@ Logo
CMSIS-DSP -  Version 1.5.2 +  Version 1.7.0
CMSIS DSP Software Library
@@ -116,14 +116,15 @@ $(document).ready(function(){initNavTree('group__park.html','');}); - - - - - - + + + + + +

Functions

CMSIS_INLINE __STATIC_INLINE void arm_park_f32 (float32_t Ialpha, float32_t Ibeta, float32_t *pId, float32_t *pIq, float32_t sinVal, float32_t cosVal)
 Floating-point Park transform. More...
 
CMSIS_INLINE __STATIC_INLINE void arm_park_q31 (q31_t Ialpha, q31_t Ibeta, q31_t *pId, q31_t *pIq, q31_t sinVal, q31_t cosVal)
 Park transform for Q31 version. More...
 
__STATIC_FORCEINLINE void arm_park_f32 (float32_t Ialpha, float32_t Ibeta, float32_t *pId, float32_t *pIq, float32_t sinVal, float32_t cosVal)
 Floating-point Park transform. More...
 
__STATIC_FORCEINLINE void arm_park_q31 (q31_t Ialpha, q31_t Ibeta, q31_t *pId, q31_t *pIq, q31_t sinVal, q31_t cosVal)
 Park transform for Q31 version. More...
 

Description

+

end of inv_clarke group

Forward Park transform converts the input two-coordinate vector to flux and torque components. The Park transform can be used to realize the transformation of the Ialpha and the Ibeta currents from the stationary to the moving reference frame and control the spatial relationship between the stator vector current and rotor flux vector. If we consider the d axis aligned with the rotor flux, the diagram below shows the current vector and the relationship from the two reference frames:

park.gif @@ -136,12 +137,12 @@ Stator current space vector and its component in (a,b) and in the d,q rotating r where Ialpha and Ibeta are the stator vector components, pId and pIq are rotor vector components and cosVal and sinVal are the cosine and sine values of theta (rotor flux position).
Fixed-Point Behavior
Care must be taken when using the Q31 version of the Park transform. In particular, the overflow and saturation behavior of the accumulator used must be considered. Refer to the function specific documentation below for usage guidelines.

Function Documentation

- +
- + @@ -190,20 +191,21 @@ Stator current space vector and its component in (a,b) and in the d,q rotating r - +
CMSIS_INLINE __STATIC_INLINE void arm_park_f32 __STATIC_FORCEINLINE void arm_park_f32 ( float32_t  Ialpha,
[out]pIdpoints to output rotor reference frame d
[out]pIqpoints to output rotor reference frame q
[in]sinValsine value of rotation angle theta
[in]cosValcosine value of rotation angle theta
[in]cosValcosine value of rotation angle theta
+
Returns
none

The function implements the forward Park transform.

- +
- + @@ -252,14 +254,12 @@ Stator current space vector and its component in (a,b) and in the d,q rotating r - +
CMSIS_INLINE __STATIC_INLINE void arm_park_q31 __STATIC_FORCEINLINE void arm_park_q31 ( q31_t  Ialpha,
[out]pIdpoints to output rotor reference frame d
[out]pIqpoints to output rotor reference frame q
[in]sinValsine value of rotation angle theta
[in]cosValcosine value of rotation angle theta
[in]cosValcosine value of rotation angle theta
-

Scaling and Overflow Behavior:

-
The function is implemented using an internal 32-bit accumulator. The accumulator maintains 1.31 format by truncating lower 31 bits of the intermediate multiplication in 2.62 format. There is saturation on the addition and subtraction, hence there is no risk of overflow.
- -

References __QADD(), and __QSUB().

+
Returns
none
+
Scaling and Overflow Behavior
The function is implemented using an internal 32-bit accumulator. The accumulator maintains 1.31 format by truncating lower 31 bits of the intermediate multiplication in 2.62 format. There is saturation on the addition and subtraction, hence there is no risk of overflow.
@@ -268,7 +268,7 @@ Stator current space vector and its component in (a,b) and in the d,q rotating r