Design and Measurement of a Dipole Microphone (online section)

Similar documents
Quadra 10 Available in Black and White

Quadra 15 Available in Black and White

SPECS. Impulse (4 and 8 ohm) Two-Way Weather-Resistant Injection-Molded Speaker System SPECIFICATIONS. Built under U.S.

ONLINE TUTORIALS. Log on using your username & password. (same as your ) Choose a category from menu. (ie: audio)

Low frequency section: 500 Watts continuous 1,000 Watts program 2,000 Watts peak

Quadra 12 Available in Black and White

SSE 12 SPECIFICATIONS

SSE S5 SPECIFICATIONS

SSE 26 SPECIFICATIONS

Electro-Voice S40. Full Range Compact Speaker System 160 Watts Power Handling Available is Black or White

SSE 10 SPECIFICATIONS

SPECIFICATIONS QW -1. Listen To This. Mid Frequency Section: 101 db SPL, (2 Volt input) High Frequency Section: 111 db SPL, (2.

Overview. Features. Technical Data Sheet 1 / 7. Powered Loudspeaker DSR112

not overpower the audience just below and in front of the array.

Sound recording & playback

Stereo 3-Way Active Crossover User Manual Model K231 Sublime Acoustic, LLC

Balanced Armature Check (BAC)

3D Intermodulation Distortion Measurement AN 8

Low Frequency Section: 98.0 db SPL, (2.83 V input) High Frequency Section: db SPL, (2.83 V input)

ViRAY. with DDP Dual Diaphragm Planar-wave-driver Technology. Compact 3-way symmetrical line array system. DDP Technology

Features: Description

Overview. Features. Technical Data Sheet 1 / 7. Powered Loudspeaker DSR115

500 W (2000 W peak) 300 W (1200 W peak) 100 W (400 W peak)

A Guide to Reading Transducer Specification Sheets

PRELIMINARY. group S. MicroWedge MW12 Specifications 2-WAY FULL-RANGE STAGE MONITOR FEATURES DESCRIPTION. CONFIGURATION Subsystem

From time to time it is useful even for an expert to give a thought to the basics of sound reproduction. For instance, what the stereo is all about?

Dynamic Generation of DC Displacement AN 13

Introduction to Equalization

UBL SOUND POWER M SERIES

PRELIMINARY. group S. M i cro W e dge M W 15 Speci f i cations. 2-Way full-range stage monitor See NOTES TABULAR DATA for details FEATURES DESCRIPTION

FBT RECANATI

The Woofer Tester Pro. Integrated Speaker Measurement & Design. Web: Phone:

Measurement of weighted harmonic distortion HI-2

SPECIFICATIONS QW -215

Transfer Function (TRF)

Practical Impedance Measurement Using SoundCheck

Measurement of Amplitude Modulation AN 6

DREAM DSP LIBRARY. All images property of DREAM.

FA28. Dual 8 inch Coaxial Loudspeaker. product specification. Performance Specifications 1

14 fasttest. Multitone Audio Analyzer. Multitone and Synchronous FFT Concepts

USBPRO User Manual. Contents. Cardioid Condenser USB Microphone

9 A small tutorial. 9.1 Loudspeaker boxes

The Mimir. Enclosure and stuffing. Drive units

Causes for Amplitude Compression AN 12

Suppose you re going to mike a singer, a sax, or a guitar. Which mic should you choose? Where should you place it?

THE ART EVOLUTION CONTINUES

Application Guide. AcousticPerformance Series Loudspeakers

CL3596. Mid-Size 300-Watt, 3-Way, 8 Ω LoudSpeaker SySteM. EUROCOM Installed Sound. CL3596 Features: Transducers:

CL2564. Mid-Size 200-Watt, 2-Way, 8 Ω LoudSpeaker SySteM. EUROCOM Installed Sound. CL2564 Features: Transducers:

SOUND FIELD MEASUREMENTS INSIDE A REVERBERANT ROOM BY MEANS OF A NEW 3D METHOD AND COMPARISON WITH FEM MODEL

JBL-Smaart Pro Application Note. Using The JBL-Smaart Pro Delay Locator

ICONOCLAST USER GUIDE

Impulse response. Frequency response

Loudspeakers. Juan P Bello

3D Distortion Measurement (DIS)

Finding the Prototype for Stereo Loudspeakers

Sound Design and Technology. ROP Stagehand Technician

What applications is a cardioid subwoofer configuration appropriate for?

Application Note 4. Analog Audio Passive Crossover

The New 8260A Three-Way DSP Loudspeaker System. with Minimum Diffraction Coaxial (MDC ) Technology

Description. 175 watts Test Voltages: 34.2 volts rms 68.3 volts peak R SR (1.15 R E. ): 6.67 ohms. Suspending the Xi-1082

User Guide FFFA

A C T I V E P A E N C L O S U R E S

We recommend you keep the following records for reference, as well as a copy of your sales receipt: Serial number: Date of purchase:

The Naim Balanced Mode Radiator The Naim Ovator Bass Driver

APPLICATION NOTE MAKING GOOD MEASUREMENTS LEARNING TO RECOGNIZE AND AVOID DISTORTION SOUNDSCAPES. by Langston Holland -

Sound Quality. Crossovers. High-Precision Stereo 2-Way/3-Way/ Mono 4-Way Crossover with Limiters, Adjustable Time Delays and CD Horn Correction

THE USE OF VOLUME VELOCITY SOURCE IN TRANSFER MEASUREMENTS

Since the advent of the sine wave oscillator

i3speakers LX503 MK2 User Manual

Investigating Electromagnetic and Acoustic Properties of Loudspeakers Using Phase Sensitive Equipment

Q179 Envelope++ Q179 Envelope++ Specifications. Mar 20, 2017

CX896-MT inch Coaxial Loudspeaker, 70 V. product specification SERIES. Performance Specifications 1

CL3264/CL3264-WH Mid-Size 200-Watt, 3-Way, 8 Ω Loudspeaker System

FA22. Dual 12 inch Coaxial Loudspeaker. product specification. Performance Specifications 1

Juggling Audio Bits Audio DSP for DIY applications

USO RESTRITO. Introduction to the Six Basic Audio Measurements. About this Technote. 1: Device Under Test and Signal Path. DUTs

3-Way Active Crossover Model XOVER-3. Xkitz.com. User s Manual. Features. Rev 2.1

Demonstrating Acoustic Resonance: with the CircuitGear CGR-101 and Power Supply PSM-101

TI 360 System check (1.7 EN) System check function within the d&b D6, D12 and E-PAC amplifiers and remote control via R1

Perception of temporal response and resolution in the time domain

Measurement Procedure & Test Equipment Used

How To... Commission an Installed Sound Environment

Maximizing LPM Accuracy AN 25

Application Note 7. Digital Audio FIR Crossover. Highlights Importing Transducer Response Data FIR Window Functions FIR Approximation Methods

Q107/Q107A State Variable Filter

Publication Number ATFxxB Series DDS FUNCTION WAVEFORM GENERATOR. User s Guide

Sound Tuning Magazine

Model Owner s Manual. Active 3-Way Studio Monitor System.

Measurement of Weighted Harmonic Distortion HI-2

LINN AKUBARIK - FREQUENTLY ASKED QUESTIONS THE LOUDSPEAKER YOU VE BEEN WAITING FOR!

FW inch Coaxial Cardioid Stage Monitor. product specification. Performance Specifications 1

CX inch Coaxial Loudspeaker. product specification SERIES. Performance Specifications 1

CL2264/CL2264-WH. Mid-Size 200-Watt, 2-Way, 8 Ω Loudspeaker System with 12" Low-Frequency and 1.35" High-Frequency Transducers.

2-Way Active Crossover Model XOVER-2. Xkitz.com. User s Manual. Features. Rev 5.0

What you Need: Exel Acoustic Set with XL2 Analyzer M4260 Measurement Microphone Minirator MR-PRO

UNIT 2. Q.1) Describe the functioning of standard signal generator. Ans. Electronic Measurements & Instrumentation

