Issues such as spacing, component position, and loop area that should be paid attention to when designing a power supply PCB
All electronic engineers must know that PCB design plays a very important role in design. Taking the power supply as an example, PCB design will directly affect the EMC performance, output noise, anti-interference ability, and even basic functions of the power supply. The PCB wiring of the power supply part is slightly different from other hardware. How to design it? This article will reveal it to you.
Spacing
For high-voltage products, the line spacing must be considered. Of course, the spacing that meets the corresponding safety requirements is the best, but in many cases, for products that do not require certification or cannot meet certification, the spacing is determined by experience.
How wide is the spacing? It is necessary to consider whether the production can ensure the cleanliness of the board surface, environmental humidity, other pollution, etc.
For AC input, even if the board surface can be kept clean and sealed, the drain-source voltage of the MOS tube is close to 600V, and less than 1mm is actually quite dangerous!
Components on the edge of the board
When placing chip capacitors or other vulnerable devices on the edge of the PCB, the direction of the PCB board must be considered. The figure shows the stress magnitude comparison of the device when various placement methods are used.

Figure 1 Comparison of stress on devices during board splitting
From this, it can be seen that the device should be away from and parallel to the edge of the board, otherwise the component may be damaged due to PCB board splitting.
Loop area
Whether it is input or output, power loop or signal loop, it should be as small as possible. The power loop emits electromagnetic fields, which will lead to poor EMI characteristics or large output noise; at the same time, if it is received by the control loop, it is likely to cause abnormalities.
On the other hand, if the power loop area is large, its equivalent parasitic inductance will also increase, which may increase the drain noise spike.
Key routing
Due to the effect of di/dt, the inductance at the dynamic node must be reduced, otherwise a strong electromagnetic field will be generated. To reduce the inductance, the main thing is to reduce the length of the wiring, and increasing the width has a smaller effect.
Signal line
For the entire control part, consider keeping it away from the power part when wiring. If the two are close due to other restrictions, the control line should not be parallel to the power line, otherwise it may cause abnormal operation and oscillation of the power supply.
In addition, if the control line is very long, the pair of lines going back and forth should be close, or the two should be placed on two surfaces of the PCB and facing each other, so as to reduce its loop area and avoid being interfered by the electromagnetic field of the power part. As shown in Figure 2, the correct and incorrect signal line routing methods between points A and B are illustrated.

Figure 2 Correct and incorrect signal line routing methods.
Of course, the vias used for connection should be minimized on the signal line!
Copper plating
Sometimes copper plating is completely unnecessary and should even be avoided. If the copper area is large enough and its voltage is constantly changing, on the one hand it may act as an antenna to radiate electromagnetic waves to the surroundings; on the other hand it is easy to pick up noise.
Usually, copper is only allowed to be placed on static nodes. For example, copper is placed on the “ground” node at the output end, which can increase the output capacitance and filter out some noise signals.
Mapping
For a loop, copper can be placed on one side of the PCB, and it will automatically map according to the wiring on the other side of the PCB to minimize the impedance of this loop. This is like a group of impedances with different impedance values connected in parallel, and the current will automatically choose the path with the smallest impedance to flow through.
In fact, the wiring can be made on one side of the control part of the circuit, and copper is placed on the “ground” node on the other side, and the two sides are connected through vias.
Output rectifier diode
If the output rectifier diode is close to the output end, it should not be placed parallel to the output. Otherwise, the electromagnetic field generated at the diode will penetrate the loop formed by the power supply output and the external load, increasing the measured output noise.

Figure 3 Correct and incorrect diode placement direction
Ground wire
The wiring of the ground wire must be very careful, otherwise it may cause EMS, EMI performance and other performance degradation. For the “ground” of the switching power supply PCB, at least the following two points should be achieved:
Power ground and signal ground should be connected at a single point;
There should be no ground loop.
Y capacitor
The input and output are often connected to the Y capacitor. Sometimes, for some reasons, it may not be possible to hang it on the input capacitor ground. At this time, remember that it must be connected to a static node, such as the high-voltage end.
Others
When designing the actual power supply PCB, some other issues may need to be considered, such as “the varistor should be close to the protected circuit”, “the common mode inductor should increase the discharge teeth”, “the chip VCC power supply should increase the ceramic capacitor”, etc. In addition, whether special treatment is required, such as copper foil, shielding, etc., also needs to be considered during the PCB design stage.
Sometimes, there are often situations where multiple principles conflict with each other. If one of them is met, the others cannot be met. This requires engineers to apply their existing experience and determine the most appropriate wiring according to the actual project requirements!
Summary
In order to create highly stable products, many design details are required in hardware design. This article only introduces the most common power supply design in hardware. In order to ensure that the overall product or system has stable and reliable power supply, most engineers will choose power modules as the basis of system power supply.







