RC Car Project

EECS373 - Fall 2007 - Final Project

Team Members and tasks performed:

High Level Design

The RC car is navigated through one of two modes. The first allows the RC car to drive in a straight line down the center of the hallway. To achieve this, input is taken from ultra-sonic sensors mounted on either side of the car, returning the distance of the walls in relation to the car. A PID feedback loop is then used to center the car in the middle of the hallway.

The second mode allows the car to follow an IR beacon. 5 IR transcievers are mounted on the front of the car. When a signal is recieved on either side of the vehicle, it begins to turn in that direction. Once it has turned enough that the signal is now being detected on the forward-facing IR transcievers, the car halts. When the IR signal is removed, it will re-enter wall-following mode.

The combination of these two modes allow the car to navigate straight hallways independently, and turn corners with the assistance of an external IR source.

Hardware Design

Major hardware components:

Software Components

Design Results

The major challange faced in regards to the control system was paramater calibration. We used a panel of dip switches to tune values experimentally but that process was slow and we could only work with one parameter a time. We also faced problems with EMF on the sensor lines due to interference from the motor lines. We also had problems detecting IR pulses without interrupts. The sensors demodulate a signal from a regular IR remote and pass out the data. We had to detect that data was present and then use that to say that we need to make a turn in that direction.

The major impediment to solving most of the above problems was time. All in all, however, the project did work.

Conclusions

If we worked on the project again we would probably use more sensors to gain information about obstacles and the walls to better control the cars steering ability. The final version was able to steer the car very well in a straight hallway with out many juts in the wall. We were able to turn into another hall and center ourselves. We would also have implemented interrupts and used the TPU co-processors to filter signals before they reached the MPC555.

See also: