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__inv__park.html | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'docs/DSP/html/group__inv__park.html') diff --git a/docs/DSP/html/group__inv__park.html b/docs/DSP/html/group__inv__park.html index 1fe1a5e..8bde987 100644 --- a/docs/DSP/html/group__inv__park.html +++ b/docs/DSP/html/group__inv__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__inv__park.html','');}); - - - - - - + + + + + +

Functions

CMSIS_INLINE __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...
 
CMSIS_INLINE __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...
 
__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...
 

Description

+

end of park group

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.

Algorithm
@@ -132,12 +133,12 @@ Functions where 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).
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,15 +191,16 @@ Functions
CMSIS_INLINE __STATIC_INLINE void arm_inv_park_f32 __STATIC_FORCEINLINE void arm_inv_park_f32 ( float32_t  Id,
+
Returns
none
- +
- + @@ -247,14 +249,12 @@ Functions - +
CMSIS_INLINE __STATIC_INLINE void arm_inv_park_q31 __STATIC_FORCEINLINE void arm_inv_park_q31 ( q31_t  Id,
[out]pIalphapoints to output two-phase orthogonal vector axis alpha
[out]pIbetapoints to output two-phase orthogonal vector axis beta
[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, 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, hence there is no risk of overflow.
@@ -263,7 +263,7 @@ Functions