Adaptive Baby Monitoring System

Similar documents
Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Electronic Circuits Spring 2007

Voice Dialer Speech Recognition Dialing IC

Bluetooth Stereo Network

User Manual. Please read this manual carefully before using the Phoenix Octopus

PRIMER ON PC AUDIO. Introduction to PC-Based Audio

Project Plan. Project Plan. May Logging DC Wattmeter. Team Member: Advisor : Ailing Mei. Collin Christy. Andrew Kom. Client: Chongli Cai

W a d i a D i g i t a l

FREQUENCY RESPONSE OF AN AUDIO AMPLIFIER

Rapid Audio Prototyping

Example #1: Controller for Frequency Modulated Spectroscopy

QLINK User Manual Stereo Audio Transmitter

Design and Development of SMS Based Wireless Home Appliance Control and Security System

Physics 623 Transistor Characteristics and Single Transistor Amplifier Sept. 13, 2006

LEVERAGING FPGA AND CPLD DIGITAL LOGIC TO IMPLEMENT ANALOG TO DIGITAL CONVERTERS

Transistor Characteristics and Single Transistor Amplifier Sept. 8, 1997

Android based Alcohol detection system using Bluetooth technology

Kit Watt Audio Amplifier

Hands On ECG. Sean Hubber and Crystal Lu

Welcome to the tutorial for the MPLAB Starter Kit for dspic DSCs

DSB-100 Portable Premium Bluetooth Speaker Owner s Manual

Mid-Range Complete Radio Station Package

Implementing a Digital Answering Machine with a High-Speed 8-Bit Microcontroller

Car Racing Game. Figure 1 The Car Racing Game

[PROJECT PLAN: IPOD BARCODE SCANNER]

Wireless In-Ear Audio Monitor

Desktop Headphone amplifier with Advanced DAC

Electronics Technology

BrightSign Expander Hardware Guide

8 coil stator 11 coil stator

Mbox Basics Guide. Version 6.7 for LE Systems on Windows XP or Mac OS X. Digidesign

EE289 Lab Fall LAB 4. Ambient Noise Reduction. 1 Introduction. 2 Simulation in Matlab Simulink

M87x Family, Modular Monitoring and Recording IEDs

Designing Gain and Offset in Thirty Seconds

What you will do. Build a 3-band equalizer. Connect to a music source (mp3 player) Low pass filter High pass filter Band pass filter

MP3 Player CSEE 4840 SPRING 2010 PROJECT DESIGN.

Installation & User Manual

LM 358 Op Amp. If you have small signals and need a more useful reading we could amplify it using the op amp, this is commonly used in sensors.

Final Design Report 19 April Project Name: utouch

Final Project Report E3390 Electronic Circuit Design Lab. Automatic Phone-Alert Home Security System

HOW PRODUCTS GET DESIGNED

The Director Software V4 and the Scalability Tool

DAC Digital To Analog Converter

Design and Development of SMS Based Wireless Home Appliance Control and Security System

A Smart Telephone Answering Machine with Voice Message Forwarding Capability

Digital circuits make up all computers and computer systems. The operation of digital circuits is based on

Final Report. Hybrid Synth by Synthesize Me. Members: Jamie Madaris Jack Nanney

THE ELEMENT SUPPORT OPERATING INSTRUCTIONS AMP+DACS ONLINE BY PHONE BY MAIL

Digital Guitar Effects Pedal

Accurate Measurement of the Mains Electricity Frequency

Unit/Standard Number. High School Graduation Years 2010, 2011 and 2012

Portable Bluetooth Speaker. Quick Start Guide. Model: BTS201

Unmatched RF Spectrum Analysis

Chapter 6: From Digital-to-Analog and Back Again

Experiment # (4) AM Demodulator

6.101 Final Project Proposal Class G Audio Amplifier. Mark Spatz

Project Number: P13037 NTID NOTIFICATION ALERT SYSTEM PHASE IV. Jared Lytle Electrical Engineering

Germanium Diode AM Radio

Apple iphone/ipod Touch - ieffect Mobile Guitar Effect Accessory & Application

Bluetooth Handsfree Kit. Car Speakerphone (For Bluetooth Mobile Phones)

