Printed circuit boards are the support for circuit elements and devices in electronic products. It provides electrical connections between circuit elements and devices. With the rapid development of electrical technology, the density of PGB is getting higher and higher. The quality of the PCB board design has a great impact on the ability to resist interference. Therefore, when designing the PCB board, the general principles of PCB board design must be followed, and the requirements of anti-interference design should be met. In order to obtain the performance of electronic circuits, the layout of components and the layout of wires are very important.
1. Layout
First of all, it is necessary to consider the large size of the PCB board. When the size of the PCB board is too large, the printed lines will be long, the impedance will increase, the anti-noise ability will decrease, and the cost will also increase; if it is too small, the heat dissipation will be poor, and the adjacent lines will be easily interfered. After determining the size of the PCB board, determine the location of special components. Layout all components of the circuit according to the functional unit of the circuit.
Observe the following guidelines when locating special components:
(1) Shorten the connection between high-frequency components as much as possible, and try to reduce their distribution parameters and mutual electromagnetic interference. Components that are susceptible to interference should not be too close to each other, and input and output components should be kept as far apart as possible.
(2) There may be a high potential difference between some components or wires, and the distance between them should be increased to avoid accidental short circuit caused by discharge. Components with high voltage should be arranged as far as possible in places that are not easily accessible by hand during debugging.
(3) Components weighing more than 15g. It should be fixed with brackets and then welded. Those are big and heavy. Components that generate a lot of heat should not be installed on the printed board, but should be installed on the chassis bottom plate of the whole machine, and the heat dissipation problem should be considered. Thermal elements should be kept away from heating elements.
(4) For potentiometers. Adjustable inductance coil. variable capacitor. The layout of adjustable components such as micro switches should consider the structural requirements of the whole machine. If it is adjusted inside the machine, it should be placed on the printed board where it is convenient for adjustment; if it is adjusted outside the machine, its position should be adapted to the position of the adjustment knob on the chassis panel.
(5) The position occupied by the positioning hole of the printed pulley and the fixing bracket should be reserved.
According to the functional unit of the circuit. When laying out all the components of the circuit, the following principles should be followed:
(1) Arrange the position of each functional circuit unit according to the circuit flow, so that the layout is convenient for signal circulation, and the direction of the signal is kept as consistent as possible.
(2) Centering on the element of each functional circuit, make layout around it. Components should be uniform. tidy. It is compactly arranged on the PCB board to minimize and shorten the leads and connections between components.
(3) For circuits operating at high frequencies, the distribution parameters between components should be considered. In general circuits, the components should be arranged in parallel as much as possible. In this way, it is not only beautiful, but also easy to install and weld. It is easy to mass produce.
(4) Components located at the edge of the circuit board are generally not less than 2mm away from the edge of the circuit board. The shape of the circuit board is rectangular. The aspect ratio is 3:2 into 4:3. When the size of the circuit board is larger than 200x150mm, the mechanical strength of the circuit board should be considered.
2. Wiring
The principles of wiring are as follows:
(1) The wires used at the input and output terminals should be avoided as much as possible in parallel. Add ground wire between wires to avoid feedback coupling.
(2) The width of the printed wire is mainly determined by the adhesion strength between the wire and the insulating base plate and the value of the current flowing through them. When the thickness of the copper foil is 0.05mm and the width is 1~15mm, the temperature will not be higher than 3°C through the current of 2A, so the wire width of 1.5mm can meet the requirements. For integrated circuits, especially digital circuits, a wire width of 0.02~0.3mm is usually selected. Of course, whenever possible, use as wide a wire as possible, especially power and ground wires. The spacing of the wires is mainly determined by the wire-to-wire insulation resistance and breakdown voltage under bad conditions. For integrated circuits, especially digital circuits, as long as the process allows, the spacing can be as small as 5~8mm.
(3) The bend of the printed wire is generally arc-shaped, and the right angle or the included angle will affect the electrical performance in high-frequency circuits. In addition, try to avoid the use of large-area copper foil, otherwise, the copper foil will easily expand and fall off when heated for a long time. When a large area of copper foil must be used, use a grid. This is beneficial to eliminate the volatile gas generated by the heating of the adhesive between the copper foil and the substrate.
3. Pad
The pad center hole is slightly larger than the device lead diameter. If the pad is too large, it is easy to form a virtual solder. The outer diameter D of the pad is generally not less than (d+1.2) mm, where d is the lead hole diameter. For high-density digital circuits, the diameter of the pad may be (d+1.0) mm.
PCB board and circuit anti-interference measures, the anti-interference design of the printed circuit board is closely related to the specific circuit, here are only a few common measures for the PCB board anti-interference design.
3.1 Power Cord Design
According to the size of the printed circuit board current, try to increase the width of the power line to reduce the loop resistance. at the same time. make the power cord. The direction of the ground wire is consistent with the direction of data transmission, which helps to enhance the anti-noise capability.
3.2 Lot Design
The principles of ground wire design are:
(1) The digital ground is separated from the analog ground. If there are logic circuits and linear circuits on the circuit board, they should be separated as much as possible. The ground of the low-frequency circuit should be grounded in parallel at a single point as far as possible. When the actual wiring is difficult, it can be partially connected in series and then grounded in parallel. The high-frequency circuit should be grounded at multiple points in series, the ground wire should be short and leased, and the large-area grid-shaped ground foil should be used around the high-frequency components as much as possible.
(2) The ground wire should be as thick as possible. If the ground wire is very slender, the ground potential will change with the change of the current, which will reduce the anti-noise performance. Therefore, the ground wire should be thickened so that it can pass three times the allowable current on the printed board. If possible, the ground wire should be more than 2~3mm.
(3) The ground wire forms a closed loop. For printed boards composed only of digital circuits, most of the grounding circuits are arranged in a loop, which can improve the anti-noise ability.
3.3 Decoupling capacitor configuration
One of the common practices of PCB board design is to configure appropriate decoupling capacitors in various key parts of the printed board. The general configuration principles of decoupling capacitors are:
(1) The power input end is connected across an electrolytic capacitor of 10~100uf. If possible, it is better to connect with more than 100uF.
(2) In principle, each integrated circuit chip should be arranged with a 0.01pF ceramic capacitor. If the printed board space is not enough, a 1~10pF capacitor can be arranged every 4~8 chips.
(3) Weak anti-noise ability. For devices with large power changes when turned off, such as RAM.ROM storage devices, a decoupling capacitor should be directly connected between the power line and the ground line of the chip.
(4) The capacitor leads should not be too long, especially the high-frequency PCB board bypass capacitors should not have leads.