how to use two carriers for epwm1a module.
Ältere Kommentare anzeigen
How to use two carriers for a single epwm module. Two 180 degree phase opposition carriers for a single epwms module in a grid fundamental 50 Hz cycle.
Akzeptierte Antwort
Weitere Antworten (2)
Spoorthy Kannur
am 14 Okt. 2025
0 Stimmen
Hi Mandvi,
Could you please clarify the following details:
- Are you working with a specific microcontroller or DSP (e.g., TI C2000 series) using MATLAB/Simulink Embedded Coder, or are you simulating the PWM generation entirely within MATLAB/Simulink?
- Are you aiming to generate two complementary PWM signals (180-degree phase-shifted) from a single ePWM module for a particular modulation technique (e.g., SPWM, SVM)?
- Have you already configured the ePWM module in your model or code? If so, could you share a brief description or screenshot of your current configuration?
Additionally, please refer: https://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
4 Kommentare
Spoorthy Kannur
am 15 Okt. 2025
Hi Mandvi,
Thanks for the update. You can try the following:
- Use ePWM1 as the first carrier.
- Use ePWM2 as the second carrier, configured with a phase shift = TBPRD/2 (i.e., 180° shift).
- Both can have identical compare logic.
Simulink configuration:
- Set ePWM2’s Phase Enable = ON
- Set Phase Offset = half of TBPRD.
- Keep same carrier frequency.
Hope this helps.
Mandvi
am 15 Okt. 2025
Mukul Choudhury
am 27 Feb. 2026
0 Stimmen
Hi Mandvi,
Two carrier cannot be generated for a specific ePWM module in TI C2000 Processors. You may need to change the modulating wave so that it generates the same waveform as generated by two carriers.
Thanks,
Mukul
Kategorien
Mehr zu C2000 Microcontroller Blockset finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
