How to simulate the deadtime with PSIM SimCoder?

Liang Zipeng
Liang Zipeng New Altair Community Member
edited March 2023 in Community Q&A

As I have nocticed in the PSIM simulation, the PWM waveforms generated by the PWM block with SimCoder do not have deadtime? Is this a feature for the SimCoder?imageimage

Tagged:

Answers

  • Albert_Dunford
    Albert_Dunford
    Altair Employee
    edited March 2023

    deadtime is not simulated as part of the code gen elements, it is implemented in the code as documented in the help.

    image

    however you can insert deadtime on the external side of the PWM element if you want simulate it. use help->index to find the example deadtime circuit.

    image

    We did not include deadtime as part of simulation as it will drive a very small timestep while having little impact on the behaviour of the simulation.