Project

# Title Team Members TA Documents Sponsor
19 Soccer Tracking Laser Gimbal
Aaron Zhang
Colin Smithsuvan
Jayden Kim
Wesley Pang design_document1.pdf
proposal1.pdf
\#\#\# Soccer Tracking Laser Gimbal

Team Members:

- Colin Smithsuvan ([colin9@illinois.edu](mailto:colin9@illinois.edu))
- Jayden Kim ([jaydenk2@illinois.edu](mailto:jaydenk2@illinois.edu))
- Aaron Zhang ([aaronz4@illinois.edu](mailto:aaronz4@illinois.edu))

\# Problem
Typical sports broadcasting cameras are human controlled for tracking objects. We'd like to try to automate this with a vision-based system and track a soccer ball, specifically two people passing the ball to each other. This could help reduce human error and smooth out the motion of the camera and keep the object being tracked more centered in the filming camera's field of view. An extended scope of this project is tracking of an entire field.

\# Solution
We aim to solve this problem by having a camera positioned on a gimbal’s arm, which follows the movement of the soccer ball. This way, the ball is always positioned in the center of the camera frame, regardless of where the ball is being moved. For tracking the ball, we plan to deploy a vision detection model, which is trained to detect the soccer ball with real-time accuracy and latency. From there, we will have an arm with a camera at the base along with a laser which points at the ball for human verification. This arm will track the movement of the ball, which in turn will move the camera with it. This way, we can fully track where the ball is moving at all times with the ball in the center of the frame.

\# Solution Components
Laptop, Custom PCB, Motors, Power Supply

\#\# Subsystem 1
Laptop

- HP Pavilion Plus with RTX 4050 GPU and Intel Ultra 7 CPU with 1 TB storage and 32 GB of RAM.

\#\# Subsystem 2
Custom PCB

1) Power
1) Based on motor nominal voltage, the input bus voltage/dc link voltage will be 24V
2) To power the CAN transceiver, there needs to be 5V as characteristic of CAN
3) To support the logic level components like the microcontroller, gate driver logic supply, ethernet PHY, and others there will need to be a 3.3V rail
1) There will potentially be both an analog and digital 3.3V rail where the two are separated by a ferrite bead to keep any switching or digital noise from propagating onto the analog rail
4) To generate the 5V, 3V3\_D, and 3V3\_A rails, we plan to not design a custom switching converter circuit and buy a power conversion “brick”
2) Microcontroller
1) STM32H753
1) Contains CAN/CANFD controller, ethernet MAC, 16-bit ADCs, 16 and 32-bit high-resolution timers
2) Depending on number of ADCs and GPIOs needed can select from the different pin packages
1) ADCs and GPIOs will be used for sensing circuits, encoder interfaces, or telemetry we want
3) Inverter
1) Gate Driver
1) Smart gate driver IC \- DRV8304
2) H-bridge FETs
1) N-channel fets for the three H-bridges \- will need to size the FETS to fit within the maximum phase currents of the selected BLDCs (1.4A) \- 06N06L
1) 60V VDS, 5.5A
4) Communications
1) CAN
1) TCAN3403DRQ1
2) Ethernet
1) PHY \- LAN8742
2) RJ45 Connector \+ Magnetics

\#\# Subsystem 3
Motors

- The motors will be used to drive the motion of the two axis gimbal and allow the object to remain near center of the camera’s FOV
- Initially planned to use a brushless DC motor in order to learn the inverter stage design
- Fallback plan to use an integrated servo or brushed DC motor if unable to get brushless design working
- Motor will need an encoder interface for position tracking at low speed
- Motor PN: DFRobot 4015 3-phase brushless motor
- 24V, 1.4A

\#\# Subsystem 4
Power Supply

- Any power supply capable of 24V at \~10 A

\#\# Subsystem 5
Firmware

- State machine should look similar to this: INIT, CALIBRATE, IDLE, TRACKING, COAST (target lost, extrapolate briefly), SEARCH (scan pattern, FAULT)
- Input capture on camera trigger latches encoder counts at exposure where the timebase is shared with the laptop
- Potentiometer open-loop mode for inverter bring-up to test hardware before any vision/software code exists
- Telemetry streaming at full loop rate
- Drivers for Ethernet packing/unpacking, SPI, MAC, Auxiliary functions, timer, led controls, logic level gate control, etc

\#\# Subsystem 6
Vision Model

