Why a phone misses slow pedalling: cadence detection below 80 rpm
If you pedal slowly and your cadence app shows nothing, you are not imagining it: below about 80 rpm phone-based detection drops out. I built the first version on rides at 75+ rpm; then testers who ride differently showed that at 40–70 rpm it detects cadence noticeably worse. Here is what I measured, what I tried, what worked and what is still unsolved. The work continues! New to the app? How Cadence Coach works, in plain words.
Where to put the phone: in a shorts or trouser pocket, on your leg. In a bag, a jersey pocket or on the handlebar the app cannot see your pedalling; there you need a Bluetooth cadence sensor.
AI translation from Russian. The original is the Russian version; if something reads oddly, trust it.
Update, November 30, 2026. Both algorithms described in this article (Algorithm 1: in the earlier version of the app. Called C1 in the first article. and Algorithm 2: in the earlier version of the app. Algorithm 1 plus gap filling., defined below) were later replaced in the app by a single new one, Algorithm 3: the current algorithm in the app.. The numbers below describe the old algorithms and have not been recalculated for the new one. The next article checks Algorithm 3: below 40 rpm it is still weak.
In short
- The blind spot. Algorithm 1: in the earlier version of the app. Called C1 in the first article. (from the first article) detects cadence in 98.1% of pedalling time at 80–130 rpm, 91.1% at 60–80, 70.9% at 48–60, 60.8% at 40–48, 4.1% at 32–40 and 0% at 20–32.
- The cause. Algorithm 1 discards a weak signal. At low cadence the thigh swings with less acceleration, the signal falls below the threshold, and no number is shown.
- What did not work. Simply removing the threshold: false numbers during stops became roughly three times more frequent. More complex signal-processing methods did not work either.
- What worked. Gap filling: a second part that switches on only where Algorithm 1 is silent. Together they are Algorithm 2: in the earlier version of the app. Algorithm 1 plus gap filling.. Where Algorithm 1 gives a number, nothing changes. At 20–40 rpm correct seconds went from 1.1% to 31.3%, at 40–80 rpm from 66.1% to 69.1%.
- Not solved. The 50–80 rpm range. The errors there sit in transitions (starts, accelerations, resuming after a stop), not in steady riding, and so far I have not found a way to fix them. Part of these errors may be created by the reference itself. Besides, I am only at the start of developing ways to eliminate errors caused by the imperfection of the sensor itself and the communication channel.
How it came to light
As long as only I tested the app, everything worked well, because I ride at a relatively high cadence. All the algorithm comparisons were made on my rides, mostly at 75+ rpm.
When other people joined the closed test, it turned out that they ride differently from me. One tester sent two recordings of about an hour each (61 and 56 minutes, the same phone) in which the app showed a cadence in only 6% and 12% of seconds. Those percentages are computed over the whole recording, not only over the time the person was pedalling: by the gyroscope signal, pedalling-like motion appears in only a few minutes (5 and 21), and in those the app was almost silent (0% and 0.4% of seconds). In part of those recordings the gyroscope showed a periodic motion that resembles slow pedalling. Perhaps the person was pedalling slowly and the app was cutting that signal off, but I have no way to confirm it: it could also be something else, for example walking.
But “most likely” is not a measurement. Those recordings have no reference sensor, and it is unknown where the phone was (if it is not in a pocket, the signal amplitude can be small for that reason alone). So I do not use the testers’ recordings as evidence for any number in this article. They were a signal that something was worth checking, and I checked on myself.
How I checked
The reference is the same as in the first article: a cadence sensor on the crank, with the app running on a phone in the right trouser pocket. I took ten rides with a reference: eight ordinary ones and two new, deliberately slow ones: ride A with a target of 40–46 rpm (about 41 on average) and ride B with a target of 47–53 (about 50).
Two conventions to keep the numbers honest:
- A correct second: the app shows a number and it is within 3 rpm of the sensor. The app shows a number only if it considers it reliable: if the signal is weak or the last revolutions are uneven, the number is hidden. Coverage: the share of pedalling seconds in which a number is shown at all.
- A false number is counted only on seconds where there is certainly no pedalling: the sensor is silent for more than 8 seconds and the phone is still. Without the second condition the count came out inflated: in 36% of the “false” seconds the phone’s gyroscope actually registered clear thigh movement (perhaps the rider was still pedalling and it was the sensor that was silent).
The crank sensor is not perfect either. It reports revolutions with a delay of about 0.5–1.5 seconds and is wrong in its first events after a stop. The cause is not in one place: the sensor sends events in packets every half second, sometimes sends stale events and then catches up in a burst, and its internal clock freezes when the pedals stop. I did not separate how much comes from the radio link and how much from the sensor’s firmware, because I cannot reliably tell one from the other. So I ignore the first three events after a pause longer than 8 seconds in the analysis.
The blind spot in numbers
Algorithm 1 (the algorithm from the first article, it detects cadence from every revolution) gives this coverage on the ten rides, by the cadence measured by the sensor (grey bars). The green bars show Algorithm 2, that is the same after adding gap filling, described below:
Put simply, the app is silent where a number would be unreliable: the signal is weak or the revolutions are uneven. At 80+ rpm it is silent in only 2% of seconds, at 40–60 in 30–40%, and below 40 rpm almost always.
No errors show up here: in my metric an error is a wrong number, while a missing number counts as a gap and shows up only in coverage. But for a voice coach this is a failure: a person pedals at 45 rpm and gets no cues.
It is reflected in the average cadence on the slow rides A and B too. By the sensor the average cadence there is about 40 rpm, while the app showed 45 and 48: it skipped the slowest seconds and averaged only what it saw.
Gap filling (more on it below) brings back numbers mostly where they were lost: at 32–40 rpm coverage rises from 4% to 48%, at 40–48 from 61% to 71%, at 20–32 from 0% to 12%, and above 48 it barely changes.
Why the algorithm goes silent
Algorithm 1 had an amplitude threshold: if the gyroscope signal in the pedalling band is weaker than 0.8 rad/s, the revolution is not counted. It exists so that noise and shaking do not turn into “cadence”. I tuned the threshold on my own high-cadence rides, and there it works.
At low cadence the thigh swings less. The median amplitude is about 0.74 rad/s at 40 rpm and about 0.95 at 47, so at 40 rpm the signal is already below the threshold and at 47 it is barely above. Gyroscope noise, meanwhile, stays around 0.4–0.6 rad/s at any cadence, so the signal-to-noise ratio at 40 rpm is half of what it is at high cadence. The task is harder, and the threshold is tuned for the easy case.
What did not work
Next I went through more than sixty variants, mostly combinations of different approaches from radio engineering for boosting a useful signal and suppressing noise. Almost all of them failed my criteria. Two results are worth telling separately.
- Lowering or removing the threshold. A number appears at low cadence too, but also where the pedals are still: false numbers become roughly three times more frequent (from 3% to 12%). For a voice coach that is a bad price: a cue during coasting is worse than silence.
- Replacing Algorithm 1’s numbers with new ones instead of supplementing them. On the two slow rides such variants look better, but on the others they lose many correct seconds: they throw away correct numbers Algorithm 1 already knew how to show.
That last point suggested the solution.
What worked: fill the gaps, do not replace
If Algorithm 1 works well at 80–130 rpm, it should not be touched. The problem is only in the seconds where it is silent. So I left it as it is and added a second part, gap filling: it looks at the same gyroscope signal, but more broadly and with no amplitude threshold, in return for stricter consistency checks. If Algorithm 1 gives a number, that is what is shown. Only if it is silent and gap filling is confident, the gap-filling number is shown. Together they are Algorithm 2.
Checked on the same ten rides:
- Where Algorithm 1 showed a number, the result did not change in a single second.
- The share of correct seconds (within 3 rpm) on all ten rides at sensor cadence from 20 rpm: 84.9% → 86.9%. There were hardly any more wrong values.
| Sensor cadence, rpm | Correct seconds before | after | Gain, percentage points |
|---|---|---|---|
| 20–40 | 1.1% | 31.3% | +30.2 |
| 40–80 | 66.1% | 69.1% | +3.0 |
| 80–130 | 96.4% | 96.5% | +0.1 |
| All (from 20) | 84.9% | 86.9% | +2.0 |
The main gain comes from the two slow rides, which is what all this was for: on A and B together the share of correct seconds at cadence from 20 rpm rose from 57.8% to 81.0%, and at 40–80 rpm from 80.8% to 92.8%. On the other eight rides the gain is modest, which is expected: low cadence hardly occurs in them.
The price: on seconds with certainly no pedalling, a false number appeared in 2.9% of seconds on A and B instead of 1.9%, and on the other eight rides nothing changed. Counting over all sensor pauses, not only the confirmed ones, the share of seconds with a false number rose from 3.5% to 4.0%.
What a rider sees
The ride summary screen shows the share of time in which the app detected cadence (“Detected”). For the two slow rides:
| Ride A (about 41 rpm) | Ride B (about 50 rpm) | |
|---|---|---|
| Crank sensor | 52% | 41% |
| Phone only, Algorithm 1 | 21% | 26% |
| Phone only, Algorithm 2 (with gap filling) | 38% | 32% |
The average cadence by the sensor in A and B is 39.7 and 40.2 rpm. Before the fix the phone showed 44.9 and 47.7, and now 42.6 and 44.9: noticeably closer, though not the same. The longest streak in the target zone in ride A is 52 seconds by the sensor; the phone used to show 33 and now shows 52 again.
The sensor still sees more (52 and 41%), but the gap has narrowed: in A from 31 to 14 percentage points, in B from 15 to 9.
What remains unsolved
Below 40 rpm. The share of correct seconds there rose from 1.1% to 31.3%, but that is still weak, and I do not promise that the app detects such cadence reliably. I did not build a separate algorithm for 20–40 rpm: there is too little data (I will collect it separately in the near future) to tell an improvement from luck.
50–80 rpm. This is the hardest part. I expected the blind spot to work the same way as at 40: a weaker signal, the threshold in the way. But in steady riding at 50–80 rpm the app already detects cadence correctly in 97–100% of seconds. The whole gap sits in transitions: starts, accelerations, resuming after a stop. They account for more than 99% of the seconds without a correct result, and all the wrong values are there too. Overall, 71% of seconds in this range are correct.
I checked whether the sensor is to blame: its delay of 0.5–1.5 seconds could look like an app error. I shifted the reference in time in several ways, including fitting a separate shift for each ride. That fixes only 12–27% of the wrong seconds and breaks almost as many correct ones. But the sensor’s delay is not constant, it drifts, and a single shift does not describe it, so I cannot rule out the sensor’s influence completely. Part of the disagreement may come from the reference itself: why a crank sensor is a poor yardstick for transitions I will cover in the next article. I have not been able to fix the disagreement on these labels yet. Even an imaginary “oracle” that picked the best of all the tested answers with hindsight would improve the result by less than 2 percentage points, so the existing methods are near their limit here: new data and possibly a different approach are needed.
I have nothing to demonstrate an improvement on in this range: the two slow rides hardly enter 50–80 rpm. I need rides that deliberately pass through this range with starts and accelerations.
If you ride slowly: what to expect
For reference: 60 rpm is one pedal turn per second; 80 rpm is about four turns every three seconds.
At 40–60 rpm the app showed a number in about 70% of seconds in my rides; between 20 and 40 rpm only in 12–48% of seconds. When it is not sure, it shows nothing rather than guess, and voice cues rely on that number, so on a slow ride expect gaps rather than wrong cues.
If you ride slowly and the app stays quiet, that does not mean you pedal wrong. Slow-cadence rides from other people are exactly what I am missing: see the last section.
The principle stays the same
If the app is not sure, it stays silent: “no value” is a valid answer, and an unreliable number is not shown. Here this principle cost more than in the first article: at low cadence silence means there will be no cue at all. Gap filling reduces the cost of silence but does not cancel the principle: it too hides unreliable numbers and switches on only when the number is reliable.
One more thing. I do not claim that any cadence is optimal for everyone, so I want the app to work well at a low cadence too.
What these numbers do not show
- One person, one phone, one pocket (the right trouser pocket). Other people, phones and pockets may give different numbers, and that is exactly what I want to find out.
- Ten rides, of which only two are deliberately slow. At 40–80 rpm those two rides add up to only about 7 minutes of pedalling, and at 20–40 rpm all ten rides together give about 6 minutes.
- I chose among more than sixty variants while looking at two rides of one person. Such a choice is optimistic: part of the gain may not repeat on new data. The gain at 40–80 rpm on the two slow rides (about 12 percentage points) is measured with a large margin of error: the 95% confidence interval is roughly from 4 to 21 percentage points.
- The reference, the crank sensor, itself has timing noise: its delay and gaps give an uncertainty of about ±1 revolution.
- The other eight rides were already used at earlier stages of the work, so this is not a fully independent check.
- These are my own measurements, not a certified accuracy.
Quick answers
- Do I need a sensor? No, if the phone is in a shorts or trouser pocket. The crank sensor in this article was only my yardstick for checking the app.
- Where does the phone go? On your leg, in a shorts or trouser pocket (I tested the right trouser pocket). The app senses the swing of the thigh, so a bag, a handlebar mount or a jacket pocket will not see your pedalling; use a Bluetooth cadence sensor there.
- Does it work on an e-bike? The app reads the thigh swing, and the biomechanics of pedalling is the same on any bike, so there is no limit by bike type. I have not tested an e-bike separately.
- What about the battery? I have not measured it on weak phones yet.
- Does the app send my data? No, the app sends nothing by itself. Sharing a ride is voluntary and described on the testing page.
Help with data
If you ride calmly, below 80 rpm, or change tempo often, your rides are exactly what I am missing. Join the test
Cadence Coach is in testing on Google Play. You need an Android phone and a Google account; how to join is described on the testing page. It also explains how you can optionally send me a recording of your ride: that is voluntary, and the app sends nothing by itself. Especially useful are slow rides (40–60 rpm) and rides with starts, climbs and accelerations. For what the archive contains and how to delete it, see the research participation notice. Questions and feedback: [email protected].