comprehensive design review (cdr) - umass amherst team 16.pptx.pdfdepartment of electrical and...
TRANSCRIPT
![Page 1: Comprehensive Design Review (CDR) - UMass Amherst Team 16.pptx.pdfDepartment of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor](https://reader030.vdocuments.site/reader030/viewer/2022041003/5ea5b6c2aed61b7f304177c2/html5/thumbnails/1.jpg)
1Department of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor Holcomb
Team 16February 29, 2016
Comprehensive Design Review (CDR)
1
Neptune
![Page 2: Comprehensive Design Review (CDR) - UMass Amherst Team 16.pptx.pdfDepartment of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor](https://reader030.vdocuments.site/reader030/viewer/2022041003/5ea5b6c2aed61b7f304177c2/html5/thumbnails/2.jpg)
2Department of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor Holcomb
Team 16 Introduction
2
Hang DoEE ’16
Alarm & Power System
Frankie ViscusiEE ’16 - Team ManagerPower System & PCB
Design
Scott PowellEE ’16
Camera & Audio Analysis
Faculty Advisor: Daniel Holcomb
![Page 3: Comprehensive Design Review (CDR) - UMass Amherst Team 16.pptx.pdfDepartment of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor](https://reader030.vdocuments.site/reader030/viewer/2022041003/5ea5b6c2aed61b7f304177c2/html5/thumbnails/3.jpg)
3Department of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor Holcomb
What is Neptune?
Drowning Prevention and Pool Security System Uses a PIR sensor to detect movement in
combination with audio analysis to detect splashes
Alerts those nearby with audible alarm located poolside
Contacts the person in charge by messaging MMS picture
3
![Page 4: Comprehensive Design Review (CDR) - UMass Amherst Team 16.pptx.pdfDepartment of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor](https://reader030.vdocuments.site/reader030/viewer/2022041003/5ea5b6c2aed61b7f304177c2/html5/thumbnails/4.jpg)
4Department of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor Holcomb
Block Diagram - Neptune
4
Sensing CommunicationComputation
(Raspberry Pi 2)
Wifi
Signal Processing
PIR
Microphone
Camera & Illumination
Alarm
Mobile Device
Rx Tx
GPIO
USB
CSI-2
WIFI/LTE
GPIO
Scott
![Page 5: Comprehensive Design Review (CDR) - UMass Amherst Team 16.pptx.pdfDepartment of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor](https://reader030.vdocuments.site/reader030/viewer/2022041003/5ea5b6c2aed61b7f304177c2/html5/thumbnails/5.jpg)
5Department of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor Holcomb
Deliverables for CDR
Analyze audio coming from the microphone and determine whether or not a splash occurs
Capture a picture once both the motion is detected by PIR and an audio signal of a disturbance is received
Determine the appropriate “risk threshold” based upon the PIR and microphone performance
Activate the alarm once the “risk threshold” is exceeded
Design a circuit that provides power efficiently for the Neptune system
Increase the decibel level of the alarm system
5
Scott
![Page 6: Comprehensive Design Review (CDR) - UMass Amherst Team 16.pptx.pdfDepartment of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor](https://reader030.vdocuments.site/reader030/viewer/2022041003/5ea5b6c2aed61b7f304177c2/html5/thumbnails/6.jpg)
6Department of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor Holcomb
PIR & Camera with Floodlight
Raspberry Pi Camera to take pictures of pool environment when PIR sensor detects movement and audio analysis indicates splash
RPi Camera is the best choice to interact with the Pi because it is compatible, there is a dedicated RPi ribbon port on the board, and is perfectly integrated into Python
A floodlight will be used to illuminate the pool area in the event of nighttime intrusion
6
Scott
![Page 7: Comprehensive Design Review (CDR) - UMass Amherst Team 16.pptx.pdfDepartment of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor](https://reader030.vdocuments.site/reader030/viewer/2022041003/5ea5b6c2aed61b7f304177c2/html5/thumbnails/7.jpg)
7Department of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor Holcomb
Python PyAudio for live audio capture Numpy: audio processing library; data organization QT for plotting
Currently we are tracking audio at all times and performing a FFT as it is received in order to analyze in terms of amplitude and frequency
Requires a hard-coded algorithm to determine if incoming audio is a “splash sound”
Due to the inconsistent performance and false alarms this could provide, one of our FDR goals is to use Matlab to incorporate a form of machine learning.
7
Current Audio Analysis MethodScott
![Page 8: Comprehensive Design Review (CDR) - UMass Amherst Team 16.pptx.pdfDepartment of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor](https://reader030.vdocuments.site/reader030/viewer/2022041003/5ea5b6c2aed61b7f304177c2/html5/thumbnails/8.jpg)
8Department of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor Holcomb
Audio Analysis Goal: Machine Learning
Matlab on Raspberry Pi via simulink Train a classifier that utilizes a database of
known splash/non-splash sounds to which newly captured audio will be compared and determined to contain a splash
We evaluating the MIR toolbox library to do this processing as it contains the means to classify in addition to onboard machine learning algorithms
This will provide a more efficient and accurate way of detecting audio disturbances
8
Scott
![Page 9: Comprehensive Design Review (CDR) - UMass Amherst Team 16.pptx.pdfDepartment of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor](https://reader030.vdocuments.site/reader030/viewer/2022041003/5ea5b6c2aed61b7f304177c2/html5/thumbnails/9.jpg)
9Department of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor Holcomb
Power System Requirement
Provides 12V-3A to supply the alarm system Provides 5V-2A to power the Raspberry Pi
9
120 VAC
AC/DC Adapter120VAC to 12VDC 3.5A
Buck ConverterLM2576
12V to 5V 3A
Raspberry Pi
Neptune Alarm SystemRelay
Relay
Frankie
![Page 10: Comprehensive Design Review (CDR) - UMass Amherst Team 16.pptx.pdfDepartment of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor](https://reader030.vdocuments.site/reader030/viewer/2022041003/5ea5b6c2aed61b7f304177c2/html5/thumbnails/10.jpg)
10Department of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor Holcomb
Power System Choices
LM2576 3A Step-Down Voltage Regulator 75% efficiency for Vin = 12V and Iload = 3A
10
12V 3.5A DC Power Supply Adapter
100/240VAC 50-60Hz
12VDC 3.5A
Frankie
![Page 11: Comprehensive Design Review (CDR) - UMass Amherst Team 16.pptx.pdfDepartment of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor](https://reader030.vdocuments.site/reader030/viewer/2022041003/5ea5b6c2aed61b7f304177c2/html5/thumbnails/11.jpg)
11Department of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor Holcomb
Power System Results
11
AD/DC Adapter and LM2576 Voltage Regulator Results shown in Digital Multimeter
LM2576 Voltage Regulator Result shown in Oscilloscope
Frankie
![Page 12: Comprehensive Design Review (CDR) - UMass Amherst Team 16.pptx.pdfDepartment of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor](https://reader030.vdocuments.site/reader030/viewer/2022041003/5ea5b6c2aed61b7f304177c2/html5/thumbnails/12.jpg)
12Department of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor Holcomb
Relays
12
RPi Relay Module 250V/10A
Relay module chosen which will be used to switch on 120V floodlight with 3.3V output from a GPIO pin on the RPi
Relay module requires 5V to power itself
EDR201A0500
Simple relay to activate alarm circuit
3.3V from GPIO pin on the RPi will close relay
Frankie
![Page 13: Comprehensive Design Review (CDR) - UMass Amherst Team 16.pptx.pdfDepartment of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor](https://reader030.vdocuments.site/reader030/viewer/2022041003/5ea5b6c2aed61b7f304177c2/html5/thumbnails/13.jpg)
13Department of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor Holcomb
Alarm System (Previous)
13
Once both the motion and splash are detected, the Raspberry Pi will trigger the EDR201A0500 relay to activate the alarm system
The amplitude produced by this alarm is up to 32 dB within ~15 cm using the Spectrum Analyser application
Alarm System Result shown in Oscilloscope
Hang
Alarm System Frequency vs. Amplitude Plot
![Page 14: Comprehensive Design Review (CDR) - UMass Amherst Team 16.pptx.pdfDepartment of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor](https://reader030.vdocuments.site/reader030/viewer/2022041003/5ea5b6c2aed61b7f304177c2/html5/thumbnails/14.jpg)
14Department of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor Holcomb
Alarm System Changes
CDR Goal: Increase the decibel level of the alarm system
Solution: Utilize PH-180Q 8Ω
Speaker Horn and Loudspeaker that handles up to 15W
Utilize LT1206 Current Feedback to amplify the current from 20mA to 1.2A
14
LT1206 Current Amplifier
PH-180Q Speaker Horn
Hang
![Page 15: Comprehensive Design Review (CDR) - UMass Amherst Team 16.pptx.pdfDepartment of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor](https://reader030.vdocuments.site/reader030/viewer/2022041003/5ea5b6c2aed61b7f304177c2/html5/thumbnails/15.jpg)
15Department of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor Holcomb
Alarm System Schematic
15
OUTPUT
LT1206 Current Amplifier
PH-180Q Speaker
Sziklai Pair
Hang
PREVIOUS ALARM SYSTEM SCHEMATIC
Chosen Av = 1
![Page 16: Comprehensive Design Review (CDR) - UMass Amherst Team 16.pptx.pdfDepartment of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor](https://reader030.vdocuments.site/reader030/viewer/2022041003/5ea5b6c2aed61b7f304177c2/html5/thumbnails/16.jpg)
16Department of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor Holcomb
Alarm System Result
Produces up to 70 dB with 12V supply
16
Alarm System Result shown in Oscilloscope
Hang
Alarm System Frequency vs. Amplitude Plot
![Page 17: Comprehensive Design Review (CDR) - UMass Amherst Team 16.pptx.pdfDepartment of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor](https://reader030.vdocuments.site/reader030/viewer/2022041003/5ea5b6c2aed61b7f304177c2/html5/thumbnails/17.jpg)
17Department of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor Holcomb
Problems Encountered
- PIR Functionality around 98.6°F
17
Frankie
![Page 18: Comprehensive Design Review (CDR) - UMass Amherst Team 16.pptx.pdfDepartment of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor](https://reader030.vdocuments.site/reader030/viewer/2022041003/5ea5b6c2aed61b7f304177c2/html5/thumbnails/18.jpg)
18Department of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor Holcomb
18
Part Cost
Speaker $11.29
Current Amplifier $6.28
Voltage Regulator $2.68
USB Microphone $32.99
USB Wifi Adapter $8.50
PIR Sensor $9.95
Camera $26.65
Raspberry Pi 2 $35.00
Flood Light $12.97
12V 3.5A AC/DC Converter $7.48
Total Cost $153.79
Cost Breakdown
![Page 19: Comprehensive Design Review (CDR) - UMass Amherst Team 16.pptx.pdfDepartment of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor](https://reader030.vdocuments.site/reader030/viewer/2022041003/5ea5b6c2aed61b7f304177c2/html5/thumbnails/19.jpg)
19Department of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor Holcomb
FDR Goals
Design and implement PCB for Neptune system
Refine tone of audible alarm
Implement Simulink on the Raspberry Pi for audio analysis
Fabricate enclosure for the Neptune system
Test system in a real pool environment
19
Frankie
![Page 20: Comprehensive Design Review (CDR) - UMass Amherst Team 16.pptx.pdfDepartment of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor](https://reader030.vdocuments.site/reader030/viewer/2022041003/5ea5b6c2aed61b7f304177c2/html5/thumbnails/20.jpg)
20Department of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor Holcomb
Upcoming Demo...
Use our designed power system to demonstrate an accurate flow of power
Simulate someone walking into the pool shortly before a “splash sound” occurs (could be any loud sound in the frequency range)
At this point picture message will be sent, loud alarm will go off , and LED will illuminate
We encountered problems with relay switch so floodlight will be incorporated by FDR
20
Scott
![Page 21: Comprehensive Design Review (CDR) - UMass Amherst Team 16.pptx.pdfDepartment of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor](https://reader030.vdocuments.site/reader030/viewer/2022041003/5ea5b6c2aed61b7f304177c2/html5/thumbnails/21.jpg)
21Department of Electrical and Computer EngineeringDepartment of Electrical and Computer Engineering Advisor: Professor Holcomb
21
DEMO