Close

part 1: from analog to digital

A project log for DSP 01: hi-fi audio signal processor

a digital signal processor with integrated multi-channel amplifier for high-fidelity speakers.

tshen2tshen2 08/11/2014 at 02:130 Comments

(image: analog signal processor, circa 2012)

four years ago, my favorite programming language was solder. i drew a BJT on my badge at job fairs. i'd just designed my first op-amp. it would soon be on Digikey.

like most analog nerds, i called myself an audiophile. unlike most audiophiles, i called myself a scientist.

my speaker designs used Class-D amplifiers. active crossovers, biquad bass boost, baffle step compensation, all done in analog, with op amps. a total absence of vacuum tubes.

but the numbers didn't add up. i wanted audio to be cheap. analog is expensive. i wanted to tweak. analog is hard-coded. i wanted modularity. analog is inflexible.

i worked around analog's limitations. too expensive? i used more passive filters. not modular? i built an entire system of modular analog blocks.

(image: stupid but cute.)

then in 2014, i finally wised up and built a digital signal processor (DSP).

and now i will describe it.

signal processing in speakers.

most speakers contain multiple drivers.

they have tweeters for the highs, woofers for the mids, subwoofers for the bass. tweeters are small to act as point sources for short wavelengths. subwoofers are large to move lots of air. all of these must move together to produce clear, balanced sound.

all multi-driver speakers contain a crossover circuit, which distributes the highs, mids and lows to each driver appropriately. the crossover is a set of matched high-pass, band-pass and low-pass filters.

most speakers use a passive crossover. it looks like this:

there is only one amplifier per speaker, and the crossover receives a high-power, amplified signal. the crossover is made from huge, high-power inductors and capacitors.

here is my preferred method, the active crossover:

now the crossover receives a low-power audio signal, and there is a separate amplifier for each driver. the active crossover is usually built from low-noise, low-distortion op amps. these can be used (instead of huge passive components) because they only have to receive and transmit a small amount of power.

passive crossovers are still in use because amplifiers used to be expensive, and hi-fi nuts like to choose their own amplifier. these are terrible reasons. on the other hand, here are some benefits of active crossovers:

pay attention to that last point. active crossovers can include a wealth of signal processing, to compensate for the unique deficiencies of each individual driver! this is where i stop referring to them as crossovers and start calling them signal processors.

in summary: i used to build analog signal processors, using buckets of expensive op amps. in the next update, i will describe the electronics of the digital signal processor.

(image: analog signal processor, circa 2013)

Tshen2 2014

Discussions