Line–Following Rescue Robot

Part of MTE 380: Mechatronics Engineering Design Workshop – Major Project

Goal

The goal of this project was to design and build a fully autonomous robot to navigate a complex course by following a tape line. The robot was to detect and pick up a Lego character and then return it to the start. There were time, cost, and size constraints.

Method

I was the group leader and project manager for this venture.

The mechanical design of the robot included a 3D printed chassis with a battery housed over the drive wheels for improved traction. The claw mechanism was driven by a servomotor and gear pair. The lightweight, 3-wheel design allowed for differential steering.

Two RGB sensors were used for colour-based line following and target detection. An STM32 microcontroller was integrated with a dual H-bridge motor driver for PWM-based speed control and differential steering. An 11.1V LiPo battery was stepped down with a voltage regulator and used to power the robot.

PID controls were used to follow the line. The goal of the control system was to keep the difference between the RGB sensor readings at 0. This meant that the robot was straddling the line perfectly. Any differences in readings were used to dynamically adjust individual motor speeds. A claw control sequence was also developed to grasp upon detection and release at the end of the run.

Significant iteration and design review was performed. The claw geometry needed to be fully redesigned to improve grabbing ability. The sensors were repositioned numerous times and LED lighting was added to improve reading consistency. Rear weights were added to fix wheel lift and traction issues that were preventing the robot from traversing the course fully. The PID control gains were adjusted to optimize for the course.

This project was done using C++ and SolidWorks.

Results

  • Successfully completed a trial run
  • Met 8” x 8” x 8” size constraint
  • Met $150 cost constraint with a cost of $139
  • Met 2 minute time constraint with final time of 65 seconds
  • Analyzed project and decided on future improvements
  • See video for the robot completing the course!
Side View of Final Robot
Side view of the final robot
Course Run (Video)