Add dead time in Simulink

Hi, I am trying to control an H bridge cell. So in order to avoid two swithes turn ON at the same time, I need to add the dead time. I would expect a similar waveform as below. Does anyone konw how to achieve this in Simulink? Thank you so much!
pwm-complementary-outputs-dead-time.svg

 Accepted Answer

Rick Hyde
Rick Hyde on 12 Nov 2021
We now have the Gate Driver and Half-Bridge Drive blocks in Simscape™ Electrical™ which allow you to specify dead-time/blanking time in a numerically efficient way. Please see the screenshot below. Hope you find this solution useful.
Rick

2 Comments

Hi,
This is helpful, thanks. However, what kind of ports (or devices) should be connect to the output of Driver? I used Simulink-PS converter for the input, it can be connected. But, at the output, I used PS-Simulink converter and it cannot connected to Simulink signal MOSFET.
The output pins of the driver block should be directly connected to Simscape electrical ports on semiconductor device models in the Simscape Electrical library.

Sign in to comment.

More Answers (3)

Yonghui Xu
Yonghui Xu on 28 Mar 2019
Add following blocks to your switching signal path and you can set the deadtime by setting the time delay of the transport dealy block.
Dead_Time.JPG

2 Comments

tor o maire bap
thanks for the answer

Sign in to comment.

Mark Sherstan
Mark Sherstan on 14 Dec 2018

5 Comments

Hi Mark,
But transport delay only shift my pulse to the rigt.
untitled.jpg
How about the part I circled red? I need a narrower band for switch 2.
Capture.PNG
Thank you so much!
So this is what you would like?
Capture.PNG
From what I can see some other people have ran into the same issue for example here and here. The best solution was either go to discrete time or build the signal with delays or logic gates. I generated the signal as so.
Capture.PNG
With the top pulse generator block having values of: 1, 2, 50, 0 and the bottom pule generator block having values of 1, 2, 25,1.25.
Its not the greatest solution but hopefully that works for you?
Hi Mark,
Thank you for your help. But the problem is that the pulse here just represent a PWM. So the PWM is not a uniform pulse, I couldn't just enter numbers. I will take a look at your suggested link. Thank you again.
Hello,
I tried this for my discrete time PWM model:
and it seems to be working alright:
you could even configure a variable delay in the "delay" block settings.
I hope that helps.
Zoe
tomar maire bap

Sign in to comment.

Lazuardi Agung
Lazuardi Agung on 17 Dec 2022
thanks, for solving my problem. by just adding transport delay block we can easyly add dead time control

Community Treasure Hunt

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

Start Hunting!