How do I design a PCB layout to minimize electromagnetic interference between RF and digital sections?
Mixed-Signal PCB Layout
The PCB layout is the single most important factor in EMC performance for mixed-signal designs. A poorly laid-out board cannot be fixed with shielding or filtering after fabrication.
Component Placement Rules
(1) Place the crystal oscillator and clock generator IC as close to the MCU/FPGA clock input as possible. This minimizes the trace length carrying the extremely high-harmonic-content clock signal (a 100 MHz clock has significant energy at 300 MHz, 500 MHz, 1 GHz, and beyond). A long clock trace is a radiating antenna. (2) Place the VCO as far as possible from the digital section. The VCO is extremely sensitive to noise (1 mV of supply noise or substrate coupling can cause unacceptable phase noise). (3) Place the LNA input as far as possible from any power supply (especially switching DC-DC converters). The switching supply generates harmonic spurs that can couple into the LNA and degrade the receiver sensitivity. (4) Place the PA as close as possible to the antenna connector/feed. Long traces between the PA and antenna waste power (loss) and can radiate. (5) Place bypass/decoupling capacitors as close as possible to each IC power pin. The capacitor provides a local charge reservoir, reducing the current loop area for transient switching current.
Grounding and Power Distribution
(1) Unified ground: use a single, solid ground plane. Do NOT split the ground between analog, digital, and RF. The return current for each signal naturally flows under the signal trace on a solid ground plane (at RF frequencies). A split forces detours that increase coupling. (2) Power plane partitioning: while the ground is unified, the power distribution can be partitioned: separate power planes (or poured copper regions) for the RF supply, digital supply, and analog supply. Each power region is fed by its own voltage regulator (LDO for RF and analog, switching regulator acceptable for digital). This prevents high-frequency noise from the digital supply from reaching the RF circuits through shared supply impedance. (3) Star power routing: each voltage regulator connects to its load through a dedicated trace or plane region. The current paths do not overlap. This prevents the digital switching current (hundreds of mA at MHz rates) from flowing through the same trace as the RF supply current (tens of mA, must be ultra-clean).
Critical Signal Routing
(1) RF signal traces: route on microstrip (Layer 1) or stripline (inner layers). Maintain controlled impedance (50 ohms ±10%). Use ground plane return directly below the trace (Layer 2 ground). No vias, bends, or stubs in the signal path unless necessary (each discontinuity creates reflections and radiation). (2) High-speed digital traces: route on a layer with a ground plane directly adjacent. Use differential pairs for high-speed data (USB, PCIe, LVDS). Keep the differential pair spacing tight (minimize common-mode noise generation). (3) Separation between RF and digital: at minimum: 3H separation (H = dielectric height to the ground plane) for traces on the same layer. Better: route on different layers with a ground plane between them (> 40 dB isolation). Best: route on different layers with TWO ground planes between them (stripline isolation, > 60 dB). (4) Avoid parallel routing: if RF and digital traces must be near each other: cross at 90° (perpendicular crossing minimizes coupling to approximately one trace width of coupled length, vs full parallel coupling). Never route RF and digital traces in parallel on adjacent layers.
Ground plane: solid, unified, Layer 2
Trace isolation: > 3H same layer, > 40 dB diff layers
Clock trace: shortest possible, near MCU
VCO: farthest from digital + DC-DC
Frequently Asked Questions
What is the minimum PCB layer count for a mixed RF-digital board?
Depends on complexity: (1) Simple designs (e.g., Bluetooth module + MCU): 4 layers minimum. Layer 1: signal. Layer 2: ground. Layer 3: power. Layer 4: signal. The ground on L2 provides the critical return path. (2) Moderate designs (e.g., Wi-Fi + cellular + MCU + memory): 6 layers. L1: signal. L2: ground. L3: signal. L4: power/signal. L5: ground. L6: signal. Two ground planes allow stripline routing on L3 (between L2 and L5 grounds) for sensitive RF traces. (3) Complex designs (e.g., 5G transceiver + FPGA + high-speed memory): 8-12+ layers. Multiple ground planes, dedicated RF signal layers, separate digital signal layers, and multiple power planes. The additional layers provide isolation between RF and digital domains.
How do I choose the stack-up dielectric thickness?
The dielectric between the signal layer and its reference ground plane determines: (1) Trace width for 50 ohms (thinner dielectric = narrower trace). (2) Crosstalk sensitivity (thinner dielectric = tighter field confinement = less crosstalk). (3) Manufacturing cost (very thin dielectrics < 3 mil are more expensive). Typical choices: between L1 and L2 (signal to ground): 4-8 mil (0.1-0.2 mm). This provides 50-ohm microstrip with 5-10 mil trace width (manufacturable). The thin dielectric provides good field confinement and low crosstalk. Between inner signal layers and ground: 4-6 mil for stripline layers. Between ground planes (in a 6+ layer board): 10-40 mil (thicker is fine, as this is a non-signal spacing). The trade-off: thinner dielectric = better EMC performance but narrower traces (harder to route) and more expensive laminate.
Should I use a shield can on the PCB?
shield cans (PCB-mounted metal enclosures) provide additional isolation between sections: typical SE: 30-60 dB at 1-10 GHz (depends on the can design and ground via density). Use a shield can: over the VCO (to prevent radiation from coupling into other circuits), over the LNA (to prevent digital noise from coupling into the receiver), over the PA (to prevent PA radiation from coupling into adjacent circuits), and over DC-DC converters (to contain the switching noise). Design: the shield can footprint should have a continuous row of ground vias around the perimeter (via fence) connecting the top ground pad to the internal ground plane. Via spacing: < lambda/20 at the highest frequency. The lid (removable shield) should contact the perimeter pads with low resistance (spring clips or gaskets).