From 9f95ff5b6ba01db09552b84a0ab79607060a2666 Mon Sep 17 00:00:00 2001 From: Ali Labbene Date: Wed, 11 Dec 2019 08:59:21 +0100 Subject: Official ARM version: v5.4.0 Add CMSIS V5.4.0, please refer to index.html available under \docs folder. Note: content of \CMSIS\Core\Include has been copied under \Include to keep the same structure used in existing projects, and thus avoid projects mass update Note: the following components have been removed from ARM original delivery (as not used in ST packages) - CMSIS_EW2018.pdf - .gitattributes - .gitignore - \Device - \CMSIS - \CoreValidation - \DAP - \Documentation - \DoxyGen - \Driver - \Pack - \RTOS\CMSIS_RTOS_Tutorial.pdf - \RTOS\RTX - \RTOS\Template - \RTOS2\RTX - \Utilities - All ARM/GCC projects files are deleted from \DSP, \RTOS and \RTOS2 Change-Id: Ia026c3f0f0d016627a4fb5a9032852c33d24b4d3 --- docs/DSP/html/group__inv__clarke.html | 247 ++++++++++++++++++++++++++++++++++ 1 file changed, 247 insertions(+) create mode 100644 docs/DSP/html/group__inv__clarke.html (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 new file mode 100644 index 0000000..3c79799 --- /dev/null +++ b/docs/DSP/html/group__inv__clarke.html @@ -0,0 +1,247 @@ + + + + + +Vector Inverse Clarke Transform +CMSIS-DSP: Vector Inverse Clarke Transform + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
CMSIS-DSP +  Version 1.5.2 +
+
CMSIS DSP Software Library
+
+
+ +
+
    + +
+
+ + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
Vector Inverse Clarke Transform
+
+
+ + + + + + + + +

+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...
 
+

Description

+

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
+clarkeInvFormula.gif +
+ 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

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CMSIS_INLINE __STATIC_INLINE void arm_inv_clarke_f32 (float32_t Ialpha,
float32_t Ibeta,
float32_tpIa,
float32_tpIb 
)
+
+
Parameters
+ + + + + +
[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
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CMSIS_INLINE __STATIC_INLINE void arm_inv_clarke_q31 (q31_t Ialpha,
q31_t Ibeta,
q31_tpIa,
q31_tpIb 
)
+
+
Parameters
+ + + + + +
[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
+
+
+

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().

+ +
+
+
+
+ + + + -- cgit