Docsity

Voice-Isolating Wireless Communication Design - Project | ECE 445, Study Guides, Projects, Research of Electrical and Electronics Engineering

Partial preview of the text

Download Voice-Isolating Wireless Communication Design - Project | ECE 445 and more Study Guides, Projects, Research Electrical and Electronics Engineering in PDF only on Docsity!

Voice-Isolating Wireless Communication Design

By

Alexander Joo

Ryo Kondo

Frank Lam

ECE 445, SENIOR DESIGN PROJECT

SPRING 2008

TA: Anthony Mangogni

April 29, 2008

Project No. 22

ii

ABSTRACT

Unwanted manmade noises that impede voice communication are common in our daily lives. The goal of our project is to create a 2-way portable (or easily made portable) headset system that effectively filters out this unwanted noise while preserving the desired voice signal, allowing two people in close proximity to be able to communicate in a noisy environment. Our system implements a Least-Mean Squares (LMS) adaptive filter to identify and remove the noise from the desired audio signal before it is sent through a 900 MHz wireless transmitter to a receiver. Our filter is effective in removing sufficiently loud non-white noise sources from 200 Hz to 4000 Hz, which is the range of most human created noise sources in human environments, with a typical reduction of noise from about 10-20 dB. However, we built only a one-way system to prove that the concept works, leaving the construction of a two-way system to be a simple duplication of the current parts. The wireless range at present

1. Introduction

People are unique from other species due to their ability to communicate clearly with one another. We are able to accomplish the things we have done because we can convey our ideas, thoughts, and feelings. However, situations exist that prevent this basic human activity. Noisy environments such as airports, large assemblies, and bars prohibit people’s ability to communicate and discourage the sharing of ideas.

Our senior design project is a solution to these kinds of situations. Our voice-isolating wireless communicator eliminates the noise that prevents communication and allows the participants to speak clearly to each other.

1.1 Purpose

The purpose of this project was to apply all the engineering knowledge we gained in college as we pursued our B.S. in Electrical Engineering to actually engineer a product that people in society can actually use and benefit from. We ended up deciding on a project that allows easy wireless communication between two people in a noisy environment.

We plan to implement this by designing a headset system that can selectively isolate voice from a sum of voice and background noise and then wirelessly transmit the cleaned signal between headsets. We chose this project because we feel that this is a common problem and because a solution like ours has not been implemented in this manner. This is significantly different from noise-canceling headsets, as traditionally, these use destructive interference to remove noise from incoming signals. Our goal is to use basic audio DSP to remove a known noise pattern from an outgoing audio signal. If we can fit this into a small form factor, we feel that this can become a marketable product.

1.2 Specifications

For our project to function as desired, the end product should allow users to communicate:  With each other in loud environments  Out of a loud environment to people elsewhere  Wirelessly with each other

These are all benefits to the end users which will make them likely to use our product. Additionally, our product should be able to meet the following requirements:  Have a wireless range of about 50 feet (100 feet ideal)  Produce a significant gain in SNR (>20 dB – 30 ideal)  Under 5 kg for prototype unit / Under 0.5 kg in potential production unit  2-way full-duplex communication  (Near) real-time communication (<100 ms delay)  Multiple non-interfering channels (at least 10, preferred).

1.3 Subprojects

The design of the project as a whole consisted of many smaller modules with its own functions.

1.3.6 Power Supply Module

This module supplies power to both the microphone pre-amplifier module, the TI TMS320C6713 DSP chip module, and the audio transmitter module. The supply to the microphone pre-amplifier and audio transmitter is 5.3V DC and the supply to the DSP TI TMS320C6713 development board is through the 5V AC Adapter.

1.3.2 Microphone Array Module

The microphone module consists of two microphones and cupping devices. The two microphones serve different purposes. One microphone picks up the signal of the noise while the other microphone picks up the signal of the voice as well as the noise. The cupping devices serve to isolate the voice signal to only the second the microphone.

1.3.3 Microphone Preamplifier Module

The microphone preamplifier module performs several functions on the signal before it reaches the processing board. It supplies power so that the microphones can drive an audio signal. It amplifies the audio signal from ―mic in‖ levels to ―line in‖ signals. Finally, it combines two separate audio signals so that they act as the two channels of a surround ―line in‖ signal.

