I’m building a race timing system for BMX using the SparkFun M7E Hecto and passive UHF tags, running on an Orange Pi 5 Pro (Python, python-mercuryapi). Before I build anything, I’d like opinions on an antenna experiment.
The problem
The finish line is 5.8 m wide, with 8 lanes and up to 8 riders crossing at once at up to 60 km/h. The tags are mounted on the bike’s front fork (metal, roughly 30–60 cm above the ground).
With a side-mounted panel antenna (I’m testing with the SparkFun WRL-14131, vertical linear, 6 dBi), the read zone is a wide “bubble”. Lanes close to the antenna get read before the riders actually reach the line, and lanes in the middle get read later. Commercial systems like MyLaps avoid this with a loop cable across the track, but they use active transponders. I’d like to stay with cheap passive tags.
The idea
Build a terminated microstrip line lying on the ground across the finish line, so the field stays concentrated close to the line, like a loop:
Copper tape ground plane at least 3× wider than the strip.
Closed-cell foam spacer. Starting point: h = 5 mm with a strip of about 25 mm for 50 Ω (air-microstrip approximation). If the read height is too short, try h = 10 mm / ~49 mm.
Edge-mount SMA connectors at both ends, and a 50 Ω termination rated 2 W or more.
Check VSWR across 902–928 MHz with a NanoVNA before connecting the M7E. Start at low power (15–20 dBm).
The goal is to measure (1) vertical read range above the line, (2) how wide the read zone is in the direction of travel, and (3) the effect of tag orientation, and then compare it with the panel antenna. Crossing time would be taken from the peak RSSI of each tag, not from the first read.
My questions
Has anyone used a terminated microstrip, leaky coax or travelling-wave near-field antenna with the M7E (or the M6E Nano)? What read height did you get?
My main concern is range. I expect only a few tens of centimeters, and the tag sits at about 30–60 cm. Is increasing the spacer height the right knob, or is there a better geometry for this (wider strip, two parallel lines, meander)?
For a tag on a metal fork leg (narrow round tube, about 2–3 cm in diameter), which tag type has worked best for you: PCB on-metal, flexible on-metal, or something else?
Any concerns about running the M7E continuously into a terminated line with good VSWR? I’m also planning external power and cooling at higher output.
With python-mercuryapi, what’s the best way to get every individual read with RSSI and timestamp at a high rate, so I can find the peak RSSI per tag? Any read-plan or session/target settings you’d recommend for fast-moving tags?
Any experience, links, papers or “don’t do this, here’s why” answers are very welcome. I’ll post my measurements back here once I’ve built the prototype.
Does the finish have divided lanes (like a bowling alley or swim race?) or is it more of a wide apron? Either way, I can’t think of a way to overcome the uncertainty of position/approach conditions with respect to time for a bunch of near-simultaneous events with a single detector over 5.8 meters. Racers are going to expect a very sharp finish line-plane (bubble, as you say) and testing with photos and videos, etc will show, I think, that the bubble surface during race conditions is not only not spherical but also lumpy like a pear. And the geometry of the lumpy pear is possibly changing with the presence of other racers.
I’m curious for your results and conclusions. Multiple synchronized detectors will probably fix it right up which is why I was asking about the lanes but you might not need nearly as many detectors as racers. The extra data will really help in tuning up the event timing:plane crossing, too; basically you get a better picture of that pear.
Thanks, that’s a great way to put it: a lumpy pear that changes shape as riders move through it.
To answer your question: it’s a wide apron. Lanes only exist at the start gate. The finish is open, about 5.8 m across, and riders can cross anywhere on it, sometimes wheel to wheel.
One clarification on expectations: the official finishing order is decided by finish-line judges (and eventually a photo-finish camera), not by the tags. RFID gives identity plus a time, and the main use case is training sessions, where finishes are rarely that close. So I don’t need RFID to resolve a photo-finish, just consistent timing within about a tenth of a second.
Your suggestion to validate against video is exactly my plan. I’ll film the line with high-speed phone video and compare the actual crossing frame with the peak-RSSI read for each tag (peak, not first read, precisely because of the pear shape).
On multiple detectors: the Hecto has a single antenna port, so my likely next step is one antenna on each side of the line, using either a second reader or a multi-port reader, and combining the per-tag peak-RSSI timestamps. If you’ve done this before, did you prefer two synchronized readers or one reader multiplexing antennas? With two readers, how did you keep their clocks in sync?
I’ll post the numbers once I have them: read height over the ground line, zone width, and the error against video
That’s an enormous load off. Without the pressure of realtime race results, I think it’s a very interesting area of research. I recently saw a photo of a camera system component used for Major League Baseball and it puts into perspective what they’re doing optically from distance at the upper commercial levels. However, it looks …expensive.
Photo & discussion from reddit whatisthisthing StatCast cam thread: Reddit
Finding those peaks is possibly doable during test runs but really going to be a problem during a close race. Discriminating among moving signals with respect to time and correlating power to seek a peak is asking a lot of the device. I originally wrote my first reply with bur/burr but changed to pear when I considered the bubble probably won’t be so fingery at the fringes…but it might. Sometimes.
I’m sorry to say I don’t have any experience with these components but your project appeals to several of my personal interests. I’m an engineer working on measuring instruments and have been a ham radio operator & electronics hobbyist for a long time. But even before those, I was a bike guy, I worked in a shop as a teen in the mid 90s, and still keep an loose eye on the BMX and freestyle scene, r/bmx, local sales, & shops. I never raced myself but I still have two BMX bikes: ~2000 Haro Group-1 Al(uminum) and ~1984 Hutch Pro Racer. The Hutch is regrettably too fragile and valuable to ride anymore but the Haro sees regular use.
Thanks, really appreciate the detailed reply — and the background. An instrumentation engineer + ham + ex-bike-shop guy is pretty much the ideal person to sanity-check this.
On the peak-RSSI point, I should have been clearer: I’m not expecting the M7E to find the peak itself. The plan is to just stream every read (EPC + RSSI + timestamp) to the host and do the peak fitting afterwards on the Orange Pi. In training there’s no real-time pressure, so that can run in post. The real limiting factor, as I see it, is what you’re pointing at underneath: how many reads per tag I actually get during the crossing when several riders pass together, since Gen2 anticollision splits the read slots between them. Too few reads per tag per pass and the “peak” is just noise. That’s the first thing I plan to measure on track (reads/s per tag with 8 tags in the field).
The burr vs. pear comment is interesting, because fingery lobes at the edges are exactly what would make first-read timing unreliable. That’s part of why I keep coming back to the terminated microstrip idea: a traveling-wave line on the ground should, in theory, give a narrower and more uniform zone across the track than a patch antenna on a pole. Given your RF background, does that sound reasonable to you, or am I missing something obvious about how it would behave near the ground / with a metal fork passing over it?
(Also: a Hutch Pro Racer in the garage is a serious flex.)
I’m badly out of my depth, RF-wise, because the frequencies are so different from what I’m used to experimentally visualizing. But I don’t see any particular flaws.
My homemade antennas are mostly for shortwave/high frequency between 15-30 MHz, 10-20 meters and those are basically tested on the air via luck & other stations instead of with detailed measurements. But at even lower bands, 5-10 MHz, a horizonal radiating element close to ground resembles a near vertical incidence skywave antenna intended to transmit ‘up.*’ However, while those HF bands and amateur operations are pretty forgiving, 900 MHz and tight dimensional expectations are not. A small change in geometry might totally wreck an otherwise ideal microstrip bubble. But it also might attenuate the signal in just the right way to self-reject weaker signals via, I dunno, capture effect. Modeling and construction planning are important for starting an antenna implementation but there’s usually still a lot of uncertainty and that, in my opinion, gets worse as frequency increases. But sometimes uncertainty swings in your direction like, for example, when you get mobile data in a seemingly impossible place.
From the metrology lab: “A test is worth a thousand opinions.”
*NVIS is intended to transmit up so as to bounce off the ionosphere back down in something like a cone around the transmitter. In other words, for relatively close range, up to a few hundred miles but without needing terrestrial line of sight.
I got my Hutch in about 1996 and rode it a lot in college & my 20s. But it really is a kids’ bike and I was certain it was going to get broken or stolen when left for hours, locked but vulnerable. I tried to avoid riding it in weather but it got some rain and snow. There were icicles on my shiny chrome bicycle. Despite my mistreatment, it looks pretty good today with the same period Redline Flight single pinch crank & GT flipflops as when I bought it.
Thanks a lot for taking the time, and for the NVIS paper. I read it, and the “gain is a zero-sum game” point is actually what I’m hoping for. If most of the energy goes up from the ground, there should be less spill sideways, so fewer early reads before the riders reach the line.
“A test is worth a thousand opinions”: fully agree. I’m planning to get a NanoVNA so I can at least check that the line is really close to 50 Ω and that the termination absorbs properly, instead of building blind.
Your NVIS comparison also made me realize where I think the real risk is. As far as I understand, a terminated microstrip line behaves mostly as a near-field antenna, and the useful field drops off quickly with height. The tag won’t be on the helmet or the number plate. It’ll be on the fork (anti-metal tag), so roughly 20–30 cm (8–12 in) above the ground on a 20" wheel. The M7E Hecto should put about 260 mW at the antenna after cable losses.
So my question for anyone who has built or measured one at 902–928 MHz: how high above a terminated microstrip line can you get reliable reads? Is 25–30 cm realistic, or is that clearly far-field territory where I’d need a different design (e.g. a low-profile mat antenna)? Any measured numbers, even rough ones, would help a lot before I start cutting copper.
And great story about the Hutch. A '96 with the original Redline Flight cranks and GT flip-flops that survived icicles is a keeper. Most bikes from that era didn’t make it out of college in one piece!
I went through the code. The part I liked most is how it decides the crossing time. Instead of taking the first read, it keeps gathering reads for a short window, keeps the timestamp of the peak RSSI read, and sends as soon as the signal starts dropping. It also uses the module’s own tag timestamp rather than the time the read reaches the microcontroller. Right now I’m just taking the first read with a dedup window, and with an antenna on the ground and a tag on the fork, the first read will probably come before the wheel actually crosses the line. So peak RSSI looks like the better approach.
The main difference for BMX is speed. Riders reach the finish at around 40–50 km/h, so the tag is only in the read zone for a few tens of milliseconds, and up to 8 riders can arrive within a fraction of a second. The 350 ms gathering window that works for runners would have to be much shorter, and I’ll need to check how many reads per second each tag actually gets when several cross together.
If the author (or anyone who used it) is around, I’d love to know what antenna and placement they used (overhead, side, or a mat on the ground) and what kind of timing accuracy they saw in practice.