A standard AC to DC conversion circuit diagram for a 5V bench supply uses a step-down transformer, a full-wave bridge rectifier, a bulk filter capacitor, and a linear voltage regulator. For a 12VAC input delivering 1A at 5VDC, the exact bill of materials is a W10G bridge rectifier, a 2200µF 25V electrolytic capacitor, and an LM7805 TO-220 regulator paired with a 0.1µF ceramic bypass capacitor. This topology provides clean, low-noise DC ideal for prototyping analog sensors and microcontrollers without the high-frequency switching noise inherent in buck converters.
The Standard AC to DC Conversion Circuit Diagram: Topology & Nodes
To build this power supply, you need to understand the four distinct nodes in the linear conversion topology. Tracing the schematic from left to right, the AC waveform is progressively shaped into a flat DC line.
- Node 1 (AC Input): The secondary winding of your step-down transformer. For this design, we assume a 12VAC RMS output. The voltage here is a sine wave swinging between +17V and -17V peaks.
- Node 2 (Pulsating DC): The output of the bridge rectifier. The AC waveform has been folded up so all peaks are positive. The peak voltage drops by roughly 1.4V due to the forward voltage drop of the two conducting silicon diodes in the bridge.
- Node 3 (Filtered DC): Post-capacitor. The bulk electrolytic capacitor charges to the peak voltage and discharges slowly between AC cycles, smoothing the pulsating DC into a relatively flat line with a small sawtooth 'ripple'.
- Node 4 (Regulated DC): The output of the linear regulator. The regulator acts as a smart, variable resistor, burning off excess voltage as heat to maintain a rock-solid 5.0V DC output, completely eliminating the ripple from Node 3.
Decision Path: Linear Rectifier vs. Switching (SMPS) Module
Before soldering, you must decide between a linear topology and a Switching Mode Power Supply (SMPS). While SMPS modules are highly efficient, they introduce high-frequency switching noise that can ruin ADC readings on an Arduino or ESP32. Use the decision matrix below to select your topology.
| Condition / Requirement | Linear Topology (LM7805) | SMPS Buck Converter |
|---|---|---|
| Load Current < 1.5A | Optimal | Overkill |
| Load Current > 2.0A | Fails (Thermal Overload) | Optimal |
| Noise Sensitivity (Audio/ADC) | Ultra-Low Noise | High MHz Ripple |
| Input-to-Output Differential | Poor (Burns heat) | Excellent |
The Concrete Pick: If your load is under 1.5A and you are prototyping analog sensors, audio circuits, or precision ADC nodes, terminate your decision here: Build the linear LM7805 topology. Do not use a cheap buck converter module, as the 50kHz+ switching noise will couple into your signal traces and cause erratic microcontroller behavior.
Design Walkthrough: Picking Real Component Values
Let's calculate the exact component values for a 12VAC to 5VDC supply delivering 1A of continuous current. This requires verifying ripple voltage and thermal dissipation.
1. The Rectifier Bridge
Select a W10G or KBP206G bridge rectifier. These are rated for 1.5A to 2A and 600V to 1000V. While 1000V is massive overkill for a 12V system, these standard through-hole bridges cost pennies, handle the 1A load easily, and survive accidental short circuits better than ultra-low-voltage Schottky bridges.
2. The Filter Capacitor (Ripple Math)
The capacitor must be large enough to prevent the voltage at Node 3 from dipping below the LM7805's dropout voltage (roughly 7V). We calculate the peak-to-peak ripple using the standard formula cited in All About Circuits' rectifier theory:
Vripple = Iload / (f × C)
- Iload = 1A
- f = 120Hz (Full-wave rectification of 60Hz mains doubles the frequency)
- C = 0.0022F (2200µF)
Vripple = 1 / (120 × 0.0022) = 3.78V peak-to-peak ripple.
The peak voltage at Node 2 is (12V × 1.414) - 1.4V diode drop = 15.57V. Subtracting the 3.78V ripple gives a valley voltage of 11.79V. Because 11.79V is well above the LM7805's 7V minimum input requirement, a 2200µF, 25V electrolytic capacitor is the perfect choice. Never use a 16V capacitor here; the 15.57V peak leaves zero margin for mains voltage surges.
3. The Regulator and Thermal Reality
The Texas Instruments LM7805 in a TO-220 package is the industry standard. However, linear regulators burn excess voltage as heat. Power dissipated = (Vin_avg - Vout) × Iload. Assuming an average input of roughly 13.5V, the regulator dissipates (13.5V - 5V) × 1A = 8.5 Watts. A bare TO-220 package has a thermal resistance of ~65°C/W. Without a heatsink, the junction temperature will rise by 550°C, instantly triggering thermal shutdown or destroying the silicon. You must bolt the LM7805 to a heatsink rated for at least 10°C/W and apply thermal paste.
Behavior Matrix: Component Drift and Failure Modes
Understanding what breaks at the extremes is critical for troubleshooting. Here is how the circuit behaves when specific elements fail open or short.
| Element | Failure Mode | Circuit Behavior & Extreme Result |
|---|---|---|
| Bridge Rectifier | One diode opens | Full-wave becomes half-wave. Ripple frequency drops from 120Hz to 60Hz. Ripple voltage doubles to ~7.5V. The valley voltage drops to 8V, causing the LM7805 to drop out of regulation under heavy load, resulting in 120Hz hum on the 5V rail. |
| Filter Capacitor | Short Circuit | Massive inrush current flows directly from the transformer through the bridge. The bridge rectifier will likely melt or explode, and the transformer's internal thermal fuse will blow, permanently killing the transformer. |
| Filter Capacitor | Dries out (C drops) | Equivalent to increasing ripple. Output voltage will 'bounce' between 5V and 3V as the regulator repeatedly enters and exits dropout during the AC cycle. |
| Bypass Caps (0.1µF) | Omitted / Missing | The LM7805 will likely oscillate at high frequencies (MHz range) due to parasitic trace inductance. The DC output will appear as 5V on a slow multimeter, but an oscilloscope will reveal massive high-frequency ringing that will crash ESP32 Wi-Fi radios. |
| LM7805 Output | Shorted to GND | Current spikes to maximum transformer capacity. If properly heatsinked, the LM7805's internal thermal and short-circuit protection will shut it down safely. If unheatsinked, the silicon die will overheat and crack. |
Step-by-Step Breadboard Testing & Verification
Do not plug the transformer into the wall until you have verified each stage incrementally. Follow this exact sequence to prevent component destruction.
- Verify Transformer Isolation: Before powering the transformer, set your digital multimeter (DMM) to resistance/continuity mode. Measure between the primary (mains) prongs and the secondary (low voltage) wires. The reading must be 'OL' (infinite). If there is any continuity, the transformer is defective and poses a lethal shock hazard. Discard it.
- Test the Bridge Rectifier: Set your DMM to 'Diode Test' mode. Measure across the AC input pins of the W10G bridge. You should read 'OL' in one direction and a high voltage drop in the other. Measure between the '+' and '-' DC output pins; it should read 'OL' both ways. If it reads near 0V, the bridge is internally shorted.
- Verify Node 2 & 3 (Unloaded): Connect the transformer secondary to the bridge AC pins. Connect the 2200µF capacitor to the bridge DC pins (observe polarity!). Power the transformer. Set your DMM to DC Voltage. Measure across the capacitor. You should read ~15.5V DC. Switch your DMM to AC Voltage and measure across the capacitor; it should read less than 0.5V AC (the residual ripple).
- Test the Regulator (No Load): Power down. Insert the LM7805. Connect the 0.33µF ceramic cap between the input pin and ground, and the 0.1µF cap between the output pin and ground. Power up. Measure Node 4. It must read exactly 5.0V ± 0.2V.
- Load Test & Thermal Check: Connect a 5-ohm, 5W power resistor across the 5V output to draw exactly 1A. Let it run for 3 minutes. Measure the output voltage; it should not drop below 4.8V. Carefully hover your hand over the LM7805 heatsink. It should be warm (around 60°C), but not hot enough to instantly burn your skin. If it is untouchable, your heatsink is undersized.
By following this topology and verifying the ripple math, you guarantee a robust, low-noise 5V rail that will reliably power your microcontrollers and analog circuits without the hidden pitfalls of switching regulators.






