Go Back  Bike Forums > Bike Forums > Bicycle Mechanics
Reload this Page >

A different way of measuring bicycle speed

Search
Notices
Bicycle Mechanics Broken bottom bracket? Tacoed wheel? If you're having problems with your bicycle, or just need help fixing a flat, drop in here for the latest on bicycle mechanics & bicycle maintenance.

A different way of measuring bicycle speed

Thread Tools
 
Search this Thread
 
Old 11-26-17, 08:17 AM
  #26  
Senior Member
 
Join Date: Jul 2004
Location: Brooklyn NY
Posts: 7,728

Bikes: Kuota Kredo/Chorus, Trek 7000 commuter, Trek 8000 MTB and a few others

Mentioned: 1 Post(s)
Tagged: 0 Thread(s)
Quoted: 22 Post(s)
Liked 464 Times in 365 Posts
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.
zacster is offline  
Old 11-26-17, 08:18 AM
  #27  
Senior Member
 
dsbrantjr's Avatar
 
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
Originally Posted by gregf83
Your solution would have higher resolution but be no more accurate than a system counting wheel revolutions.

The challenge in either system is to determine how far you travel per wheel revolution.
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
dsbrantjr is offline  
Old 11-26-17, 09:14 AM
  #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
Originally Posted by dsbrantjr
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.
Until your tire pressure changes
The point was the OP’s solution doesn’t address this issue.
gregf83 is offline  
Old 11-26-17, 09:56 AM
  #29  
Senior Member
 
wphamilton's Avatar
 
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
Originally Posted by gregf83
Until your tire pressure changes
The point was the OP’s solution doesn’t address this issue.
There is another issue, in that those magnetic reed switches - the cheap ones used in bike speedometers - are imprecise compared to optical switches and also due to debouncing. Putting one on each spoke, or every other spoke, could have one still noisy from the bounce at an appreciable portion of the time segment where the next is due to activate. You won't achieve the precise instantaneous measure that you're going for with that setup. It doesn't matter in normal operation because you're averaging several wheel revolutions in a second, and it averages out to give a pretty good speed.

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.
wphamilton is offline  
Old 11-26-17, 10:00 AM
  #30  
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
You could achieve the result of a quicker low speed response by adding magnet(s) to additional spoke(s).
SBinNYC is offline  
Old 11-26-17, 10:17 AM
  #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
Originally Posted by TimothyH
Others use accelerometers.-Tim-
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.
SBinNYC is offline  
Old 11-26-17, 10:23 AM
  #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.
SBinNYC is offline  
Old 11-26-17, 10:43 AM
  #33  
Senior Member
 
wphamilton's Avatar
 
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
Originally Posted by SBinNYC
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.
The equations are nasty, but there is an easy way to bypass them using the constraints of a bicycle's motion. We're far adrift from the bike mechanics bike speedometer application though. The main point, 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.

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.
wphamilton is offline  
Old 11-26-17, 11:11 AM
  #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'.
alias5000 is offline  
Old 11-26-17, 12:06 PM
  #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.
Wholeheartedly.


I merely wanted to point out the perils of using accelerometers for estimating velocity and position.
SBinNYC is offline  
Old 11-26-17, 12:26 PM
  #36  
Senior Member
 
wphamilton's Avatar
 
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
Originally Posted by SBinNYC
Wholeheartedly.


I merely wanted to point out the perils of using accelerometers for estimating velocity and position.
Which you did and for the record correctly as far as I know.
wphamilton is offline  
Old 11-26-17, 01:30 PM
  #37  
Banned
 
Join Date: Jun 2010
Location: NW,Oregon Coast
Posts: 43,598

Bikes: 8

Mentioned: 197 Post(s)
Tagged: 0 Thread(s)
Quoted: 7607 Post(s)
Liked 1,355 Times in 862 Posts
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.





.....
fietsbob is offline  
Old 11-26-17, 01:45 PM
  #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.
__________________
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.
FBinNY is offline  
Old 11-26-17, 01:45 PM
  #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?
flanso is offline  
Old 11-26-17, 02:22 PM
  #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
