What are the basic rules for PCB board layout and wiring?

PCB, also known as Printed Circuit Board, can achieve circuit connection and functional implementation between electronic components, and is an important component of power circuit design. Today, this article will introduce the basic rules of PCB board layout and wiring.

1、 Basic rules for component layout

1. Layout according to circuit modules, and related circuits that achieve the same function are called a module. The components in the circuit module should adopt the principle of nearest concentration, and digital circuits and analog circuits should be separated;

2. Elements and components shall not be mounted within 1.27mm around non installation holes such as positioning holes and standard holes, and components shall not be mounted within 3.5mm (for M2.5) and 4mm (for M3) around installation holes such as screws;

3. Avoid placing through holes underneath components such as resistors, inductors (plugins), and electrolytic capacitors installed horizontally to prevent short circuits between the through holes and the component housing after wave soldering;

The distance between the outer side of the component and the edge of the board is 5mm;

5. The distance between the outer side of the solder pad for mounting components and the outer side of adjacent plug-in components is greater than 2mm;

6. Metal shell components and metal parts (shielding boxes, etc.) should not collide with other components, and should not be tightly attached to printed wires or solder pads. The distance between them should be greater than 2mm. The dimension between the outer side of positioning holes, fastener installation holes, elliptical holes, and other square holes in the board and the board edge is greater than 3mm;

7. Heating elements should not be adjacent to wires and thermal sensitive elements; High thermal devices should be evenly distributed;

8. Power sockets should be arranged around the printed circuit board as much as possible, and the wiring terminals of the power sockets and their connected busbars should be arranged on the same side. Special attention should be paid not to arrange power sockets and other welding connectors between the connectors, in order to facilitate the welding of these sockets and connectors, as well as the design and wiring of power cables. The spacing between power sockets and welding connectors should be considered to facilitate the insertion and removal of power plugs;

9. Layout of other components:

All IC components should be aligned on one side, with clear polarity markings for polar components. Polarity markings on the same printed circuit board should not exceed two directions. When two directions appear, the two directions should be perpendicular to each other;

10. The wiring on the board should be appropriately dense. When the difference in density is too large, a mesh of copper foil should be filled, with a mesh size greater than 8mil (or 0.2mm);

11. There should be no through holes on the SMT pad to prevent solder paste loss and component solder failure. Important signal lines are not allowed to pass through the socket pins;

12. Single sided alignment of SMT, consistent character direction, and consistent packaging direction;

13. Devices with polarity should maintain consistency in the direction of polarity markings on the same board as much as possible.

2、 Component wiring rules

1. Within the designated wiring area ≤ 1mm from the edge of the PCB board, as well as within 1mm around the installation holes, wiring is prohibited;

2. The power cord should be as wide as possible and not less than 18 mils; The signal line width should not be less than 12 mils; The CPU input and output lines should not be less than 10mil (or 8mil); The spacing between lines shall not be less than 10mil;

3. Normal through-hole not less than 30mil;

4. Dual in line insertion: 60mil solder pad, 40mil aperture;

1/4W resistor: 51 * 55mil (0805 gauge); When inserting directly, the solder pad is 62mil and the aperture is 42mil;

Unlimited capacitance: 51 * 55mil (0805 surface mount); When inserting directly, the solder pad is 50mil and the aperture is 28mil;

5. Note that the power and ground wires should be as radial as possible, and the signal wires should not have looping.

How to improve anti-interference ability and electromagnetic compatibility?

How to improve anti-interference ability and electromagnetic compatibility when developing electronic products with processors?

1. The following systems need to pay special attention to anti electromagnetic interference:

(1) A system with a microcontroller clock frequency that is particularly high and a bus cycle that is particularly fast.

(2) The system contains high-power, high current drive circuits, such as spark generating relays, high current switches, etc.

(3) A system that includes weak analog signal circuits and high-precision A/D conversion circuits.

2. To increase the system’s ability to resist electromagnetic interference, the following measures are taken:

(1) Choose a microcontroller with low frequency:

Choosing a microcontroller with a low external clock frequency can effectively reduce noise and improve the system’s anti-interference ability. Square waves and sine waves of the same frequency have much more high-frequency components than sine waves. Although the amplitude of the high-frequency component of a square wave is smaller than that of the fundamental wave, the higher the frequency, the more likely it is to be emitted as a noise source. The most influential high-frequency noise generated by microcontrollers is approximately three times the clock frequency.

(2) Reduce distortion in signal transmission

The microcontroller is mainly manufactured using high-speed CMOS technology. The static input current of the signal input terminal is about 1mA, the input capacitance is about 10PF, and the input impedance is quite high. The output terminals of high-speed CMOS circuits have considerable load capacity, that is, a considerable output value. When the output terminal of a gate is led to the input terminal with a relatively high input impedance through a long line, the reflection problem is very serious, which can cause signal distortion and increase system noise. When TPD>Tr, it becomes a transmission line problem that must consider signal reflection, impedance matching, and other issues.

The delay time of the signal on the printed circuit board is related to the characteristic impedance of the leads, that is, to the dielectric constant of the printed circuit board material. It can be roughly assumed that the transmission speed of signals through the leads of printed circuit boards is between 1/3 and 1/2 of the speed of light. The Tr (standard delay time) of commonly used logic telephone components in systems composed of microcontrollers is between 3 and 18ns.

On a printed circuit board, the signal passes through a 7W resistor and a 25cm long lead, with a delay time of approximately 4-20ns on the line. That is to say, the shorter the lead of the signal on the printed circuit, the better, and the longest should not exceed 25cm. And the number of through holes should also be as small as possible, preferably not more than 2.

