Kingford focus on the high-quality PCBA order demand of "Multiple varieties, medium and small batch, and short lead time".
Engineering Technology
Engineering Technology
Precautions for PCB board in switching power supply design
Jeff 0 Comments

Precautions for PCB board in switching power supply design

In the design of switching power supply, the physICal design of PCB board is the last link. If the design method is improper, PCB may radiate too much electromagnetic interference, causing instability of power supply. The following describes the problems that need to be paid attention to in each link of PCB board in the PCB design of switching power supply in PCB factory:

Design flow from schematic diagram to PCB

Create component parameters ->Input principle net list ->Design parameter setting ->Manual layout ->Manual routing ->Validate design ->Review ->CAM output.

pcb board

Problems to be paid attention to in PCB design of switching power supply

Layout of components

Practice has proved that even if the circuit schematic is correctly designed and the printed circuit board is improperly designed, the reliability of electronic equipment will be adversely affected. For example, if two thin parallel lines of the printed board are close together, the delay of the signal waveform will be formed and the reflected noise will be formed at the end of the transmission line; The interference caused by improper consideration of power supply and ground wire will degrade the performance of the product. Therefore, correct methods should be used when designing printed circuit boards. Each switching power supply has four current circuits:

(1) AC circuit of power switch

(2) Output rectifier AC circuit

(3) Input signal source current loop

(4) Output load current loop Input loop

The input capacitor is charged by an approximate DC current, and the filter capacitor mainly plays a broadband energy storage role; SIMilarly, the output filter capacitor is also used to store high-frequency energy from the output rectifier and eliminate the DC energy of the output load circuit. Therefore, the terminals of the input and output filter capacitors are very important. The input and output current circuits should be connected to the power supply only from the terminals of the filter capacitors; If the connection between the input/output circuit and the power switch/rectifier circuit cannot be directly connected to the terminal of the capacitor, the AC energy will be radiated to the environment by the input or output filter capacitor.

The AC circuit of the power switch and the AC circuit of the rectifier contain high amplitude trapezoidal currents. The harmonic component of these currents is very high, and its frequency is far greater than the basic frequency of the switch. The peak amplitude can be up to 5 times the amplitude of the continuous input/output DC current. The transition time is usually about 50 n/s.

These two circuits are most likely to generate electromagnetic interference, so these AC circuits must be laid before wiring other printed lines in the power supply. The three main components of each circuit, filter capacitor, power switch or rectifier, inductor or transformer, should be placed adjacent to each other. Adjust the component position to make the current path between them as short as possible. The best way to establish the switching power supply layout is similar to its electrical design. The best design process is as follows:

Place the transformer

Design power switch current circuit

Design current circuit of output rectifier

Control circuit connected to AC power circuit

Design input current source circuit and input filter Design output load circuit and output filter According to the functional unit of the circuit, the layout of all components of the circuit shall comply with the following principles:

(1) First, consider PCB size. When the PCB size is too large, the printed line is long, the impedance increases, the noise resistance decreases, and the cost increases; If it is too SMAll, the heat dissipation is poor, and adjacent lines are vulnerable to interference. The optimal shape of the circuit board is rectangular, with a length to width ratio of 3:2 or 4:3. The distance between the components located at the edge of the circuit board and the edge of the circuit board is generally not less than 2mm.

(2) When placing the device, it is necessary to consider the future welding, not too intensive.

(3) Take the core components of each functional circuit as the center, and arrange around it. The components and parts shall be evenly, orderly and compactly arranged on the PCB to minimize and shorten the lead and connection between components and parts, and the decoupling capacitor shall be close to the VCC of components as much as possible.

(4) For circuits operating at high frequencies, the distribution parameters between components should be considered. For general circuits, components shall be arranged in parallel as far as possible. In this way, it is not only beautiful, but also easy to assemble and weld, and easy to mass produce.

(5) Arrange the position of each functional circuit unit according to the circuit flow, so that the layout is convenient for signal flow and the signal is kept in the same direction as far as possible.

(6) The primary principle of layout is to ensure the distribution rate of wiring, pay attention to the connection of flying wires when moving components, and put the components with wiring relationship together.

(7) Reduce the loop area as much as possible to suppress the radiated interference of switching power supply.

Parameter setting

The spacing between adjacent conductors must meet the electrical safety requirements, and in order to facilitate operation and production, the spacing should also be as wide as possible. The minimum spacing shall be at least suitable for the voltage. When the wiring density is low, the spacing of signal lines can be appropriately increased. The signal lines with high and low level differences shall be as short as possible and the spacing shall be increased. Generally, the wiring spacing is set to 8mil.

The distance from the edge of the inner hole of the pad to the edge of the printed board shall be greater than 1mm, so as to avoid pad defects during processing. When the wiring connected with the pad is thin, the connection between the pad and the wiring should be designed as a water drop. This has the advantage that the pad is not easy to peel, but the wiring and the pad are not easy to disconnect.


The switching power supply contains high-frequency signals. Any printed wire on the PCB can act as an antenna. The length and width of the printed wire will affect its impedance and inductance, thus affecting the frequency response. Even the printed wire passing through the DC signal will be coupLED to the RF signal from the adjacent printed wire and cause circuit problems (or even radiate interference signals again). Therefore, all printed wires passing through AC current should be designed as short and wide as possible, which means that all components connected to the printed wire and other power lines must be placed close together.

