I am currently designing an audio amplifier using TI's TPA3123 class-D amplifier, which can deliver about 20W of power into each speaker in a stereo configuration(power supply of 24V).
Some questions:
How much current does the amplifier consume at full power(40W total)? The speakers I am using are both 6 ohms passive(they come from an old hifi system I have). The datasheet outlines that the amplifier IC has a quiescent current draw of about 37mA, but says nothing about active current draw.
Do I need RC snubbers on the speakers to prevent kickback when the speakers are deactivated? From my understanding, speakers are basically a coil of wire wrapped around an iron core(an inductor) which vibrates, making noise.
A bit more complicated, but the datasheet says 1uF capacitors are needed in series on both inputs. However, these are the polarized kind(negative terminal to input). Aren't polarized capacitors supposed to be damaged when you charge them through the negative terminal? Or should I use a NP/bipolar aluminium electrolytic/tantalum instead?
(Note: while my speakers are 6 ohms each, I am designing the amplifier for 8)
If you check the manufacturer's application notes and data sheets they will contain an answer to your question. What part of this is related to an Arduino?
The datasheet has a graph showing efficiency of about 90% at maximum output.
So that would mean about 45W from the power supply. Power can be calculated as Voltage X Current so at 24V that's around 2 Amps.
Note that with regular program material, the average power is about 10% of the peak, so although your power supply should usually be capable of supplying continuous power, the actual power consumption will be less.
I don't know but whatever the datasheet recommends.
With a single positive power supply, the input on the chip will have a positive "bias" voltage. It's probably half of the supply voltage and comparatively the input signal is small.
The capacitor should have the positive side to the chip. The capacitor "isolates" the bias, preventing anything on the input from messing-up the bias as well as preventing the bias from leaking "backwards" into the preamp (or whatever is connected).
You could use a non-polarized film capacitor. Non-polarized electrolytics are a bit of a "hack" and they are usually only used on inexpensive speaker crossovers.
Well, the 40 watts have to come from somewhere, so they come from the power supply. That is 20 watts per channel of peak audio power. So your power supply must be able to supply the peak of 40 watts at 24 volts. Distortion ( class D is already distorted audio) so any less power will be noticeable to you. That would indicate at least a 2 amp DC supply.