A Class D amplifier also termed as a digital amplifier uses pulse width modulation or PWM technology for amplifying the fed small amplitude analogue music signal.
Why a Class D Amplifier
The main benefits of this type of amplifier are high efficiency, low cost, with the only drawback being the association of distortion if not cleaned with correctly calculated filters at the output.
Normally all amplifiers are analogue based where the input music or frequency is amplified in accordance with the same pattern that's being fed at the input.
Since a music may largely have exponentially rising and falling contents and also frequencies accompanied with all sorts of amplitudes causes heating up of the devices.
This happens because BJTs and mosfets do not "like" transitional inputs where the signal do not have sudden rise and fall rather gradually transits across the points where the devices are neither fully ON or OFF, this causes a lot of heat generation and power loss
In a class D type of amplifier, the music input is compared with high frequency triangle waves and converted into a PWM "language" at the output. The PWM content stores all the information of the music and translates it back into the connected loudspeaker in an amplified manner.
However since the PWMs will consist of non-exponential pulses where the pulses are in the form rectangular pillars switching ON/OFF suddenly without transitions can result in significant distortions at the output.
In order to smooth out the above issue, a low pass filter is generally incorporated wherein the spikes are smoothed to generate a reasonably good and clear amplified replication.
The proposed design of a class D digital amplifier circuit utilizes the famous 555 IC for the intended comparisons.
Instead of the PWM method here we use an alternative mode called the PPM or pulse position modulation which may be considered as good as a PWM.
Using Pulse Position Modulation
PPM is also known as pulse density modulation due to the specific nature of its functioning.
Here the modulation input is compared with high frequency triangle waves and the output is optimized by varying the position or the density of the generated/compared pulse output.
As can be seen in the below class D amplifier circuit design, the IC 555 is configured as a standard astable MV mode, where the resistors Ra, Rb and C determine the frequency of the triangle waves generated at pin6/7 of the IC.
The above high frequency triangle waves are compared with the music input applied at the control input pin5 of the IC.
Here the low voltage music signal is first amplified to some optimal voltage level and then applied at the control input pin#5 of the IC555.
This results in the discussed PPM output at pin#3 of the IC. This is amplified by T1 to a high current output and is fed to a loudspeaker for the required class D type amplification.
The audio trafo does a couple of interesting functions, it amplifies the output for the LS and also to an extent smooths out the harmonics which are normally a part of all class D type amplifier circuits.
A filter capacitor (non-polar) may be tried across the LS for obtaining cleaner sound outputs.

IC 555 Pinout

IC LM386 Pinouts

