View Single Post
Old 05-24-2009, 11:46 AM   #1378 (permalink)
EcoModding Lurker
Join Date: Jul 2008
Location: Memphis, TN
Posts: 58

2010 Prius - '10 Toyota Prius IV
Last 3: 51.4 mpg (US)
Thanks: 0
Thanked 1 Time in 1 Post
Paul, FWIW I used a BT serial port on my robot to send all of the current time and measurements out to my PC. I would captures these in Hyperterm, save them to a text file and import into excel. I also wrote a small "menu" so I could change the constants and capture the results to see if I over or under damped.

In the attached image, the Yellow is the commanded speed. My speeds are from -50 to + 50 (that's a relative unit of measure given my encoder resolution and how fast I'm sampling them). In the example I command from 0 to 20 then to 0 to then 4 then to 0. The blue is actual measured speed.

Attached Thumbnails
Click image for larger version

Name:	pid_cap.jpg
Views:	77
Size:	6.0 KB
ID:	3553  
  Reply With Quote