Build an Audio Spectrum Analyzer the Analog Way

bandpass

[Ryan] wanted a spectrum analyzer for his audio equipment. Rather than grab a micro, he did it the analog way. [Ryan] designed  a 10 band audio spectrum analyzer. This means that he needs 10 band-pass filters. As the name implies, a band-pass filter will only allow signals with frequency of a selected band to pass. Signals with frequency above or below the filter’s passband will be attenuated. The band-pass itself is constructed from a high pass and a low pass filter. [Ryan] used simple resistor capacitor (RC) filters to implement his design.

All those discrete components would quickly attenuate [Ryan's] input signal, so each stage uses two op-amps. The first stage is a buffer for each band. The second op-amp, located after the band-pass filters, is configured as a non-inverting amplifier. These amplifiers boost the individual band signals before they leave the board. [Ryan] even added an “energy filler” mode. In normal mode, the analyzer’s output will exactly follow the input signal. In “energy filler” (AKA peak detect) mode, the output will display the signal peaks,  with a slow decay down to the input signal. The energy filler mode is created by using an n-channel FET to store charge in an electrolytic capacitor.

Have we mentioned that for 10 bands, all this circuitry had to be built 10 times? Not to mention input buffering circuitry. With all this done, [Ryan] still has to build the output portion of the analyzer: 160 blue LEDs and their associated drive circuitry. Going “all analog” may seem crazy in this day and age of high-speed micro controllers and FFTs, but the simple fact is that these circuits work, and work well. The only thing to fear is perf board solder shorts. We think debugging those is half the fun.

Comments

  1. Code Asm says:

    I wonder if this is the best (cheap also) way to do this. because I need to rework his notes (all images) to make a schematic again to make my own. anyone suggestions ?

    • funkathustra says:

      While this is how a sophomore electrical engineering student would probably build it, modern analog designers would use a switched-capacitor bandpass filter, which provides high Q, low component count, and reconfigurability. If I were to do it, I’d get a single LTC1059 (or something of that sort) and switch it rapidly between each of the 10 bands you want to sample. The output would be precision-rectified and then sent to a 1-to-10 analog mux, which would drive 10 different electrolytic capacitors. By switching the frequency and the mux at the same time, each electrolytic capacitor would store a voltage representing the energy in that particular band. A 40-cent MCU (or much more expensive analog timer circuit) would be used to drive the switching action.

      • tekkieneet says:

        Since you already have the scanning logic, you can also mux the analog voltage from the individual caps to a single VU driver chip. The VU chip drives the common rows while the scanning logic drives the column on a multiplexed LED matrix.

    • Marty Lawson says:

      Instead of individual band-pass filters, I would have considered a design that amplified the difference between successive low-pass filter stages. Assuming phase delays between filters are well matched, this would cut the number of filter components in half. (or allow for sharper filters) The biggest cost, would be the extra resistors in the output difference amplifiers.

    • tekkieneet says:

      I would go buy the cheapest ARM chip and run FFT on it. :)
      (AVR ADC is too slow)

  2. PUNiSH3R says:

    There used to be a kit from Velleman (the K4300) that did this identically; a 10-band audio spectrum analyzer done entirely with bandpass filters and LED bar drivers. I built one in 1999 and the display board was indeed the crappiest part of the build. Two hundred through-hole solder joints in a 10×20 grid on 0.1 spacing, plus a ribbon cable. AND you really wanted to make sure that the flat face of each LED was at the exact same level (the holes were large enough that the ‘wide’ spot on the lead would fit through)…

  3. Helmut Stock says:

    Klasse!

  4. Truth says:

    I’d like to see “page 61″ (http://i.imgur.com/RNgpRTg.jpg) to find out what the actual bands are but it does look line an interesting project.

  5. RandyP says:

    For something a bit more advanced, but analog:
    http://sound.westhost.com/project136.htm

  6. Nice Project! says:

    I really enjoyed reading about this project…… It’s nice to see some analog design without anything blinking, arduinoing, or servoing.

  7. AussieTech says:

    Find an old n-band Graphic Equaliser.
    Remove sliders and replace with LED rows.
    Add n-signal rectifiers,
    and n-way commutated log law Line-of-Light chip (or just n-off).

  8. JDat says:

    My colleague build 31 band (10 LEDs on each band) spectrum analiser on 80′. Peak and average indication+noise generator for speaker aligment. He told that he soldered it 4 or 5 months. Want some photos?

  9. echodelta says:

    It would be too much work to hack a GEQ. The gyrators are all common to the input-output. Cutting and rerouting the ckt-bd, yech. Gulbransen Organ flute filters are one octave, there are 7 in an organ usually times 2. They have separate inputs and common out but that’s easy to change. Lowery has half octave filters but they wank.
    Commutation is an analogue no no. In a word,flicker! N-display chips or stacks of quad comparators. All display all frequencies all the time.

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 92,307 other followers