1.3.4 DSP Module

The Digital Signal Processing (DSP) module formed the heart of our audio analysis and manipulation. It received two single-channel analog audio inputs, performed all audio functions pertaining to our filter, and outputted the sanitized audio to our transmitter.

1.3.5 Audio Transmitter Module

The audio transmitter module takes the processed analog audio signal from the DSP chip and transmits it wirelessly to the audio receiver module. The range required on the audio transmitter and receiver pair is the distance between two speaking persons in a normal sized room: about 10 – 50 feet.

1.3.6 Power Supply Module 2

This module supplies power to the audio receiver module and the audio buffer amplifier module. It supplies 5.3V DC to the components in both the audio receiver module and the audio buffer amplifier module.

1.3.7 Audio Receiver Module

The audio receiver module receives the analog audio signal from the transmitter and outputs this analog signal to the audio buffer amplifier. The range required on the audio transmitter and receiver pair is the distance between two speaking persons in a normal sized room: about 10 – 50 feet.

1.3.8 Audio Buffer Amplifier Module

The audio buffer amplifier module receives an analog signal from the audio receiver module, cleans up the signal of high frequency noise and amplifies the same analog signal. It then outputs this signal into a 3.5mm TRS connector jack.

1.3.9 Headphones Module

The headphones module consists of a pair of normal headphones with a 3.5mm TRS connector plug that connects to the jack of the audio buffer amplifier module. Sound is played through the headphones so the listener can listen to the transmitted analog voice signal.

software itself that ran the signal analysis and manipulation. During our design of the overall DSP Module, several revisions were made to each component.

Initially, we had considered implementing the entire DSP component on a PC, and porting it over to a DSP board later. This would have allowed us to work in our most familiar environment, and also the one where we had built our proof of concept. It became clear, however, that the process of ―porting‖ could end up being a more tedious function, so we decided to build natively on a DSP board.

The only DSP board that was easily available at the lab was the TI TMS320C54xx and TMS320C55xx (henceforth 54x and 55x) series, both of which were fixed-point processors. As our experience with DSP was limited to the theory presented in ECE 410—Digital Signal Processing I, we sought out Professor Jont Allen’s experience in choosing a particular board. Professor Allen strongly advised against using fixed-point DSP boards due to difficulty coding for such platforms, so we chose to pursue floating-point solutions.

We first experimented with the TI 6711 DSP board, but soon found that it was limited to fixed-point processing as well. Lacking the components we desired, we decided to purchase a board for ourselves. After some research, we decided that the TI TMS320C6713 DSP Starter Kit (hence forth 6713 DSK) was the minimally acceptable DSP solution for our project. This decision was based on the following criteria:  Floating-point processing unit  At least two audio input jacks  Documentation and example code readily available  Supported by our programming libraries in LabVIEW and MatLAB.  Purchase cost below $

As the 6713 DSK met all of these requirements, we sent our project design to Texas Instruments as part of a request for a donation board. As we were unsure if (and when) the donation would be processed and approved by TI, we requested and obtained permission from the lab director to purchase another board for our project. The purchased board arrived within a week allowing for immediate development, while the donation board was received a few weeks later.

The following sections describe (somewhat chronologically) the design procedure and challenges of each of the specific components of the DSP module.

2.4.1 Hardware/Software—Texas Instruments TMS320C6713 DSP Starter Kit

The 6713 DSK housed the core processing unit as well as all the analog audio inputs and outputs required for the DSP module to interface with the audio amplifier and wireless transmitter components. The starter kit is shown as Figure D-1 above and includes the core DSP chip, as well as interfaces for various DSP applications.

After receiving the first board, we immediately attempted to familiarize ourselves with developing for the board. A hardware issue we faced immediately involved the audio inputs. Despite having two separate audio input jacks (labeled Mic in and Line in), the board did not provide a means for obtaining two separate data streams. Indeed, it appeared that both lines fed into the same input, with the distinguishing feature of the mic-in jack being that it had an audio amplifier built in. The lack of an amplifier in the line-in also meant that it could not obtain a usable signal from the microphones. The lack of two separate, signal-amplified audio jacks forced us to build the audio preamplifier/mixer which was described earlier. Once the preamp was completed, all hardware challenges (involved the DSP module) were overcome and we transitioned onto development of the software.

