Switching power supplies are widely used in various electronic devices, ranging from industrial CNC equipment to compact consumer electronics. Compared with linear power supplies, switching power supplies offer higher conversion efficiency and flexible voltage regulation. However, their high-frequency switching operations also introduce design challenges related to noise, electromagnetic interference (EMI), and heat dissipation.
Poor PCB layout can lead to excessive output ripple, electromagnetic interference, component overheating, or even circuit malfunctions, despite having a correct schematic. This article explores the main components of a switching power supply and explains key considerations for PCB component placement, current loops, grounding, EMI, and thermal management.
Before starting switching power supply PCB design, it is important to understand the main functional blocks of the circuit and their layout requirements. Different switching power supply topologies, such as Buck, Boost, and Flyback converters, have different circuit configurations. However, they can generally be analyzed in terms of the following four sections:
1. Input and output filter circuits
2. Switching control and driver circuits
3. Switching inductors or transformers
4. Output rectification and filter circuits
The input filter circuit suppresses noise coming from the power input and reduces the impact of high-frequency currents generated by the switching circuit on the input power source. Input filter capacitors should generally be placed close to the input connector and power switching loop to shorten the current path.
For high-frequency switching currents, the connection length and parasitic inductance between capacitors and power devices directly affect filtering performance. Therefore, related traces should be kept as short as possible, and input filter capacitors should not be placed far from the loops they need to supply with high-frequency current.

(Compact Placement of Input Filter Capacitors)
The image shows a compact input filter capacitor layout. Shortening the connections between the capacitors and the relevant circuit components helps reduce parasitic inductance and improve high-frequency filtering performance.
Output filter capacitors should be placed close to the output of the rectifier or power inductor. This helps shorten the output current loop, reduce parasitic inductance, and minimize output ripple.
The switching control and driver circuits control the turn-on and turn-off of power MOSFETs and are essential to the proper operation of a switching power supply. The fast switching transitions of MOSFETs generate rapid changes in voltage and current, making the associated circuits potential sources of noise coupling and EMI.
During PCB layout, particular attention should be paid to the routing of switching nodes. These nodes typically have a high rate of voltage change (dv/dt). Their copper area should be minimized, and they should be kept at an appropriate distance from feedback, sensing, and other sensitive signals.
For example, in a flyback switching power supply (Flyback SMPS), the switching node connected to the MOSFET drain and the transformer primary winding typically experiences large voltage swings. In Buck and Boost converters, the SW node connecting the power switch and inductor also requires careful layout control.

(Layout Separating High-Voltage Switching Nodes from Other Traces)
The image shows a layout that separates switching nodes from other signal traces. High-voltage or high-frequency switching nodes should be kept away from optocouplers, feedback traces, and other sensitive circuits. Where necessary, PCB slots can be used in accordance with the circuit structure and insulation requirements. However, slots cannot replace proper electrical clearance, creepage distance, or insulation design.
Feedback and voltage-sensing traces also require special attention. Switching power supply controllers rely on feedback signals to regulate the output voltage, making these traces susceptible to interference from switching noise.
When routing these traces, consider the following:

(Feedback Trace from the Optocoupler to the Driver)
The image shows a dedicated feedback trace running from the optocoupler to the controller. Proper routing helps reduce interference from switching noise on the control circuit.
In addition, peripheral components in the driver circuit, such as gate resistors, bypass capacitors, and RC filter networks, should be placed as close as possible to their corresponding driver pins. This shortens connection paths, reduces parasitic inductance, and improves switching control stability.
Inductors and transformers are essential magnetic components in switching power supplies. Their placement affects power loop length, magnetic coupling, and the overall PCB layout.
In Buck and Boost converters, the inductor is typically connected between the power switching stage and the output circuit. During PCB layout, high-current traces should be kept as short as possible. Sensitive signal traces should also be avoided between the inductor pads or directly beneath the inductor to reduce interference caused by magnetic coupling.

(Switching Inductor)
For isolated switching power supplies that use transformers, such as flyback converters, the transformer also provides electrical isolation between the input and output sides. Therefore, the primary and secondary windings must meet the clearance and creepage distance requirements specified by applicable safety standards.
During PCB layout, avoid placing copper pours, traces, or unnecessary vias within the isolation barrier between the primary and secondary sides. For designs with limited space, PCB slots can be used to increase creepage distance when permitted by the insulation requirements.

(PCB Slot Between Transformer Primary and Secondary Sides)
The image shows a PCB slot used to increase the creepage distance between the transformer's primary and secondary sides. In an actual design, the required dimensions must also be determined according to the working voltage, overvoltage category, pollution degree, insulation class, and applicable safety standards.
The output rectification circuit converts the pulsed voltage from the switching transformer or inductor into DC voltage. Depending on the power supply topology, the rectifier may use Schottky diodes, fast-recovery diodes, or synchronous rectification MOSFETs.
When using Schottky diodes, their forward conduction losses and reverse-recovery characteristics should be considered. In high-current applications, the heat generated by the diodes can be significant. Therefore, the PCB copper area should be planned carefully to provide an effective heat dissipation path.
Common PCB copper weights include 1 oz (approximately 35 μm) and 2 oz (approximately 70 μm). Increasing copper thickness generally helps reduce trace resistance and improve heat conduction. However, actual thermal performance also depends on copper area, board layer structure, the number of vias, and surrounding environmental conditions.
For a two-layer PCB, copper areas can be extended around the component pads where appropriate. Multiple thermal vias can also be used to transfer heat to copper areas on the opposite layer, improving heat dissipation.