5: SOUND WAVES IN TUBES AND RESONANCES INTRODUCTION

8 inch Coaxial Loudspeaker

140 W (560 W peak) 140 W (560 W peak) 75 W (300 W peak)

Transcription:

Design and Measurement of a Dipole Microphone (online section) Mark Williamsen 5/17/09 submitted to Audio Amateur, Inc. for audioxpress Magazine

This is the online section of the article Design and Measurement Of a Dipole Microphone, which goes into detail describing the gated measurement technique [A] and software programs used to measure the dipole microphone prototype. For discussion of the microphone s design and construction, please refer to the print section, which can be found in the June 2009 issue of audioxpress. To carry out the measurements, I used 16 bit samples with no compression, at 44100 samples per second. Almost any sound card should be able to simultaneously play and record two channels in this format. You ll also need a software program to interact with your computer s sound hardware that can play and record at the same time. I chose Audacity <audacity.sourceforge.net> because it s free, and can translate a variety of sound file formats. You ll want to stick with linear PCM encoding, and avoid compressed file formats for signal generation and analysis because they are likely to discard details, especially in the phase response, which you actually need. Software programs that keep digital audio in memory in a compressed format, such as GarageBand, are also ruled out for the same reason. In my work I only used one of the output channels for test signals, but there are some neat things you can do with two output channels. The second channel could contain synch pulses to trigger a digital oscilloscope, or drive a turntable for polar Mark Williamsen p. 2 of 15 Dipole Microphone