When the rise time of the signal is faster than the delay time of the signal, it should be processed according to fast electronics. At this point, impedance matching of the transmission line should be considered. For signal transmission between integrated blocks on a printed circuit board, the situation of Td>Trd should be avoided. The larger the printed circuit board, the slower the system speed.

Summarize a rule for printed circuit board design using the following conclusion:

The signal is transmitted on the printed board, and its delay time should not be greater than the nominal delay time of the device used.

(3) Reduce the interactive interference between signal lines:

A step signal with rise time Tr at point A is transmitted to terminal B through lead AB. The delay time of the signal on line AB is Td. At point D, due to the forward transmission of the signal from point A, the reflection of the signal after reaching point B and the delay of line AB, a page pulse signal with a width of Tr will be induced after Td time. At point C, due to the transmission and reflection of the signal on AB, a positive pulse signal with a width twice the delay time of the signal on line AB, that is, 2Td, will be induced. This is the interactive interference between signals. The strength of the interference signal is related to the di/at of the signal at point C and the distance between the lines. When the two signal lines are not very long, what is seen on AB is actually the superposition of two pulses.

Microcontrollers manufactured with CMOS technology have high input impedance, high noise, and high noise tolerance. The superposition of 100 to 200mv noise on digital circuits does not affect its operation. If line AB in the figure is an analog signal, this interference becomes intolerable. For example, if the printed circuit board is a four-layer board, one of which is a large-area ground, or a double-sided board, and the opposite side of the signal line is a large-area ground, the cross-interference between signals will become smaller. The reason is that a large area of ground reduces the characteristic impedance of the signal line, and the reflection of the signal at the D end is greatly reduced. The characteristic impedance is inversely proportional to the square of the dielectric constant of the medium between the signal line and the ground, and directly proportional to the natural logarithm of the thickness of the medium. If the AB line is an analog signal, to avoid the interference of the digital circuit signal line CD to AB, there must be a large area of ground below the AB line, and the distance from the AB line to the CD line should be greater than 2 to 3 times the distance between the AB line and the ground. A partial shielding ground can be used, and ground wires are placed on the left and right sides of the lead on the side with the lead.

(4) Reduce the noise from the power supply

While the power supply provides energy to the system, it also adds noise to the power supply it supplies. The reset line, interrupt line, and other control lines of the microcontroller in the circuit are most susceptible to interference from external noise. Strong interference on the power grid enters the circuit through the power supply. Even in battery-powered systems, the battery itself has high-frequency noise. Analog signals in analog circuits cannot withstand interference from the power supply.

(5) Pay attention to the high-frequency characteristics of printed circuit boards and components

Under high frequency conditions, the distributed inductance and capacitance of the leads, vias, resistors, capacitors, and connectors on the printed circuit board cannot be ignored. The distributed inductance of the capacitor cannot be ignored, and the distributed capacitance of the inductor cannot be ignored. The resistance produces reflection of high-frequency signals, and the distributed capacitance of the lead will work. When the length is greater than 1/20 of the corresponding wavelength of the noise frequency, the antenna effect will occur, and the noise will be emitted outward through the lead.

The vias of the printed circuit board cause a capacitance of approximately 0.6pF.

The packaging material of an integrated circuit itself introduces a 2 to 6 pf capacitance.

A connector on a circuit board has a distributed inductance of 520nH. A dual-in-line 24-pin integrated circuit socket introduces a distributed inductance of 4 to 18nH.

These small distribution parameters are negligible for this line of microcontroller systems at lower frequencies; special attention must be paid to high-speed systems.

(6) Component layout should be reasonably partitioned

The position of components arranged on the printed circuit board must fully consider the issue of anti-electromagnetic interference. One of the principles is that the leads between components should be as short as possible. In terms of layout, the three parts of the analog signal part, the high-speed digital circuit part, and the noise source part (such as relays, high-current switches, etc.) should be reasonably separated to minimize signal coupling between each other.

G Handle the ground wire:

On the printed circuit board, the power and ground wires are the most important. The most important means to overcome electromagnetic interference is grounding.

For double-sided panels, the ground wire layout is particularly particular. By using the single-point grounding method, the power supply and ground are connected to the printed circuit board from both ends of the power supply. There is one contact for the power supply and one contact for the ground. On the printed circuit board, there must be multiple return ground wires, which will all converge on the contact point that returns the power supply, which is the so-called single-point grounding. The so-called separation of analog ground, digital ground, and high-power device ground means that the wiring is separated, and finally they are all gathered at this ground point. When connecting to signals other than the printed circuit board, shielded cables are usually used. For high frequency and digital signals, shielded cables are grounded at both ends. For shielded cables used for low-frequency analog signals, it is best to ground one end.

Circuits that are very sensitive to noise and interference or circuits that are particularly prone to high-frequency noise should be shielded with metal covers.

(7) Make good use of decoupling capacitors.

A good high-frequency decoupling capacitor can remove high-frequency components up to 1GHZ. Ceramic chip capacitors or multilayer ceramic capacitors have better high-frequency characteristics. When designing a printed circuit board, a decoupling capacitor must be added between the power supply and ground of each integrated circuit. The decoupling capacitor has two functions: on the one hand, it is the energy storage capacitor of the integrated circuit, which provides and absorbs the charging and discharging energy at the moment when the integrated circuit opens and closes; on the other hand, it bypasses the high-frequency noise of the device. The typical decoupling capacitor in digital circuits is 0.1uf. The decoupling capacitor has a distributed inductance of 5nH. Its parallel resonance frequency is about 7MHz, which means that it has a good decoupling effect on noise below 10MHz and above 40MHz. Noise has almost no effect.