2.4.2 Software—National Instruments LabVIEW 8.2 DSP Toolkit

We initially chose to work with MATLAB’s Simulink (as shown in Figure D-2), as it appeared to have more developer support and documentation than LabVIEW. However, we had numerous issues in attempting to output code in a format that our version of Code Composer (3.1) could support. The University did not have an active license for Code Composer (it also cost close to $2,000), so we scrapped the idea of using MatLAB. After a brief

testing session with LabVIEW (see Figure D-3), and seeing its versatility, we decided to switch over, and began development there.

LabVIEW, like Simulink, is a visual development platform which provides programmers an environment to create ―virtual instruments‖ that take in signal inputs, perform functions, and provide signal outputs. The DSP Toolkit for LabVIEW abstracted away many of the low-level development details (such as C and assembly syntax) allowing us to focus on the development of the filter itself. LabVIEW also supplied many basic DSP functions, visualization tools and built-in libraries specific to the 6713 DSK. Once a VI was completed, LabVIEW also interfaced with Code Composer’s USB module to load the finished program onto the board.

The simplicity of LabVIEW together with its plug-and-play support of our DSP board gave us much needed versatility to focus our work in building the audio filter.

2.4.3 Filter Design—Least Mean Square (LMS) Adaptive Filter

The design of the filter is essentially the core of our project. We considered several filter designs before settling upon our final one. For our proof-of-concept, we designed a direct sample-by-sample adding/subtracting VI in LabVIEW as seen in Figure B-2. This relatively simple VI would take in an audio signal, add white noise, subtract it, and then compare the inputs to the outputs. The purpose of this was to show that we could use LabVIEW to perform the necessary computations to the audio streams.  Simple white noise: (Noise signal)  Rocky—Eye of the Tiger: (Desired Signal)  Signals added: (Noise) + (Desired Signal)  Noise subtracted: (Noise) + (Desired Signal) – (Noise) = (Desired Signal)

The demonstration worked flawlessly, and the outputted noise was nearly identical to the input. There were some discrepancies, which were attributed to floating point approximation errors. However, there were some issues with this proof of concept:  The exact noise signal added and subtracted—in other words, we knew what the exact noise was in the system. It would be nearly impossible to isolate the exact noise in a real mixed signal.  There was no delay in either the signal or noise source—in other words, the noise removal system simply subtracted the audio we gave it from frame 0 without consideration of any delay. Real world signal sources may be delayed, and may have varying delays. Even if we knew what the exact noise was that was in the system, without taking delay into consideration, the system would not be effective.

The above two assumptions could not be made in any real-world system, so we had to find an alternate design to our filter.

In a real-world environment, we do not know the exact noise signal in advance. Even though we provide two audio input signals, one with signal and noise, and another with (ideally) only noise, the noise signals are not identical in each (though they are closely related) signal at each sample. Even with a reference noise signal, we quickly determined that an adaptive filter would be necessary to best approximate the noise signal.

Two adaptive filter designs were readily available to us, the Least Mean Squares (LMS) filter, and the Recursive Least Squares (RLS) filter. We chose to pursue the LMS filter as it was simpler and less computationally intensive than the RLS filter. Both adaptive filters follow the same general outline: the filters are set at a certain finite order; they start arbitrary values for their coefficients; and the filter adjusts them at each sample based on a reference signal. More detail on this topic is present in the design detail section on the LMS Filter.

All LMS filters follow the same basic structure and algorithm. [3] The design is so uniform that LabVIEW’s DSP Toolkit provides an easy method for implementing an LMS filter once the signals are obtained. Optimizing the filter to a particular application, however, is another story. The filter design procedure had to take into account

Once we realized that the input signal into the transmitter (which is also the output of the TMS320C6713 DSP board) was an analog signal, we decided to take advantage of the analog transmission capabilities of the LINX HP3 modules rather than add an A/D converter so that we could wirelessly transmit the signal digitally. Though the quality of the wirelessly transmitted audio signal is not as great as it would have been had it been transmitted digitally, in the end, the audio was of more than adequate quality and definitely fit the scope of our project.

