PCB (edCircuit Board), Chinese name is printed circuit board, also known as printed circuit board, printed circuit board, is an important electronic component, is the support of electronic components, and is the electrical connection provider of electronic components. Because it is made by electronic printing, it is called "printed" circuit board.
As PCB size requirements become smaller and smaller, device density requirements become higher and higher, and PCB design becomes more and more difficult. How to achieve high PCB routing rate and shorten the design time? Here the author talks about the design skills of PCB planning, layout and routing.
Before wiring, the design should be carefully analyzed and the tool software should be carefully set, which will make the design more consistent with the requirements.
1. Determine the number of layers of PCB
The size of the circuit board and the number of wiring layers need to be determined at the initial stage of design. The number of wiring layers and the way of stacking (STack up) will directly affect the wiring and impedance of the printed wire. The size of the board is helpful to determine the stacking mode and the width of the printed line to achieve the desired design effect. At present, the cost difference between multilayer boards is very small, so it is better to use more circuit layers and make copper coating evenly distributed at the beginning of design.
2. Design rules and limitations
To successfully complete the routing task, the routing tool needs to work under the correct rules and restrictions. To classify all signal lines with special requirements, each signal class should have priority. The higher the priority, the stricter the rules. The rules involve the width of printed wire, the maximum number of vias, parallelism, the interaction between signal wires, and layer restrictions. These rules have a great impact on the performance of wiring tools.
Careful consideration of design requirements is an important step for successful cabling.
3. Layout of PCB components
In the process of optimal assembly, the design for manufacturability (DFM) rules will limit the component layout. If the assembly department allows the components to move, the circuit can be properly optimized to facilitate automatic wiring. The rules and constraints defined affect the layout design. The automatic routing tool only considers one signal at a time. By setting the constraints of routing and the layers that can be used to route signal lines, the routing tool can complete the routing as envisaged by the designer.
For example, for power cord layout:
In PCB layout, the power decoupling circuit should be designed near each related circuit, not placed in the power supply part, otherwise it will not only affect the bypass effect, but also flow pulsating current on the power line and ground wire, causing interference;
For the internal power supply direction of the circuit, power shall be supplied from the last stage to the next stage, and the power filter capacitor of this part shall be arranged near the last stage;
For some main current channels, such as disconnecting or measuring the current during commissioning and testing, the current gap shall be arranged on the printed wire during layout.
In addition, it should be noted that the regulated power supply should be arranged on a separate printed board as far as possible. When the power supply and circuit share a printed board, in the layout, it should be avoided to mix the regulated power supply and circuit components or make the power supply and circuit share a ground wire.
Because this kind of wiring is not only easy to cause interference, but also cannot disconnect the load during maintenance, so only part of the printed wire can be cut, thus damaging the printed board.
4. Fan out design
At the fan out design stage, each pin of the surface mount device should have at least one via, so that when more connections are needed, the circuit board can carry out internal connection, online testing and circuit reprocessing.
In order to maximize the efficiency of the automatic routing tool, it is necessary to use the largest via size and printed wire as much as possible, and it is ideal to set the spacing at 50mil. Use the type of vias that maximize the number of routing diameters. After careful consideration and prediction, the design of circuit online test can be carried out at the initial stage of design and realized at the later stage of production process.
The type of via fan out is determined according to the wiring path and circuit online test. The power and grounding will also affect the wiring and fan out design.
5. Manual wiring and key signal processing
Manual wiring is an important process of PCB design now and in the future, and it is helpful for automatic wiring tools to complete wiring.
By manually routing and fixing the selected network (net), a path that can be used for automatic routing can be formed.
First, route the key signals, either manually or with automatic routing tools. After the wiring is completed, relevant engineers and technicians shall check the signal wiring. After passing the inspection, fix these lines, and then start automatic wiring for other signals.
The existence of impedance in the ground wire will bring common impedance interference to the circuit. Therefore, it is not allowed to connect all points with grounding symbols at will during wiring, which may cause harmful coupling and affect the work of the circuit.
At higher frequencies, the inductive reactance of the conductor will be several orders of magnitude greater than the resistance of the conductor itself. At this time, even if only a small high-frequency current flows on the wire, it will also produce a certain high-frequency voltage drop. Therefore, for high-frequency circuits, the PCB layout should be as compact as possible to make the printed wire as short as possible.
There are mutual inductance and capacitance between printed wires. When the working frequency is large, it will interfere with other parts, which is called parasitic coupling interference. The following inhibition methods can be adopted:
Shorten signal wiring between levels as much as possible;
Arrange the circuits at all levels according to the signal sequence to avoid the signal lines at all levels crossing each other;
The conductors of two adjacent panels shall be vertical or cross, not parallel;
When signal conductors are to be laid in parallel in the board, they should be separated by a certain distance as far as possible, or separated by ground wires and power lines to achieve the purpose of shielding.
6. Automatic routing
For the wiring of key signals, it is necessary to consider controlling some electrical parameters during the wiring, such as reducing the distributed inductance. After knowing what input parameters the automatic wiring tool has and the impact of the input parameters on the wiring, the quality of the automatic wiring can be guaranteed to a certain extent.
General rules should be used when routing signals automatically. By setting limiting conditions and prohibited wiring areas to limit the layers used for a given signal and the number of vias used, the wiring tool can automatically wire according to the design idea of the engineer. After the constraint conditions are set and the rules created are applied, the automatic routing will achieve a result similar to that expected. After part of the design is completed, fix it to prevent it from being affected by the subsequent routing process.
The number of PCB wiring depends on the complexity of the circuit and the number of defined general rules. Today's auto routing tools are very powerful, and can usually complete 100% routing. However, when the automatic wiring tool does not complete all signal wiring, it is necessary to manually wire the remaining signals.
7. Arrangement of PCB wiring
For signals with few constraints and long wiring length, you can first determine which wiring is reasonable and which is unreasonable, and then manually edit to shorten the signal wiring length and reduce the number of vias.