measurements. Or if you are using a two-way loudspeaker as your point source (drivers should be coaxial, of course) you can biamp it with a stereo amplifier, and then put signals meant for the woofer in one channel and signals meant for the tweeter in the other. This completely avoids the problem of phase cancellation between drivers when using a passive crossover. Of course, you would need to modify the analysis software program to account for two different time delays. I should mention that it s a bad idea to use a cabinet with a tuned port, passive radiator, or multiple woofers as your point source. In my case, I didn t need to bi-amp the system because I had on hand a single-driver wide-range loudspeaker the Auratone 5C Super Sound Cube to use as my point source. The sealed cabinet is 16.5cm wide X 16.5cm high X 13.3cm deep, and contains a single 13.3 cm paper cone driver. Resonance in the cabinet is 138 Hz, so 100 Hz is probably a reasonable lower limit for measurements. High frequency output is usable up to 10 khz due a small lightweight voice coil with a rigid dust cap. All of my measurements will be tone bursts with a duty cycle of around 1%, so response changes due to voice coil heating won t be a problem. It was very convenient to support the cabinet on a mic stand using an upsidedown threaded base I had on hand (Photo 1). A larger cabinet would need to be supported on a structure with a minimum of reflecting surfaces, such as wire rack shelving. Mark Williamsen p. 3 of 15 Dipole Microphone

You re probably thinking that Auratones don t have a flat frequency response, so how can I use them to measure a microphone s response? While it s true that Auratones don t have a flat frequency response, what they do have is a smooth response, and for these experiments that s all you need. I ll use the omni response of the electret microphone capsules as a reference for comparison. Even that s not really flat above 3 khz for the capsules I chose, but it s good enough. Readers having a calibrated standard microphone can use that as a reference instead. Since the computer sound hardware can record two channels simultaneously, in many cases you ll be able to record both reference and measured signals at the same time, allowing precise comparison of both magnitude and phase, for instance when comparing the omni and gradient signals. For polar measurements I set the mike stand supporting the microphone under test on a cheap turntable and turned it by hand 5 after each burst. In this case, all bursts were at the same frequency. Because I was kneeling on the floor while turning the mic stand, it is likely that I became part of the measurement (although, I hope, a small part). For frequency response measurements I left the microphone in a fixed position while the frequency of each burst was varied logarithmically from 100 Hz to 10 khz. This gives you the luxury of having an equal number of measured data points per octave, a benefit which is not always Mark Williamsen p. 4 of 15 Dipole Microphone

available with more sophisticated techniques such as Maximum Length Sequence (MLS) or the Fast Fourier Transform (FFT) [B]. The test signal itself may seem trivial, but there are some subtleties I d like to bring to your attention. Interested readers can follow along in the source code files tbg.cpp and toneburst.cpp, skipping over the portion that writes out header information identifying the file format and contents. Polar response and frequency response are really the same measurement, just varying different parameters. While generating each frequency, I check to see if burst length has fallen beneath a lower limit, which I arbitrarily set to 100 samples. If it has, then I add another cycle to the burst, so it is never less than 2.3msec in length. Starting at low frequencies, you can only send one cycle, which runs quite a bit over the free-field time limit of 4.7 msec. When you reach 212 Hz, you are within the free-field limit, and by 441 Hz can start adding cycles. By the time you get to 10 khz, there are 23 cycles in each burst. Each time you add a cycle there is a discontinuity in the measurement, which could appear as an artifact in our results. Luckily, this is a small effect as long as you are near steady-state conditions. Mark Williamsen p. 5 of 15 Dipole Microphone

