top of page

Electrical Design

Our Circuits

Every circuit was assembled, soldered and debugged by each team member. General board layout was planned as a group while exact placement was left up to personal discretion.

117334572_595072134488953_48681290882117

The following circuits were located on wide PCB's, dubbed 'Natasha' boards:

  • 2 H-bridges, which enabled direction reversal of main driving wheels. Compact IC's were not used - as a learning opportunity, these circuits were built from individual components

  • 2 Optoisolators to communicate with the microcontroller

The following circuits were connected to broad PCB's, dubbed 'Boris' boards:

  • STM32 'Blue Pill' microcontroller

  • Sonar sensor to detect aluminum cans

  • 3 Optoisolators to protect microcontroller and issue commands to servo motors 

  • 2 Schmitt Trigger circuits to allow incremental registering of mechanical switches

  • Potentiometers for PID tuning, allowing for quick and convenient adjustment

20210107_154734.jpg

On the underside of the robot, reflectance sensor circuits were used for tape following

EMI Considerations

Board architecture relied heavily on noise considerations throughout the project. Various techniques our team used to mitigate potential issues are described below:

  • Sensitive control circuitry was isolated on the 'Boris' board while "noisier" circuits were placed on the 'Natasha' board

  • Optoisolators were used when the microcontroller interfaced with DC or servo motors

  • A faraday cage was built to house control circuitry - a layer of aluminum foil was used as the cage and was placed in-between construction paper to minimize the risk of a short circuit

  • Shielded cables protected all outgoing control connections from the 'Boris' board, i.e., tape sensor, sonar, and H-bridge control circuits

  • Lengths of all connective wires were reduced to decrease inherent resistance

  • Assorted decoupling capacitors

Design Awareness

Initial battery selection

  • Our team performed current draw tests to select the number of 9V batteries to optimize battery life and robot weight

  • Current draw from the SG-90 and MG996R Servo Motors were found under various loads, yielding the graphs below

  • The number of 9V batteries (3) were selected using a Voltage vs Service Life graph taken from it's datasheet, provided by Duracell

Rechargeable AA batteries

  • Most of our members adopted AA rechargeable batteries during testing and integration, to achieve greater current output than 9V's and ultimately reduce waste

Blue servo current test results.JPG
Black servo current test results.JPG

Servo - Current vs Applied Load 

border 9V datasheet.JPG

Duracell 9V - Voltage vs Life 

bottom of page