Array Signal Processing By: Jeremy Bass Claiborne McPheeters James Finnigan Edward Rodriguez Array Signal Processing By: Jeremy Bass Claiborne McPheeters James Finnigan Edward Rodriguez Online: < http://cnx.org/content/col10255/1.4/ > CONNEXIONS Rice University, Houston, Texas This selection and arrangement of content as a collection is copyrighted by Jeremy Bass, Claiborne McPheeters, James Finnigan, Edward Rodriguez. It is licensed under the Creative Commons Attribution 2.0 license (http://creativecommons.org/licenses/by Collection structure revised: July 20, 2005 PDF generated: October 25, 2012 For copyright and attribution information for the modules contained in this collection, see p. 52. Table of Contents 1 Array Signal Processing: An Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 2 Beamforming Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 3 Developing the Array Model and Processing Techniques . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 4 Spatial Frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 5 Spatial Frequency Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 6 Labview Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 7 Microphone Array Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 8 Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 9 Limitations to Delay and Sum Beamformers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 10 Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 11 The Team . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Attributions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 iv Available for free at Connexions <http://cnx.org/content/col10255/1.4> Chapter 1 Array Signal Processing: An Introduction 1 1.1 Introduction and Abstract Array signal processing is a part of signal processing that uses sensors that are organized in patterns, or arrays, to detect signals and to determine information about them. The most common applications of array signal processing involve detecting acoustic signals, which our project investigates. The sensors in this case are microphones and, as you can imagine, there are many ways to arrange the microphones. Each arrangement has advantages and drawbacks based on what it enables the user to learn about signals that the array detects. We began the project with the goal of using an array to listen to relatively low frequency sounds (0 to 8 kHz) from a specic direction while attenuating all sound not from the direction of interest. Our project demonstrates that the goal, though outside the capabilities of our equipment, is achievable and that it has many valuable applications. Our project uses a simple but fundamental design. We created a six-element uniform linear array, or (ULA), in order to determine the direction of the source of specic frequency sounds and to listen to such sounds in certain directions while blocking them in other directions. Because the ULA is one dimensional, there is a surface of ambiguity on which it is unable to determine information about signals. For example, it suers from 'front-back ambiguity,' meaning that signals incident from 'mirror locations' at equal angles on the front and back sides of the array are undistinguishable. Without a second dimension, the ULA is also unable to determine how far away a signal's source is or how high above or below the array's level the source is. 1 This content is available online at <http://cnx.org/content/m12561/1.6/>. Available for free at Connexions <http://cnx.org/content/col10255/1.4> 1 2 CHAPTER 1. ARRAY SIGNAL PROCESSING: AN INTRODUCTION Uniform Linear Array Figure 1.1: The ULA is the simplest array design, though it has limitations. When constructing any array, the design specications should be determined by the properties of the signals that the array will detect. All acoustic waves travel at the speed of sound, which at standard temperature and pressure of 0 degrees celsius and 1 atm, is dened as : c ≡ 330.7 m s (1.1) The physical relationship describing acoustic waves is similar to that of light: λf = c. The frequencies of signals that an array detects are important because they determine constraints on the spacing of the sensors. The array's sensors sample incident signals in space and, just as aliasing occurs in analog to digital conversion when the sampling rate does not meet the Nyquist criterion, aliasing can also happen in space if the sensors are not suciently close together. A useful property of the ULA is that the delay from one sensor to the next is uniform across the array because of their equidistant spacing. Trigonometry reveals that the additional distance the incident signal travels between sensors is dsin (θ) . Thus, the time delay between consecutive sensors is given by: τ= d sin (θ) c Say the highest narrowband frequency we are interested is (1.2) fmax π to limit phase dierences between spatially sampled signals to . To avoid spatial aliasing, we would like or less because phase dierences above π cause incorrect time delays to be seen between received signals. Thus, we give the following condition: 2πτ f max ≤ π Available for free at Connexions <http://cnx.org/content/col10255/1.4> (1.3) 3 Substituting for τ in (2), we get d≤ The worst delay occurs for θ = 90 ◦ c 2fmax sin (θ) , so we obtain the d≤ (1.4) fundamentally important condition λmin 2 (1.5) for the distance between sensors to avoid signals aliasing in space, where we have simply used We refer to the direction perpendicular to the length of the array as the λmin = c fmax . broadside of the array. All angles to the right, or clockwise from the broadside are considered positive by convention up to +90 ◦ . −90 ◦ . All angles to the left, or counter-clockwise from the broadside are considered negative up to Just think of spatial sampling in a similar sense as temporal sampling: the closer sensors are, the more samples per unit distance are taken, analogous to a high sampling rate in time! Available for free at Connexions <http://cnx.org/content/col10255/1.4> 4 CHAPTER 1. ARRAY SIGNAL PROCESSING: AN INTRODUCTION Ambiguity of the ULA Figure 1.2: below it. The ULA is unable to distinguish signals from it's front or back side, or signals above or The limitations of the ULA obviously create problems for locating acoustic sources with much accuracy. The array's design is highly extensible, however, and it is an important building block for more complex arrays such as a cube, which uses multiple linear arrays, or more exotic shapes such as a circle. We aim merely to demonstrate the potential that arrays have for acoustic signal processing. Available for free at Connexions <http://cnx.org/content/col10255/1.4> Chapter 2 1 Beamforming Basics 2.1 Introduction to Beamforming Beamformer Basics Beamforming is just what the name sounds like, no pun intended. Beamforming is the process of trying to concentrate the array to sounds coming from only one particular direction. Spatially, this would look like a large dumbbell shaped lobe aimed in the direction of interest. Making a beamformer is crucial to meet one of the goals of our project, which is to listen to sounds in one direction and ignore sounds in other directions. The gure below, while it accentuates what we actually accomplished in Labview, it illustrates well what we want to do. The best way to not listen in 'noisy' directions, is to just steer all your energy towards listening in one direction. This is an important concept, because it is not just used for array signal processing, it is also used in many sonar systems as well. RADAR is actually the complete opposite process, so we will not deal with that. 1 This content is available online at <http://cnx.org/content/m12563/1.6/>. Available for free at Connexions <http://cnx.org/content/col10255/1.4> 5 6 CHAPTER 2. Figure 2.1: BEAMFORMING BASICS Visualization of a Beamformer Delay & Sum Beamformers Even though we did not use a delay and sum beamformer for the implementation of our project, it is a good rst step to discuss, because it is the simplest example. While, we were doing research for this project one of the rst beamformers we learned about was the delay and sum beamformer because of its simplicity. The delay and sum beamformer is based on the idea that if a ULA is being used, then the output of each sensor will be the same, except that each one will be delayed by a dierent amount. So, if the output of each sensor is delayed appropriately then we add all the outputs together the signal that was propagating through the array will reinforce, while noise will tend to cancel. In the Introductory module, we discussed what the time delay is for a linear array, so since the delay can be found easily, we can delay each sensor appropriately. This would be done by delaying the rst sensor output by nτ , where n is the sensor number after the rst. A block diagram of this can be seen below. Figure 2.2: Block Diagram for a Delay & Sum Beamformer Does this Really Work? This seems too simple and to easy to work in practice. Delay and sum beamformers are not very commonly used in practical applications, because they do not work to well, but they do explain a tricky concept simply, Available for free at Connexions <http://cnx.org/content/col10255/1.4> 7 which is why they are often used to introduce beamforming. The problem with further development of time-domain beamformers, such as the delay and sum is that time-domain beamformers are often dicult to design. It is often easier to look at the frequency domain to design lters, which we can then use to steer the attention our array. However, this is no ordinary frequency analysis, this is Spatial Frequency! 2 http://cnx.rice.edu/content/m12564/latest/ Available for free at Connexions <http://cnx.org/content/col10255/1.4> 2 8 CHAPTER 2. BEAMFORMING BASICS Available for free at Connexions <http://cnx.org/content/col10255/1.4> Chapter 3 Developing the Array Model and 1 Processing Techniques We continue to develop the properties for the uniform linear array (ULA) that has been discussed previously 2 λ . With the important relationship that we found to avoid spatial aliasing, d ≤ min , we now consider the 2 theoretical background of the ULA. Once we understand how the array will be used, we will look at a method called 'beamforming' that directs the array's focus in specic directions. 3.1 Far-eld Signals We saw previously that a very nice property of the ULA is the constant delay between the arrival of a signal at consecutive sensors. This is only true, however, if we assume that plane waves arrive at the array. Remember that sounds radiate spherically outward from their sources, so the assumption is generally not true! To get around that problem, we only consider signals in the far-eld, in which case the signal sources are far enough away that the arriving sound waves are essentially planes over the length of the array. Denition 3.1: Far-eld source 2L2 λ , where r is the distance from the source to is the wavelength of the arriving wave. A source is considered to be in the far-eld if the array, L is the length of the array, and λ r> If you have an array and sound sources, you can tell whether the sources are in the far-eld based on what angle the array estimates for the source direction compared to the actual source direction. If the source is kept at the same angle with respect to the broadside and moved further away from the array, the estimate of the source direction should improve as the arriving waves become more planar. Of course, this only works if the array is able to accurately estimate far-eld source directions to begin with, so use the formula rst to make sure that everything works well in the far-eld, and then move closer to see how distance aects the array's performance. Near-eld sources are beyond the scope of our project, but they are not beyond the scope of array Array Signal Processing: Concepts and Techniques, by Don H. Johnson and Dan E. Dudgeon, Englewood processing. For more information on just about everything related to array processing, take a look at Clis, NJ: Prentice Hall, 1993. 1 This content is available online at <http://cnx.org/content/m12562/1.3/>. 2 http://cnx.rice.edu/content/m12561/latest/ Available for free at Connexions <http://cnx.org/content/col10255/1.4> 9 CHAPTER 3. 10 DEVELOPING THE ARRAY MODEL AND PROCESSING TECHNIQUES 3.2 Array Properties Depending on how the array will be used, it may be important (as it was in our project) that the microphones used be able to receive sound from all directions. We used omni-directional microphones, which are exactly what they sound like microphones that hear in all directions. If you don't need this ability, you can look into other options, but keep in mind that the theoretical development here assumes omni-directional capability, so you will need to do some research on array processing techniques that suit your needs. In fact, it would be a good idea no matter what! Our project used a simple array design, but it took a while to learn all of the theory and to gure out how to implement it. Our array comprises six generic omni-directional microphones. We built an array frame out of PVC pipe to hold each microphone in place with equidistant spacing between the sensors. Physical limitations of the microphones and PVC connecting pieces prevented us from using a very small spacing; for our array, we had λmin 2 to avoid spatial aliasing, we are able to calculate the highest frequency that the array is capable of processing: fmax = 1600Hz. (Actually, a sensor spacing of d=9.9 cm. Since we know that we need to have fmax d≤ is a little higher than 1600 Hz as you can verify, but to be on the safe side we kept it a bit lower.) If you want to have any chance of guring out some useful information about a signal, particularly in real-time, you're going to have to ditch the pencil and paper for some electronic equipment. We used National Instruments' LabVIEW 7.1 to do all of our signal processing, although we performed some analog conditioning on the received signal before the analog to digital conversion (ADC). We also used National Instruments' 6024e data acquisition card to digitize the signal. This is a multiplexed ADC with a total sampling capacity of 200 kHz that divides between the number of inputs. Therefore, with six sensor inputs, we could sample the signals received at each microphone at a maximum rate of 33.3 kHz. Since twice the Nyquist rate for speech is about 44.1 kHz, this is not a good DAQ for speech applications; however, it would have worked for our original plan to listen to low frequency sound in the 0 to 8 kHz range. As it turns out, since our array can process a maximum frequency of 1600 Hz, we chose to sample at fs = 4000Hz, which exceeds the Nyquist requirement and is well within the capability of our DAQ. All of these properties generealize to determining the design of any ULA or the design of any array, though other designs may have greater capabilities and thus would require that you consider additional signal properties (e.g., signal elevation above or below the array) and how they aect the array. If you need a starting point, think about the range of frequencies that you are interested in and get equipment that is capable of processing them. That includes an ADC that can sample at a high enough rate to avoid temporal aliasing and the materials to construct an array such that spatial aliasing will not occur. You will probably have to do some pre-conditioning of the signal before you digitize it, such as lowpass ltering to reject frequencies above those you are interested in and applying a gain to the input signals. These are all important things to think about when you design your array! 3.3 ULA Processing Fundamentals Now it's time to look at the theory that we need to implement for a ULA that enables us to gure out where signals come from and to listen to them. We are considering narrowband signals (i.e., sinusoids) of the form x (t) = ej2πft (3.1) where f is the frequency of the signal. If we have N sensors numbered from n=0,...,N-1, then the delayed versions of x(t) that arrive at each microphone n are xn (t) = ej2πf(t−nτ ) (3.2) Thus, the rst sensor (n=0) has zero delay, while the signal arrives at the second sensor (n=1) one unit delay later than at the rst, and so on for each sensor. Then, we sample the signal at each microphone in the process of ADC, and call xn (r) = xn (mT ) , where m is the integers. This gives us the sampled sinusoids at each sensor: xn (r) = ej2πf(r−nτ ) Available for free at Connexions <http://cnx.org/content/col10255/1.4> (3.3) 11 Now we need to do some Fourier transforms to look at the frequency content of our received signals. Even though each sensor receives the same frequency signal, recall that delays to modulation by e−jnτ x (t − nτ ) in time correspond in frequency, so the spectra of the received signals at each sensor are not identical. The rst Discrete Fourier Transform (DFT) looks at the temporal frequency content at each sensor: R−1 1 X j2πf(r−nτ ) − j2πkr Xn (k) = √ e e R R r=0 (3.4) e−j2πf nτ √ R (3.5) for k=fn, and zero otherwise. Here we have used the denition of the normalized DFT, but it isn't particularly important whether you use the normalized or unnormalized DFT because ultimately the transform factors 1/Sqrt(R) or 1/R just scale the frequency coecients by a small amount. Now that we have N spectra from each of the array's sensors, we are interested to see how a certain frequency of interest fo is distributed spatially. In other words, this spatial Fourier transform will tell us how strong the frequency fo for dierent angles with respect to the array's broadside. We perform this DFT by taking the frequency component from each received signal that corresponds to fo and concatenating them into an array. We then zero pad that array to a length that is a power of two in order to make the Fast Fourier Transform (FFT) computationally ecient. (Every DFT that we do in this project is implemented as an FFT. We use the DFT in developing the theory because it applies always, whereas the FFT is only for computers.) note: When we build the array of frequency components from each of the received signals, we have an N length array before we zero pad it. Let's think about the resolution of the array, which refers to its ability to discriminate between sounds coming from dierent angles. The greater the number of sensors in the array, the ner the array's resolution. Therefore, what happens when we zero pad the array of frequency components? We are essentially adding components from additional 'virtual sensors' that have zero magnitude. The result is that we have improved resolution! What eect does this have? Read on a bit!. Once we have assembled our zero padded array of components fo, we can perform the spatial DFT: Ω (k) = √ N −1 1 X −j2π( Nk +f0 τ ) e NR n=0 (3.6) where N for this equation is the length of the zero padded array and R remains from the temporal DFT. The result of the summation is a spectrum that is a digital sinc function centered at f0 τ . The value of the sinc represents the magnitude of the frequency fo at an angle theta. Because of the shape of the lobes of the sinc, which look like beams at the various angles, the process of using the array to look for signals in dierent directions is called beamforming. This technique is used frequently in array processing and it is what enabled us to detect the directions from which certain frequency sounds come from and to listen in dierent directions. Recalling that we zero padded our array of coecients corresponding to f0 , what has that done for us in terms of the spatial spectrum? Well, we have improved our resolution, which means that the spectrum is smoother and more well-dened. This is because we are able to see the frequency dierences for smaller angles. If we increase the actual number of sensors in the array, we will also improve our resolution and we will improve the beamforming by increasing the magnitude of the main lobe in the sinc spectrum and decreasing the magnitudes of the side lobes. Available for free at Connexions <http://cnx.org/content/col10255/1.4> 12 CHAPTER 3. DEVELOPING THE ARRAY MODEL AND PROCESSING TECHNIQUES Available for free at Connexions <http://cnx.org/content/col10255/1.4> Chapter 4 1 Spatial Frequency 4.1 Temporal Frequency Problems with Temporal Frequency Analysis We are accustomed to measuring frequency in terms of (1/seconds), or Hz. Sometimes we may even measure frequency in rad/sec, which is often called angular frequency. More information about temporal frequency can be found here 2 . The reason we often use frequency domain techniques is because it allows for ltering3 of noise and various signals. If were just interested in listening to a particular tone, say a 500 Hz sine wave, it would be easy to just tune in to that one frequency, we would just bandpass lter out all the other noise. However, when we do this we get no information about where the signal is coming from. So, even though we could easily ignore noise, we could not steer our array to just listen in one direction. It would be more like giving it 'selective hearing.' It hears what it wants to, which in this case would be signals at 500 Hz. 4.2 Propagating Waves Nature of Waves As Dr. Wilson discusses in his modules 4 on waves propagating down a transmission line, waves carry two forms information in two domains. These domains are the time and space domains, because the wave equation is usually written in terms of s(x,t) because it propagates in space at a particular time, and if one looks at standing wave at a particular point in space, one should notice that it still moves up and down in a similar manner. An example of this illustrated below. So, if we only look at the temporal frequency component, we are missing out on half the information being transmitted in the propagating signal! If we really want to be able to steer our array in a direction, then we need to analyze the spatial frequency components. 1 This content is available online at <http://cnx.org/content/m12564/1.4/>. 2 http://cnx.rice.edu/content/m0038/latest/ 3 http://cnx.rice.edu/content/m0533/latest/ 4 http://cnx.rice.edu/content/m10095/latest Available for free at Connexions <http://cnx.org/content/col10255/1.4> 13 14 CHAPTER 4. Figure 4.1: SPATIAL FREQUENCY Illustration of a wave propagating in space 4.3 Spatial Frequency Introduction to Spatial Frequency While we were investigating the time domain, we were able to accomplish such operations as ltering by taking 2π / T , where T is the period of the signal, to get the temporal frequency denotated ω. We can use similar reasoning to obtain k, the wavenumber, which is the measure of spatial frequency. Instead of using the period of the signal, we now use the wavelength, which is the spatial equivalent to the period. This makes sense, because a period is the length of time it takes to complete one cycle, whereas the wavelength is the amount of distance the wave covers in one cycle. We there are able to change the temporal frequency equation ω = 2π / T into k = 2π / λ. Available for free at Connexions <http://cnx.org/content/col10255/1.4> Chapter 5 1 Spatial Frequency Analysis 5.1 Aliasing in the Spatial Frequency Domain Avoiding Spatial Aliasing 2 can occur in the frequency As we saw was the case in the time domain, a phenomenon known as aliasing domain if signals are not sampled at high enough rate. We have the same sort of considerations to take into account when we want to analyze the spectrum of the spatial frequency as well. As was discussed in the introduction 3 , the Nyquest equivalent of the sampling rate is 1/2 of the minimum wavelength. This comes about from the relationship between speed, frequency and wavelength, which was discussed in the introduction as well. The gure below demonstrates the eects of aliasing in the spatial domain; it looks identical to ltering the time domain except that instead of the x-axis being related to pi/T it is now pi/d, where d is the distance between sensors. So, if we bandlimit our signal in temporal frequency, so that we can sample as two times the maximum temporal frequency, and if we design the sensors so that half of the minimum wavelength is greater than distance between sensors, we can avoid aliasing in both time and space! Figure 5.1: Spatial Aliasing 1 This content is available online at <http://cnx.org/content/m12557/1.5/>. 2 http://cnx.rice.edu/content/m10793/latest/ 3 http://cnx.rice.edu/content/m12561/latest/ Available for free at Connexions <http://cnx.org/content/col10255/1.4> 15 16 CHAPTER 5. SPATIAL FREQUENCY ANALYSIS 5.2 Spatial Frequency Transform Introduction to the Spatial Frequency Transform Analogous to the DFT 4 , is the sampled and windowed spatial equivalent, which is what we used to be able to lter our signal in frequency. The reason we want the information in the spatial frequency or wavenumber domain is because it is directly correlated to the angle the signal is coming from relative to the ULA. The spatial DFT is computed as the FFT of the rst FFT. The rst FFT represents the time domain frequency response and the second FFT represents the wavenumber response. This seems strange this would work, but let's explore this a little more fully. Let's look at theoretical example. Example 5.1: Mentally Visualizing the Spatial Frequency Transform The 2-D Transform Consider a box lled with numbers. The box is labeled on one edge time and on the other edge space. The rst FFT we are taking is to obtain the temporal frequencies, so this would be like looking at a row along the box and taking the FFT of the numbers going across, while the spatial FFT would be calculated by looking at the numbers going down the columns. This is done repeatedly on each row and column, so the rst FFT would go across each row, while the 2nd one would go down each column. This is easier to comprehend with a picture like the one below. 4 http://cnx.rice.edu/content/m10249/latest/ Available for free at Connexions <http://cnx.org/content/col10255/1.4> 17 Figure 5.2: Visualization of mapping a signal into Spatial & Temporal Frequencies SFT with Sinusoids Since we were interested in detecting sinusoids, it would be interesting to consider what this kind of "double" 5 we know that the FFT of Fourier Transform would do to a sinusoid. From our list of Fourier Transforms a sinusoid will give us a delta function shifted by the frequency of the sinusoid. We then see that the FFT of a delta function is 1, which would mean that we get the equivalent of white noise in spatial frequency! Fortunately, this is not exactly how the spatial FFT works. We are basically taking the FFT across one set of vectors followed by the FFT down the columns of those vectors, we are NOT taking the FFT(FFT(f(x,t)). So, when we accomplish this sort of arrangement on our signal, f(x,t), we get: 5 http://cnx.rice.edu/content/m10099/latest Available for free at Connexions <http://cnx.org/content/col10255/1.4> 18 CHAPTER 5. Figure 5.3: SPATIAL FREQUENCY ANALYSIS Spatial FFT of a Sinusoid A sinc function! 5.3 Spatial Domain Filtering Just as we are able to lter signals in temporal frequency, we can lter signals in spatial frequency. In fact, the way we accomplished the direction detecting algorithm in labview used a graph very similiar as the one above and then looking for the largest magnitude part of the signal. Once, this value is known, quick computation can then nd the angle that signal came from! Ta da! We're done! Well, sort of. Available for free at Connexions <http://cnx.org/content/col10255/1.4> Chapter 6 1 Labview Implementation 1 This content is available online at <http://cnx.org/content/m12565/1.10/>. Available for free at Connexions <http://cnx.org/content/col10255/1.4> 19 20 CHAPTER 6. LABVIEW IMPLEMENTATION 6.1 Labview VIs Used in Simulation Top Level Diagram and Overall Organization The gure below is a top level diagram of a six microphone array simulation VI. This VI is named "Multiple Frequency Simulation" Starting at the left with the signal generation, the code ows to the right. This top VI is made out of smaller VIs that each perform a specic function. Detailed descriptions of each of these can be found in the following paragraphs. Top Level Diagram (Multiple Frequency Simulation) Figure 6.1: Top Level Diagram Available for free at Connexions <http://cnx.org/content/col10255/1.4> 21 6.2 Simulated Signal Generation VI Simulate Signal Icon Figure 6.2: Simulate Signal Icon Signal Generation VI The above icon corresponds to the Signal Generation VI. At the far left are four signal generation VIs. Each of these VIs produces six dierent signals that simulate the delayed signals that each of the microphones would hear in real life. These six signals are then bunched together in a cluster (pink wire) to keep the amount of wires down. The three inputs to this VI are the frequency of the sinusoid desired, the direction of the signal, and the distnace between microphones (9.9 cm in this example). The user sets these paramaters on the front panel and is free to change them at any time. Our VI uses the formula discussed in previous modules that relates the time delay of signals to the distance between microphones. Using the desired angle that the signal is coming from, the speed of sound (C), the distance between microphones, and a conversion between degrees and radians, the VI rst computes the time delay between microphones. Becuase we are interested in the delay between the rst microphone and all others, the amount of delay is multiplied by zero for the rst mic, one for the second mic, two for the third, and so on. These delays are then used as phase inputs to the six identical Simulate Signal VIs. Adding phase to a periodic signal like the sinusoids being used here has the same eect as delaying the signal in time. Finally the six signals are merged together into a cluster so that they will be easier to deal with as a group in other VIs. Available for free at Connexions <http://cnx.org/content/col10255/1.4> 22 CHAPTER 6. LABVIEW IMPLEMENTATION Simulate Signal Block Diagram Figure 6.3: Simulate Signal Block Diagram In this simulation we simulate four dierent frequencies and directions. Once we have the data of these four separate signals, we sum the signals on each of the channels to get the nal output on each of the microphones. Doing so leaves us solely with what we would hear on the six microphones if this were set up in real life. If more signals are required for future testing or other applications, onc can simply copy and paste the signal generation VI and then sum it with the other signals. Once this signal is comple, we move to the right in our VI. From here we branch into two separate areas. Following the pink line up takes us to where we calculate the angle that a given frequency is coming from,and to the right is where we perform the calculations to listen to signals from a given direction. Available for free at Connexions <http://cnx.org/content/col10255/1.4> 23 6.3 Frequency and Spatial FFT Computation VIs 1rst FFT Icon (Time - Frequency) Figure 6.4: 1rst FFT Icon 1rst FFT VI In order to listen to a certain direction we rst need to transform our signals from the microphone in to the frequency domain. To do this we made the "1rst FFT" Vi (see icon above). This sub-VI is fairly simple so there is no need to show the block diagram. It takes the FFT of each of the six channels channels, transfroming the data from the time domain to the freqeuncy domain For simulation, we looked at 1 second samples at 4000hz. This VI then takes the FFTs of the six 4000 element long signals from the simulated microphones. Available for free at Connexions <http://cnx.org/content/col10255/1.4> 24 CHAPTER 6. LABVIEW IMPLEMENTATION Six Point FFT Icon (Frequency - Spatial) Figure 6.5: Six Point FFT Icon(Frequency - Spatial) Six Point FFT VI Moving to the right after the rst FFT, we nd the "6 pt FFT" VI. This VI is used to transform our frequency domain data into the spatial domain. This VI needs to run for every frequency of interest, so in the top level diagram this VI is found inside of a for loop. The user can control what range of frequencies are of interest on the front panel of the main VI, and the loop will run for those frequencies. Inside this VI, the complex frequency coecient for the given frequency is extracted from the array for each microphone channel. These six values are then concantonated into a lengh six array. Next, the array is zeropadded to a user specied length (we used 256 in our simulation) so more resolution can be observed in the resulting spatial transform. Finally, the FFT is performed on these values transforming them into the spatial domain. With the data in the spatial domain we are easily able to gure out the magnitude of any frequency from any direction in our 180 degrees of interest. How to do this can be found in the magnitude VI. Available for free at Connexions <http://cnx.org/content/col10255/1.4> 25 Six Point FFT block Diagram (Frequency - Spatial) Figure 6.6: Six Point FFT block Diagram (Frequency - Spatial) Available for free at Connexions <http://cnx.org/content/col10255/1.4> 26 CHAPTER 6. LABVIEW IMPLEMENTATION 6.4 Coecient, Angle, and Magnitude Calculation VIs Coecient Calculator Figure 6.7: Coecient Calculator Coecient Calculator Now that the signals have been transformed to their spatial representations, the correct coecients to construct the signal of interest must be computed. To do this we created the Coecient Calculator VI.. This VI takes in the angle of interest, a frequency, the number of microphones, a constant factor (determined by the setup of the microphones and the amount of zero padding...in this example it is -93), and our original sampling frequency to compute the correct coecient to look at for the given angle. Once this coecient is found, we extract the value at that coecient and append it to our ouptut array as the value at that given frequency. Below is the block diagram for this VI. It consists of a basic formula node and some logic on the front and back to make sure that the calculations are correct when working with angles from negative directions. Because this formula is dependent on the frequnecy of interest, we are required to run this VI for every frequency we are intereseted in. In order to do this, we put this VI inside a for loop that is controlled by our frequency range. Any coecient for frequencies outside of this range are simply given a value of zero. The array modules ouside of this for loop are used to do just that. They append arrays with value zero on the front and back of the output of the for loop to return our vector to its original size. From here, we run this vector through a few multiplies to amplify the diernce between the coecients with high and low magnitudes, and nally we inverse FFT it to get our output array. This array represents a signal in the time domain and is graphed on the front panel along with a graph of its frequency components. We also included a small VI that will play the output waveform on computer speakers. This VI uses a matlab script and requires the user to have matlab 6.5 or earlier. Available for free at Connexions <http://cnx.org/content/col10255/1.4> 27 Magnitude Graph of Coecients After Spatial FFT Figure 6.8: Magnitude Graph of Coecients After Spatial FFT Available for free at Connexions <http://cnx.org/content/col10255/1.4> 28 CHAPTER 6. LABVIEW IMPLEMENTATION Magniutde Calculation VI Figure 6.9: Magnitude Calculation VI Magnitude Calculation If we go back to the branch in the pink wire immediatly after the signal generation VIs and move upwards instead of to the right, we come across the code that is used to calculate the angle at which the largest magnitude signal of a given frequency is approaching the array. Another "6 pt t" VI is used, but this one is slightly modied. It also includes the initial FFTs of all 6 channels. We grouped these two VIs together because ony one spacial FFT is being computed (that at the frequeny of interest). The resulting vector of the previous six point FFT is immediately used as the input to the Magnitude Calculation VI. The vecor of spatial coecients from the "six pt FFT" vis are complex, so this VI is used to calculate the magnitudes of the coecients so the maximum coecient can be found. The output of this VI is also used to create a visual representation of what direction the specied frequency is coming from. Below is a graph of the magnitude of the coecients of the spatial FFT. As discussed before, we see the peak correspoinding to the incoming direction and the smaller ripples to each side. Available for free at Connexions <http://cnx.org/content/col10255/1.4> 29 Magnitude Graph of Coecients After Spatial FFT Figure 6.10: Magniutde of Coecients after Spatial FFT Example 6.1: Magnitude Graph Example As we can see in the previous gure, the magnitude of the spatial FFT is greatest around coecient 82. There are also smaller ripples that die o around each end. This graph tells us that the the direction that the given frequency is coming from corresponds to the angle represneted by coecient 82. To gure out what angle this was, we would use our Coecient to Angle VI. Calculation of Angle Finally, we isolate the index of the maximum angle and use it to compute the angle of incidence. Using the same formula used in the Coecient Angle Calculator, the Coecient to Angle VI deduces the angle of incidence. This VI uses the same formula found in the Coecient Angle Calculator, but is arranged dierently so that we can nd the angle based on the coecient instead of the coecient based on the angle. Once the VI computes this value, the result is output on the front panel. Available for free at Connexions <http://cnx.org/content/col10255/1.4> 30 CHAPTER 6. LABVIEW IMPLEMENTATION 6.4.1 Links to Labview Code • • • • • • • • • Multiple FrequencySimulation (Top Level VI) 3 Coecient Calculator Incident Angle Calculator 5 Play Array 2 4 6 Six Point FFT (with rst t) 7 Six Point FFT (without rst t) 8 Magnitude Calculation 9 First FFT Simulate Signal 10 6.5 Code Remarks Overall, the code involved in this method of array signal processing can be broken up into smaller parts that are easy to understand. By combining these smaller parts we are able to create an upper level VI that performs a complicated task that would be dicult to get working using other methods. The major problem with this VI is that it requires a large number of calculations. To increase performance (without upgrading computers) one could decrease the frequency range of interest, or they could lower the amount of zeropadding. They could aslo look at a smaller time period. 2 http://cnx.org/content/m12565/latest/Multiple_Frequency_Simulation.vi 3 http://cnx.org/content/m12565/latest/Coecient_Calculator.vi 4 http://cnx.org/content/m12565/latest/Incident_Angle_Calculator.vi 5 http://cnx.org/content/m12565/latest/play_array_anything.vi 6 http://cnx.org/content/m12565/latest/Six_Point_FFT_with_rst_t.vi 7 http://cnx.org/content/m12565/latest/Six_Point_FFT_without_rst_t.vi 8 http://cnx.org/content/m12565/latest/Magnitude_Calculation.vi 9 http://cnx.org/content/m12565/latest/First_FFT.vi 10 http://cnx.org/content/m12565/latest/Simulated_Input.vi Available for free at Connexions <http://cnx.org/content/col10255/1.4> Chapter 7 1 Microphone Array Simulation 1 This content is available online at <http://cnx.org/content/m12568/1.3/>. Available for free at Connexions <http://cnx.org/content/col10255/1.4> 31 32 CHAPTER 7. MICROPHONE ARRAY SIMULATION 7.1 Why Labview Simulation Reasons For Simulation Simulation of the microphone array is an integral step in verifying that the design and method of implementation behind the beamforming system are correct. Additionally, Simulation allows one to easily change the paramaters of the system (number of microphones, type of signals, distance between microphones) so that the system can be optimized to the desired needs. Simulation also allows for easy testing free of noise, uncertainty, and other errors. Finally, simulation allows one to modify input signals on the y and lets one instantaenously see if the system is working as planned. Reasons for Simulation in Labview There are many practical reasons why Labview is the ideal program to simulate array processing in. Labviews graphical programming environment is perfect for this type of application. The simple to use signal generator VIs and convenient output displays make controlling the results and modifying the inputs easly. Additionally, with Labview the Simulation can be easily modied to work in real life (see next module). By replacing the simulated signals with real life data acquiition, the same code is used for real-life implemenation of the array. 7.2 Simulation Inputs Four independent sinusoids are used as the inputs to the simulator. frequency and direction of incidence. Each of these sinusoids has its own The user of the simulator can modify these signals while the VI is running by simply rotating the knobs or entering new values. To cut down on processing time, we decided to bandlimit the frequencies of the sinusoids from 800 to 1600 Hz. There are other controls in the VI that allow the user to change this range, but we found that the simulations runs most smoothly at this range. With four signals the simulator can be used to examine the major combinations of sinusoids that should be tested....dierent frequencies coming from dierent directions, similar frequencies coming from dierent directions, similar frequencies coming from the same direction, and varied frequencies coming from the same direction. These four major categories can be used to show that the simulator does indeed work. The gure below shows how the paramaters of the sinusoids are input in the VI. Available for free at Connexions <http://cnx.org/content/col10255/1.4> 33 Input Signal Selection Figure 7.1: Input Signal Selection 7.3 Simulation Front Panel Below is a copy of the front panel of the simulation VI. The "Angle to Listen To" knob is where the user selects the direction that they want to listen to. The graph on top shows the magnitude of the various frequency components from the angle that they are looking at. If a user wants to know from which direction a certain frequency compnent is propogating (or if there are two signals, the one witht he greatest amplitude), they can enter that frequency on the "Desired Frequency Knob". The direction that the frequency of interest is coming from will then be displayed on the "Angle of Incidence" Meter. Overall, this Front panel alllows the user to listen in dierent directions and determine the direction of an incoming frequency. Example 7.1: Simple Example Using of Simulation On the "Front Panel" gure below, we can see that the user is listening to signals coming from thirty degrees. We can then deduce from the graph that a signal at 1300Hz is propograting from thirty degrees. Based on the inputs above, this is exactly what we expect to see. We can also tell from looking at the "Angle of Incidence" meter that a signal at 1050Hz is comign from rougly -25 degrees. Again, this makes sense based on the above inputs. Available for free at Connexions <http://cnx.org/content/col10255/1.4> 34 CHAPTER 7. MICROPHONE ARRAY SIMULATION FRONT PANEL Figure 7.2: FRONT_PANEL 7.4 Simulation Output The nal part of this Simulation VI is the ouptut. The VI will display the incoming signal coming from the desired direction on the "Ouput Waveform" Graph. In addition to to this graph, the Simulation will also play this output waveform as audio. Doing so allows the user to hear the diernt sounds as they change their angle of interest. Available for free at Connexions <http://cnx.org/content/col10255/1.4> 35 OUTPUT WAVEFORM Figure 7.3: OUTPUT WAVEFORM Available for free at Connexions <http://cnx.org/content/col10255/1.4> 36 CHAPTER 7. MICROPHONE ARRAY SIMULATION Available for free at Connexions <http://cnx.org/content/col10255/1.4> Chapter 8 1 Hardware 8.1 Hardware Our array was built using six Sony F-V100 omnidirectional microphones, spaced at 9.9 cm apart. We built a frame out of precisely cut 1" I.D. PVC pipe in order to keep the microphones spaced accurately apart and minimize phase error in our measurements. These microphones produced an average 1 mV p-p signal from the sinusoids that were used for the test program. The signals were fed into a six-channel amplier to increase the voltage to .5 V p-p in order to achieve a usable range of the DAQ card. The amplier was built using common 741 op-amps and care was taken to insure all the path lengths were approximately the same length. Following the amplier, the signals were fed into a National Instruments 6024e DAQ card. The DAQ card was set to sample at 4000 Hz for a length of 2 seconds. 8.1.1 Test Setup Once the signals were digitized, we were able to use the Labview code that we had developed using the simulated test signals and apply the same algorithm to the real life signals that we were recording. To generate test signals we used a second laptop to generate dierent frequency sinusoids on the left and right channel of the sound output and then used a set of speakers with extended cables to place them at dierent locations around the array. For the actual location of the tests, we set up the array in the middle of an open outdoor area in order to avoid sounds echoing o the walls of an enclosed space and causing unwanted interference. 1 This content is available online at <http://cnx.org/content/m12569/1.3/>. Available for free at Connexions <http://cnx.org/content/col10255/1.4> 37 38 CHAPTER 8. Available for free at Connexions <http://cnx.org/content/col10255/1.4> HARDWARE Chapter 9 Limitations to Delay and Sum 1 Beamformers 9.1 Implementing a Delay and Sum Beamformer As we discovered in the section discussing beamformers 2 , that when an array of sensors record a signal there is an implicit delay between the signal arriving at the dierent sensors because the signal has a nite velocity and the sensors are not located at the same location in space. We can use this to our advantage, by exploiting the fact that the delay among the sensors will be dierent depending on which direction the signal is coming from, and tuning our array to "look" in a specic direction. This process is know as beamforming. The traditional way of beamforming is to calculate how much delay there will be among the sensors for sound coming from a direction that you are interested in. Once you know this delay you can delay all the corresponding channels the correct amount and add the signals from all the channels. In this way, you will constructively reinforce the signal that you are interested in, while signals from other directions will be out of phase and will not be reinforced. 1 This content is available online at <http://cnx.org/content/m12570/1.4/>. 2 http://cnx.rice.edu/content/m12563/latest/ Available for free at Connexions <http://cnx.org/content/col10255/1.4> 39 40 CHAPTER 9. LIMITATIONS TO DELAY AND SUM BEAMFORMERS Figure 9.1 The gure above illustrates a sinusoid captured on a six channel linear array. Though, the sinusoids look crude because of the implicit noise of real signals, you can see by the spectrum that it is indeed there and in also that the phase is dierent for each of the sensors. The phase dierence is determined by the delay between the sensors and is given by a simple geometrical calculation which we discuss later. The problem with this method is that the degree of resolution that you can distinguish is determined by the sampling rate of your data, because you can not resolve delay dierences less than your sampling rate. For example if the sampling period is 3 milliseconds, then you would have a range of say 20 degrees where the delay would be less than 3 milliseconds, and thus they would all appear to be coming from the same direction because digitizing signals from anywhere in this range would result in the same signal. This is very signicant because the spacing of the sensors is usually quite small, on the order of centimeters. At the average rate of sound, 330 m/s, it only takes .3 milliseconds to move 10 cm. However, the Nyquist Sampling Theorem states that we can derive all the information about a signal by sampling at only twice the highest frequency contained in the signal. With a 10 cm spacing between sensors the highest sinusoid we can capture is 1600 Hz, for reasons we discuss elsewhere. So ,we should be able determine the phase of all the sinusoids by only sampling at 3200 Hz rather than at tens of kilohertz that is required with delay and sum beamforming. In order to do this, however, we must implement a better method of beamforming in the frequency domain. Available for free at Connexions <http://cnx.org/content/col10255/1.4> Chapter 10 1 Results The tests of the real-world implementation were successful. Using the second laptop, we positioned a 1000 Hz signal at about 40 degrees and a 1600Hz signal at about -25 degrees relative to the axis perpendicular to our array. Both signals were on simultaneously and at equal volume. As you can see from the spectrum of the output of our program, changing the dial to tune to the array to dierent directions results in the expected behavior. Tuned towards 40 degrees Figure 10.1 1 This content is available online at <http://cnx.org/content/m12571/1.4/>. Available for free at Connexions <http://cnx.org/content/col10255/1.4> 41 42 CHAPTER 10. RESULTS Tuned towards -25 degrees Figure 10.2 These rst two gures show that our output signal consists of the two test sinusoids. Tuning the software to look in the appropriate directions shows that the magnitude of the corresponding sinusoid is more powerful than that of the power of the other sinusoid. Focusing on the 1000 Hz sinusoid enhances the power of that sinusoid to about 5 times that of the other sinusoid. Focusing on the 1600 Hz sinusoid gives even better results. The dierence in power here is more than 10 times. Available for free at Connexions <http://cnx.org/content/col10255/1.4> 43 Tuned straight ahead Figure 10.3 Available for free at Connexions <http://cnx.org/content/col10255/1.4> 44 CHAPTER 10. RESULTS Tuned towards -83 degrees Figure 10.4 When we tune the array to a direction which does not have a source we get scaled down versions of anything close to that angle. For example, when we steer it at the middle we get small versions of the two sinusoids, and when we steer the beam at a direction that's way o, we get much smaller peaks from our two sinusoids. 10.1 Conclusion We were able to demonstrate this processing technique in both simulation and real life. The main problem with our system is the amount of processing that is needed to make this a realtime process. For example, using a 1.6GHz processor we were capturing 1 second of data and taking about 2 seconds to process it. Due to this restriction in processing power, we are only processing a band of spectrum from 800 - 1600 Hz. This is not enough to process voice data. Another problem is that we have to space the sensors closer together in order to sample a higher frequencies because we have to avoid spatial aliasing in addition to temporal aliasing. Therefore the main improvements to this system would be ways to decrease the amount of processing or to use a much more powerful system. Although we have hammered out a good chunk of this project, there is denitely room for improvement in the optimization of processing. Available for free at Connexions <http://cnx.org/content/col10255/1.4> Chapter 11 1 The Team 11.1 Group Members The group work was distributed to follow the strengths of the individual members. Jim Finnigan was responsible for most of the LabVIEW code, while Clay McPheeters and Jeremy Bass worked on a couple of supplementary VIs. Ed Rodriguez built the actual hardware microphone array and the lters for the microphone signals going into the DAQ. In addition, we all got together and tested the hardware and software to make sure it worked. Jeremy and Clay created the poster for the presentation, while all members of the group worked on the Connexions modules. We all spent many hours and exchanged uncountable blank stares trying to understand array theory. Many thanks to Dr. Don H. Johnson for helping us along the way. Dr. Richard Baraniuk also gave us helpful ideas and LabVIEW, which we could never have aorded. 1 This content is available online at <http://cnx.org/content/m12566/1.4/>. Available for free at Connexions <http://cnx.org/content/col10255/1.4> 45 46 CHAPTER 11. Jim Finnigan ([email protected]) Figure 11.1 Available for free at Connexions <http://cnx.org/content/col10255/1.4> THE TEAM 47 Ed Rodriguez ([email protected]) Figure 11.2 Available for free at Connexions <http://cnx.org/content/col10255/1.4> 48 CHAPTER 11. Clay McPheeters ([email protected]) Figure 11.3 Available for free at Connexions <http://cnx.org/content/col10255/1.4> THE TEAM 49 Jeremy Bass ([email protected]) Figure 11.4 11.2 Acknowledgements Dr. Don H. Johnson for consultation & book: Array Signal Processing: Concepts & Techniques Dr. Richard Baraniuk for LabVIEW and direction Varma, Krishnaraj: Time-Delay-Estimate Based Direction-of-Arrival Estimation for Speech in Reverberant Environments Available for free at Connexions <http://cnx.org/content/col10255/1.4> 50 GLOSSARY Glossary F Far-eld source A source is considered to be in the far-eld if the array, L is the length of the array, and λ 2L2 λ , where r is the distance from the source to is the wavelength of the arriving wave. r> Available for free at Connexions <http://cnx.org/content/col10255/1.4> 51 INDEX Index of Keywords and Terms Keywords are listed by the section with that keyword (page numbers are in parentheses). Keywords do not necessarily appear in the text of the page. They are merely associated with that section. Ex. apples, 1.1 (1) Terms are referenced by the page they appear on. A acoustic, 1(1) apples, 1 M microphone, 1(1), 3(9), 6(19), 7(31) array, 1(1), 3(9), 6(19), 7(31) B beamforming, 3(9), 11 F Ex. O omni-directional, 10 broadside, 3 P far-eld, 3(9), 9 R resolution, 11 Far-eld source, 9 fundamentally important condition, 3 I Implementation, 6(19) L Labview, 6(19), 7(31) linear, 1(1), 3(9) S processing, 1(1), 3(9) signal, 1(1), 3(9), 6(19) Simulated, 6(19) Simulation, 7(31) spatial Fourier transform, 11 U uniform, 3(9) Available for free at Connexions <http://cnx.org/content/col10255/1.4> 52 ATTRIBUTIONS Attributions Collection: Array Signal Processing Edited by: Jeremy Bass, Claiborne McPheeters, James Finnigan, Edward Rodriguez URL: http://cnx.org/content/col10255/1.4/ License: http://creativecommons.org/licenses/by/2.0/ Module: "Array Signal Processing: An Introduction" By: Claiborne McPheeters, James Finnigan, Jeremy Bass, Edward Rodriguez URL: http://cnx.org/content/m12561/1.6/ Pages: 1-4 Copyright: Claiborne McPheeters, James Finnigan, Jeremy Bass, Edward Rodriguez License: http://creativecommons.org/licenses/by/1.0 Module: "Beamforming Basics" By: Jeremy Bass, Edward Rodriguez, James Finnigan, Claiborne McPheeters URL: http://cnx.org/content/m12563/1.6/ Pages: 5-7 Copyright: Jeremy Bass, Edward Rodriguez, James Finnigan, Claiborne McPheeters License: http://creativecommons.org/licenses/by/1.0 Module: "Developing the Array Model and Processing Techniques" By: Claiborne McPheeters, Jeremy Bass, James Finnigan, Edward Rodriguez URL: http://cnx.org/content/m12562/1.3/ Pages: 9-11 Copyright: Claiborne McPheeters, Jeremy Bass, James Finnigan, Edward Rodriguez License: http://creativecommons.org/licenses/by/2.0/ Module: "Spatial Frequency" By: Jeremy Bass, James Finnigan, Edward Rodriguez, Claiborne McPheeters URL: http://cnx.org/content/m12564/1.4/ Pages: 13-14 Copyright: Jeremy Bass, James Finnigan, Edward Rodriguez, Claiborne McPheeters License: http://creativecommons.org/licenses/by/2.0/ Module: "Spatial Frequency Analysis" By: Jeremy Bass, James Finnigan, Edward Rodriguez, Claiborne McPheeters URL: http://cnx.org/content/m12557/1.5/ Pages: 15-18 Copyright: Jeremy Bass, James Finnigan, Edward Rodriguez, Claiborne McPheeters License: http://creativecommons.org/licenses/by/2.0/ Module: "Labview Implementation" By: James Finnigan, Jeremy Bass, Claiborne McPheeters, Edward Rodriguez URL: http://cnx.org/content/m12565/1.10/ Pages: 19-30 Copyright: James Finnigan, Jeremy Bass, Claiborne McPheeters, Edward Rodriguez License: http://creativecommons.org/licenses/by/1.0 Available for free at Connexions <http://cnx.org/content/col10255/1.4> 53 ATTRIBUTIONS Module: "Microphone Array Simulation" By: James Finnigan, Jeremy Bass, Claiborne McPheeters, Edward Rodriguez URL: http://cnx.org/content/m12568/1.3/ Pages: 31-35 Copyright: James Finnigan, Jeremy Bass, Claiborne McPheeters, Edward Rodriguez License: http://creativecommons.org/licenses/by/1.0 Module: "Hardware" By: Edward Rodriguez, Jeremy Bass, Claiborne McPheeters, James Finnigan URL: http://cnx.org/content/m12569/1.3/ Page: 37 Copyright: Edward Rodriguez, Jeremy Bass, Claiborne McPheeters, James Finnigan License: http://creativecommons.org/licenses/by/2.0/ Module: "Limitations to Delay and Sum Beamformers" By: Edward Rodriguez, Jeremy Bass, Claiborne McPheeters, James Finnigan URL: http://cnx.org/content/m12570/1.4/ Pages: 39-40 Copyright: Edward Rodriguez, Jeremy Bass, Claiborne McPheeters, James Finnigan License: http://creativecommons.org/licenses/by/2.0/ Module: "Results" By: Edward Rodriguez, Jeremy Bass, Claiborne McPheeters, James Finnigan URL: http://cnx.org/content/m12571/1.4/ Pages: 41-44 Copyright: Edward Rodriguez, Jeremy Bass, Claiborne McPheeters, James Finnigan License: http://creativecommons.org/licenses/by/2.0/ Module: "The Team" By: Jeremy Bass, James Finnigan, Edward Rodriguez, Claiborne McPheeters URL: http://cnx.org/content/m12566/1.4/ Pages: 45-49 Copyright: Jeremy Bass, James Finnigan, Edward Rodriguez, Claiborne McPheeters License: http://creativecommons.org/licenses/by/2.0/ Available for free at Connexions <http://cnx.org/content/col10255/1.4> Array Signal Processing This is our ELEC 301 Project for the Fall 2004 semester. We implemented a uniform linear array of six microphones. We then sampled the data and analyzed it in LabVIEW in order to to listen in one direction. We also explored listening for a particular frequency and its direction. About Connexions Since 1999, Connexions has been pioneering a global system where anyone can create course materials and make them fully accessible and easily reusable free of charge. We are a Web-based authoring, teaching and learning environment open to anyone interested in education, including students, teachers, professors and lifelong learners. We connect ideas and facilitate educational communities. Connexions's modular, interactive courses are in use worldwide by universities, community colleges, K-12 schools, distance learners, and lifelong learners. Connexions materials are in many languages, including English, Spanish, Chinese, Japanese, Italian, Vietnamese, French, Portuguese, and Thai. Connexions is part of an exciting new information distribution system that allows for Print on Demand Books. Connexions has partnered with innovative on-demand publisher QOOP to accelerate the delivery of printed course materials and textbooks into classrooms worldwide at lower prices than traditional academic publishers.