How to program an epwm interrupt in Simulink for a TI-F28379D Controller?
21 views (last 30 days)
Show older comments
Benjamin Hoepfner
on 11 Mar 2021
Hi,
I would like to program a Controller and for that I need to interrupt or suppress the epwm generation. I use Simulink to program the Controller and I use the epwm blocks to define all specifications (pwm with A/B Mode - one output is switched on when the other is switched off and vice versa).
The aim is to switch switch off all epwm outups with a specified signal.
Thanks a lot. Benjamin
Accepted Answer
Benjamin Hoepfner
on 27 Mar 2023
Edited: Benjamin Hoepfner
on 27 Mar 2023
8 Comments
tcagdas
on 29 Mar 2023
Edited: tcagdas
on 29 Mar 2023
Thank you very much for the all suggestions. After changing delays sampling time, system still produced PWMs. The newly generated PWMs are different from the ones before I activated my trip zone. It is not performing any of the forced operations. When I run the system in the simulink, the output of the boolean block produces values for different sampling times as in the figure. Could the system still be generating PWM because it produces a continuous stream of 1s and 0s? Also, when I tried using 0 instead of a constant 1, I still saw the same PWM patterns. Even, if I choose the "no action" option, it still produces the same PWMs.
Best regards.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!