how to use two carriers for epwm1a module.
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (2)
Spoorthy Kannur
el 14 de Oct. de 2025
0 votos
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 comentarios
Spoorthy Kannur
el 15 de Oct. de 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
el 15 de Oct. de 2025
Mukul Choudhury
el 27 de Feb. de 2026
0 votos
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
Categorías
Más información sobre C2000 Microcontroller Blockset en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
