how to use two carriers for epwm1a module.
Afficher commentaires plus anciens
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.
Réponse acceptée
Plus de réponses (2)
Spoorthy Kannur
le 14 Oct 2025
0 votes
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 commentaires
Spoorthy Kannur
le 15 Oct 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
le 15 Oct 2025
Mukul Choudhury
le 27 Fév 2026
0 votes
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
Catégories
En savoir plus sur C2000 Microcontroller Blockset dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
