Advertise on Bikeforums.net



User Tag List

Results 1 to 21 of 21
  1. #1
    Junior Member
    Join Date
    Mar 2011
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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?

  2. #2
    Administrator Allen's Avatar
    Join Date
    Sep 2005
    Location
    Atomic batteries to power; turbines to speed
    My Bikes
    Salsa La Raza, Panasonic Electric, Bria, Bamboo touring, Bamboo cargo
    Posts
    4,755
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    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.
    Last edited by Allen; 05-17-11 at 06:08 PM.

  3. #3
    I am a caffine girl colleen c's Avatar
    Join Date
    Nov 2009
    Location
    Bay Area
    My Bikes
    2012 Stumpjumper FSR Comp...2010 Scott CR1 CF...2007 Novara FS Float2.0...2009 Specialized Hardrock Disc...2009 Schwinn Le Tour GSr
    Posts
    1,807
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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
    Last edited by colleen c; 05-17-11 at 06:15 PM.
    "Difference between a well dressed cyclist riding a two wheeled bicycle and a badly dressed cyclist riding a Recumbent is only a-tire"
    _______________________________________________________________________
    Some people got their head so far up their butt such that the only thing they hear is muffle when trying to explain anything to them! I only wish they take it out sometimes to smell the roses.

  4. #4
    I am a caffine girl colleen c's Avatar
    Join Date
    Nov 2009
    Location
    Bay Area
    My Bikes
    2012 Stumpjumper FSR Comp...2010 Scott CR1 CF...2007 Novara FS Float2.0...2009 Specialized Hardrock Disc...2009 Schwinn Le Tour GSr
    Posts
    1,807
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by colleen c View 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
    Just to clarify, in the real world, computer use either cm/rev or mm/rev and more like rev/milisec or sec. It still the same principle but just a matter of more conversion. You get the idea.
    "Difference between a well dressed cyclist riding a two wheeled bicycle and a badly dressed cyclist riding a Recumbent is only a-tire"
    _______________________________________________________________________
    Some people got their head so far up their butt such that the only thing they hear is muffle when trying to explain anything to them! I only wish they take it out sometimes to smell the roses.

  5. #5
    Seņior Member ItsJustMe's Avatar
    Join Date
    Sep 2005
    Location
    Michigan
    My Bikes
    Windsor Fens, Giant Seek 0 (2014, Alfine 8 + discs)
    Posts
    11,776
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    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.
    Work: the 8 hours that separates bike rides.

  6. #6
    Super Moderator no1mad's Avatar
    Join Date
    Apr 2008
    Location
    NE OK
    My Bikes
    '06 Kona Smoke
    Posts
    8,031
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.
    Quote Originally Posted by Cyril View Post
    Ride what and in what manner pleases you. Those that mind don't matter, and those that matter don't mind. srsly.
    Community guidelines

  7. #7
    Junior Member
    Join Date
    Mar 2011
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

  8. #8
    don't try this at home. rm -rf's Avatar
    Join Date
    Jan 2006
    Location
    N. KY
    Posts
    2,737
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ItsJustMe View Post
    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?
    ..snip..
    Ask this guy.


  9. #9
    Senior Member formicaman's Avatar
    Join Date
    Apr 2011
    Location
    Philadelphia, PA
    Posts
    332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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. #10
    Senior Member Richard Cranium's Avatar
    Join Date
    Jun 2002
    Location
    Deep in the Shawnee Forest
    My Bikes
    LeMond - Gunnar
    Posts
    2,786
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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?
    Yes, of course RPM is constant. But like some one mentioned - it is important that you give the magnet enough time to "pull" the sensing switch in the pickup unit.

    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.
    Sorry about my comments - I thought you wanted honest feedback.
    2003 Lemond Wayzata - 2002 LeMond Malliot Jeune

  11. #11
    Seņior Member ItsJustMe's Avatar
    Join Date
    Sep 2005
    Location
    Michigan
    My Bikes
    Windsor Fens, Giant Seek 0 (2014, Alfine 8 + discs)
    Posts
    11,776
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Richard Cranium View Post
    By the way the "numbers" in the setup routine represent centimeters
    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.

  12. #12
    Senior Member Iowegian's Avatar
    Join Date
    Dec 2005
    Location
    Boulder, Colo
    Posts
    1,734
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Whoops. Never mind.
    Last edited by Iowegian; 05-20-11 at 04:41 PM. Reason: remove bogus assumptions

  13. #13
    Senior Member dougmc's Avatar
    Join Date
    Jul 2008
    Location
    Austin, TX
    My Bikes
    Giant OCR2, Bridgestone RB-T, Bike-E, Vision R-40, Novara Safari
    Posts
    3,014
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by rm -rf View Post
    Ask this guy.

    Clever answer!

    In case somebody doesn't know what's going on here ... http://en.wikipedia.org/wiki/Rolling_shutter

  14. #14
    Seņior Member ItsJustMe's Avatar
    Join Date
    Sep 2005
    Location
    Michigan
    My Bikes
    Windsor Fens, Giant Seek 0 (2014, Alfine 8 + discs)
    Posts
    11,776
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    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.
    Work: the 8 hours that separates bike rides.

  15. #15
    Senior Member Iowegian's Avatar
    Join Date
    Dec 2005
    Location
    Boulder, Colo
    Posts
    1,734
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    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...

  16. #16
    Senior Member rscamp's Avatar
    Join Date
    Jun 2008
    Posts
    246
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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...
    Rob

  17. #17
    Seņior Member ItsJustMe's Avatar
    Join Date
    Sep 2005
    Location
    Michigan
    My Bikes
    Windsor Fens, Giant Seek 0 (2014, Alfine 8 + discs)
    Posts
    11,776
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    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.

  18. #18
    Senior Member Iowegian's Avatar
    Join Date
    Dec 2005
    Location
    Boulder, Colo
    Posts
    1,734
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    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. #19
    Seņior Member ItsJustMe's Avatar
    Join Date
    Sep 2005
    Location
    Michigan
    My Bikes
    Windsor Fens, Giant Seek 0 (2014, Alfine 8 + discs)
    Posts
    11,776
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Iowegian View Post
    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?
    That's all true, but a microcontroller awaiting a state change in deep sleep mode can pull as little as a few nanoamps. I've done a little work with AVR controllers, and in deep sleep mode waiting for a state change, battery drain is such that a standard CR2032 button cell will last on the order of 3 or 4 years. It's true that if the switch happens to be closed, the current draw will go up a bit, but the pullup resistors can be quite high resistance and the drain would probably only kill the battery in a year or so. Since the odds of the wheel sitting where the switch is closed is probably about 1 in 100, in general you're still looking at multiple years, unless you happen to park it with the switched closed and leave it alone for 6 months.
    Work: the 8 hours that separates bike rides.

  20. #20
    Formerly Known as Newbie Juha's Avatar
    Join Date
    Mar 2002
    Location
    Helsinki, Finland
    Posts
    5,850
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ItsJustMe View Post
    Since the odds of the wheel sitting where the switch is closed is probably about 1 in 100, in general you're still looking at multiple years, unless you happen to park it with the switched closed and leave it alone for 6 months.
    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

  21. #21
    Seņior Member ItsJustMe's Avatar
    Join Date
    Sep 2005
    Location
    Michigan
    My Bikes
    Windsor Fens, Giant Seek 0 (2014, Alfine 8 + discs)
    Posts
    11,776
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Juha View Post
    And this would only be a problem for wireless computers, or if you used a wired computer and left it on the bike.
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •