Gas station without pumps

2021 December 10

Microphone test box

Filed under: Circuits course — gasstationwithoutpumps @ 21:24
Tags: , , , ,

For several years I’ve had the idea of building a testing box for testing microphones, hearing aids, and other small sound devices, but I never got around to doing anything about it until recently.  My original plan was to buy some sort of solid box, line it with sound-reducing foam, and add a partition with a loudspeaker at one end.  At the other end I would mount the device being tested, with an extra microphone to monitor how loud the sound is outside the device.

A few months ago, one of our neighbors down the street was selling their house and had dumped a rather large, but ugly double wooden chest on the corner to give away.  This box seemed ideal for my project, and I’m a sucker for free things, so I went home to get my hand truck and wheeled the chest home.  It sat on the hand truck in my garage for months, waiting for me to get the loudspeakers, a hole saw, and sound-reducing foam.

the_box

This box has two lids, each of which opens into a separate compartment. The compartments are about 82 cm long, 40 cm wide, and 33 cm high. The wood seems to be fir or pine.

inside_the_box

The box is solidly made, but rather roughly finished inside.

I finally started work on the project this week, having bought a 4¼” hole saw, a huge number of sound-reducing foam tiles, and two Valcom 936398 intercom loudspeakers. I chose the loudspeakers because they were cheap ($5 each) midrange speakers with 45Ω impedance.  Having a large impedance means that I can drive the speakers directly from the Analog Discovery 2 function generator with reasonable power, without hitting the 30mA current limit of the function generator.  By putting two in series I should get 90Ω, which would mean a maximum voltage of about 2.7V  at the maximum current and 81 mW of power.  With a sensitivity from the spec sheet of 85.95dB @ 2.83V and 1m, I should be able to get about 79dB at 1m.  Inside the box, the mic will be closer and there will be reflections of the walls, so the sound may be quite a bit louder, but there are likely to be weird resonances.

My first task was to do impedance spectroscopy on the loudspeakers just sitting on a table (no box), using the Analog Discovery 2 impedance analyzer.  For the individual speakers, I used a 100Ω sense resistor and a 1V amplitude, and I played with different voltages for the series connection.  The impedance measurements were pretty much the same for different voltages. I ended up using a 1kΩ sense resistor and 5V amplitude, to avoid any possibility of clipping when doing the short-circuit compensation.

loudspeakers-on-table

The resonant frequencies are around 124Hz and 111Hz, with the series pair having a resonance around 122Hz.  The impedance is more like 40Ω than 45Ω, and the series impedance is around 80Ω, so my max power is about 72mW (or about 36mW for a sine wave).

I marked and drilled the 4 corner holes for each loudspeaker, then cut out the large hole with the hole saw.  I was surprised by how much the hole saw kicked when its teeth engaged the wood—the first time  it happened I was not holding the drill firmly enough and it broke the ¼” guide bit!

broken-bit

The bit snapped off very cleanly, but luckily I had a spare drill bit I could use.

I braced my arm against the edge of the box and managed to hold the drill steady enough to cut the circles, but I ended up with linear bruises from the edge of the box. I probably will not be using the hole saw with a hand drill in any future projects—I’ll clamp stuff very firmly and use the drill press!  Unfortunately, that was not really a possibility for this chest, as I was not about to try to disassemble and reassemble it.

The holes came out ugly (I couldn’t hold the drill steady when it kicked) and a bit too big.

holes-drilled-side-1

Here are the holes from the side I started and finished on. In the middle I tried cutting from the other side, so as not to have massive tear-out when the blade finally came through.

holes-drilled-side-2

Here are the holes from the other side. Despite the guide hole from the ¼” drill bit, the holes did not line up precisely, and I had to use a rasp to remove a little of the wood.

Although the hole from hole saw was a little too big and intersected with some of the holes for the bolts, it was still possible to bolt the loudspeakers in place with 1½” 10-24 machine screws and nuts.

loudspeakers_front

Here are the loudspeakers viewed from the front

loudspeakers-back

And here they are from the back.

My next step was to measure the impedance again with the loudspeakers in the box.

loudspeakers-in-bare-box