1uf, 10uf capacitors, the parallel resonance frequency is above 20MHz, and the effect of removing high-frequency noise is better. Where the power enters the printed board and a 1uf or 10uf de-high frequency capacitor is often advantageous, even battery powered systems require this capacitor.

For every 10 or so integrated circuits, a charge and discharge capacitor, or storage and discharge capacitor, is added. The capacitor size can be 10uf. It is best not to use electrolytic capacitors. Electrolytic capacitors are rolled up with two layers of polyurethane film. This rolled structure behaves as an inductor at high frequencies. It is best to use bile capacitors or polycarbonate capacitors.

The selection of the decoupling capacitor value is not strict and can be calculated according to C=1/f; that is, 0.1uf is used for 10MHz. For a system composed of a microcontroller, it can be between 0.1 and 0.01uf.

3. Some experience in reducing noise and electromagnetic interference.

(1) If low-speed chips can be used, high-speed chips are not needed. High-speed chips are used in key places.

(2) A resistor can be connected in series to reduce the upper and lower edge jump rate of the control circuit.

(3) Try to provide some form of damping for relays, etc.

(4) Use the lowest frequency clock that meets system requirements.

(5) The clock generator should be as close as possible to the device using the clock. The quartz crystal oscillator shell must be grounded.

(6) Encircle the clock area with a ground wire and keep the clock wire as short as possible.

(7) Keep the I/O drive circuit as close to the edge of the printed board as possible and let it leave the printed board as soon as possible. The signals entering the printed circuit board must be filtered, and the signals coming from high-noise areas must also be filtered. At the same time, series terminal resistors must be used to reduce signal reflection.

(8) The useless end of MCD should be connected to high, or grounded, or defined as an output end. The end of the integrated circuit that should be connected to power ground should be connected, and should not be left floating.

(9) The input terminal of the unused gate circuit should not be left floating. The positive input terminal of the unused op amp should be connected to the ground, and the negative input terminal should be connected to the output terminal.

(10) Printed boards should use 45-degree fold lines instead of 90-degree fold lines to reduce the external emission and coupling of high-frequency signals.

(11) The printed board is divided according to frequency and current switching characteristics, and the distance between noisy components and non-noise components should be further away.

(12) Use single-point power supply and single-point grounding for single-panel and double-panel panels. The power cord and ground wire should be as thick as possible. If it is affordable, use multi-layer boards to reduce the inductance of the power supply and ground.

(13) Clock, bus, and chip select signals should be kept away from I/O lines and connectors.

(14) Analog voltage input lines and reference voltage terminals should be kept as far away from digital circuit signal lines as possible, especially clocks.

(15) For A/D devices, it is better to unify the digital part and the analog part than to cross.

(16) The clock line perpendicular to the I/O line has less interference than the parallel I/O line, and the clock component pins are far away from the I/O cable.

(17) The component pins should be as short as possible and the decoupling capacitor pins should be as short as possible.

(18) The key lines should be as thick as possible, and protective grounds should be added on both sides. High-speed lines should be short and straight.

(19) Noise-sensitive lines should not be parallel to high-current, high-speed switching lines.

(20) Do not route traces under quartz crystals or devices that are sensitive to noise.

(21) Do not form a current loop around weak signal circuits and low-frequency circuits.

(22) Any signal should not form a loop. If it is unavoidable, make the loop area as small as possible.

(23) One decoupling capacitor per integrated circuit. A small high-frequency bypass capacitor must be added next to each electrolytic capacitor.

(24) Use large-capacity tantalum capacitors or polycrystalline capacitors instead of electrolytic capacitors as circuit charging and discharging energy storage capacitors. When using tubular capacitors, the case must be grounded.

What is the manufacturing process for drone circuit boards?

1、 Material preparation

Before making a drone circuit board, the necessary materials must be prepared first. This includes printed circuit boards (PCBs), electronic components, soldering equipment, etc. Printed circuit boards are the foundation of drone circuits and can be purchased or designed and manufactured by oneself. Electronic components include resistors, capacitors, LEDs, etc., which can be purchased according to one’s own needs. Welding equipment includes welding iron, soldering tin, welding table, etc. It is necessary to choose tools that are suitable for your own use.

2、 Design circuit diagram

After preparing the materials, the next step is to design the circuit diagram. The circuit diagram is the blueprint for the wiring of the drone circuit board, which determines the connection method and working principle of the circuit. Circuit design software such as Eagle and Altium Designer can be used for circuit diagram design, as well as hand drawn circuit diagrams. When designing a circuit diagram, it is necessary to consider factors such as the functional requirements, component layout, and signal transmission of the circuit to ensure its stability and reliability.

3、 Printed circuit board

After completing the circuit diagram design, the next step is to convert the designed circuit diagram into an actual printed circuit board. There are two methods to make printed circuit boards: chemical etching and mechanical milling. The chemical corrosion method requires the use of specific corrosive agents and copper salt solution to print circuit diagrams on copper sheets and remove excess copper layers through corrosion. The mechanical milling rule uses a CNC milling machine to directly mill and engrave the circuit diagram onto the copper plate. Regardless of the method used, it is necessary to pay attention to safe operation to avoid harm to people and the environment.

4、 Welding components

Printed circuit boards will have solder pads, and electronic components need to be connected to the solder pads through soldering. Welding is the process of fixing electronic components and circuit boards together. During the welding process, first apply the solder evenly to the solder pad, then heat the solder with a soldering iron to melt it, insert the electronic components into the solder pad, and use a hot air gun or soldering iron for welding. After welding is completed, it is necessary to check whether the solder joints are even and firm to ensure the reliable connection of the circuit.

Uncover the selection of drone PCB board! How to make wise decisions?