CBS RECORDS PROFESSIONAL SERIES CBS RECORDS CD-1 STANDARD TEST DISC

Berkeley Audio Design Alpha USB

A Versatile Audio Amplifier

Installation & Operation Manual HANDS-FREE BLUETOOTH MEDIA INTEGRATION KIT. Perfect for ANDROID TM

CHAPTER 11: Flip Flops

SPEAKER SELECTION SYSTEM

HONEYWELL COMMERCIAL FIRE/BURG PANEL UL LISTING REQUIREMENTS (Compiled from VistaFBPT Installation Instructions V1 Rev A 11/12)

Introduction. Copyright 2014 Axess Products Corporation. All Rights Reser ved 1

THE MclNTOSH MC 2100 SOLID STATE STEREO POWER AMPLIFIER

STUDY OF CELLPHONE CHARGERS

IMPORTANT SAFETY INSTRUCTIONS

Blackwire C710 /C720 Corded USB headset with Bluetooth. User guide

R m e o m t o e t US U B S - B S - D M 3 p FM R d a i d o i Pl P a l y a e y r e Mo M d o u d l u e l Wi W t i h t LE L D D s i p s l p a l y a -A

LAB 7 MOSFET CHARACTERISTICS AND APPLICATIONS

PLL frequency synthesizer

PROCEDURE: 1. Measure and record the actual values of the four resistors listed in Table 10-1.

THE BUSINESS VALUE OF AN ERP SYSTEM

DR-1 Portable Digital Recorder OWNER'S MANUAL

Department of Electrical and Computer Engineering Ben-Gurion University of the Negev. LAB 1 - Introduction to USRP

SEM 1 SEM 2 SEM 3 SEM 4 AMT BAHASA MELAYU I - IV

Brio-Rmanual:Cursamanual.qxd 08/04/ :25 Page1

Karaoke Circuit Building Instructions

2. Download, save and unzip the Cambridge Audio USB 2.0 driver from the Cambridge Audio website

User Guide FFFA

Lab 3 - DC Circuits and Ohm s Law

Continuous-Time Converter Architectures for Integrated Audio Processors: By Brian Trotter, Cirrus Logic, Inc. September 2008

Methodologies for Reducing Mobile Phone Test Time

LAB4: Audio Synthesizer

If an occupancy of room is zero, i.e. room is empty then light source will be switched off automatically

The front end of the receiver performs the frequency translation, channel selection and amplification of the signal.

ECD 2 High Performance Balanced DAC. 24 Bit /192kHz. Owner's Manual

PCXpocket 440. Professional Digital Audio Card. User s manual. DU IS=A

Designing a Schematic and Layout in PCB Artist

Perseus. Owner s Manual. Vacuum Tube Preamplifier. Rogue Audio, Inc. 3 Marian Lane Brodheadsville, PA Issue date: 02/01/06

Controls. Opening the cover

Adding Heart to Your Technology

Selecting and Implementing H-Bridges in DC Motor Control. Daniel Phan A

Analog and Digital Filters Anthony Garvert November 13, 2015

Solar Cybertech: A Competition of Digitally Controlled Vehicles Poweredby Solar Panels

USB Audio Output Transmitter Electrical Engineering Senior Design

Aura. Wireless Speaker System Owner s Manual

Transcription:

Adaptive Baby Monitoring System Project Proposal TA: Jacob Bryan ECE 445 February 10, 2016 1

Table of Contents 1.0 INTRODUCTION 1.1 Statement of Purpose... 3 1.2 Objectives... 3 1.2.1 Goals & Benefits... 3 1.2.1 Functions & Features... 3 2.0 DESIGN 2.1 Block Diagrams... 4 2.2 Block Descriptions... 5 2.2.1 Digital Signal Processor for Cry Detector... 5 2.2.2 Training Data Storage... 5 2.2.3 Playback Media Storage... 5 2.2.4 Microphone... 5 2.2.5 Microcontroller... 5 2.2.6 Speakers... 5 2.2.7 Mobile Application... 5 2.2.8 Power Routing System... 5 3.0 REQUIREMENTS AND VERIFICATION 3.1 Table of Requirements... 6 3.2 Tolerance Analysis... 7 4.0 COST AND SCHEDULE 4.1 Cost Analysis... 8 4.1.1 Labor... 8 4.1.2 Parts... 8 4.1.3 Grand Total... 8 4.2 Schedule... 9 2

