As much as we’d like, the power we supply to electronics isn’t always stable. Real power sources contain noise, they might exhibit power instability, or they drop out unexpectedly. Thankfully, we have power regulators to help prevent some of these problems.
For low-power devices, two common types of power regulators are used: linear voltage regulators (or low dropout regulators, LDOs) and switching regulators. These can be combined at various points along your power bus. However, it is important to decide whether to use LDOs or switching regulators in your designs and understand the differences between them.
If you've ever wondered how to choose the right regulator and when to use each type, there's more to consider than just input/output voltage and current. Keep reading to learn how to select linear voltage regulators vs. switching regulators for your low-power designs. As we focus on PCB layouts in this blog, I'll also discuss what needs to be done in the layout to support LDOs or switching regulators.
Before getting into component arrangement and layout with these types of power regulators, it’s best to get a reminder of how each of these circuits works. An LDO schematic is a step-down linear DC-DC voltage converter, so it’s best compared to a buck converter. There are also resistive linear regulators or series and shunt regulators that use transistors, but I’ll leave these alone for the moment as they are not often used on the power bus in a PCB.
An LDO is a linear regulator that is based on an op-amp. The circuit operates by comparing the regulator output and a reference voltage (silicon bandgap reference with ~1.25 V output) within a feedback loop. The basic topology is shown below. Note that an NPN transistor is used in this diagram, but you’ll normally find a MOSFET in real circuits.
Low dropout voltage regulators have some “headroom,” also known as the dropout voltage, which is a small voltage above the nominal output that determines whether the component will turn on. As long as V(in) - V(out) > Headroom, then the component will give the nominal output voltage. The voltage divider is used to drop down the input voltage so that the op-amp can compare it with the reference voltage (V-Ref). Unless you’re building an LDO circuit from discrete components, you won’t need to worry about setting up an op-amp circuit and selecting R1/R2; these are integrated into the component.
Finally, C1 and C2 are filter capacitors that clean up the voltages on the input and output, respectively. These values will not affect the headroom, although they will help dampen noise on the input and output. The op-amp sets the regulator’s output to a desired level as long as the input voltage is above the headroom for the regulator.
As was mentioned above, an LDO circuit is best compared to a buck converter as they are both step-down components. The goal of any switching converter is simple: to produce a stable, yet adjustable, output voltage by modulating the current and voltage delivered to a load with a switching element. This is normally a power MOSFET driven with a PWM signal, although a much larger regulator like a resonant LLC converter may use multiple MOSFETs in parallel to provide high current output. In any case, all buck regulators will suppress low-frequency variations in the input voltage, but the output will have some high-frequency noise due to the switching action of the MOSFET, which can be clearly seen in a simulation.
So when should you use each of these regulators? They both step down a DC voltage to a useful level while cleaning up noise, so shouldn’t they be interchangeable? They are sometimes interchangeable, but it depends on the power level you need and the characteristics of the power source. The table below summarizes some of the different aspects of each type of circuit and their advantages.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
There is a lot going on in this table, but I’ll do my best to summarize a few points here.
This is a rather in-depth topic in that the PCB layout portion can focus on the regulator circuit, the power bus, and the downstream loads. There are two guidelines I prefer to follow:
The image below should illustrate what I mean. This layout is for a switching regulator operating at 3 MHz. You’ll notice that the critical portion, namely the loop created by L2 and the filter caps, has a tight circular return path back to the nearby ground pour. This helps ensure low radiated EMI emission and reception. The same principles would apply to an LDO circuit, although in that case, we worry more about the reception of EMI as there is no switching.
You’ll often see layout examples in application notes for LDOs or switching converters. Be careful with these; they may be just fine for handing the current, but there may be an EMI problem lurking in their layout. These EMI problems in application notes often originate from poorly defined return paths or failure to create a compact layout with low loop inductances. Mark Harris shows a great example of a compact PCB layout for a switching regulator in a recent article, take a look to see some good guidelines from an experienced layout engineer.
Once you’ve decided between linear voltage regulators vs switching regulators in your PCB layout, use the best set of CAD tools and component management features in Altium Designer® to place and route your designs. When you’ve finished your design, and you want to release files to your manufacturer, the Altium 365™ platform makes it easy to collaborate and share your projects. We have only scratched the surface of what is possible to do with Altium Designer on Altium 365. You can check the product page for a more in-depth feature description or one of the On-Demand Webinars.