How to switch off all 6 MOSFETs (6SO) with ePWM block from C2000 Motor Control Blockset?

8 次查看(过去 30 天)
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.
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 个评论
Advait
Advait 2024-7-2
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.

请先登录,再进行评论。

回答(1 个)

Mukul Choudhury
Mukul Choudhury 2024-7-3
Hi,
You can ePWM trip zone unit to turn the ePWMs off.
Hope this helps.
Thanks,
Mukul
  1 个评论
Philipp
Philipp 2024-7-4
Hi Mukul,
thank you for your answer. Yes the Trip Zone Module seems right and I already found that.
What is still not clear to me is how to trigger/enable this trip zone via SW.
e.g. since I want to trigger the 6SO via SW I have a bit that should should disable all 6 switches when the bit is set to true and go back to "normal" pwm mode when the bit is false.
For this the block would need a separate input for this bit information. Do I have to enable something else in the ePWM block to get this input?
Thanks,
Philipp

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 C2000 Microcontroller Blockset 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by