Originally Posted by flanso
How about a helmet-mounted Pitot tube?
But then you would have to differentiate between ground speed and air speed
Thinking about it, maybe that would even be a pretty valid information!
alias5000 is offline  
Old 11-26-17, 02:22 PM
  #41  
Banned
 
Join Date: Jun 2010
Location: NW,Oregon Coast
Posts: 43,598

Bikes: 8

Mentioned: 197 Post(s)
Tagged: 0 Thread(s)
Quoted: 7607 Post(s)
Liked 1,355 Times in 862 Posts
+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.





...
fietsbob is offline  
Old 11-26-17, 02:44 PM
  #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
Originally Posted by fietsbob
in a boat fighting an incoming tidal flow in a narrow passage ,you can be going nowhere for hours until the tide turns.
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!
alias5000 is offline  
Old 11-26-17, 06:19 PM
  #43  
Senior Member
 
KD5NRH's Avatar
 
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
Originally Posted by wphamilton
The optical switch speedometer has been tried, usually with a spinning disk with holes mounted on the wheel, and has the great advantage of more frequent data, and more precise data.
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.
KD5NRH is offline  
Old 11-26-17, 11:27 PM
  #44  
Senior Member
 
70sSanO's Avatar
 
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
70sSanO is offline  
Old 11-26-17, 11:38 PM
  #45  
Sr Member on Sr bikes
 
_ForceD_'s Avatar
 
Join Date: Jul 2015
Location: Rhode Island (sometimes in SE Florida)
Posts: 2,325

Bikes: Several...from old junk to new all-carbon.

Mentioned: 13 Post(s)
Tagged: 0 Thread(s)
Quoted: 1019 Post(s)
Liked 785 Times in 414 Posts
A different way of measuring bicycle speed
"Different" doesn't mean better.

Dan
_ForceD_ is offline  
Old 11-27-17, 06:27 AM
  #46  
Senior Member
 
Kimmo's Avatar
 
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.
Kimmo is offline  
Old 11-28-17, 05:43 PM
  #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
Originally Posted by 79pmooney
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
ABS works pretty much exactly as the OP describes, except that a little strobe wheel (looks like a gear with flat-topped teeth) has to be provided. The light is bounced of the tooth tops. Unlike the saw-stop, which is more like an airbag with it's explosively single-purpose and sacrificial function, ABS systems provide a multi-purpose data stream. Even my 2003 car uses the data for ABS, speedometer, anti-spin traction control, and cruise control. Newer cars probably do even more with the data. My motorcycle's speedo sensor is in fact a re-purposed car ABS sensor, looking at the final drive crown gear.

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.
oldschoolbike is offline  
Old 11-28-17, 06:20 PM
  #48  
On Holiday
 
Hoopdriver's Avatar
 
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
Originally Posted by prathmann
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
I'm still using my old Avocet 20. With 4 magnets, the response is great
Hoopdriver is offline  
Old 11-28-17, 07:28 PM
  #49  
Senior Member
 
Join Date: May 2010
Location: Omaha, Ne
Posts: 506

Bikes: Trek Belleville, Workcycles opa, Schwinn

Mentioned: 3 Post(s)
Tagged: 0 Thread(s)
Quoted: 61 Post(s)
Liked 6 Times in 3 Posts
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.

Originally Posted by pvillemasher
Solution looking for a problem
+1
harshbarj is offline  
Old 11-29-17, 12:22 AM
  #50  
Senior Member
 
SethAZ's Avatar
 
Join Date: Oct 2013
Posts: 1,394

Bikes: 2018 Lynskey R260, 2005 Diamondback 29er, 2003 Trek 2300

Mentioned: 18 Post(s)
Tagged: 0 Thread(s)
Quoted: 564 Post(s)
Liked 334 Times in 182 Posts
Originally Posted by dsbrantjr
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.
On an old bike that had a magnet-based speedometer with a Cateye bike computer I simply divided what my Garmin 305 told me was the distance on a very long ride (like 40 or 50 miles) where the gps error would be very small, by the distance reported by the Cateye computer to arrive at a correction factor. Multiple the "distance per revolution" factor set up in the Cateye computer. Et voila! The Cateye suddenly agreed to a remarkable degree with the gps, and was probably about as accurate from then on as it was possible to be.

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.
SethAZ is offline  


Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service -

Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.