The length of the printed wire is proportional to its inductance and impedance, while the width is inversely proportional to its inductance and impedance. The length reflects the wavelength of the printed wire response. The longer the length is, the lower the frequency of the printed wire that can send and receive electromagnetic waves, and it can radiate more RF energy. According to the current of the printed circuit board, try to rent the width of the power line to reduce the loop resistance. At the same time, make the direction of the power line and ground wire consistent with the direction of the current, which helps to enhance the anti noise ability. Grounding is the bottom branch of the four current loops of switching power supply, which plays an important role as the common reference point of the circuit and is an important method to control interference.

Therefore, the placement of grounding wires should be carefully considered in the layout. Mixing various grounding wires will cause unstable power supply.

Attention shall be paid to the following points in the design of ground wire:

1. Correct selection of single point grounding Generally, the common terminal of the filter capacitor should be the only connection point for other grounding points to couple to the high current AC ground. The grounding point of the same level circuit should be as close as possible, and the power filter capacitor of this level circuit should also be connected to the grounding point of this level, mainly considering that the current returned from each part of the circuit to the ground is variable, The impedance of the line actually flowing through will lead to the change of the ground potential of each part of the circuit and introduce interference. In this switching power supply, its wiring and inductance between components have less influence, while the circulating current formed by the grounding circuit has greater influence on the interference, so one point grounding is adopted, That is, the power switch current circuit (the ground wires of several components in the circuit are connected to the grounding pin, and the ground wires of several components in the current circuit of the output rectifier are also connected to the grounding pin of the corresponding filter capacitor, so that the power supply works more stably and is not easy to self excite. If a single point cannot be achieved, connect two diodes or a small resistance at the common ground, which can be connected to a relatively concentrated copper foil.

2. thicken the grounding wire as much as possible. If the grounding wire is very thin, the grounding potential will change with the change of current, causing the timing signal level of electronic equipment to be unstable and the anti noise performance to be deteriorated. Therefore, ensure that each large current grounding terminal uses a printed wire as short and wide as possible, and widen the width of power supply and ground wire as much as possible. It is better that the ground wire is wider than the power wire. Their relationship is: ground wire, power wire, signal wire. If possible, The width of the grounding wire should be greater than 3mm, and large area copper layer can also be used as the grounding wire. The unused parts on the printed board are connected to the ground as the grounding wire. The following principles must also be followed when conducting global cabling:

(1) Wiring direction: from the welding surface, the arrangement direction of the components should be consistent with the schematic diagram as much as possible, and the wiring direction should be consistent with the wiring direction of the circuit diagram. Since it is usually necessary to detect various parameters on the welding surface during the production process, this is convenient for inspection, debugging and maintenance in production (note: it refers to the prEMIse of meeting the requirements of circuit performance, complete machine installation and panel layout).

(2) When designing the wiring diagram, the routing shall be done with as few turns as possible, the line width on the printing arc shall not change suddenly, the wire corner shall be ≥ 90 degrees, and the lines shall be as simple and clear as possible.

(3) Cross circuits are not allowed in printed circuits. Lines that may cross can be solved by "drilling" or "winding". That is to say, let a lead "drill" through the gap at the foot of other resistors, capacitors and triodes, or "wind" through one end of a lead that may cross. Under special circumstances, how to make the circuit very complex? In order to simplify the design, it is also allowed to use wire jumpers to solve the cross circuit problem. As a single panel is used, the in-line component is located on the top side and the surface mounted component is located on the bottom side, so the in-line component can overlap the surface mounted component in the layout, but the bonding pad overlap should be avoided.

3. The input ground and output ground are low-voltage DC - DC in this switching power supply. To feedback the output voltage back to the primary of the transformer, the circuits on both sides should have a common reference ground. Therefore, after the ground wires on both sides are paved with copper, they should be connected together to form a common ground.


After the PCB wiring design is completed, it is necessary to carefully check whether the wiring design conforms to the rules formulated by the designer, and also to confirm whether the rules formulated conform to the requirements of the PCB production process. Generally, it is necessary to check whether the distances between lines, lines and component pads, lines and through holes, component pads and through holes, through holes and through holes are reasonable and meet the Production requirements. Whether the width of the power line and ground wire is appropriate, and whether there is a place in the PCB where the ground wire can be widened. Note: Some errors can be ignored. For example, some parts of the Outline of some connectors are placed outside the board frame, and errors will occur when checking the spacing; In addition, every time the routing and vias are modified, they should be copper coated again.

Recheck according to "PCB checklist"

The contents include design rules, layer definition, line width, spacing, pad and via settings, and the rationality of device layout, routing of power and ground networks, routing and shielding of high-speed clock networks, and placement and connection of decoupling capacitors.

Considerations for designing output photo files:

a. The layers to be output include wiring layer (bottom layer), silk screen layer (including top layer silk screen, bottom layer silk screen), solder mask layer (bottom layer solder mask), drilling layer (bottom layer), and also generate drilling file (NCD drill)

b. When setting the layer of the silk screen layer, do not select the Part Type, but select the Outline, Text and Line of the top layer (bottom layer) and silk screen layer.

c. When setting the layer of each layer, select Board Outline. When setting the layer of silk screen layer, do not select Part Type, but select the outline, text and line of the top (bottom) layer and silk screen layer.

d. When generating PCB drilling files, use the default settings of power PCB and do not make any changes.

We use cookies to optimize our website and our service.