« April 2006 | Main

Sun, May 28, 2006

NatCar 2006 First Run

Here's a crude video of our first run. I don't have video of the second (winning) run; we'll have to get that from the school. This one resulted in a time (also fast enough to have won) of a little over 36 and a half seconds. The winning run video will come later.

This video requires QuickTime 7 to play.

NatcarMovie.png

Fri, May 26, 2006

We Did It! We Took 1st Place in NatCar 2006

We ran our best time at a PWM setting of 75, resulting in 34.072 s, for a computed average speed of 3.01 m/s (9.86 ft/s), a new competition record (previously set in 2000 by UCB team 4 at 9.82 ft/s).

Cal also took the number 2 and 3 places.

Official NatCar stats:

http://www.ece.ucdavis.edu/natcar/Race_Results.html

Mon, May 22, 2006

NatCar is Coming Up

John and I managed to track down a bizarre error. We discovered that from revision 68 to 69, a change was introduced in the port configuration that revealed a manufacturing defect in the controller board PCB. One of PORTA's pins was shorted to one of the PWM output pins. Up until r69, PORTA had been configured as all-inputs, but when the software was changed to set PORTA to all-outputs, it was preventing the PWM channel from reaching 5 V (I'm glad we didn't damage anything).

This seemed to cause the motor to run rough up to a speed of about 4 increments on the joystick (PWM duty cycle value 20).

Anyway, we worked around that by not setting that pin to be an output, and then went on to find the actual code that had been used for Round 2—it was on my older PowerBook, and had not been checked in (bad Rick!), so it took a bit of finagling to get Subversion to accept it.

The next steps are to add in the derivative term, speed up the control loop, and tweak on the courtyard track in Cory. I also want to get our ZigBee link working, and I need build a new sensor board (I hate perfboard!). NatCar is on Friday, and we have a lot to do to be competitive.

Here's hoping the card keys still work…