STM32F1 CMSIS DSP Controller Functions

Started by tha, July 23, 2021, 07:40:16 AM

Previous topic - Next topic

tha


tha


tha

file:///D:/System%20Workbench/STM32CubeF1-master/Drivers/CMSIS/docs/DSP/html/group__park.html



Description

Forward Park transform จะแปลง the input two-coordinate vector ไปเป็น flux and torque components. The Park transform สามารถถูกใช้เพื่อให้เข้าใจ the transformation ของ the Ialpha and the Ibeta currents จากที่อยู่กับที่ไปเป็น the moving reference frame และควบคุมความสัมพันธ์เชิงพื้นที่ระหว่าง the stator vector current และ rotor flux vector. ถ้าเราพิจารณา the d axis อยู่ในแนวเดียวกับ the rotor flux, the diagram ข้างล่างแสดง the current vector และความสัมพันธ์จาก the two reference frames:

         

The function ทำงานบน a single sample of data และแต่ละการเรียกถึง the function คืนกลับค่า the processed output. The library จัดให้มีฟังชั่นที่แยกกันสำหรับ Q31 and floating-point data types.

Algorithm

                 

โดยที่ Ialpha and Ibeta เป็น the stator vector components, pId and pIq เป็น rotor vector components และ cosVal and sinVal เป็น the cosine and sine values of theta (rotor flux position).

Fixed-Point Behavior

ต้องใช้ความระมัดระวังเมื่อใช้ the Q31 version of the Park transform. โดยเฉพาะอย่างยิ่ง, the overflow and saturation behavior of the accumulator used ต้องถูกพิจารณา. อ้างอิงถึง the function specific documentation  ข้างล่างสำหรับแนวทางการใช้งาน.


tha


tha


tha

file:///D:/System%20Workbench/STM32CubeF1-master/Drivers/CMSIS/docs/DSP/html/group__inv__park.html



Description

Inverse Park transform แปลง the input flux and torque components ไปเป็น two-coordinate vector.

The function ทำงานบน a single sample of data และแต่ละการเรียกถึง the function คืนกลับค่า the processed output. The library จัดให้มีฟังชั่นที่แยกกันสำหรับ Q31 and floating-point data types.

Algorithm

                                  

โดยที่ Ialpha and Ibeta เป็น the stator vector components, pId and pIq เป็น rotor vector components และ cosVal and sinVal เป็น the cosine and sine values of theta (rotor flux position).

Fixed-Point Behavior

ต้องใช้ความระมัดระวังเมื่อใช้ the Q31 version of the Park transform. โดยเฉพาะอย่างยิ่ง, the overflow and saturation behavior of the accumulator used ต้องถูกพิจารณา. อ้างอิงถึง the function specific documentation  ข้างล่างสำหรับแนวทางการใช้งาน.

tha


tha