Now that I have the number of cycles for a given burst, I go back and adjust the frequency a little so that the burst can start and end on even samples. Since each burst is always at least 100 samples, this frequency shift is never more than 1%. This is meant to make it easier to implement the matched filter used when analyzing the microphone response. Now you can calculate the sine values needed to populate the wave file, but there is a little problem. If you just launch into a simple sine wave there will discontinuities where the burst begins and ends, when you ask the loudspeaker diaphragm to suddenly go from zero to maximum velocity at the first zero crossing, and from maximum to zero velocity at the last zero crossing (see Figure A) [C]. A simple solution is to replace the sine wave with a raised cosine which is continuous at the start and end, but now you have a DC bump during the burst which will upset the measurement. The final step is to add a harmonic of the raised cosine which is equal in amplitude, but opposite in phase to the fundamental. This cancels the DC bump, leaving a net average DC value of zero during each burst. Each cycle begins and ends at zero as well, so any number of cycles can be strung together to form a burst of the desired length. The harmonic does get sent to the loudspeaker and reaches the microphone under test, but is removed in analysis by a matched filter, as you shall see. You now have a band limited test signal that can be reasonably reproduced by a single driver loudspeaker over two decades of frequencies, with a Mark Williamsen p. 6 of 15 Dipole Microphone

minimum of measurement artifacts. Readers who are interested in absolute phase should note that this test signal allows you to easily check absolute phase of microphones, regardless of the acoustic time delay between speaker and microphone. The generated test signal file now contains a series of harmonically shaped tone bursts separated by silence, occurring at precise intervals. I used a 1 Hz rate for polar response measurements so I would have enough time to rotate the turntable between bursts. For frequency sweep measurements, I found that a 2 Hz rate was slow enough for reverberation in my living room to die down after each burst. You may have to wait longer between bursts if testing in a reverberant environment, such as a basement, garage, or commercial space. I used an old Sony receiver as the test amplifier, and found that it interfaced nicely with my computer s sound hardware with a simple patch cable. I used ordinary mic stands and adapters to support the loudspeaker and the microphone under test. The threads on the top end of the mic stands are 5/8-27, which I couldn t find at any hardware store. Luckily, Atlas Sound <www.atlassound.com> has a complete selection of adapters and couplers that match these threads. The prototype microphone that I built has enough gain to connect directly to my computer s line input jack. For purchased microphones, however, I must use an outboard mixer with input connectors and gain stages appropriate to the microphone under test. Mark Williamsen p. 7 of 15 Dipole Microphone

To make a measurement, I used Audacity to open the test signal wave file, and checked visually that the file contained harmonically shaped tone bursts. Be sure to select Audio Preferences to enable Play other tracks while recording new one. If you don t make this setting, Audacity will just connect the inputs to the outputs causing a screaming feedback loop. Play back the test signal first to check levels so you can avoid clipping. The test signal should be clearly audible in the room at all frequencies, without being overwhelming. Of course you ll want to minimize ambient noise, but this isn t as big a problem as you might think since you ll be using a matched filter during analysis. Now rewind the file pointer and click Record. When the measurement is complete, stop recording and save the result as a wave file. If you keep multiple tracks on screen at the same time, be sure all except the test signal are muted when making a measurement. Just as the test signal wave file was generated off-line using a command line program, I will now analyze the measured signal wave file off-line using another command line program called tba.exe. By using the same sample clock in full-duplex mode, you are assured that the stimulus and response files are perfectly synchronized, after you measure and take into account the acoustic time delay from loudspeaker to microphone. My computer s sound hardware has a consistent 1/2 sample delay Mark Williamsen p. 8 of 15 Dipole Microphone