(Schottky Diode Thermal Relief Area Using Bottom-Layer Copper)
The image shows how bottom-layer copper can help dissipate heat from a Schottky diode. For higher-power components, thermal performance should also be evaluated through thermal simulation, actual temperature-rise testing, and additional external cooling structures where necessary.
The filter capacitors after the output rectifier also require careful placement. Output capacitors should be positioned as close as possible to the relevant connection points of the rectifier and output inductor. This helps shorten the high-frequency current loop, reduce parasitic inductance, and minimize output ripple.

(Short Current Loop Between Transformer Output, Rectifier Diode, and Filter Capacitor)
The image shows a compact layout connecting the transformer output, rectifier diode, and filter capacitor. Shortening this loop helps reduce parasitic inductance and high-frequency voltage spikes, improving output power quality.
Switching power supply PCB layout involves more than ensuring correct electrical connections between components. It also requires careful consideration of high-frequency current loops, signal integrity, grounding, and heat transfer.
A well-planned layout can reduce noise coupling and EMI, minimize parasitic effects, and improve power supply stability. The following are some key aspects to consider.
Grounding is an important part of switching power supply PCB layout. Unlike ordinary low-speed digital circuits, switching power supplies contain both high-frequency pulsed currents and low-level control signals. Without proper grounding and return path planning, voltage drops and ground bounce caused by high currents may interfere with the normal operation of the control circuit.
Depending on circuit functions and current paths, grounding connections in a switching power supply can be divided into different functional regions, such as:
These functional regions do not necessarily need to form five completely separate ground planes on the PCB. The actual grounding arrangement should be determined by the power supply topology, controller grounding requirements, and current paths.
For isolated switching power supplies, the insulation boundary between the primary and secondary grounds must also be clearly maintained. Unless explicitly required by the circuit design, the two isolated sides must not be directly connected through ordinary copper pours or vias.
If a high-frequency common-mode noise coupling path is required between the primary and secondary sides, a safety-compliant Y capacitor can be used as specified by the circuit design. A Y capacitor provides a controlled return path for high-frequency common-mode current, but it should not be used indiscriminately to eliminate DC potential differences between ground regions.
For isolated power supplies that require a high-frequency coupling path between different ground regions, a Y capacitor can be used, provided that all applicable safety requirements are met.

(Y Capacitor Connecting Different Ground Regions)
In PCB layout, a ground plane generally provides a low-impedance return path for current and helps reduce signal loop areas. For multilayer boards, a continuous ground plane can provide a stable reference plane for both power and control circuits.
If copper pours or polygon planes are used as ground regions, ensure that their connections to the corresponding circuits are properly designed. Avoid narrow return paths or unnecessary ground plane splits.

(Power and Ground Plane Layout)
Power and ground planes not only provide low-impedance connections but can also help distribute current and transfer heat. However, the presence of a ground plane does not eliminate the need to consider actual high-frequency current return paths. Parasitic capacitance and noise coupling must still be controlled, especially around switching nodes.
Ground bounce refers to transient changes in local ground potential caused by parasitic resistance and inductance in PCB traces, vias, and planes when current changes rapidly.
In switching power supplies, power switches and rectifiers generate large pulsed currents. If these currents share a high-impedance return path with the control circuit, additional voltage fluctuations may appear on the control ground, affecting feedback sensing and controller operation.
Therefore, during PCB layout, avoid routing high-current return paths through the reference ground path of the control circuit whenever possible.
In some designs, the power and control circuits can be separated by functional placement. The power ground (Power GND) and signal ground (Signal GND) should then be arranged according to the controller datasheet requirements.

(Layout Partitioning of Analog Control and Power Circuits)
The image shows the separation of control and power circuits on a single-layer PCB. Proper component placement and return path planning help reduce interference from power currents on sensitive control signals.
It is important to note that power ground and control ground do not always need to use completely separate copper planes. In many switching power supply designs, maintaining a continuous ground plane while controlling noise through component placement and current path planning is often more beneficial for high-frequency return currents.
If the controller requires different ground regions to be connected at a specific location, follow the device datasheet. For example, some controllers require the power ground and signal ground to be connected at a designated point near the IC to prevent power return currents from flowing through the signal reference path.
For certain two-layer PCB designs, power ground and control ground copper areas can also be arranged on different layers and connected at designated locations according to the actual circuit requirements.

