DEV Community

GeunWooJeon
GeunWooJeon

Posted on

AC 220V to DC 5V Simulation with easy circuits (And Why It Doesn't Work in Reality

In my recent university classes, I learned about three foundational concepts in power electronics: the Buck Converter, the Full-Wave Rectifier, and the Smoothing Circuit.

quickly recap their roles:

Full-Wave Rectifier: Flips the negative half-cycles of an AC voltage into positive ones.

Smoothing Circuit: Filters this pulsating waveform to make it resemble a steady DC voltage.

Buck Converter: Steps down an input voltage to a lower output voltage.

Armed with this knowledge, a thought crossed my mind: "Wait, if I combine these, can I convert the AC 220V from my wall outlet (the standard in South Korea) directly into a DC 5V output for a smartphone charger?"

I immediately booted up my software, designed the circuit, and ran the simulation. The result? Success! I managed to get the exact DC 5V output I was aiming for. It is always incredibly satisfying to see theoretical concepts work perfectly on the screen.

The Reality Check
However, I quickly realized that a successful simulation does not necessarily mean a practical design. If I were to actually build this, there are major engineering flaws:

  1. Physical Size
    The components required for this specific topology would be incredibly bulky. There is no way this circuit could fit inside the compact smartphone chargers we carry around every day.

  2. Extreme Duty Cycle
    Stepping down from AC 220V RMS (which has a peak voltage of over 311V) directly to 5V requires an absurdly low duty cycle. In my simulation, the switch-on time was a mere 1.6%. Controlling a pulse width that narrow with any level of stability and precision is an absolute nightmare.

  3. Massive Switching Losses
    Dropping from 220V RMS to 5V using a standard buck converter topology would result in astronomical switching losses. The efficiency would be terrible, and the heat generation would be unmanageable.

This experiment was a great way to understand the limitations of basic topologies. To solve these exact issues—size, efficiency, and extreme step-down ratios—modern chargers use an entirely different approach.

Therefore, my next step is to study the Flyback Converter. It is an isolated topology perfectly designed to handle these challenges. I am excited to simulate it next and see how it improves upon my initial design. Stay tuned!

Top comments (0)