Generation of PWM for 2-level Inverter on Modern Microcontrollers: A Generic Algorithm Leveraging on Waveform Symmetry

The inherent symmetries and periodicity of signals based on sinusoidal functions are leveraged to develop a computationally efficient firmware algorithm for generating pulse width modulation (PWM) gating signals on a modern microcontroller for voltage source inverters (VSIs). This method involves creating PWM directly through firmware by utilizing scalar carrier comparison methods for various PWM schemes, including Sinusoidal PWM (SPWM), Third Harmonic Injection PWM (THIPWM), Space Vector PWM (SVPWM), and Discontinuous PWM (DPWM). By exploiting the symmetry and cyclic nature of reference signals, the novel approach allows for the reuse of calculations across different phases under steady-state conditions. Synchronizing the carrier wave period with the symmetries of the modulation reference signal further allows the use of quarter-wave symmetry to simplify pulse width calculations and reduce memory requirements. The algorithm also incorporates pipeline and pre-calculations of certain parameters to efficiently determine embedded timer counter values. Additionally, the firmware, written in ‘C’, supports dynamic switching between different modulation schemes. Practical results demonstrate the algorithm's effectiveness with a 3-phase 2-level VSI controlled by an ARM Cortex M4-based microcontroller equipped with a CORDIC trigonometric math unit.

Authors

Institutions

Publication Details

Published
2025-02-28
DOI
https://doi.org/10.1109/ssdee64538.2025.10968570
Primary Topic
Advanced Data Storage Technologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Generation of PWM for 2-level Inverter on Modern Microcontrollers: A Generic Algorithm Leveraging on Waveform Symmetry

Nabarun Dasgupta, Manoj Kumar, Vijaya Laxmi
Advanced Data Storage Technologies
article

Generation of PWM for 2-level Inverter on Modern Microcontrollers: A Generic Algorithm Leveraging on Waveform Symmetry

Nabarun Dasgupta, Manoj Kumar, Vijaya Laxmi
article en

Abstract

The inherent symmetries and periodicity of signals based on sinusoidal functions are leveraged to develop a computationally efficient firmware algorithm for generating pulse width modulation (PWM) gating signals on a modern microcontroller for voltage source inverters (VSIs). This method involves creating PWM directly through firmware by utilizing scalar carrier comparison methods for various PWM schemes, including Sinusoidal PWM (SPWM), Third Harmonic Injection PWM (THIPWM), Space Vector PWM (SVPWM), and Discontinuous PWM (DPWM). By exploiting the symmetry and cyclic nature of reference signals, the novel approach allows for the reuse of calculations across different phases under steady-state conditions. Synchronizing the carrier wave period with the symmetries of the modulation reference signal further allows the use of quarter-wave symmetry to simplify pulse width calculations and reduce memory requirements. The algorithm also incorporates pipeline and pre-calculations of certain parameters to efficiently determine embedded timer counter values. Additionally, the firmware, written in ‘C’, supports dynamic switching between different modulation schemes. Practical results demonstrate the algorithm's effectiveness with a 3-phase 2-level VSI controlled by an ARM Cortex M4-based microcontroller equipped with a CORDIC trigonometric math unit.

Birla Institute of Technology, Mesra (IN), STMicroelectronics (India) (IN)
Affordable and clean energy
Openalex Percentile: Top 92%
Advanced Data Storage Technologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.