Strand 2 (Electrical/Electronics) — Power Supplies: From Mains AC to Usable DC and Back Again
Transformer-powered supplies vs line-connected (transformerless) supplies (2.7.1)
A power supply is any circuit that takes an available source of electrical energy (mains AC, a battery, a generator) and delivers the voltage, current, and waveform a load needs. In electronics work, the two most common starting points are:
- Transformer-powered (isolated) supplies: mains AC is first passed through a transformer.
- Line-connected (non-isolated/transformerless) supplies: the circuit is connected directly to the mains without a mains-frequency isolation transformer.
Understanding the difference matters because it’s fundamentally about safety, isolation, and fault behavior—and those determine what you are allowed to touch, how you test, and how you protect the user.
What a transformer-powered supply is
A transformer-powered supply uses a mains-frequency transformer to:
- Provide galvanic isolation: there is no direct conductive path from the mains to the low-voltage output.
- Step voltage up or down: most often down (e.g., to ).
Because the secondary is isolated, you can reference it to your circuit ground safely (within limits), and accidental contact with one secondary conductor is far less likely to cause a dangerous shock—though you can still be harmed by high current at low voltage under certain conditions.
What a line-connected supply is
A line-connected supply has its circuitry electrically referenced to the mains. Common forms include:
- Capacitive dropper supplies (small current, cheap appliances)
- Resistive dropper supplies (wasteful, mostly for tiny loads)
- Non-isolated switch-mode supplies (some LED drivers and industrial circuits)
These can be compact and low-cost, but they are not safe to treat as “low voltage” just because the output looks like or . The output may be at mains potential relative to earth.
Key differences (what you should be able to identify)
| Feature | Transformer-powered (isolated) | Line-connected (transformerless / non-isolated) |
|---|---|---|
| Isolation | Yes (galvanic) | No (output may be live) |
| Safety in handling/testing | Much safer for bench work | Requires extreme caution and proper isolation practices |
| Size/weight (mains-frequency) | Larger/heavier | Smaller/lighter |
| Efficiency | Moderate (linear supplies especially) | Can be high (SMPS), but depends on topology |
| Output current capability | Often higher (limited by transformer rating) | Often limited in simple droppers; SMPS can be high |
| Fault behavior | Transformer limits some faults; isolation helps | Faults can place dangerous voltages on accessible parts |
A common misconception is: “If the output is only , it’s safe.” In a line-connected supply, the output voltage level can be low while the output is still hazardous because it is not isolated from mains.
Exam Focus
- Typical question patterns:
- Given a block diagram or photos of components, identify whether the supply is isolated (transformer-powered) or line-connected.
- Explain why isolation matters for user-accessible outputs and test equipment grounding.
- Compare advantages/disadvantages (size, cost, safety, efficiency).
- Common mistakes:
- Confusing “low voltage output” with “safe output” (ignoring isolation).
- Assuming all switch-mode supplies are isolated—some are, some are not.
- Forgetting that an isolation transformer changes how you can connect grounded instruments (like oscilloscopes).
Regulated power supplies: constructing and installing (2.7.3)
A regulated power supply is designed to hold its output voltage (or current) relatively constant despite changes in:
- Load (the circuit drawing more/less current)
- Input (mains variation, battery sag)
- Temperature (component changes)
Regulation matters because most electronics don’t just need “approximately DC”—they need a DC rail that stays within tolerances. A microcontroller might reset if the rail dips; an amplifier might distort if ripple rises.
The classic regulated DC supply chain (from AC mains)
A very common architecture is:
- Transformer (optional but common for isolation and voltage step-down)
- Rectifier (diodes convert AC to pulsating DC)
- Smoothing capacitor (reduces ripple)
- Regulator stage (holds voltage steady)
- Protection (fuse, thermal protection, current limiting)
Each stage solves a different problem: rectification gives you one polarity, smoothing reduces variation, and regulation corrects what ripple and load changes remain.
Linear regulation (how it works and when it’s used)
A linear regulator acts like an automatically adjustable resistor that “drops” the extra voltage as heat to keep the output steady.
- Pros: simple, low noise, easy to design.
- Cons: inefficient when is much higher than because the wasted power becomes heat.
A key design concept is dropout / headroom: the regulator needs input voltage above the desired output. For a typical linear regulator, you ensure:
Also, linear regulators dissipate power:
This is why heat sinks and thermal shutdown matter in construction.
Switch-mode regulation (buck/boost ideas)
A switch-mode power supply (SMPS) regulates by rapidly switching energy into inductors/transformers and smoothing it, typically using feedback.
- Pros: high efficiency, can step up or step down, smaller magnetics at high frequency.
- Cons: more complex, switching noise/EMI, layout-sensitive.
Even if you don’t build a full SMPS from scratch, you should recognize that many “regulated adapters” are SMPS types, and their isolation depends on topology and transformer usage.
Smoothing capacitor and ripple (the idea behind the math)
After rectification, the waveform is pulsating. A reservoir capacitor charges near the peaks and discharges into the load between peaks, creating ripple.
A widely used approximation for capacitor-input ripple is:
- is load current
- is capacitance
- is ripple frequency
For mains-based rectifiers:
- Half-wave:
- Full-wave/bridge:
So full-wave smoothing is easier because ripple frequency is higher, making ripple smaller for the same .
Worked example: choosing a smoothing capacitor (concept-to-design)
You want DC at , and you can tolerate about peak-to-peak ripple before regulation.
Assume a full-wave rectifier on mains, so .
Use:
Substitute:
Convert:
In real builds, you’d often choose the next standard value above this and consider capacitor voltage rating (with margin), ripple current rating, and temperature.
Installation and build practices that matter
When you “construct and install” a regulated supply, reliability often depends on practical details:
- Place rectifier and reservoir capacitor close together to reduce high ripple currents in long traces.
- Ensure correct polarity for electrolytic capacitors—reversal can cause failure.
- Provide strain relief and insulation for mains wiring; keep creepage/clearance distances.
- Add bleeder resistors (where appropriate) so capacitors discharge after power-off.
- Verify thermal design: compute and confirm the regulator’s junction temperature stays safe.
Exam Focus
- Typical question patterns:
- Given a block diagram, explain what each stage (rectifier, filter, regulator) does.
- Calculate ripple using and choose a capacitor.
- Determine regulator power dissipation using .
- Common mistakes:
- Forgetting that full-wave doubles the ripple frequency.
- Ignoring capacitor voltage rating and ripple-current rating.
- Underestimating heat in linear regulators (no heat sink, no airflow).
Fuses and circuit breakers: selection and installation (2.7.4)
Overcurrent protection prevents wires, components, and users from harm when something goes wrong—short circuits, overloads, failed components, or wiring mistakes. Two common protective devices are:
- Fuse: a sacrificial element that melts when current exceeds a threshold for long enough.
- Circuit breaker: a resettable device that trips open under overload/short circuit.
Why protection is part of power-supply design
Power supplies can deliver significant fault current—especially transformer-based supplies with large capacitors. Without protection:
- Wires can overheat and cause fire.
- Rectifier diodes or transformers can fail violently.
- A single fault can energize exposed metalwork.
Protection devices are chosen to protect the wiring and supply, not to “protect the load at all costs.”
How to choose a fuse (the practical criteria)
When selecting a fuse, you normally consider:
- Current rating: the normal operating current should be below the fuse rating with margin.
- Voltage rating: must be at least the circuit voltage; AC and DC interruption differ.
- Breaking capacity (interrupt rating): the maximum fault current the fuse can safely interrupt.
- Time-current behavior:
- Fast-blow fuses open quickly—good for sensitive electronics.
- Time-delay (slow-blow) fuses tolerate inrush—useful for transformers and large capacitors.
A common real-world issue is inrush current: transformers draw a large magnetizing surge at switch-on, and capacitors draw a charging surge. If you use a fast fuse sized too close to the steady current, it may nuisance-blow.
How to choose a circuit breaker
Many small systems use thermal-magnetic breakers:
- Thermal part trips on sustained overload.
- Magnetic part trips quickly on short circuit.
Selection involves:
- Rated current (continuous)
- Trip curve (how fast it trips at multiples of rated current)
- Voltage and interrupt rating
Installation rules of thumb (what “correct installation” means)
Good installation is about placing protection where it actually limits danger:
- Put the fuse/breaker as close to the source as practical so downstream wiring is protected.
- In AC mains equipment, protection is normally placed in the live (hot) conductor, not the neutral.
- Choose proper fuse holders, insulation, and spacing for mains voltage.
- Ensure the protective device rating matches the environment (temperature derating can matter).
A frequent misconception is “a bigger fuse is safer because it won’t blow.” In reality, oversizing defeats the purpose—it can allow unsafe heating before opening.
Exam Focus
- Typical question patterns:
- Given a transformer supply, decide whether to use a slow-blow or fast-blow fuse and justify.
- Identify where a fuse should be placed (near the source, in live conductor for mains).
- Interpret a scenario (motor/transformer inrush, capacitor charging) to explain nuisance blowing.
- Common mistakes:
- Selecting based only on steady-state current and ignoring inrush.
- Ignoring fuse voltage rating (especially for DC circuits).
- Placing a fuse in neutral only, leaving the circuit live when blown.
Rectifiers: half-wave, full-wave, and bridge selection and construction (2.7.5)
A rectifier converts AC into DC by allowing current to flow more easily in one direction than the other. Rectifiers are built from diodes, which ideally conduct in forward bias and block in reverse bias.
Rectification is foundational: nearly every mains-powered DC supply begins with rectification.
Half-wave rectification
A half-wave rectifier uses one diode in series with the load.
- During one half-cycle of AC, the diode conducts and the load sees a positive pulse.
- During the opposite half-cycle, the diode blocks and the load sees (ideally) zero.
Why it matters: it’s simple and cheap, but output ripple is large and transformer utilization is poor for higher power.
Full-wave rectification (center-tapped transformer)
A full-wave rectifier with a center-tapped secondary uses two diodes:
- Each half-cycle uses a different diode, but current through the load is in the same direction both times.
- Ripple frequency doubles (better smoothing).
Trade-off: you need a center-tapped transformer and each diode must withstand a relatively high peak inverse voltage.
Bridge rectification
A bridge rectifier uses four diodes arranged so that:
- On each half-cycle, two diodes conduct.
- The load always sees the same polarity.
Bridge rectifiers are extremely common because they don’t require a center-tapped transformer.
Important practical detail: because two diodes conduct in series, the output is reduced by roughly two forward drops compared with the transformer peak. At low voltages, this drop is significant.
Selecting diodes and rectifier assemblies
When choosing diodes, you typically check:
- Average forward current rating (must exceed load current with margin)
- Reverse voltage rating (must exceed worst-case reverse voltage with margin)
- Surge current capability (charging capacitor inrush)
- Power dissipation and thermal management
Even in low-frequency rectifiers, surge current can be the limiting factor because reservoir capacitors draw high pulses near waveform peaks.
Example: bridge vs half-wave ripple impact (conceptual)
Suppose your mains is .
- Half-wave produces ripple at .
- Full-wave/bridge produces ripple at .
Since , doubling approximately halves ripple for the same load and capacitor—one reason full-wave/bridge designs dominate practical supplies.
Exam Focus
- Typical question patterns:
- Identify rectifier type from a circuit diagram and describe conduction paths.
- Compare ripple frequency and smoothing needs between half-wave and full-wave/bridge.
- Explain why bridge rectifiers are widely used (no center-tap required).
- Common mistakes:
- Forgetting that a bridge has two diode drops in the conducting path.
- Mixing up which diodes conduct on which half-cycle.
- Assuming rectification alone produces “smooth DC” (ignoring filtering).
Designing AC-to-DC conversion circuits (2.7.8)
Designing AC to DC conversion means turning a real AC source (often mains) into DC that meets requirements for:
- Voltage level (nominal and tolerance)
- Current (continuous and peak)
- Ripple and noise
- Isolation and safety
Instead of memorizing one “correct” circuit, it helps to think in constraints: safety first (isolation?), then waveform conversion (rectifier), then energy storage (capacitor/inductor), then regulation and protection.
Step-by-step design approach (a repeatable method)
- Define the DC output: , , ripple target.
- Decide on isolation: transformer-powered vs line-connected.
- Choose rectifier topology: half-wave (rare for power), full-wave center-tap, or bridge.
- Estimate the rectified peak available from the transformer secondary.
- Choose smoothing capacitor from ripple requirement.
- Choose regulator (linear or switch-mode) and verify headroom.
- Add protection (fuse, thermal, transient suppression where appropriate).
Converting transformer RMS voltage to rectified DC (the idea)
A transformer secondary is specified in RMS. For a sinusoid, peak voltage is approximately:
After rectification with a capacitor, the capacitor charges near the peak (minus diode drops), so the no-load DC is close to that peak.
For a bridge rectifier, a common approximation is:
where is the diode forward drop at the relevant current.
As load increases, ripple increases and the average DC drops because the capacitor discharges further between peaks.
Worked design example: isolated regulated DC at
Goal: regulated output at from , mains, using a transformer, bridge rectifier, capacitor filter, and a linear regulator.
1) Pick transformer secondary voltage
You need enough headroom for the regulator even at ripple minimum. Suppose the linear regulator needs about headroom (varies by device, but the concept is “you need margin”). Aim for a minimum input to the regulator of about .
Try a secondary:
Bridge drop (two diodes). If you approximate at load:
So at the top of the ripple you might have about . If ripple is , the valley is about , which meets the target.
2) Choose smoothing capacitor
For full-wave on mains, . For and say :
3) Check regulator dissipation
Worst heating is often at high input and high load. If the regulator sees around and outputs at :
That’s enough to require thermal consideration (heatsinking, airflow, package choice).
4) Protection selection
- Primary-side fuse sized for transformer primary current and inrush (often time-delay).
- Secondary-side fusing may be added to protect the rectifier and wiring.
This example shows the logic: you translate RMS to peak, subtract diode drops, allocate ripple, and ensure regulator headroom and thermal limits.
Common build/debug issues in AC-DC converters
- Measuring DC incorrectly: a multimeter may show average or RMS depending on mode; ripple can confuse readings.
- Reversed electrolytic capacitor: causes overheating or venting.
- Underrated diode reverse voltage or surge current: diodes fail short, which can then blow fuses or overheat transformers.
- Grounding mistakes: connecting oscilloscope ground to non-isolated mains-referenced circuits can create a dangerous short.
Exam Focus
- Typical question patterns:
- Design or analyze a supply: choose rectifier type, compute approximate peak DC, and estimate ripple.
- Explain why full-wave/bridge needs less capacitance than half-wave for the same ripple.
- Diagnose a fault scenario (excess ripple, overheating regulator, blown fuse).
- Common mistakes:
- Using directly as if it were the capacitor-charged DC level (forgetting ).
- Forgetting bridge diode drops and their impact at low voltage.
- Not checking regulator headroom at the ripple valley.
Inverters and DC-to-AC conversion principles (2.7.9)
An inverter converts DC (often from a battery) into AC. This is essential in battery technology because batteries store DC energy, but many loads and grids are AC—think backup power systems, solar-plus-storage, motor drives, and uninterruptible power supplies.
What “DC to AC” really means
AC is not just “voltage that alternates”—it has frequency, waveform shape, and sometimes tight distortion limits.
Common inverter output types include:
- Square wave: simplest, but high harmonic content and can stress some loads.
- Modified sine wave: stepped approximation.
- Sine wave (PWM synthesized): closest to utility power; best compatibility.
Why it matters: motors, transformers, and sensitive electronics often behave much better on low-distortion sine-like waveforms.
Core building block: the switching bridge
Most inverters use a bridge of power switches (MOSFETs or IGBTs).
- A half-bridge produces a bipolar output relative to a midpoint.
- An H-bridge (full bridge) can reverse the polarity across the load by turning on diagonal switch pairs.
The key principle is controlled switching: the inverter does not “create energy,” it repackages DC energy into an alternating voltage/current delivered to the load.
PWM: how modern inverters approximate sine waves
Pulse-width modulation (PWM) controls the average voltage seen by the load over short intervals by varying the duty cycle of high-frequency switching.
- The switches operate mostly fully ON or fully OFF, which reduces losses compared with linear operation.
- An LC filter (or the load’s own inductance) can smooth the PWM into a near-sinusoidal current/voltage.
Even if you don’t compute PWM spectra, you should understand the qualitative trade-off: higher switching frequency can ease filtering but increases switching losses and EMI concerns.
Step-up methods: transformer-based vs high-voltage DC bus
To produce mains-level AC (e.g., or ) from a low-voltage battery (e.g., ), inverters commonly use one of two strategies:
- Transformer-based: switch low-voltage DC into a transformer to step up.
- High-voltage DC bus: boost DC up to a high voltage, then use an H-bridge to synthesize AC.
Transformer-based designs can provide isolation (depending on implementation) and are conceptually straightforward; high-voltage bus designs can be compact and efficient but demand careful insulation and protection.
Practical considerations: protection, thermal design, and load types
Inverters must handle harsh real-world conditions:
- Overcurrent/short-circuit protection: a short on the AC side can reflect as massive DC current from the battery.
- Low-voltage cutoff: prevents over-discharging batteries.
- Thermal management: switching devices dissipate both conduction and switching losses.
- Inductive loads (motors, transformers): cause phase shift and high surge currents at start-up.
A common misconception is that an inverter rated at, say, can start any motor load. Motor starting can require several times the running power, so surge rating and waveform quality matter.
Example: estimating DC current drawn by an inverter
If an inverter delivers AC from a battery, the DC current is at least:
Ignoring losses:
Real inverters are not efficient, so the actual battery current is higher. This is why cable sizing, fusing, and connector quality are critical on the DC side.
Exam Focus
- Typical question patterns:
- Explain how an H-bridge (or bridge inverter) reverses polarity to create AC.
- Compare square-wave vs PWM sine-like outputs and relate to load compatibility.
- Compute approximate battery current from inverter power using (conceptual sizing).
- Common mistakes:
- Treating inverter output power as if it draws the same current as the AC load (forgetting voltage conversion).
- Ignoring surge current requirements for inductive loads.
- Assuming all inverters provide isolation—depends on whether a transformer is used and how it’s implemented.