21 Januari 2018

Cheap Class D audio amplifier experiments

I have a nice vintage micro sound system. It can easily accept any audio signal from my gadgets, but it consumes around 60W of power. So lets try to make a smaller carbon footage :D. I tried class D amps to drive the speakers. I did two experiments:

1. 12 Volt amp
The setup was very simple. Audio outputs from a gadget went to amp line-in. But put a variable resistor as the volume control, between the gadget audio-out and the amp's line-in. It should be a stereo one. I tried with 12V unused power supply from old networking equipment, it worked. It also worked with a 9V power supply that usually comes with todays network router.
It worked fine with phone, but there was severe hums and buzz with laptop headphone port. I suspected the problem was the connector. I used a 4-ports audio connector that usually comes with a smart phone; 2 ports for L/R channel, 1 port for microphone and the last port for the ground.
Apparently the audio port on computer didn't connect the ground correctly. The ground connector might be connected into the microphone port, thus leaved the ground unconnected. Therefore it sounded terrible,
the audio signal was very small compared to the noise. The solution was simple, just shorted the microphone port to the ground port.
However before I tried the solution, the amp was already damaged. So then I tried with the second experiment.

2. 5 Volt amp
Still same setup as the previous one, but the power supply is given from USB. Nice, no need a dedicated power supply and USB is ubquitous. I use my laptop USB to power the amp.

Observations:
It sounds rather vintage, closer to crispy sound of tube lamp amp, than deep sub wooferish sound of modern audio system. So? There is a simple rule for a good audio system, it should reproduce sound as closer as the original, a sub woofer definitely distort the original sound, thus I guess I can consider my D class amp setup sounds good.