Radio frequency (RF) PCB design connects your circuit to the wireless world — WiFi, Bluetooth, LoRa, cellular, GPS, and NFC all depend on proper RF layout. The fundamental challenge is that at RF frequencies (100 MHz to 6 GHz), every trace is a transmission line, every via is a discontinuity, and every component pad adds parasitic elements. This guide covers practical RF layout for Indian designers working with common wireless modules and antennas.
Table of Contents
- RF PCB Basics
- Transmission Line Design
- Antenna Matching Networks
- PCB Antenna Design
- Module Layout Guidelines
- RF Grounding
- RF Testing
- Frequently Asked Questions
RF PCB Basics
At RF frequencies, the wavelength becomes comparable to trace lengths on the PCB:
| Frequency | Wavelength (free space) | Quarter-wave on FR-4 | Common Application |
|---|---|---|---|
| 433 MHz | 69 cm | ~11 cm | LoRa, remote controls |
| 868 MHz | 34 cm | ~5.5 cm | LoRa (India band) |
| 2.4 GHz | 12.5 cm | ~2 cm | WiFi, Bluetooth, Zigbee |
| 5.8 GHz | 5.2 cm | ~8 mm | WiFi 5/6 |
Key rule: any trace carrying RF signal must be designed as a controlled-impedance transmission line. Uncontrolled impedance causes signal reflections that reduce transmitted power and receiver sensitivity.
Transmission Line Design
RF traces are designed as 50-ohm microstrip transmission lines (the universal RF impedance standard):
- Trace width: Depends on dielectric thickness and Er. For standard 4-layer FR-4 with 0.2mm prepreg (Er=4.3), 50-ohm microstrip width is approximately 0.35mm
- Ground plane: Continuous, unbroken ground plane directly under the RF trace. Any gap or slot in the ground plane under the RF trace destroys impedance control
- Trace length: Keep RF traces as short as possible — every mm adds insertion loss. At 2.4 GHz on FR-4, loss is approximately 0.1 dB/cm
- Bends: Use 45-degree bends or curved traces. A 90-degree bend creates an impedance bump. At 2.4 GHz, even a single sharp bend can add 0.1 dB loss
- Via stitching: Place ground vias every 2mm along both sides of the RF trace to contain the fields
Antenna Matching Networks
An antenna matching network transforms the antenna impedance to 50 ohms (or vice versa). Typically uses 2-3 components (inductors and capacitors) in a Pi or L configuration:
- Pi network: Shunt C → Series L → Shunt C. Most common for antenna matching
- L network: Series L → Shunt C (or vice versa). Simpler, fewer components
- Component placement: Matching components must be placed immediately adjacent to the antenna feed point — every mm of trace between the matching network and antenna adds unintended impedance
- Tuning pads: Add unpopulated pads for series and shunt components in the matching network. This allows post-fabrication tuning without board changes
PCB Antenna Design
PCB antennas (trace antennas printed on the PCB itself) eliminate the cost of external antennas:
- Inverted-F antenna (IFA): Common for 2.4 GHz WiFi/Bluetooth. Compact, omnidirectional. Requires ground plane keepout area
- Meandered monopole: Compact antenna created by folding a quarter-wave monopole into a meandering pattern
- Chip antenna: Not a PCB antenna but a small ceramic component. Simpler design, good performance for most applications
Critical rules for PCB antennas:
- Keep ground plane away from the antenna area (minimum 5mm clearance, often 10-15mm)
- No components, traces, or copper pour under or near the antenna element
- The antenna ground plane edge must be at a specific distance from the antenna — follow the reference design exactly
- Board edge near the antenna must be free of enclosure contact or metal objects within 10mm
Module Layout Guidelines
When using wireless modules (ESP32, nRF52, SX1276, etc.):
- Follow the module manufacturer’s reference layout exactly — do not deviate from recommended component placement, ground plane, and antenna clearances
- Place the module at a board edge or corner with the antenna pointing outward
- Provide a solid ground plane under the module (except the antenna keepout area)
- Keep decoupling capacitors within 2mm of the module power pins
- Route the antenna trace (if external antenna) as 50-ohm controlled impedance
RF Grounding
- The ground plane IS the antenna’s counterpoise — the antenna performance depends on the ground plane size and shape
- For 2.4 GHz, the ground plane should extend at least 20mm (quarter wavelength) from the antenna feed point
- Connect the RF section ground to the main board ground through multiple vias — not a single trace
- Shield the RF section from noisy digital circuits with a via stitching fence (ground vias every 2mm forming a wall)
RF Testing
- VNA (Vector Network Analyser): Measures antenna return loss (S11) and impedance. NanoVNA (₹3,000-5,000 on Amazon India) is adequate for designs up to 3 GHz
- Spectrum analyser: Measures transmitted power and harmonics. TinySA (₹4,000-6,000) covers basic needs
- Range test: Practical field test measuring communication distance vs distance. This is the ultimate verification
Frequently Asked Questions
Can I design RF on a 2-layer board?
Yes, but with limitations. Use the bottom layer entirely as a ground plane. Route the RF trace on the top layer over the continuous ground plane. The 1.6mm dielectric thickness means 50-ohm trace width is approximately 3mm — quite wide but workable. For WiFi and Bluetooth, many commercial products use 2-layer designs successfully.
Does the enclosure affect antenna performance?
Yes, significantly. Metal enclosures block RF signals — the antenna must be outside or facing a non-metal window. Plastic enclosures are transparent to RF but the plastic material slightly detunes the antenna (lower resonant frequency). Always test the final antenna performance with the product in its enclosure.
Should I use a PCB antenna or chip antenna?
Chip antennas are simpler to design (just follow the datasheet) and have more predictable performance. PCB antennas are free (no component cost) but require careful design and tuning. For production products, chip antennas from reputable manufacturers (Johanson, Taoglas, Fractus) save engineering time and risk.
Browse PCB prototyping boards, soldering tools, and electronics supplies at Zbotic PCB & Prototyping — fast shipping across India.
Add comment