You are on page 1of 6

audio engineering By Doug Ford (Australia)

Passive Surround-Sound Decoder


Improve sound system quality by eliminating out-of-phase information

T
his article describes a design sound direction from the first sound’s
for a (relatively) simple pas- arrival direction rather than the loudest
sive-matrix surround-sound sound. Since the rear speakers (in real
decoder and the interest- lounge rooms!) are always closer than
ing things I discovered during the the front speakers, our hearing would
process. The decoder features an “focus” on sounds from the rear speak-
analog time delay, implemented with ers, even if their output was weaker
several cascaded all-pass networks than the front speakers’ sound. Thus,
(see Photo 1). the block diagram of my passive-matrix
My home sound system consists of decoder was defined once I decided to
five Event 20/20BAS powered studio include low-pass filtering and time delay
monitors with a powered subwoofer. for the rear channels (see Figure 1).
I was using a Yamaha AV amplifier
for audio signal control (i.e., volume, Photo 1: The decoder features an analog time
delay, implemented with several cascaded all-pass
TIME DELAYS
source selection, and surround decod- networks. But, how do we implement a time
ing). I didn’t need the Yamaha’s power delay? Most designers would bite the
amplifier stages, because these were and decoder performance with music is bullet and use digital delays: analog-
built in the speakers. generally terrible. digital conversion, delay of the digitized
Over time, I became increasingly A passive-matrix decoder has no signal, then digital-analog conversion. I
aware that the Yamaha’s surround de- “time-variant” signal paths. The gain and didn’t want to take this approach. The
coder was rather inadequate. It seemed frequency response of all signal paths is design cycle would be too long, there
to mainly produce center-front output. constant and unchanging, unlike a “real” were too many possibilities for error in a
The left, right, and rear output always decoder. As a result, music reproduction one-off, and the S/N ratio would be less
seemed weak and poorly steered. In ad- should be pretty good. However, movie than 90 dB if I used 16-bit architecture.
dition, the Yamaha’s audio path (i.e., A-D, sound decoding and reproduction won’t Analog delay lines? My thesis used
DSP, and D-A) exhibited a significant la- be particularly inspiring unless some ad- SAD1024 charge-coupled sampling ana-
tency (delay) of more than 50 ms. These ditions are made to the basic passive log delay lines in the early 1980s, but it
defects irritated me so much I decided matrix. First, the frequency response of resulted in terrible S/N ratio (35 dB on
to design and evaluate a basic “passive- “difference” program signal content to a good day), terrible distortion (3% on a
matrix” surround decoder. the rear speaker channels is limited to good day), and I doubt they’re available
7 kHz. This response limitation ensures any more.
SURROUND DECODERS that small differences in interchannel Spring delays? Acoustic hose delays? A
A passive-matrix decoder is conceptu- phase, which can occur over some trans- mic and speaker in the bathroom? Con-
ally simple: the incoming left and right mission channels at high frequencies, tinuous tape loop delay? All these options
audio signals are passed unprocessed to don’t enable center (mono) signals to have been used at one time or another,
the front-left and front-right speakers, be inappropriately decoded as ×1
the left and right signals are summed to rear signals. For this reason, L'-R' Rear
left
produce the center speaker signal, and the response of the passive- ×1 ×1
the signal to the rear speakers is the dif- matrix decoders’ rear chan- Left L Front
left
ference between the left and right inputs. nels should also be limited.
“True” surround decoders detect various Second, the rear chan-
Delay and ×1
features in the incoming stereo signal, nel signals should be de- + 7-kHz
-1
L/2 + R/2
L-R low-pass Center

in addition to the “sum and difference” layed by approximately 10 filter
signals derived in a passive matrix. The to 20 ms. Although some
×1 ×1
signal’s amplitude-envelope character- authorities claim that this R Front
Right
istics are extracted to steer the appar- delay is intended to “decor- right
×1
ent sound source to the correct location. relate the rear audio,” I be- R'-L' Rear
right
When this is correctly done, movie sound lieve it simply alleviates the
can be very good. Unfortunately, these Haas effect: Human hear- Figure 1: The decoder’s block diagram includes a low-
pass filter and time delay for the rear channels.
decoders are rarely optimized for music, ing’s tendency to detect

