The difference lies in how they regulate
A linear supply steps the voltage down with a transformer and regulates it with an element that dissipates the excess as heat. A switching supply rectifies, switches at high frequency with transistors, transforms and rectifies again; it regulates by varying the switching duty cycle. All their practical differences follow from this.
Noise and ripple
A linear supply delivers an output with very low noise, because there is no switching. A switching supply leaves ripple at the switching frequency and spikes associated with the edges, as well as possible common-mode noise. An oscilloscope with adequate bandwidth and a short ground connection reveals these spikes, which can be mistaken for noise from the circuit under test.
Efficiency and size
A linear supply dissipates the difference between input and output as heat, so at high power levels it becomes large and heavy. A switching supply is more efficient and compact, which matters when a lot of power is needed in a small unit.
Response to load changes
A well-designed linear supply reacts very quickly to a load step. A switching supply has a loop with more limited bandwidth and output capacitors that influence the transient. A switching supply can also interact with negative-resistance loads, such as converters, and produce instability.
When each one is the right choice
- Linear: low-level amplifiers, references, sensors, noise measurements, sensitive radio-frequency circuits.
- Switching: powering power test benches, rugged digital loads, systems with many channels or space constraints.
How to decide
If you do not know what the circuit tolerates, test with both and compare the results: if the measurement changes when you go from one to the other, the supply noise is playing a part. An additional filter can help a switching supply. Where hazardous voltages are present, the setup must be assembled by qualified personnel in accordance with the applicable regulations.