[Suspended] 6 channel, high power Class D amplifier with advanced DSP capabilities
So I am currently working on a amplifier project. The motivation behind this project is to get a low noise, powerful DSP functionality, and high output to drive my personal speakers. I bought a Wondom JAB-5 board and I was really disappointed due to the loud hiss of the outputs, and how my complex DSP code often causes the ADAU1701 to run out of instructions (dynamic EQ, superbass, etc.)
The speakers that I am trying to drive with the amp:
As you may know if you read my previous articles, I really like professional grade speakers. I like the form factor, industrial design, sensitivity, and the sound signature itself of such speakers over home audio equipment. PA/ installed sound speakers have the transient response, slight brightness, and liveliness that I find most home audio speakers fail to deliver in my opinion.
I also appreciate the concept of headroom. Even though I may not listen to music at 110dB every time I play music (my neighbors will more than hate me), it is good to have the option to do so when appropriate). Since PA speakers are rugged and designed to be abused/carried around, I can take these speaker with me like a live DJ and play music at large rooms for everyone's enjoyment. Or I could use them in a outdoor space when needed.
For those people that don't know speakers too well, think of it as owning a Truck (I use this analogy even though I am a sports car person over a truck individual). You may not always use the towing/bed capacity of a large pickup truck but if you have something massive to carry (e.g. a large TV, furniture, moving from one place to another), you have the ability to do so easily. This is basically what I mean by why I like headroom since I like the ability to push out high volumes when I need to.
In addition, the ability to have greater headroom reduces distortion at lower volumes (~90db range). Most speakers will increase in distortion because of a greater cone excursion, but since PA speakers use light cones that can be easily driven by the voice coil inside the driver, it can get louder without too much cone movement and power, reducing THD.
- 4 satellite channels: JBL Professional Control 25-1 speakers: 8Ohm, 75W continuous power, 90dB sensitivity. I will arrange them as front left and right and have the rear pair as rear left and right. This is basically the same as a quadrophonic arrangement. When using a 2 channel source, I can either do a stereo 2x arrangement, or use ADI's upscaling technology from the DSP.
- Subwoofer: QSC AD-S28TW
(I choose this speaker since even though it was expensive (200$ with quite expensive shipping), It was smaller than the JBL ASB6112 I wanted to get at first. The added benefit is that since there are 2x 8 inch drivers wired up in series as a 8 ohm speaker overall, I can modify the wiring so that 2 amp channels can individually drive the 2 drivers inside as a 4 ohm load. This means that the subwoofer would receive around 320W total, 160W per channel.)
The shortcomings faced with the JAB-5 board:
- Poor SNR: I can hear hiss when nothing is playing. It seriously drives me crazy since the amplifier i built previously with a ADAU1701 chip is dead silent when nothing is playing, even though the 2 amps share the same DSP IC. I am sensitive to speaker hiss and it's something that bothers me about active speakers or poorly implemented class D amplifiers. This is even more annoying since one of the 4 channels has a louder and more annoying hiss than the other 3, in the 1khz range, which is in the realm where our ears are most sensitive! More annoying than a mosquito!
- Low instruction count: My dynamic DSP code takes up a good majority of the instructions (around 700 out of 1024), and this limits the amount of things that I can do more. I want to do stereo upmixing, different EQ profiles, and more but I am limited by the number of instructions per cycle.
- Lack of subwoofer channel: need external amp + DAC combo. Not optimal for my use case
How my new board will solve these issues:
Mitigating noise:
- Using a Class D amplifier IC with a high SNR: such as the TPA3255 or TPA3251. These chips have a signal to noise ratio, with the TPA3255 having a SNR of 112dB and the TPA3251 with 111dB of SNR, both in BTL mode. This is much higher than the TDA7498E chip, with a SNR of around 90 or so dB. The noise figure of the TDA7498E is similar to the TAS5630B, which is really bad.
- Using differential connections from the DAC to amplifier. This reduces the need to consider return currents/ground loops as the noise is canceled out between the positive and inverted (180 phase shift) outputs. Thus this cancels out noise that may have been carried and amplified by the TPA3255 if a SE connection was used & eliminate the chance of common mode noise or ground loops.
- Using chips with a high SNR:
- Paying attention to return currents:
- Using low ripple power supplies for components like the DAC, op-amps (if used), and regulators related to amplifier
- Allow for digital inputs (such as USB, SPDIF) to eliminate noise by using a normal ADC.
- Use components with high PSSR to reject PSU switching noise
Lack of instructions:
- I will use a high performance DSP IC: The ADAU1466, which can handle way more instructions (at least 6x as more compared to the ADAU1701), and this allows me great flexibility in how I want to route my signal path
Other important considerations:
- No pop or click noise upon power on/ power down: and this includes unexpected power loss. The amplifier must not make any of these transients under normal circumstances. This is going to be accomplished by using a AND gate IC, which will pull the RESET pin high to turn the amp on ONLY if the power rails are stable (from a power supervisor IC). the DSP is initialized and ready to output sound, and the 555 timer finished doing its counting down for a 5 second delay as a last measure.
- A volume control, bass volume, and 2 other potentiometers are the minimum potentiometers that are required for the analog version of this amplifier
- Amplifier must be very reliable and not have the chance of blowing up under high power, heavy use circumstances. This means routing thick traces and following TI's board routing PCB requirements to ensure that traces can handle the high current needed for this power amplifier
Potential chips to be used: The ones with the strikeout formatting means that the chips are completely out of consideration and will not be used in the design for reasons described next to it.
Amplifier chips:
- TI TPA3255 - verified by me to have the noise requirements to keep me happy. Excellent sound!
- TI TPA3251 - Basically the TPA3255 little brother. Both share the same pinout, but runs at a lower voltage (36V vs 51V), but with a lower RDSon, leading to lower heat dissipation at 36V, which is what I will be running my amps at. But the TPA3255 will be used if it is cheaper than the TPA3251 since derating will help with long term longevity of the amplifier.
- TI TAS3251 - fully digital input stage (I2S), allowing me to eliminate the DAC IC. Digital version of the TPA3251. However it is I2C controlled, increasing complexity, and requires a special PON and PDN sequence (MUTE for both output stage and internal DAC).
- TI TPA3223 - Less considered because of reports of amplifier blowing up (example 1, example 2), likeliness of pop issues even if reset is used for PON and PDN sequences (link)
- TAS6484 - 2.1Mhz switching! 4 channel output! 45V input! Fully digital! But requires a NDA to get complete datasheets for. As this is supposed to be a open-source project after I build it so that you don't need to go through the struggle I went into to build a high power, DSP, multichannel amp, this is out of the question even though this may have been the best candidate. It also requires MCU control I think, which throws it out of consideration, just like with the TAS3251.
DAC chips:
- TI PCM5242 (eliminate op-amps, very low noise, however i2s would be a challenge due to the slim chance that I2C is needed to communicate with the chips if the DSP is unable to output a I2S stream that follows the strict timing requirements required by this DAC). Update: the PCM5242 is just like a PCM5122, but differential. In hardware mode, the PCM5242 should behave like a PCM5102.
- TI PCM5102A (easier to use than PCM5242, however requires a digital / analog ground plane. Not a differential output, so requires one inverting op-amp per output channel). Increases grounding complexity and component count.
- ADI AD1939 (integrated ADC, integrated DAC, rather high SNR, single IC. However, requires 3 op amps per channel (1 to convert diff -> SE output from DAC, 1 to amplify the signal to 2v RMS, 1 in a inverting configuration to drive the inverting side of the amp). Op-amps increases the chance of pops/clicks when starting up the amplifier, especially in a virtual ground configuration. Cost is a plus on this chip, but I don't trust ADI DACs because of what happened to my ADAU1701 with more hiss on one channel. This IC is just trouble.
- AKM4458 (excellent SNR for both ADC and DAC, cheap and well integrated, but requires external op-amps, resulting in more components and a larger PCB size. Complicated.)
ADC chips:
- TI PCM1802: Decent enough SNR for a ADC especially with a noise gate, simple design.
- TI PCM1865: Very good SNR, but requires external MCU. Adds complexity to design.
USB input IC:
- TI PCM2706: may be enough for use case, but need to pay attention to potential of USB noise on audio signals. Only 16bit audio and is only 2 channel. May need 2 with a USB splitter?
- XMOS USB audio chip - great, but very expensive. I don't need 192K sound since my DSP is running at 48k, which is good enough for me. I highly believe in the nyquist theorem, and that science is the way to go about sound, but I do understand the need for higher sample rates in a recording environment. I rather have more DSP instructions than that, since I am just playing back music, 99.9% of the time from a digital source that is 44.1K or 48K anyways.
DSP Chips:
- ADAU1467 (optimal)
- ADAU1466 (like the ADAU1467, but with less IO)
- ADAU1452 (failback if cannot source or design with above chip)
Op-Amps (if used):
- TI NE5532: favorite op amp for me: low noise, great sound in my opinion, cost effective
- TI OPA1632: Good noise performance, outstanding for musical playback
Microcontroller (if used):
- ST STM32 series (Maybe a STM32F407?) This adds too much complexity in the first version, will be a external board that communicates with the DSP amp via I2C. Will stick to analog control knobs for now.
Amplifier block diagram:
The RESET pin on the IC will be used as a standby pin, similar to how I used it on the STmicro STA540, to prevent pops and clicks and to allow the chip to enter a low power state. A power supervisor will control this pin, in addition to the DSP and 555 timer to eliminate this issue. Also, the Xsmt pin on the DACs will be used to further prevent the manifestation of this problem by prevent pops from forming from the signal source.
Comments
Post a Comment