18 audioXpress 01/13 www.audioXpress.com


cascaded stages is flat, the useable re-
a)
R2 R5 R8 R11 sponse is limited by the non-ideal time-
V2 10 k 10 k 10 k 10 k
0/1V R1 R6 R9 R12 domain response. In practice, the re-
10 k B 10 k C 10 k D 10 k E
A − − − − sponse should be limited to f = 1/(πRC)
+ + + +
500 Hz
R3 R4 R7 R10 to minimize the amplitude of the step-
4.7 k C1
10n
4.7 k C2
10n
4.7 k C3
10n
4.7 k C4
10n
response “oscillations.”
Since the surround decoder’s delay line
response is already limited to 7 kHz, the
b)
RC time-constant can be calculated as RC
= 1/(F × π), giving RC = 45.5 µs. Since
each stage’s delay is 2RC, we can get a
delay of around 90 µs (0.09 ms) per
stage. So, for 10-ms delay, we need
(10 ms/0.09 ms) = 111 stages of all-
pass networks!
I decided to design the all-pass net-
works onto plug-in cards, with eight quad
op-amps (32 networks) per card (see
Figure 3). But, I implemented them
Figure 2: The circuit shows four all-pass networks, implemented with op-amps (a). The
with 10 kΩ input-and-feedback resistors
simulation waveform shows the response waveform, at each successive stage, to a 500-Hz
squarewave (b). rather than the 2.7-kΩ resistors shown.
Each card would have a 2.9-ms delay
but they’re all completely inappropriate in simulation waveform shows the response (i.e., 32 × 0.09 ms). The simulated
this application. waveform, at each successive stage, to a waveform response of a card, including
How about a bunch of cascaded all- 500-Hz square wave. Each stage’s delay the effect of a 7-kHz low-pass filter, is
pass networks? Hmm. That just might is approximately T = 2RC, where R and C shown in Figure 4.
work, particularly since I only need rela- are the components at the non-inverting
tively short delay times! op-amp inputs. The resistors at the in- MAIN DECODER CIRCUIT
An all-pass network has the interest- verting inputs can be pretty much any The main passive-matrix decoder’s cir-
ing property that although its frequency value, as long as the input resistor and cuit diagram is shown in Figure 5. There
response is flat, its phase response var- feedback resistor are equal in value. In are a couple of this circuit’s features
ies from 0° at low frequencies to 180° my example, R = 4,700 Ω and C = 10 nF. worth discussing.
at high frequencies (although you can The time delay of four stages is: 4 × 2 ×
flip this to 180° ~ 0° just by swapping 4,700 × 10E-9 = 0.376 ms. The cursor in • The left and right input buffers are
a resistor and capacitor). If you cascade the waveform is positioned at this time. configured as balanced inputs, but
several all-pass stages, it starts to behave As you cascade more and more stag- the non-inverting impedances are
like a time delay (see Figure 2). es, the number of “oscillations” in the very low (10 Ω). This enables the
This circuit shows four all-pass net- waveform increases proportionally. Even connection of grounded signal sourc-
works, implemented with op-amps. The though the frequency response of the es to the decoder via standard phono

Figure 3: The all-pass networks are designed on plug-in cards, with eight quad op-amps (32 networks) per card.

audioXpress January 2013 19


1.500 V
1 offset may be expected from large
numbers of cascaded all-pass op-
1.000 V
amp networks.

0.500 V I selected ON-Semiconductor MC33079


