i am doing a project on class d amplifiers.in this i am using four nmosfets for h bridge.
i am using sine wave 20hz-60hz with triangular wave 400-800hz to generate pwm which is used for gating signal of mosfet.
mosfet drain is conecting to 28v dc.
i need to get 28v pwm with sine wave freq and shape.but it is not coming like that.i know that filter impedance is not matching .my concern is o/p is not following drain voltage but opto isolators vce.i am using ltspice
check this