Capstone 2020 Presentation - UCSByoga/capstone/static/img/...STM32 MCU, Power Supplies, & I/O...

23
Capstone 2020 Presentation

Transcript of Capstone 2020 Presentation - UCSByoga/capstone/static/img/...STM32 MCU, Power Supplies, & I/O...

Page 1: Capstone 2020 Presentation - UCSByoga/capstone/static/img/...STM32 MCU, Power Supplies, & I/O Developed software to perform RF scan, collect & analyze RF data and display Bluetooth

Capstone 2020 Presentation

Page 2: Capstone 2020 Presentation - UCSByoga/capstone/static/img/...STM32 MCU, Power Supplies, & I/O Developed software to perform RF scan, collect & analyze RF data and display Bluetooth

BlueDentist Project Summary Develop a portable, wideband

SDR module that utilizes a GPU for digital signal processing

Develop firmware and software to monitor and analyze Bluetooth signals

Page 3: Capstone 2020 Presentation - UCSByoga/capstone/static/img/...STM32 MCU, Power Supplies, & I/O Developed software to perform RF scan, collect & analyze RF data and display Bluetooth

Team

Jeff Longo Chris Chan Griffin Danninger Zach Battles

Hardware DesignJetson integration

High-speed design

MCU firmware

Hardware DesignMCU integration

Power management design

Jetson adaptation

Software DesignDriver configuration

Algorithm optimization

Software testing

Software DesignThread building

Algorithm design

Library integration

Page 4: Capstone 2020 Presentation - UCSByoga/capstone/static/img/...STM32 MCU, Power Supplies, & I/O Developed software to perform RF scan, collect & analyze RF data and display Bluetooth

Bluetooth Spectrum

● Spread spectrum frequency hopping on 79 channels

● 48-bit unique addresses

● Device announces presence when in discoverable mode

BlueDentist identifies and records all activity when Bluetooth device is not in discoverable mode

Page 5: Capstone 2020 Presentation - UCSByoga/capstone/static/img/...STM32 MCU, Power Supplies, & I/O Developed software to perform RF scan, collect & analyze RF data and display Bluetooth

Application –Analyze Bluetooth RF Signals

BlueDentist

Bluetooth Master Device

Bluetooth Master Device

Bluetooth Master Device

Bluetooth Master Device

Page 6: Capstone 2020 Presentation - UCSByoga/capstone/static/img/...STM32 MCU, Power Supplies, & I/O Developed software to perform RF scan, collect & analyze RF data and display Bluetooth

BlueDentist Implementation

Page 7: Capstone 2020 Presentation - UCSByoga/capstone/static/img/...STM32 MCU, Power Supplies, & I/O Developed software to perform RF scan, collect & analyze RF data and display Bluetooth

Hardware Block Diagram

NVIDIA Jetson & high-speed peripherals:

● PCI Express○ XTRX Software-defined radio○ 1TB SSD

● HDMI

● USB 3.0

● Gigabit Ethernet

STM32 Board Supervisor Microcontroller:

● Power up sequencing

● Power management

Page 8: Capstone 2020 Presentation - UCSByoga/capstone/static/img/...STM32 MCU, Power Supplies, & I/O Developed software to perform RF scan, collect & analyze RF data and display Bluetooth

Hardware Schematic

Page 9: Capstone 2020 Presentation - UCSByoga/capstone/static/img/...STM32 MCU, Power Supplies, & I/O Developed software to perform RF scan, collect & analyze RF data and display Bluetooth

Hardware Schematic

Page 10: Capstone 2020 Presentation - UCSByoga/capstone/static/img/...STM32 MCU, Power Supplies, & I/O Developed software to perform RF scan, collect & analyze RF data and display Bluetooth

Hardware Circuit Board Layout

● High Density○ 8 layers○ 7” by 7” size

● High Speed○ Custom board stackup○ Impedance control○ Matched lengths

● High Power○ 65 Watts○ Thermal considerations

Page 11: Capstone 2020 Presentation - UCSByoga/capstone/static/img/...STM32 MCU, Power Supplies, & I/O Developed software to perform RF scan, collect & analyze RF data and display Bluetooth

Finished Hardware

Page 12: Capstone 2020 Presentation - UCSByoga/capstone/static/img/...STM32 MCU, Power Supplies, & I/O Developed software to perform RF scan, collect & analyze RF data and display Bluetooth

Software Flow Chart

● ISM24○ Master program controls capture,

decoding, and monitoring

● Capture Thread○ Collects samples and buffers

frames for analysis

● Analysis Thread○ Channelizes and calculates power

level for each frame

● Noise Estimation Thread○ Establishes noise floor for filtering

● Bluetooth Decode Thread○ Obtains Access Codes

