210 likes | 368 Views
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. The Previous Project.
E N D
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
The Previous Project Multi-Sensors Personal Digital Assistant (PDA) By: Aviv Rosenberg & Ben-Ami Zilber
The Previous Project TOP LEVEL INPUTS: OUTPUTS:
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)
Project Milestones Part A: Microphone • debugging microphone circuit • Processing microphone samples • Implementing an algorithm for AGC
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
The algorithm Goal: • 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
The algorithm Solutions: • Measuring maximal value in time segment: new sample = max{sample(i)} , i=1,…,20 2. Averaging samples as follows: new avg = new sample + old avg 3. Throwing samples which are below certain value
The algorithm Implementation: • 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
The algorithm New value > max => decreasing volume Start: Setting higher and lower thresholds Finding stable value Sample Otherwise do nothing New value < min => increasing volume
NEC: f=38 kHz Two Main Infra Red Protocols RC5: f=36 kHz
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
System demonstration Universal Learning IR Remote Control Automatic Control of TV volume
Throughout work Presenting signal on screend decoding:
System demonstration National geographic channel: Channel 2: Channel 10:
System demonstration Universal Learning IR Remote Control Automatic Control of TV volume
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
Special Thanks to: • Boaz Mizrahi – Supervisor • BruriaZohar – Lab technician