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.

18 thoughts on “Build An Audio Spectrum Analyzer The Analog Way

    1. 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.

      1. 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.

    2. 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.

  1. 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)…

  2. 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?

  3. 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 to tekkieneetCancel reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

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