I am trying to build a 260V input mains circuit for a 36V output and 25W Power. I have calculated the required Resistance, Capacitor, and Inductance, I have got the required results. However, I am required to make a closed-loop PWM. Could anybody please help? Thanks! PS: I am very new to LT Spice and Power Electronics.
Also, I am posting my output. Please do take a look and let me know. Something that is not visible on the circuit is that I have used a 70 ohm Series resistance with the inductor.I am looking for making a closed loop PWM so that I dont have to use a constant Duty Cycle.