Question about the deadtime issue of the demo 'optimize model'

Dear specialst:

I am a little confused about the double switch in the demo file 'optimize model' , in my humble opinion ,it cannot detect deadtime from the PWM capture? And I noticed that in the application example of 28379D launchpad+RT-BOX ,all switches are IGBTS instead of double switch ,[b]so it's better that  we use the IGBT when we need to use launchpad and RT-BOX together ?[/b]

You should use the appropriate component from the Electrical + Power Modules section of the PLECS Library.

The purpose of the double switches in this exercise is to highlight that reducing the number of switching combinations significantly reduces the code complexity and code generation time. One should not use the double switch in practice. The hybrid power modules have the benefit of reducing the number of switching combinations. As mentioned in the tutorial:

“The Double Switch component does not have built in diodes to represent inverter blanking states. The Double Switch component is not compatible with the PWM Capture block and cannot detect shoot-through states. Hybrid power modules overcome these limitations.”