Drones have become a hot topic in modern technology, and more and more people are starting to purchase drones for entertainment, aerial photography, agriculture, security and other fields. However, as one of the core components of drones, the Printed Circuit Board plays a crucial role in determining drone performance and stability. This article will provide a detailed explanation of the selection of drone PCB boards from four aspects, helping readers make wise decisions.

1. Material selection of PCB board

The material selection of PCB boards directly affects the performance and durability of drones. Common PCB board materials include FR-4, metal substrates, ceramic substrates, etc. FR-4 is the most commonly used substrate material with good insulation and heat resistance, suitable for most drone applications. The metal substrate has better heat dissipation ability and is suitable for high-power applications. Ceramic substrates, on the other hand, have excellent insulation and high-frequency performance, making them suitable for applications with high frequency requirements. Choosing suitable PCB board materials for application scenarios can improve the performance and stability of drones.

2. The number of layers and layout of PCB boards

The number of layers and layout of drone PCB boards are also important factors determining their performance. Smaller drones typically use double-layer or four layer PCB boards, while larger or more complex drones require more layers. A reasonable layout can reduce electromagnetic interference and signal crosstalk, and improve the stability and reliability of unmanned aerial vehicle systems. When selecting a PCB board, the appropriate number of layers and layout should be selected based on the needs of the drone and the layout of other electronic components.

3. Quality control of PCB boards

Ensuring the quality of PCB boards is crucial for the performance and reliability of drones. The first step is to choose a reputable PCB board manufacturer and understand their production process and quality control measures. We also conduct professional quality testing, including electrical testing, pad inspection, and circuit tracking. Some high-quality PCB boards also require environmental and reliability testing to ensure they are suitable for working in various complex environments. Only by ensuring the quality of the PCB board is the stability and reliability of the drone system guaranteed.

4. Size and weight of PCB board

For drones, size and weight are also crucial parameters. Excessive size and weight can affect the hovering time and flight stability of drones. Therefore, when selecting a PCB board, the appropriate size and weight should be selected based on the needs of the drone. At the same time, it is also necessary to consider the compactness and durability of the PCB board to ensure the performance and service life of the drone.

How to deal with defective tin on circuit boards?

There are as many as 20 processes in the circuit board design and production process. Poor tin application on the circuit board is really a troublesome problem. Poor tin on the circuit board may cause such problems as line sand holes, line collapse, line dog teeth, open circuits, and small line sand holes. If the copper in the hole is too thin, there will be no copper in the hole; the tin removal is not clean (the number of times of tin withdrawal will affect the plating layer’s tin removal) and other quality problems. Therefore, encountering poor tin application often means that re-soldering is required or even all efforts are wasted. , needs to be remade.

 

How to deal with defective tin on circuit boards:
Circuit boards will not be properly tinned during SMT production. Generally, poor tinning is related to the cleanliness of the surface of the bare circuit board. If there is no dirt, there will basically be no tinning defects. Secondly, The flux itself is poor when tin is used, temperature, etc.

Improvement and prevention plans for circuit board soldering defects:

1. Regularly test and analyze the ingredients of the potion and add it in time to increase the current density and extend the plating time.

2. Check the anode consumption from time to time and replenish the anode reasonably.

3. Hexagonal cell analysis to adjust the brightener content.

4. Reasonably adjust the distribution of anodes, appropriately reduce the current density, reasonably design the wiring or paneling of the board, and adjust the brightener.

5. Strengthen pre-plating treatment.

6. Reduce the current density and perform regular maintenance or weak electrolysis treatment on the filter system.

7. Strictly control the storage time and environmental conditions during the storage process, and strictly operate the production process.

8. Use solvent to clean the debris. If it is silicone oil, then you need to use a special cleaning solvent for cleaning.

9. Control the temperature during circuit board welding to 55-80°C and ensure sufficient preheating time

10. Use flux correctly.

How to deal with defective tin on circuit boards:
Circuit boards will not be properly tinned during SMT production. Generally, poor tinning is related to the cleanliness of the surface of the bare circuit board. If there is no dirt, there will basically be no tinning defects. Secondly, The flux itself is poor when tin is used, temperature, etc.

Improvement and prevention plans for circuit board soldering defects:

1. Regularly test and analyze the ingredients of the potion and add it in time to increase the current density and extend the plating time.

2. Check the anode consumption from time to time and replenish the anode reasonably.

3. Hexagonal cell analysis to adjust the brightener content.

4. Reasonably adjust the distribution of anodes, appropriately reduce the current density, reasonably design the wiring or paneling of the board, and adjust the brightener.

5. Strengthen pre-plating treatment.

6. Reduce the current density and perform regular maintenance or weak electrolysis treatment on the filter system.

7. Strictly control the storage time and environmental conditions during the storage process, and strictly operate the production process.

8. Use solvent to clean the debris. If it is silicone oil, then you need to use a special cleaning solvent for cleaning.

9. Control the temperature during circuit board welding to 55-80°C and ensure sufficient preheating time

10. Use flux correctly.

Which wiring pattern is better to use when designing PCB?

In PCB design, the use of appropriate trace patterns has an important impact on the performance and reliability of the circuit. The following are several common wiring forms. Each has its own advantages. Choosing the appropriate form according to specific design requirements will be more conducive to improving the performance and reliability of the circuit.

1. Straight-line routing: Straight-line routing is the simplest and most common form of routing. It has the advantage of being direct and fast, which can reduce the delay of signal transmission. In circuit design, there are often some signal lines that must be connected in a straight line, so using straight lines can better meet this requirement.

