Electrical – Design an AC/DC Nonisolated Switching Mode Power Supply

ac-dcdc/dc converterswitch-mode-power-supply

I'm designing a fifth generation pcb for my project and yet I stumbled across another design problem. First of all, the circuit and all components are enclosed from the environment and users (because non-isolated) for safety.

My design would rectify the mains (European 230V AC) to a DC voltage and after that some buck-switching controller would do the job. The only problem here is, that there aren't such IC's, that would accept the ~350V DC voltage. After looking at DC-DC Converters from LCSC, I knew there are those Switching Controllers, but after a while – all the datasheets feature an isolation transformer to step-down the voltage.

For the previous designs I was using the HLK-PM01 PSU, but that's wasting a lot of space.
HLK-PM01

I planning to use a non-isolated supply, because it doesn't require a custom transformer to build, just an inductor that I'll even find at LCSC.

Power output requirement: 5V at 150mA (maximum), to power an ATmega168P with some SPI/I2C chips.

In what direction should I search to find some information related to this kind of SMPS? I'll be really grateful for all advices I can get from others, more experienced engineers.

Best Answer

Given you need it to power some controller with bus, if there is anything going out of your enclosure, like a I2C Line or SPI Line or anything like it, it is strongly suggested to do an isolated supply!

The risk is not about the power supply itself, but if the power supply fails, you might end-up with your electronic at 260V and whatever is connected to it downstream, which can kill.

To do so you don't need custom transformer, there are plenty of parts doing the job.


The chip itself doesn't need to be able to support the main's voltage, you are probably looking at the wrong category. Usually you would use "Controller" chip, which will control mosfets either with a single mosfet and flyback diode or two mosfets for better efficiency.

There are plenty of chip on the market for that purpose.


Non-Isolated

You can check here for reference design, there is a table that shows the input voltage.

There is also here a reference design page 8

There are really multiple possible design, it's mostly about a question of cost, efficiency and size.

This design is able to take 260VAC input to 22V output and is farily simple.

enter image description here


Isolated:

This one is similar but isolated, and all the parts are given, you can just order as the BOM and copy the design. You just need to adjust some resistor to have the voltage output you need.

enter image description here

Related Topic