2.5.2 Audio Buffer Amplifier Design........................................................................................

Since we decided to use wireless analog transmission through the LINX HP3 modules, we needed to build an audio buffer amplifier to amplify and also clean up the transmitted audio signal outputted from the receiver module. In creating the audio buffer amplifier circuit, we first built the circuit provided in the LINX HP3 receiver data sheet. When that circuit did not work we built another circuit found in the LM386N-4 data sheet. Again, that failed to work. We eventually stumbled upon a design while exploring the internet and attempted the design on that webpage [1]. Much to our surprise, this design worked. The downside was that there was a great deal of noise and the audio was not very loud.

To correct the noise, we designed and added two low pass filters to filter out the high frequency noise. Rather than figure out the frequency of the noise and designing a low pass filter to eliminate this noise, we decided it would be faster to design the low pass filter using brute force. The design of the low pass filter is shown in Figure B-4.

Looking at Figure B-4, the transfer function for the low pass filter is shown in Equation 2.4.2-1:

Examining Equation 2.4.2-1, we notice that the cut-off frequency of the low pass filter depends on the value of the capacitor and resistor. Thus, by setting the capacitor constant at 10μF and varying the resistor, the cutoff frequency will change. Knowing this, we used the brute force approach to try many resistors while keeping the capacitor at 10μF. We first implemented the low pass filter designed using this method before the analog signal entered the operational amplifier of the audio buffer amplifier circuit. Once this low pass filter was implemented, we repeated the same approach and implemented a low pass filter at the end of the audio buffer amplifier circuit because there was still a buzzing noise with the first low pass filter. After implementing the second low pass filter, the high frequency noise disappeared.

Once the audio buffer amplifier was completed, the only drawback to the current design was that the amplification was not enough. The audio outputted from the receiver was not as loud as we would like. So after studying the LM 386N-4 operational amplifier’s data sheet, we found a way to increase the amplification of that operational amplifier by adding a capacitor between pins 1 and 8 of the device. We did this, and the amplification increased dramatically. In fact, the added capacitor increased the amplification about 7 times. After this, we were all happy with the volume of the outputted audio signal.

3. Design Details 3.1 Power Supply Module

We used the 5V AC adapter to power the TI TMS320C6713 development board. Also, for the duration of the project, we used a 5.3V DC source to power the pre-amplifier module and the LINX TXM-900-HP3-xxx audio transmitter module because this voltage is within the acceptable range of the components that make up both of the modules. When testing initially to ensure functionality of the individual devices though, we also used the 5.3 DC source from the DC power supply to power the LINX RXM-900-HP3-xxx receiver and the audio buffer amplifier circuit. Once we got the wireless modules to work, we used 4 AA batteries in series producing 6V DC voltage to power the receiver and audio buffer circuit so that we can allow the receiver unit to function independently.

Even with DC voltage sources, we added a low pass filter to filter out any high frequency noise in the power supply. We used the following low pass filter seen in Figure B-5 to clean our power source:

Examining the above circuit, we were able to derive the following transfer function representing the low pass filter used:

Looking at the bode plot in Figure B-5 of this low pass filter, we find the cutoff frequency of the filter to be 9.970x10^3 rad/sec or 1.587kHz.

The cutoff frequency of the low pass filter could be adjusted based on the frequency of the noise present, but we found through general testing of our project in general that this low pass filter designed worked just fine.

3.2 Microphone Array

The final design of the microphone array consists of two microphones facing away from each other with each microphone placed inside a cupping device. Two factors affect the performance of the microphone array: placement and the cupping devices. Through informal testing we found that the two microphones can be placed relatively close to each other without having the ―noise only‖ microphone pick up the voice signal.

The informal testing consisted of producing a simple sine frequency and having the ―voice and noise‖ microphone capture the signal. The ―noise only‖ microphone was then slowly brought in closer proximity to the ―voice and noise‖ microphone. An oscilloscope showed the effect of that movement as the recognition of the sine frequency changed from the voice signal to the noise signal. When the two microphones were placed very close to each other both microphones picked up the sine frequency wave. The signal was then recognized as noise and consequently cancelled out. We found that we can place the microphones fairly close to each (albeit facing opposite direction) before the effect takes place. This same test was done with cupping devices to determine they had a positive effect on how close the microphones can be brought together.

