PCB Design Skills for Switching Power Supply

In any switching power supply design, the physical design of the PCB board is the last link. If the design method is not appropriate, the PCB may radiate too much electromagnetic interference, causing the power supply to work unstably. The following is an analysis of the matters that need to be paid attention to in each step.

  1. Design process from schematic to PCB

Establish component parameters -> Input principle netlist -> Design parameter setting -> Manual layout -> Manual wiring -> Verify design -> Review -> CAM output.

  1. Parameter setting

The spacing between adjacent wires must meet electrical safety requirements, and for ease of operation and production, the spacing should be as wide as possible. The minimum spacing must at least be suitable for the voltage to be tolerated. When the wiring density is low, the spacing between signal lines can be appropriately increased. The signal lines with a large difference in high and low levels should be as short as possible and the spacing should be increased. In general, the routing spacing is set to 8mil. The distance from the edge of the inner hole of the pad to the edge of the printed circuit board should be greater than 1mm, so as to avoid pad defects during processing. When the trace connected to the pad is thin, the connection between the pad and the trace should be designed into a water drop shape. The advantage of this is that the pad is not easy to peel, but the trace and the pad are not easy to disconnect.

  1. Component layout

Practice has proved that even if the circuit schematic is designed correctly, improper design of the printed circuit board will have an adverse effect on the reliability of electronic equipment. For example, if two thin parallel lines on the printed circuit board are very close, the signal waveform will be delayed and reflected noise will be formed at the terminal of the transmission line; interference caused by inconsiderate consideration of the power supply and ground line will reduce the performance of the product. Therefore, when designing the printed circuit board, you should pay attention to using the correct method. Each switching power supply has four current loops:

◆ Power switch AC loop

◆ Output rectifier AC loop

◆ Input signal source current loop

◆ Output load current loop input loop

The input capacitor is charged by a current close to DC, 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 loop. Therefore, the terminals of the input and output filter capacitors are very important. The input and output current loops should only be connected to the power supply from the terminals of the filter capacitors. If the connection between the input/output loop and the power switch/rectifier loop cannot be directly connected to the terminals of the capacitor, the AC energy will be radiated from the input or output filter capacitor to the environment.
The AC circuit of the power switch and the AC circuit of the rectifier contain high-amplitude trapezoidal currents. The harmonic components in these currents are very high, and their frequencies are much larger than the switching base frequency. The peak amplitude can be as high as 5 times the continuous input/output DC current amplitude, and the transition time is usually about 50ns. These two loops are most likely to generate electromagnetic interference, so these AC loops must be laid out before other printed wiring in the power supply. The three main components of each loop, filter capacitors, power switches or rectifiers, inductors or transformers, should be placed adjacent to each other, and the components should be positioned to make the current path between them as short as possible.
The best way to establish the layout of a switching power supply is similar to its electrical design.

The best design process is as follows:

  1. Place the transformer
  2. Design the power switch current loop
  3. Design the output rectifier current loop
  4. Connect to the control circuit of the AC power supply circuit

Design the input current source loop and input filter Design the output load loop and output filter When laying out all the components of the circuit according to the functional units of the circuit, the following principles must be followed:

● First, consider the size of the PCB. When the PCB size is too large, the printed lines are long, the impedance increases, the anti-noise ability decreases, and the cost increases; if it is too small, the heat dissipation is not good, and the adjacent lines are easily disturbed. The best shape of the circuit board is a rectangle with an aspect ratio of 3:2 or 4:3. The components located at the edge of the circuit board are generally not less than 2mm away from the edge of the circuit board

● When placing the components, consider the future welding and do not place them too densely

● Center the core components of each functional circuit and lay them out around them. Components should be arranged evenly, neatly and compactly on the PCB, and the leads and connections between components should be minimized and shortened as much as possible. The decoupling capacitor should be as close to the VCC of the device as possible.
● For circuits working at high frequencies, the distribution parameters between components should be considered. In general, components should be arranged in parallel as much as possible in the circuit. In this way, it is not only beautiful, but also easy to assemble and solder, and easy to mass produce.
● Arrange the positions of each functional circuit unit according to the circuit process, so that the layout is convenient for signal flow and the signal keeps the same direction as much as possible.
● The first principle of layout is to ensure the wiring pass rate. When moving devices, pay attention to the connection of flying wires and put devices with connection relationships together.
● Reduce the loop area as much as possible to suppress the radiation interference of the switching power supply.

  1. Wiring
    The switching power supply contains high-frequency signals. Any printed line on the PCB can act as an antenna. The length and width of the printed line will affect its impedance and inductance, thereby affecting the frequency response. Even the printed line passing the DC signal will couple to the RF signal from the adjacent printed line and cause circuit problems (even radiate interference signals again). Therefore, all printed lines through which AC current passes should be designed to be as short and wide as possible, which means that all components connected to the printed lines and to other power lines must be placed very close.
    The length of the printed line is proportional to the inductance and impedance it exhibits, while the width is inversely proportional to the inductance and impedance of the printed line. The length reflects the wavelength of the printed line response. The longer the length, the lower the frequency of electromagnetic waves that the printed line can send and receive, and it can radiate more radio frequency energy. According to the size of the printed circuit board current, try to increase the width of the power line and reduce the loop resistance. At the same time, make the direction of the power line and the ground line 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 the switching power supply. It plays an important role as a common reference point of the circuit. It is an important method to control interference. Therefore, the placement of the grounding wire should be carefully considered in the layout. Mixing various groundings will cause unstable power supply operation.
  2. Check
    After the wiring design is completed, it is necessary to carefully check whether the wiring design conforms to the rules set by the designer. At the same time, it is also necessary to confirm whether the rules set conform to the requirements of the printed circuit board production process. Generally, check whether the distance between lines, lines and component pads, lines and through holes, component pads and through holes, and through holes are reasonable and meet production requirements. Check whether the width of the power line and the ground line is appropriate, and whether there is any place in the PCB that can widen the ground line. Note: Some errors can be ignored. For example, part of the outline of some connectors is placed outside the board frame, which will cause errors when checking the spacing; in addition, after each modification of the routing and vias, the copper must be re-coated.
    The review is based on the “PCB Checklist”, which includes design rules, layer definition, line width, spacing, pads, and via settings. It is also necessary to focus on reviewing the rationality of the device layout, the routing of the power and ground network, the routing and shielding of the high-speed clock network, and the placement and connection of the decoupling capacitors.
  3. Design output

Notes on outputting photolithography files:

● The layers that need to be output are wiring layer (bottom layer), silk screen layer (including top silk screen and bottom silk screen), solder mask layer (bottom solder mask), drilling layer (bottom layer), and drilling file (NC Drill) must be generated

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

● When setting each layer layer, select Board Outline, and when setting the silk screen layer layer, do not select Part Type, select the top (bottom) and silk screen layer Outline, Text, Line

Similar Posts

Leave a Reply