How to Design Effective PCB Layouts for Switching Regulators
8 min
Switching regulators are the unsung workhorses of modern electronics. They efficiently convert power, enabling our devices to function seamlessly while minimizing energy loss. Yet, they have one notorious flaw: noise, such as electromagnetic interference (EMI). If you’ve ever heard a faint buzz or watched your oscilloscope struggle against spikes, you know what I'm talking about.
This blog delves into designing effective PCB layouts for switching regulators to keep the noise gremlins at bay and your circuits humming happily. To help you avoid these problems, here are some layout guidelines for switching power supplies:
- Potential problems with power supplies in PCB layouts.
- Setting up PCB parameters for power supply layout.
- Component placement and routing tips for an optimum layout.
What Are Switching Regulators?
Switching regulators are power converters that use high-frequency switches (transistors) and passive components (inductors, capacitors) to step up (boost), step down (buck), or invert voltage. They’re highly efficient, typically operating at 80–95%, making them ideal for battery-operated and high-power applications.
Common Types of Switching Regulators:
Buck Converter: Steps down voltage.
Boost Converter: Steps up voltage.
Buck-Boost Converter: Can step up or down voltage depending on the input-output relationship.
Why Noise is the Villain in Switching Regulators?
All switching regulators generate noise at their dV/dt node and dI/dt loop. Noise in switching regulators arises primarily due to rapid switching and high di/dt (rate of change of current) in components. For more complex topologies, like half-bridge/full-bridge topologies, the switching node can move between different locations in the design depending on the phase difference between switching FETs. Here’s how it works:
1. Electromagnetic Interference (EMI): High-frequency noise radiates into nearby components or circuits.
2. Signal Integrity Issues: Noise can corrupt sensitive signals in analog or RF sections of your PCB.
3. Heat and Efficiency Losses: Excess noise can lead to power loss and heating, reducing overall system efficiency.
So, how do we tame this noisy beast? The answer lies in thoughtful PCB design. Here is our design blog on full custom PCB design.
Components in a Switching Regulator:
1) Inductor: Use low-EMI inductors like ferrite core types (e.g., toroids). Avoid open cores near low-power traces, and orient poles perpendicular to the PCB for better noise control.
2) Feedback Traces: Keep feedback traces far from inductors and noisy traces. Place them on the opposite PCB side with a ground plane in between.
3) Filter Capacitors: Position input capacitors close to the IC to reduce noise. Use surface-mount capacitors to minimize inductance.
4) Compensation Components: Place these near the IC and avoid proximity to inductors to reduce noise.
5) Heat Sinking: Use PCB copper layers as heat sinks for power ICs by following the device datasheet for optimal heat dissipation.
Problems with Incorrect layout of Switching Power Supplies
A switch-mode power supply is often the preferred way to generate power on a printed circuit board. Using a switching regulator to convert the power, an SMPS will generate current more efficiently and with less heat than a linear power supply, which relies on larger heat-producing parts. However, the normal switching operation of the SMPS has the potential to radiate noise, which if not controlled properly, will add to or create the following problems:
- Electromagnetic Interference (EMI): Rapid voltage switching generates EMI, which disrupts both external electronics and internal circuitry, potentially degrading signal and power integrity.
- Ground Bounce: Fast switching can elevate the circuit board's ground reference, causing incorrect signal switching and data errors.
- Power Ripples: Switching may create ripples that induce crosstalk in nearby circuits, overpowering weaker signals and disrupting functionality.
To avoid these problems, it is important to follow good power supply layout guidelines starting with how the board will be configured in the layout tools.
How Layout Reduces Noise in Switching Regulators
A good layout is like a well-organized kitchen: everything is in its place, minimizing unnecessary movement (and mess). Proper PCB design minimizes noise by reducing parasitics, optimizing current paths, and shielding sensitive components.
Understanding Critical paths in Switching Topologies:
In a switching regulator PCB design, the most important rule is to route the traces that carry high switched currents to be as short as possible. If this rule is successfully implemented, a large part of the board layout for a switching regulator will be addressed properly. The first step is to find out which paths in a switching regulator topology are critical. In these paths, the current flow changes with the switch transitions.
Buck Topology:
As per the general schematics of buck converter, the critical paths(where switching is performed) are shown in red. They are connecting lines in which either the full current or no current flows, depending on the states of the power switches. These paths should be as short as possible. For a buck converter, the input capacitor should be situated as close as possible to the VIN pin and GND pin of the switching regulator IC.
Boost Topology:
Here, a low voltage is converted to a higher voltage. Once again, the current paths in which the current flow changes with switching of the power switches are shown in red. Interestingly, the placement of the input capacitor is not critical at all. The most crucial is the placement of the output capacitor. It must be as close as possible to the flyback diode (or the high-side switch) as well as to the ground connection of the low-side switch.
10 Quick Design Tips for Switching Regulators layout:
1. Current Path Design
- In a buck converter, the current paths change depending on the ON/OFF state of the switching element.
- Pay close attention to areas with rapidly changing currents, as they generate harmonics that can introduce noise.
2. PCB Layout Procedure
- Place critical components like input capacitors and free-wheel diodes close to the IC on the same PCB surface.
- Use thermal vias to enhance heat dissipation if necessary.
- Minimize the copper area of the switching node to reduce radiation noise.
3. Input Capacitor and Free-Wheel Diode Placement
- Use a high-frequency bypass capacitor (e.g., 0.1µF to 0.47µF ceramic) close to the IC for noise suppression.
- Large input capacitors can be placed slightly further away but ensure the bypass capacitor is nearby.
- Avoid placing capacitors and diodes on the bottom layer through vias, as it increases ripple voltage and noise.
4. Thermal Via Implementation
- Thermal vias under the IC’s thermal pad help efficiently dissipate heat to the opposite PCB layer.
- Small-diameter vias (e.g., 0.3mm) filled with solder are preferred to enhance conductivity.
5. Inductor Placement
- Place the inductor near the IC but avoid oversized copper areas to prevent it from acting as an EMI antenna.
- Avoid placing ground or sensitive signal traces directly beneath the inductor to reduce eddy current losses.
6. Output Capacitor Placement
- Position output capacitors close to the inductor for smooth current flow.
- Maintain a 1–2cm distance between input and output capacitors to prevent high-frequency noise coupling.
7. Feedback Route Wiring
- Feedback wiring should be short, direct, and far from noise sources like the switching node or inductor.
- Avoid routing feedback traces directly beneath or parallel to high-current paths to minimize noise coupling.
- For multilayer boards, use vias to route feedback traces on a separate layer if needed.
8. Ground Design
- Separate analog (signal) ground and power ground planes to minimize noise interference.
- Use multiple vias to connect top-layer ground to inner-layer ground planes, reducing impedance.
9. Resistance and Inductance of Copper Traces
- Calculate resistance and inductance for trace dimensions to ensure proper current handling.
- Use wider traces for high-current paths (e.g., 1mm width per 1A for 35µm copper thickness).
10. Corner Wiring
- Avoid sharp right-angle bends in traces as they increase EMI and signal reflections.
- Use 45° bends or rounded traces for better impedance matching and reduced noise.
Conclusion:
By following these guidelines, you can design robust, noise-free PCBs for switching regulators that perform reliably in even the most demanding applications. A well-designed layout not only improves electrical performance but also ensures thermal efficiency and EMI compliance. Get in touch with us, see how PCBs are manufactured in JLCPCB factory.
Inexperienced circuit designers often consider the board layout for a switching regulator to be black magic. The most important rule is to design the traces, in which the current flow changes with the switch transitions, to be as short and compact as possible. This can be explained easily, follows logical relationships, and is the basis for an optimized board layout in a switch-mode power supply design.
Keep Learning
Unraveling PCB Traces Magic Enhancing Electronics through Smart Design
Introduction Printed Circuit Boards (PCBs) are the foundation of modern electronics. At their core are conductive copper pathways known as PCB traces, which transmit signals between components. Proper trace design directly affects signal integrity, power delivery, EMI, and manufacturability. This article covers the fundamentals of PCB traces, key design considerations, optimization techniques, and how JLCPCB’s capabilities (including its free impedance calculator) help designers achieve reliable resul......
Annular Rings in PCB Design: Mastering Reliable Via Connections and Precision Fabrication
In fact, I have a question, which is worth considering: when did you last actually compute the worst-case annular ring size of your PCB, including all fabrication tolerances? When you say, or not recently, you are certainly not the only ones. We simply scale pad sizes to the EDA defaults or what we have already used without further checking whether this number measures up to the actual drill wander, layer mis-registration, and etch compensation. The only mechanical and electrical connection between th......
How to Determine a Circuit's Impedance: Key Facts & PCB Applications
Determining the impedance of a circuit is critical for analyzing behavior and optimizing performance in high-speed and RF designs. Impedance (unlike simple resistance) includes both resistance and reactance, making it essential in PCB design and PCBA manufacturing. In this article, we explore the impedance formula, impedance matching, microstrip calculations, and how JLCPCB's free impedance calculator helps designers achieve reliable results with ±10% tolerance. What is the difference between impedanc......
Capacitor Voltage Rating Explained with Examples
Capacitors are small powerhouses, but they are not only used as a power delivery element every time; capacitors are also used a lot in signal conditioning. But today, we will explore the voltage ratings associated with different types of capacitors. They look simple: small cans, discs, or chips soldered onto a PCB. You will find many things on the capacitor envelope, one of which is the voltage rating and capacitance. These are not random numbers but play an important role in electronics design. Choos......
The Benefits of High Speed PCBs : Advanced Design and Manufacturing for Reliable Data Rates
What is high-speed PCB design, then? It is not just the frequency cut-in, High-speed. When the characteristics of the traces become unfriendly to the signal, trace impedance, via parasitic, material losses, signal coupling, etc., really begin to affect the signal quality, and you can no longer simply plug it in and hope for the best, it must be designed. Practically, that typically implies rise times in the range of nanoseconds, data rates in the range of gigabit per lane, or clock speeds in the range......
Designing Durable Custom Keyboard PCBs: Tailored Solutions and Expert Fabrication
So what's a keyboard PCB? In simple terms, it is the printed circuit board that is contained in the center of any keyboard, connecting the key switches to the controller, which communicates with your computer. Hitting a key closes a circuit on the PCB, which the controller records what key it was and transmits that keycode back to your host device. The mechanical-keyboard community is a subculture that has developed out of a niche hobby to become a successful subculture in the mechanical-keyboard worl......