Phase Shifted PWM Generator

Generates two synchronized PWM signals with configurable phase shift, frequency and duty ratio. Ideal for multi-phase power converters.
47 Downloads
Updated 30 Mar 2025

View License

Phase Shifted PWM Generator
This block generates two synchronized Pulse Width Modulation (PWM) signals based on user-defined frequency, duty ratio and phase shift parameters. The second PWM signal is phase-shifted relative to the first signal
Features
  • Configurable frequency (Hz)
  • Adjustable duty ratio (0–1)
  • Precise phase shift (0°–360°)
  • Simulink-native integration
  • Code generation compatible (Simulink Coder)
Applications
  • Power electronics
  • Motor drives
  • Renewable energy inverters
  • Embedded digital controllers
No additional toolboxes required.
Wavefroms from Simulation
Improvised from: Amit Singh (2025). Phase Shift Pulse Width Modulator (https://www.mathworks.com/matlabcentral/fileexchange/72076-phase-shift-pulse-width-modulator), MATLAB Central File Exchange. Retrieved March 30, 2025.
The new version enhances functionality by introducing configurable frequency, duty ratio and phase shift parameters for broader application in advanced power converter systems.

Cite As

Madhavan Thothadri (2025). Phase Shifted PWM Generator (https://in.mathworks.com/matlabcentral/fileexchange/180593-phase-shifted-pwm-generator), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2024a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Phase Shift Pulse Width Modulator

Communities

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0