Project

# Title Team Members TA Documents Sponsor
45 PulseGuard: Hardware Encoder Integrity Monitor
Chinmay Naveen
Sanjiv Kondin
Alex Lee design_document1.pdf
proposal1.pdf
* Sanjiv Kondin (skond32)
* Chinmay Naveen (cnaveen2)
*third student

Problem

Wheel encoders are commonly used by robots to measure how fast their wheels are turning and how far the robot has moved. If an encoder signal becomes corrupted, such as from missing pulses, extra pulses, or a disconnected signal, the robot may continue using incorrect measurements without knowing there is a problem.

We propose PulseGuard, a system that checks whether the encoder measurements are reliable by comparing them with an independent measurement from an IMU. The system will intentionally create encoder faults during testing and determine whether PulseGuard can detect the difference between the encoder and IMU measurements.

Solution

We will design and build a system that connects two wheel encoders, an IMU, and a microcontroller. The microcontroller will read the encoder signals and calculate the robot's turning speed. It will then compare this value with the turning speed measured by the IMU.

If the difference between the two measurements becomes larger than a selected threshold for a certain amount of time, the system will report that the encoder may have a fault.

The system will also include a simple fault-injection circuit that allows us to create different encoder problems during testing. This will allow us to test whether PulseGuard can detect real encoder faults in a controlled and repeatable way.

The design breaks down into four subsystems: encoder interface, fault injection, IMU sensing, and firmware.

Solution Components
Encoder Interface

The system will connect two wheel encoders to the microcontroller. The encoders will provide signals that show how fast each wheel is turning.

The encoder signals will be cleaned up using a Schmitt-trigger circuit before being sent to the microcontroller. This will help make sure the microcontroller receives clear digital signals.

Both encoder channels will be used so that the system can determine wheel movement and direction.

Part numbers (subject to change):

74HC14 Schmitt-trigger inverter
Resistors
Capacitors
Encoder connectors
Fault Injection

The system will include a simple circuit that allows us to intentionally change one encoder signal during testing.

Three types of faults will be tested:

Missing pulses
Extra pulses
Interrupted signal

A switch will be used to choose between the normal encoder signal and the modified signal.

The microcontroller will control when the fault is added so that the exact time of the fault can be recorded.

Part numbers (subject to change):

74HC4053 analog switch
74HC14 Schmitt-trigger inverter
Resistors
Capacitors
IMU and Fault Detection

A BNO085 IMU will be used to measure the robot's turning speed using its gyroscope.

The microcontroller will calculate the turning speed using the two encoder measurements and compare it with the turning speed measured by the IMU.

If the two measurements are different by more than a selected amount, the system will consider the encoder measurement unreliable.

A small delay will be used before reporting a fault so that normal sensor noise does not cause false alarms.

Part numbers (subject to change):

BNO085 IMU
I2C connections
Supporting capacitors
Firmware and Data Logging

The microcontroller will handle the encoder signals, IMU data, fault injection, and fault detection.

During testing, the system will record:

Encoder measurements
IMU measurements
Fault type
Fault injection time
Fault detection time
Fault status

The data will be sent to a computer through USB serial so that the results can be reviewed after testing.

Criterion For Success
High-level goals
Detect at least 90% of the encoder faults that are intentionally created.
Detect an encoder fault within 500 ms.
Keep the false-positive rate below 5% during normal operation.
Detect all three tested fault types:
Missing encoder pulses
Extra encoder pulses
Interrupted encoder signal
Correctly compare encoder and IMU measurements.
Record the time when a fault is created and detected.
Successfully send test data to a computer.
Testing/Demo

The system will first be tested without any faults to make sure the encoder and IMU measurements agree during normal operation.

The encoder signals will then be tested using an oscilloscope to make sure the system is receiving clean signals.

Each of the three fault types will be injected separately. At least 10 tests will be performed for each fault type.

During testing, the system will record the encoder measurement, IMU measurement, fault type, and detection time.

The system will also be tested during different types of motion, including:

Straight-line motion
Turning
Stopping and starting

The detection time will be calculated by comparing the time the fault was created with the time PulseGuard detected it.

Normal operation without injected faults will also be tested to determine the false-positive rate.

For the final demonstration, the robot will operate normally while PulseGuard monitors the encoder measurements. A controlled encoder fault will then be introduced. PulseGuard should detect the disagreement between the encoder and IMU and report an encoder fault.

