Hi there, with i double pulse test (DPT) i try to trigger my HW overcurrent protection, using the desaturation measurement from my gate driver. This will trigger the Tripzone signal in my controller (Control card F28379D)

I would like the PowerStage Protectionj to handle the rest

To not suffer from the 100ms delay at the start, i enable the short circuit the power stage protection in this way (simplified here, but it works in practice):
Toggling the bStart_DPT, will enable the gate driver for a pulse, and shuts down again.
With this setup i can gradually test my overcurrent limit, by increasing the dc voltage, this works fine.
However the issue comes, when a overcurrent trip happens, the TripZone is activated, and the powerstage protection prevents further switching. However how can i show inside the sw, that there was actually a overcurrent trip? The TripZone pin is not accessible, and the Powerstage Protection output still shows output “1”, so i have no clue that i have to reset the Powerstage protection by toggling bEna.
Any advice?
Hi kenzderbenz,
Cool use of the TI TSP!
Is the external comparator in your gate driver latched, or is it a simple, non-latching comparator?
With an OCP event, the gate driver is turned off as soon as the comparator trips. Unless the fault detection hardware latches the fault, the comparator output will typically reset once the overcurrent condition clears.
If the fault detection circuit latches the fault, you can use a Digital Input block to monitor the pin configured as the TZ1 GPIO and detect whether a fault has occurred. I would then use one of the red LEDs on the control card as a visual indicator. One simple approach would be to configure the Powerstage Protection output to turn on the LED when a trip occurs.
You can use a Digital Input block to monitor the TripZone pin, but as mentioned above, if the OCP detection hardware does not latch the fault, you may not be able to observe the pin becoming active.
Alternatively, the Powerstage Protection output becoming active indicates that the system has experienced a fault, so you could use that as the fault indicator. You could also use this signal to drive an LED, making it easier to identify when a trip has occurred and the protection needs to be reset by toggling bEna.
Unless I am misunderstanding your question, this should provide a way to indicate that an OCP event has occurred.
Hope this helps!
Hi Munadir,
the gate driver signal is not latched, which is the main issue.
And anyway i would not be able to use a digital input block to monitor the same GPIO where the TZ is defined (I tried that already), since this throws an error (something like gpio already used).
But even if it is not latched, the system knows, that there was a overcurrent trip, and it awaits a power cycle on the enable pin of the Powerstage protection circuit. However how to access this information?
Hi kenzderbenz,
It is not entirely clear to me what you are trying to achieve. Are you looking to implement an automatic restart sequence for your system? I would imagine that, for double-pulse testing, you would not want the system to automatically restart and continue testing, given the potential risk of hardware damage.
If your goal is to implement an automated recovery sequence, you could achieve this using a supervisory controller built around a state machine. The output signal of the Powerstage Protection block provides the fault status of the system. You can monitor the falling edge of this signal to detect when a fault has occurred and use that event to initiate your recovery sequence.
To illustrate this, I introduced a digital fault scenario using a few jumper wires on the F28379D LaunchPad. The oscilloscope waveform below provides a simple validation of what is happening on the actual hardware. Channel 7 records the ePWM1A output, while Channel 15 records the Powerstage Protection enable digital output (active high).
Here is the same waveform captured in PLECS using the Powerstage Protection output signal in the model. For this demonstration, I set the PWM frequency to 5 kHz and the ISR frequency to 50 kHz. I also physically routed the ePWM1B output to a digital input using a jumper wire.
As you can see, you can use the falling edge of the Powerstage Protection output to detect a fault and initiate the appropriate recovery sequence.
Hope this helps!
tripzone_digitalinput_invesigation.plecs (33.8 KB)