Project

# Title Team Members TA Documents Sponsor
50 Weather-Resilient Camera System for Autonomous Vehicles
Adam Shore
Deyvik Bhan
Jacob Camras
John Li design_document1.pdf
final_paper2.pdf
grading_sheet1.pdf
presentation1.pdf
proposal1.pdf
video
# Weather-Resilient Camera System for Autonomous Vehicles


# Group members
- Adam Shore (ajshore2)
- Jacob Camras (camras3)
- Deyvik Bhan (deyvikb2)


# Problem:
Snow and freezing temperatures can severely impair the functionality of car cameras used for object detection, such as those in autonomous vehicles like Teslas. When snow or ice obstructs these cameras, the vehicle's object detection system may fail, leading to potential safety risks. Existing solutions are limited and often fail to address the real-time detection and prevention of this issue.


# Solution:
Our system keeps car cameras functional in adverse weather by integrating real-time detection and response mechanisms. Temperature and moisture sensors monitor conditions and detect when freezing or obstructions threaten visibility. If snow or ice accumulates, a targeted heating element activates to clear the lens, ensuring uninterrupted object detection.
To maintain visibility in the rain, an optical rain detection system identifies raindrops in real-time. A pretrained CNN, deployed with TinyML, processes camera images to detect raindrops. When rain appears, the system applies a hydrophobic nanocoating to repel water and prevent droplets from sticking to the lens. In heavier rain, the heating element warms the lens to evaporate moisture.
A microcontroller manages the entire system, processing sensor inputs and triggering the necessary responses. It runs the optimized TinyML-based CNN, which operates efficiently in low-power environments using an estimated 5-7MB of memory. A rechargeable Li-ion battery with voltage regulation ensures stable power distribution.
By combining these real-time detection and response mechanisms, our system keeps car cameras clear in all weather conditions, improving the reliability and safety of autonomous vehicle object detection systems.

# Solution Components

## OpenCV Module with Camera Subsystem:
A low-power camera will be used to capture images for processing. This system will utilize OpenCV in order to manage real-time image processing. This will allow for detecting raindrops and ice obstructions. We will use a pre trained CNN model in order to identify raindrops on the lens of the camera, similar to the following: https://github.com/tobybreckon/raindrop-detection-cnn
To summarize, the key components here include a Camera Module (OV7670 or OV5642) for real-time image capture and an OpenCV-based image processing for additional detection and filtering.



## Microcontroller Subsystem:
The primary control system will be powered by an STM32 microcontroller (STM32F746NGH6 Arm® Cortex®). This control unit will manage input from the sensors and trigger the heating and wiping mechanisms as needed. Specifically, this will act in the form as a rain sensor in order to properly trigger the outputs accordingly. We plan to use the DHT22 Temperature & Humidity Sensor. Additionally, AI-based algorithms will run to optimize real-time decision making. It will utilize TinyML to deploy the CNN to reduce the RAM needed. The system will process images from the camera and run the TinyML-based CNN model.



