monitoring volume level application - end of project presentation made by: roi abecasis maxim...

21
Monitoring Volume Level Application - End of Project Presentation Made by : Roi Abecasis Maxim Meltsin Supervisor : Boaz Mizrahi

Upload: lynn-margaret-manning

Post on 21-Jan-2016

221 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Monitoring Volume Level Application - End of Project Presentation Made by: Roi Abecasis Maxim Meltsin Supervisor: Boaz Mizrahi

Monitoring Volume Level Application

- End of Project Presentation

Made by:Roi Abecasis

Maxim Meltsin

Supervisor:Boaz Mizrahi

Page 2: Monitoring Volume Level Application - End of Project Presentation Made by: Roi Abecasis Maxim Meltsin Supervisor: Boaz Mizrahi

Contents Table

• Previous Project• Project goals• Project milestones• System demonstration

Page 3: Monitoring Volume Level Application - End of Project Presentation Made by: Roi Abecasis Maxim Meltsin Supervisor: Boaz Mizrahi

The Previous Project

Multi-Sensors Personal Digital Assistant (PDA)

By: Aviv Rosenberg & Ben-Ami Zilber

Page 4: Monitoring Volume Level Application - End of Project Presentation Made by: Roi Abecasis Maxim Meltsin Supervisor: Boaz Mizrahi

The Previous Project

INPUTS:

OUTPUTS:

TOP LEVEL

Page 5: Monitoring Volume Level Application - End of Project Presentation Made by: Roi Abecasis Maxim Meltsin Supervisor: Boaz Mizrahi

Project Goals

• Automatic TV volume control• Keeping TV volume on given level• Detecting significant volume changes and acting

accordingly

• Implementation of Universal TV Remote Controller (optional)

Page 6: Monitoring Volume Level Application - End of Project Presentation Made by: Roi Abecasis Maxim Meltsin Supervisor: Boaz Mizrahi

Project Milestones

Part A: Microphone

• debugging microphone circuit • Processing microphone samples• Implementing an algorithm for AGC

Page 7: Monitoring Volume Level Application - End of Project Presentation Made by: Roi Abecasis Maxim Meltsin Supervisor: Boaz Mizrahi

Project Milestones

Part B: Infra Red

• Learning existing IR Protocols (RC5, NEC,..) • Detecting IR protocols frequencies• Implementing functions for decoding IR

messages • Implementing functions for transmission

Page 8: Monitoring Volume Level Application - End of Project Presentation Made by: Roi Abecasis Maxim Meltsin Supervisor: Boaz Mizrahi

The algorithmGoal:- Finding reliable and stable method to measure

volume level changes

Problems:- Overcoming sensitivity for short but intense

sounds- Avoiding ‘quiet’ samples- Typical TV Broadcasting volume is very inhomogeneous

Page 9: Monitoring Volume Level Application - End of Project Presentation Made by: Roi Abecasis Maxim Meltsin Supervisor: Boaz Mizrahi

The algorithm

Solutions:1. Measuring maximal value in time segment: new sample = max{sample(i)} , i=1,…,202. Averaging samples as follows:

new avg = new sample + old avg3. Throwing samples which are below certain value

(1 )

Page 10: Monitoring Volume Level Application - End of Project Presentation Made by: Roi Abecasis Maxim Meltsin Supervisor: Boaz Mizrahi

The algorithm

Implementation:1. calculating stable value by sampling and

averaging 2. Setting higher and lower thresholds values as

app. 2% higher and lower then stable average value

3. An act is taken whenever a deviation from threshold values is detected

Page 11: Monitoring Volume Level Application - End of Project Presentation Made by: Roi Abecasis Maxim Meltsin Supervisor: Boaz Mizrahi

The algorithm

Finding stable value

Sample

Start:Setting higher

and lower thresholds

New value < min >=increasing volume

New value > max >=decreasing volume

Otherwise do nothing

Page 12: Monitoring Volume Level Application - End of Project Presentation Made by: Roi Abecasis Maxim Meltsin Supervisor: Boaz Mizrahi

Two Main Infra Red ProtocolsNEC:

RC5:

f=38 kHz

f=36 kHz

Page 13: Monitoring Volume Level Application - End of Project Presentation Made by: Roi Abecasis Maxim Meltsin Supervisor: Boaz Mizrahi

Implementation of different IR protocols issues

• Different Carry Frequencies• Different ‘0’ and ‘1’ bit representation• Different Start Sequence• Toggle bit and repeat pulse• Different bits number

Page 14: Monitoring Volume Level Application - End of Project Presentation Made by: Roi Abecasis Maxim Meltsin Supervisor: Boaz Mizrahi

System demonstration

Universal Learning IR Remote Control

Automatic Control of TV volume

Page 15: Monitoring Volume Level Application - End of Project Presentation Made by: Roi Abecasis Maxim Meltsin Supervisor: Boaz Mizrahi

Throughout work

Presenting signal on screend

decoding:

Page 16: Monitoring Volume Level Application - End of Project Presentation Made by: Roi Abecasis Maxim Meltsin Supervisor: Boaz Mizrahi

PDA Respond for 1KHz sinus wave

Page 17: Monitoring Volume Level Application - End of Project Presentation Made by: Roi Abecasis Maxim Meltsin Supervisor: Boaz Mizrahi

System demonstration

National geographic channel:

Channel 2:

Channel 10:

Page 18: Monitoring Volume Level Application - End of Project Presentation Made by: Roi Abecasis Maxim Meltsin Supervisor: Boaz Mizrahi

System demonstrationUniversal Learning IR Remote Control

Automatic Control of TV volume

Page 19: Monitoring Volume Level Application - End of Project Presentation Made by: Roi Abecasis Maxim Meltsin Supervisor: Boaz Mizrahi

Resource Usage

CPU Usage:• About 0.3% for average volume detecting• About 1.1% in transmitting mode• Typical total average usage = 0.3%

Memory Usage: Less than 1Kbytes

Page 20: Monitoring Volume Level Application - End of Project Presentation Made by: Roi Abecasis Maxim Meltsin Supervisor: Boaz Mizrahi

Special Thanks to:

• Boaz Mizrahi – Supervisor• Bruria Zohar – Lab technician

Page 21: Monitoring Volume Level Application - End of Project Presentation Made by: Roi Abecasis Maxim Meltsin Supervisor: Boaz Mizrahi

THE END