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

9 visualizzazioni (ultimi 30 giorni)
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 Commento
Advait
Advait il 2 Lug 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.

Accedi per commentare.

Risposte (1)

Mukul Choudhury
Mukul Choudhury il 3 Lug 2024
Hi,
You can ePWM trip zone unit to turn the ePWMs off.
Hope this helps.
Thanks,
Mukul
  1 Commento
Philipp
Philipp il 4 Lug 2024
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

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by