Professional PCB manufacturing and assembly
Building 6, Zone 3, Yuekang Road,Bao'an District, Shenzhen, China
PCB Design
PCB Design
PCB Manufacturer: You should know the knowledge of LED switch design
Andy 0 Comments

PCB Manufacturer: You should know the knowledge of LED switch design

PCB Manufacturer: You should know the knowledge of LED switch design

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

1、 The design process from schematic diagram to PCB is to establish component parameters ->input schematic netlist ->design parameter setting ->manual layout ->manual routing ->verify design ->recheck ->CAM output.

2、 The spacing between adjacent conductors in parameter setting must meet the electrical safety requirements, and the spacing should be as wide as possible to facilitate operation and production. The minimum spacing shall at least be able to adapt to the withstand 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 should be as short as possible and the spacing should 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.

3、 The practice of component layout has proved that even if the circuit schematic diagram 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 circuit

(4) The output load current loop The input loop charges the input capacitor through 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 switch fundamental frequency. The peak amplitude can be up to 5 times of the continuous input/output DC current amplitude. The transition time is usually about 50ns 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 from the edge of the circuit board to the components located at the edge of the circuit board is generally not less than 2mm

printed circuit board

(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 shall be arranged evenly, orderly and compactly on the PCB, and the lead wires and connections between components shall be reduced and shortened as much as possible. The decoupling capacitor shall be close to the VCC of the 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.

4、 The wiring 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. Proper selection of single point grounding Generally, the common terminal of the filter capacitor should be the only connection point for other grounding points to be coupled 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. Make the grounding wire as thick 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 grounding terminal with large current uses a printed wire as short and wide as possible, and try to widen the width of the power source and ground wire. It is better that the ground wire is wider than the power line. Their relationship is: ground wire>power line>signal line. If possible, The width of the grounding wire should be more 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 far 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 simple and clear as far as possible.

(3) Cross circuit is not allowed in the printed circuit. For lines that may cross, "drilling" and "winding" can be used to solve the problem. 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.

5、 After checking the wiring design, 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 production process of printed boards. 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.

6、 Recheck according to the "PCB checklist", including design rules, layer definition, line width, spacing, pad and via settings, and focus on the rationality of device layout, routing of power supply and ground wire networks, routing and shielding of high-speed clock networks, and placement and connection of decoupling capacitors.

7、 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 (NCDrill)

B. When setting the layer of silk screen layer, do not select PartType, but select the Outline, Text and Linec of the top layer (bottom layer) and silk screen Layer When setting the Layer of each layer, select BoardOutline. When setting the Layer of the silk screen layer, do not select PartType. When selecting the Outline, Text, Line.d. of the top (bottom) and silk screen layer to generate drilling files, use the default settings of PowerPCB and do not make any changes.

PCB manufacturers, PCB designers and PCBA manufacturers explain PCB design specifications for LED switching power supply.

Just upload Gerber files, BOM files and design files, and the KINGFORD team will provide a complete quotation within 24h.