880 likes | 1.09k Views
Voice-Isolating Wireless Communicator. Alexander Joo, Ryo Kondo, Frank Lam Team 22 ECE 445 Senior Design April 25, 2008. Objective Design Components Complete System Successes and Challenges Recommendations. Presentation Overview. Objective Introduction of problem Proposed solution
E N D
Voice-Isolating Wireless Communicator Alexander Joo, Ryo Kondo, Frank Lam Team 22 ECE 445 Senior Design April 25, 2008
Objective Design Components Complete System Successes and Challenges Recommendations Presentation Overview • Objective • Introduction of problem • Proposed solution • Design • Components • Complete System • Successes and Challenges • Recommendations • Objective • Introduction of problem • Proposed solution • Design • Components • Complete System • Successes and Challenges • Recommendations
Noise in the environment can affect the ability to communicate effectively Problem http://www.solarnavigator.net/ http://rampbingspoon.com http://mksviews.wordpress.com
Objectives Develop an audio filter that can remove background noise while preserving voice. (by at least 10-20 dB) Wirelessly transmit this cleaned signal over unlicensed spectrum. Perform all functions in real/near-real time. (<100 ms)
Voice-Isolating Wireless Communicators Remove noise that disrupts communication Solution
Objective Design Components Complete System Successes and Challenges Recommendations Presentation Overview • Objective • Design • Original Design • Alterations and Final Design • Components • Complete System • Successes and Challenges • Recommendations • Objective • Design • Original Design • Alterations and Final Design • Components • Complete System • Successes and Challenges • Recommendations
Presentation Overview Objective Design Components Complete System Successes and Challenges Recommendations • Objective • Design • Components • Microphone Array/Preamp • DSP/Algorithm • Wireless • Complete System • Successes and Challenges • Recommendations • Objective • Design • Components • Microphone Array/Preamplifier • DSP/Algorithm • Wireless • Complete System • Successes and Challenges • Recommendations
OKAY.II EM320 Clip-on Mini Microphones Factors Price Size Directionality Microphone
First point of optimization Ensure that voice signal capture by the “noise-only” microphone is kept to a minimum Microphone Placement
Microphones need an external voltage to drive the signal “Mic-In” Signal vs “Line-In” Signal Mic-in jacks provide a source to power the microphones Typical voltage levels are very different Mic-in: 10 mV Line-in: 100 mV Preamplifier
Preamplifier Circuit Diagram 5 V 47 k 2.4 k Op Amp 10 micro 10 micro 56 k Audio Jack 47 k 10 micro 2.4 k Audio Jack 5 V 47 k 2.4 k 100 micro Op Amp 10 micro 10 micro Audio Jack 56 k 47 k 10 micro 2.4 k
Op Amp is a LF 353 Bandwidth = 4 MHz Amplification Determined by the ratio of R2 and R1 Vo = R2/R1 – 1 Theoretical Vo = 22.3 Tested to confirm response to multiple frequencies Specifications
Preamplifier Circuit Diagram 5 V 47 k 2.4 k Op Amp 10 micro 10 micro 56 k Audio Jack <- R2 47 k 10 micro <- R1 2.4 k Audio Jack 5 V 47 k 2.4 k 100 micro Op Amp 10 micro 10 micro Audio Jack <- R2 56 k 47 k 10 micro <- R1 2.4 k
Op Amp is a LF 353 Bandwidth = 4 MHz Amplification Determined by the ratio of R2 and R1 Vo = R2/R1 – 1 Theoretical Vo = 22.3 Tested to confirm response to multiple frequencies Specifications
Test Case – 700 Hz Input Signal 24 mV P-P Output Signal 500 mV P-P
Test Case – 2000 Hz Input Signal 18 mV P-P Output Signal 380 mV P-P
DSP – The Board TI TMS320C6713 DSK – Development kit Speaker Line out Line in Mic in TI DSP Chip
DSP – Programming Process • G – “Visual programming language” • C/Assembly • DSP compiled code
DSP – Why Labview? Avoid issues with C/Assembly syntax Abstract away low-level details Already implemented DSP functions VI-system provides easy-to-control interface Seamless integration with Code-composer and DSP board.
DSP – Original proof of concept Noise signal input Desired signal input Noise subtracted Signals added
DSP – Why not subtraction? Proof of concept shows that Labview can be used for audio manipulation… but… Exact timing (no delay) required for both desired signal and noise. Real-world “noise” signals have unpredictable delays.
DSP – Least Mean Squares (LMS) Adaptive Filter Filter ĥ(n) attempts to model h(n) using only: x(n) – reference signal (noise + signal) d(n) – noise e(n) – modeled noise contaminating signal
DSP – Least Mean Squares (LMS) Adaptive Filter Does so by: Minimizing the cost function Begins with arbitrary values for weights Updating the weights of the filter coefficients With a minimum step size μ.
DSP – LMS filter efficiency Depends on: Sampling rate Filter order Convergence value(step-size) Shetty, Kiran Kumar – Least Mean Squares Description, Florida State University, 2004
DSP – Sampling rate and filter order Maximum sampling rate and filter order constrained by maximum processing speed of DSP Board.
DSP – Convergence value (step size) • Humans have a higher tolerance to noise with speech. • Optimal value 0.1 – 0.5.
DSP – Filter results Scale: 5 kHz window Center: 2.5 kHz Signal: 1 kHz sine Vertical scale: 10 dBv/ Noise alone (600 Hz sine) Noise alone (white noise) Signal alone
DSP – Filter results Sine wave White noise
DSP – Filter results Music – Jimmy Eat World – A Praise Chorus Music alone Signal + Music w/o filter Signal + Music w/filter
DSP – Filter frequency response 1200 Hz
DSP – Filter frequency response 1600 Hz
DSP – Filter frequency response 2000 Hz
DSP – Filter frequency response 2400 Hz