tag:blogger.com,1999:blog-831309579862171927.post7070610209189034811..comments2024-03-28T00:13:41.522-07:00Comments on Keith Hack: TimelinesKeith Wakehamhttp://www.blogger.com/profile/04750593468902337123noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-831309579862171927.post-48413390653113301562013-05-08T06:50:38.893-07:002013-05-08T06:50:38.893-07:00Ahh, you mis-understood me.
I was planning on usi...Ahh, you mis-understood me.<br /><br />I was planning on using the accelerometer all the time. But then use the gyro to re-calibrate the accelerometer as it drifts over time. This way the accelerometer is giving you the once per sample for angular velocity, and the gyro is hopefully allowing you to re-calibrate for offsets due to gravity/climbing.<br /><br />With regards to power and 350 Ohm strain gauges. Any design that comes up with a DC/DC converter will never win in low power devices. (is the 350 strain gauge, both the top and bottom resistor? ie 175 Ohm each leg? or is it 350 Ohm a leg?). Either way, we are talking about 1mA. A DC/DC converter won't be able to drop this lower due to switching losses, along with needing to power the DC/DC chip.<br /><br />Is it possible just to place a 1% (or 0.1%) resistor in series? This will decrease your overall range of your ADC (due to the voltage divide), but this would happen anyway if you were to go with the DC/DC option and a low voltage (say 1V).Anonymoushttps://www.blogger.com/profile/05194096660242924230noreply@blogger.comtag:blogger.com,1999:blog-831309579862171927.post-77895218491233718842013-05-07T09:36:05.365-07:002013-05-07T09:36:05.365-07:00This is true about accuracy being compromised beca...This is true about accuracy being compromised because the magnetic sensor is basing it on average rotational velocity. The smoothness of the pedal stroke is the main reason to use gyro like you are indicating.<br /><br />I think though that the gyro really needs to be reading multiple times a second. Generally a rule of thumb for aliasing is that you need 5 times the rate of what you expect to see. So if we wanted to match up to ant+ of 4Hz, it needs to be sampled at at least 20Hz which means 50ms. So it can't ever shut down. Realistically I'd prefer to have at least 16 samples per revolution with Gyro but rather sample once per strain gauge sample. IE: Left, Right, Gyro, Repeat. This will give me the most accurate.<br /><br />Strain gauges are being the big hog now. 350 ohm isn't cutting it and I can't find a 1000 ohm double shear gauge for the left sensor. Only option is to drop the voltage down really low and use a separate voltage regulator, but if it's a linear regulator it won't help.Keith Wakehamhttps://www.blogger.com/profile/04750593468902337123noreply@blogger.comtag:blogger.com,1999:blog-831309579862171927.post-6570963522832347322013-05-03T06:35:10.595-07:002013-05-03T06:35:10.595-07:00The downside of using the magnet to detect rotatio...The downside of using the magnet to detect rotation is that it will not give accurate power output for different parts of the pedal stroke. Taking only a single point on the rotation, assumes velocity is constant around the stroke.<br /><br />As power = torque x radial velocity and you are constantly reading torque, I think you also want to be constantly reading velocity. I know for myself, if I am in a very light gear I find it tough to have smooth pedal speed.<br /><br />I was thinking of only using the magnet to avoid having to charge the battery.<br /><br />You could you use an IC that has both accelerometer and gyro, and use the gyro only periodically to re-calibrate the accelerometer. This way you get the best of both worlds. Both low power, but still accurate. <br /><br />The gyro readings could be done say every 3-5 even 10 seconds, which would save a tremendous amount of power over using the gyro all the time. (assuming a 300ms startup time, 3 seconds = 10% power, 5 seconds gives 6% power, and 10 seconds 3% power, which is pretty massive savings). Using 4mA ON consumption, this is 400uA, 240uA and 120uA. Or in time (220mAh) 550 Hours, 916 Hours, 1833 Hours (at which point its not the gyro killing your battery).Anonymoushttps://www.blogger.com/profile/05194096660242924230noreply@blogger.comtag:blogger.com,1999:blog-831309579862171927.post-16946084443192018562013-05-02T16:44:30.839-07:002013-05-02T16:44:30.839-07:00Hi Paul,
I've actually thought on this type o...Hi Paul,<br /><br />I've actually thought on this type of charging setup. I could use the same magnet to detect rotation to power the coil. I didn't know Polar had already been doing this. It's patent is likely expired then, which would be good news for me.<br /><br />I believe stages is using an accelerometer. Radial acceleration should correlate to rotational velocity though it will have a periodic change due to gravity depending on position. I haven't figured out how they deal with this without a Kalman filter to estimate position.Keith Wakehamhttps://www.blogger.com/profile/04750593468902337123noreply@blogger.comtag:blogger.com,1999:blog-831309579862171927.post-59086058777428547042013-05-02T16:38:33.210-07:002013-05-02T16:38:33.210-07:00Hi Mike,
Thanks for the input. I did some calcula...Hi Mike,<br /><br />Thanks for the input. I did some calculations and if I went with a rechargeable battery I have estimated 100 - 140 hours with a gyro and minimal impact on weight. However, I want to state explicitly that targeting a lower end market compared to SRM I am not as obsessed with weight.<br /><br />I had not even thought of a removable rechargeable battery. This seems so blatantly obvious now that you mention it but honestly never crossed my mind! External charger, include 2 - 3 batteries with unit and all problems seem to be solve.Keith Wakehamhttps://www.blogger.com/profile/04750593468902337123noreply@blogger.comtag:blogger.com,1999:blog-831309579862171927.post-38834220519443204552013-04-30T06:49:45.345-07:002013-04-30T06:49:45.345-07:00I also think that the gyro is the one that is driv...I also think that the gyro is the one that is driving the power decision, and it may be better to use an accelerometer with lower startup time. This has the advantage of lower current draw all the time, and also lower startup time.<br /><br />Alternatively you could use a magnet and coil, to charge a capacitor on your PCB. This will then induce charge each revolution of the pedals. You can then use this charge to run your board without using the battery. The battery then is only used when pedaling too slowly (in which case you can start to go into power save mode and only periodically poll the gyro), or use the battery when detecting start of ride conditions.<br /><br />The charging of a capacitor from a magnet and coil has been used by Polar on its wireless transmitters to avoid needing to replace the coin cell battery for years.Anonymoushttps://www.blogger.com/profile/05194096660242924230noreply@blogger.comtag:blogger.com,1999:blog-831309579862171927.post-42068963410436453112013-04-29T13:35:47.965-07:002013-04-29T13:35:47.965-07:00I also wouldn't mind periodic recharging, depe...I also wouldn't mind periodic recharging, depending on how frequent. As a serious cyclist who has held out on buying a power meter because of cost, I won't buy one that requires me to send the unit back when the battery dies. I also wouldn't buy one if I had to run an extension cord to my bike. Would you plan to make it removable somehow for charging?<br /><br />Also, just my perspective but if the gyro offer's little advantage, why bother? If it doesn't solve a real problem that users have, why allow this to drive your decision about components?Mikehttps://www.blogger.com/profile/11495899327357704605noreply@blogger.comtag:blogger.com,1999:blog-831309579862171927.post-28663343913809305572013-04-26T09:48:24.484-07:002013-04-26T09:48:24.484-07:00Thanks Duane.
I'm really having an internal b...Thanks Duane.<br /><br />I'm really having an internal battle over this battery thing. There seems to be no clear winner, but most of the market is doing coin cells. However, even new Quarq units still require magnets so they haven't solved the gyro problem - though I don't know if they attempted.<br /><br />Brim Brothers seem forced into rechargeable as they have to have the orientation of each foot, sort out the force vector using trig for each sample. Rotor is using two coin cells. One per leg. Hard decision.Keith Wakehamhttps://www.blogger.com/profile/04750593468902337123noreply@blogger.comtag:blogger.com,1999:blog-831309579862171927.post-89067443643432979612013-04-25T05:10:28.747-07:002013-04-25T05:10:28.747-07:00As a potential user/tester, I'll chime in to s...As a potential user/tester, I'll chime in to say that recharging the battery isn't bothersome to me. If I had to choose between periodic recharging and sending the unit back for service every other year, recharging wins hands down. A USB charging interface has an added advantage in that it could make it easier to push out firmware updates to end users.Duanehttps://www.blogger.com/profile/10936303952493917859noreply@blogger.com