Page 13: Capstone 2020 Presentation - UCSByoga/capstone/static/img/...STM32 MCU, Power Supplies, & I/O Developed software to perform RF scan, collect & analyze RF data and display Bluetooth

Software Flow Chart

● ISM24○ Master program controls capture,

decoding, and monitoring

● Capture Thread○ Collects samples and buffers

frames for analysis

● Analysis Thread○ Channelizes and calculates power

level for each frame

● Noise Estimation Thread○ Establishes noise floor for filtering

● Bluetooth Decode Thread○ Obtains Access Codes

Page 14: Capstone 2020 Presentation - UCSByoga/capstone/static/img/...STM32 MCU, Power Supplies, & I/O Developed software to perform RF scan, collect & analyze RF data and display Bluetooth

Software Flow Chart

● ISM24○ Master program controls capture,

decoding, and monitoring

● Capture Thread○ Collects samples and buffers

frames for analysis

● Analysis Thread○ Channelizes and calculates power

level for each frame

● Noise Estimation Thread○ Establishes noise floor for filtering

● Bluetooth Decode Thread○ Obtains Access Codes

Page 15: Capstone 2020 Presentation - UCSByoga/capstone/static/img/...STM32 MCU, Power Supplies, & I/O Developed software to perform RF scan, collect & analyze RF data and display Bluetooth

Software Flow Chart

● ISM24○ Master program controls capture,

decoding, and monitoring

● Capture Thread○ Collects samples and buffers

frames for analysis

● Analysis Thread○ Channelizes and calculates power

level for each frame

● Noise Estimation Thread○ Establishes noise floor for filtering

● Bluetooth Decode Thread○ Obtains Access Codes

Page 16: Capstone 2020 Presentation - UCSByoga/capstone/static/img/...STM32 MCU, Power Supplies, & I/O Developed software to perform RF scan, collect & analyze RF data and display Bluetooth

Software Flow Chart

● ISM24○ Master program controls capture,

decoding, and monitoring

● Capture Thread○ Collects samples and buffers

frames for analysis

● Analysis Thread○ Channelizes and calculates power

level for each frame

● Noise Estimation Thread○ Establishes noise floor for filtering

● Bluetooth Decode Thread○ Obtains Access Codes

Page 17: Capstone 2020 Presentation - UCSByoga/capstone/static/img/...STM32 MCU, Power Supplies, & I/O Developed software to perform RF scan, collect & analyze RF data and display Bluetooth

Data Collection

● Monitor 2.4 GHz band for

bursts of activity

● Process activity above the

noise threshold(0 MHz at 2.425 GHz)

Bluetooth Signal

Page 18: Capstone 2020 Presentation - UCSByoga/capstone/static/img/...STM32 MCU, Power Supplies, & I/O Developed software to perform RF scan, collect & analyze RF data and display Bluetooth

Bluetooth Decoding

● Channelize the frame

● Demodulate each channel

● Frequency Modulate Squelch each signal

● Identify sync words and extract lower

address parts (LAP) from access codes

From the Bluetooth Core Specification

Page 19: Capstone 2020 Presentation - UCSByoga/capstone/static/img/...STM32 MCU, Power Supplies, & I/O Developed software to perform RF scan, collect & analyze RF data and display Bluetooth

Bluetooth Monitoring

● Identify access codes in 2.4GHz band activity

● Highlight activity of specified target devices

● Record full packet data for later inspection

Page 20: Capstone 2020 Presentation - UCSByoga/capstone/static/img/...STM32 MCU, Power Supplies, & I/O Developed software to perform RF scan, collect & analyze RF data and display Bluetooth

Demo Session

Demonstration Video

Page 21: Capstone 2020 Presentation - UCSByoga/capstone/static/img/...STM32 MCU, Power Supplies, & I/O Developed software to perform RF scan, collect & analyze RF data and display Bluetooth

Software Design Challenges Faced

● Driver library integration/debugging

● Multithreading

● CUDA optimization

● XTRX tuning

● Noise threshold parameters

Page 22: Capstone 2020 Presentation - UCSByoga/capstone/static/img/...STM32 MCU, Power Supplies, & I/O Developed software to perform RF scan, collect & analyze RF data and display Bluetooth

Project Summary / Milestones

● Designed, assembled and tested BlueDentist Module○ XTRX Software Defined Radio○ NVIDIA Jetson Xavier SOM○ STM32 MCU, Power Supplies, & I/O

● Developed software to perform RF scan, collect & analyze RF data and display Bluetooth signal parameters

● Received congratulations and thank you email from sponsor

Page 23: Capstone 2020 Presentation - UCSByoga/capstone/static/img/...STM32 MCU, Power Supplies, & I/O Developed software to perform RF scan, collect & analyze RF data and display Bluetooth

Acknowledgements

Rory McCarthyJames Cook

Duane GardnerYogananda Isukapalli

Aditya WadaskarKyle Douglas

Thank You!