Another episode in the power supply saga courtesy of yours truly.
This time, we will be focusing on the UC3842 current-mode controller. We will be making a small, cheap, low parts count, low power flyback supply using a 5vsb transformer from an ATX PSU.
A current mode controller has two feedback loops. One for voltage, one for current. Along with sensing the output voltage, it directly senses the current in the power switch, enabling better line regulation, and overcurrent/short circuit protection comes free. Done properly, a current-mode SMPS cannot be damaged by a secondary side overload or component failure. Trust me, i tried.
It also makes compensation easier, but that's something i'll get into a while later, gotta figure it out myself first.
I will be loosely basing my work on this design:

The general idea is good, but there are a few things that could use improvement. I've built my version on a perfboard. It looks like a disaster waiting to happen, but it works just fine. It'll drive anything all day long, and gets away without any heatsinks. Outputs 12W or so before going into current limiting, and i made it adjustable up to 15v. Flyback topology is nice in that regard. I'll be posting an updated schematic soon, and i'll also be making a PCB i will share here. Time to put those scrap 5vsb transformers to good use.
I see this as an all-round wallwart replacement.
Right now i'm using it to charge the SLA i drained during its development.
I don't have an isolation transformer so i'm using an inverter and battery when i want to scope stuff in the primary of a SMPS.
This time, we will be focusing on the UC3842 current-mode controller. We will be making a small, cheap, low parts count, low power flyback supply using a 5vsb transformer from an ATX PSU.
A current mode controller has two feedback loops. One for voltage, one for current. Along with sensing the output voltage, it directly senses the current in the power switch, enabling better line regulation, and overcurrent/short circuit protection comes free. Done properly, a current-mode SMPS cannot be damaged by a secondary side overload or component failure. Trust me, i tried.

It also makes compensation easier, but that's something i'll get into a while later, gotta figure it out myself first.

I will be loosely basing my work on this design:

The general idea is good, but there are a few things that could use improvement. I've built my version on a perfboard. It looks like a disaster waiting to happen, but it works just fine. It'll drive anything all day long, and gets away without any heatsinks. Outputs 12W or so before going into current limiting, and i made it adjustable up to 15v. Flyback topology is nice in that regard. I'll be posting an updated schematic soon, and i'll also be making a PCB i will share here. Time to put those scrap 5vsb transformers to good use.

Right now i'm using it to charge the SLA i drained during its development.

Comment