GPS Datalogger
The second datalogger is a small GPS unit powered by a single AA battery. The
unit logs time, longitude, latitude and altitude to its internal memory at 1
second intervals. This data can then be uploaded via usb to a laptop. The
position information can be turned into speed and acceleration and be used to
extract lap and pitstop times. Harsh acceleration and (worst of all!) braking
can be identified. The resolution and accuracy is just enough to compare the
different lines taken by different drivers through a corner compared to the
amount of speed they maintained through the bend. Accuracy of total distance
determined by the GPS compares favourably with the figures from the lap counters
and cycle computer.
Example Data

(Click image to enlarge)
The chart above shows the ground plot from the coordinates
recorded by the GPS unit and shows the Dunton circuit with its tight hairpin at
one end and large banked turn at the other. Note the extra loop on one lap at
the hairpin end - that is where we were in the paddock changing two wheels! The
other extra trail at the hairpin is pushing the car back to the minibus after
the finish of the race.

(Click image to enlarge)
The chart above shows the speeds of two drivers around two
laps of the Dunton circuit. "Driver 1" (green line) was driving later in
the race and had more tired batteries than "Driver 2" hence the lower top speed.
The chart shows the slowing down necessary to navigate the hairpin. Notice that
"Driver 1" carried much more speed through the hairpin whereas "Driver 1" had to
slow right down on one lap - probably due to traffic.
Logging motor temperature is useful information however, its of little use to
be able to find out the exact moment your motor goes from being a useful part to
an overheated lump of scrap after the event. With that in mind we decided
to implement some means for the car to be able to send information back to the
pits.
The system uses XBee wireless modules - these are low cost, license free
radio modules which use the 2.4Ghz spectrum. They can be configured to provide a
simple error-free communication service between two serial devices.
In the Car
One Xbee is built onto a Picaxe Connect board (PCB available from Revolution
Education). This is the 'transmitter' end which is linked to the datalogger
described above via the datalink port. The picaxe on this board is programmed to
wait for a signal from the pits then request data from the datalogger and
forward it to the pits via the Xbee. The unit is battery powered and sits on the
rear deck of Fireblade, packaged in a (hopefully - but as yet untested)
waterproof enclosure.

Above: Xbee installed on a Picaxe Connect board.

Above: Xbee mounted on Fireblade
In the Pits
The 'pits' end uses another Connect board, instead of having a Picaxe
installed this board has an RS232 interface chip which allows the board to be
interfaced with a PC via the normal picaxe interface cable.
The PC runs an application written in vb.net which receives the data from the
car, displays it and logs it to a database.


Data is transferred from car to pits each time the car passes the pits.
|