3.3 Microphone Preamplifier

The final circuit twice replicates the circuit mentioned in part 2.3 because there are two audio signals to amplify. Figure B-1 shows the fully designed circuit. There are three portions to note on this circuit. 1) The resistor connecting the microphones to a voltage source. 2) The two resistors labeled R1 and R2. 3) The integration of two inputs into one output jack.

The first portion of the circuit provides power to the microphones. The microphones require a small current fed through in order to operate the small amplifier circuit inside the microphone. The two resistors of portion 2 determine the amplification of the signal. Equation 3.3-1 describes the exact relationship between gain and the resistor values.

Note that the three chip select pins, CS0, CS1, and CS2, and the MODE pin are all grounded. Grounding the MODE pin allows for parallel channel selection so that the channel to select is that specified by the three chip select pin. Grounding the three chip select pins selects the default transmission frequency of 903.37 MHz. Accordingly, the receiver MODE and chip select pins are also all grounded so that the transmitter and receiver are transmitting and receiving respectively at the same frequency. Notice in Figure B-7 that in our circuit implantation of the LINX HP3 modules, we did not connect an antenna to the antenna pins of the transmitter nor the receiver. This is because we determined, from rigorous testing, that the internal antenna present in the LINX HP3 modules themselves performed more than adequately within the scope of our project. That’s why we did not connect an external antenna to the two modules.

The last point to note is that since analog transmission is being used, the output of the receiver was the AUDIO (pin 17) pin. If we had transmitted the audio data digitally, the DATA (pin 18) pin would have been the output.

3.5.2 Audio Buffer Amplifier Design......................................................................................

The audio buffer amplifier circuit is attached to the output of the LINX HP3 receiver where it receives the transmitted analog signal from that module. Figure B-8 shows the electrical schematic of the receiver and audio buffer amplifier:

Looking at Figure B-8, we see the first low pass filter (resistor R1 and capacitor C1) at the output of the receiver. Immediately after this low pass filter is the audio buffer amplifier circuit. After the audio signal travels through this portion of the circuit, it encounters the second low pass filter (resistor R2 and capacitor C7).

In designing the first low pass filter, we tested many low pass filters with varying cut off frequencies. The design of the first low pass filter we finally decided on had resistor resistance of 390Ω and capacitor capacitance of 10μF. This leads to the transfer function shown as Equation 3.5.2-1:

Accordingly, the bode plot for Equation 3.5.2-1 is shown as Figure C-6.

Looking at the bode plot in Figure C-6 of this low pass filter, we find the cutoff frequency of the filter to be 256 rad/sec or 40.74 Hz.

The second low pass filter was designed similarly to the above low pass filter. In the end, we decided to use the resistor with resistance of 39Ω and capacitor of capacitance of 10μF. This leads to the transfer function shown as Equation 3.5.2-

Accordingly, the bode plot for Equation 3.5.2-2 is shown as Figure C-7.

Looking at the bode plot in Figure C-7 of this low pass filter, we find the cutoff frequency of the filter to be 2560 rad/sec or 407.4Hz.

Since the audio buffer amplifier was not loud enough we looked through the data sheet and saw that we could increase the gain by adding a capacitor between pins 1 and 8 of the LM 386N-4 operational amplifier used in our circuit. Thus, we added a 10μF capacitor between the two pins and heard the great results after testing in. The capacitor added is capacitor C8 in Figure B-8 above.

4. Design Verification 4.1 Testing

We performed rigorous testing on all the individual modules of our project as well as the project as a whole.

4.1.1 Power Supply

The cutoff frequency of the low pass filters cleaning the power source could be adjusted based on the frequency of the noise present, but we found through general testing of our project in general that this low pass filter designed worked just fine.

We also measured the current and voltage to determine the power that our product dissipated. The measurements we took for power dissipation includes all of the components of our project except for the TI TMS320C development board. Table C-4 shows the voltage and current draw of the components in our project along with the corresponding power draw.