2. Bend the wiring at a 45-degree angle: When the signal line needs to be introduced into or out of the board, bending the wiring at a 45-degree angle can reduce the reflection and interference of the signal line. Compared to right-angle bends, 45-degree bends can better maintain signal integrity.

3. Arc routing: Arc routing can reduce radiation and crosstalk of signal lines, especially for high-frequency signals. If there are high-frequency signal lines in the design, arc routing can reduce signal loss and distortion.

4. Node cross wiring: In design, we often encounter situations where cross signals need to be connected. When conducting node cross wiring, pay attention to the distance between signal lines to prevent signal crosstalk. Interlayer wiring, ground cutting and other methods can be used to reduce signal interference.

5. Hard-flex wiring: Hard-flex wiring refers to signal transmission through inter-layer connections. It improves design flexibility and reliability. Rigid flexible wiring is widely used in complex high-density circuit design, multi-layer board design, etc.

6. Top/bottom traces: In multilayer board designs, top and bottom traces can be used for shorter signal transmission paths, thereby reducing interlayer vias and delays. At the same time, top/bottom wiring can provide better shielding effect and reduce signal interference.

Although several common wiring forms are listed above, in actual design, multiple factors need to be considered to select the appropriate form. For example, the frequency characteristics of the circuit, noise tolerance, power consumption requirements, and process constraints, etc. When routing, you also need to pay attention to the separation between signals, power supplies, and ground wires, and rationally use ground wire shielding technology.

In short, choosing the appropriate trace pattern is crucial to the performance and reliability of the circuit. Based on the specific design requirements and circuit characteristics, designers should comprehensively consider various factors and select the best wiring form to optimize the circuit design.

How to quickly find GND in PCB?

In the PCB design and production process, finding the ground wire (GND) is a very critical step. GND is a very important reference plane in electronic circuits. It provides a reference level in the circuit and provides a low-noise current path in the circuit. Therefore, finding GND accurately is key to ensuring the circuit works properly. In the following article, we will detail how to quickly find GND in a PCB.

1. GND planning in the PCB design stage:

Before starting to design the PCB, you must first plan the GND. This requires designers to consider the layout of GND during the schematic and layout stages to ensure that the entire circuit is properly laid out on the PCB. When planning GND, there are some principles:

– Try to keep the GND line short and straight. Do not allow GND current to pass through signal lines or other high-frequency lines.

– Minimize the area of the GND loop. A large GND loop will form an antenna and introduce electromagnetic radiation or interference.

– The ground trace opposite the high power source should be wide enough to ensure good current flow throughout the PCB.

– Take care to split the GND into different areas to avoid current interference between different parts.

2. Use a ground plane layer:

The ground plane layer is the layer in the PCB used to form the GND reference plane. It serves to connect individual power pins and other circuit components by creating a continuous copper area between the top and bottom layers of the PCB. During the design process, we can do the following:

– Wrap the entire circuit layout around the ground plane layer, making sure there are no gaps around GND.

– Add GND station holes or GND copper posts near the power pins to strengthen the GND connection.

– Try to use multi-layer boards and use the inner grid layer and ground plane layer to provide a better GND connection.

3. Use GND pin:

On some devices such as power supplies and amplifiers, there will be a dedicated GND pin that is directly connected to the GND reference plane. Properly connecting these pins to the GND plane can help reduce GND voltage drop and noise.

4. Use the remaining electronic connection points:

In some complex circuits, there may be some remaining unused electrical connection points. These connection points are often called electrically sensitive points (ESD). Connecting these connection points to GND can help reduce interference with the circuit.

5. Use the ground test tool:

After the PCB is produced, we can use some ground test tools to confirm the GND connection. These tools can verify GND connectivity by checking that the current flow on the ground wire is smooth and normal.

To sum up, to quickly find the GND in the PCB, we need to carry out reasonable GND planning at the design stage, use the ground plane layer and GND pin to provide a reliable GND connection, and use the remaining electronic connection points and ground test tools to ensure GND for connectivity and reduced interference. Through reasonable design and testing, we can ensure that the GND connection in the PCB is correct and reliable, thereby ensuring the normal operation of the entire circuit.

What should we pay attention to in high-frequency circuit board layout of PCB design?

With the rapid development of electronic technology and the widespread application of wireless communication technology in various fields, high-frequency, high-speed, and high-density have gradually become one of the important development trends of modern electronic products. The high-frequency and high-speed digitization of signal transmission forces PCBs to move towards micropores, buried/blind holes, fine conductors, and uniformly thin dielectric layers.

High frequency circuit board is a special type of circuit board with high electromagnetic frequency. Generally speaking, high frequency can be defined as a frequency above 1GHz. Its various physical properties, accuracy, and technical parameters require very high requirements, and are commonly used in fields such as automotive collision prevention systems, satellite systems, and radio systems. The high-frequency circuit board provided by the utility model is equipped with blocking edges that can block the flow of glue at the upper and lower opening edges of the hollow groove of the core board. In this way, when the core board is bonded with the copper clad board placed on its upper and lower surfaces, the flow of glue will not enter the hollow groove, and the bonding operation can be completed with one press. Compared with the high-frequency circuit board that requires two presses in existing technologies to complete, the high-frequency circuit board in the utility model has a simple structure, Low cost, easy to manufacture.

1. Reasonably select the number of layers

In PCB design, when wiring high-frequency circuit boards, the middle inner plane is used as the power and ground layers to provide shielding, effectively reduce parasitic inductance, shorten signal line length, and reduce cross interference between signals. Generally speaking, the noise of a four layer board is 20dB lower than that of a two layer board.

2. High frequency choke

When wiring high-frequency circuit boards in PCB design, high-frequency choke devices should be connected to common ground wires such as digital ground and analog ground. Generally, high-frequency ferrite magnetic beads with wires threaded through the center hole are used.

