Ho Pham Thanh Tam and Thanh Hung Tran *

* Correspondence: Thanh Hung Tran (email: tthung@ctu.edu.vn)

Main Article Content


This article presents the review and the implementation of Space Vector Modulation (SVM) in a low-cost microcontroller-based motor drive system. The output three-phase voltages are obtained from a reference voltage vector in the polar coordinate system using the PWM technique; these voltages can reach up to the level of the DC voltage source (experimentally 16 VDC or practically 237 V with an inverter module). The article also provides a detailed presentation of the pre-calculations and the computations required for SVM on a STM32F1 ARM-based microcontroller. For achieving high frequency precision, a novel method for vector rotation based on the fixed-point arithmetic is proposed and tested. The experimental results highlight that the presented implementation including vector rotation can reach 1 Hz without significant error and it requires only 0.684 MIPS at 5 kHz computation rate for a 72 MIPS 32-bit microcontroller with single-cycle multiplication. The maximum instantaneous output phase-to-phase voltages could be as high as the DC voltage source.

Keywords: Space Vector Modulation, STM32, microcontroller, induction motor drive, Voltage Source Inverter

Article Details


Basera, A. S., & Vora, D. R. (2018). Variable frequency start of PMSM motor based on STM32f407. 2018 2nd International Conference on Inventive Systems and Control (ICISC), 191–196. https://doi.org/10.1109/ICISC.2018.8399062

Datta, S., Chandra, A., & Chowdhuri, S. (2016). Design and development of an 8 bit microcontroller based space vector PWM inverter fed volt/Hz induction motor drive. 2016 2nd International Conference on Control, Instrumentation, Energy Communication (CIEC), 353–357. https://doi.org/10.1109/CIEC.2016.7513769

Duong, T.-D., Nguyen, M.-K., Tran, T.-T., Lim, Y.-C., Choi, J.-H., & Wang, C. (2020). Modulation Techniques for a Modified Three-Phase Quasi-Switched Boost Inverter With Common-Mode Voltage Reduction. IEEE Access, 8, 160670–160683. https://doi.org/10.1109/ACCESS.2020.3020635

Erfidan, T., Urgun, S., & Hekimoglu, B. (2008). Low cost microcontroller based implementation of modulation techniques for three-phase inverter applications. MELECON 2008 - The 14th IEEE Mediterranean Electrotechnical Conference, 541–546. https://doi.org/10.1109/MELCON.2008.4618491

Mansuri, A. E., Suhel, S. Mo., Rajpurohit, V. N., & Sethia, S. S. (2020). Analysis of Various PWM Techniques for Three-phase Asynchronous Motor. 2020 International Conference for Emerging Technology (INCET), 1–5. https://doi.org/10.1109/INCET49848.2020.9154085

Minas, G., Martins, J. S., & Couto, C. (1999). A microcontroller based voltage space vector modulator suitable for induction motor drives. ISIE ’99. Proceedings of the IEEE International Symposium on Industrial Electronics (Cat. No.99TH8465), 2, 469–473 vol.2. https://doi.org/10.1109/ISIE.1999.798657

Muangjai, W., & Premrudeepreechacharn, S. (2009). Implementation of a carrier-based three-dimensional space vector PWM technique for three-phase four-leg voltage source converter with microcontroller. 2009 4th IEEE Conference on Industrial Electronics and Applications, 837–841. https://doi.org/10.1109/ICIEA.2009.5138320

Parekh. R., (2015). AN955 VF Control of 3-Phase Induction Motor Using Space Vector Modulation. https://www.microchip.com/en-us/application-notes/an955

Rony, Z. R., Das, S. C., & Rahman Khan, Md. Z. (2018). Space Vector Modulated PWM Generation for Motor Control Systems. 2018 10th International Conference on Electrical and Computer Engineering (ICECE), 149–152. https://doi.org/10.1109/ICECE.2018.8636720

STMicroelectronics. (2007). AN2154 Space vector modulation using 8-bit ST7MC microcontroller and ST7MC-KIT/BLDC starter kit. https://www.st.com/resource/en/application_note/cd00055518-space-vector-modulation-using-8bit-st7mc-microcontroller-and-st7mckitbldc-starter-kit-stmicroelectronics.pdf

STMicroelectronics. (2021). RM0008 Reference manual STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and STM32F107xx advanced Arm®-based 32-bit MCUs. https://www.st.com/resource/en/reference_manual/rm0008-stm32f101xx-stm32f102xx-stm32f103xx-stm32f105xx-and-stm32f107xx-advanced-armbased-32bit-mcus-stmicroelectronics.pdf

Zhu, Y. (2017). Embedded Systems with ARM Cortex-M Microcontrollers in Assembly Language and C: Third Edition. E-man Press Llc. https://www.biblio.com/book/embedded-systems-arm-cortex-m-microcontrollers/d/1357353295