How to switch off all 6 MOSFETs (6SO) with ePWM block from C2000 Motor Control Blockset?
68 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I'm currently developing a control algorithm for a PMSM.
I'm using the F28379 Launchpad and the BOOSTXL-DRV8305EVM.
To model the algorithm, I'm using the C2000 Microcontroller Blockset in Simulink.
I generate the three dutycycle commands for the three phases and use the ePWM blocks from the C2000 motor control blockset in the following.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1723461/image.png)
For the algorithm I'm also including a safestate, where all 6 switches of the inverter should be switched off.
How can I do this while maintaining the ePWM blocks as "connection" to the hardware?
What command signals do I have to sent to the ePWM block as input to achieve that behavior?
Just requesting a voltage vector with amplitude = 0 in the alpha-beta-system obviously doesn't work,
since this will lead all 3 highsides switched on or all lowsides being switched on (space vector 0/7).
I tried playing around with the tripzone tab inside the block but so far wasn't able to get the desired behavior.
Thanks for the help!
1 commentaire
Advait
le 2 Juil 2024 à 8:00
Hi @Philipp, thanks for your question. I shall try to check if I can find someone who can answer the question. Meanwhile, please note that you also have access to our technical support for any questions in the future. Alternatively you can reach out to me as I am the central point of contact for your account. Thanks, Advait.
Réponses (1)
Mukul Choudhury
le 3 Juil 2024 à 8:59
Hi,
You can ePWM trip zone unit to turn the ePWMs off.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1726611/image.jpeg)
Hope this helps.
Thanks,
Mukul
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!