quad op-amps for all the decoder’s stages.
0.000 V They’re intended for audio applications.
They have low noise (4.5 nV/rt-Hz), low
-1.500 V offset (0.15 mV), high GBW (16 MHz),
0.000 ms 2.500 ms 5.000 ms 7.500 ms 10.00 ms 12.50 ms 15.00 ms
and low THD (0.002%). There are better-
Figure 4: The simulated waveform response of a card, including the effect of a 7-kHz low- specified op-amps available, but they are
pass filter.
either expensive or simply not stocked.
cables without creating ground loops. crossovers, the response at this out- I built the decoder with three delay
In practice, I didn’t use this feature. put has not been rolled off. modules, giving a total delay of 8.7 ms.
I actually connected the decoders’ This amount of delay is sufficient to over-
phono grounds directly to the circuit • Op-amps U2B and U2D are sec- come the difference in acoustic flight time
common, since the decoder was pow- ond-order, low-pass filters (–3 dB between the front and rear speakers in
ered from an ungrounded plug pack. at 7.5 kHz). One is positioned be- my lounge room. I didn’t have enough
fore the delay modules to reduce space in the diecast box to mount the
• The input buffers’ response is rolled excitation of high-frequency oscil- delay modules onto the main decoder
off at high frequencies (–3 dB at latory transitions in the delay lines. card, so I connected them via short wir-
160 kHz) to minimize the potential The other is at the delay line output ing harnesses (see Photo 2).
for RF-input interference. to reduce high-frequency noise from
these lines. TEST AND COMMISSIONING
• The six output buffers have low- I used a Rigol oscilloscope and an
resistance “ground-compensated” • The front, center, and subwoofer Audio Precision 2712 signal analyzer to
returns for the phono connectors. outputs are direct-coupled, with re- test it, and then I applied power. There
Again, in practice, I returned the sponse down to DC. The rear out- was no smoke and the front outputs’ per-
phono grounds to the main circuit puts are AC coupled (–3 dB at 8 Hz), formance was looking good. Then I dis-
common. since a substantial build-up of DC covered the delay lines were oscillating

• Only one “delay” mod-


ule socket is shown.
The PCB was designed
for four modules.

• The power supply cir-


cuit is not shown here,
but it consists of a
diode bridge, three
470-µF reservoir caps,
and 7812/7912 regula-
tors. Since the quad op-
amps use 8 mA each,
a fully loaded decoder’s
total consumption will
be 280 mA per rail. For
this reason, the regu-
lators were given sub-
stantial heatsinking.

• In addition to the five


decoded audio outputs,
a sixth output was in-
cluded for a subwoof-
er. Since most active
subwoofers are fitted
Figure 5: The main passive-matrix decoder’s circuit diagram is shown here.
with internal adjustable

20 audioXpress 01/13 www.audioXpress.com


at full voice, at around 2 MHz. I’d paid I discovered that each all-pass stage
attention to the layout of these cards. They had a frequency response peak of around
have a solid ground-plane, and the supply 2.5 dB at around 2 MHz. I suspect this
to each op-amp is decoupled. Unfortunate- peak might actually be caused by stray
ly, I’d skimped on the decoupling caps, and capacitance from each op-amp’s invert-
used 33 nF on each pin. The MC33079s ing pin to the ground plane—maybe a
prefer to have a lot of decoupling! I tem- fraction of a picofarad or so. It was just
porized by putting a 1-µF electrolytic on enough to cause response peaking, any-
each device (see Photo 2). This helped, way. But when you have 32 stages, each
but it didn’t solve the problem. with a 2.5-dB peak at 2 MHz, the total
gain around the card is 80 dB
at 2 MHz. It’s no wonder the
things were screaming.
I bypassed each 10-kΩ
feedback resistor with a
100-pF capacitor—the
smallest value I had on the
shelf—providing a high-
frequency rolloff of –3 dB at
160 kHz at each stage. That
made them stable! I noted
the DC offset was remark-
ably low, at less than 5 mV. I
Photo 2: Short wiring harnesses are used to connect the was expecting the offsets of
delay modules.
96 op-amps to accumulate
and produce some hundreds
of millivolts of total offset. I
suspect three factors were
working in my favor: the
individual op-amp offsets
were quite low (0.15 mV,
typically); the offsets were
randomly distributed—some
positive, some negative;
and most of the bias current
offset was negated by mak-
Photo 3: The frequency response reveals a problem with 6 dB ing the resistance at each
down at 1 kHz and 27 dB down at 7 kHz. non-inverting input (4.7 kΩ)
nearly equal to the resis-
tance at the inverting in-
puts (two 10 kΩ in parallel).
The rear outputs were
stable, but they still had
a few small problems.
First, the frequency re-
sponse was pretty awful:
6 dB down at 1 kHz and
27 dB down at 7 kHz
(see Photo 3). Second,
the distortion was high
Photo 4: The distortion is very high and amplitude dependent. and amplitude dependent
(see Photo 4). The cause
of the poor high-frequen-
cy response was obvious:
Although the response of
each all-pass stage was
Photo 5: The all-pass cards show the 33-nF bypass capacitors good to 160 kHz, they were
and 10-µF electrolytics replaced with 4.7-µF 1206 capacitors.
individually 0.16 dB down

