EFeru / hoverboard-firmware-hack-FOC

With Field Oriented Control (FOC)
GNU General Public License v3.0
1.05k stars 876 forks source link

Did not find the SVPWM module in FOC control #491

Closed gbgms closed 2 weeks ago

gbgms commented 1 month ago

Variant

USART

Control type

FOC

Control mode

Speed

Description

SVPWM is an important part of FOC, but I did not see this module in the Simulink model of FOC control, and I did not see it in the code either. In addition, according to my understanding after reading the code, is SPWM used? This problem has troubled me for a long time, I hope to get help, thank you.

Candas1 commented 1 month ago

It is used https://github.com/EFeru/bldc-motor-control-FOC

gbgms commented 1 month ago

它用于 https://github.com/EFeru/bldc-motor-control-FOC

Thank you for your response! I’ve already downloaded this Simulink file, but I didn’t find the SVPWM module。According to my understanding of FOC , after transforming Vd and Vq to Valpha and Vbeta using the Park inverse transformation, they should be modulated using SVPWM. However, in this file, Valpha and Vbeta are directly transformed into three-phase voltage outputs。

Candas1 commented 1 month ago

https://eferu.github.io/bldc-motor-control-FOC/#slwebview:54

Candas1 commented 1 month ago

https://developerhelp.microchip.com/xwiki/bin/view/applications/motors/control-algorithms/zsm/zsm/best-zsm/

gbgms commented 1 month ago

https://developerhelp.microchip.com/xwiki/bin/view/applications/motors/control-algorithms/zsm/zsm/best-zsm/

Thank you very much!