3. Signal line

When wiring high-frequency circuit boards in PCB design, signal routing cannot be looped and needs to be arranged in a daisy chain manner.

4. Inter layer wiring direction

In PCB design, when wiring high-frequency circuit boards, the interlayer wiring direction should be vertical, that is, the top layer should be horizontal and the bottom layer should be vertical, which can reduce interference between signals.

5. Number of through-holes

In PCB design, when wiring high-frequency circuit boards, the fewer vias, the better.

6. Copper coating

When wiring high-frequency circuit boards in PCB design, adding copper grounding can reduce interference between signals.

7. Decoupling capacitor

When wiring high-frequency circuit boards in PCB design, decoupling capacitors are connected across the power supply end of the integrated circuit.

8. Wiring length

When wiring high-frequency circuit boards in PCB design, the shorter the wiring length, the better, and the shorter the parallel distance between two wires, the better.

9. Land parcel

In PCB design, wrapping important signal lines can significantly improve the anti-interference ability of signals when wiring high-frequency circuit boards. Of course, it can also package the interference source so that it does not interfere with other signals.

10. Wiring method

In PCB design, when wiring high-frequency circuit boards, the wiring must be rotated at a 45 ° angle to reduce the transmission and mutual coupling of high-frequency signals.

How to design via holes for multi-layer PCB?

Via  is one of the important components of multi-layer PCB, and the cost of drilling usually accounts for 30% to 40% of the PCB board manufacturing cost. Simply put, every hole on the PCB can be called a via. From a functional point of view, vias can be divided into two categories: one is used for electrical connections between layers; the other is used for fixing or positioning devices. From a process perspective, these vias are generally divided into three categories, namely blind vias, buried vias and through vias. Blind holes are located on the top and bottom surfaces of the printed circuit board and have a certain depth. They are used to connect the surface circuits and the inner circuits below. The depth of the holes usually does not exceed a certain ratio (aperture). Buried vias refer to connection holes located on the inner layer of a printed circuit board and do not extend to the surface of the circuit board. The above two types of holes are located in the inner layer of the circuit board. They are completed using the through-hole forming process before lamination. During the via-hole formation process, several inner layers may be overlapped.

The third type is called a through hole, which passes through the entire circuit board and can be used to implement internal interconnections or as mounting positioning holes for components. Because through holes are easier to implement in technology and have lower costs, most printed circuit boards use them instead of the other two via holes. The following via holes are considered as through holes unless otherwise specified.

From a design point of view, a via hole mainly consists of two parts, one is the drill hole in the middle, and the other is the pad area around the drill hole. The size of these two parts determines the size of the via. Obviously, when designing high-speed, high-density PCBs, designers always hope that the via holes should be as small as possible, so that more wiring space can be left on the board. In addition, the smaller the via holes, the smaller their own parasitic capacitance will be. The smaller it is, the more suitable it is for high-speed circuits. However, the reduction in hole size also brings about an increase in cost, and the size of the via hole cannot be reduced indefinitely. It is limited by process technologies such as drilling (drill) and electroplating (plating): the smaller the hole, the harder it is to drill. The longer the hole takes, the easier it is to deviate from the center; and when the depth of the hole exceeds 6 times the drill diameter, there is no guarantee that the hole wall will be evenly plated with copper. For example, if the thickness (through hole depth) of a normal 6-layer PCB board is 50 Mil, then under general conditions, the drilling diameter that the PCB manufacturer can provide can only reach 8 Mil. With the development of laser drilling technology, the size of drilled holes can also become smaller and smaller. Generally, vias with a diameter of less than or equal to 6 Mils are called microvias. Microvias are often used in HDI (High Density Interconnect Structure) design. Microvia technology allows vias to be drilled directly on the pad (Via-in-pad), which greatly improves circuit performance and saves wiring space.

Vias appear as discontinuous impedance breakpoints on the transmission line, which will cause signal reflection. Generally, the equivalent impedance of a via hole is about 12% lower than that of a transmission line. For example, the impedance of a 50-ohm transmission line will be reduced by 6 ohms when passing through the via hole (specifically, it is related to the size of the via hole and the thickness of the board, not reduction). However, the reflection caused by the discontinuous impedance of the via is actually minimal. The reflection coefficient is only: (44-50)/(44+50)=0.06. The problems caused by the via are more concentrated on the parasitic capacitance and inductance. Impact.

2. Parasitic capacitance and inductance of vias

The via itself has parasitic stray capacitance. If it is known that the diameter of the solder mask area of the via on the ground layer is D2, the diameter of the via pad is D1, the thickness of the PCB board is T, and the dielectric constant of the board substrate is ε, then the parasitic capacitance of the via is approximately: C=1.41εTD1/(D2-D1)

The main impact of the parasitic capacitance of the via on the circuit is to prolong the rise time of the signal and reduce the speed of the circuit. For example, for a PCB board with a thickness of 50 Mil, if the diameter of the via pad used is 20 Mil (the drilling diameter is 10 Mils) and the diameter of the solder mask area is 40 Mil, then we can approximately calculate the through hole through the above formula The parasitic capacitance is roughly: C=1.41×4.4×0.050×0.020/(0.040-0.020)=0.31pF. The change in rise time caused by this part of the capacitance is roughly: T10-90=2.2C(Z0/2)=2.2×0 .31x(50/2)=17.05ps

It can be seen from these values that although the effect of slowing down the rise delay caused by the parasitic capacitance of a single via is not very obvious, if vias are used multiple times in the wiring for switching between layers, multiple vias will be used , should be carefully considered when designing. In actual design, parasitic capacitance can be reduced by increasing the distance between vias and copper areas (Anti-pad) or reducing the diameter of the pad.

