Effacer les filtres
Effacer les filtres

TMS320F28335: how to disable epwm module after a certain time in simulink

4 vues (au cours des 30 derniers jours)
tcagdas
tcagdas le 25 Mar 2023
Réponse apportée : Shivam Lahoti le 16 Sep 2024 à 10:56
Hi, I have generated PWM signals to be used in open loop svpwm control for f28335 in the matlab/simulink environment. However, I want to stop generating these signals after a certain period of time. I have researched this in detail but couldn't find a solution in the simulink environment. The trip zone unit has been suggested to disable the epwm, but I don't know how to use it. I hope you can help. (I am not use any adc module in my system)

Réponses (1)

Shivam Lahoti
Shivam Lahoti le 16 Sep 2024 à 10:56
Hi,
I understand you want to disable the ePWM module. You can use the Trip Zone unit to disable the ePWM.
You may select the source of the Trip Zone (TZ) either via the input port or via the dialog for a given ePWM. More details can be found by clicking the Help button in the ePWM configuration pane or by visiting the documentation for the block.
The Trip Zone source can be selected from the ePWM TZ configuration pane alone, and no additional software changes are required. Resetting the Trip Zone is a software call and can be achieved by clearing the TZCLR[OST] flag for One-shot trip mode. For cyclic trips, it happens automatically for every PWM cycle.
I hope this helps you resolve the issue.
Regards,
Shivam.

Community Treasure Hunt

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

Start Hunting!

Translated by