Radio frequency (RF)printed circuit boards design is often described as a "black art" due to its theoretical uncertainty, but this view is only partially true, and there are many guidelines for RF circuit board design that can and should not be followed neglected rule. However, when it comes to actual design, the real trick is how to compromise these guidelines and laws when they cannot be implemented accurately due to various design constraints. Of course, there are many important RF design topics worth discussing, including impedance and impedance matching, insulating layer materials and laminates, and wavelength and standing waves, so these have a great impact on the EMC and EMI of mobile phones. The conditions that must be met when designing an RF layout are summarized:
1. Isolate the high-power RF amplifier (HPA) and the low-noise amplifier (LNA) as much as possible. Simply put, keep the high-power RF transmitter circuit away from the low-power RF receiver circuit. Mobile phones have many functions and many components, but the PCB board space is small, and considering the limitations of the wiring design process, all these require relatively high design skills. At this time, it may be necessary to design a four-layer to six-layer PCB board, and let them work alternately instead of working at the same time. High power circuits may also sometimes include RF buffers and voltage controlled oscillators (VCOs). Make sure that there is at least one whole ground in the high-power area on the PCB without vias. Of course, the more copper, the better. Sensitive analog signals should be kept as far away as possible from high-speed digital and RF signals.
2. Design partitions can be broken down into physical and electrical partitions. Physical partitions mainly involve issues such as component placement, orientation, and shielding; electrical partitions can continue to be broken down into partitions for power distribution, RF traces, sensitive circuits and signals, and grounding.
2.1 We discuss physical partitioning. Component placement is the key to implementing an RF design. An effective technique is to first fix the components located on the RF path and adjust their orientation to minimize the length of the RF path, keep the input away from the output, and separate the components as far as possible. power circuits and low power circuits. An effective board stacking method is to arrange the main ground plane (main ground) on the second layer below the surface layer, and run the RF lines on the surface layer as much as possible. Reducing the via size on the RF path not only reduces the path inductance, but also reduces ghost solder joints on the main ground and reduces the chance of RF energy leaking to other areas within the stack. In physical space, linear circuits like multistage amplifiers are usually sufficient to isolate multiple RF zones from each other, but duplexers, mixers, and IF amplifiers/mixers always have multiple RF/IFs The signals interfere with each other, so care must be taken to minimize this effect.
2.2 The RF and IF traces should be crossed as much as possible, and a ground should be spaced between them as much as possible. The correct RF path is very important to the performance of the entire PCB, which is why component placement usually takes up most of the time in mobile phone PCB design. In the design of mobile phone PCB board, the low noise amplifier circuit can usually be placed on one side of the PCB board, and the high power amplifier can be placed on the other side, and they are finally connected to the RF end and baseband processing on the same side through a duplexer. on the antenna of the device. Some tricks are required to ensure that straight-through vias do not transfer RF energy from one side of the board to the other, and a common technique is to use blind vias on both sides. The detrimental effects of straight-through vias can be minimized by arranging the straight-through vias in areas where both sides of the PCB are free from RF interference. Sometimes it is not possible to ensure sufficient isolation between multiple circuit blocks, in which case a metal shield must be considered to shield the RF energy in the RF area. The metal shield must be soldered to the ground and must be kept from the components. an appropriate distance, thus taking up valuable PCB board space. It is very important to ensure the integrity of the shielding cover as much as possible. The digital signal lines entering the metal shielding cover should go to the inner layer as much as possible, and the PCB board below the wiring layer is the ground layer. The RF signal line can go out from the small gap at the bottom of the metal shield and the wiring layer at the ground gap, but as much ground as possible should be distributed around the gap, and the ground on different layers can be connected together through multiple vias .
2.3 Proper and effective chip power supply decoupling is also very important. Many RF chips with integrated linear lines are very sensitive to noise from the power supply, typically requiring up to four capacitors and an isolation inductor per chip to ensure all power supply noise is filtered out. An integrated circuit or amplifier often has an open-drain output, so a pull-up inductor is required to provide a high-impedance RF load and a low-impedance DC source. The same principle applies to decoupling the supply on this inductor side. Some chips require multiple power supplies to work, so you may need two or three sets of capacitors and inductors to decouple them separately, inductors are rarely close together in parallel, as this would create an air core transformer and induce interference with each other signal, so the distance between them should be at least the height of one of the devices, or they should be arranged at right angles to reduce their mutual inductance.
2.4 The principles of electrical partitioning are generally the same as physical partitioning, but there are some additional factors. Certain parts of the phone operate at different voltages and are controlled by software to prolong battery life. This means the phone needs to run on multiple power sources, which creates more problems with isolation. Power is usually brought in at the connector and is immediately decoupled to filter out any noise from outside the board before being distributed through a set of switches or voltage regulators. Most circuits on mobile phone PCB have fairly small DC currents, so trace width is usually not an issue, however, a separate high-current trace as wide as possible must be run for the power supply of the high-power amplifier to minimize the transmission voltage drop. To avoid too much current loss, multiple vias are needed to pass current from one layer to another. Additionally, if the high power amplifier is not sufficiently decoupled at its power supply pins, high power noise will radiate across the board and cause various problems. Grounding of high power amplifiers is critical and often requires a metal shield. In most cases, it is also critical to ensure that the RF output is kept away from the RF input. This also applies to amplifiers, buffers and filters. In the worst case, amplifiers and buffers have the potential to self-oscillate if their outputs are fed back to their inputs with the proper phase and amplitude. In any case, they will work stably under any temperature and voltage conditions. In fact, they can become unstable and add noise and intermodulation signals to the RF signal. If the RF signal lines have to be looped back from the input of the filter to the output, this can seriously damage the bandpass characteristics of the filter. In order to obtain good isolation between input and output, first, a ground must be placed around the filter, and secondly, a ground should be placed in the lower area of the filter and connected to the main ground around the filter. It is also a good idea to keep the signal lines that need to go through the filter as far away from the filter pins as possible. Also, be careful with grounding everywhere on the board, or you will introduce a coupling channel. Sometimes single-ended or balanced RF signal lines can be chosen, and the same principles regarding cross-interference and EMC/EMI apply here. Balanced RF signal lines can reduce noise and cross-interference if they are routed correctly, but their impedance is usually high, and a reasonable line width should be maintained to obtain an impedance that matches the source, trace, and load. Actual wiring may There will be some difficulties. A buffer can be used to improve isolation because it can split the same signal into two parts and use it to drive different circuits, especially if the LO may need a buffer to drive multiple mixers. When the mixer reaches common mode isolation at RF frequencies, it will not function properly. Buffers are good at isolating impedance changes at different frequencies so that circuits do not interfere with each other. Buffers are a great help in the design, they can be placed right after the circuit that needs to be driven, so that the high power output traces are very short, because the input signal level of the buffer is relatively low, so they are not easy to be affected by other circuits on the board. circuit causing interference. Voltage Controlled Oscillators (VCOs) convert changing voltages to changing frequencies, a feature used for high-speed channel switching, but they also convert small amounts of noise on the control voltage into small frequency changes, which give RF signals add noise.
2.5 To ensure that the noise does not increase, the following aspects must be considered: First, the expected bandwidth of the control line may range from DC to 2MHz, and it is almost impossible to remove such a wide-band noise by filtering; second, the VCO control line Often part of a feedback loop that controls frequency, it has the potential to introduce noise in many places, so the VCO control lines must be handled with great care. Make sure that the ground below the RF traces is solid and that all components are firmly connected to the main ground and isolated from other traces that may introduce noise. In addition, make sure that the power supply of the VCO is adequately decoupled, since the RF output of the VCO tends to be a relatively high level, the VCO output signal can easily interfere with other circuits, so special attention must be paid to the VCO. In fact, the VCO is often placed at the end of the RF area, and sometimes it requires a metal shield. The resonant circuit (one for the transmitter and the other for the receiver) is related to the VCO, but also has its own characteristics. Simply put, a resonant circuit is a parallel resonant circuit with a capacitive diode that helps set the VCO operating frequency and modulate speech or data onto an RF signal. All VCO design principles apply equally to resonant circuits. Resonant circuits are often very sensitive to noise due to their considerable number of components, wide distribution on the board, and typically operating at a very high RF frequency. Signals are usually arranged on adjacent pins of the chip, but these signal pins need to work with relatively large inductors and capacitors, which in turn requires these inductors and capacitors to be located close together and connected back to on a noise-sensitive control loop. It is not easy to do this. The automatic gain control (AGC) amplifier is also a problem-prone place, and there will be an AGC amplifier in both the transmit and receive circuits. AGC amplifiers are usually effective at filtering out noise, but due to the ability of mobile phones to handle rapid changes in transmitted and received signal strength, AGC circuits are required to have a fairly wide bandwidth, which makes it easy to introduce AGC amplifiers on some critical circuits noise. Good analog circuit design techniques must be followed when designing AGC lines, and this has to do with very short op amp input pins and very short feedback paths, both of which must be kept away from RF, IF, or high-speed digital signal traces. Also, good grounding is essential, and the power supply to the chip must be well decoupled. If you have to run a long wire at the input or output, it's at the output, which usually has a much lower impedance and is less prone to inductive noise. Usually the higher the signal level, the easier it is to introduce noise into other circuits. In all PCB design, it is a general principle to keep digital circuits away from analog circuits as much as possible, and it also applies to RF PCB design. The common analog ground is often as important as the ground used to shield and separate the signal lines, so careful planning, thoughtful component placement, and thorough placement* estimation are all important in the early stages of design. Likewise, RF should be Lines should be kept away from analog lines and some very critical digital signals. All RF traces, pads and components should be filled with ground copper as much as possible, and connected to the main ground as much as possible. If the RF traces must pass through the signal lines, try to route a layer of ground connected to the main ground along the RF traces between them. If not possible, make sure they are criss-crossed to minimize capacitive coupling, and as much ground as possible around each RF trace, and connect them to the main ground. Also, reducing the distance between parallel RF traces can reduce inductive coupling. A solid monolithic ground plane placed directly under the surface layer, the isolation effect, although a little careful design other practices also work. On each layer of the PCB board, lay as many grounds as possible and connect them to the main ground. Place the traces as close together as possible to increase the number of pads on the internal signal and power distribution layers, and adjust the traces so that you can route ground connection vias to isolated pads on the surface. Free grounds on various layers of the PCB should be avoided as they can pick up or inject noise like a small antenna. In most cases, if you can't connect them to the main ground, then you remove them.
3. When designing mobile phone PCB boards, great attention should be paid to the following aspects
3.1 Handling of power supply and ground wire
Even if the wiring in the entire PCB board is well completed, the interference caused by the lack of thoughtful consideration of the power supply and the ground wire will reduce the performance of the product, and sometimes even affect the success rate of the product. Therefore, the wiring of the power and ground wires should be taken seriously, and the noise interference generated by the power and ground wires should be minimized to ensure the quality of the products. For every engineer who is engaged in the design of electronic products, the reason for the noise between the ground wire and the power line is understood, and now only the reduced noise suppression is expressed:
(1) It is well known to add decoupling capacitors between power and ground.
(2) Try to widen the width of the power and ground wires. The ground wire is wider than the power wire. 0.05~0.07mm, the power cord is 1.2~2.5mm. For the PCB board of the digital circuit, a wide ground wire can be used to form a loop, that is, a ground net can be used (the ground of the analog circuit cannot be used in this way).
(3) Use a large-area copper layer as a ground wire, and connect the unused places on the printed board to the ground as a ground wire. Or make a multi-layer board, power supply, ground wire each occupy one layer.
3.2 Common ground processing of digital circuits and analog circuits
Nowadays, many PCB boards are no longer a single function circuit (digital or analog circuit), but are composed of a mixture of digital circuits and analog circuits. Therefore, it is necessary to consider the mutual interference between them when wiring, especially the noise interference on the ground wire. The frequency of the digital circuit is high, and the sensitivity of the analog circuit is strong. For the signal line, the high-frequency signal line should be kept away from the sensitive analog circuit devices as much as possible. For the ground wire, the whole PCB board has only one node to the outside world. Therefore, the problem of digital and analog common ground must be dealt with inside the PCB board, and the digital ground and analog ground are actually separated inside the board, and they are not connected to each other, only at the interface between the PCB board and the outside world (such as plugs). Wait). The digital ground is a little shorted to the analog ground, note that there is only one connection point. There are also different grounds on the PCB board, which are determined by the system design.
3.3 Signal lines are routed on the electrical (ground) layer
In the wiring of multi-layer printed boards, since there are not many lines left in the signal line layer, adding more layers will cause waste and increase the production workload, and the cost will increase accordingly. To solve this contradiction, we can consider wiring on the electrical (ground) layer. The power plane should be considered first, followed by the ground plane. Because the integrity of the formation is preserved.
3.4 Handling of connecting legs in large area conductors
In large-area grounding (electrical), the legs of commonly used components are connected to them, and the handling of the connecting legs needs to be comprehensively considered. There are some hidden dangers in the welding and assembly of components, such as: 1. Welding requires high-power heaters. 2. It is easy to cause virtual solder joints. Therefore, taking into account electrical performance and process needs, cross-shaped pads are made, which are called heat shields, commonly known as thermal pads. Sex is greatly reduced. The electrical (ground) leg of a multilayer board is treated the same way.
3.5 The role of network system in wiring
In many CAD systems, wiring is determined by the network system. If the grid is too dense, although the number of channels is increased, the step is too small, and the amount of data in the image field is too large, which must have higher requirements on the storage space of the equipment, and also affect the computing speed of computer electronic products. great influence. And some vias are invalid, such as those occupied by pads of component legs or occupied by mounting holes and fixed holes. Too sparse grids and too few channels have a great impact on the distribution rate. Therefore, there must be a grid system with reasonable density to support the wiring. The distance between the legs of standard components is 0.1 inches (2.54mm), so the basis of the grid system is generally set to 0.1 inches (2.54 mm) or less than an integral multiple of 0.1 inches, such as: 0.05 inches, 0.025 inches, 0.02 inches etc.
4. The skills and methods for high-frequency PCB board design are as follows:
4.1 Use a 45° angle for the corners of the transmission line to reduce return loss
4.2 High-performance insulating circuit boards whose insulation constant values are strictly controlled by level shall be adopted. This approach facilitates efficient management of electromagnetic fields between insulating materials and adjacent wiring.
4.3 It is necessary to improve the PCB board design specifications for high-precision etching. Consider specifying a total error of +/- 0.0007 inches in line width, managing undercuts and cross-sections of wiring shapes, and specifying wiring sidewall plating conditions. Overall management of wiring (conductor) geometry and coating surface is important to address skin effect issues associated with microwave frequencies and to achieve these specifications.
4.4 There is a tap inductance on the protruding leads, so avoid using leaded components. For high frequency environments, use surface mount components.
4.5 For signal vias, avoid using the via processing (pth) process on sensitive boards, as this process will result in lead inductance at the via.
4.6 Provide a rich ground plane. Molded vias are used to connect these ground planes to prevent the effects of 3D electromagnetic fields on the board.
4.7 To choose electroless nickel plating or immersion gold plating process, do not use HASL method for electroplating. This plated surface provides better skin effect for high frequency currents (Figure 2). In addition, this highly solderable coating requires fewer leads, helping to reduce environmental pollution.
4.8 Solder mask prevents the flow of solder paste. However, covering the entire board surface with solder mask material will result in large variations in the electromagnetic energy in the microstrip design due to thickness uncertainty and unknown insulating properties. Solder dam is generally used as a solder mask. the electromagnetic field. In this case, we manage the transition between microstrip and coax. In a coaxial cable, the ground planes are interwoven in a ring and evenly spaced. In microstrip, the ground plane is below the active line. This introduces certain edge effects that need to be understood, predicted and taken into account at design time. Of course, this mismatch also results in return loss, which must be reduced to avoid noise and signal interference.
5. Electromagnetic Compatibility Design
Electromagnetic compatibility refers to the ability of electronic equipment to work harmoniously and effectively in various electromagnetic environments. The purpose of electromagnetic compatibility design is to enable electronic equipment to suppress various external interferences, so that electronic equipment can work normally in a specific electromagnetic environment, and at the same time reduce the electromagnetic interference of electronic equipment itself to other electronic equipment.
5.1 Choose a reasonable wire width
Since the impulse interference produced by the transient current on the printed wires is mainly caused by the inductive components of the printed wires, the inductance of the printed wires should be minimized. The inductance of the printed wire is proportional to its length and inversely proportional to its width, so short and precise wires are beneficial to suppress interference. Clock traces, signal lines of row drivers or bus drivers often carry large transient currents and traces should be kept as short as possible. For discrete component circuits, when the width of the printed wire is about 1.5mm, it can fully meet the requirements; for integrated circuits, the width of the printed wire can be selected between 0.2 and 1.0 mm.
5.2 Adopt the correct wiring strategy
The use of equal wiring can reduce the wire inductance, but the mutual inductance and distributed capacitance between the wires increase. If the layout allows, use the grid-shaped grid wiring structure. The cross holes are connected by metallized holes.
5.3 In order to suppress the crosstalk between the wires of the printed board, when designing the wiring, try to avoid long-distance equal wiring, keep the distance between the wires as far as possible, and keep the signal wires, ground wires and power wires from crossing as much as possible. . Setting a grounded trace between some signal lines that are very sensitive to interference can effectively suppress crosstalk.
5.4 In order to avoid electromagnetic radiation generated when high-frequency signals pass through the printed wires, the following points should also be paid attention to when wiring the printed circuit board:
(1) Minimize the discontinuity of printed wires, for example, the width of the wires should not be abruptly changed, the corners of the wires should be greater than 90 degrees, and ring routing is prohibited.
(2) The lead of the clock signal is prone to electromagnetic radiation interference. The wiring should be close to the ground loop, and the driver should be close to the connector.
(3) The bus driver should be close to the bus it wants to drive. For those leads that leave the printed circuit board, the driver should be right next to the connector.
(4) The wiring of the data bus should sandwich a signal ground wire between every two signal wires. The ground return is placed right next to the unimportant address leads, since the latter often carry high frequency currents.
(5) When arranging high-speed, medium-speed and low-speed logic circuits on the printed board, the devices should be arranged as shown in Figure 1.
5.5 Suppress reflection interference
In order to suppress the reflection interference that appears at the end of the printed line, except for special needs, the length of the printed line should be shortened as much as possible and slow circuits should be used. If necessary, terminal matching can be added, that is, a matching resistor with the same resistance value is added at the end of the transmission line to the ground and the power supply end. According to experience, for the generally faster TTL circuit, the terminal matching measures should be adopted when the printed lines are longer than 10cm. The resistance value of the matching resistor should be determined according to the output drive current and sink current value of the integrated circuit.
5.6 Use differential signal line routing strategy in circuit board design process
Differential signal pairs that are routed very close to each other are also tightly coupled to each other. This mutual coupling reduces EMI emissions. Usually (with some exceptions) differential signals are also high-speed signals, so high-speed design rules usually apply. This is especially true for the wiring of differential signals, especially when designing signal lines for transmission lines. This means that we must design the routing of the signal lines very carefully to ensure that the characteristic impedance of the signal line is continuous and constant throughout the signal line. During the layout and routing process of the differential pair, we hope that the two PCB board lines in the differential pair are exactly the same. This means that, in practice, every effort should be made to ensure that the PCB traces in the differential pair have exactly the same impedance and that the traces are of the same length. Differential PCB board traces are usually always routed in pairs, and the distance between them remains constant anywhere along the direction of the pair. Typically, the PCB board layout of differential pairs is always as close as possible.