Simple Optical Microphone/Pickup

This is another mini-project that began, like so many have, in a discussion with Scott over some beer. We wanted to build a new kind of speaker amplifier, which used mechanical closed-loop feedback to position the speaker cone exactly where the audio signal says it should be. We figured that, if done right, this could yield higher audio quality from cheaper speakers.

So, that idea is pretty crazy, but it seemed just barely plausible enough that I had been thinking about the component parts of such an amplifier. The most important seemed to be a sensor that could accurately supply feedback on the speaker cone position without loading the speaker or distorting the cone. The first method we considered was a capacitive pickup. Paint the back of the speaker cone with conductive paint, then position two copper plates behind the cone, just barely not touching when the speaker is at its maximum throw. This acts like two capacitors in series, and gives you a capacitance that varies along with the audio frequency, without any mechanical connection to the speaker cone.

We also considered magnetic feedback, using something like an LVDT, but where one coil is the voice coil itself. This would involve modulating some kind of high-frequency carrier into the speaker drive signal, then placing another fixed coil around or behind the voice coil to pick up that signal.

The next method, and I guess the simplest, is optical. This would work a lot like a fiber optic microphone or an optical guitar pickup. You can measure vibration by detecting changes in light intensity caused by changes in distance or angle of some reflective thing that’s vibrating.

Whereas the capacitive and LVDT ideas require a high-frequency modulated signal, that’s optional with the optical method. You can measure absolute intensity, or you can modulate your LED with a high-frequency carrier that can be detected on the receiving end. This modulation can help reject ambient light (including hum from fluorescent lights) but it isn’t required.

So, to see if this project has even a tiny chance of working, I thought I’d prototype the optical sensor by building an optical microphone. The end results were rather mediocre. I’m posting it here only because:

  • I was honestly surprised that it worked at all
  • It could be useful for other applications, like a drum or bass guitar pickup
  • Maybe one of my readers has hints on making it more sensitive and lower noise? :)

The Circuit

This is a really simple back-of-the-envelope sort of transimpedance amplifier, high-pass filter, and gain stage. Disclaimer: I hate doing math for analog circuits when it’s just a quick hobby project, so I did no math in designing this. Take it with a few shakes of salt. My breadboard was humming pretty badly due to incoming EMI, so I built it dead-bug style in a mini Altoids tin. If you build this, definitely use a suitable amount of shielding.

  • Power supply range is about 3-6v, but it seems to work best at 5-6v. (If you listen to the op-amp data sheet, max voltage is 5.5v.)
  • The op-amp should be a low-offset, rail-to-rail, high-bandwidth type. I used the OPA2350 because that’s what I had handy.
  • The IR LED I used is pretty generic. I’m operating it at fairly high current, because I wanted a strong light source. You might consider using multiple LEDs, though, to make it easier to position the pickup properly.
  • The photodiode should be a PIN diode with an IR filter. I used an SFH229.
  • Keep the leads short, especially power and photodiode.
  • They aren’t on the schematic, but remember some decoupling capacitors. (I used 0.1uF and 22uF)
  • I put a bit of black heat shrink tubing around the photodiode as a baffle. This seemed to help.
  • I used a stereo 1/8″ audio jack for ground, audio out, and power in. It would be neat to build one with a built-in battery, but this tin was a bit small for that, and the IR LED is kind of power hungry.
  • Make sure to ground the Altoids tin! These smaller tins are harder to solder to than the larger tins, but it can be done. Just use a hot setting if your iron has adjustable temperature, and be patient.

opticalmic-schematic

IMG_1081

Rubber Band Pickup

The first successful test I had of this pickup was with a rubber band. I’d like to try this with a guitar string, but I don’t play :)

It’s actually pretty forgiving about the positioning of the pickup relative to the rubber band, and it’s very sensitive even when the rubber band is a few inches away. This circuit can pick up very low-frequency vibrations well, so you hear very deep bass notes that you don’t normally notice in a rubber band pluck.

IMG_1085

Speaker Surface Pickup

This is the application I originally hoped the optical microphone would work for: picking up sound off the front or back surface of a loudspeaker cone. If I could do this really well, the closed-loop amplifier might have a chance. The results certainly weren’t hi-fi, but I guess I was still surprised it worked at all.

