Set ePWM to low state when my Simulink program ends

2 visualizzazioni (ultimi 30 giorni)
Hi,
I have a Simulink program (R2017b) which generates complementary ePWMs on a f28335 to drive MOSFETs gates (full H bridge application).
When I stop my program (in external mode), one ePWM keeps a high voltage value, since both of them are complementary. It draws an unecessary high-current in my system.
I would like to be able to set all my ePWMs ports to a low-state logic value when I stop the Simulink simulation.
I've read some topics about "terminate system" blocks and "trip-zone" units, but nothing helped me so far.
Does anyone has any idea of how to implement this function in my program ?
Thanks, Charles

Risposte (0)

Tag

Prodotti


Release

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by