Search Related Posts for Commenting
Hi Mr Swagatam; Ref. Above Class D amplifier. although no microfon connection it sounds like a musical organ. So I aim to remove darlington pair and audio trafo and replace any transistor and additional capacitor since I need no louder output at home. Please send your opinion.-Thanks
Hi Suat, did you try the circuit with an audio music input? Please try it and let me know the results…..
yes if low audio is acceptable then you can connect a small 16 or 32 ohm loudspeaker directly with the pin3 of IC 555, however a series 100uF capacitor will provide added safety to the speaker, so you can try that also….
Hi Mr. Swagatam; The result is; 1- Speaker sounds like an organ If there is no audio input. (input voltage about 7 volts) 2- If audio input is on then possible to hear some small reaction on the speaker as / like interference. However I should say that after your warning I changed the previous core and used a screwdriver (dia. 6 mm since impossible to find ferrite type here in my location) As a result please advise which one is reasonable to use this class D or a circuit with only LM386 (without 555) since we are going to remove the audio transformer. I also have a simple circuit consisting of the only LM386 and some capacitors and resistors (no 555). The only problem is there is little interference if I touch the volume resistor.-Thank you so much.
Hi Suat, a class D amp is normally used for getting extreme efficiency with higher loads, in your case the class D is not required. You can directly use the LM386 IC for the amplifications
Hi Mr. Swagatam;
I have tried the above class D with the parts in my hand. I used perno / pin (dia. 18mm) as coil / core with turns 25 (to Tr127-collector) and turns 100 (to speaker – and +). However I also used and tried tip32 and bd136 as “darlington pair” instead of tip127. The result seems positive since the it is possible to hear wireless sound like a musical organ notes but the problem is tip32 and bd136 are exposed to overheating after voltage about 10 volt even one in the pair is gone pop. I hope I will hear some critics from you(P.S: I used 100 and 15K resistors in the darlington pair)- Thanks
Hi Suat, if the output inductor does not match with the carrier frequency then it may cause heating up of the transistor. You can try with an iron core transformer low voltage side winding as the inductor, and check the response.
Hi Mr Swagatam;
My PC audio output is out of order I have been using simple usb auido device and I have aimed to to use the above class d amplifier circuit with the 555 and lm386 parts. Please advise more about audio trafo which I can make at home and also whether I can use tip32 instead of tip127-Regards
Hi Suat, you can try a small ferrite transformer. 25 turns at the transistor side, and 100 turns on the speaker side, however this ratio may need to be experimented a little for improving the results
Thanks Swagatam, but sorry what about the wire diameter of both turns? Thanks again
Wire thickness is not critical since the power output is nominal, you can use 0.3mm wire
Please Sir, I could not get the 250uf /50v Electrolytic Capacitor,any replacement?
Lawal, which circuit are you referring to? Please post the comment under the same article…
Please Sir is t13 the audio transformer,is it double layer winding using the required wiregauge given?
Lawal, it’s an audio output transformer. You can build it at home also by winding primary turns having approximately 200 ohms value, and secondary turns upto 1 k ohms on any ferrite core. Use any super enameled copper wire, as thin as you can manage.
Please Sir, I was referring to the Class D amplifier, the 250 uf capacitor placed at pin5 of the 555 timer and LM386 respectfully. Please Sir, can I use NE555 timer in place of LM555timer
Sorry, I did not notice it, yes any nearby value will work…and any and all IC 555 will work.
you can try this circuit:
https://homemade-circuits.com/2012/10/1-watt-led-driver-using-joule-thief.html
i can change TIP127 for TIP142 ?
you can change it with TI147…
sorry…it's TIP147
Hi swagatam,can i use transtorized power amp(5w8ohm) in place of LM386,if so should i change output transistor across audio transformer.And also what is power output of this circuit.
Hi Charan, yes any amplifier which can work with the same voltage as the 555 will do.
the power output will depend on capacity of the output transformer wattage and the TIP127 capacity, these two could be upgraded for higher power outputs
Ok thanks so just the way the circuit is now would 50v be too high to test it at I was looking at the A1266 in the circuit seeing that collector emitter voltage is 50v I was thinking it should be a bit lower.
the MJE are rated to handle much higher than 50V so it would be OK to use 50V for these, not sure about the power transistors…you can probably think about using some other variant such as 2N3055 etc or TIP35/36 which are rated to handle 100V
So If i was to add (4) 2sc2922 and (4) 2sa1216 I could replace MJE340/350 with tip TIP122 and TIP127. what about the MJE340 at the input, would I need to replace that one?
Also what would the supply voltage be maximum, would it be about 50v +/-
TIP122/127 are Darlington devices not sure how they would respond here? you can try nevertheless.
50V would be a good value to start with.
could ouu check this amplifier
circuitswiring.com/circuit-diagrams/22/High-Power-amplifier-450-Watt-with-2-set-sanken.jpg
Question do you think I could add atleast 2 more pairs of output transistors to this circuit only adding and extra 10ohm and 0.1ohm to base and emmiter to get more power?
Would anything need to be changed or added?
each transistor would require a massive 1amp for saturating…so for 4 transistors it would be 4amps….I don't think the MJE340/350 would be capable for delivering this much current…so make sure these are upgraded with more powerful devices along with their bases resistances which will need to be reduced….only then it would be possible
Swagatam,
is the 450 watt amp by Ainsworth working well now? He asked you to check the circuit, is it ok? If it is can you please share with me the power supply secondary winding center tap voltage.thanks.
Thanx. How? Do u publish any article for above written requirement? Or sugest a ckt.
I have one article explaining LM386 IC, you can find it here:
https://homemade-circuits.com/2012/08/ic-lm-386-datasheet-explained-in-simple.html
I am going to build audio amps. My power requirement is 3w 3w stereo. Should i go for transistor or ic?. For better result with less cost. Suggest one ckt.
go for IC amplifier, preferably by using a TDA series IC, or you can also try a couple of LM386 ICs for the same.
diode could be any fast recovery type, mosfet could be any type matching the output power requirement specifications.
What type of diode and Mosfet used here ??
I do not have an opamp circuit, I can 555 IC circuit though.
you can try this circuit:
https://homemade-circuits.com/2012/10/1-watt-led-driver-using-joule-thief.html
Ra = 10K, Rb = 22k, C = 0.01uF, L1 could be an inductor wound on T13 torroidal ferrite core with 25 turns of 25swg copper wire.
COMMENT BOX IS MOVED AT THE TOP