audioXpress January 2013 21


at 7 kHz. There are 96 stages, so from 15 dB to 3 dB. I also tweaked
there was 15-dB excess rolloff at the responses of the second-order
7 kHz! low-pass filters by reducing C6 and
The excessive THD was caused C12 from 1.5 nF to 1 nF. This peaked
by the 10-nF capacitors in the all- the filters by 1 dB each, largely com-
pass networks. I had used 0805 pensating for the remaining rolloff in
components with X7R dielectric. the all-pass delays. I nuked all the
This dielectric isn’t particularly lin- 10nF X7R capacitors and replaced
ear with voltage (or with tempera- them with parallel pairs of 4.7-nF
ture), but it’s not as bad as Y5V capacitors with NPO dielectric.
dielectrics! I learned a valuable Finally, I replaced the 33-nF by-
lesson. Even though X7R might be pass capacitors and 10-µF electro-
Photo 6: The THD+N is very low and dominated by simple
useable in domestic audio applica- white noise at input amplitudes below 5 dBu.
lytics with 4.7-µF 1206 capacitors.
tions, where maybe two or three The all-pass cards now look like the
might appear in a signal path, image in Photo 5.
don’t use them in premium audio
applications or where a hundred or FRONT OUTPUTS
so are in the signal path! The frequency response of the
X7R caps may be reasonably front-left, front-right, center, and sub-
used in coupling applications woofer outputs aren’t worth showing.
where the applied AC voltage is They’re simply flat to 20 kHz, and
low (e.g., where the rolloff fre- 0.5 dB down at 50 kHz. The noise
quency is much lower than in- at these outputs is ridiculously low.
band signal levels). They should There is no trace of hum. All the
not be used in midband frequency- noise is simply white spectrum:
selective applications (e.g., tone Photo 7: The left-to-right crosstalk is low, but the right-to-
NOISE = –107 dBu A-weighted,
controls, equalizers or tuned cir- left crosstalk could be improved by re-tracking the main or –99 dBu (10 Hz to 80 kHz), or
cuits). They are particularly ill-suit- PCB. –104 dBu (10 Hz to 22 kHz). The
ed for use in all-pass networks, THD+N is extraordinarily low, and it
since they have the full AC signal is dominated by simple white noise
applied to them, via a relatively at input amplitudes below 5 dBu
high source resistance, in a topol- (see Photo 6).
ogy that is sensitive to component Left-to-right crosstalk is very low
nonlinearity, and where these non- (–104 dB, all frequencies), but right-
linearities will sum cumulatively. to-left crosstalk is marred by a bit
Before I made any modifica- of clumsy layout, enabling capacitive
tions, I had a quick look at the coupling of rear-delayed output to the
distortion waveform on the oscil- left channel (see Photo 7). I won’t
loscope. Although distortion was lose sleep over it, but I’ll certainly
clearly visible, it wasn’t particularly retrack the main PCB if I’m ever re-
nasty. The output waveform had quired to make more decoders.
some of the characteristics of soft
valve-like rounding and some of Photo 8: The time delay developed by the all-pass networks is MEASURED PERFORMANCE
the characteristics of slew limiting. 8.8 ms. FOR REAR OUTPUTS
Encouraged, I listened to some The time delay developed by the
program material. The distortion all-pass networks is 8.8 ms (see
wasn’t particularly objectionable, Photo 8). This amount of time
and its audio impact was out- delay should be ample for my lounge
weighed by the poor frequency room, but I can always add another
response. It sounded a bit like an card (2.9 ms) if required.
accountant at a backstage party. I was expecting relatively poor
Not unpleasant, just rather dull. signal-to-noise ratio from the rear
I fixed the poor frequency re- decoder outputs, due to the large
sponse by replacing all the 100-pF number of op-amps (nearly 100) in
feedback capacitors (96 of them) the signal path. I was flabbergasted
with 22-pF caps. These lifted the to find that the noise was –91 dBu
individual rolloff points to 720 kHz Photo 9: The rear channel’s frequency response shows (A-weighted) or –90 dBu (10 Hz to
improvement in comparison to Photo 3.
and reduced the rolloff at 7 kHz 80 kHz)! Since the rear channels’

