Title : Analog Circuit for Sound Localization Applications



Similar documents
Frequency Response of Filters

Op-Amp Simulation EE/CS 5720/6720. Read Chapter 5 in Johns & Martin before you begin this assignment.

LAB 7 MOSFET CHARACTERISTICS AND APPLICATIONS

Vi, fi input. Vphi output VCO. Vosc, fosc. voltage-controlled oscillator

Inrush Current. Although the concepts stated are universal, this application note was written specifically for Interpoint products.

Spike-Based Sensing and Processing: What are spikes good for? John G. Harris Electrical and Computer Engineering Dept

CIRCUITS LABORATORY EXPERIMENT 3. AC Circuit Analysis

Lock - in Amplifier and Applications

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.

The D.C Power Supply

Step Response of RC Circuits

Section 3. Sensor to ADC Design Example

Digital to Analog Converter. Raghu Tumati

TDA W Hi-Fi AUDIO POWER AMPLIFIER

Design of op amp sine wave oscillators

Making Accurate Voltage Noise and Current Noise Measurements on Operational Amplifiers Down to 0.1Hz

Homework Assignment 03

Laboratory 4: Feedback and Compensation

OPERATIONAL AMPLIFIERS. o/p

Fully Differential CMOS Amplifier

COMMON-SOURCE JFET AMPLIFIER

Application Note, Rev.1.0, September 2008 TLE8366. Application Information. Automotive Power

Basic Op Amp Circuits

Transistor Characteristics and Single Transistor Amplifier Sept. 8, 1997

Bipolar Transistor Amplifiers

Fundamentals of Microelectronics

CHAPTER 2 POWER AMPLIFIER

Wide Band Tunable Filter Design Implemented in CMOS

Transistor Amplifiers

Operational Amplifier - IC 741

Reading: HH Sections , (pgs , )

APPLICATION NOTE ULTRASONIC CERAMIC TRANSDUCERS

Unit2: Resistor/Capacitor-Filters

APPLICATION NOTE AP050830

Chapter 10. RC Circuits ISU EE. C.Y. Lee

Chapter 12: The Operational Amplifier

css Custom Silicon Solutions, Inc.

Design of a TL431-Based Controller for a Flyback Converter

AP331A XX G - 7. Lead Free G : Green. Packaging (Note 2)

Fundamentals of Power Electronics. Robert W. Erickson University of Colorado, Boulder

TDA W Hi-Fi AUDIO POWER AMPLIFIER

SIMPLE HEART RATE MONITOR FOR ANALOG ENTHUSIASTS

Phase-Locked Loop Based Clock Generators

Use and Application of Output Limiting Amplifiers (HFA1115, HFA1130, HFA1135)

Chapter 10 Advanced CMOS Circuits

A Low-Cost, Single Coupling Capacitor Configuration for Stereo Headphone Amplifiers

Efficient Interconnect Design with Novel Repeater Insertion for Low Power Applications

AN105. Introduction: The Nature of VCRs. Resistance Properties of FETs

7-41 POWER FACTOR CORRECTION

1997 Mixed-Signal Products SLAA011B

Op Amp Circuit Collection

DIGITAL-TO-ANALOGUE AND ANALOGUE-TO-DIGITAL CONVERSION

Output Ripple and Noise Measurement Methods for Ericsson Power Modules

LOW COST MOTOR PROTECTION FILTERS FOR PWM DRIVE APPLICATIONS STOPS MOTOR DAMAGE

LABORATORY 2 THE DIFFERENTIAL AMPLIFIER

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

Analog signals are those which are naturally occurring. Any analog signal can be converted to a digital signal.

Electrical Resonance

Experiment #11: LRC Circuit (Power Amplifier, Voltage Sensor)

Pulse Width Modulation (PWM) LED Dimmer Circuit. Using a 555 Timer Chip

WINNER-TAKE-ALL ABSTRACT

Supertex inc. HV Channel High Voltage Amplifier Array HV256. Features. General Description. Applications. Typical Application Circuit

CMOS, the Ideal Logic Family

Sophomore Physics Laboratory (PH005/105)

Precision, Unity-Gain Differential Amplifier AMP03

Oscillations and Regenerative Amplification using Negative Resistance Devices

Programmable Single-/Dual-/Triple- Tone Gong SAE 800

Understanding Power Impedance Supply for Optimum Decoupling

CHAPTER 10 Fundamentals of the Metal Oxide Semiconductor Field Effect Transistor

Design of a Fully Differential Two-Stage CMOS Op-Amp for High Gain, High Bandwidth Applications

Zero voltage drop synthetic rectifier

LM386 Low Voltage Audio Power Amplifier

HT9170 DTMF Receiver. Features. General Description. Selection Table