- Any on-device model for real-time streaming that can accurately provide bounding boxes. We will take these bounding boxes and take the middle of the bounding box for the location that the laser should point to. The SOTA model that we will try first is YOLOv26 since it provides fast on-device inference and is primarily trained on datasets such as COCO, which include a class for “sports ball.”
- We may also need the camera intrinstics and extrinstics to map the image pixel coordinates to real world coordinates to understand how much to move the turret arm in the real world relative to the image detected bounding box.
- In order to map from pixel coordinates to real world coordinates, our biggest challenge is accurate depth estimation which is required for perspective projection. Single camera depth estimation is an on-going research challenge with many models not being industry ready. Therefore, we may have to implement two gimbals for triangulation or to use a simple lidar for more accurate depth estimation for backup. However, our primary method of approach is to try monocular depth estimation models for our single camera use case.

\# Criterion For Success
Primary Objective: Demonstrate a closed loop, vision guided camera platform that keeps a moving target centered in frame.

High Level Goals

- Standalone vision model provides accurate bounding boxes on a soccer ball on laptop
- Camera can successfully send gimbal position data to the MCU
- MCU successfully ingests data and passes to the laptop
- Laptop can run vision model inference and send position of where the gimbal should point back to the gimbal
- Gimbal is able to move within a 120 degree field of vision both vertically and horizontally to match the position of the object detected
- Keep a moving target centered in frame at all times autonomously
- Gimbal is able to move fast enough to keep the target in frame.
- Inference is developed with low-enough latency to have a fast closed-loop

Bird Simulator

Anthony Amella, Emily Liu, Eli Yang

Bird Simulator

Featured Project

# Bird Simulator

Team Members:

- Anthony Amella (aamel2)

- Emily Liu (el20)

- Eli Yang (eliyang2)

# Problem

FPV drones give people a chance to experience immersive flight through FPV goggles, improving engagement. However, this immersion is primarily visual and does not allow for physical control such as motion cues or body orientation. This results in an experience with a realism factor missing for people who want an even more exhilarating experience.

# Solution

Our bird simulator will allow the pilot to control a drone using motion. This system will consist of a drone with a camera, FPV goggles, and a suit connected to IMUs that can be worn by a person that will read information about how their body moves and is oriented. The motion captured by the suit will then be converted to instructions that the drone can use to maneuver in its environment.

# Solution Components

## Visuals

We will use 5.8 GHz radio to transmit video data from the drone to the goggles using a pair of transmitters and receivers (RTC6705 and RTC6715). These RF modules handle amplifying, mixing, and modulating/demodulating signals, while leaving us the ability to configure and program the module through SPI with a microcontroller. We will use a camera that outputs analog video to be transmitted by the RTC6705 and received by the RTC6715 module in the goggles to be converted to composite video and displayed on a small screen.

We expect the development of the other subsystems to require a lot of trial and error, so we will develop a virtual simulation environment using JavaScript/WebGL that will allow testing with less safety concerns.

## Drone

We will design and manufacture a drone from scratch. The body of the drone will be made through a waterjet from carbon fiber, similar to existing COTS racing drones. Tentatively, we will make the drone on a 3-inch frame. Notably, the drone will have a servo attached to the FPV camera, which will allow for pitch to be changed mid-flight. This will allow the drone to look forward, regardless of the position of the actual drone body. This will allow the FPV pilot to feel more like a bird, since birds generally look forward during flight, regardless of their speed. The drone will consist of a 5.8GHz AM radio transmitter, as described above, as well as a 2.4GHz SX1280 receiver for control signals from the pilot. We will also make our own ESCs, allowing us to control the motors with a custom BLDC controller with FDMC8010 MOSFETs. The drone will have auto-leveling capabilities, harnessing the IMU in the drone body. This will allow for easier flight, with the drone staying roughly level.

## Control

There will be 4 IMUs embedded in a wearable suit that will collect data to be combined and used to determine the motion and orientation of the user: one on each arm, one on the head, and one on the torso. We plan to use the IIM-20670 which includes a gyroscope and accelerometer and communicates with the MCU using SPI. Movements such as head rotation, wing flapping, body orientation, and others to be determined will be translated to stick inputs on a normal drone controller.

We will also make a normal drone controller to override suit inputs and take over control in case the drone starts behaving unexpectedly. Both the suit and the controller will transmit signals using a 2.4 GHz transceiver (SX1280), which will be received by the drone also equipped with an SX1280. Using these modules requires writing driver code to facilitate communication with the MCU.

# Criterion For Success

At a minimum, we will make a drone that is able to control four BLDC motors, as well as receive 2.4GHz control signals and transmit 5.8GHz video. The drone will have some form of auto-leveling with a built in IMU, as well as a camera with variable pitch. We will also make a bird suit, with four IMUs that can generate signals that could control the drone. These signals will initially be used to control a drone simulator, programmed in WebGL. If time permits, these signals will also control the drone, allowing for real-world flight. Of note, Eli Yang has a FAA Remote Pilot Certification, allowing for legal outside flight. To start, we will use off-the-shelf FPV goggles, but we will make our own if time permits.

Project Videos