In many Infineon half‐bridge examples (including the one you referenced), there isn’t an explicit deadtime block because the example is focused on showing device operation rather than detailing a fully realistic gate‐driver scheme. In practice, deadtime is necessary to avoid shoot‐through in a real half‐bridge, but in a simplified simulation, you may not see shoot‐through if:
- Switching signals never overlap in the example’s PWM logic (even if not explicitly labeled as “deadtime”).
- Device conduction times and internal diodes provide enough “natural” delay that the simulation doesn’t exhibit shoot‐through under the default settings.
If you want to insert a conventional deadtime in your own half‐bridge model, here are a few approaches:
- Use a PWM Generator With Built‐In Deadtime
- Some power electronics toolboxes or blocks (e.g., in Simulink or Simscape Electrical) allow you to specify a deadtime parameter directly in the PWM generator block.
- Offset the Gate Signals
- If you’re generating your PWM signals in Simulink (for example, with Pulse Generator or a custom PWM subsystem), insert a small delay (deadtime) between switching the top and bottom devices. Typically you’d ensure the top switch turns off some microseconds before the bottom switch turns on, and vice versa.
- Gate Driver Logic
- You can create a gate driver subsystem that includes logical conditions ensuring that when one device is commanded to turn off, the complementary device waits for a short “deadtime” before turning on. This can be implemented with simple state machine logic or a set of delay blocks.
Below is a quick sketch of how you might add deadtime in a custom PWM subsystem:
basePWM = (sawtooth(2*pi*carrierFreq*t) < dutyCycle);
bottomGateRaw = ~topGate;
bottomGate = DelaySignal(bottomGateRaw, deadtimeDelay);
Alternatively, if you have a specialized “Dead-Time Generator” or “Gate Driver” block in your Simscape library, you can drop it in and configure the desired deadtime.
Follow me so you can message me anytime with future questions. If this helps, please accept the answer and upvote it as well.