between channels when recording (but not when playing back) which I ve subtracted from all measurement data shown in this article. This rather large error is not specified or even acknowledged by the vendor, although it s obviously built into their design. The message is that it s up to you to measure and account for anomalies in phase and frequency response of your sound hardware. Following along again in the source code files tba.cpp and toneburst.cpp, first you scan through the header information, which you can probably ignore unless something goes wrong. Next comes measurement data from the microphone under test, recorded in time domain. But what you really want is the phase and amplitude response for each burst, in frequency domain. First you have to find each burst in the data. Then you perform a single frequency discrete Fourier transform to obtain phase and amplitude. Formally, this is defined as [D]: F(" p ) = 1 2N 2N#1 f (t k )e i" p t $ k (1) k= 0 You fix ω p at the frequency of interest and then sum up the products of a calculated sinusoid and the measured samples within the burst. The result is a complex number which gives amplitude and phase angle in the complex plane. Note that this uses all the data available in the burst, so we can respond more accurately to the desired signal while ignoring noise and interference. Burst duration, number of cycles, and exact frequency are all calculated as before when we generated the test signal file. Mark Williamsen p. 9 of 15 Dipole Microphone

Similarly, the interval between bursts is fixed for both stimulus and response files, but now there is a delay consisting of at least two components. There is an acoustic delay due to the distance from source to microphone under test, which stays fixed when measuring frequency response. You can also arrange for this distance to be fixed when measuring polar response by setting up the turntable so that the acoustic center of the microphone is aligned directly above the center of rotation of the turntable. The other delay is due to latency in the playback and recording software, which can vary from one measurement to the next. I used Audacity s built-in zoom capability to measure the total delay on screen for each measurement. It turned out to be around 2000 samples or 45 msec for my system. I found that by using a simple meter stick to set the microphone position with respect to the loudspeaker, I was able to reliably set the acoustic delay within +/- one sample, or about 7 mm. The total delay may then be entered as a command line parameter so the analysis program can find each tone burst in the response signal file. Please realize that if you get the delay time wrong, you are effectively telling the analysis program to look for the bursts in the wrong place which will certainly scramble the results. For frequency sweeps, it s a good idea to look at the phase response to be sure it s not wrapping around, which would indicate an incorrect delay time in analysis. Mark Williamsen p. 10 of 15 Dipole Microphone

When setting up your measurement system, it is important to be able to measure background noise and reverberation. This is easily done by waiting until the end of the interval between bursts, and then making a duplicate measurement during a time when the room should be quiet, just before the next burst. With a half second or more of delay between bursts, I found that the noise floor in my living room was 30 db below the signal at 100 Hz, improving to 50 db or better above 1kHz without averaging. To improve the signal-to-noise ratio for low frequency measurements, I sent each tone burst multiple times, and then took an average. The desired signal will add coherently, while random noise will add incoherently, pushing down the noise floor by a factor of the square root of N, where N is the number of bursts in the average. I had good results with N = 10, improving the signal to noise ratio by a factor of 3.16, or 10 db. You can take the average in time domain, or in frequency domain as shown in the source code. Of course, you should use averaging only when necessary, because it will increase test time by a factor of N. These features are already implemented in tbg.exe and tba.exe, but you ll have to be sure that the command line arguments match, between signal source and response files. Mark Williamsen p. 11 of 15 Dipole Microphone

Figure A. Simple sine tone burst shown above has discontinuous slope at the start and end. Raised cosine has continuous slope, but gives a DC bump during each tone burst. Adding in the second harmonic with equal amplitude and opposite polarity corrects the DC bump, and gives a continuous band-limited function that can be repeated as necessary to fill a tone burst. Matched filter removes the harmonic during analysis. Mark Williamsen p. 12 of 15 Dipole Microphone

Photo 1. Auratone 5C Super Sound Cube loudspeaker mounted on top of a tripod-style mic stand. Dipole microphone prototype is supported by a mic stand sitting on a cheap turntable. Speaker and microphone are positioned 1 m apart, mid-way between floor and ceiling, near the middle of the room. Mark Williamsen p. 13 of 15 Dipole Microphone

References [A] Henning Møller and Carsten Thomsen, Electroacoustic freefield measurements in ordinary rooms using gating techniques, Brüel & Kjær Application Note 17-196 (1975). [B] J.A. D Appolito, Testing Loudspeakers: Which Measurements Matter, audioxpress, Vol. 39, No. 9, pp. 17-25 (Sept. 2008). [C] S.H. Linkwitz, Shaped Tone-Burst Testing, Journal of the Audio Engineering Society, Vol. 28, No. 4, pp. 250-258 (April 1980). [D] G.B. Arfken and H.J. Weber, Mathematical Methods for Physicists, Fifth Edition (Academic Press, San Diego, 2001). Mark Williamsen p. 14 of 15 Dipole Microphone

About the author Mr. Williamsen is a graduate student in Physics at the University of Wisconsin Milwaukee. He is active in Milwaukee s busy music festival scene, and has recorded several album projects for local musicians. More info available at his home page, <my.execpc.com/~williamm/>. Mark Williamsen p. 15 of 15 Dipole Microphone