Why your antenna detunes in the enclosure, and how to retune it
An antenna detunes in its enclosure because the plastic, the battery and nearby metal sit in its near field and become part of it, and the board’s own ground plane is half the antenna; plastic adds capacitance and pulls the resonance down in frequency. In one chip maker’s 868 MHz measurement, a case 1 mm from a chip antenna moved its resonance down by about 5 MHz and reflected about 19 percent of the power, and a hand on the cased device moved it 21 MHz and reflected about half, before counting what the hand absorbed. The fix is to retune it on a fully built unit in its final enclosure, with a vector network analyzer and the test cable kept out of the antenna: through a matching footprint at the feed, planned on the first spin, or on a printed antenna by trimming it. Then check radiated performance, because a good match only shows that the power went into the antenna, not that it came out.
The datasheet showed a clean dip right on the band. On the first assembled units, with the battery in and the lid screwed down, the dip sits below the band and the range test comes back short. The antenna was characterized on its maker’s test board, in open air. One antenna maker says the matching values in a datasheet are valid only for a layout that follows the datasheet exactly, with the same ground, the same keep-out and the same orientation. Another maker’s chip-antenna handbook says the match should be optimized on a fully populated board with the enclosure in place.
Why plastic pulls the resonance down
A small antenna stores energy in the fields just around it, its near field, and it resonates at the frequency where the stored electric and magnetic energy balance. Anything placed in that field changes the balance. Plastic has a relative permittivity, or dielectric constant (Dk), above that of air, so for the same field it stores more electric energy. To the antenna, that looks like extra capacitance, and extra capacitance lowers the resonant frequency. The chip-antenna handbook names it exactly that way: the “dielectric loading aka ‘capacitive loading’” of the enclosure shifts the frequency response and calls for retuning.
One trade-press table lists polypropylene at 2.2, ABS at 2.6, polycarbonate and PET at 3.0, acetal copolymer at 3.7 and nylon 66 at 4.6, without saying at what frequency or moisture content (nylon absorbs water), and the same article notes that Dk differences as small as 0.1 can change how a device performs. The grade you actually mold, and its supplier’s datasheet, are what count.
How close the plastic sits matters as much as the material. The near field is strongest right at the antenna and falls away quickly, so a wall pressed against the antenna loads it far more than the same wall a few millimeters off. There’s no generic clearance that antenna makers agree on. If your antenna or module documents give one, design to it; otherwise, measure.
It takes very little. Resonant frequency scales with one over the square root of the effective permittivity the antenna sees, so the 0.6 percent drop in the example at the top means that effective permittivity rose by only about 1.2 percent.
Plastic can also absorb power. The 868 MHz note says the level of detuning depends on the plastic’s chemistry and carbon level; carbon black is a common pigment in black plastics, which is one reason a color change is an RF change. The chip-antenna handbook’s list of causes of low gain includes an enclosure made of a high-loss material such as carbon fiber, and one that’s conductive or coated with metal-loaded paint, which blocks some or all of the radiation. Potting compound and conformal coating over the antenna load it the same way an enclosure wall does; the module-or-chip-down article covers that case.
Batteries, metal and the ground plane
Metal reshapes the field. Currents flow on it, so a battery can, a display frame, a shield can, a flex cable or a threaded insert in a boss becomes a small, unplanned part of the antenna. Near the parts of the antenna where the electric field is strong, metal adds capacitance and pulls the resonance down; near the parts where the magnetic field is strong, the currents induced in it reduce the inductance and push the resonance up. It also changes the pattern and can take power. An antenna maker’s integration guide warns that metal, batteries or shielding near an antenna cause reduced efficiency and unpredictable performance, and with metal nearby even the direction of the change is hard to guess. Look for the metal nobody drew on the schematic, too: foil labels, metallized logos, conductive gaskets.
A Bluetooth chip maker’s antenna note says a plastic casing or a battery cable running nearby can detune the antenna completely, leaving a return loss under 10 dB across the 2.402 to 2.482 GHz band, and that the battery cable must not cross the antenna trace. Published numbers for the battery itself are scarce, so put it in the unit you tune.
The ground plane deserves its own attention, because on most chip and printed antennas it’s the other half of the antenna. The integration guide notes that smaller ground planes reduce the effective radiation area, lowering efficiency, and narrow the bandwidth, making the antenna more prone to detuning. Ignoring the keep-out, which has to extend through every layer, is on the handbook’s list of common causes of low gain. Shrink the board and you narrow the antenna’s bandwidth at the same time as you crowd its surroundings.
The hand and the body
A hand is mostly water, with a high permittivity and plenty of loss, and it often sits right against the outside of the enclosure, over the antenna. It pulls the resonance down further than the plastic does and absorbs power on top of that.
In the 868 MHz example, with a hand on the cased device, the resonance moved from 868 MHz to 847 MHz, the SWR at 868 MHz rose to 6.61:1, and the power loss was around half. The Bluetooth chip maker’s note gives the same instruction at 2.4 GHz: after tuning the bare board, check the tuning again in the plastic casing with a hand on the device.
The 868 MHz note suggests a plastic bottle of water, 0.33 liter for example, taped onto the device as a stand-in for a hand or body. It’s repeatable, which a hand isn’t. Confirm the final tuning with real hands.
Because the plastic and a hand both pull the frequency down, a narrowband antenna is often tuned slightly high in free air, so that it lands on the band in use.
I’d tune for the condition that matters most, usually the one the product spends its life in, and then check that the others still close the link.
One measured example, worked through
The 868 MHz example shows what the numbers on the analyzer mean.
| Condition | Resonance | SWR at 868 MHz | Power reflected at 868 MHz |
|---|---|---|---|
| Open air, as designed | 868 MHz | Not given | Not given |
| Plastic 1 mm away | 862.9 MHz | 2.53:1 | About 19 percent (the note rounds it to 18) |
| In the case, with a hand | 847 MHz | 6.61:1 | About half |
SWR (standing wave ratio) converts to the share of power reflected through the reflection coefficient, Γ = (SWR − 1) / (SWR + 1), and the reflected power is Γ². At 2.53:1, Γ is 0.43 and about 19 percent of the power comes back: a return loss of 7.3 dB and a mismatch loss of 0.9 dB. At 6.61:1, Γ is 0.74 and 54 percent comes back, a return loss of 2.6 dB and a mismatch loss of 3.4 dB.
In open space, received power falls with the square of distance, so with only one end of the link detuned, a 0.9 dB loss costs about 10 percent of the range and a 3.4 dB loss about a third of it, counting the reflection alone. That arithmetic assumes a 50-ohm source. A real power amplifier is load-pulled by the mismatch, so its output power, current and harmonics move with the load, and the receiver’s noise figure shifts too. The radio range estimator takes it from there with your own link budget.
The plastic moved the resonance by only 0.6 percent and still cost almost a decibel, partly because the antenna was narrowband. Both power figures count only what was reflected: whatever the plastic and the hand absorbed comes on top, and an SWR reading can’t show it. The note’s own conclusion is that you can’t predict how much the plastic will detune the antenna, so you take measurements.
What to put on the first spin
So the first board’s job is to make the detuning measurable and fixable. That costs a few pads, and they have to be in the layout before the boards are ordered; the first board spin article covers the rest of that check, including a way to measure conducted RF power.
- A pi matching footprint at the antenna feed. A series position between two shunt positions to ground, fitted to start with a zero-ohm link in series and the shunts empty, with short ground returns from the shunt pads. With three positions you can fit a pi, or an L in either orientation, which covers almost any load you’re likely to meet. The handbook’s maker typically matches its chip antennas with one to three parts.
- Parts at an antenna feed are usually 0402 or 0201, and 0402 is still practical to swap by hand at the bench. Use tight-tolerance C0G (NP0) capacitors and high-Q RF inductors with a self-resonant frequency well above the band; at UWB frequencies that may push you to 0201.
- A printed antenna can be drawn slightly long. Copper can be cut but not added, and the enclosure will pull the frequency down, so a little extra length leaves room to trim; the antenna maker that also offers a tuning service names small physical changes to the antenna as the alternative to a matching network. For a chip antenna, use whatever tuning provision its maker documents.
- Tuning starts by cutting the feed trace between the filters and transceiver and the matching network, so give that cut a home: an exposed stretch of trace or a second series position you can leave empty, with ground pads beside it for a cable’s shield.
- Draw the keep-out as the antenna maker gives it, on every layer, as a rule area in the layout tools so a later copper pour can’t fill it.
- Give the antenna the ground plane the datasheet assumes. Its length and the antenna’s position on it are part of the antenna’s specification, and on a shorter board the datasheet’s bandwidth and efficiency aren’t yours.
- Keep the battery, display and metal at least as far away as the antenna or module maker asks.
- Plan a way out of the enclosure for the cable. The handbook’s tuning procedure has the enclosure modified so the cable exits opposite the antenna; decide where that hole goes while the enclosure is still a model.
Tuning at the feed point
Tune the product as it will ship.
- Build complete units: the final board, fully populated, with the battery, display, cables and anything else that will be inside, in an enclosure close to the final one. That maker’s tuning service asks for two such units and accepts 3D-printed (SLA or FDM) enclosures, warning that the final plastic can still differ slightly. A printed part, with air in its infill or a different resin, isn’t the same dielectric as a molded one, so recheck on molded parts.
- Separate the antenna from the radio: cut the feed trace at the place you left for it.
- Attach a semi-rigid 50-ohm cable to the antenna side of the cut, shield to the ground pads. A semi-rigid cable holds its shape; if you use a flexible one, tape it down.
- Calibrate the analyzer through everything between it and the antenna, with a one-port short, open and load (SOL) calibration that includes every cable, connector and adapter in the path. The 868 MHz note gives two ways: a standard calibration kit with a short pigtail and port extension, or calibrating on the board itself with open, short and 50-ohm load, which it calls more popular, since kits are expensive, but less precise. With a kit, you calibrate at the end of the analyzer’s cable, attach the pigtail, and let port extension carry the reference plane down the pigtail to the board.
- Move the reference plane to the board. The pigtail delays the signal, and that delay rotates the measured impedance around the Smith chart by an angle that grows with frequency. Port extension removes the delay only, not the pigtail’s loss or the solder transition, and it assumes the pigtail is 50 ohms. To set it, short the pigtail’s end to ground at the pads and adjust the extension until the trace collapses to the short point across the band. An open, made by lifting the zero-ohm series link, works too, but prefer the short: at UWB frequencies an open has fringing capacitance and radiates. The short is also the honest check of the calibration, since a 50-ohm load you just calibrated with will read well whatever else is wrong.
- Close the enclosure and sweep the whole band, with some margin either side.
- Fit parts and watch the point move. The goal is the center of the Smith chart, 50 ohms, across the band. The L-network matching calculator gives starting values from the measured S11, with the band and the part tolerances counted.
- Repeat with the load the product will see: the hand or the water bottle, the mounting surface, a strap. Then on the second unit.
- Close the path and record the values. Restore the connection to the radio, fit the final parts, and put the values in the BOM. This assumes the radio side is a good 50 ohms; on a chip-down radio, check that side’s match too, and recheck transmit power and harmonics after reconnecting.
For step 7: a series inductor moves the point clockwise along a circle of constant resistance, and a series capacitor moves it counterclockwise. A shunt capacitor moves it clockwise along a circle of constant conductance, and a shunt inductor counterclockwise. Two circles pass through the center, the constant-resistance circle r = 1 and the constant-conductance circle g = 1. An L network makes one move onto either circle and a second along it to the center. Which orientation works depends on where the load sits: inside the r = 1 circle, the shunt part has to go next to the antenna; inside the g = 1 circle, the series part does; outside both, either works, and the choice can come down to realistic part values, a low-pass shape that helps with harmonics, or a shunt inductor’s DC path to ground.
What return loss is good enough? The Bluetooth chip maker’s note treats a return loss under 10 dB across the band as detuned, but the real pass mark is the efficiency and the over-the-air result, which S11 alone can’t show. Matching parts have tolerances and plastic varies from lot to lot, so a match that only just meets your target on one unit will miss on some, and two units is a thin sample of that spread.
The cable becomes part of the antenna
An analyzer measures what happens inside the coax, and anything that happens on the outside of the shield is invisible to it. On a small board, the ground is half the antenna, the cable’s shield is soldered to that ground, and the outside of the shield becomes an extension of it. When the cable comes off for the final build, the antenna changes back, and the tuning moves with it.
Run the cable along the ground plane, away from the antenna, and out on the far side. Ferrite on the cable where it leaves the board raises the impedance seen by current on the outside of the shield, and works at sub-GHz bands, but ordinary ferrite does little at 2.4 GHz and almost nothing at 6 to 8 GHz. There, the cable’s routing, a sleeve balun, or a check over the air with no cable at all does the work. To check, grip the cable well away from the unit, so your hand doesn’t detune the antenna itself, and move it along its length with the trace on screen. If the trace moves, there’s current on the outside of the shield, and the reading includes the cable.
A good match isn’t good efficiency
Return loss tells you how much of the power sent to the antenna came back. The rest either radiated or turned into heat: in lossy plastic, nearby metal, a hand, the board, or the matching parts themselves. The measurement at the feed can’t tell those apart; a 50-ohm resistor is a perfect match and radiates nothing.
The handbook’s list of common causes of low gain puts a poorly matched antenna first, and then several that a match can’t touch: a no-ground area that wasn’t followed, an enclosure that’s conductive or coated with metal-loaded paint, and one made of a high-loss material such as carbon fiber. An antenna maker’s paper, using the IEEE definitions, writes it as a product: radiated power is the forward power times a mismatch efficiency of 1 − |Γ|² times the radiation efficiency, the share of the accepted power that’s radiated; the rest of the accepted power becomes heat. Tuning only improves the first factor.
Measuring the second means measuring over the air, usually in an anechoic chamber. A passive measurement feeds the antenna through a cable and measures what it radiates in every direction: efficiency, gain and pattern, which the same tuning service reports alongside return loss. It still has a cable on the board, with the common-mode problem above.
An active measurement runs the product on its own power, with its own radio, and no cable at all. Total radiated power (TRP) is all the power the product radiates, over all directions and polarizations: what actually leaves it, set by the transmitter’s power and the antenna’s total efficiency in the product, mismatch included. Total isotropic sensitivity (TIS) is the receive counterpart. The product’s sensitivity is measured in directions spread over the whole sphere, and the CTIA over-the-air test plan’s calculation combines those into one figure, which depends on the receiver’s conducted sensitivity and the antenna’s efficiency. TIS also picks up something a passive test never sees, which the same maker’s primer calls self-interference: noise from the product’s own regulators, clocks and display landing in the receiver.
Those two figures come from the cellular test plan. For a Bluetooth or sub-GHz product, TRP is a routine chamber test, while TIS needs a test mode in which the product reports its packet error rate. For UWB, the limit is on radiated power density, so a retune that raises efficiency means rechecking the transmit power setting against the limit.
Without a chamber, compare against a known-good reference unit at a fixed distance and several orientations, as clear of reflections as you can manage, because a single reading in a room mostly measures the room. That shows whether a change helped, though not an absolute efficiency.
When to change the layout or the antenna instead
A matching network moves the frequency where an antenna works well, but it adds little bandwidth and recovers none of the power the surroundings absorb. Signs the problem is past what the match can fix:
- The resonance is far from the band. Pulling an impedance a long way takes a large impedance transformation, a high-Q match: high circulating currents, a narrow bandwidth, sensitivity to part tolerances, and loss in the parts themselves. Retuning the antenna itself, by trimming it or through its own tuning provision, is often the better route.
- You can’t cover both band edges at once. The antenna’s own bandwidth on your board is too narrow, often because the ground plane is shorter than the antenna was designed for. That calls for a longer ground, a different position on the board, or an antenna designed for a board your size.
- It’s matched and still weak. It falls short over the air while return loss looks fine. The loss is absorption, so look at what’s near the antenna: the battery, a metal part, a paint or coating, the keep-out, a lossy plastic.
- The tuning moves between units, or with the hand, by more than you can tolerate. The antenna is close to something that varies, such as a battery that shifts in its holder or a flex cable with no fixed route. Moving the antenna or the variable part is the lasting fix.
- The antenna covers more than one band. A two- or three-part match that fixes one band can move another, so the antenna or its placement may have to change instead.
When the match needs values far from the datasheet’s to land in the band, I take it as a message about the antenna’s surroundings, and I’d rather move the battery or the antenna on the next spin than carry a hard-working match into production.
A module with its antenna on board usually leaves you no match to touch. The levers are the ones its integration guide gives: the module’s position at or over the board edge, its keep-out, and the clearance to the enclosure, battery and metal. A change to the antenna, the match or the RF layout can also affect an existing radio approval, and with a certified module it can take you outside its grant; the module-or-chip-down article covers what a grant allows.
What changes for UWB at 6.5 and 8 GHz
The two most widely used UWB channels sit near 6.5 GHz and 8 GHz, and each is about 500 MHz wide.
A shorter wavelength and a thicker wall
The free-space wavelength is about 46 mm at 6.5 GHz and 37.5 mm at 8 GHz, against 345 mm at 868 MHz, so the wall the signal passes through is no longer electrically thin. Take a 2 mm polycarbonate wall as an example: inside the plastic, the wavelength at 8 GHz is about 22 mm, so the wall is 9 percent of a wavelength thick, where at 868 MHz it would be 1 percent. At that thickness the wall reflects some of the signal and adds delay that scales with its thickness and with √Dk: the path through it grows by about (√Dk − 1) times the thickness, roughly 1.5 mm, or 5 ps, for that 2 mm wall.
One published measurement covers a wall in the signal’s path. A study of smartphone UWB ranging on channel 9, the channel near 8 GHz, reports that a 1 cm solid PLA wall had a negligible effect on the signal and adds about 0.6 cm to the measured distance, about 20 ps of extra delay. A fixed extra delay like that calibrates out, if the calibration is done in the housing. What a wall a millimeter or two from the antenna does to its match, pattern and group delay depends on the design, so measure it on your enclosure.
Return loss is the wrong pass mark
UWB antennas are broadband, so a detuned one can still show an acceptable return loss across the channel, and the group delay article explains why that isn’t enough. A UWB radio times a short pulse, and the pulse arrives intact only if every frequency in the channel gets through the antenna with the same delay and with even gain across the channel.
Group delay has a budget
The same maker’s UWB antenna datasheet calls a group delay variation of 100 to 150 picoseconds or less acceptable, for the whole path: the transmitting antenna, the channel between them and the receiving antenna together. The datasheet doesn’t say whether that’s across frequency or angle; its wording, deviations from a flat group delay, reads as variation across the channel, which distorts the pulse. For scale, 100 to 150 ps is 3 to 4.5 cm of travel at the speed of light. Delay that changes with the angle the signal leaves at turns directly into ranging error that changes as the tag is turned, about 3 cm for each 100 ps. The enclosure, the ground and the battery change both. A high-Q match used to rescue a detuned UWB antenna adds its own delay that varies across the channel, which is another reason to fix the surroundings first.
Calibration and the body
Antenna delay calibration removes the constant part of the delay, but the value only holds for the enclosure it was measured in. A change to the enclosure near the antenna, or potting, means measuring again, and for a printed antenna or one close to its housing, calibrating over the air in the finished housing is safer.
At these frequencies a human body is close to opaque, so a tag worn or pocketed loses range that no tuning recovers.
The test that matters is transmission between two antennas, rotated, with the product built and closed; the same maker’s tuning reports list passive antenna group delay alongside efficiency and patterns, and the group delay article covers the method.
The antenna and RF integration checklist has the full list of checks, from requirements to production. If an antenna that worked on the bench falls short once it’s in the case, get in touch.