Feb 10

Motorcycle Ride Profiler

[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

Straight Standing FBD

Calculation of the lean angle

Calculation of the incline angle

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

Motorcycle Profiler Hardware

Calculation of the lean angle

Continue to Future Plans

8 Responses to “Motorcycle Ride Profiler”

  1. Ted Skaff Says:

    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

  2. admin Says:

    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

  3. Custom Motorcycle Says:

    You’re right on the money with this post, keep it up!

  4. Digital 8 Camcorders Says:

    Weird… I just found your site by searching for ‘squirrel torture’ on Google! Boss Office Chair

  5. Solomon Spracklin Says:

    cool beans

  6. Monica S. Says:

    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.

  7. zoki Says:

    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!

  8. zoki Says:

    you will have an ideal blog right here! would you wish to make some invite posts on my weblog?

Leave a Reply


r/w_ blog : 06-27-2022
powered by WordPress