PWM controlled power supply

Thread Starter

roro36

Joined Sep 7, 2010
52
Basically, I am designing a switched mode power supply that is controlled via a microcontroller. Is it fine to measure the output voltage via an adc and respective voltage divider and then output a pwm to a mosfet driver to control the supply or am I missing something?
I'll also use current control, but thats for later.
 

R!f@@

Joined Apr 2, 2009
9,918
You can do it. But keep in mind about the RAW DC that u have to use to supply primary.
You should isolate the secondary with opto's. Resistive feed back will tend to make the secondary live in some circumstances
 

tom66

Joined May 9, 2009
2,595
Your question depends on how fast the MCU and ADC is.

If it's fast enough to react to load transients or input voltage transients, then your supply will work well.

I think 10kHz bandwidth is probably fine. Depends on your inductor and filter cap though.

Make the inner loop in your PWM control very fast. If you operate at 1 MIPS, then you can only get 100 instructions per cycle in.
 
Top