Engineering Physics Block-Stacking Robotics Project (2012)

15,725

Circuit Image

The TINAH board shield is a printed circuit board designed for the Phys253 course, first utilized in 2009 by Engineering Physics students and faculty. This shield functions as a buffer to protect the digital and analog inputs and outputs of the Wiring board while facilitating built-in functions. It incorporates six analog inputs for QRD 1114 reflectance sensors, five of which are dedicated to enabling the robot to track black tape. Additionally, five digital inputs are allocated for mechanical switches used in collision detection. Due to the limited current supply capabilities of the TINAH board for connected devices, three motor driver circuits were constructed to control motor speeds and directions through Pulse-Width Modulation (PWM), with current supplied from a battery source. These circuits, known as H-Bridges, consist of high-current components that allow the motors to operate at significantly higher power levels than would be feasible using only the PWM outputs from the TINAH board. The circuit employs 25A MOSFETs, ensuring robust and reliable operation of the robot. The QRD sensors function as robotic eyes, emitting infrared (IR) light and varying their conductivity based on the amount of IR light reflected back to the phototransistor. This makes them effective in distinguishing between dark (black tape) and light (white wood) surfaces. However, the sensors are prone to interference from various sources, including natural light, 60 Hz artificial light, and IR rangefinders from cameras. To mitigate these issues, a housing was developed to shield the sensors, enhancing the reliability of the tape-tracking algorithm. The power source consists of Nickel Metal Hydride (NiMH) batteries rated at 16V. Although Lithium Polymer (LiPo) batteries were available, their low internal resistance and the uneven switching time of the MOSFETs in the H-bridge circuits led to significant current spikes, resulting in the destruction of several 10A fuses during robot operation. The tape-tracking configuration includes five QRD sensors to detect the black tape on the playing surface. Two primary QRD sensors, spaced the width of the tape apart, guide the robot along straight sections. Additionally, two forward-mounted sensors, positioned wider apart, serve as feed-forward sensors to determine turning direction. A side-mounted sensor aligns the robot with specific tape lines to ensure precise placement and stacking of blocks. For detecting the positions of a belt-driven arm, a single shielded QRD sensor is attached to the arm, paired with a stationary strip featuring several black lines that function as an encoder, thereby eliminating the need for four mechanical micro-switches and utilizing a similar approach to the tape-tracking sensors.

The TINAH board shield is an advanced integration of various sensor technologies and motor control systems designed to enhance robotic functionality in educational settings. The use of QRD 1114 reflectance sensors allows for precise tracking of black tape, which is essential for navigation in robotics applications. The incorporation of H-Bridge motor drivers is critical, as these circuits enable the efficient management of motor control through PWM, allowing for smooth acceleration and deceleration of the robot while maintaining high power output. The selection of 25A MOSFETs in the H-Bridge design is a strategic choice to handle the high currents required for driving motors effectively, ensuring that the robot can perform demanding tasks without risking damage to the components.

The design also addresses potential interference issues that could affect sensor performance. By enclosing the QRD sensors in a protective housing, the design minimizes the impact of ambient light and other disruptive signals, thereby improving the accuracy of the tape-tracking algorithm. This consideration is vital in environments where lighting conditions can vary significantly.

The choice of power source is another crucial aspect of the TINAH board's design. The decision to use NiMH batteries over LiPo batteries was based on the need for stable current delivery without the risk of damaging fuses during operation. This highlights the importance of selecting appropriate components and power sources in ensuring the reliability and longevity of robotic systems.

Overall, the TINAH board shield represents a comprehensive approach to robotic design, integrating multiple sensors, motor control strategies, and power management techniques to create a robust platform for educational and experimental purposes in the field of engineering physics.The TINAH board shield, a printed circuit-board shield designed and built for Phys253 and first used in 2009 by Engineering Physics students and staff. The shield acts as a buffer  for protecting the digital and analog inputs and outputs of the Wiring board, and allowing for built-in functions.

- Six analog inputs were used for QRD 1114 refle ctance sensors, with five of them being used for the robot`s ability to track the black tape. Five digital inputs were used for mechanical switches, for use in collision detection. Due to the TINAH board`s limited ability to provide current to attached devices, three motor-driver circuits were built to allow the TINAH to control the motor speeds and directions using Pulse-Width Modulation (PWM), while having the current provided by the battery source. These circuits, known as H-Bridges are comprised of high-current elements that allowed the motors to be driven at much higher powers than would be possible by using PWM outputs from the TINAH alone.

By using 25A MOSFETs, the circuit shown below proved to be robust enough for the reliable operation of the robot. This sensor acts as a robotic eye  that produces infrared (IR) light, and varies its conductivity depending on the amount of infrared light that is reflected back to the phototransistor.

Due to this, it is optimal in detecting the difference in the amount of reflected light between an object that is dark (black tape) and light (white wood). Unfortunately, this sensor is also very susceptible to interference from everything from natural light, 60 Hz (utility frequency) artificial sources and IR rangefinders on cameras.

Due to this, the team created a housing to shield the sensors from these sources, to ensure the reliability of the tape-tracking algorithm. The batteries used were Nickel Metal Hydride (NiMH) cells at 16V. Although Lithium Polymer (LiPo) batteries were provided, the team found that the low internal resistance of the LiPo batteries, and the uneven switching time of the MOSFETs in the H-bridge circuits caused major current spikes, destroying several 10A fuses during the operation of the robot.

The tape-tracking inputs consisted of five QRD sensors to detect the black tape along the playing surface. Two main QRD sensors, placed at a distance from each other equalling the width of the tape on the bottom of the chassis act to steer the robot along straight portions of the tape.

In addition, two more sensors at a larger width and mounted in front of the initial tape-tracking sensors act as feed-forward sensors for determining turn direction. The last sensor, mounted on the side of the chassis, acts to align the robot with certain tape lines to ensure accurate placement and stacking of the blocks.

To detect the levels which the belt-driven arm would move to, the team used a single shielded QRD sensor attached to the arm, along with a stationary strip with several black lines to act as an encoder for the system. This situation eliminated the four mechanical micro-switches, and used a similar implementation to the tape-tracking inputs as detailed above.

🔗 External reference