data geekery and tuning

July 08, 2011

I finally finished my data acquisition for the bike. I used an Arduino with an SD Shield to capture the TTL serial data as output by the Cycle Analyst.

Arduino with SD Shield taped to back of bike.
Arduino with SD Shield taped to back of bike.

I actually took the bike out to run some errands. One of the annoying things is that I'm using the current and speed control on the Cycle Analyst. It uses a PID loop to do this, and the defaults are tuned for a bike with less power than mine. That means it oscillates. If you look at the image below, this represents me running on flat ground with the throttle wide open. You'll see the PID loop cranking the amps up and down and the speed oscillating about 3mph. I'm trying out Tableau so you should be able to play with the data.

746d7 pid oscillation

Click here to manipulate data

Full run coming back from Bartells :

Sheet 1
Sheet 1

Powered by Tableau


Profile picture

Written by Chris Prosser Data Science Engineer, Maker, Bad Sculpter, located in grey Seattle