Joined
·
120 Posts
This post provides pictures and text that briefly describe the process of embedding a digital-to-analog converter (DAC) into a car audio amplifier (amp). Some remarks about component use & selection are also provided.
First, though, some background and context.
Background & Motivation for Project
It's been a long time since I've posted online, and thus I feel compelled to outline what lead to this DAC-in-amp project.
Several years ago I built an audio signal processor to use for crossover and equalization in my car (described on DIYMA here). The processor has both analog and digital outputs (optical S/PDIF), with the reason for S/PDIF being to exploit some capabilities afforded by digital outputs that are not available from analog. In particular, I wanted to have a signal path that from start to finish was devoid of high-pass DC blocking capacitors, with the high-pass cap aversion stemming from the following rational:
As for my desire for "full compensation" in the low frequencies, it was driven by three factors:
Last, I'll note that in order to achieve a cap-free audio path, I long ago integrated an S/PDIF transmitter into the "media player" -- i.e. CD changer -- in my car (not yet documented online). Thus the audio signal path is as follows:
Integration of DAC into Amp
Shown below is the DAC with its supporting ICs & circuitry mounted on a SchmartBoard for 0.65 TSSOP packages:
Primary ICs are these:
Some remarks:
Next is the DAC circuitry in a RockfordFosgate T600-2:
Remarks:
Below, some padding around the DAC circuitry ...
Last pic: Amp reassembled showing optical S/PDIF input (just above the remote EQ input; analog inputs temporarily disabled, but available for reconnect if desired):
First, though, some background and context.
Background & Motivation for Project
It's been a long time since I've posted online, and thus I feel compelled to outline what lead to this DAC-in-amp project.
Several years ago I built an audio signal processor to use for crossover and equalization in my car (described on DIYMA here). The processor has both analog and digital outputs (optical S/PDIF), with the reason for S/PDIF being to exploit some capabilities afforded by digital outputs that are not available from analog. In particular, I wanted to have a signal path that from start to finish was devoid of high-pass DC blocking capacitors, with the high-pass cap aversion stemming from the following rational:
- I wanted to "fully compensate" for cabin acoustics, speaker electromechanical distortions (e.g. Fs & Qt, see, for example, Linkwitz compensator here) & signal-path distortions in the low frequency range (below 200-500 Hz). Here, by "full compensation" I mean not only equalization of frequency magnitude response, but also compensation for reflections and phase, so that the pressure wave at the driver's head position closely matches a linear-phase low-pass version of the signal on the source material. (The reason for limiting the compensation to low frequencies is that at low frequencies sound wavelengths are long enough for the region of space spanned by a driver's ear positions to be approximated as a single acoustical point, whereas at higher frequencies different compensations are required throughout the region of possible positions of a driver's ears).
- Due to the complexity of the phase response I measured in my car (not yet documented online), I was unable to solve for digital IIR filters with appropriate phase, and thus I was forced to use FIR filters that could more easily meet arbitrary phase requirements. However, the relatively large amount of memory required for FIR compensation of low frequency phase was demanding for the hardware in my signal processor (ADAU1442), and thus I wanted to remove DC blocking caps from the signal chain in order to reduce the DSP memory requirements that would otherwise be needed to correct for the low frequency phase distortions introduced by the caps.
As for my desire for "full compensation" in the low frequencies, it was driven by three factors:
- I had convinced myself with headphones that there are audible differences between transient signals (clicks) played through filters with flat frequency magnitude responses but different phase responses. (For details, see the text below the last figure posted by me on the DIYMA page here; also, for a different conclusion about the audibility of slightly less severe phase distortion in the 100 Hz range, see a page by Linkwitz here)
- Regardless of whether phase distortion is audible with flat magnitude responses, a question in addition to audibility that arises in the "pressure-chamber" environment of a car is whether phase distortion affects the way low frequency content is felt. Such a question arises from the fact that with phase distortion, transient energy that is concentrated over a short interval of time may be delayed differently at different frequencies, and thus that energy would be delivered over a longer time period by speakers, possibly affecting, for example, the degree to which "attack" or "punch" is felt.
- Last, there potential reductions in signal degradation that can be realized by removing DC blocking caps from the audio path (see, for example, the note by maximintegrated here).
Last, I'll note that in order to achieve a cap-free audio path, I long ago integrated an S/PDIF transmitter into the "media player" -- i.e. CD changer -- in my car (not yet documented online). Thus the audio signal path is as follows:
- Digitial signal from integrated circuit (IC) that performs CD reading in CD changer
- S/PDIF transmission to signal processor
- Digital signal processing by ADAU1442 in signal processor
- S/PDIF transmission to DAC preceding power section of amp (see pics below)
Integration of DAC into Amp
Shown below is the DAC with its supporting ICs & circuitry mounted on a SchmartBoard for 0.65 TSSOP packages:
Primary ICs are these:
- S/PDIF receiver: CS8416
- Asynchronous sample rate converter (assembled for 96 kHz output): CS8421
- Digital-to-Analog converter: PCM5102A
- DAC output buffer: LME49860 (swappable; 8-pin DIP)
Some remarks:
- There are 0402 package caps that are hand-soldered across some of the leads of the 0.65 pitch TSSOPs
- Some of the "big" caps that span over a lead are 2.2 uF 0603's for the charge pump section of the DAC output (more below)
- The PCM5102A DAC has a ground referenced output (afforded by its integrated charge pump), and thus requires no DC blocking caps, which, in addition to being critical for my particular application, is convenient in general
- There are other ground-referenced offerings in addition to the PCM5102A (e.g. WM8524, Wolfson; CS4353, Cirrus Logic), but I am drawn to the low out-of-band noise touted for the PCM5102A. According to TI, all that is needed is a first-order low-pass filter to tame the out-of-band noise from the DAC, which is a lot nicer -- and safer -- to use than some other offerings I've worked with in the past. I wouldn't want to degrade the performance of the power amp section by unwittingly exposing it to difficult-to-deal-with high frequency content above the audible range.
Next is the DAC circuitry in a RockfordFosgate T600-2:
Remarks:
- Thin blue and black wires are signal (DAC output); thick red and balck wires are power (+/- 13V and ground)
- The DAC outputs (buffered by the LME49860) are connected to the inputs of the power-amp sections for each channel of the T600-2, at the output sides of the final DC blocking caps (the input sides of the caps are cut in such a way that they may be reconnected if desired, leaving the input sides floating for now).
- The pre-amp section of the amp (e.g. adjustable crossovers & gain) is completely bypassed.
- The amp runs down to DC, even through the S/PDIF input -- a functionality which I used to verify the polarity of the the DAC connection with the amp.
Below, some padding around the DAC circuitry ...
Last pic: Amp reassembled showing optical S/PDIF input (just above the remote EQ input; analog inputs temporarily disabled, but available for reconnect if desired):