Showing posts with label Needalife. Show all posts
Showing posts with label Needalife. Show all posts

Tuesday, October 25, 2016

How hard is it to make a cleat based Powermeter?

I woke up this morning and I saw that Brim Brothers had quit. I’m sure if I had ever met Barry Redmond I’d likely be asking the question that probably kept him and his team working so hard. 

“How do you know the crank angle, or the appropriate relative angle between pedal and crankset?”

So if you want the short answer – It’s hard! It’s VERY VERY VERY hard.

I predicted this was going to be a nearly impossible problem with inertial sensors and I hate that I was right (Or wrong, you’ll see at the end – no comfort for Pre-order people, but the tech is out there). I had played with inertial sensors in University while working on active vehicle suspension design for automotive. And I said things like “I’ll just double integrate acceleration to get position” to which my Masters supervisor said “Doesn’t work” and I marched on my way to find that no matter what I did position drifted and accelerated away in under 2 seconds. The accelerometer was taped down to a heavy old wooden table and the math said it was flying away at 1000m/s. You have two options then; believe that I invented a new form of transport… or accept that the math didn’t work.

So below is a picture that will take a couple of paragraphs to explain, but the short is Brim Brothers measured force on the cleat in two directions (purple) and could be resolved into a single force and direction (red), but not all this force made torque (green, perpendicular to the crank). There are two angles relative to the world (the reference frame I’m using).

A really good inertial algorithm using accelerometers and gyro’s and any other MEM’s could figure out the angle of the shoe (theat_shoe). Those two things only tell us the vertical component and the horizontal in the “world” reference frame. Without knowing the crank angle very precisely you have no idea what torque is. We know the force and direction relative to the shoe and we can convert that to the world, but not the crank reference frame.

image

In fact, if we leave all the forces the exact same and only change the crank angle the resulting torque is different and reversed. This isn’t even unrealistic as the “lazy leg” has to be lifted by the other. Try cycling with one leg and see how tiring it is (those with Power Cranks are exempt).

image

We have zero different information (not really, but I’m getting to that). Accelerometers on the shoe state this is the position and angle using a simple algorithm. Let’s ignore time history integration for a second and only look at data which can determine reliably orientation in 3D space. The shoe angle is known, the force vector is known, but we know nothing about the relative orientation against the crank.

So basic inertial is useless because we can’t resolve torque, so that means two things

1) The Luck shoe is 1/100th where the Brim Brothers were years ago and only senses in one direction therefore it can never accurately get power. Some sort of half baked tuned version

2) Brim Brothers were into some very advanced predictive methods to predict and calculate crank angle

Ignoring point one, lets say we can integrate the velocity. Keep in mind we are moving outside and we can only figure out velocity relative to the world (this is how accelerometers work, the reference is the world with gravity vector being “down”). So we know the velocity which is a circle except when we move forward. Then the velocity profile is more of a spirograph. So from this we can figure out just about where we are in the crank rotation as velocity should be tangent to the crank + some averaged forward velocity + some drift. So assuming the filtering cleans up the drift and we can remove the forward velocity component we now have a vector that tells us crank position.

EXCEPT – well, it’s an estimate of crank position. It’s not necessarily true crank position, and it’s a weak filter since we never directly measure truth. So now we must supplement it some how. We can use the cyclic nature of the accelerometer going up and down and that helps stabilize the reference. OR we can use this to find the top and bottom of the pedal stroke, calculate cadence and use that estimate crank position allowing you to calculate torque.

Except if you change how your feet are angled like getting out of the saddle could change expected orientation, or small vibrations, or a speed bump, or even angle change due to starting to ride up a hill.

This is only one example of the problems associated with all this inertial sensor stuff. I don’t really know for certain what was the real problem, but my speculation puts it in the inertial algorithm area. Any time with a powermeter you have to make a guess like estimate an angle, or estimate a position, the answer is wrong. There hasn’t been a powermeter that works reliability that has an algorithm beyond a rotation measurement and been proven accurate yet. That doesn’t mean their won’t be, but when a company uses the words algorithm in terms of power sensing be wary. My suggestion is to avoid anyone who says  algorithm too much until you can test their product.

However, I also read today about something that is using inertial sensing to figure out position, orientation, velocity, and acceleration… cheaply ($1500 USD for 32 points). It’s a full body motion capture suit (NOITOM) and it is amazing. It’s been used on a lot of videos. Normally motion capture is IR camera’s and reflective balls with a lot of software. This is just inertial, calibrated to positions, and some amazing filtering algorithm. I’m not sure it would be accurate or fast enough for what the Brim Brothers needed, nor know if it would give enough to back out crank angles without multiple placements, but it’s amazing to see a company able to put together a system that must have a build cost of only 500 – 700 dollars so they can sell for $1500 for the 32 node version. Check it out. It’s this tech which could enable a successor.

From Tom’s Hardware

Saturday, December 21, 2013

Mega Fitness Software Review Project

Things have been crazy for me the last few weeks. I’m finishing up one job with a major project that has been dragging on way too long. It’s the lynchpin that has held me to my old job – plus it really takes a significant amount of time and organization to move. Everything I own sans my road bike, clothing, and laptop was picked up Friday.
I’m evaluating where to live for my new job: sleepy town with a 5 minute walk to work, or big centre that is a 20 – 30 minute low traffic drive. There is a lot to things to think about going forward, but the big thing I’m interested in is getting back on a training plan.
Going forward I’ll be working more on sports and fitness technology. I really want to converge my job and my lifestyle, which is something that is commonplace in new, young, vibrant companies whereas there is less of that in older corporate companies. For me, that means that work can be a bit more flexible, but I don’t mind long days or testing a piece of hardware on a bike ride on my own time. In fact, the more sports tech I have access to, the better.
I’ve found that older style corporate environments are not ideal to a more physically active lifestyle. I won’t go into specifics, but the short of it is that it can feel more accepting of smokers than runners or cyclists. In some cases a lack of a shower or an open ideology to being active means can mean there is no chance of a physically active employee.
So what does this change mean for me:
It means a dedicated training (and food) plan. While some people use exercise and training interchangeably, I think of them as distinct and very different. Exercise is great but usually less structured and focus, while a training plan means something is planned with long term vision and each workout is decided beforehand – and you fight through an off day, or use a rest day as expected.
So this gets to something I’d like to do. I’ve been using several pieces of software and I haven’t found a good summary of them, their uses, etc. I kind of want to do something similar to what Ray does with his in-depth reviews, but for online workout tracking software. The biggest challenge is that they change – so a review 3 months old might not be valid. So here is a quick review and for reference TGI = Thoughts Going Into the Evaluation.

Tuesday, July 16, 2013

ACCUITY V4.1 WORKS (Sans ADS1248)

Transmitting below, hard to make it out but it’s receiving.

DSC_9432

Let go and voila, not receiving!

DSC_9433

On break for a day or two.

Tuesday, July 9, 2013

Continually jumping off cliffs…

A friend of mine tweeted today:
“We have to continually be jumping off cliffs and developing our wings on the way down.” - Kurt Vonnegut
Since Friday (July 5th) I’ve jumped off of a lot of cliffs. About 9/10 times my “wings” didn’t work, leaving me to ask why. Okay, enough with the metaphors. On to ramblings about solder reflow and where my prototype boards are.

Monday, June 24, 2013

Good, Cheap, Fast–Pick two

This is broken down into a low volume startup company, and an even lower volume at home company.

Breakdown is that both end up with products around $750. More after the break