(Connecting Ground Regions on Different Layers with Vias)
The image shows one layout approach in which ground regions on different layers are connected through vias. In an actual design, the connection location and number of vias should be determined by the controller's grounding structure, current return paths, and PCB stackup. A single-point connection should not be treated as a universal rule for all switching power supplies.
Switching power supplies control energy transfer through the rapid turn-on and turn-off of power switching devices. Because the voltage at switching nodes changes rapidly (high dv/dt), parasitic capacitance can couple noise into nearby traces, ground planes, and other components.
Therefore, switching nodes are among the most important areas to control during PCB layout.
Consider the following guidelines:
In a Buck converter, the SW node is typically connected to the power MOSFET and inductor. In a Boost converter, the switching node is generally located at the connection between the inductor, power switch, and rectifier. Although the exact location varies by topology, the copper area and coupling range of these nodes should always be carefully controlled.
Buck and Boost converters are common non-isolated switching power supply topologies. Although both use inductors to store and transfer energy, their current paths and critical PCB layout areas are different.
Buck Converter PCB Layout
In a Buck converter, the input voltage is converted to a lower output voltage through the power switching stage and inductor.
During PCB layout, pay particular attention to the high-frequency current loop formed by the input bypass capacitor, power MOSFET, and freewheeling diode or synchronous rectification MOSFET. The input capacitor should be placed as close as possible to the power switch and its return terminal to shorten the high-frequency pulsed current path.
The SW node area should also be minimized. The inductor and output filter capacitors should be placed close to each other to reduce parasitic effects in the output loop.
Boost Converter PCB Layout
A Boost converter stores energy in the inductor and transfers it to the output when the power switch turns off, allowing the output voltage to be higher than the input voltage.
During layout, pay particular attention to the connections between the input capacitor, inductor, power MOSFET, and rectifier. The high-frequency current loops on the input and switching sides should be kept as short as possible. The output rectifier and output capacitor should also be placed close together.
Both topologies require careful control of high-frequency current loop areas. Trace widths and copper areas should be selected according to the actual current levels to reduce parasitic inductance, conduction losses, and EMI.

(Buck and Boost Converter PCB Layout)
The image shows PCB layout examples for Buck and Boost converters. Since the power current paths differ between topologies, the same component placement arrangement should not be applied indiscriminately. Layout optimization must be based on the actual current paths.
High-frequency pulsed currents in switching power supplies form current loops on the PCB. If these loops have large areas, their parasitic inductance increases, potentially causing voltage spikes and electromagnetic radiation.
Therefore, particular attention should be paid to high-di/dt current loops during layout. Keep the connections between related components as short as possible to minimize loop areas.
Although high-frequency current loops vary between topologies, the following loops generally require close attention:
In addition to shortening traces, their widths must be selected according to the current they carry. Wider copper traces help reduce resistance and conduction losses while improving heat dissipation. However, a fixed trace-width-per-amp rule should not be used as a universal design standard.
Actual trace width should be calculated based on copper thickness, allowable temperature rise, ambient temperature, layer location, and acceptable voltage drop. For high-current paths, copper pours or power planes can also be used to reduce impedance.
During placement and routing, avoid running high-frequency, high-current loops parallel to sensitive feedback and sensing traces over long distances, as this can increase capacitive and inductive coupling.

(Compact Component Placement with Short and Direct Traces)
The image shows a PCB layout with closely placed components and short traces. Proper component placement and direct routing help shorten current loops and reduce parasitic effects and noise coupling.
In addition to component placement and current loop design, EMI control and thermal management are important factors affecting switching power supply performance.
High-frequency switching operations in a switching power supply generate rapid changes in voltage and current. These changes can cause electromagnetic interference through conduction or radiation.
If high-frequency current loops have large areas or switching nodes are placed too close to sensitive signal traces, noise coupling and radiated EMI may increase.
EMI can be reduced through the following measures:
The placement of input and output filters also affects EMI performance. Filter components should be placed close to the corresponding interfaces or noise sources. The input and output traces of a filter should also be routed to avoid unwanted coupling, which could reduce filtering effectiveness.
Components such as MOSFETs, rectifier diodes, inductors, and transformers generate heat during switching power supply operation. Poor thermal design can cause excessive component temperatures, affecting power supply efficiency, stability, and service life.
PCB thermal management can be improved in several ways:
Note that a larger PCB copper area does not always result in better thermal performance. Electrical connections, parasitic capacitance, board layer structure, and actual cooling conditions must also be considered. For high-power switching power supplies, thermal simulation and prototype temperature-rise testing are recommended to verify the effectiveness of the thermal design.
Switching power supply PCB design involves more than ensuring correct electrical connections. It also requires careful consideration of component placement, high-frequency current loops, grounding, EMI, and thermal management. Controlling switching node areas, minimizing critical current loops, and providing appropriate heat dissipation paths for power components can help improve power supply efficiency, stability, and reliability. In practical designs, the layout should also be evaluated according to the specific topology, operating voltage, current, and applicable safety requirements to ensure that the PCB meets the product's performance and safety standards.