22 audioXpress 01/13 www.audioXpress.com


with a higher voltage rating. The audio content of TVS transmis-
sions is incredibly variable. The audio
LISTENING TESTS changes from mono to hard-left to hard-
At the time of writing, the right, and it occasionally occurs in the
listening tests haven’t been span of a few minutes.
exhaustive. The decoder has
only been in play for a few WORTH THE EFFORT
days, but I can certainly pro- You can make a good audio delay
vide my initial impressions. with a bunch of op-amps connected as
Compared to the sound all-pass networks. You don’t need to
of the Yamaha’s signal path, use digital delays, and the MC33079’s
this decoder immediately audio performance is excellent. Let me
Photo 10: The 1-kHz THD+N versus amplitude is shown.
sounded cleaner, fresher, amend that. The MC33079’s audio per-
and less gritty. It vastly im- formance is excellent when you cor-
proved clarity at all listening rectly decouple them and remove the
levels! The elimination of the worst evidence of 2-MHz peaking. Be
latency delay was subtle, but aware of capacitor selection criteria
noticeable (e.g., better lip- when designing SMT audio equipment.
sync). Know the differences between X7R, Y5V,
When playing movies and NPO/COG, and other dielectrics. Fol-
free-to-air TV, the amount low these tips and you can build simple
of decoded rear-channel passive-matrix surround decoders that
material was surprising, can sound pretty good on both music
particularly when compared and movie/program material. aX
to the Yamaha’s decoder.
Photo 11: The THD+N versus frequency shows a dramatic
reduction compared to Photo 4.
I’m delighted when I can SOURCE
hear actors speaking from 20/20BAS Speakers
clipping amplitude is just over 20 dBu, different positions across the front of the Event Electronics | www.eventelectronics.com
the rear channels’ dynamic range is 110 soundstage and simultaneously hear am-
dB. This result is at least 20 dB better bient noise from behind. It’s probably a
than a typical 16-bit digital system! Simi- familiar experience to anyone with a good
larly, the dynamic range of the decoders’ surround decoder, but it’s new to me!
front outputs is better than 120 dB. Nice! I found I had to reduce the rear
The rear channel’s frequency response, speaker gains by more than 6 dB, since
shown in Photo 9, is vastly improved in these speakers are so much closer to
comparison to that of what is shown in the listener than the front speakers. This
Photo 3. The response is 4 dB down at corrected a significant imbalance in the
7 kHz, rolling off at 24-dB/octave above perceived levels.
this. When playing music, the soundstage
The 1-kHz THD+N versus amplitude, lacks precision in comparison with sim-
is quite remarkable (see Photo 10). The ple stereo listening, although it is much
THD+N is dominated by noise for input wider and provides a highly immersive
amplitudes up to 0 dBu and is still below experience. Music through this decoder
0.01% at 15 dBu. Remember, the signal makes the Yamaha sound dreadful in
has been passed through nearly 100 comparison.
op-amps! The THD+N versus frequency, The overall improvement has made me
shown in Photo 11, shows a dramat- more critical of the audio quality found
ic reduction compared to Photo 4. At with some TV channels and programs.
lower amplitudes (–30 dBu and –20 dBu) For example, many ABC news announce-
the THD+N is dominated by noise. A rise ments seem to have excessive distortion
in low-frequency distortion can be seen on speech sibilants, which appears as an
at 0 dBu and higher. This distortion is annoying R-L difference signal in the rear
probably generated by nonlinearity in speakers.
the 4.7-nF NPO capacitors. This THD is I was also surprised at the amount of
unlikely to be objectionable, due to the location traffic noise present in the audio
previously noted characteristics of such for “Packed to the Rafters.” Its audio has
distortion. If I needed to reduce this a high level of low-frequency background
THD, I’d simply select NPO capacitors noise!

audioXpress January 2013 23

You might also like