Bike computer accuracy - magnet placement on spoke
#1
Junior Member
Thread Starter
Join Date: Mar 2011
Posts: 16
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 1 Post(s)
Likes: 0
Liked 0 Times
in
0 Posts
Bike computer accuracy - magnet placement on spoke
Hi everyone, I just bought a new bike computer and something that has really been bothering me is that I can't understand how it can be accurate when it doesn't really tell you where to place the magnet on the spokes.
Tell me if I'm wrong here but if the magnet is closer to the hub the magnet will make more RPM's vs if it's closer to the outer edge so how is it possible for the computer to accurately track distance and speed? Or is the inaccuracy negligible?
Tell me if I'm wrong here but if the magnet is closer to the hub the magnet will make more RPM's vs if it's closer to the outer edge so how is it possible for the computer to accurately track distance and speed? Or is the inaccuracy negligible?
#2
Senior Member
Join Date: Sep 2005
Posts: 4,697
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 6 Post(s)
Likes: 0
Liked 10 Times
in
9 Posts
Negative.
It does not matter how far out from the hub the magnet is placed because the magnet will only pass by the sensor once a rotation.
S=D/T
You program the computer with the circumference of the wheel and the sensor counts each time the magnet passes it by.
The inter part of the wheel and the outer part take the same amount of time to make one rotation. The edge of a wheel moves at a faster rate than the inner part because it is moving a greater distance but they take the same amount of time to complete one rotation.
The bike moves forward the same distance as the circumference as the wheel each rotation.
So what your computer is calculating is: speed equals the circumference of the wheel (the distance the bike moves each rotation of the wheel) divided by the time it takes the wheel to complete one rotation.
It does not matter how far out from the hub the magnet is placed because the magnet will only pass by the sensor once a rotation.
S=D/T
You program the computer with the circumference of the wheel and the sensor counts each time the magnet passes it by.
The inter part of the wheel and the outer part take the same amount of time to make one rotation. The edge of a wheel moves at a faster rate than the inner part because it is moving a greater distance but they take the same amount of time to complete one rotation.
The bike moves forward the same distance as the circumference as the wheel each rotation.
So what your computer is calculating is: speed equals the circumference of the wheel (the distance the bike moves each rotation of the wheel) divided by the time it takes the wheel to complete one rotation.
Last edited by Allen; 05-17-11 at 05:08 PM.
#3
I am a caffine girl
Join Date: Nov 2009
Location: Bay Area
Posts: 1,815
Bikes: 2012 Stumpjumper FSR Comp...2010 Scott CR1 CF...2007 Novara FS Float2.0...2009 Specialized Hardrock Disc...2009 Schwinn Le Tour GSr
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Likes: 0
Liked 1 Time
in
1 Post
RPM of the rim remain the same regardless of where you place the magnet on the spoke. One turn of the wheel at the tire is equal to one turn at the spindle.
Magnet sensor read each individual pulse when the magnet passes the sensor. Since your bike will move X amount of feet with one revolution of the wheel, the sensor will see only one pulse for that one revolution regardless of the magnet is closer to the outside or inside of the wheel.
Edit: forgot to include a formula:
(rev/min) * (ft/rev) = ft/min
then:
(ft/min) * (mile/5280ft) * (60min/hour) = miles/hour
Magnet sensor read each individual pulse when the magnet passes the sensor. Since your bike will move X amount of feet with one revolution of the wheel, the sensor will see only one pulse for that one revolution regardless of the magnet is closer to the outside or inside of the wheel.
Edit: forgot to include a formula:
(rev/min) * (ft/rev) = ft/min
then:
(ft/min) * (mile/5280ft) * (60min/hour) = miles/hour
Last edited by colleen c; 05-17-11 at 05:15 PM.
#4
I am a caffine girl
Join Date: Nov 2009
Location: Bay Area
Posts: 1,815
Bikes: 2012 Stumpjumper FSR Comp...2010 Scott CR1 CF...2007 Novara FS Float2.0...2009 Specialized Hardrock Disc...2009 Schwinn Le Tour GSr
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Likes: 0
Liked 1 Time
in
1 Post
RPM of the rim remain the same regardless of where you place the magnet on the spoke. One turn of the wheel at the tire is equal to one turn at the spindle.
Magnet sensor read each individual pulse when the magnet passes the sensor. Since your bike will move X amount of feet with one revolution of the wheel, the sensor will see only one pulse for that one revolution regardless of the magnet is closer to the outside or inside of the wheel.
Edit: forgot to include a formula:
(rev/min) * (ft/rev) = ft/min
then:
(ft/min) * (mile/5280ft) * (60min/hour) = miles/hour
Magnet sensor read each individual pulse when the magnet passes the sensor. Since your bike will move X amount of feet with one revolution of the wheel, the sensor will see only one pulse for that one revolution regardless of the magnet is closer to the outside or inside of the wheel.
Edit: forgot to include a formula:
(rev/min) * (ft/rev) = ft/min
then:
(ft/min) * (mile/5280ft) * (60min/hour) = miles/hour
#5
Señior Member
Join Date: Sep 2005
Location: Michigan
Posts: 13,749
Bikes: Windsor Fens, Giant Seek 0 (2014, Alfine 8 + discs)
Mentioned: 13 Post(s)
Tagged: 0 Thread(s)
Quoted: 446 Post(s)
Likes: 0
Liked 8 Times
in
7 Posts
Um, no, the inside of the wheel turns the same number of times as the outside. How could it possibly turn more or less times? Swing your arm around three times. Did your bicep swing around more times than your hand?
For maximum accuracy, you should put the magnet and sensor close to the hub of the wheel. Theoretically it doesn't matter, but the problem is that near the rim, the magnet will be moving past the sensor much faster (but the same number of times per minute) and at higher speeds, the sensor may not pick up every time the magnet goes past it. It will start to "skip" and you will suddenly start getting drastically lower speed readings. This may or may not happen with any particular computer, but it doesn't hurt to move the sensor towards the center. As a side benefit, with the magnet nearer the hub, it will be less likely to unbalance the wheel.
For maximum accuracy, you should put the magnet and sensor close to the hub of the wheel. Theoretically it doesn't matter, but the problem is that near the rim, the magnet will be moving past the sensor much faster (but the same number of times per minute) and at higher speeds, the sensor may not pick up every time the magnet goes past it. It will start to "skip" and you will suddenly start getting drastically lower speed readings. This may or may not happen with any particular computer, but it doesn't hurt to move the sensor towards the center. As a side benefit, with the magnet nearer the hub, it will be less likely to unbalance the wheel.
__________________
Work: the 8 hours that separates bike rides.
Work: the 8 hours that separates bike rides.
#6
Thunder Whisperer
Join Date: Apr 2008
Location: NE OK
Posts: 8,843
Bikes: '06 Kona Smoke
Mentioned: 6 Post(s)
Tagged: 0 Thread(s)
Quoted: 275 Post(s)
Likes: 0
Liked 6 Times
in
2 Posts
The installation instructions weren't all that clear about whether to mount closer to the hub or rim. What it did make clear was that the spoke mounted magnet had to pass within like 2 mm of the sensor- up near the rim is too far away for them to "see" each other.
Another benefit about mounting closer to the hub (asides from the wheel balancing which i hadn't thought of) is that it's a bit more protected than if it was mounted near the rim.
Another benefit about mounting closer to the hub (asides from the wheel balancing which i hadn't thought of) is that it's a bit more protected than if it was mounted near the rim.
__________________
Community guidelines
Community guidelines
#7
Junior Member
Thread Starter
Join Date: Mar 2011
Posts: 16
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 1 Post(s)
Likes: 0
Liked 0 Times
in
0 Posts
Makes sense. The logic I was using was if you're going around a track (or your hub in this instance) the inside lane is always fastest but the S=D/T formula totally makes sense. Thanks.
#9
Senior Member
Join Date: Apr 2011
Location: Philadelphia, PA
Posts: 332
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Likes: 0
Liked 0 Times
in
0 Posts
Glad I am not the only idiot out there whose brain can't seem to wrap itself around the basic fact that it doesn't matter where the damn magnet is. Did you major in communications too?
#10
Senior Member
Join Date: Jun 2002
Location: Rural Missouri - mostly central and southeastern
Posts: 3,014
Bikes: 2003 LeMond -various other junk bikes
Mentioned: 1 Post(s)
Tagged: 0 Thread(s)
Quoted: 79 Post(s)
Likes: 0
Liked 45 Times
in
36 Posts
Tell me if I'm wrong here but if the magnet is closer to the hub the magnet will make more RPM's vs if it's closer to the outer edge so how is it possible for the computer to accurately track distance and speed? Or is the inaccuracy negligible?
Believe it or not, when i used to get fierce while riding rollers, i could get pickup sending units to "fail" or skip when riding at speeds near 50 mph. This was mostly because the unit was simply nearing being worn out. But it is proof that there was actual "mechanical" activity in older cat-eye and avocet units.
I assume they might still be using "reed switches." I don't know for sure. It seems I do still hear 'ticking."
By the way the "numbers" in the setup routine represent centimeters - even if you put in the wrong number - its hardly 50 feet per mile, in other words your only going to be off about 1 mile per hundred.
But I digress.
#11
Señior Member
Join Date: Sep 2005
Location: Michigan
Posts: 13,749
Bikes: Windsor Fens, Giant Seek 0 (2014, Alfine 8 + discs)
Mentioned: 13 Post(s)
Tagged: 0 Thread(s)
Quoted: 446 Post(s)
Likes: 0
Liked 8 Times
in
7 Posts
Millimeters, surely. My comp is set to something like 2055. If that was centimeters my wheel would be 20 meters in circumference, which works out to 21 feet in diameter.
__________________
Work: the 8 hours that separates bike rides.
Work: the 8 hours that separates bike rides.
#13
Senior Member
Join Date: Jul 2008
Location: Austin, TX
Posts: 3,040
Bikes: Bacchetta Giro, Strada
Mentioned: 1 Post(s)
Tagged: 0 Thread(s)
Quoted: 6 Post(s)
Likes: 0
Liked 1 Time
in
1 Post
Clever answer!
In case somebody doesn't know what's going on here ... https://en.wikipedia.org/wiki/Rolling_shutter
In case somebody doesn't know what's going on here ... https://en.wikipedia.org/wiki/Rolling_shutter
#14
Señior Member
Join Date: Sep 2005
Location: Michigan
Posts: 13,749
Bikes: Windsor Fens, Giant Seek 0 (2014, Alfine 8 + discs)
Mentioned: 13 Post(s)
Tagged: 0 Thread(s)
Quoted: 446 Post(s)
Likes: 0
Liked 8 Times
in
7 Posts
Actually it is a reed switch. You can put a volt meter across it and see the resistance go from infinite to zero when a magnet is nearby.
High end ones might use a hall effect transistor, that would be the smart way to do it. Much more reliable than an inductive loop since a hall effect switch is extremely fast and will give you essentially an on/off switch no matter how slow the magnet is moving (or even if it's stopped altogether). Hall effect transistors are pretty cheap.
It's possible that newer comps have already switched to hall effects, I wouldn't know, my computer is a number of years old at this point.
High end ones might use a hall effect transistor, that would be the smart way to do it. Much more reliable than an inductive loop since a hall effect switch is extremely fast and will give you essentially an on/off switch no matter how slow the magnet is moving (or even if it's stopped altogether). Hall effect transistors are pretty cheap.
It's possible that newer comps have already switched to hall effects, I wouldn't know, my computer is a number of years old at this point.
__________________
Work: the 8 hours that separates bike rides.
Work: the 8 hours that separates bike rides.
#15
Senior Member
Egads! you are correct. I guess that eliminates the whole signal conditioning problem although I wonder what would happen if you park your bike with the magnet next to the sensor. Might have to try that out tonight.
Well, I edited my mis-post and I've been thinking it's time for a new avartar...
Well, I edited my mis-post and I've been thinking it's time for a new avartar...
#16
Senior Member
Join Date: Jun 2008
Posts: 251
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 1 Post(s)
Likes: 0
Liked 0 Times
in
0 Posts
Yes, FWIW the speedo sensors I have are reed switches. I haven't had them skip but it is certainly possible for them to miss a very brief passing of the magnet even though the moving part has very little mass.
If the magnet is stopped at the switch it will just hold it closed (they are NO (normally open) if memory serves).
These switches are also used for other applications such as defeating throttle with brake on ebikes...
If the magnet is stopped at the switch it will just hold it closed (they are NO (normally open) if memory serves).
These switches are also used for other applications such as defeating throttle with brake on ebikes...
#17
Señior Member
Join Date: Sep 2005
Location: Michigan
Posts: 13,749
Bikes: Windsor Fens, Giant Seek 0 (2014, Alfine 8 + discs)
Mentioned: 13 Post(s)
Tagged: 0 Thread(s)
Quoted: 446 Post(s)
Likes: 0
Liked 8 Times
in
7 Posts
I think I know another reason they use reed switches. that makes it trivial to build computers that are auto-on without drawing much current. With a clean reed switch, the switch can just be hooked to an interrupt line on the microprocessor, and it can go into deep sleep mode and wake when the switch state changes. If it were a hall effect switch it would have to be powered constantly to know when the magnet moved so it could wake up, and the battery would only last a few weeks at best. It might be a little better with a coil but still, it would need more sensitive circuitry that would have to be powered.
__________________
Work: the 8 hours that separates bike rides.
Work: the 8 hours that separates bike rides.
#18
Senior Member
I am (obviously) not an analog guy so bear with me on this....It seems to me that whether the switch is NO or NC it has to be connected to some source of power to generate a transition to whatever is counting the rev's. I'd imagine it's a normally open switch that momentarily closes to complete some circuit and this generates a clock pulse to a counter or something along those lines. But wouldn't that quickly drain the battery if the switch was left in a closed state?
#19
Señior Member
Join Date: Sep 2005
Location: Michigan
Posts: 13,749
Bikes: Windsor Fens, Giant Seek 0 (2014, Alfine 8 + discs)
Mentioned: 13 Post(s)
Tagged: 0 Thread(s)
Quoted: 446 Post(s)
Likes: 0
Liked 8 Times
in
7 Posts
I am (obviously) not an analog guy so bear with me on this....It seems to me that whether the switch is NO or NC it has to be connected to some source of power to generate a transition to whatever is counting the rev's. I'd imagine it's a normally open switch that momentarily closes to complete some circuit and this generates a clock pulse to a counter or something along those lines. But wouldn't that quickly drain the battery if the switch was left in a closed state?
__________________
Work: the 8 hours that separates bike rides.
Work: the 8 hours that separates bike rides.
#20
Formerly Known as Newbie
Join Date: Mar 2002
Location: Helsinki, Finland
Posts: 6,249
Mentioned: 1 Post(s)
Tagged: 0 Thread(s)
Quoted: 2 Post(s)
Likes: 0
Liked 4 Times
in
3 Posts
And this would only be a problem for wireless computers, or if you used a wired computer and left it on the bike.
__________________
To err is human. To moo is bovine.
Who is this General Failure anyway, and why is he reading my drive?
Become a Registered Member in Bike Forums
Community guidelines
To err is human. To moo is bovine.
Who is this General Failure anyway, and why is he reading my drive?
Become a Registered Member in Bike Forums
Community guidelines
#21
Señior Member
Join Date: Sep 2005
Location: Michigan
Posts: 13,749
Bikes: Windsor Fens, Giant Seek 0 (2014, Alfine 8 + discs)
Mentioned: 13 Post(s)
Tagged: 0 Thread(s)
Quoted: 446 Post(s)
Likes: 0
Liked 8 Times
in
7 Posts
I guess I've never considered that. I've never taken a computer off the bike except once a year or so to change the battery, or twice a year when I need to get to the "set" button to change the time.
__________________
Work: the 8 hours that separates bike rides.
Work: the 8 hours that separates bike rides.
#22
Newbie
Join Date: Jul 2017
Posts: 1
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 1 Post(s)
Likes: 0
Liked 0 Times
in
0 Posts
Does anyone know if the amount of spokes have anything to do with a cycle computer? My front rim only has 16 spokes and the computer doesn't seem acurate. I might have set it up wrong but i'm not sure because i've had them on other bikes.
marko
marko
#23
Senior Member
Join Date: Mar 2008
Posts: 8,688
Mentioned: 46 Post(s)
Tagged: 0 Thread(s)
Quoted: 1074 Post(s)
Liked 295 Times
in
222 Posts
There's still only one magnet and only one pass per revolution.
If readings are consistent but inaccurate, check your calibration value. A roll-out can get you closer than numbers off a chart.
If readings are inconsistent, check installation.
Mainly how magnet pass pickup.
For wireless units, check your surroundings. They may pick up interference from power lines.
#24
Newbie
Join Date: Apr 2018
Posts: 1
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Likes: 0
Liked 0 Times
in
0 Posts
Bike RPM and Speed
I have seen this topic discussed all over the web, but never I have I seen it explained so clearly and succinctly as here. Awesome explanations.
#25
Banned
If the program only takes nominal wheel / tire sizes, not measured out to the hundred thousandths of a inch or mm,
then the accuracy quest is moot ..
....