A power supply in electronics is a device that converts electrical energy from a source (like a wall outlet) into the specific voltage and current that an electronic circuit needs to operate. At its simplest, it takes power in one form and delivers it in another, which is why power supplies are sometimes called electric power converters. Every power supply has an input connection that receives energy and one or more output connections that deliver it to the load, whether that’s a laptop, a circuit board, or a lab instrument.
What a Power Supply Actually Does
Most electronic devices run on low-voltage direct current (DC), but the electricity from your wall outlet is high-voltage alternating current (AC). A power supply bridges that gap. It steps the voltage down, converts AC to DC, and cleans up the output so your device receives steady, predictable power.
Beyond basic conversion, power supplies can also limit current to safe levels, shut off power during an electrical fault, filter out voltage surges or electrical noise from the input, and even store energy briefly to keep a device running during a momentary power interruption (as in an uninterruptible power supply, or UPS). The quality of a power supply directly affects the performance and lifespan of whatever it’s powering.
How AC Gets Converted to DC
The conversion from AC to DC happens in stages, each handled by a specific component inside the power supply.
Step 1: Voltage transformation. A transformer uses electromagnetic induction to step the incoming AC voltage down (or up) to the level the circuit needs. If your wall outlet provides 120V AC but your device needs 12V, the transformer handles that reduction.
Step 2: Rectification. A rectifier converts the AC signal into pulsating DC using diodes, which are components that only allow current to flow in one direction. Most power supplies use a bridge rectifier, a configuration of four diodes that captures both halves of the AC wave, making the conversion more efficient.
Step 3: Filtering. The DC coming out of a rectifier isn’t smooth. It pulses and fluctuates. Capacitors smooth this out by storing energy during voltage peaks and releasing it during dips, reducing the ripple in the output.
Step 4: Regulation. Even after filtering, the output voltage can drift slightly as the load changes or the input fluctuates. A voltage regulator compensates for these variations and delivers a steady, consistent output. This is the difference between a regulated power supply, which maintains constant output regardless of conditions, and an unregulated one, whose output can shift noticeably with changes in load or input.
Linear vs. Switching Power Supplies
The two main categories of power supply in electronics differ in how they regulate voltage, and the tradeoffs are significant.
Linear Power Supplies
A linear power supply follows the stages described above in a straightforward way: transformer, rectifier, filter, regulator. The regulator works by continuously dissipating excess energy as heat, which makes linear supplies simpler in design but less efficient, typically around 60%. That wasted energy means they run hotter and need heat sinks to manage the temperature, making them larger and heavier.
The upside is clean output. Linear supplies produce very little electrical noise or ripple, which makes them the preferred choice for sensitive audio equipment, analog circuits, precision measurement instruments, and any application where even tiny voltage fluctuations cause problems.
Switching Power Supplies (SMPS)
A switching power supply takes a different approach. Instead of continuously regulating voltage and burning off excess energy, it rapidly switches a transistor on and off (thousands of times per second) to control the output. This makes it far more efficient, typically 80% or higher, because much less energy is wasted as heat.
Higher efficiency means less heat, which means smaller heat sinks, which means a more compact and lighter design. The laptop charger in your bag, the power supply inside your desktop computer, and the USB wall adapter on your nightstand are all switching power supplies. They also handle a wider range of input voltages, which is why many laptop chargers work on both 110V and 220V outlets without a separate adapter.
The tradeoff is electrical noise. The rapid switching generates more ripple and electromagnetic interference in the output, which can require additional filtering for sensitive electronics. For most digital devices, this noise is negligible. For high-end audio or precision analog circuits, it matters.
Key Specifications to Understand
When choosing or evaluating a power supply, a few specifications tell you whether it’s right for your application.
Output voltage is the DC voltage the supply delivers. Many devices need a specific voltage (5V, 12V, 24V), and supplying the wrong voltage can damage components or cause unreliable operation.
Output current is the maximum amount of current the supply can deliver, measured in amps. Your device draws whatever current it needs, and the power supply must be rated to handle at least that amount. Undersizing the current rating leads to overheating or shutdown.
Wattage is the total power the supply can deliver, calculated by multiplying voltage by current. A 12V supply rated for 5 amps can deliver up to 60 watts. This is the real-world power available to your circuit.
Volt-amps (VA) is a related but distinct rating called “apparent power.” The ratio of watts to volt-amps is the power factor, expressed as a number between 0 and 1. Modern power-factor-corrected supplies have a power factor of 0.99 to 1.0, meaning their watt and VA ratings are nearly identical. Older designs may have a power factor of 0.55 to 0.75, so a supply rated at 1000 VA might only deliver 550 to 750 watts of real power. For UPS systems that only list a VA rating, a safe rule of thumb is to assume the actual watt capacity is about 60% of the VA number.
Ripple, Noise, and Output Quality
No power supply produces perfectly flat DC. There’s always some small fluctuation in the output, called ripple, left over from the AC-to-DC conversion. On top of that, switching activity and other sources add higher-frequency noise.
For most digital electronics, a small amount of ripple is fine. A typical design budget allocates about 1% of the output voltage to ripple. On a 2.5V supply, that works out to roughly 25 millivolts of acceptable fluctuation, and the total operating window including DC regulation error and transient response might be around 100 millivolts. For sensitive circuits like processor cores or precision analog stages, tighter tolerances matter, and power supply selection becomes more critical.
If you’re powering something simple like an LED strip or a fan, ripple is unlikely to be a concern. If you’re powering a microcontroller, an audio amplifier, or a sensor that measures small signals, cleaner power translates directly to better performance.
Common Types by Application
- AC adapters (wall warts): The small plug-in power supplies that come with routers, phone chargers, and small electronics. Most modern ones are switching supplies, compact and efficient.
- Desktop computer PSUs: Multi-output switching supplies that deliver several voltages (3.3V, 5V, 12V) simultaneously, rated anywhere from 300 to over 1000 watts.
- Bench power supplies: Adjustable lab instruments used in electronics prototyping and testing. Many are linear for clean output, though switching models with good filtering are increasingly common.
- Battery eliminators: Power supplies designed to replace batteries in a device, providing the same voltage from a wall outlet.
- Uninterruptible power supplies (UPS): Systems that include a battery backup to keep equipment running during power outages, commonly used for servers and networking equipment.
The type of power supply you need depends on what you’re powering, how much current it draws, how sensitive it is to noise, and how much space you have. For most consumer and hobby electronics, a properly rated switching supply is the right choice. For audio, analog instrumentation, or low-noise measurement setups, a linear supply or a well-filtered switching supply is worth the extra cost and size.

