I recently upgraded the computer to the LGA2011 , on the box of a relatively expensive motherboard was the inscription “super duper sound, 110 dB all garbage”. I thought well, good sound never hurts. The next 2 days I frantically drove the iron, and everything was fine. And then he returned to normal work, and of course, to working music. Quiet. Not. QUIET! 100% loudness was barely enough for comfortable volume with my usual 32 ohm headphones (
Sennheiser HD 448 , which are not very sensitive), and if the recording was made with a low signal level, then at least pull out the hair.
From despair, I started even to listen through the
bluetooth A2DP adapter , but of course the quality and the batteries (~ 6 hours) drove into sadness ...
It became clear that it was no longer possible to live like this ...
')
But back down 3 months ago: I bought the parts for my MP3 player in
terraelectronica , which was supposed to finally replace my iPod, and went through the list of audio chips (sorting by availability and price) at the beginning of the MAX9724 list at a phenomenal price of 7.78 rubles. Although it was a specialized headphone amplifier, I didn’t need it for that project - the purchased audio codec already gave the signal for the level needed by the headphones. Well, I decided, I will buy in reserve stuff 5, you never know where it is useful, especially with such a price ...
Our days:
So, our Design goals for the amplifier
1. Everything should be collected from what is there to solve the problem “today” (super-expensive opamps disappear)
2. Powered strictly by USB, no non-standard power supplies and the more batteries
3. Quality should be better than what a person can hear.
4. As a consequence of clause 3, capacitors in the path of the audio signal are a problem (albeit solvable). Film capacitors are expensive and rare, and with electrolytes it is always difficult here.
5. The lack of a potentiometer volume control - they are noisy (with rotation / just from old age) and generally unreliable.
Existing designs:
1. For example, the recent article
Headphone amplifier is simple and fast - the article tactfully omitted the power supply question :-) Also, after reading the relevant articles, it is clear that it is not easy to build normal amplifiers on operational amplifiers - many nuances (like self-excitation, bias 0, input current and input impedance limits). Well, in general - operational amplifiers require bipolar power supply, from USB to do it - you need another chip and debugging.
2.
USB-DACs also disappear due to availability and, in general, I like the “iron” sound card more.
3.
Ready-made portable amplifiers - in addition to waiting, you need to believe that they did not save on anything inside. By the way, the chip inside this FiiO E3 is a functional analogue of what I have, the difference is that the MAX9724 can work from 5V, and the LM4917 - 3.3V maximum (which also limits the applicability for 300-ohm headphones).
Decision
Obviously, I pulled out my MAX9724 - it contains a bipolar voltage generator (makes -5V out of 5V) and 2 operational amplifiers, sharpened for sound amplification. By quality - THD + N distortions according to the typical inclusion scheme in my conditions are about 0.04% (not everyone will hear distortions even at 0.5%). The circuit does not require the presence of capacitors at the output, since the signal is amplified immediately "relative to the ground" - which dramatically reduces the number of possible places of loss of quality.
This level of distortion (0.04%) can be further reduced - in the typical scheme 2 capacitors of a negative voltage generator with a nominal value of 1 microfarad, and according to the schedule, when the capacitance increases to 2.2 microfarads, there is a significant reduction in distortion. I put about 20 microfarads of ceramic capacitors in all 3 places (voltage generator + power), and I think I can count on the parameters better than in a typical circuit


The scheme is simple as boots. It is worth paying attention only to the resistors, they set the gain, in this case 2 (20kOhm / 10kOhm). If you have headphones for 150-300 ohms, you can put 40kom instead of 20, then the maximum signal amplitude at the output of the amplifier will be 8V, which should be enough with a margin. Also on the diagram in the datasheet are the input capacitors - I removed them, because From my sound card, the signal is already on relatively zero, and cutting off the extra bottoms / making distortions with capacitors is no good to me. As a result, the amplifier amplifies signals from 0Hz (but of course the sound card has its limitations).

One-way wiring is trivial, you should pay attention only to 2 jumpers, as well as the fact that USB and audio connectors are on the “reverse” side of the board.
We collect

The chip, although it looks hardcore, is easily soldered with the help of surface tension magic (all smeared with LTI-120 liquid flux, and the solder itself climbs onto the legs only). Capacitors are here from a broken computer hardware - of course you can't put them in the audio section, but everything is ok for power. In each of the three places - a small group of large ones (4.7-10 μF), and 1 small (0.1 μF) - so that their resonant frequencies do not coincide.

The scheme was very compact. The capacitor in the center is connected to 5V power from USB. When connected to a computer port of 1000 microfarad, of course, the standard allows only 10 microfarads, but usually everything works.
We download archive with the project for Eagle and the necessary libraries .

High-tech body of electrical tape. Initially, the board made a shrink tube - but literally a millimeter was not enough, it did not fit. Well, nevertheless, I like it.

Issue price
A piece of one-sided PCB: 2 rubles
MAX9724 - 7.78 rubles
4 resistors - 0.07 * 4 = 0.28 rubles
Capacitors - 0 (even if you buy, ~ 30 rubles max.)
Connectors - 0 (if you buy, ~ 20-30 rubles)
Electrical tape for high-tech body - 1 ruble
Total is exactly 11.06 rubles for me, and about 61.06 rubles if you buy everything :-)
results
Of course, I immediately stumbled upon a well-known problem: when working with audio, you cannot connect to one earth in two places (the ground of USB and the ground of the sound connector). In this case, interference will pass through the ground, which cannot be filtered out, and no power stabilizer will help here. (the problem is that USB has its own ground level, sound has its own, and our board has its own. Depending on the current consumed, the earth rises everywhere in different ways and this gives an unavoidable interference).
You can solve this problem by either getting rid of the audio connection (USB DAC) or power (battery or other power supply). Using a power supply with USB output completely suits me due to the fact that they are everywhere and standard.
The end result is above all expectations. No complaints about the quality, absolute 0 noise, comfortable volume level - from 22 to 40%, and a margin for “pulling out” silent recordings. The sound is smarter (the main thing to remember is that the bass is from 0Hz here) and all that, and in general - hand-made audio devices always sound especially good :-)
From ready-made Chinese devices (like the FiiO E3), a lower price (sic!), An assembly with spare parts, no capacitors in the audio path, more power when working with high-impedance headphones (300 Ohms) due to higher supply voltage and the sound quality in theory promises to be higher (in practice, I probably would not have heard the difference).
Ps. As I mentioned above - the amplifier is not needed in order to spoil your hearing with ultra-high volume (not to mention the torn headphones

), and for the buildup of "heavy" headphones with low sensitivity, if the output of the sound card is too dead. Well, quiet recordings / movies to pull out without software ...
PS2. The gap between the benefits of "added to favorites" is 4 times, the record :-)