24
Feb 10
[EDIT: ZOMG. rotation matrices are awesome. wish I understood those when I first started this… ]
[EDIT 2: Google released an Android app that does much of this based on your phones accelerometer/gps. i feel discouraged. suppose I’ll be moving on to a different project now.]
My current Microcontroller project is a data logger that keeps track of position, velocity, and acceleration of a motorcycle. It will use this information to generate a visualization of the ride , presenting the raw figures , as well as lean angle, incline, and engine rpm which can be extrapolated as follows:
Straight Standing FBD
Calculation of the incline angle
Determining lean angle when at an incline is somewhat more complex.. and I have yet to sit down and work through the math – but ill be sure to post as soon as I do. And of course , as it doesn’t have (but probably should get) a gyro, these only apply to the static case. I’ll probably need to get clever in the code to figure to approximate out angular rate without gaining too much error
Engine RPMs will be calculated by performing an FFT to convert the acceleration magnitudes to frequency domain, band pass filtering (between ~8 and 300 hz I expect) to isolate the noise created by the exhaust and/or the engines power strokes. This frequency information will be examined and the range with the most energy will be assumed to be from the engine’s rotation.
where I am now:
I have prototype uC hardware together and logging data (pictured below) the next step is mounting it to my bike and reving the engine to collect data so that I can see if my ideas on RPM determination are valid. Schools been busy lately, so this may have to wait.. but stay posted!
Motorcycle Profiler Hardware
Calculation of the lean angle
Continue to Future Plans
Leave a Reply
March 21st, 2010 at 7:26 am
I like the layout of your blog and I’m going to do the same thing for mine. Do you have any tips? Please PM ME on yahoo @ AmandaLovesYou702 5 5 3
March 23rd, 2010 at 12:14 pm
Haha , well my first suggestion would be to get a liiittle more formal email/im address – maybe amanda is your gf or something, but that SCREAMS “Im trying to solicit porno!” lol
anyways, here is a link to a good resource on the topic http://jonathanwold.com/tutorials/wordpress_integration/
hope that helps
April 8th, 2010 at 4:46 pm
You’re right on the money with this post, keep it up!
May 1st, 2010 at 9:45 pm
Weird… I just found your site by searching for ‘squirrel torture’ on Google! Boss Office Chair
May 21st, 2010 at 1:25 pm
cool beans
June 18th, 2010 at 2:41 pm
Hi, I’m very interested in Linux but Im a Super Newbie and I’m having trouble deciding on the right distribution for me (Havent you heard this a million times?) anyway here is my problem, I need a distribution that can switch between reading and writing in English and Japanese (Japanese Language Support) with out restarting the operating system.
January 21st, 2011 at 9:29 am
That is the appropriate blog for anybody who wants to search out out about this topic. You understand a lot its nearly exhausting to argue with you (not that I actually would need…HaHa). You definitely put a brand new spin on a subject thats been written about for years. Nice stuff, just nice!
January 21st, 2011 at 9:44 am
you will have an ideal blog right here! would you wish to make some invite posts on my weblog?