Unlike the rubber band, this test was extremely finicky. I had to position the pickup just right, and I used some Kapton tape to make the surface of the speaker more reflective to IR light. I also had trouble getting a good reflection off the curved surface of the cone, so I stretched a flat section of tape between the center dome and the middle of the cone. This gave good signal strength, but the tape itself also acted as a mechanical filter, giving kind of an odd frequency response to the whole system.

IMG_1078

And that is all.

Hopefully this will allow me to have some closure on a completely mediocre mini-project that was nonetheless interesting enough that I couldn’t just forget about it without sharing. :) If anyone reading is a real electrical engineer, I’d be interested in hearing about what I did wrong.

Comments
4 Responses to “Simple Optical Microphone/Pickup”
  1. Steve says:

    Is it possible the sensor detects the rubber band’s sound well because the band is actually moving in and out of the photodiode’s “field of view cone?” So when the band is vibrating, the sensor has a very low IR reading when the band is out of view, but as it returns into view, it generates a continuous increase until it leaves again. And of course the result is a sinusoid that corresponds to sound wave we hear.

    If I’ve accurately described why the rubber band works so well, then perhaps the speaker fails because the speaker is not moving out of the sensor’s field of view. Since the sensor is aligned with the axis of the speaker’s displacement, the difference in reflected IR when the speaker’s diaphragm is 3cm vs. 2.9cm might be negligible.

    Maybe you could find a way to position the sensor sideways so it can see some part of the speaker oscillate. Perhaps a small pin (this kind http://en.wikipedia.org/wiki/File:Standard_pin.jpg) could be taped to the center of the speaker so you can direct the sensor at the pinhead.

    Better yet, maybe you could place a teeny, tiny mirror on the center of the speaker. Then put a cheap laser on one side of the speaker, angled perfectly to reflect directly into the sensor on the other side… as the speaker vibrates, the mirror would move, allowing the sensor to detect vibrations. You’d have good signal strength due to the direct light from the laser but it might be a struggle to keep everything aligned.

    • Micah says:

      Hi Steve,

      Thanks for the comment. I do suspect that the rubber band works so well due either to (1) it moving in and out of the diode’s field of view, or (2) the flat surface of the rubber band changing angle significantly, changing the amount of light that’s reflected back.

      The speaker setup I have now is basically the same thing you see here:
      http://www.harmony-central.com/Events/MusikMesse99/Sennheiser/Optical-Microphone.html

      The photodiode and LED are both angled, so I’m intending to bounce light off the speaker cone at about a 45 degree angle, then back to the photodiode. I was hoping this would maximize the amount of useful change in light level I see for a particular amount of vibration

      I’ll have to try using a small pin or tab sticking out of the speaker. I just worry that it would deform or resonate a little, affecting the audio frequency response. But this might still be better than what I have now.

      The mirror + laser idea also sounds like it’s worth a try. I have some small front-silvered glass mirrors left over from my laser projector project.. but that might still be too much of a load for the speaker cone. This Kynar tape I’m using right now is pretty shiny, perhaps I can just bounce a laser off of that instead of the LED? Alignment does sound like it would be tricky.

      Cheers!

  2. Mark Ravelle says:

    This is a brilliant idea. I had an idea to make a speaker with feedback, but I never thought of using optics. I was going to use a condencer mic. The optical idea is much better. In my oppinion, you need to do two things.
    !) Get rid of that tape it’s colouring the sound. Replace it with a small peice of alluminium or copper sticky tape, placed directly on the cone.

    2)You need a transfer curve to convert the optical signal to a calibrated voltage at all positions. This will not be easy. The capacitive idea may work better for this, but then again, fringe effects may complicate the calculations…

  3. Marcel says:

    I can see a few reasons why this prototype doesn’t have the best precision.
    1) IIRC, Light intensity drops off with distance squared; non-linearity #1.
    2) According to datasheet, the IR diode is not linear either (except on log scales…): non-linearity #2 (that unfortunately doesn’t cancel out #1)
    3) High intensity may cause clipping. Your transimpedance amp is dimensioned for just 1/10th the max output current of the photodiode, and that’s not including the gain stage.

    Also, as you say the strip of tape will be flapping about way too much.

    It all serves fine as a proof of concept, but needs a lot of work to serve the intended purpose.

Leave A Comment