## Spray on-Hydrophobic Coating Subsystem:
There will be a mechanism in order to apply the hydrophobic coating when the rain is triggered. This spray solution is linked here: https://www.amazon.com/Nanoskin-NA-HQD16-Express-Hydrophobic-Polymer/dp/B00DOS0PMS?source=ps-sl-shoppingads-lpcontext&ref_=fplfs&psc=1&smid=ATVPDKIKX0DER&gPromoCode=sns_us_en_5_2023Q4&gQT=1
Before applying the hydrophobic coating we also will need to apply a spray on cleaning system. We propose a spray on product such as this one here:
Precision Optics Cleaning Solution – 2oz Spray Bottle (PLC2S
Once the product is sprayed on we will need to wipe it off the camera. We are proposing creating our own wiper using this product here
https://www.amazon.com/Micro-Helicopter-Airplane-Remote-Control/dp/B072V529YD
A cloth will be attached to this wiper to wipe off the cleaning fluid before the hydrophobic coating is applied.



## Heating Subsystem:
For our heating component, we will use a KIWIFOTOS USB Lens Dew Heater. This component is linked here: https://www.amazon.com/Temperature-Condensation-Prevention-Telescopes-80mm-110mm/dp/B08B4TJP6M?source=ps-sl-shoppingads-lpcontext&ref_=fplfs&smid=A2VY9ZK1UXR49Y&gQT=1&th=1
This component will be attached to our PCB so that our microcontroller can trigger it when needed, based on the sensor input.


## Power Subsystem
The battery subsystem will supply power to all components of the raindrop detection system, ensuring reliable operation in various environments. We plan to use a rechargeable Li-ion battery pack, likely 7.4V or 12V, depending on the power requirements of our microcontroller and sensors. A voltage regulation circuit will be implemented to step down or stabilize power for different components. A buck converter will provide a steady 3.3V or 5V for the microcontroller and sensors, while higher-power components, such as potential heating elements or additional processing units, will receive direct power as needed.





## PCB:
Used to connect the following components/systems: Camera, Microcontroller containing the CNN and sensors, Heating Component, Spray on-Hydrophobic coating, Power Subsystem





# Criterion For Success:

We will test our solution by simulating rainy and snowy conditions manually. We will pour water onto the lens and verify the hydrophobic nano coating and computer vision modules work by seeing whether or not the hydrophobic coating is sprayed when rain is detected by the CV module. if the temperature and moisture sensor work by putting ice on the camera and manually seeing if the ice has melted off, and we can see through the camera again.

The goals we aim to achieve for our project to be considered successful are as follows:

The system accurately detects raindrops and ice obstructions using the TinyML-based computer vision model and sensor inputs.
The hydrophobic nano-coating is successfully applied when raindrops are detected by the computer vision model.
The heating element activates when the temperature and moisture sensors detect freezing conditions, effectively clearing the obstruction.
The microcontroller efficiently processes the computer vision model while simultaneously handling sensor inputs and system activations.
The camera remains unobstructed and functional in simulated adverse weather conditions, allowing clear vision for object detection.
The PCB integrates all components seamlessly, ensuring stable power distribution and communication between sensors, microcontroller, and external systems.

Backpack Buddy - Wearable Proximity/Incident Detection for Nighttime Safety

Jeric Cuasay, Emily Grob, Rahul Kajjam

Backpack Buddy - Wearable Proximity/Incident Detection for Nighttime Safety

Featured Project

# Backpack Buddy

Team Members:

- Student 1 (cuasay2)

- Student 2 (rkajjam2)

- Student 3 (eegrob2)

# Problem

The UIUC campus is relatively a safe place. We have emergency buttons throughout campus and security personnel available regularly. However, crime still occurs and affects students walking alone, especially at night. Staying up late at night working in a classroom or other building can lead to a long scary walk home. Especially when the weather is colder, the streets are generally less populated and walking home at night can feel more dangerous due to the isolation.

# Solution

A wearable system that uses night vision camera sensor and machine learning/intelligence image processing techniques to detect pedestrians approaching the user at an abnormal speed or angle that may be out of sight. The system would vibrate to alert them to look around and check their surroundings.

# Solution Components

## Subsystem 1 - Processing

Processing

Broadcom BCM2711 SoC with a 64-bit quad-core ARM Cortex-A72 processor or potentially an internal microprocessor such as the LPC15xx series for image processing and voltage step-down to various sensors and actuators

## Subsystem 2 - Power

Power

Converts external battery power to required voltage demands of on-system chips

## Subsystem 3 - Sensors

Sensors

Camera - Night Vision Camera Adjustable-Focus Module 5MP OV5647 to detect objects in the dark

Proximity sensor - detects obstacle distance before turning camera on, potentially ultrasonic or passive infrared sensors such as the HC-SR04

Haptic feedback - Vibrating Mini Motor Disc [ADA1201] to alert user something was identified

# Criterion For Success

The Backpack Buddy will provide an image based solution for identifying any imposing figure within the user's blind spots to help ensure the safety of our user. Our solution is unique as there currently no wearable visual monitoring solutions for night-time safety.

potential stuff:

Potentially: GNSS for location tracking, light sensor for outdoors identification, and heartbeat for user stress levels

camera stabilization

heat camera

Project Videos