The resonant frequency is the same, but there are many smaller secondary resonances. These resonances are probably from acoustic resonances of the box, not just noise, as they were repeatable even with different voltages and sense resistance and redoing the short-circuit and open-circuit compensations

My next step is to try to remove some of the resonances of the wooden box by lining both compartments with sound-reducing foam.  The foam comes vacuum-packed, and it expands quite impressively when the plastic wrapping is removed.

foam-in-box

Here are the foam tiles, completely filling one compartment. I’ll use over half the tiles lining each side.

I got a bunch of double-stick adhesive pieces to mount the foam tiles on the bottom, sides, and top of each compartment, but that is going to be fairly tedious cutting and sticking to make it all fit, so I did not have the energy to do that yesterday or today. Tomorrow my wife and I are talking one of our walks, and Sunday it is going to rain (we hope), so I won’t want to work on the porch where I have this box set up. So it may be a while before I get to the next step of testing with the foam in place. I won’t bother modeling the loudspeakers until I get the box lined, and I’ll probably only model up to about 2MHz—I’m pretty sure that there is not going to be any sound from the loudspeakers above about 40kHz (and I’d even be surprised to see much signal even at that frequency).

Once that is done, I can hook up a microphone and do network analysis to see what sort of frequency range I can get out of this setup.

The photos in this post were all done with my moto g(7) phone, and they required more color correction and exposure modification than I’m used to doing—I really have to get around to ordering a new camera!

6 Comments »

  1. Fun toys Kevin.
    cool box, and
    I’m always a sucker for speakers things.
    the bigger hole saws kick and fight and cause tear outs..
    Most electricians are drilling in softer materials when putting in can lights.
    I always came back to Lenox cutters and madrels, just better than the others.
    If you do much more of this you might
    look at getting a mandrel with clearing pins to clean out the cutter head after.
    congrats on reitirement? yeah!

    Comment by richard rebman — 2021 December 11 @ 17:12 | Reply

    • I haven’t used a hole saw bigger than 1″ before (and I preferred Forstner bits for small holes), so I was a bit surprised by how bad the kick was. I don’t expect to make any more big holes in things, but you never know … .

      Retirement has been pretty good so far—I’m doing 10% recall, so I’m maintaining some connection with my colleagues and students, and I’ll be teaching a 2-unit course in the Spring quarter.

      Comment by gasstationwithoutpumps — 2021 December 11 @ 17:29 | Reply

  2. that is a good approach.
    Retirment is an adjustment, no doubt, and an easing out of the old patterns makes it more gentle.
    Plus, I think you like what you do.
    Holly reitred last week also!
    More of a definitive and complete break in her case.

    Bigger/more powerful slower drills help with big holes also and often have more bulk and handles .
    both help.
    A big hole in a fiberous or dense substrate will always fight you.
    I gave one of my old safety drills, used to get used on your house at times,
    one with quick disconnect to prevent wrist injuries, gave it to Chris.
    He uses it, so good.
    At one point i bought the big Makita right angle drill with rotatable head, big handles,
    good speed control, more torque than the competition.
    really helped drilling granite tops and stuff like that.
    It’s one of those tools i still own and that still sits in the knack box.
    One I just cannot face getting rid of because its features address many problems like that
    and saved me major heartache once or twice.

    Comment by richard rebman — 2021 December 19 @ 14:58 | Reply

  3. And, to my mind, the little yellow “instant” disconnect dewalt i gave Chris is more in your wheel house.
    the thing was a late 90s/ early 2k product, with indicator lights to display power load.
    and, in grabbing or jamming in it’s cut, the thing has a chip that would auto disconnect power in response
    to either voltage pressure imbalance or amp load, dont know exactly….have not read your book.
    But it would also auto-brake, and then design was, not rotate more than 1/4 turn after detection of an issue.
    Saved wrists often.

    I like the darker colored cover, for attractiveness, or the first one, for accessibility to easy reading.

    Comment by richard rebman — 2021 December 19 @ 15:35 | Reply

  4. […] Microphone test box, I talked about the first steps in building a box for testing microphones, testing hearing aids, […]

    Pingback by Test box resonances | Gas station without pumps — 2022 January 3 @ 14:59 | Reply


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: