PCB Design Specifications for Switching Power Supplies
[Copy link]
PCB Design Specifications for Switching Power Supplies 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 unstable. 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. 2. Parameter setting The spacing between adjacent wires must meet the electrical safety requirements , and for the convenience 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 borne. When the wiring density is low, the spacing between signal lines can be appropriately increased. The signal lines with high and low levels should be as short as possible and the spacing should be increased. In general, 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 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. 3. Component layout Practice has proved that even if the circuit schematic is designed correctly, improper printed circuit board design will have an adverse effect on the reliability of electronic equipment. For example, if two thin parallel lines on a printed circuit board are very close to each other, the signal waveform will be delayed and reflected noise will be formed at the end 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 a printed circuit board, you should pay attention to using the correct method. Each switching power supply has four current loops: (1). Power switch AC loop (2). Output rectifier AC loop (3). Input signal source current loop (4). Output load current loop The input loop charges the input capacitor with a current that is 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 capacitor terminals, 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 greater 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 circuits are most likely to generate electromagnetic interference, so these AC circuits must be laid out before other printed wiring in the power supply. The three main components of each circuit, filter capacitors, power switches or rectifiers, and inductors or transformers, should be placed adjacent to each other, and the positions of the components should be adjusted 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: · Place the transformer · Design the power switch current loop · Design the output rectifier current loop · Connect to the control circuit of the AC power circuit · Design the input current source loop and input filter Design the output load loop and output filter According to the functional units of the circuit, when laying out all the components of the circuit, the following principles must be met: (1) 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 poor, and the adjacent lines are easily interfered. 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. (2) When placing components, consider the future welding and do not place them too densely. (3) Take the core component of each functional circuit as the center and lay it out around it. The components should be arranged evenly, neatly and compactly on the PCB, and the leads and connections between the 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. (4) For circuits working at high frequencies, the distribution parameters between components should be considered. In general, the components should be arranged in parallel as much as possible in the circuit. This is not only beautiful, but also easy to assemble and solder, and easy to mass produce. (5) Arrange the positions of each functional circuit unit according to the circuit flow, so that the layout is convenient for signal flow and the signal can maintain the same direction as much as possible. (6) The first principle of layout is to ensure the wiring pass rate. When moving devices, pay attention to the connection of flying wires and place devices with connection relationships together. (7) Reduce the loop area as much as possible to suppress the radiation interference of the switching power supply. 4. 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 passing AC current should be designed to be as short and wide as possible, which means that all components connected to the printed lines and 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 the electromagnetic wave that the printed line can send and receive, and it can radiate more RF 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 a very important role as the 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. The following points should be noted in the grounding design: 1. Correctly select single-point grounding. Usually, the common end of the filter capacitor should be the only connection point for other grounding points to couple to the AC ground of large current. The grounding points of the same level circuit should be as close as possible, and the power filter capacitor of the circuit at this level should also be connected to the grounding point of this level. The main consideration is that the current flowing back to the ground from each part of the circuit is changing. The impedance of the actual flowing line will cause the ground potential of each part of the circuit to change and introduce interference. In this switching power supply, the inductance between its wiring and devices has little effect, while the loop current formed by the grounding circuit has a greater impact on interference. Therefore, a single-point grounding is adopted, that is, the ground wires of several devices in the power switch current loop are connected to the ground pin, and the ground wires of several devices in the output rectifier current loop are also connected to the ground pin of the corresponding filter capacitor. In this way, the power supply works more stably and is not easy to self-excite. When a single point cannot be achieved, two diodes or a small resistor are connected at the common ground. In fact, it can be connected to a relatively concentrated piece of copper foil.
2. Thicken the ground wire as much as possible. If the ground wire is very thin, the ground potential will change with the change of current, causing the timing signal level of the electronic equipment to be unstable and the anti-noise performance to deteriorate. Therefore, it is necessary to ensure that each ground terminal of a large current uses a printed line as short and wide as possible, and try to widen the width of the power and ground wires. It is best that the ground wire is wider than the power wire. Their relationship is: ground wire>power line>signal line. If possible, the width of the ground wire should be greater than 3mm. A large area of copper layer can also be used as a ground wire. All unused areas on the printed circuit board are connected to the ground as a ground wire. When performing global wiring, the following principles must also be followed: (1). Wiring direction: From the welding surface, the arrangement of the components should be kept consistent with the schematic diagram as much as possible. The wiring direction is best consistent with the wiring direction of the circuit diagram. Because various parameters usually need to be tested on the welding surface during the production process, this is convenient for inspection, debugging and maintenance in production (Note: refers to the premise of meeting the circuit performance and the requirements of the whole machine installation and panel layout). (2) When designing a wiring diagram, the wiring should have as few turns as possible, the line width on the printed arc should not change suddenly, the wire corner should be ≥90 degrees, and the lines should be simple and clear. (3) Crossover circuits are not allowed in printed circuits. For lines that may cross, "drilling" and "winding" can be used to solve the problem. That is, let a lead "drill" through the gap under other resistors, capacitors, and transistors, or "wind" through one end of a lead that may cross. In special cases, if the circuit is very complicated, wire jumper is allowed to simplify the design to solve the crossover circuit problem. Because a single-sided board is used, the direct-insert components are located on the top surface and the surface-mount components are located on the bottom surface. Therefore, when laying out, the direct-insert components can overlap with the surface-mount components, but the pads must be avoided from overlapping. 3. Input ground and output ground This switching power supply is a low-voltage DC-DC. In order to feed the output voltage back to the primary of the transformer, the circuits on both sides should have a common reference ground. Therefore, after copper is laid on the ground wires on both sides, they must be connected together to form a common ground. 5. Check the wiring design. After the 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 meet 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 a 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, each time the routing and vias are modified, the copper must be re-coated. 6. Review According to the "PCB Checklist", the content 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. 7. Design output Notes on outputting photolithography files: a. The layers that need to be output are the wiring layer (bottom layer), the silk screen layer (including the top silk screen and the bottom silk screen), the solder mask layer (bottom solder mask), the drilling layer (bottom layer), and the drilling file (NC Drill) must also be generated. b. When setting the Layer of the silk screen layer, do not select Part Type, and select the Outline, Text, and Line of the top (bottom) and silk screen layers. c. When setting the Layer of each layer, select Board Outline. When setting the Layer of the silk screen layer, do not select Part Type, and select the Outline, Text, and Line of the top (bottom) and silk screen layers. d. When generating a drilling file, use the default settings of PowerPCB and do not make any changes.
|