Using 4 AA Duracell Coppertop batteries to power these components, the project would cease working once the battery voltages dip below 5V total (corresponding to 1.25V per battery). According to Figure C-8, when this occurs, there is a total of 1.10 AmpHrs available [2]. Thus, the total hours of usage for this project is 22 hours, as shown in Equation 4.1.1-1.

4.1.2 Microphone Preamplifier Testing

The main test confirms that amplification is approximate to 24 times the original signal. To perform the test, a simple sine frequency sound was picked up by one of the microphones and the signal before and after amplification was read by an oscilloscope. A range of frequencies were used to confirm that amplification stays constant throughout the bandwidth. In the 4 trials that are included (400, 700, 1000, 2000 Hz), all trials show that amplification stayed consistently near 20.

Figure C-1 shows the actual oscilloscope measurements. The top wave for all the captures constitutes the original signal, and the bottom wave is the amplified signal. The original signal has a peak-to-peak (PTP) amplitude of 20 mV while the amplified signal has a PTP amplitude of 400 mV resulting in a gain of approximately 20.

4.1.3 DSP Module Testing

The DSP module was tested in multiple ways. There were quantitative tests to ensure that the filter performs as expected; qualitative tests to ensure that the benefits are noticeable and significant, a frequency response test to see the filter’s effectiveness across various noise frequencies, and miscellaneous test to further verify filter effectiveness.

4.1.3.1 Quantitative Testing

Several qualitative and tests were conducted on the DSP module to ensure that it performed well both statistically, and with human reviewers. The first tests we ran were those testing the effectiveness of the filter in isolating the desired signal in response to various types of noise input. The desired signal was a steady 1 kHz sinewave produced by a function generator. This is output from directional speakers into the signal side of the microphone array. The noise sources are in turn (1) A 600 Hz sinewave, (2) white noise, (3) alternative rock music. The noise is played through Logitech THX certified surround sound speakers placed around the microphone array at a distance identical to that of the directional speakers as shown in Figure B-9.

With the filter on, Figure C-2.A shows that the DSP module is remarkably effective at reducing sine wave noise by at least 10 dB in some cases, even when the noise is markedly louder than the signal we are trying to isolate.

There were a couple areas we wanted to test related to the wireless portion of the project. The first was the delay through the wireless. To test this, we sent a 5V peak-to-peak square wave through the input of the transmitter and captured the signal on the output of the receiver. We used the two channels of an oscilloscope to visually capture the input and output square wave. With this, we were able to determine the delay. Figure C-4 is a picture of the scope capture of the input and output signal.

Looking at Figure C-4, we see that there is a delay of about 25-30 μs. This is a very small delay and will contribute very little to our goal of less than 100ms delay for the overall system.

4.1.4.2 Distance

We also tested the distance of transmission and reception by the LINX HP3 RF modules. To perform this test, we first placed the transmitter playing an audio signal from an IPOD on the west end of the 2nd^ floor hallway in Everitt Laboratory. Then, we listened through headphones connected to the receiver circuit to the quality of the audio signal at discrete distances away from the transmitter. Based on the quality of the audio, we ranked the audio qualitatively from a scale of A-E. Table C-6 explains the rankings along with the quality of audio heard:

Once the scale for the audio quality was created, we moved incremental distances away from the transmitter and ranked the audio quality. We performed this test with antennas and without antennas on the LINX HP3 modules. Table C-1 displays our test results.

Looking at the data in Table C-1, we see that the audio quality with and without an antenna is given a rank of A up to 80 and 60 ft. respectively. Knowing this, we decided to eliminate the use of an antenna for the LINX HP modules because a range of 60 ft. without an antenna is more than adequate for the scope of our project.

4.1.4.3 Low Pass Filters

To eliminate the noise present in the audio buffer amplifier we built, we added low pass filters. We first added a low pass filter with cut off frequency of 40.74Hz before the input of the audio buffer amplifier circuit. To test the effectiveness of the filters, we didn’t send any input into the transmitter. We then qualitatively examined the oscilloscope captures of the output and chose the filter with the least amount of noise. We also listened through the headphones to qualitatively listen and determine the greatest reduction in noise. Figure C-9 is the oscilloscope capture of the output of the audio buffer amplifier circuit with no low pass filters added.

