How to switch off all 6 MOSFETs (6SO) with ePWM block from C2000 Motor Control Blockset?
6 views (last 30 days)
Show older comments
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 Comment
Advait
on 2 Jul 2024
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.
Answers (1)
Mukul Choudhury
on 3 Jul 2024
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
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!