There are parasitic capacitances and parasitic inductances in vias. In the design of high-speed digital circuits, the harm caused by the parasitic inductance of vias is often greater than the influence of parasitic capacitance. Its parasitic series inductance will weaken the contribution of the bypass capacitor and weaken the filtering effect of the entire power system. We can use the following empirical formula to simply calculate the approximate parasitic inductance of a via: L=5.08h[ln(4h/d)+1] where L refers to the inductance of the via, h is the length of the via, and d is The diameter of the center drill hole. It can be seen from the formula that the diameter of the via hole has a small impact on the inductance, but the length of the via hole affects the inductance. Still using the above example, the inductance of the via can be calculated as: L=5.08×0.050[ln(4×0.050/0.010)+1]=1.015nH. If the rise time of the signal is 1ns, then its equivalent impedance size It is: XL=πL/T10-90=3.19Ω. Such impedance cannot be ignored when high-frequency current flows through it. Special attention should be paid to the fact that the bypass capacitor needs to pass through two vias when connecting the power layer and the ground layer, so the parasitic inductance of the vias will increase exponentially.

3. How to use vias

Through the above analysis of the parasitic characteristics of vias, we can see that in high-speed PCB design, seemingly simple vias often bring great negative effects to the circuit design. In order to reduce the adverse effects caused by the parasitic effects of vias, try to do the following in the design:

1. Consider both cost and signal quality, and choose a reasonably sized via size. If necessary, you can consider using different sizes of vias. For example, for power or ground vias, you can consider using larger sizes to reduce impedance, while for signal traces, you can use smaller vias. Of course, as the via size decreases, the corresponding cost will also increase.

2. From the two formulas discussed above, it can be concluded that using a thinner PCB board is beneficial to reducing the two parasitic parameters of the via.

3. Try not to change layers of signal traces on the PCB board, which means try not to use unnecessary vias.

4. The power and ground pins should be drilled nearby, and the leads between the vias and the pins should be as short as possible. You can consider drilling multiple vias in parallel to reduce the equivalent inductance.

5. Place some grounded vias near the vias of the signal layer to provide a close return path for the signal. You can even put some extra ground vias on the PCB board.

6. For higher-density, high-speed PCB boards, consider using micro vias.

Optimized design techniques for circuit board heat dissipation.

For electronic equipment, a certain amount of heat will be generated during operation, causing the internal temperature of the equipment to rise rapidly. If the heat is not dissipated in time, the equipment will continue to heat up, and the device will fail due to overheating. The reliability of electronic equipment Performance will decrease. Therefore, it is very important to handle the heat dissipation of the circuit board well. The heat dissipation of the circuit board is a very important link.

Optimized design techniques for circuit board heat dissipation

1. Dissipate heat through the PCB board itself

The currently widely used PCB boards are copper-clad/epoxy glass cloth substrates or phenolic resin glass cloth substrates, and there are also a small amount of paper-based copper-clad boards. Although these substrates have excellent electrical properties and processing properties, they have poor heat dissipation. As a heat dissipation path for high-heating components, it is almost impossible to expect the PCB resin itself to conduct heat, but to dissipate heat from the surface of the component to the surrounding air. However, as electronic products have entered the era of component miniaturization, high-density installation, and high-heat assembly, it is not enough to rely solely on the surface of components with very small surface areas to dissipate heat. At the same time, due to the extensive use of surface-mounted components such as QFP and BGA, the heat generated by the components is transferred to the PCB board in large quantities. Therefore, the best way to solve the problem of heat dissipation is to improve the heat dissipation capacity of the PCB itself that is in direct contact with the heating component, through the PCB board Conduct or radiate out.

2. High-heating devices plus radiators and heat conduction plates

When there are a few devices in the PCB that generate a large amount of heat (less than 3), a radiator or heat pipe can be added to the heating device. When the temperature cannot be lowered, a radiator with a fan can be used to enhance heat dissipation. Effect. When there are a large number of heating devices (more than 3), a large heat dissipation cover (board) can be used. It is a special radiator customized according to the position and height of the heating device on the PCB board or placed on a large flat-panel radiator. Cut out the high and low positions of different components. Attach the entire heat dissipation cover to the component surface and make contact with each component to dissipate heat. However, due to the poor consistency of the components during assembly and soldering, the heat dissipation effect is not good. Usually, a soft thermal phase change thermal pad is added to the component surface to improve the heat dissipation effect.

3. For equipment using free convection air cooling, it is best to arrange the integrated circuits (or other devices) vertically or horizontally.

4. Use reasonable wiring design to achieve heat dissipation

Since the resin in the board has poor thermal conductivity, and copper foil lines and holes are good conductors of heat, increasing the remaining rate of copper foil and adding thermal holes are the main means of heat dissipation. To evaluate the heat dissipation capacity of PCB, it is necessary to calculate the equivalent thermal conductivity of the insulating substrate for PCB, which is a composite material composed of various materials with different thermal conductivity.

5. Devices on the same PCB should be arranged according to their heat generation and heat dissipation degree as much as possible. Devices with small heat generation or poor heat resistance (such as small signal transistors, small-scale integrated circuits, electrolytic capacitors, etc.) should be placed in cooling In the uppermost part of the airflow (at the entrance), devices with high calorific value or good heat resistance (such as power transistors, large-scale integrated circuits, etc.) are placed at the most downstream part of the cooling airflow.

6. In the horizontal direction, high-power devices should be placed as close to the edge of the PCB board as possible to shorten the heat transfer path; in the vertical direction, high-power devices should be placed as close to the top of the PCB board as possible to reduce the impact of these devices on the temperature of other devices when they are working. .

