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__clarke.html | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'docs/DSP/html/group__inv__clarke.html') diff --git a/docs/DSP/html/group__inv__clarke.html b/docs/DSP/html/group__inv__clarke.html index 3c79799..eb4bce9 100644 --- a/docs/DSP/html/group__inv__clarke.html +++ b/docs/DSP/html/group__inv__clarke.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__clarke.html','');}); - - - - - - + + + + + +

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...
 
__STATIC_FORCEINLINE void arm_inv_clarke_f32 (float32_t Ialpha, float32_t Ibeta, float32_t *pIa, float32_t *pIb)
 Floating-point Inverse Clarke transform. More...
 
__STATIC_FORCEINLINE void arm_inv_clarke_q31 (q31_t Ialpha, q31_t Ibeta, q31_t *pIa, q31_t *pIb)
 Inverse Clarke transform for Q31 version. More...
 

Description

+

end of clarke group

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.

Algorithm
@@ -132,12 +133,12 @@ Functions where pIa and pIb are the instantaneous stator phases and Ialpha and Ibeta are the two coordinates of time invariant vector.
Fixed-Point Behavior
Care must be taken when using the Q31 version of the Clarke 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

- +
- + @@ -176,15 +177,16 @@ Functions
CMSIS_INLINE __STATIC_INLINE void arm_inv_clarke_f32 __STATIC_FORCEINLINE void arm_inv_clarke_f32 ( float32_t  Ialpha,
+
Returns
none
- +
- + @@ -219,14 +221,12 @@ Functions - +
CMSIS_INLINE __STATIC_INLINE void arm_inv_clarke_q31 __STATIC_FORCEINLINE void arm_inv_clarke_q31 ( q31_t  Ialpha,
[in]Ialphainput two-phase orthogonal vector axis alpha
[in]Ibetainput two-phase orthogonal vector axis beta
[out]pIapoints to output three-phase coordinate a
[out]pIbpoints to output three-phase coordinate b
[out]pIbpoints to output three-phase coordinate b
-

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 subtraction, hence there is no risk of overflow.
- -

References __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 subtraction, hence there is no risk of overflow.
@@ -235,7 +235,7 @@ Functions