Project

# Title Team Members TA Documents Sponsor
71 E-Bike Theft Detection System
John Paul Hanley
Kacper Bakun
Paul Harris
Yulei Shen design_document1.pdf
final_paper1.pdf
other1.pdf
presentation1.pdf
video
Student 1: Kacper Bakun(kbakun2)
Student 2: John Paul Hanley(jhanley5)
Student 3: Paul Harris(pharr6)

Problem: Bicycle theft is a problem in large cities and small neighborhoods alike resulting in financial losses for companies and decreased serviceability for users of the company. Companies such as Lyft have had multiple occurrences of their Divvy bikes being stolen by "persistent rattling, shaking, or even brute force" methods. These theft attempts exploit the limitations of mechanical locking systems which do not have real time monitoring and theft deterrence once tampering begins.

The attached article below shows a video in which excessive shaking and attempts to dislodge divvy bikes have been successful. While companies try to improve their mechanical locking systems, theft strategies will always change and improve after new designs are put out. Thieves will look to exploit these systems late at night when there is no public supervision and alarm systems to alert the public.

https://www.nbcchicago.com/news/local/divvy-bike-theft-video/176532/

Solution: To combat the limitations of mechanical locking systems and address how thieves attempt to steal these Ebikes at night we would implement a system embedded onto our bike which could monitor shaking, rattling, and brute force. The system consists of a custom PCB containing a low-power microcontroller, motion and vibration sensors, and an electronic alarm interface.

The microcontroller continuously monitors sensor data to detect abnormal vibration patterns associated with rattling, excessive shaking, or brute-force tampering. Using a Finite State Machine (FSM), the system classifies behavior into normal usage, suspicious activity, and confirmed theft attempts. When activity exceeds predefined thresholds over a set time window, the system escalates its response by triggering a loud electronic alarm to deter the thief and alert nearby pedestrians.
Alarm timing and reset conditions are managed by a clocking system implemented in firmware to ensure consistent and predictable operation.

Subsystem 1: Tamper Sensing + Event Detection

This subsystem is responsible for detecting motion patterns that indicate the bike is being tampered with or moved while it is parked and armed. The design will use an accelerometer and gyroscope (IMU), such as the MPU-6050, to monitor vibration, shaking, lifting, and rotation. The IMU allows the system to detect both:

- Shaking/Vibration (repeated rapid acceleration changes typical of someone yanking the bike/lock)

- Tilt/Lift/Rotation (gravity direction changes when the bike is lifted or the frame angle changes)

- Filtering for noisy data

- To improve reliability and reduce false alarms (wind, small bumps, people brushing past), the algorithm will evaluate motion over short time windows rather than triggering on a single spike. An optional vibration/impact sensor can be added as a secondary confirmation source, but the IMU will be the primary sensing method. We will also use a Digital Low Pass Filter that will block any unnecessary background movement to prevent it from having false alarms and unreadable data values.

Component:

- MPU-6050 Inertial Measurement Unit (IMU)

- Digital Low-Pass Filter (DLPF)

- Possible Additional Feature: Use a short-time window + RMS (filters out random bumps)

- Instead of triggering on a single spike, compute RMS energy over a window

Subsystem 2: Control + Finite State Machine (FSM)

- This decides whether motion is normal or a theft attempt and controls escalation behavior. We will implement an FSM with set thresholds that decide whether a reading from the accelerometer is safe, suspicious, or alarming.

Components:

- 1 low-power microcontroller (ESP32 / STM32 / nRF52 / ATmega328P)

- Firmware timer/clocking for consistent alarm timing

Subsystem 3: Alarm + Public Deterrence

- This subsystem makes the theft attempt obvious and unpleasant.

Components:

- 1 alarm siren reaching 75 dB from 1 meter away

- This subsystem produces the physical response when theft is detected. A high-decibel alarm will be driven using a transistor or MOSFET driver so the microcontroller can control it safely. The response will be designed to trigger quickly and be loud enough to deter theft and attract attention.

Subsystem 4: Testing and Validation Setup

- This subsystem validates system performance through bench and field testing. Bench tests will involve controlled shaking and lifting to verify detection timing and alarm activation. Field testing will include parking the bike in realistic environments to ensure the system reliably detects theft attempts while minimizing false alarms from normal disturbances.

Criterion for Success

The Smart Bike Theft Detection System will be considered successful if it meets the following performance criteria during bench and field testing:

Tamper Detection Accuracy:

- The system must correctly distinguish between normal environmental motion and theft-like tampering with an accuracy of at least 90% over 40 test trials.