HP 8970B Option 020. Service Manual Supplement

LAB 12: ACTIVE FILTERS

These help quantify the quality of a design from different perspectives: Cost Functionality Robustness Performance Energy consumption

INTERFERENCE OF SOUND WAVES

Understanding Low Drop Out (LDO) Regulators

Switch Mode Power Supply Topologies

Loop Bandwidth and Clock Data Recovery (CDR) in Oscilloscope Measurements. Application Note

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

11: AUDIO AMPLIFIER I. INTRODUCTION

Objectives The purpose of this lab is build and analyze Differential amplifiers based on NPN transistors (or NMOS transistors).

Positive Feedback and Oscillators

Rectifier circuits & DC power supplies

Lecture - 4 Diode Rectifier Circuits

EDEXCEL NATIONAL CERTIFICATE/DIPLOMA UNIT 5 - ELECTRICAL AND ELECTRONIC PRINCIPLES NQF LEVEL 3 OUTCOME 4 - ALTERNATING CURRENT

How To Calculate The Power Gain Of An Opamp

Programmable-Gain Transimpedance Amplifiers Maximize Dynamic Range in Spectroscopy Systems

MAS.836 HOW TO BIAS AN OP-AMP

ε: Voltage output of Signal Generator (also called the Source voltage or Applied

Analysis and Design of High gain Low Power Fully Differential Gain- Boosted Folded-Cascode Op-amp with Settling time optimization

UNDERSTANDING POWER FACTOR AND INPUT CURRENT HARMONICS IN SWITCHED MODE POWER SUPPLIES

CMOS Logic Integrated Circuits

MADR TR. Quad Driver for GaAs FET or PIN Diode Switches and Attenuators Rev. 4. Functional Schematic. Features.

PIN CONFIGURATION FEATURES ORDERING INFORMATION ABSOLUTE MAXIMUM RATINGS. D, F, N Packages

ENGR-4300 Electronic Instrumentation Quiz 4 Spring 2011 Name Section

Ultrasound Distance Measurement

TDA4605 CONTROL CIRCUIT FOR SWITCH MODE POWER SUPPLIES USING MOS TRANSISTORS

High-Frequency Integrated Circuits

Transcription:

Title : Analog Circuit for Sound Localization Applications Author s Name : Saurabh Kumar Tiwary Brett Diamond Andrea Okerholm Contact Author : Saurabh Kumar Tiwary A-51 Amberson Plaza 5030 Center Avenue Pittsburgh, PA 15213 USA stiwary@ece.cmu.edu 412-268-5241 (O) Paper Category : Analog Circuits Name of the speaker: Saurabh Kumar Tiwary

Analog Circuit for Sound Localization Applications Saurabh Kumar Tiwary, Brett Diamond, Andrea Okerholm {stiwary, diamond, amo}+@ece.cmu.edu Electrical and Computer Engineering Department Carnegie Mellon University, Pittsburgh, PA 15213 Abstract -- We describe an analog CMOS circuit that computes the time (phase) delay between two10 khz sinusoids. This circuit can be used in sound localization applications. We realize a locking range of 10-170 degrees in less than 1 ms that is robust over process variations. Two receivers placed at a distance from one another intercept a sinusoidal waveform emanating from a sound source. The phase difference between the two signals is detected by the circuit, which gives an estimation of the distance of the source from the receivers. This solution is simpler and more elegant than current digital techniques that require specialized DSP hardware to be implemented in real time. INTRODUCTION Accurate sound localization of distant sound sources is important for teleconferencing, voice control systems, and robotic navigation. In real acoustic environments, however, background noise and reverberation, can degrade the performance of these systems. Previous works have been reported using microphone arrays and various algorithms to handle these issues [1-3]. Although most phase detection schemes have been implemented using DSP, some methods use analog VLSI technology, providing a more elegant solution for computing time delays between continuous-time signals. The analog circuits proposed by Pu and Harris [4] are all operated in the subthreshold region using CMOS transistors. This offers a wide range of phase detection with a phase locking speed of 10 milliseconds, but biasing the transistors correctly under process variations proves to be very difficult. This paper proposes a CMOS-based analog circuit that is fairly robust to process variations with a phase detection range of 10 o 170 o, accurate resolution within 2 o, and a phase locking speed under a millisecond. To obtain these specifications, the circuit must be tuned for a specific input frequency. Although typical speakers are capable of generating sound between 20 Hz and 20 khz, most average grade microphones cannot pickup frequencies above 10kHz. Based on this acoustic limitation and other circuit limitations that will be discussed later in this paper, the phase detector designed in this paper was tuned for a 10 khz input. CONCEPT AND METHODS The most basic configuration for the localization of a sound source contains a pair of microphones or other Figure 1: Sound localization diagram for an incident sound wave on two detectors or microphones. detectors. As shown in Figure 1, an acoustic wave emanating from the sound source will be intercepted by the microphones at different times, resulting in a phase difference between the two transduced signals. Given this phase difference and the microphone spacing, the incident angle of the acoustic wave can be calculated: 1 c θ cos (1) d where d is the spacing between microphones, is the delay of arrival, and c is the sound propagation speed. Arrays of detectors are typically used to obtain more accurate information about the distance and direction of a sound source. Due to the periodicity of the cosine function, the distance between the receivers (d) should be less half the wavelength of the input sinusoid. θ Figure 2: Block diagram of the phase detector. The block diagram of the phase detector is shown in Figure 2. This system includes two delay elements, two multiplier circuits, a comparator, and a capacitor used to store the tuning voltage of the delay elements. Most of the elements of the circuit contain CMOS transistors operating in the saturation region, with the exception of a few transistors operating in the linear

region as resistors. Two input signals, V 1 and V 2, are fed into the system with the assumption that both signals have the same frequency and amplitude, but different phases. The input signal V 1 is sent through two delay elements (Figure 2), each element delaying the signal by two different time lengths. The main goal of the circuit is to adaptively control the two delayed versions of V 1 to make their phases approach the phase of the other input signal V 2. For measuring the phase difference between V 2 and a delayed version of V 1, the two signals are correlated using a multiplier and low pass filter. The multiplication of these two sinusoids having the same frequency ω but different phases φ 1 and φ 2, results in two components. The first one is a sinusoid with frequency 2ω and phase (φ 1 + φ 2 ) and the second one is a DC signal proportional (φ 1 φ 2 ): ( ) ( ) Asin ωt + φ1 Asin ωt + φ2 2 (2) A [ cos( φ1 φ2 ) cos( 2ωt + φ1 + φ2 )] 2 Passing the resulting sinusoid through a low pass filter with cutoff frequency f C << 2ω gives out the DC component, which is a constant proportional to the phase difference of the two signals. The correlated outputs corresponding to the two different delayed versions of V 1 are compared by the Comparator and the result is stored by a capacitor which in turn is used to adjust the tuning voltage of the delay elements. HARDWARE IMPLEMENTATION! " Ω Delay circuit! " Ω have that much tuning range. The main design issues for the delay block are: (1) tuning range (RC max /RC min ) of ~100 (two decades) to get phase delays from near zero to 180 degrees, (2) implementation of large resistance or capacitance using minimal die area to realize these phase delays at low frequencies, and (3) robustness against process variations. These stringent requirements in modern MOS fabrication technology were realized using a 4pF capacitance and a variable resistor implemented through a transistor operating in the triode region. This solution proves to be a better alternative than using varactors or switched capacitors. In the linear region, the MOS drain source resistance is expressed as r ds k n ' 1 ( )(v gs V TH ). (3) W L In the sub-threshold region this changes to r ds Figure 4: Frequency response of the all-pass filter. I 0 ( )e κqvgb W L v ds (e qvsb e qvdb ), (4) an exponential relationship with v GB. We take advantage of this relationship to achieve large tuning ranges of around 100. This large variation in MOS resistance helps realize phase delays from 10 to 170 degrees for the 10kHz input signal, as shown in Figure 5. & $ % %! ' # T t delay ( s) s 1 RC s + 1 RC 2RC ( ωrc) 2 + 1 Figure 3: Circuit schematic of delay block. The delay circuit, shown in Figure 2, is implemented with an all-pass filter with a frequency response shown in Figure 3. In order to have a total locking range in excess of 160 o, the delay circuit has to Figure 5: Phase response of delay circuit for several tuning voltages in 0.1 V increments.

Phase Detector The phase detector circuit was implemented using a four-quadrant Gilbert cell multiplier and low-pass filter. Since we use the DC component of the Gilbert cell output to decide whether the phase delays introduced by the delay blocks to the first input are sufficient or not, a low pass filter (LPF) is needed to attenuate the sinusoidal component at 20kHz. The LPF has been implemented using a first-order RC topology. Design of the low pass filter posed a problem similar to the one faced in design of the delay block. The value of resistance and capacitance required for implementing the LPF were far too large to be economically realizable in modern fabrication processes. We, therefore, used transistors in the linear region to achieve a high resistance value, on the order of 10MΩ. Using a reasonably sized capacitance yielded a LPF with 1.2 khz cutoff frequency. SYSTEM SIMULATION Putting all the blocks together, we went ahead with simulating the complete circuit. Different phase delays were given the two input sinusoids (200mV peak to peak). The output voltage was measured from the integrator. A simulation output for a phase difference of 45 degrees between the input signals is shown Figure 6. As can be observed, the output does not settle to a DC value, but rather is a sinusoid at the same frequency as the input signals with a constant DC offset. Low pass filtering of this signal is required to get the average DC output voltage. Comparator & Integrator The outputs of the two Gilbert cells after passing through the LPF are fed into the comparator (Figure 2). Since the inputs to the delay blocks have to vary from 1.5 to 0.7 Volts, the output of the comparator was constrained to be in this region. The output of the comparator is fed back to the variable resistance of the all pass delay circuit through an integrator, which is implemented using a capacitor. To prevent large oscillations in the feedback circuit (ping pong effect), a damping element in the form of a resistor is introduced before the capacitor. This resistor is again implemented using a linear region NMOS. Since the gate of this MOS transistor is tied to ground, the voltage at the integrator can t rise above the threshold voltage, V tn, of the transistor. Very importantly, the voltage to be fed to the transistor in the delay block should be in the same range. This overall arrangement insures that the circuit does not go outside its locking range. The initial state too is near the locking state which minimizes the locking period. Figure 7: Plot of DC output voltage vs. input phase difference of two 10 khz sinusoidal inputs. The output characteristic is almost a straight line between phase and output voltage. The acquisition time for the circuit is around 1ms, which is a significant improvement from 10ms, previously reported [5]. A plot of the DC output voltage with respect to the phase difference between the two input sinusoids is shown in Figure 7. The total noise created by the circuit devices at the input of the comparator was 42.4mV. Before entering into the comparator the signal passes through a low pass filter, so the high frequency components of the noise are already filtered out and we get a smaller noise voltage after the LPF than the one before it. This low noise floor ensures proper operation of the circuit even when considering circuit noise. Delay between signals (us) 0 5 10 15 20 25 30 35 40 45 50 Output Voltage.1 10 khz Input 10 + 10.01 khz Input Figure 6: Output of complete circuit given a two 10 khz input signals 45 o out of phase. Acquisition time to a stable tuning voltage is less than 1 millisecond. Comparison for non-ideal input Figure 8: Output voltage vs time delay for a pair of 10 khz and 10.01 khz sinusoidal inputs. The output voltage swing degrades for the non-ideal input case. However, the voltagephase difference characteristics follow the same straight-line characteristics as for the ideal case.

Corner Simulations The performance of the circuit with respect to some of the process corner variations is shown in the figures below. In all these figures, the red line is for the case when the corner variable is at its low value, the blue for the nominal one and magenta for the high corner case. curves after tuning the circuit when the design is used in industrial production. Figure 11: Layout of the circuit. CONCLUSION Figure 9: Phase delay vs. output voltage for varying temperatures for 0, 25 and 70 degree centigrade. The deviations in curves in figure 9 could be explained using the temperature dependence of the MOS transistor currents in the linear and sub-threshold region. (a) Final value for varying C and R In this paper, the design of a phase locking circuit was accomplished for sound localization applications. The problem of large passive devices was tackled by implementing large resistances through transistors operating in linear region. The circuit is fairly robust to process corners and has a linear output voltage characteristics with respect to phase differences in the input signal. The locking time achieved was less than 1 millisecond. The circuit can be implemented in the ears of a robot so that the robot may detect the direct and distance of the source of sound that is calling it. Similar implementations at different operating frequencies can find applications in SONAR and other acoustic devices. Final value (V).1 TextEnd REFERENCES Final value (V) -0.7.1.6 0 20 40 60 80 100 120 140 160 180 Phase difference (degrees) Final value for varying Vdd TextEnd (b) 0 20 40 60 80 100 120 140 160 180 Phase difference (degrees) Figure 10: Circuit output vs. phase delay for varying (a) oxide thickness for nominal and +/- 10% change; (b)vtp for 0.6, 0.7 and 0.8 Volts Though there are variations in output voltage with variations in some process parameters, the effect can be offset by adding a constant delay to the signal moving in one branch of the circuit. Thus, we would still continue to get the same output voltage versus phase difference [1] Nishiura et al., Localization of Multiple Sound Sources Based on a CSP Analysis with a Microphone Array, IEEE 2000. [2] Grech et al, Low Voltage SC TDM Correlator For the Extraction Of Time Delay, IEEE 2000. [3] Pu and Harris, "A Continuous Time Analog Circuit for Computing Time Delays Between Signals," IEEE International Symposium on Circuits and Systems, 1996. [4] Sakamoto, et al, DSP Implementation of a 3D Sound Localization Algorithm for Monaural Sound Source, " IEEE 2001. [5] Mead, "Analog VLSI and Neural Systems" Addison- Wesley, 1989.