PCB design is crucial for power circuit design, and it is also one of the necessary technologies for novices to master. In this article, the editor will share some essential points about PCB design.
Preliminary preparation
This includes preparing component libraries and schematics. To make a good board, in addition to designing the principle well, it is also necessary to draw it well. Before designing the PCB, you must first prepare the component library of the schematic SCH and the component library of the PCB. The component library can use the library provided by peotel, but it is generally difficult to find a suitable one. It is best to make your own component library based on the standard size information of the selected device. In principle, make the component library of the PCB first, and then the component library of the SCH. The component library of the PCB has higher requirements, which directly affects the installation of the board; the component library of the SCH has relatively loose requirements, as long as you pay attention to defining the pin attributes and the corresponding relationship with the PCB components. PS: Pay attention to the hidden pins in the standard library. After that, it is the design of the schematic, and after it is done, you are ready to start the PCB design.
PCB structure design
In this step, the PCB surface is drawn in the PCB design environment according to the determined circuit board size and various mechanical positioning, and the required connectors, buttons/switches, screw holes, assembly holes, etc. are placed according to the positioning requirements. The wiring area and non-wiring area are fully considered and determined (such as how much area around the screw hole belongs to the non-wiring area).
PCB Layout
To put it simply, layout is to place components on the board. If all the preparations mentioned above are done, you can generate a netlist on the schematic (Design-> Create Netlist), and then import the netlist on the PCB (Design-> Load Nets). You will see all the components stacked up, and there are flying wires between the pins to indicate the connection. Then you can lay out the components. The general layout is carried out according to the following principles:
① Reasonable zoning according to electrical performance, generally divided into: digital circuit area (i.e. afraid of interference and generates interference), analog circuit area (afraid of interference), power drive area (interference source);
② Circuits that complete the same function should be placed as close as possible, and the components should be adjusted to ensure the simplest connection. At the same time, the relative positions of the functional blocks should be adjusted to make the connections between the functional blocks as simple as possible.
③ For components with large mass, the installation position and installation strength should be considered; heating components should be placed separately from temperature sensitive components, and thermal convection measures should be considered if necessary;
④The I/O driver components should be placed as close to the edge of the printed board and the lead-out connector as possible;
⑤ The clock generator (such as crystal oscillator or clock oscillator) should be as close as possible to the device that uses the clock;
⑥ A decoupling capacitor (generally a monolithic capacitor with good high-frequency performance) needs to be added between the power input pin and the ground of each integrated circuit ; when the circuit board space is dense, a tantalum capacitor can also be added around several integrated circuits;
⑦ Add a discharge diode (1N4148 is sufficient) to the relay coil;
⑧The layout should be balanced, with orderly density and should not be top-heavy or one-sided.
Special attention should be paid to the actual size of the components (area and height) and the relative positions of the components when placing them, so as to ensure the electrical performance of the circuit board and the feasibility and convenience of production and installation. At the same time, the placement of the components should be appropriately modified to make them neat and beautiful, while ensuring that the above principles can be reflected. For example, the same components should be placed neatly and in the same direction, and should not be placed in a "scattered" manner.
This step is related to the overall appearance of the board and the difficulty of the next step of wiring, so you need to spend a lot of effort to consider it. When laying out, you can do preliminary wiring for places that you are not sure about and give them full consideration .
Wiring is the most important process in the entire PCB design. This will directly affect the performance of the PCB board. In the design process of PCB, wiring is generally divided into three levels: the first is wiring, which is the most basic requirement for PCB design. If the lines are not wired, and there are flying wires everywhere, it will be an unqualified board, which can be said to be not yet entry-level. The second is the satisfaction of electrical performance. This is the standard for measuring whether a printed circuit board is qualified. This is after the wiring is wired, carefully adjust the wiring so that it can achieve the best electrical performance. Then there is beauty. If your wiring is wired, there is nothing that affects the electrical performance, but it looks messy at first glance, plus colorful and colorful, then no matter how good your electrical performance is, it is still a piece of garbage in the eyes of others. This brings great inconvenience to testing and maintenance. The wiring should be neat and uniform, and it cannot be criss-crossed and disorderly. All of these must be achieved while ensuring the electrical performance and meeting other individual requirements, otherwise it will be a waste of time.
The wiring is mainly carried out according to the following principles:
① In general, the power and ground wires should be routed first to ensure the electrical performance of the circuit board. As far as conditions permit, 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 wire>signal wire. Usually the signal wire width is: 0.2~0.3mm, the thinnest width can reach 0.05~0.07mm, and the power wire is generally 1.2~2.5mm. For the PCB of digital circuits, a wide ground wire can be used to form a loop, that is, to form a ground network (the ground of analog circuits cannot be used in this way)
②PCB wiring process requirements:
Generally, the signal line width is 0.3mm (12mil), the power line width is 0.77mm (30mil) or 1.27mm (50mil); the distance between lines and between lines and pads is greater than or equal to 0.33mm (13mil). In practical applications, the distance should be increased when conditions permit.
When the wiring density is high, you can consider (but not recommend) using two lines between IC pins, with a line width of 0.254mm (10mil) and a line spacing of no less than 0.254mm (10mil). In special cases, when the device pins are dense and the width is narrow, the line width and line spacing can be appropriately reduced.
The basic requirements for pads (PAD) and transition holes (VIA) are: the diameter of the pad should be larger than the diameter of the hole by 0.6mm; for example, general pin-type resistors , capacitors and integrated circuits use pad/hole sizes of 1.6mm/0.8mm (63mil/32mil), and sockets , pins and diodes 1N4007 use 1.8mm/1.0mm (71mil/39mil). In practical applications, it should be determined according to the actual size of the component. If conditions permit, the pad size can be appropriately increased; the component mounting hole diameter designed on the PCB board should be about 0.2 to 0.4mm larger than the actual size of the component pin.
③ Via (VIA): generally 1.27mm/0.7mm (50mil/28mil); when the wiring density is high, the via size can be appropriately reduced, but not too small. 1.0mm/0.6mm (40mil/24mil) can be considered.
④ Spacing requirements for pads, wires, and vias
PAD and VIA: ≥ 0.3mm(12mil)
PAD and PAD: ≥ 0.3mm(12mil)
PAD and TRACK: ≥ 0.3mm(12mil)
TRACK and TRACK: ≥ 0.3mm(12mil)
At higher density:
PAD and VIA: ≥ 0.254mm(10mil)
PAD and PAD: ≥ 0.254mm(10mil)
PAD and TRACK: ≥ 0.254mm(10mil)
TRACK and TRACK: ≥ 0.254mm(10mil)
Wiring optimization and silkscreen
"There is no best, only better"! No matter how hard you think about the design, after you finish drawing, you will still feel that many places can be modified. The general design experience is: the time for optimizing wiring is twice the time for the initial wiring. After you feel that there is nothing to modify, you can lay copper (Place->polygon Plane). Copper is generally laid for ground wires (pay attention to the separation of analog ground and digital ground), and it may also be necessary to lay power for multi-layer boards. When it comes to silk screen, be careful not to be blocked by the device or removed by vias and pads. At the same time, when designing, look directly at the component side, and the bottom layer of words should be mirrored to avoid confusing the layers.
Net and DRC checks and structural checks
First, on the premise of confirming that the circuit schematic design is correct, the generated PCB network file and the schematic network file are subjected to a network check (NETCHECK) of the physical connection relationship, and the design is promptly modified according to the output file results to ensure the correctness of the wiring connection relationship; after the network check is passed correctly, the PCB design is subjected to a DRC check, and the design is promptly modified according to the output file results to ensure the electrical performance of the PCB wiring. Finally, the mechanical installation structure of the PCB needs to be further checked and confirmed.
Plate making
①Before this, it is best to have an audit process.
PCB design is a job that requires careful thinking. The more careful and experienced you are, the better the board you will design. Therefore, you must be extremely careful when designing, fully consider all factors (for example, many people do not consider the convenience of maintenance and inspection), and strive for excellence, and you will definitely be able to design a good board.
② Pre-wire the lines with strict requirements (such as high-frequency lines). Avoid adjacent parallel lines between the input and output ends to avoid reflection interference. If necessary, add ground isolation. The wiring of two adjacent layers should be perpendicular to each other. Parallel wiring is prone to parasitic coupling.
③ The oscillator shell should be grounded, and the clock line should be as short as possible and should not be led everywhere. The ground area under the clock oscillator circuit and the special high-speed logic circuit should be increased, and other signal lines should not be run, so that the surrounding electric field approaches zero;
④ Use 45° folded line wiring as much as possible, and do not use 90° folded line to reduce the radiation of high-frequency signals; (double arc lines are also required for high-quality lines);
⑤ No signal line should form a loop. If it is unavoidable, the loop should be as small as possible; the number of vias of the signal line should be as small as possible;
⑥The key lines should be as short and thick as possible, and protective ground should be added on both sides;
⑦ When transmitting sensitive signals and noise field band signals through flat cables, they should be led out in the form of "ground wire-signal-ground wire";
⑧Test points should be reserved for key signals to facilitate production and maintenance testing;
⑨After the schematic wiring is completed, the wiring should be optimized; at the same time, after the preliminary network check and DRC check are correct, the unwired area is filled with ground wires, and a large area of copper layer is used as the ground wire. On the printed circuit board, all unused areas are connected to the ground as ground wires. Or make a multi-layer board, with the power supply and ground wire occupying one layer each.
Previous article:Anything else we haven't talked about? Here's everything about TL494
Next article:Come and take a look at PCB design techniques and specifications
- Popular Resources
- Popular amplifiers
- RAQ #223: How to measure and determine soft-start timing without a soft-start equation?
- Vicor high-performance power modules enable the development of low-altitude avionics and EVTOL
- Bourns Launches Two Thick Film Resistor Series with High Power Dissipation Capabilities in Compact TO-220 and DPAK Package Designs
- Bourns Launches New High-Pulse Brake Resistor Series with Superior Energy Dissipation Capabilities
- Nexperia launches new 120 V/4 A half-bridge gate driver to further improve robustness and efficiency in industrial and automotive applications
- Vishay's New 150 V MOSFETs Offer Industry-Leading Power Loss Performance
- The first generation of SGT MOSFET series from Qiangmao: innovative trench technology, automotive-grade 60 VN channel, breakthrough in high-efficiency performance of automotive electronics
- DC/DC Power Supplies for Automotive Applications
- MathWorks and NXP Collaborate to Launch Model-Based Design Toolbox for Battery Management Systems
- Intel promotes AI with multi-dimensional efforts in technology, application, and ecology
- ChinaJoy Qualcomm Snapdragon Theme Pavilion takes you to experience the new changes in digital entertainment in the 5G era
- Infineon's latest generation IGBT technology platform enables precise control of speed and position
- Two test methods for LED lighting life
- Don't Let Lightning Induced Surges Scare You
- Application of brushless motor controller ML4425/4426
- Easy identification of LED power supply quality
- World's first integrated photovoltaic solar system completed in Israel
- Sliding window mean filter for avr microcontroller AD conversion
- What does call mean in the detailed explanation of ABB robot programming instructions?
- 2024 China Automotive Charging and Battery Swapping Ecosystem Conference held in Taiyuan
- State-owned enterprises team up to invest in solid-state battery giant
- The evolution of electronic and electrical architecture is accelerating
- The first! National Automotive Chip Quality Inspection Center established
- BYD releases self-developed automotive chip using 4nm process, with a running score of up to 1.15 million
- GEODNET launches GEO-PULSE, a car GPS navigation device
- Should Chinese car companies develop their own high-computing chips?
- Infineon and Siemens combine embedded automotive software platform with microcontrollers to provide the necessary functions for next-generation SDVs
- Continental launches invisible biometric sensor display to monitor passengers' vital signs
- Another technical solution for power-type plug-in hybrid: A brief discussion on Volvo T8 plug-in hybrid technology
- C2000F2802x cyclic query button lights up LED
- GD32E231 DIY Contest (2) GD32E231C Development Environment Getting Started DEMO Test
- Analog Circuit Basics Tutorial! E-book
- [NXP Rapid IoT Review] A Bluetooth BLE communication app designed for NXP IoT in the third week
- Introduction to the system reset method of Atria AT32F403A/407
- Lithium-ion battery SOC state of charge measurement
- How to calculate the input and output resistance of an operational amplifier?
- MSP430F5529 ADC analog-to-digital conversion source program
- 【Share】 RV-STAR development board transplants Chrome's offline game Little Dinosaur
- Thank you for having you + you who helped me and myself who struggled