As an electronics engineer, circuit design is an essential hard skill. However, no matter how perfect the schematic design is, if the PCB layout is unreasonable, the performance will be greatly compromised, and in severe cases the board may not work at all. Based on the experience of our company's engineers, we have summarised the following points that should be paid attention to in PCB design, in the hope that they may be of help to you.
Regardless of which software is used, PCB design generally follows a rough procedure. Following the sequence will save time and effort, so I will introduce the process in order. (Since Protel has a user interface and operating habits similar to Windows, and offers powerful simulation capabilities, it is widely used – I will use this software as an example.)
Schematic design is preparatory work. Beginners are often seen skipping this step and going straight to PCB layout to save effort. This will be counterproductive. For simple boards, if you are familiar with the workflow, you may skip it. However, beginners must follow the proper sequence: on one hand, it helps develop good habits; on the other hand, for complex circuits, only by following the sequence can errors be avoided.
When drawing schematics, pay attention to hierarchical design – all files must eventually be connected as a whole, which is also important for subsequent work. Due to differences between software packages, some may show connections visually that are not actually connected (electrically). If no relevant checking tools are used, and a problem occurs, it may be too late to fix by the time the board is manufactured. Therefore, I emphasise again the importance of following the proper sequence – I hope everyone pays attention to this.
The schematic is based on the project being designed; as long as the electrical connections are correct, there is not much to discuss. Below, we will focus on the specific issues in the board fabrication process.
1. Creating the Physical Board Outline
A closed physical outline is the basic platform for subsequent component placement and routing, and also constrains the auto‑placement function – otherwise, components imported from the schematic will be disoriented. However, be very careful about precision; otherwise, installation problems will cause significant trouble later. Also, it is best to use arcs at corners – this not only prevents sharp corners from injuring workers but also reduces stress. In one of my previous products, some units repeatedly suffered PCB cracking in the enclosure during transportation; the problem was resolved after switching to rounded corners.
2. Importing Components and Nets
Bringing components and nets into the drawn outline should be straightforward, but problems often occur here. Be sure to carefully resolve each error message – otherwise, much more effort will be required later. Common issues include:
Component footprints not found
Netlist problems (unused components or pins)
These can usually be resolved quickly by following the prompts.
3. Component Placement
Component placement and routing have a great impact on product lifespan, stability, and electromagnetic compatibility – they deserve special attention. General principles include:
(1) Placement order
First place components that have fixed positions determined by mechanical constraints, such as power sockets, indicators, switches, connectors, etc. After placing these, use the software's LOCK function to prevent accidental movement. Then place special components and large components such as heat‑generating devices, transformers, ICs, etc. Finally place small components.
(2) Heat dissipation
Pay special attention to heat dissipation during component placement. For high‑power circuits, heat‑generating components such as power transistors and transformers should be placed near the edges and spread out to facilitate heat dissipation. Do not concentrate them in one area, and keep them away from electrolytic capacitors to prevent premature ageing of the electrolyte.
4. Routing
Routing principles
Routing is a deep subject – everyone has their own insights, but there are some general principles:
◆ High‑frequency digital circuit traces should be thinner and shorter.
◆ Signals carrying large currents, high voltages, and small signals should be properly isolated. (The isolation distance is related to the withstand voltage. Typically, at 2 kV, the clearance on the board should be 2 mm; above that, the distance should be scaled up proportionally. For example, to withstand a 3 kV hi‑pot test, the distance between high‑voltage and low‑voltage traces should be >3.5 mm. In many cases, slots are also cut between high‑ and low‑voltage areas to prevent creepage.)
◆ On double‑sided boards, traces on opposite sides should run perpendicular, diagonal, or curved to each other – avoid parallel runs to reduce parasitic coupling. Input and output traces should avoid adjacent parallel routing to prevent feedback; it is best to add a ground trace between them.
◆ Trace corners should be greater than 90° whenever possible. Avoid corners below 90° and try to minimise 90° corners as well.
◆ For address or data buses, trace length differences should not be too large; otherwise, the shorter traces should be deliberately meandered for compensation.
◆ Traces should be routed on the solder side as much as possible, especially for through‑hole PCBs.
◆ Minimise the use of vias and jumpers.
◆ Pads on single‑sided boards must be large, and traces connected to pads must be wide. Add teardrops where possible. Single‑sided board manufacturers generally do not produce high‑quality boards; otherwise, soldering and rework will be problematic.
◆ Large copper areas should be hatched (grid‑patterned) to prevent the board from blistering during wave soldering and to avoid bending due to thermal stress. However, in special cases, the direction and size of the GND current flow must be considered – do not simply fill with copper foil; routing is required.
◆ Components and traces should not be placed too close to the edge. Most single‑sided boards are made of paper‑based laminate, which is prone to cracking under mechanical stress; edge routing or component placement may be affected.
◆ Consider ease of production, debugging, and maintenance.
For analogue circuits, handling the ground is very important. Noise on the ground plane is often unpredictable, but once it occurs it can cause great trouble – prevention is better than cure. In power amplifier circuits, even extremely small ground noise can noticeably affect sound quality due to subsequent amplification. In high‑precision A/D converters, high‑frequency components on the ground line can cause temperature drift and affect amplifier operation. One solution is to add decoupling capacitors at the four corners of the board, with one pin connected to the board ground and the other to the mounting hole (connected to the chassis via screws). This filters out the high‑frequency components and stabilises the amplifier and ADC.
In addition, electromagnetic compatibility (EMC) has become more important as people pay increasing attention to environmentally friendly products. Generally, EMI sources come from three origins: signal sources, radiation, and transmission lines. Crystals are a common high‑frequency signal source – their harmonic energy levels in the power spectrum are significantly higher than the average. Feasible measures include controlling signal amplitude, grounding the crystal case, shielding interference signals, and using special filter circuits and components.
Special mention should be made of serpentine routing, because its function differs depending on the application. On computer motherboards, it is used on certain clock signals such as PCI Clk and AGP‑Clk, serving two purposes: ① impedance matching, and ② filter inductance.
For some critical signals, such as the 13 HUBLink signals in the Intel Hub architecture, which operate at up to 233 MHz, tight length matching is required to eliminate the risk of timing skew. In such cases, serpentine routing is the only solution.
Generally, the spacing between serpentine segments should be ≥ 2 times the trace width. On ordinary PCBs, besides acting as filter inductors, serpentine traces can also serve as inductor coils for radio antennas, etc.
5. Final Adjustment and Refinement
After routing is complete, the next steps are to adjust silkscreen text, individual components, and traces, and to perform copper pouring (this should not be done too early, as it will slow down the process and complicate routing). These steps are also for ease of production, debugging, and maintenance.
Copper pouring generally refers to filling the empty areas left after routing with large copper areas. You can pour GND copper or VCC copper (but if VCC copper pours short‑circuit, they can easily burn out devices – GND is preferred, unless VCC is absolutely necessary to increase the power‑carrying area for high currents). Guard routing usually refers to using two ground traces to surround a group of special signal traces, either to protect them from external interference or to prevent them from interfering with others.
If you use copper pouring instead of ground traces, be sure to check whether the entire ground is connected continuously, consider the current magnitude, direction, and any special requirements, so as to avoid unnecessary mistakes.
6. Checking and Verifying the Netlist
Sometimes, due to misoperation or oversight, the netlist of the drawn board may differ from the schematic. It is very important to verify this. Therefore, do not rush to send the board to the manufacturer after finishing – first perform verification, then proceed with the subsequent steps.
7. Using Simulation Functions
After completing the above work, if time permits, software simulation can be performed. This is especially useful for high‑frequency digital circuits, as it can identify problems early and greatly reduce debugging effort later on.
About Maxipcb