UWB antenna delay calibration: what it is and how to do it
Two UWB boards sit exactly two meters apart and report 2.4 m. Move them to five meters and they report 5.4 m. The error is steady, and it is very nearly the same at every distance. That is antenna delay, and it is one of the first accuracy problems a UWB team runs into.
What it is
A UWB chip measures distance by timestamping a pulse as it leaves and as it arrives. The timestamps are taken inside the chip. The pulse still has to travel from the chip to the antenna on the way out, and from the antenna into the chip on the way in: through the chip’s own circuits, the balun, any filter or switch, the trace, and the antenna itself. That travel time gets counted as if it were distance through the air.
The name is a little misleading. It is the delay of the whole path at both ends, transmit and receive, and much of it is inside the chip. On the common chips the total for one unit is a few hundred nanoseconds, and a nanosecond is 30 cm, so the delay cannot be ignored. It has to be subtracted. The firmware does that, using a value you supply.
The question is how good that value is. In two-way ranging, an error of one nanosecond in one unit’s delay moves the reported distance by about 15 cm. The same error in both units moves it by 30 cm.
One value for the design, or one per unit
The delay differs from unit to unit, because the chips differ and so do the parts around them. One chip vendor measured the spread over two thousand of its evaluation boards for an older chip: a three-sigma spread of about 30 cm before per-unit calibration and about 4.5 cm after.
That gives a practical rule:
- If the product needs accuracy of around 30 cm, one value for the whole design may be enough. Measure a sample of units and use the average. It still has to be your value, measured on your board. The default in the vendor’s example code belongs to the vendor’s board.
- If it needs better than that, calibrate every unit in production and store the value in the unit.
How it is calibrated
The idea is simple: range over a distance you know, and adjust the delay until the answer is right.
- With a reference unit. One unit with a known delay stays on the fixture. Each new unit ranges against it at a fixed distance, a thousand or so measurements, averaged. The new unit’s delay is adjusted until the average matches the real distance.
- Without one. Two units only reveal the sum of their delays. With three or more, at known distances from each other, each pair gives one equation, and the individual delays can be solved. This is how the first reference units are made.
- Over a cable. Connecting units through cables and attenuators of known delay takes the room out of it, and suits a production line. It leaves the antenna out, so the antenna’s share has to be characterized once for the design and added.
The value is the sum of the transmit and receive delays. Two-way ranging only needs the sum. Systems that compare arrival times at several anchors are different. The anchors need their receive delay on its own, and their transmit delay too if they synchronize over the air. The split between the two is usually an estimate, and an error there is not halved the way it is in two-way ranging.
What goes wrong
Reflections. Calibrate in a space where the direct path is clearly the first and strongest, at a sensible height above the floor. A calibration done on a desk between two monitors bakes the desk into every unit.
Signal level. The reported distance shifts slightly with received signal strength. On one widely used chip the vendor’s own figures show a span of roughly 20 to 30 cm between a very strong signal and a very weak one on its 500 MHz channels, and more on the wider ones. Calibration zeroes the error at the signal level you calibrated at, so the calibration distance is a design decision. Too close and the receiver is overloaded. A distance in the middle of the range the product works over is a reasonable start. If the product needs centimeters, the firmware should correct for level as well.
Orientation. The delay through the antenna changes with angle. Calibrate in the orientation the product is used in, and know how much it moves in the others. Good return loss, poor ranging covers why.
Settings. The delay depends on the channel and on other radio settings. A value found on one channel is not right on the other. Calibrate each configuration the product uses, and record the temperature it was done at.
Temperature. It drifts. One vendor gives about 2 mm per °C for an older chip; newer ones may do better, so look for the figure for yours. Indoors that is nothing. Across an outdoor temperature range it adds up to more than 10 cm, and it is worth a correction.
Units. The chips want the value in their own time unit, about 15.65 picoseconds on the common families, not in nanoseconds. The chips also hold separate transmit and receive values. Mixing the units, entering the pair’s total where one unit’s value belongs, or writing the full value into both the transmit and the receive setting are all easy mistakes to make.
When to do it again
Any change in the path changes the delay. I would recalibrate after:
- A different antenna, or the same antenna moved.
- A change to the matching parts, filter, balun, or switch.
- Adding an amplifier. The delay can also differ between its amplified and bypassed states (Adding a PA or an LNA to a UWB design).
- A new board stackup or a rerouted RF trace.
- A change to the enclosure near the antenna, or potting.
- A different channel or radio configuration.
If one of these changes looks too small to matter, check the delay anyway. It is a quick test.
Where it fits in production
Antenna delay belongs in the same test step as crystal trim and transmit power calibration: one fixture, one known distance or cable, values written to the unit, and a pass limit on the result. UWB production calibration covers the station and the order of the steps, and Designing for production test covers planning that step early.
If your units disagree with the tape measure and with each other, the cause can usually be found with a few careful measurements. The UWB design review checklist lists the checks. If you would like a review of yours, get in touch.