1.0 Introduction 1.1 Statement of Purpose A baby s cry is an important signal that they are in need of care. For deaf or elderly parents or caretakers, it is sometimes hard for them to tell when a baby is crying. Our product will aid them and let them know when their baby is crying immediately so that they will know immediately and be able to provide assistance to the baby. 1.2 Objectives 1.2.1 Goals & Benefits: Ensure that parents are always aware of whenever the baby is crying and in need of care promptly. Optimize adaptability by providing immediate solution to alleviate stress from the baby. 1.2.2 Functions & Features: Cry detector which will be trained using machine learning to adapt to a baby s individual cry. Notify parents or caretakers whenever the baby starts to cry through mobile app. Upon detection of cry, playback device will play music. Allow users to control playback device through mobile app. Playback device, which is powered through a wall plug, will contain a power supply that powers all the different components of the playback device. 3

2.0 Design 2.1 Block Diagrams Figure 1. Block Diagram where black indicates signals or input, blue indicates bluetooth, and green indicates power 4

2.2 Block Descriptions 2.2.1 Digital Signal Processor for Cry Detector The DSP will be programmed with a pattern recognition algorithm for cry detection. We will train a Support Vector Machine (SVM) classifier in MATLAB, and then we will store that in the DSP. The DSP itself will obtain some frequency information from the sounds captured by the microphone to use as feature vectors for the SVM classifier. This data is then fed into the SVM classifier, which gives a result of cry or no cry. Whenever a cry is detected, it will send a signal to the microcontroller. 2.2.2 Microphone The microphone records real time sounds in the room, which will be sent to the DSP as an input to the cry detection algorithm. It will have a sampling rate of at least 44.1 khz so that is can record audible range without aliasing. 2.2.3 Playback Media Storage The playback media will be stored on a 16GB SD card. It contains all the tracks in.wav format. This will be used as an input into the microcontroller. 2.2.4 Microcontroller The microcontroller allows interface between the DSP to the Bluetooth module and the playback media storage to the speakers. It will read the output from DSP which tells whether there is a cry or not. According to that, the microcontroller will interface with the bluetooth module to send out the notification. It will also read the stored music file from storage and output to the DAC where the audio can be fed to the speaker. 2.2.5 Speakers This will play the sounds in the media playback storage. The two main components of the speakers are the amplifier and analog audio output. The analog output from the DAC built in the microcontroller will be amplified by the amplifier and playback by the speaker. 2.2.6 Mobile Application Once a cry is detected, the application will receive a notification. This is done by interfacing with a Bluetooth module and the microcontroller. The mobile application also has a user interface to play/pause, change the track, and adjust the volume of the music playback device. 2.2.7 Power Supply The power supply will have the voltage from wall converted to lower voltage by a transformer. Then it will be converted to 12V DC voltage and input to the system. It will also need to converted down to appropriate voltage to drive each component in the music player. 5

3.0 Requirements and Verification 3.1 Requirements Requirement Verification Points 1. Cry detector a. SVM classifier must successfully classify testing tracks at at least 90% accuracy. b. The microphone must have a sampling rate of at least 44.1 khz to ensure proper quality of recorded sound. 2. Microcontroller must be able to do the following upon detection of a cry: a. read signal from DSP b. send notification to mobile application 3. Music is played on speakers upon detection of cry 4. Mobile application must be able to control playback media device 5. Power Supply Supply 12V +/-0.25V with current up to 5A 1. Digital Signal Processor : a. Compare classification result (cry/no cry) to ground truth. Across hundreds of samples taken from microphone, at least 90% of them must be classified correctly. b. Verify specs of microphone in data sheet to ensure that sampling rate is at least 44.1 khz. 2. Microcontroller: a. Place Digital Multimeter in parallel with microcontroller. Whenever cry is detected, voltage should be around 5V. Otherwise, it should be around 0V. b. The mobile application must receive a notification within 30 seconds of a detected cry. 3. Speakers: Speakers must play the music from the playback media storage within 30 seconds of a detected cry. 4. Mobile Application: The mobile application should be able to control volume, on/off status, and the track played. The playback device should respond accordingly. 5. Power Routing System: a. Place Digital Multimeter in parallel with power source. Measure the voltage difference across the power source.the 30 25 10 10 15 6