7. The heat dissipation of the PCB board in the equipment mainly relies on air flow, so the air flow path must be studied during design and the devices or printed circuit boards should be reasonably configured. When air flows, it always tends to flow in places with low resistance, so when configuring devices on a printed circuit board, avoid leaving a large air space in a certain area. The same issue should also be paid attention to in the configuration of multiple printed circuit boards in the whole machine.

8. Devices that are sensitive to temperature are best placed in the area with the lowest temperature (such as the bottom of the device). Never place it directly above the heating device. It is best to arrange multiple devices staggered on the horizontal plane.

9. Place the devices with the highest power consumption and heat generation near the best heat dissipation locations. Do not place high-heat components in the corners and edges of the PCB unless there is a heat sink arranged nearby. When designing the power resistor, choose a larger device as much as possible, and adjust the PCB board layout to allow enough heat dissipation space.

10. Avoid the concentration of hot spots on the PCB, distribute the power evenly on the PCB as much as possible, and keep the PCB surface temperature performance uniform and consistent. It is often difficult to achieve strict uniform distribution during the design process, but areas with too high power density must be avoided to avoid hot spots that may affect the normal operation of the entire circuit.

What are the basic knowledge of electronic components?

Electronic components are mainly composed of electronic devices and electronic components. Electronic components are components of electronic components and small and medium-sized electrical equipment and instruments. They are often composed of multiple parts and can be used universally in the same industry. The following mainly introduces the basic knowledge of common electronic components.

Basic knowledge of electronic components-resistance

Resistance: The resistance of a conductor to current is called resistance, represented by the symbol R, and the units are ohms, kiloohms, and megohms, represented by Ω, KΩ, and MΩ respectively.

The model naming method of resistors: The model of domestic resistors consists of four parts (not applicable to sensitive resistors) ① Main name ② Material ③ Classification ④ Serial number

The main name, represented by letters, indicates the name of the product. For example, R represents resistance and W represents potentiometer.

Materials, represented by letters, indicate what materials the resistor is made of, T-carbon film, H-synthetic carbon film, S-organic solid, N-inorganic solid, J-metal film, Y-nitride film, C-deposited film , I-glass glaze film, X-wire winding.

Classification is generally represented by numbers, and individual types are represented by letters, indicating what type the product belongs to. 1-normal, 2-normal, 3-ultra high frequency, 4-high resistance, 5-high temperature, 6-precision, 7-precision, 8-high voltage, 9-special, G-high power, T-adjustable.

Serial number, represented by numbers, indicates different varieties of similar products to distinguish the appearance dimensions and performance indicators of the products. For example: R T 1 1 type ordinary carbon film resistor

Classification of resistors: ① wirewound resistors ② thin film resistors: carbon film resistors, synthetic carbon film resistors, metal film resistors, metal oxide film resistors, chemical deposition film resistors, glass glaze film resistors, metal Nitride film resistors ③ Solid resistors ④ Sensitive resistors: varistor, thermistor, photoresistor, force-sensitive resistor, gas-sensitive resistor, humidity-sensitive resistor.

Basic knowledge of electronic components-capacitor

Capacitors are one of the electronic components widely used in electronic equipment. They are widely used in DC blocking, coupling, bypass, filtering, tuning loops, energy conversion, control circuits, etc. Use C to represent the capacitance. The capacitance units include farad (F), microfarad (uF) and picofarad (pF). 1F=10^6uF=10^12pF

Capacitor model naming method The model of domestic capacitors generally consists of four parts (not applicable to pressure-sensitive, variable, and vacuum capacitors). They represent name, material, classification and serial number respectively.

Part 1: Name, represented by letters, capacitor is represented by C.

Part 2: Materials, represented by letters.

Part 3: Classification, generally expressed by numbers, and individually by letters.

Part 4: Serial number, represented by numbers. Use letters to indicate the material of the product: A-tantalum electrolysis, B-polystyrene and other non-polar films, C-high-frequency ceramics, D-aluminum electrolysis, E-other material electrolysis, G-alloy electrolysis, H-composite dielectric, I-glass glaze, J-metallized paper, L-polyester and other polar organic films, N-niobium electrolysis, O-glass film, Q-paint film, T-low frequency ceramics, V-mica paper, Y-mica, Z -paper media

Basic knowledge of electronic components-inductor

The inductor coil is made of wires wound around an insulating tube. The wires are insulated from each other. The insulating tube can be hollow or contain an iron core or magnetic powder core, referred to as an inductor. Expressed by L, the units include Henry (H), milli-Henry (mH), micro-Henry (uH), 1H=10^3mH=10^6uH.

Classification of inductors

Classified by inductance form: fixed inductance, variable inductance. Classified according to the properties of magnetic conductors: air core coils, ferrite coils, iron core coils, and copper core coils. Classified by working nature: antenna coil, oscillating coil, choke coil, notch coil, deflection coil. Classified by winding structure: single-layer coil, multi-layer coil, honeycomb coil.

Main characteristic parameters of inductors

It often works with capacitors to form LC filters, LC oscillators, etc. In addition, people also use the characteristics of inductors to create choke coils, transformers, relays, etc.; the characteristics of inductors are exactly opposite to the characteristics of capacitors. It has the characteristics of preventing alternating current from passing through and allowing direct current to pass through.

There are many inductor coils on the radio, almost all of which are made of air-core coils wound with enameled wire or wound on a skeleton magnetic core or iron core. There are antenna coils (which are made of enameled wire wound on a magnetic rod), intermediate frequency transformers (commonly known as mid-circuit), input and output transformers, etc.