The final results will demonstrate the system's ability to detect encoder faults, measure detection time, and avoid reporting faults during normal operation.

Smart Tripod

Miguel Domingo, Kadin Shaheen, Henry Thomas

Smart Tripod

Featured Project

# Smart Tripod

Team Members:

- Henry Thomas (henryjt3)

- Kadin Shaheen (kadinas2)

- Miguel Domingo (jdomi8)

1. Problem

Traditional tripods provide stability for cameras and smartphones but lack dynamic adjustability and real-time framing assistance. When setting up a shot, users must manually adjust the tripod’s angle and position, often requiring multiple iterations to get the perfect frame. This is especially inconvenient for solo photographers, vloggers, or group shots where precise positioning is essential. Additionally, while taking personal videos, standard tripods will not adjust their camera angle to ensure you stay in frame and centered. Though motor controlled tripods do exist, they lack the extra functionality of being able to view your camera image real time, and do not offer automatic subject tracking.

2. Solution

We are creating a smart tripod system that enhances traditional tripods by integrating motorized adjustments and real-time framing assistance. This system will allow users to remotely control their phone’s position and preview the shot through an external display, making it easier to capture well-framed images and videos without manual repositioning. The smart tripod will connect wirelessly to a user’s smartphone and use stepper motors to adjust the phone’s angle and orientation. An external display will provide a live preview of the camera feed and serve as the control interface for adjusting the tripod’s position. The system will also include a tracking feature where the camera will follow a subject, adjusting the camera’s orientation ensuring that the subject stays centered on the field of view.

3. Solution Components

Subsystem 1 - Motorized Positioning System (MPS)

The MPS will utilize 2 stepper motors for zenith and azimuth orientation. The main body will be made out of a non-toxic 3d printed body, most likely PLA. It will also include a phone mount and clamp made of the same material. The MPS will have the following electronic components: Custom PCB, An ESP32 for Websocket interfacing and motor control, 2 Makerlabs DRV8825 stepper motor controller, 2 Adafruit 324 12V 350ma stepper motors, A power system (discussed below)

Subsystem 2 - Remote Display and Control Interface

The ESP32S3 controls the tripod’s motors via WebSockets over WiFi, with physical buttons for azimuth (horizontal) and zenith (vertical) adjustments. A Raspberry Pi 4, running RPiPlay, wirelessly receives the iPhone’s camera feed via AirPlay and displays it on a Waveshare 2.4-inch SPI LCD. OpenCV on the Raspberry Pi processes the video to track a subject, sending position data via GPIO through a SparkFun BSS138 Logic Level Translator to the ESP32S3, which adjusts the tripod accordingly. A switch toggles between tracking and manual modes. WebSockets over Wi-Fi enable motor control and iPhone camera actions (photo, video, zoom). The ESP32S3 provides a shared Wi-Fi network for seamless communication. The remote control interface will also contain a custom pcb and a power system, the latter of which is discussed below.

Subsystem 3 - App Interface

A custom app will use WebSockets to receive ESP32S3 commands over Wi-Fi and control iPhone camera functions via AVFoundation, including video start/stop, photo capture, and zoom.

Subsystem 4 - MPS Power System

This subsystem is intended to supply power to the stepper motors, esp32, and motor drivers. The power system will include: 1 KBT 12V, 2600mAh Li-Ion battery pack, 1 Recom R-78B3.3-1.0 3v3 buck converter

Subsystem 5 - Remote Display and Control Interface Power System

The power system of the control interface is designed to supply and maintain onboard power to the Raspberry PI, ESP32S3, and other onboard circuit. The power system will include:, 1 3v7 LiPo 2000mAh 2c battery, a 1S 3v7 2c (4 amp working) BMS, A Type-C connector for charging, A 3v3 step down voltage regulator for the ESP32 and Logic Level Translator, 1 5V step up voltage regulator for the Raspberry Pi, Logic Level Translator, and LCD display

4. Criterion For Success

- Motors must respond to inputs and tracking commands within 250ms with precise movement (±2°).

- iPhone camera actions (photo, video, zoom) must trigger within 500ms over Wi-Fi.

- iPhone screen must stream to the remote display via AirPlay with <1s latency and ≥24 FPS.

- Tracking must detect and follow the subject within 250ms after receiving video, maintaining focus on the first detected subject.

- The system must run for at least 30 minutes without overheating, maintaining stable operation.

Project Videos