voltage should read 12V +/- 0.25V b. Place Digital Multimeter in series with the power supply and measure the current drawn. With up to 5A load, the power supply should be able to operate continuously without breaking down. 3.2 Tolerance Analysis In order for the cry detector to work properly, it is important to ensure that only crying sounds are detected and that other human sounds like talking are not misclassified as crying. In order to accomplish this, we need to make sure that the training set contains at least 100.wav files with sounds classified as crying and 100.wav files with sounds not classified as crying. Each.wav file should be between 1-10 seconds. This ensures a robust and accurate SVM classifier. Otherwise, the SVM classifier may not be able to reach the desired accuracy of 90%. In order for the DSP to run the classification algorithm through the SVM kernel efficiently, we need to make sure that the SVM kernel can be stored in the processor s RAM. Therefore, we have decided to limit the storage size of this SVM kernel to be 2MB. We also want to ensure that the quality of the sound captured from the microphone is adequate. Therefore, we have set a minimum sampling frequency of 44.1 khz on our microphone. As one of our goals is to notify deaf or elderly parents when their baby cries swiftly, it is important that the mobile application and playback device respond promptly upon detection of a cry. As the SVM classifier should operate in linear time on the test data, the classification should only take a few seconds. Therefore, before 30 seconds have elapsed since the detection of a cry, the mobile application must have received a notification, and the music player must have started playing music. 7

4.0 COST AND SCHEDULE 4.1 Cost Analysis 4.1.1 Labor Name Hourly Rate Total Hours Invested Total = Hourly Rate x 2.5 x Total Hours Invested Michael Qiu $30 240 $18,000 $30 240 $18,000 $30 240 $18,000 Total Labor Cost $54,000 4.1.2 Parts Item Quantity Cost/Unit Total Cost Microcontroller 1 $5 $5 DSP 1 $100 $100 Full-range speaker 2 $20 $40 Bluetooth module 1 $30 $30 SD cards (16GB) 2 $5 $10 Microphone 1 $10 $10 AC to DC converter 1 $5 $5 Total $200 4.1.2 Grand Total Section Total Labor $54,000 Parts $200 Grand Total $54,200 8

4.2 Schedule Week Task Responsibility February 8 Finalize proposal Michael Qiu Prepare mock design review Begin design review prep February 15 Construct flow chart of cry detection algorithm Michael Qiu Come up with detailed schematic of intermodule interfacing Research on power supply and routing system and develop the fundamental schematic February 22 Finalize Design Review Michael Qiu Finalize Design Review Order parts Finalize circuit schematics February 29 Prototype cry detection algorithm on MATLAB Michael Qiu Set up connections between storage devices, DSP, and microcontroller Begin building power routing system and amplifier for system March 7 Implement cry detection algorithm on MATLAB Michael Qiu Implement connections between storage devices, DSP and microcontroller Continue building power routing system and amplifier for system March 14 Export SVM kernel onto DSP and begin testing Michael Qiu Solder any necessary connections between storage devices, DSP and microcontroller Finish building power routing system and amplifier for system March 21 Spring Break Michael Qiu March 28 Test cry detection algorithm and evaluate accuracy Michael Qiu 9

Set up Android Development Environment and begin work on user interface Revise power routing system to meet with the final design schematic April 4 Finish developing user interface of Android application Michael Qiu Implement controls for playback device on Android application Finalize revisions to power routing system April 11 Test system and make sure that all components work together as intended Michael Qiu Solder components and package them Make the PCB April 18 Start planning for presentation Michael Qiu Start planning for demonstration Prepare for final paper April 25 Finalize presentation Michael Qiu Finalize demonstration Prepare for final paper May 2 Finalize presentation Michael Qiu Finalize final paper Lab checkout Finalize final paper 10