2023-09-15 12:50 PM
Hi
Assume that i set up an H-bridge and and control it via the HRTIM block and use the build in deadtime features. I then also enable a couple of faults. The bridges safe state will be to set both lower transistors to be OFF and the two upper once to be off. I then run the H-bridge in a PSFB mode.
Now all of a suddenly a fault is triggered while the bridge is conducting. Lets say that "top left" and "bottom right" transistor is enabled. Transition to safe state will cause the mcu turn off "top left" and turn on "bottom left" but will it respect the configured deadtime while preforming this transition or will it change both outputs simultaniously and risk a left side shoot thru on the H-bridge
Best regards
Martin
2023-09-27 01:20 AM
Hello Martin @DreamOnDirac
According to the Reference Manual, "Once a fault has been triggered, the outputs take a predefined safe
state. This state is maintained until the output is re-enabled by software.". There is no deadtime when a fault occurs, all outputs are forced to the low level in case of FAULT event.
Here is some documentation, the RM(~ page 919) and the AN4539(~ page 27).
Best Regards,
Pierre
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-10-01 01:23 PM - edited 2023-10-03 06:15 AM
How sure are you on this?
I discovered this presentation:
And looking at page 36. There appear to be a dead time insertion on fault.
Or is this related to "Burst mode delayed entry" and the DIDL bits. If this could be used without actually using the burst mode controller, that might acheive want I want.
Regards
Martin
2023-10-02 08:15 AM - edited 2023-10-03 06:16 AM
(Deleted by author)
2023-10-03 09:05 AM
Hello Martin @DreamOnDirac,
Best Regards,
Pierre
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-10-06 07:23 AM
Hi
If anyone else finds this thread.
I did not succeed in using hardware to fix this. Instead i made sure that any faults made sure that the entire H-bridge was drawn low and I then set the HRTIM FLT interrupt to be the highest priority in the system:
Inside the ISR I turned on the bottom transistors again. This gave me a "deadtime" to the deenergize state of around 550 ns which is not ideal, but a lot better than what i used to have.
Regards
Martin