This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-F28379D: How to switch off all 6 MOSFETs off (6SO) with Microcontroller Blockset?

Part Number: LAUNCHXL-F28379D
Other Parts Discussed in Thread: BOOSTXL-DRV8305EVM

Tool/software:

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 Microcontroller Blockset in Simulink.

I generate the three dutycycle commands for the three phases and use the ePWM blocks from the 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?

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).

  • Hello Philipp

    The expert of this topic is currently on leave. Please expect a response after June 24.

    Thanks

    Amir

  • Hello Amir,

    any update already you could give me?

    I took a further look into the ePWM block from the Blockset and tried playing around with trip zones and the SW force logic.
    So far I didn't get the result I was looking for. All 6 switches should be disabled when commanded via SW.

    Thanks
    Philipp

  • Hi Philipp,

    Using the ePWM trip zones is the correct way and you can configure the ePWMs to force LOW state on trip. You can can force a one-shot trip using TZFRC[OSHT] register and there are some other ways as well.

    I'll pass your question to an ePWM expert on our team. I may also suggest posting on the MATHWORKs forum for Simulink block config support.

    Best,

    Kevin