Notice in Figure C-9 the amount of noise present in the waveform. Now, Figure C-10 is the oscilloscope capture of the output after adding the first low pass filter.

It is clear from comparing Figures 4.1.5.3-1 and 4.1.5.3-2 that there is a dramatic decrease in the amount of noise present with the addition of the first low pass filter. After adding this low pass filter, the noise heard from the headphones dramatically decreased. However, there was still a buzzing sound heard. Thus, we added a second low pass filter, but this time, the filter was placed at the output of the audio buffer amplifier circuit. After adding the second low pass filter with a cut off frequency of 407.4Hz, the buzzing was no longer heard from the headphones. We verify the results visually by observing the oscilloscope captures. Figure C-11 is a scope capture of the output of the audio buffer circuit with a low pass filter placed at the input (zoomed in view of Figure C-10).

Now, we observe Figure C-12 showing the output of the overall audio buffer circuit with a low pass filter added between the headphone jack and the audio buffer amplifier circuit.

Comparing Figures 4.1.5.3-3 and 4.1.5.3-4, we visually see that adding the second low pass filter reduces the noise even further.

4.1.4.4 Extra Amplification

In order to increase the volume heard by the listener, we added a 10μF capacitor between pins 1 and 8 of the LM 386N-4 operational amplifier. By listening through the headphones to the transmitted audio with and without the

added capacitor, we were able to hear the increase in volume and thus amplification by adding the extra capacitor. We also observed this result using the oscilloscope. We first observe Figure C-13, the scope capture of the output without the extra capacitor added and with a 1kHz, 2V peak-to-peak sine wave inputted into the transmitter.

Looking at Figure C-13, we see that the peak-to-peak voltage of the amplifier input actually decreased once the signal reached the amplifier output. The signal decreased from about 463mV to 60.6mV. However, once the extra capacitor was added for amplification, we see a dramatic increase in the output wave form, which is seen in Figure C-14.

Examining Figure C-14, we see that adding the extra amplification increased the gain about 7 times from 60.6mV peak-to-peak voltage to 438mV. Now, both input and output amplifier signals have about the same voltage magnitude.

6. CONCLUSIONS

We were extremely happy with the final product of our design. The DSP board was able to properly distinguish between the voice and noise signal and significantly reduce the noise. In addition, the wireless portion transmitted a clear signal well beyond our stated specifications. Most importantly, all the components worked together seamlessly to function in a real life situation.

We have a number of recommendations to improve the performance of our design. One of our principle concerns is the fact that the wireless technology we used is radio frequency. With radio frequency transmission, an unknown person can intercept the channel to receive the communication without the knowledge of the intended participants. Using a digital protocol with encoding such as Blue Tooth can alleviate such a problem.

Using digital communication can further improve performance by erasing the need for filters in the back end of the receiver. With analog communication, noise was introduced through the wireless system. A system that transmits digitally will not encounter that problem and will instead transmit a clearer signal. However additional work will be needed to produce a wireless protocol and add digital-to-analog converter on the back end of the receiver.

There are several steps that can be taken to improve the packaging of the product for the actual market. First, the DSP board will have to be replaced by a DSP chip. The board contains components such as LEDs and switches that we never used during our design process, and they represent a waste of material and space. Secondly, the microphone array can be dramatically improved by adding more appealing cupping devices and using materials that would eliminate noisy such as sponges.

References

[1] ―An audio interface device for speech-bandwidth optical communications systems,‖ Sep. 2007,

http://modulatedlight.org/optical_comms/optical_comm_audio_interface_device.html

[2] PowerStream, ―Discharge tests of AA Batteries, Alkaline and NiMH,‖ 2007,

http://www.powerstream.com/AA-tests.htm

[3] Shetty, Kiran Kumar, ―A Novel Algorithm for Uplink Interference Suppression Using Smart

Antennas in Mobile Communications,‖ February 2004, http://etd.lib.fsu.edu/theses/available/etd-

04092004-143712/unrestricted/Ch_6lms.pdf