Why you might need two rails
Many op amps and analog circuits work best with a positive and a negative supply. With both rails, the output can swing above and below 0 V, and the signal is referenced to a common point in the middle. Single-supply circuits can run with their bias set at half the supply voltage, but many audio and precision designs are simpler with true plus and minus rails.
Two terms help here. A rail is a supply line. A dual rail supply has a positive rail, a negative rail and a common reference between them, such as ±12 V or ±15 V.
Method 1: Center-tapped transformer and two regulators
This is the most common way to get ±rails from mains:
- A transformer with a center-tapped secondary gives two AC halves. The center tap becomes the common reference.
- Each half is rectified and filtered, giving a positive DC voltage and a negative DC voltage relative to the center tap.
- A positive regulator, a 78xx such as the 7815 for +15 V, and a negative regulator, a 79xx such as the 7915 for −15 V, hold each rail steady.
Check the pinouts before wiring. The 79xx family uses a different pin order from the 78xx, so a 7915 cannot be wired the same way as a 7815. Read the datasheet for each part.
Each regulator needs its input above its output by its dropout voltage, with margin for dips in the mains. Each also needs small input and output capacitors close to its pins, as the datasheet shows.
Method 2: Two separate secondaries
Two independent transformer windings, each rectified and regulated on its own, give two separate supplies. Connect the junction between them as the common point. This gives a clean split and good separation between the halves, but it needs more winding hardware, so it suits projects where you already have a suitable transformer.
Method 3: Charge-pump inverter
Some ICs, such as the ICL7660, create a negative voltage from a positive input using capacitors and internal switches. They are compact and need only a few external capacitors. Their output current is small, so check the datasheet before using one for anything beyond a low-power op amp or bias network. Their switching produces some ripple, so filter the output.
Method 4: Virtual ground from a single rail
Two equal resistors across the supply place a midpoint at half the rail voltage. Feeding that midpoint into a unity-gain op amp buffer gives a low-impedance “virtual ground” that can supply or sink some current.
Without the buffer, the midpoint sags when a load draws current. That is acceptable for a light bias network, but it cannot supply an amplifier’s output current.
Method 5: Ready-made isolated DC-DC module
A module that takes one input and produces ±V is the simplest option for modest currents. Before choosing one, check its input range, the current available on each rail, its isolation rating, and its output ripple and noise specification. Switch-mode modules bring the noise issues covered in what the disadvantages of SMPS are.
Quick comparison
| Method | Good for | Watch out for |
|---|---|---|
| Center-tapped transformer with 78xx and 79xx | Mains-powered audio and op amp rails | Pinouts, dropout, heatsinks |
| Two secondaries | Clean split, good separation | Extra windings and cost |
| Charge pump (for example ICL7660) | A small negative rail from a positive one | Low current, ripple |
| Virtual ground | Single-supply bias points | Needs a buffer, low current |
| DC-DC module | Convenience | Current per rail, noise specs |
For the regulator side of Method 1, the linear power supply circuits guide covers heat and capacitor placement in more detail.
Keeping audio and op amps quiet
- Decoupling: Put a 100 nF ceramic capacitor close to each supply pin of each op amp, with a larger electrolytic capacitor, around 10 µF, nearby.
- Ripple: Ripple from the reservoir capacitor shows up as hum. A regulator after the reservoir reduces it.
- Grounds: Keep the high-current return path of a power amplifier apart from the sensitive preamp ground. Joining them at one point, often called a star ground, is a common approach.
- Total supply voltage: Check the op amp’s maximum supply rating. It applies to the difference between the positive and negative rails, not to each rail on its own.
Common mistakes
- Wiring a 79xx negative regulator with the pinout of a 78xx.
- Leaving out the common reference. Without it the two rails are not referenced to each other.
- Using a resistor divider to power a load that draws real current.
- Forgetting that the op amp’s total supply rating covers both rails combined.
Safety
If the source is mains, the transformer, rectifiers and filter capacitors sit on the mains side. Use an enclosure, a fuse on the mains side, proper earth bonding and insulated connections. Unplug before you change anything, and discharge the capacitors before you touch them. For the basic conversion stages, see DC power supplies explained.