- Normal motion trials include light bumps, wind-induced movement, and brief contact from pedestrians.

- Tamper trials include sustained shaking, repeated rattling, lifting, and rotation of the bike frame.

- During 30 minutes of continuous normal parking conditions, the system must trigger no more than one false alarm. This ensures the system is practical for real-world deployment without frequent nuisance alerts.

Detection Latency:

- For sustained theft-like activity, the system must transition from the armed state to the alarm state within 2 seconds of the tampering event beginning.

Alarm Effectiveness:

- When a confirmed theft attempt is detected, the alarm subsystem must produce a response that is clearly noticeable to nearby pedestrians:

- The device must produce a minimum sound pressure level of 75dB measured at a distance of 1 meter.

FSM Reliability and Recovery:

- The Finite State Machine must correctly transition between idle, suspicious, alarm, and reset states without software crashes or undefined behavior over 10 consecutive alarm cycles, returning to the idle state after reset conditions are met.

Tesla Coil Guitar Amp

David Mengel, Griffin Rzonca

Featured Project

# Tesla Coil Guitar Amp

Team Members:

* Griffin Rzonca (grzonca2)

* David Mengel (dmengel3)

# Problem:

Musicians are known for their affinity for flashy and creative displays and playing styles, especially during their live performances. One of the best ways to foster this creativity and allow artists to express themselves is a new type of amp that is both visually stunning and sonically interesting.

# Solution:

We propose a guitar amp that uses a Tesla coil to create a unique tone and dazzling visuals to go along with it. The amp will take the input from an electric guitar and use this to change the frequency of a tesla coil's sparks onto a grounding rod, creating a tone that matches that of the guitar.

# Solution Components:

## Audio Input and Frequency Processing -

This will convert the output of the guitar into a square wave to be fed as a driver for the tesla coil. This can be done using a network of op-amps. We will also use an LED and phototransistor to separate the user from the rest of the circuit, so that they have no direct connection to any high voltage circuitry. In order to operate our tesla coil, we need to drive it at its resonant frequency. Initial calculations and research have this value somewhere around 100kHz. The ESP32 microcontroller can create up to 40MHz, so we will use this to drive our circuit. In order to output different notes, we will use pulses of the resonant frequency, with the pulses at the frequency of the desired note.

## Solid-state switching -

We will use semiconductor switching rather than the comparably popular air-gap switching, as this poses less of a safety issue and is more reliable and modifiable. We will use a microcontroller, an ESP 32, to control an IR2110 gate driver IC and two to four IGBTs held high or low in order to complete the circuit as the coil triggers, acting in place of the air gap switch. These can all be included on our PCB.

## Power Supply -

We will use a 120V AC input to power the tesla coil and most likely a neon sign transformer if needed to step up the voltage to power our coil.

## Tesla Coil -

Consists of a few wire loops on the primary side and a 100-turn coil of copper wire in order to step up voltage for spark generation. Will also require a toroidal loop of PVC wrapped in aluminum foil in order to properly shape the electric field for optimal arcing. These pieces can be modular for easy storage and transport.

## Grounding rod -

All sparks will be directed onto a grounded metal rod 3-5cm from the coil. The rest of the circuit will use a separate neutral to further protect against damage. If underground cable concerns exist, we can call an Ameren inspector when we test the coil to mark any buried cables to ensure our grounding rod is placed in a safe location.

## Safety -

Tesla coils have been built for senior design in the past, and as noted by TAs, there are several safety precautions needed for this project to work. We reviewed guidelines from dozens of recorded tesla coil builds and determined the following precautions:

* The tesla coil will never be turned on indoors, it will be tested outside with multiple group members present using an outdoor wall outlet, with cones to create a circle of safety to keep bystanders away.

* We will keep everyone at least 10ft away while the coil is active.

* The voltage can reach up to 100kV (albeit low current) so all sparks will be directed onto a grounding rod 3-5cm away, as a general rule of thumb is each 30kV can bridge a 1cm gap.

* The power supply (120-240V) components will be built and tested in the power electronics lab.

* The coil will have an emergency stop button and a fuse at the power supply.

* The cable from the guitar will use a phototransistor so that the user is not connected to a circuit with any power electronics.

# Criterion for Success:

To consider this project successful, we would like to see:

* No safety violations or injuries.

* A tesla coil that produces small visible and audible 3-5cm sparks to our ground rod.

* The coil can play several different notes and tones.

* The coil can take input from the guitar and will play the corresponding notes.

Project Videos