After making a half bridge inverter using a square wave (I asked a question on this website about it previously) I have now decided to use PWM signal in order to obtain a sine wave output and have come across some new issues.
Here is the circuit on LTSpice:
The load is an 100u inductor and the PWM is created and input into a gate drive before it is used to drive the MOSFETs.
When I run the simulation, the high side mosfet signal (HO)- linked to the behaviour of Vs- follows the shape of the current in the inductor L1 and does not reach 0V and turn off as it should for much of the time causing the circuit to not work.
If I increase the inductor value and therefore decreased the current in the circuit the problem is fixed. However I am not sure I understand why a high current would cause the voltage to not reach zero.
If I replace the inductor with a resistor as the load then the problem also is fixed suggesting it is due to the behaviour of the current due to the inductive load?
Can anyone explain what is causing this or what I need to change in order to fix this circuit?