Three special routing techniques for PCB: right-angle routing, differential routing, serpentine routing
- Categories:Industry News
- Time of issue:2019-02-06 08:59
Three special routing techniques for PCB: right-angle routing, differential routing, serpentine routing
Layout is one of the most basic work skills of pcb design engineers. The quality of the wiring will directly affect the performance of the entire system. Most high-speed design theories must be finally implemented and verified through Layout. It can be seen that wiring is very important in high-speed PCB design. The following will analyze the rationality of some situations that may be encountered in actual wiring, and give some more optimized routing strategies.
It is mainly explained from three aspects: right-angle wiring, differential wiring, and serpentine wiring.
1. Right-angle routing
Right-angle wiring is generally a situation that needs to be avoided as much as possible in PCB wiring, and it has almost become one of the standards for measuring the quality of wiring. So how much influence will the right-angle wiring have on signal transmission? In principle, right-angle wiring will The line width of the transmission line changes, causing discontinuity in impedance. In fact, not only right-angle routing, but also corners and acute-angle routing may cause impedance changes.
The influence of right-angle routing on the signal is mainly reflected in three aspects:
One is that the corner can be equivalent to the capacitive load on the transmission line, which slows down the rise time;
The second is that impedance discontinuity will cause signal reflection;
The third is the EMI generated by the right-angle tip.
The parasitic capacitance caused by the right angle of the transmission line can be calculated by the following empirical formula:
In the above formula, C refers to the equivalent capacitance of the corner (unit: pF), W refers to the width of the trace (unit: inch), εr refers to the dielectric constant of the medium, and Z0 is the characteristic impedance of the transmission line. For example, for a 4Mils 50 ohm transmission line (εr is 4.3), the capacitance brought by a right angle is about 0.0101pF, and then the rise time change caused by this can be estimated:
It can be seen through calculation that the capacitance effect brought by the right-angle trace is extremely small.
As the line width of the right-angle trace increases, the impedance there will decrease, so a certain signal reflection phenomenon will occur. We can calculate the equivalent impedance after the line width increases according to the impedance calculation formula mentioned in the transmission line chapter, and then Calculate the reflection coefficient according to the empirical formula:
Generally, the impedance change caused by right-angle wiring is between 7%-20%, so the maximum reflection coefficient is about 0.1. Moreover, as can be seen from the figure below, the impedance of the transmission line changes to the minimum within the length of the W/2 line, and then returns to the normal impedance after the time of W/2. The entire impedance change time is extremely short, often within 10ps. Inside, such fast and small changes are almost negligible for general signal transmission.
Many people have this understanding of right-angle wiring. They think that the tip is easy to transmit or receive electromagnetic waves and generate EMI. This has become one of the reasons why many people think that right-angle wiring cannot be used. However, many actual test results show that right-angled traces will not produce obvious EMI than straight lines. Perhaps the current instrument performance and the test level restrict the accuracy of the test, but at least it illustrates a problem. The radiation of the right-angled wiring is already smaller than the measurement error of the instrument itself.
In general, the right-angle routing is not as terrible as imagined. At least in applications below GHz, any effects such as capacitance, reflection, EMI, etc. are hardly reflected in TDR testing. High-speed pcb design engineers should still focus on layout, power/ground design, and wiring design. Via holes and other aspects. Of course, although the impact of right-angle wiring is not very serious, it does not mean that we can use right-angle wiring in the future. Attention to detail is the basic quality that every good engineer must have. Moreover, with the rapid development of digital circuits, pcb The frequency of the signal processed by engineers will continue to increase. In the field of RF design above 10GHz, these small right angles may become the focus of high-speed problems.
2. Differential wiring
Differential signal (DifferentialSignal) is more and more widely used in high-speed circuit design. The most critical signal in the circuit is often designed with a differential structure. What makes it so popular? How can it be guaranteed to be good in pcb design? What about the performance? With these two questions, we will proceed to the next part of the discussion.
What is a differential signal? In layman's terms, the driving end sends two equal and inverted signals, and the receiving end judges the logic state "0" or "1" by comparing the difference between the two voltages. The pair of traces carrying differential signals is called differential traces.
Compared with ordinary single-ended signal traces, differential signals have the most obvious advantages in the following three aspects:
a. Strong anti-interference ability, because the coupling between the two differential traces is very good. When there is noise interference from the outside, they are almost coupled to the two lines at the same time, and the receiving end only cares about the difference between the two signals. Therefore, the external common mode noise can be completely canceled.
b. It can effectively suppress EMI. For the same reason, due to the opposite polarity of the two signals, the electromagnetic fields radiated by them can cancel each other out. The tighter the coupling, the less electromagnetic energy vented to the outside world.
c. The timing positioning is accurate. Because the switch change of the differential signal is located at the intersection of the two signals, unlike ordinary single-ended signals, which rely on the high and low threshold voltages to determine, it is less affected by the process and temperature, which can reduce the error in the timing. , But also more suitable for low-amplitude signal circuits. The current popular LVDS (lowvoltagedifferentialsignaling) refers to this small amplitude differential signal technology.
For pcb engineers, the most concerned thing is how to ensure that these advantages of differential wiring can be fully utilized in actual wiring. Maybe anyone who has been in touch with Layout will understand the general requirements of differential wiring, that is, "equal length and equal distance". The equal length is to ensure that the two differential signals maintain opposite polarities at all times and reduce the common mode component; the equal distance is mainly to ensure that the differential impedances of the two are consistent and reduce reflection. "As close as possible" is sometimes one of the requirements of differential wiring. But all these rules are not used to mechanically apply, and many engineers seem to still not understand the essence of high-speed differential signal transmission.
The following focuses on several common misunderstandings in PCB differential signal design.
Misunderstanding 1: It is believed that the differential signal does not need a ground plane as a return path, or that the differential traces provide a return path for each other. The reason for this misunderstanding is that they are confused by superficial phenomena, or the mechanism of high-speed signal transmission is not deep enough. From the structure of the receiving end of Figure 1-8-15, it can be seen that the emitter currents of transistors Q3 and Q4 are equal and opposite, and their currents at the ground exactly cancel each other (I1=0), so the differential circuit is Similar bounces and other noise signals that may exist on the power and ground planes are insensitive. The partial return cancellation of the ground plane does not mean that the differential circuit does not use the reference plane as the signal return path. In fact, in the signal return analysis, the mechanism of differential wiring and ordinary single-ended wiring is the same, that is, high-frequency signals are always Reflow along the loop with the smallest inductance, the biggest difference is that in addition to the coupling to the ground, the differential line also has mutual coupling. Which kind of coupling is strong, which one becomes the main return path. Figure 1-8-16 is a schematic diagram of the geomagnetic field distribution of single-ended signals and differential signals.
From the above simulation results, the waveforms of Scheme 1 and Scheme 2 are almost coincident, that is to say, the influence caused by the unequal spacing is minimal. In comparison, the influence of the line length mismatch on the timing is much greater. (Scheme 3). From the theoretical analysis, although the inconsistent spacing will cause the differential impedance to change, because the coupling between the differential pair itself is not significant, the impedance change range is also very small, usually within 10%, which is only equivalent to one pass. The reflection caused by the hole will not have a significant impact on signal transmission. Once the line length does not match, in addition to the timing offset, common mode components are introduced into the differential signal, which reduces the quality of the signal and increases EMI.
It can be said that the most important rule in the design of PCB differential traces is to match the line length, and other rules can be flexibly handled according to design requirements and practical applications.
Misunderstanding 3: Think that the differential wiring must be very close. Keeping the differential traces close is nothing more than to enhance their coupling, which can not only improve immunity to noise, but also make full use of the opposite polarity of the magnetic field to offset electromagnetic interference to the outside world. Although this approach is very beneficial in most cases, it is not absolute. If we can ensure that they are fully shielded from external interference, then we do not need to use strong coupling to achieve anti-interference. And the purpose of suppressing EMI. How to ensure good isolation and shielding of differential traces? Increasing the distance between traces and other signal traces is one of the most basic ways. The electromagnetic field energy decreases with the square of the distance. Generally, the line spacing exceeds 4 times the line. When it is wide, the interference between them is extremely weak and can basically be ignored. In addition, isolation by the ground plane can also play a good shielding role. This structure is often used in the design of high-frequency (above 10G) IC package PCBs. It is called a CPW structure, which can ensure strict differential impedance. Control (2Z0), as shown in Figure 1-8-19.
Differential traces can also run in different signal layers, but this method is generally not recommended, because the differences in impedance and vias produced by different layers will destroy the effect of differential mode transmission and introduce common mode noise. In addition, if the adjacent two layers are not tightly coupled, it will reduce the ability of the differential trace to resist noise, but if you can maintain a proper distance from the surrounding traces, crosstalk is not a problem. At general frequencies (below GHz), EMI will not be a serious problem. Experiments have shown that the attenuation of radiated energy at a distance of 500 mils away from the differential trace has reached 60dB at a distance of 3 meters, which is sufficient to meet the FCC electromagnetic radiation standard, so The designer does not have to worry too much about the electromagnetic incompatibility caused by insufficient differential line coupling.
3. Serpentine line
Snake line is a type of routing method often used in Layout. Its main purpose is to adjust the delay to meet the system timing design requirements. The designer must first have this understanding: the serpentine line will destroy the signal quality, change the transmission delay, and try to avoid using it when wiring. However, in actual design, in order to ensure that the signal has sufficient hold time, or to reduce the time offset between the same group of signals, it is often necessary to deliberately wind the wire.
The following are some suggestions for Layout engineers when dealing with serpentine lines:
1. Try to increase the distance (S) of parallel line segments, at least greater than 3H, H refers to the distance from the signal trace to the reference plane. In layman's terms, it is to go around a big bend. As long as S is large enough, the mutual coupling effect can be almost completely avoided.
2. Reduce the coupling length Lp. When the double Lp delay is close to or exceeds the signal rise time, the crosstalk generated will reach saturation.
3. The signal transmission delay caused by the serpentine line of the Strip-Line or Embedded Micro-strip is less than that of the Micro-strip. In theory, the stripline will not affect the transmission rate due to differential mode crosstalk.
4. For signal lines with high-speed and strict timing requirements, try not to take serpentine lines, especially not winding lines in a small area.
5. You can often use serpentine traces at any angle, such as the C structure in Figure 1-8-20, which can effectively reduce mutual coupling.
6. In the high-speed pcb design, the serpentine line has no so-called filtering or anti-interference ability, and can only reduce the signal quality, so it is only used for timing matching and has no other purpose.
7. Sometimes the spiral routing can be considered for winding. Simulation shows that its effect is better than normal serpentine routing.
The evaluation system of the circuit board factory should follow the following principles
The use of soft and hard circuit boards?
Soft and hard circuit board production process