A different way of measuring bicycle speed
#26
Senior Member
I like my Wahoo system that will use the GPS data it is already collecting to measure the wheel circumference so you get accurate speed and distance from the sensor. Using GPS alone does not give immediate speed, using a sensor alone with fixed circumference will not take tire pressure/wear/variability into account. Combining the two is pretty accurate.
#27
Senior Member
Join Date: Sep 2010
Location: Roswell, GA
Posts: 8,319
Bikes: '93 Trek 750, '92 Schwinn Crisscross, '93 Mongoose Alta
Mentioned: 30 Post(s)
Tagged: 0 Thread(s)
Quoted: 1438 Post(s)
Liked 1,092 Times
in
723 Posts
It is not difficult to do. Set your computer to an approximate rollout distance. Ride a known distance. See what the computer calculates vs the known distance. Do the proportion calculation (simple math) and adjust the rollout distance. The calibration will be near-perfect.
Last edited by dsbrantjr; 11-26-17 at 08:18 AM. Reason: spelling
#28
Senior Member
Join Date: Jun 2008
Location: Vancouver, BC
Posts: 9,201
Mentioned: 11 Post(s)
Tagged: 0 Thread(s)
Quoted: 1186 Post(s)
Liked 289 Times
in
177 Posts
It is not difficult to do. Set your computer to an approximate rollout distance. Ride a known distance. See what the computer calculates vs the known distance. Do the proportion calculation (simple math) and adjust the rollout distance. The calibration will be near-perfect.
The point was the OP’s solution doesn’t address this issue.
#29
Senior Member
Join Date: Apr 2011
Location: Alpharetta, GA
Posts: 15,280
Bikes: Nashbar Road
Mentioned: 71 Post(s)
Tagged: 0 Thread(s)
Quoted: 2934 Post(s)
Liked 341 Times
in
228 Posts
Granted that reed switches are more accurate than many Hall Effect alternatives, and have other advantages such as low power operation, pure simplicity, reliability and so on which makes them ideal for a normal bike speedometer. If for some reason you want instantaneous speed with better precision you need to look at other sensors. OP's idea isn't really unusual for that purpose.
#31
Senior Member
Join Date: Nov 2009
Posts: 555
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 31 Post(s)
Likes: 0
Liked 10 Times
in
8 Posts
There's a fundamental problem with using accelerometers. No instrument can distinguish between inertial (due to changes in motion) and gravitational acceleration. That's part of Einstein's General Theory of Relativity.
Inertial navigation systems work by having an embedded gravitational model (based on current position) and subtracting gravity from every reading. The problem is that the equations are unstable.
That's not important for short trips like ballistic missiles. However, for longer trips the system must be recalibrated. That's the reason that the astronauts needed to take star measurements periodically during the moon trips. Ditto for submarines.
Inertial navigation systems work by having an embedded gravitational model (based on current position) and subtracting gravity from every reading. The problem is that the equations are unstable.
That's not important for short trips like ballistic missiles. However, for longer trips the system must be recalibrated. That's the reason that the astronauts needed to take star measurements periodically during the moon trips. Ditto for submarines.
#32
Senior Member
Join Date: Nov 2009
Posts: 555
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 31 Post(s)
Likes: 0
Liked 10 Times
in
8 Posts
The reason for the delay in registering speed changes isn't due to the system's slow response to sensor input. Measuring a rate of change by differentiation means that high speed changes due to noise are magnified more than low speed changes due to a trend. The cure is to include only long term changes by filtering out high speed changes. Any low pass filter introduces a delay in recording long term changes.
#33
Senior Member
Join Date: Apr 2011
Location: Alpharetta, GA
Posts: 15,280
Bikes: Nashbar Road
Mentioned: 71 Post(s)
Tagged: 0 Thread(s)
Quoted: 2934 Post(s)
Liked 341 Times
in
228 Posts
There's a fundamental problem with using accelerometers. No instrument can distinguish between inertial (due to changes in motion) and gravitational acceleration. That's part of Einstein's General Theory of Relativity.
Inertial navigation systems work by having an embedded gravitational model (based on current position) and subtracting gravity from every reading. The problem is that the equations are unstable.
Inertial navigation systems work by having an embedded gravitational model (based on current position) and subtracting gravity from every reading. The problem is that the equations are unstable.
If you do want that instant speed for some reason, looking at the raw signal from a bike magnetic reed switch I don't see any way you're going to feasibly achieve it by adding extra magnets. You'd need to source a specialized high-precision reed switch, take some care with either the electronic filtering or digital debouncing, and by the time you've done that maybe an optical switch is easier and cheaper after all. I like his idea, and even the interrupter scheme has been utilized when people wanted that kind of data, but as he speculated environmental factors (and complexity) are problematic for everyday use. I think that the pinhole method, where a disk blocks the laser until a small hole passes by, has been found in practice to be superior though more elaborate.
#34
Senior Member
Join Date: Apr 2016
Location: Ontario
Posts: 558
Bikes: HP Velotechnik Streetmachine GTE, 2015 Devinci Silverstone SL4, 2012 Cannondale Road Tandem 2, Circe Morpheus, 2021 Rose Backroad, 2017 Devinci Hatchet
Mentioned: 5 Post(s)
Tagged: 0 Thread(s)
Quoted: 181 Post(s)
Liked 14 Times
in
12 Posts
Go to the engineering side of position sensors for synchronous motors and you'll find position sensors with an absolute overkill resolution and accuracy (the gate ones go to 24bit on 260degress AFAIR). Using a well-designed and well-placed magnetic field, plus 2-axis hall-effect sensor can give you the position information with a resolution of better than 1deg resolution. Differentiate and low-pass filter that and you'll be able to observe the impact of your pedal strokes on your bike speed. Call it 'the masher meter'.
#35
Senior Member
Join Date: Nov 2009
Posts: 555
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 31 Post(s)
Likes: 0
Liked 10 Times
in
8 Posts
I think that you'll agree, is that unless you're looking for an accurate instantaneous speed, during a fraction of a wheel's revolution, a reed switch is about as good as it gets without heroic efforts.
I merely wanted to point out the perils of using accelerometers for estimating velocity and position.
#37
Banned
a range finder that targets a fixed object, getting nearer, from a moving one,
much like the radar speed gun the police use to get citation data on speeders..
can be the same devise, as the Constable in their fixed location
pointing the thing at the approaching vehicle and measuring their closing speed distance change rate.
.....
much like the radar speed gun the police use to get citation data on speeders..
can be the same devise, as the Constable in their fixed location
pointing the thing at the approaching vehicle and measuring their closing speed distance change rate.
.....
#38
Senior Member
Join Date: Apr 2009
Location: New Rochelle, NY
Posts: 38,716
Bikes: too many bikes from 1967 10s (5x2)Frejus to a Sumitomo Ti/Chorus aluminum 10s (10x2), plus one non-susp mtn bike I use as my commuter
Mentioned: 140 Post(s)
Tagged: 1 Thread(s)
Quoted: 5787 Post(s)
Liked 2,579 Times
in
1,430 Posts
Too much work for no benefit. At 15mph the wheel,turns at 3 revolutions per second. How much more closely defined do you want it? Even at 5mph, it's still one reading per second.
There's also a technical problem. Bicycle speed peed varies slightly as you pedal, especially at low speed and when climbing. Since a constantly changing display would be impossible to read, you'd need a buffer to take a rolling average and send it to the display at intervals. Just for the sake of readability, you probably choose to update only every few seconds, so whatever instantaneous accuracy you hoped to gain would be lost in the buffer anyway.
There's also a technical problem. Bicycle speed peed varies slightly as you pedal, especially at low speed and when climbing. Since a constantly changing display would be impossible to read, you'd need a buffer to take a rolling average and send it to the display at intervals. Just for the sake of readability, you probably choose to update only every few seconds, so whatever instantaneous accuracy you hoped to gain would be lost in the buffer anyway.
__________________
FB
Chain-L site
An ounce of diagnosis is worth a pound of cure.
Just because I'm tired of arguing, doesn't mean you're right.
“One accurate measurement is worth a thousand expert opinions” - Adm Grace Murray Hopper - USN
WARNING, I'm from New York. Thin skinned people should maintain safe distance.
FB
Chain-L site
An ounce of diagnosis is worth a pound of cure.
Just because I'm tired of arguing, doesn't mean you're right.
“One accurate measurement is worth a thousand expert opinions” - Adm Grace Murray Hopper - USN
WARNING, I'm from New York. Thin skinned people should maintain safe distance.
#39
Full Member
Join Date: May 2008
Location: Tampa
Posts: 311
Bikes: Gunnar Sport 105/UDi2, previous: Lambert, Giant FCR3, Cannondale Synapse Carbon 105, Specialized Roubaix SL4 Comp UDi2
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 29 Post(s)
Likes: 0
Liked 18 Times
in
11 Posts
How about a helmet-mounted Pitot tube?
#40
Senior Member
Join Date: Apr 2016
Location: Ontario
Posts: 558
Bikes: HP Velotechnik Streetmachine GTE, 2015 Devinci Silverstone SL4, 2012 Cannondale Road Tandem 2, Circe Morpheus, 2021 Rose Backroad, 2017 Devinci Hatchet
Mentioned: 5 Post(s)
Tagged: 0 Thread(s)
Quoted: 181 Post(s)
Liked 14 Times
in
12 Posts
#41
Banned
+1) add air speed data to ground speed?
in a boat fighting an incoming tidal flow in a narrow passage ,you can be going nowhere for hours until the tide turns.
...
in a boat fighting an incoming tidal flow in a narrow passage ,you can be going nowhere for hours until the tide turns.
...
#42
Senior Member
Join Date: Apr 2016
Location: Ontario
Posts: 558
Bikes: HP Velotechnik Streetmachine GTE, 2015 Devinci Silverstone SL4, 2012 Cannondale Road Tandem 2, Circe Morpheus, 2021 Rose Backroad, 2017 Devinci Hatchet
Mentioned: 5 Post(s)
Tagged: 0 Thread(s)
Quoted: 181 Post(s)
Liked 14 Times
in
12 Posts
The closest analogy to biking would be on indoor trainers. Air speed vs ground speed would mostly be dominated by fan speed. We could upload that to Zwift to supplement the wattage readings!
#43
Senior Member
Join Date: Jul 2010
Location: Stephenville TX
Posts: 3,697
Bikes: 2010 Trek 7100
Mentioned: 6 Post(s)
Tagged: 0 Thread(s)
Quoted: 697 Post(s)
Likes: 0
Liked 3 Times
in
3 Posts
Find an old ball mouse and pull it apart; most of them that I've dealt with used a pair of these sensors. Some with better accuracy than others, but all had issues with dust or lint getting into the guts and blocking one or more slots in the discs.
#44
Senior Member
Join Date: Feb 2015
Location: Mission Viejo
Posts: 5,806
Bikes: 1986 Cannondale SR400 (Flat bar commuter), 1988 Cannondale Criterium XTR, 1992 Serotta T-Max, 1995 Trek 970
Mentioned: 20 Post(s)
Tagged: 0 Thread(s)
Quoted: 1944 Post(s)
Liked 2,164 Times
in
1,323 Posts
The biggest problem with designing a device that focuses on speed, and therefore mileage, accuracy is competing with the modern computers that provide a mountain of data including route, altitude, heart rate, etc., and a multitude of various splits, intervals etc.
I use primitive magnet computers, I really don't care if my average speed over a certain number of miles is off by some fraction. If it were that important to me I'd just get a Garmin and all the other goodies.
John
I use primitive magnet computers, I really don't care if my average speed over a certain number of miles is off by some fraction. If it were that important to me I'd just get a Garmin and all the other goodies.
John
#45
Sr Member on Sr bikes
A different way of measuring bicycle speed
Dan
#46
Senior Member
Join Date: Dec 2009
Location: Melbourne, Oz
Posts: 9,547
Bikes: https://weightweenies.starbike.com/forum/viewtopic.php?f=10&t=152015&p=1404231
Mentioned: 15 Post(s)
Tagged: 0 Thread(s)
Quoted: 1528 Post(s)
Liked 718 Times
in
510 Posts
I like the old Avocet idea, just because it's so much neater than an ugly magnet; higher resolution is just a bonus. Pity it didn't survive into the wireless era.
As for the accuracy, it doesn't depend on the resolution, it depends on how accurately you've entered the circumference. Some speedos only take cm rather than mm, which is crap, but otherwise, it's up to you.
As for the accuracy, it doesn't depend on the resolution, it depends on how accurately you've entered the circumference. Some speedos only take cm rather than mm, which is crap, but otherwise, it's up to you.
#47
Junior Member
Join Date: Oct 2017
Location: Ottawa, ON, Canada
Posts: 150
Bikes: 1974 PX-10E sold, 1977 Witcomb stolen, 1980 Roberts 1 speed, 1987 Cyclops 3 x 6 friction triple crank, 2010 Masi Commuter 1 speed, 2017 Ribble 525 2 x 10 with Ergos
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Quoted: 60 Post(s)
Likes: 0
Liked 28 Times
in
18 Posts
I never thought of this before but I wonder if the circuitry in ABS is similar to that of the SawStop, a system that detects a change in electrical resistance from flesh contacting a power saw blade developed for chop saws used by lumber mills. (I spent a little time working for an engineer designing chopsaws for one of the early outfits to buy a license for the stop. In those days you would draw blood from a small nick. Apparently they stop the blade even faster now.) One significant difference - the blade and stop get destroyed but we get to use out ABS repeatedly.
Ben
Ben
One lesson from car and motorcycle systems is that the dirty optics and background light problems can be solved. There are very effective electronic and/or software solutions for identifying even very weak periodic signals against a strong and/or noisy background. Once you find the signal you can "lock on" to it and react if its period changes. An example of finding a weak periodic signal would be the smart phone apps that can detect and display your pulse rate by looking at the light scattered from your fingertip when you put it over the illuminated video light LED. Maybe if you duct tape your iPhone to your forks.......
All that said, a bicycle speedometer does not need the quick response of an ABS system, so a single magnet is good enough. It's still a great thought experiment to ask "what if" or "why not" use optical signals.
#48
On Holiday
Join Date: Apr 2017
Posts: 1,014
Bikes: A bunch of old steel bikes
Mentioned: 14 Post(s)
Tagged: 0 Thread(s)
Quoted: 394 Post(s)
Likes: 0
Liked 14 Times
in
12 Posts
It could give slightly faster response when your speed is changing but wouldn't really be different in accuracy from the standard method. The old Avocet models used a Hall effect sensor together with a special circular band at the hub that produced multiple pulses per revolution (20?) for the same effect
#49
Senior Member
Thoughts?
Sure, move on. The system we have now works good enough and is relatively simply and free from interference for the most part. Even at a slow speed (about 8 km/h) your wheel is likely rotating at least once per second. Who needs to know their speed at a rate more than that? We also have GPS based systems. I myself use my phone and find over my 8.1km commute it is virtually always 100% accurate and updated faster than my old bike computer did.
Remember you did ask for our opinion.
+1
Sure, move on. The system we have now works good enough and is relatively simply and free from interference for the most part. Even at a slow speed (about 8 km/h) your wheel is likely rotating at least once per second. Who needs to know their speed at a rate more than that? We also have GPS based systems. I myself use my phone and find over my 8.1km commute it is virtually always 100% accurate and updated faster than my old bike computer did.
Remember you did ask for our opinion.
+1
#50
Senior Member
It is not difficult to do. Set your computer to an approximate rollout distance. Ride a known distance. See what the computer calculates vs the known distance. Do the proportion calculation (simple math) and adjust the rollout distance. The calibration will be near-perfect.
If someone really wants to fix what ain't broke and come up with a device for counting spokes so they get a higher-resolution instantaneous speed measuring ability, they could rig up a small magnet wrapped with some fine wire in the manner of an electric guitar pickup. If you mounted that close enough to the spokes you could count the pulses in the induced voltage through the coil caused by the steel spokes passing through the magnet's field. You wouldn't have to put anything on the spokes at all.
Of course doing any of this is stupid, because those tiny magnets on the spoke passing by that little wire coil zip-tied to the side of the fork do just fine, and are as accurate and instantaneous as anyone willing to settle for such low-tech solutions really needs it to be.