RF Layout Rules
A circuit that works perfectly at audio frequencies may oscillate, radiate interference, fail to amplify, or produce distortion when operating at radio frequencies — all because of layout. The reason is that at RF, every conductor has inductance and every gap between conductors has capacitance. A short PCB trace that is invisible at 1 kHz becomes a significant inductive element at 14 MHz, and a measurable antenna at 144 MHz. Understanding and applying RF layout rules is what separates RF circuits that work from those that don't. This lesson teaches you why layout matters at radio frequencies and how to apply the rules that professional RF designers use every day.
Correct RF PCB layout (top) versus incorrect layout (bottom). Note the compact signal path, ground plane with via stitching, and decoupling caps placed directly at each VCC pin in the correct version. The incorrect version shows the mistakes that cause RF circuits to misbehave.
View LargerWhy RF Layout Differs from Audio Layout
At DC and audio frequencies, the only conductor property that matters in most circuits is resistance. A copper trace carrying an audio signal has a resistance of perhaps a few milliohms — completely negligible in a 600Ω audio circuit. Ground wires work perfectly well because their resistance is tiny compared to the signal impedances involved. You can run wires any which way, leave long component leads, and connect grounds with a shared wire, and the circuit behaves exactly as the schematic says it should.
At radio frequencies, everything changes. Every conductor — whether a PCB trace, a component lead, or a piece of wire — has inductance as well as resistance. The inductance of a straight copper trace is approximately 1 nH per millimeter of length. At DC and audio frequencies, the inductive reactance XL = 2πfL is so small that it is completely invisible. But as frequency rises, inductive reactance rises in direct proportion to frequency, and what was harmless at 1 kHz becomes a significant impedance at 14 MHz.
A 25mm (approximately 1 inch) copper trace has approximately 25 nH of inductance.
At 14 MHz: XL = 2π × 14×106 × 25×10-9 = 2.2 Ω
At 144 MHz: XL = 2π × 144×106 × 25×10-9 = 22.6 Ω
In a 50Ω system, a 22.6Ω series element is a very significant impedance mismatch. That innocuous-looking trace is now a lumped inductor that is detuning your circuit.
The situation becomes even more dramatic when you consider component leads. Through-hole resistors, capacitors, and transistors are sold with lead lengths of 10–25mm. Those leads are not just mechanical supports — they are conductors with significant inductance.
A 50mm piece of component lead wire contributes approximately 50 nH of inductance (1 nH/mm × 50 mm = 50 nH, though actual values depend on wire diameter).
At 7 MHz: XL = 2π × 7×106 × 50×10-9 = 2.2 Ω
For a ground-return lead in an amplifier stage, even this small series inductance can cause significant detuning and can provide the feedback path that turns an amplifier into an oscillator. The ground wire doesn't look like a wire at RF — it looks like an inductor in series with the ground connection.
Stray capacitance is also a factor, though it is more frequency-dependent in a different way. Two parallel PCB traces 1mm apart on opposite layers carry approximately 1 pF per centimeter of parallel run. At 144 MHz, 1 pF of stray capacitance has a reactance of XC = 1/(2π × 144×106 × 1×10-12) = 1100Ω — relatively high. However, in a receiver front-end where the desired signal is only microvolts and the unwanted signal might be tens of millivolts, even 1100Ω of isolation between an output trace and an input trace can allow enough coupling to cause intermodulation or noise problems. On a 50Ω system driven by a strong signal, even 0.5 pF of stray capacitance causes measurable signal leakage.
The fundamental difference, then, is this: at audio frequencies, schematic topology determines circuit behavior. At RF, physical layout determines circuit behavior. A circuit built exactly to schematic can still oscillate, produce spurs, fail to amplify, or inject noise into nearby stages — if the physical construction violates RF layout rules.
Ground Plane — The Most Important Rule
The single most important rule in RF PCB layout is this: use a solid, unbroken copper ground plane as the electrical reference for all signals. This is not merely good practice — at VHF and UHF it is essential, and even at HF it provides a substantial improvement over any alternative.
A ground plane is a complete layer of copper on the PCB — typically the bottom layer of a two-layer board — connected to the circuit ground at every ground pin, every bypass capacitor, and every via that needs to reach ground. The ground plane provides several crucial functions:
Low-inductance return path: When a signal current flows along a top-layer trace, the return current flows back through the ground plane directly beneath the trace. Because the return current spreads out in the plane and takes the most direct path under the signal trace, the effective loop area formed by the signal trace and its return path is extremely small. Small loop area means small inductance. This is precisely what you want: the lowest possible impedance return path at radio frequencies.
Controlled-impedance transmission line behavior: When a trace runs over a solid ground plane with a known board thickness, the trace and the ground plane together form a microstrip transmission line with a predictable characteristic impedance. This means you can design 50Ω traces (covered in detail below) and connect them to 50Ω RF connectors and components without creating reflections or mismatches.
Shielding and isolation: The ground plane provides a degree of shielding between top-layer components and anything below the board. It also reduces coupling between traces on the top layer, because each trace's field is terminated into the ground plane rather than radiating freely.
What you must not do is cut slots or pour voids in the ground plane under RF signal traces. A slot in the ground plane forces the return current to travel around the slot rather than directly under the trace. This dramatically increases the loop area of the signal and its return, raising the inductance and breaking the transmission line behavior of the trace above. Even a narrow slot directly under an RF trace can cause measurable degradation at HF and serious problems at VHF.
Via stitching: On a two-layer board, the ground plane may be split into separate copper islands if the top-layer routing forces cuts between areas. Via stitching — a row of vias connecting the ground plane copper on both layers — eliminates this problem. Place stitching vias at 5–10mm intervals around the board perimeter and between signal areas. This creates an effective Faraday cage around the board and prevents resonant slots from forming in the ground plane. Resonant ground plane slots act as antennas at the frequencies where they are a quarter-wavelength long.
Never use a ground bus wire: A ground bus is a wire or trace running from one component's ground pin to the next and so on, daisy-chaining all the grounds together in a line. At DC and audio frequencies this works perfectly well. At RF, the ground bus wire has substantial inductance, and the inductance is shared between all components along the chain. RF currents from one stage modulate the ground voltage seen by adjacent stages through this shared inductance — a classic cause of inter-stage coupling and oscillation.
Component Placement
Once you have a ground plane, the next most important factor is component placement. The key principle is that signal flow should follow a logical, one-directional path through the board, and components within each functional stage should be grouped tightly together.
Always arrange stages so that signal flows in one direction — input at one end of the board, output at the other, with the intermediate stages in order between them. Left-to-right and top-to-bottom are both common conventions. This one-directional flow prevents RF output from coupling back into earlier stages. When output signals are physically near input stages, they couple through stray capacitance and mutual inductance, creating feedback that causes oscillation or degrades receiver performance.
Never fold a signal path back over itself. This is an extremely common mistake in compact layouts. If a designer needs to fit a four-stage amplifier into a small board and routes the signal up, across, then back down the board, the amplifier output is physically adjacent to the amplifier input. The RF output couples capacitively and inductively into the input, and the circuit oscillates. The fix is to either arrange the stages in a single line or to interpose a metal shield between the output and input sections.
Hot RF signals — the output of a power amplifier, the output of a VFO, the output of a mixer — must be physically separated from sensitive inputs. The LNA input, the mixer's RF port, and the front-end preselector are the most vulnerable points in a receiver. Even a few millimeters of spacing, if not reinforced by shielding, may be insufficient at VHF. Plan the layout so that large amplitudes are at one edge of the board and small signals are at the opposite edge, with the intermediate gain stages acting as a spatial buffer between them.
Differential or push-pull stages require symmetrical placement. In a push-pull amplifier, both transistors must be equidistant from the center-tapped transformer primary. If one transistor is 5mm closer to the transformer than the other, its lead inductance is lower, and the circuit loses balance. Imbalance in a push-pull stage degrades even-order harmonic cancellation, increasing the spurious output level.
Crystal placement: In an oscillator circuit, the crystal must be mounted as close as possible to the oscillator transistor or IC. The crystal's connecting leads should be as short as practically possible — ideally under 5mm from pad to pad. The metal can of a crystal resonator must be soldered to the ground plane. The can provides electrostatic shielding for the quartz element inside; if it is not grounded, it acts as a floating conductor that picks up electric fields and injects noise directly into the crystal circuit. This is a frequent cause of phase noise in homebuilt VXOs and crystal-controlled oscillators.
Lead Dress
Lead dress is the art of routing component leads and wires so that their inductance and coupling are minimized. The term comes from the era of hand-wired circuits, but it applies equally to through-hole components soldered to a PCB. Even on a well-designed PCB, careless lead length can add unwanted inductance to key nodes.
The governing rule is simple: keep all leads as short as possible. For every 1mm of unnecessary lead length, you add approximately 1 nH of series inductance to that component. At 144 MHz, 1 nH of inductance has a reactance of XL = 2π × 144×106 × 1×10-9 = 0.9Ω. That may seem small in isolation, but a 10mm lead adds 9Ω — nearly 20% of a 50Ω circuit impedance — as a series element. For a collector load resistor in a 144 MHz amplifier, this lead inductance forms a series LC with the next stage's input capacitance, creating an unintended filter or resonance peak.
A 470Ω collector resistor with 10mm leads has approximately 10 nH of lead inductance per lead, so 20 nH total in series with the resistor.
At 144 MHz: XL = 2π × 144×106 × 20×10-9 = 18.1 Ω
The effective impedance of the "resistor" is now 470 + j18.1 Ω — the imaginary component causes phase shift and impedance mismatch at the collector. At 432 MHz this becomes 54Ω — more than 10% of the resistor's own value.
After soldering through-hole components, trim the leads flush with the solder on the bottom (solder side) of the board. Every millimeter of lead protruding below the PCB adds inductance to that component's connection. For components on the top side, press them flat against the board surface before soldering so that the body sits close to the PCB and the leads are as short as possible.
Avoid loops in any wiring or lead routing. Any closed loop of wire forms an inductor. If RF current flows through the loop, or if a changing RF magnetic field passes through it, the loop will couple RF energy either into or out of the circuit. This is how RF interference gets into circuits that are not on the signal path at all — the loop acts as a pickup antenna. Keep all lead routing as tight and direct as possible, with no unnecessary loops.
Signal leads and power or ground leads must not run in parallel. Parallel conductors share mutual inductance and stray capacitance. An RF signal on one trace will couple into a power supply trace running alongside it, modulating the supply voltage and injecting noise into every other stage sharing that supply. This is particularly damaging in receiver designs where the supply is shared between the LNA and the local oscillator — LO signal appearing on the supply rail can mix with the incoming RF signal and generate spurious responses.
Transmission Lines on PCB — Microstrip
When an RF signal travels between functional blocks on a PCB — from the LNA output to the mixer input, from the IF amplifier to the filter, or from the VFO buffer to the driver stage — the PCB trace is not just a wire. It is a transmission line, and like all transmission lines it has a characteristic impedance. If this impedance does not match the source and load impedances, reflections occur, the signal is not transferred efficiently, and the mismatch can cause resonances in the trace itself.
A trace on the top layer of a two-layer PCB with a solid ground plane on the bottom layer forms a microstrip transmission line. The characteristic impedance of this microstrip depends on the trace width (W), the PCB substrate thickness (h), the copper thickness (t), and the dielectric constant of the board material (εr).
Microstrip transmission line geometry. On standard 1.6mm FR4 PCB, a 50Ω trace is approximately 3.0mm wide — wider than most designers expect.
View LargerThe standard approximation formula for microstrip impedance is:
Where:
Z0 = characteristic impedance (Ω)
εr = dielectric constant of PCB material
h = dielectric height (PCB substrate thickness, mm)
W = trace width (mm)
t = copper thickness (mm)
For standard FR4 PCB material, εr = 4.4. Standard PCB substrate thickness (h) for most hobbyist and commercial single- and double-sided boards is 1.6mm. Copper thickness is typically 1 oz/ft² = 0.035mm.
h = 1.6mm, t = 0.035mm, εr = 4.4, W = 3.0mm
√(εr + 1.41) = √(4.4 + 1.41) = √5.81 = 2.41
5.98h = 5.98 × 1.6 = 9.568
0.8W + t = 0.8 × 3.0 + 0.035 = 2.435
ln(9.568 / 2.435) = ln(3.93) = 1.369
Z0 ≈ 87 / 2.41 × 1.369 = 36.1 × 1.369 ≈ 49.4 Ω ≈ 50 Ω ✓
So on standard 1.6mm FR4 PCB, a 3.0mm wide trace gives very close to 50Ω characteristic impedance.
This result surprises many builders: 3mm is much wider than a typical signal trace. Most hobbyists route RF signal traces at 0.5–1mm because "narrower looks neater" or because the PCB design software defaults to that width. A 0.5mm trace on 1.6mm FR4 has a characteristic impedance of approximately 115Ω — more than double the target. Connecting this to a 50Ω source and 50Ω load creates a mismatch that at VHF produces measurable insertion loss and reflections, and at UHF can be a significant source of loss.
| PCB Thickness h (mm) | Trace Width W for 50Ω (mm) | Notes |
|---|---|---|
| 0.8 | 1.5 | Thin boards — RF modules, microwave PCBs |
| 1.0 | 1.9 | Some commercial RF PCBs |
| 1.6 | 3.0 | Standard hobbyist and commercial PCB — most common |
| 2.4 | 4.5 | Thick boards — power amplifiers, some prototyping boards |
For HF work (1–30 MHz) on short PCB runs, a slight impedance mismatch at each trace is tolerable because the electrical length of the trace is a tiny fraction of a wavelength. At 14 MHz, a wavelength is approximately 21 meters; a 30mm PCB trace is 0.14% of a wavelength — the mismatch effect is negligible. At 144 MHz, a wavelength is about 2.08 meters; a 30mm trace is 1.4% of a wavelength, and the mismatch starts to matter. At 432 MHz and above, 50Ω traces are essentially mandatory for any trace longer than a few millimeters.
For practical HF transceiver construction at 1–30 MHz, the most important microstrip rule is simply: use a ground plane. Controlled impedance traces are a bonus but not critical at HF. For VHF/UHF, width-for-impedance is an important discipline.
Via Inductance
A PCB via is a plated-through hole that connects the top copper layer to the bottom copper layer (and to inner layers on multi-layer boards). Vias allow components and traces on the top layer to connect to the ground plane on the bottom layer, and they allow the routing to change layers. However, every via adds inductance to the signal or ground connection passing through it.
The inductance of a via is approximately 1 nH per millimeter of board thickness. On a standard 1.6mm board, each via adds approximately 1.6 nH. This is small but not negligible at higher frequencies:
| Frequency | XL of one via (1.6 nH) | Significance in 50Ω system |
|---|---|---|
| 14 MHz (20m) | 0.14 Ω | Negligible — use vias freely |
| 50 MHz (6m) | 0.50 Ω | Small — single vias acceptable |
| 144 MHz (2m) | 1.45 Ω | Noticeable — consider multiple vias in parallel |
| 432 MHz (70cm) | 4.35 Ω | Significant — use multiple vias in parallel |
| 2.4 GHz (13cm) | 24 Ω | Very significant — use multiple vias and minimize via count |
For HF work (below 30 MHz), single vias are perfectly adequate for all ground connections. For VHF (144 MHz), place two vias in parallel wherever a bypass capacitor connects to the ground plane — this halves the via inductance. For UHF (432 MHz and above), use three or more parallel vias for every ground connection, and wherever possible place components on the same side of the board as the RF traces so that the ground pin connects directly to the ground plane with a short trace rather than through a via at all.
Shielding
Even with careful layout, complete isolation between stages on a single PCB can be difficult to achieve through board layout alone. For critical applications — receiver front-ends, crystal oscillators, high-gain IF strips — inter-stage shielding provides an additional barrier to coupling that layout cannot fully address.
The traditional technique, used in commercial transceivers from the 1950s through to today, is to solder thin sheet-metal partitions to the ground plane between major functional blocks. These dividers are typically made from tin-plated steel (the same material as tin cans — many homebuilders use can stock) and are either soldered to pads on the PCB or pressed into slots cut through the board. The partitions divide the board into separate shielded compartments: RF input stage, oscillator, IF filter, detector, and so on. Commercial transceivers such as the Elecraft K3 use this technique extensively — if you look inside a high-performance HF transceiver, you will typically see a forest of vertical metal dividers.
Crystal enclosures require special attention. The metal can of a crystal must be grounded, as discussed under component placement. Additionally, the entire crystal oscillator circuit should ideally be placed inside its own shielded compartment. VFO drift and phase noise in homebuilt receivers are frequently caused by RF from the receiver's IF or RF stages coupling into the oscillator circuit. Shielding the oscillator compartment eliminates this coupling path.
For receiver front-ends handling signals in the microvolt range, the enclosure itself matters. A receiver LNA and preselector should be in a fully enclosed metal box with a gasketed lid if the application requires it. The gasket prevents RF leakage through the gap between the cover and the box body.
Common RF Layout Mistakes
These are the mistakes that appear most often in homebuilt RF circuits that don't work as expected:
Ground wire instead of ground plane. The number one mistake. A wire connecting component grounds in sequence adds inductance to every ground connection. The wire itself acts as an inductor and, at RF, as a loop antenna. If you cannot use a PCB with a ground plane, the next best approach is Manhattan-style construction on a solid copper-clad board, which provides a ground plane even without a through-hole ground layer.
Components placed for visual neatness rather than signal flow. A row of neatly aligned components that requires the signal to zigzag back and forth creates feedback paths between output and input sections. Always route for signal flow, not appearance.
Long leads left on through-hole components. Trimming leads is not optional at VHF. Every millimeter of excess lead adds inductance. After soldering, trim all leads flush with the solder fillet.
VFO circuit not isolated from the rest of the board. Oscillator circuits are sensitive and generate signals simultaneously. An unshielded VFO both picks up interference from nearby circuits and injects its signal into adjacent stages through coupling. Always isolate VFO circuits with shielding, and in homebuilt transceivers, consider building the VFO in a separate box or screened sub-chassis.
Crystal mounted with long leads. A crystal with 15mm leads is a crystal with 15 nH of inductance in its connection. At 7 MHz this is XL = 0.66Ω — significant compared to the motional resistance of the crystal (typically 10–100Ω). The long lead inductance series-resonates with the crystal's shunt capacitance at a frequency close to but not exactly at the crystal's rated frequency, pulling the oscillator off frequency.
Output traces routed near input areas. This creates feedback from output back to input. If the feedback is in phase and has sufficient amplitude, the circuit oscillates. If it is out of phase, it causes gain compression and distortion. The fix is to reroute output traces away from the input section, or to install shielding dividers between them.
Frequently Asked Questions
Why does my RF amplifier oscillate even when I follow the schematic exactly?
Because at RF, the schematic only tells half the story. Oscillation happens when RF signal fed back from the output to the input arrives with the right phase and sufficient amplitude to sustain itself — the Barkhausen criterion. The feedback path is almost never shown on the schematic: it travels through stray capacitance between output traces and input traces, through shared ground inductance, through the power supply traces, or through the air as radiated coupling. The fix is to change the layout so that these unintended feedback paths are broken: separate the output physically from the input, install a metal shield between them, shorten and dress all leads to reduce stray reactances, use a solid ground plane to minimize ground inductance, and add proper bypass capacitors at the supply pin of every stage.
Does PCB material matter for HF work at 1–30 MHz?
For HF work (1–30 MHz), standard FR4 is entirely adequate. FR4 has a dielectric constant of approximately 4.4 and a loss tangent of about 0.02. At HF frequencies, the dielectric loss is very small — the material barely absorbs any signal energy. Specialist low-loss materials such as Rogers 4003 or PTFE (Teflon)-based laminates are designed for microwave frequencies above 1 GHz, where FR4's higher loss tangent becomes a problem. For a 40m or 20m transceiver built on FR4, you will never notice any difference from a more exotic substrate. Even at 144 MHz (2m) the advantage of Rogers over FR4 is marginal for typical amateur circuit dimensions. Save the expensive materials for microwave work above 1 GHz.
How do I add a ground plane to a home-made board?
The easiest approach is to build on double-sided copper-clad board (available from electronics suppliers and online) and leave the bottom copper intact as the ground plane. In Manhattan-style and ugly construction, the bottom copper layer is never etched — it serves exactly this function. Connect each component's ground lead directly to the copper plane beneath it, ideally with the shortest possible lead. Where a component needs to be insulated from the ground plane, mount it on a small island of copper-clad cut with a knife or Dremel, or use a small PCB pad glued to the ground plane. If you are etching a single-sided PCB, add a wide copper pour around all the ground connections and link them all together — this is not as effective as a full ground plane but is substantially better than a ground bus wire.
Should I worry about 50Ω trace width on an HF QRP transceiver?
For the RF signal paths between stages on an HF (1–30 MHz) QRP transceiver, trace width matters less than at VHF. At 14 MHz, a wavelength is about 21 meters, and a typical PCB trace is perhaps 20–30mm long — less than 0.2% of a wavelength. At such a tiny fraction of a wavelength, even a 2:1 impedance mismatch on the trace causes negligible reflection and loss. The more important rules for HF are the ground plane, short leads, and proper component placement. However, where your PCB has RF connectors (SMA or BNC) and the trace from the connector to the first amplifier stage is longer than about 30mm, it is worth routing that trace at the correct 50Ω width, because the connector presents a defined 50Ω reference impedance and a gross mismatch on even a short trace can affect input matching at the higher end of HF.
Test Your Knowledge
Answer the questions below to check your understanding. Every answer can be found in the lesson above.