Skip to main content

Power Supplies - From AC to Clean DC


💡 Why Do We Need Power Supplies?​

Most electronics need clean, steady DC voltage, but wall outlets give us AC (alternating current)! Power supplies convert AC to the DC our circuits need.


🔧 The Basic Linear Power Supply​

Here's the classic 4-stage linear power supply:

Let's look at each stage!


Stage 1: Transformer - Voltage Step-Down​

First, we need to reduce the high voltage AC to a lower level.

How it works:

  • Uses electromagnetic induction
  • Primary coil → magnetic field → secondary coil
  • Voltage ratio = number of primary turns / secondary turns
  • 10:1 ratio = 120V in, 12V out

Stage 2: Rectifier - AC to Pulsating DC​

Now we convert the "back and forth" AC to "only forward" DC.

Bridge Rectifier (4 diodes):

  • Positive cycle: D1 and D4 conduct
  • Negative cycle: D2 and D3 conduct
  • Result: current always flows the same direction!
  • Also look for pre-built "diode bridges" in one package

Stage 3: Filter - Smooth the Pulsations​

The rectified DC still has big pulses - we need to smooth it out.

How it works:

  • Large capacitor (1000μF+) charges during peaks
  • Discharges slowly between peaks
  • Result: much smoother DC voltage
  • Larger capacitor = less "ripple"

Stage 4: Regulator - Make it Precise​

Even with filtering, the voltage still varies! A regulator keeps it steady.

Common Regulators:

  • 7805: Fixed 5V output (78xx series - last two digits = voltage)
  • 7812: Fixed 12V output
  • LM317: Adjustable output (1.25V to 37V)
  • L7805, L7812: Low drop-out variants

LM317 Adjustable:

Vout = 1.25V × (1 + R2/R1)
Typical: R1 = 240Ω, R2 = variable pot

💡 Linear vs Switching Supplies​

Linear Power Supplies​

  • Pros: Simple, low noise, low cost
  • Cons: Inefficient, can get hot (needs heatsink)
  • Best for: Low power, analog circuits, audio

Switching Power Supplies​

  • Pros: Highly efficient, small, lightweight
  • Cons: More complex, more noise
  • Best for: High power, compact designs

🎓 Classroom Example​

Build a Simple 5V Supply:

  1. Use a 9V wall adapter (transformer + rectifier + filter already done!)
  2. Add a 7805 regulator
  3. Add 0.1μF and 10μF capacitors on input/output
  4. Measure the output - you should have clean 5V DC!
  5. Try powering your Arduino or breadboard circuit

This shows each stage in action, and gives you a practical supply for experiments!


💡 Summary​

  • Power Supply Stages: Transformer → Rectifier → Filter → Regulator
  • Linear Supplies: Simple but less efficient
  • Switching Supplies: Efficient but more complex
  • 78xx Series: Easy fixed-voltage regulators
  • LM317: Adjustable output, very versatile!
  • Fundamental: Every electronic device needs a power supply!