• WANTED: Happy members who like to discuss audio and other topics related to our interest. Desire to learn and share knowledge of science required. There are many reviews of audio hardware and expert members to help answer your questions. Click here to have your audio equipment measured for free!

Class D Amplifiers 101

Offler

Senior Member
Joined
May 27, 2021
Messages
414
Likes
399
You mean this distortion? ;)
Precisely :). The argument went like that amplifier which does not use triangle wave will always be better, or because "D" stands for "digital" which I later found out to be wrong.

Even relatively cheap and simple UcD102 has THD+N at -80dB.
 

Kokoriantz

Member
Joined
Sep 12, 2021
Messages
14
Likes
3
I tried out my idea on post 62 to see the feasibility. I simulate it at standard 400khz and 50ns dt. This is without correction.
50ns 400khz.JPG

The distortion.
dis 400k 50ns.JPG

A roughly adjusted gives
400khz 50ns corrected.JPG

distortion.
dis 400k 50ns cor.JPG
 

Kokoriantz

Member
Joined
Sep 12, 2021
Messages
14
Likes
3
What makes the amp better sounding at high switching frequencies is the very low ripple current. The kinks observed are separated by PP current of the ripple, running it at 2Mhz the the kinks will have shorter separation acting at very low power, very similar to under biased class AB. There the feedback acts as usual once at every zero crossing.
 

pma

Major Contributor
Joined
Feb 23, 2019
Messages
4,591
Likes
10,727
Location
Prague
I want to add on this reference thread the dead time issue in class D amplifiers.

Similar to class AB crossover distortion, though not exactly same. Odd and annoying in TPA32XX related circuits, when frequency gets higher and dead time is more pronounced.
 

Kokoriantz

Member
Joined
Sep 12, 2021
Messages
14
Likes
3
Similar to class AB crossover distortion, though not exactly same. Odd and annoying in TPA32XX related circuits, when frequency gets higher and dead time is more pronounced.
It looks like the dt correction is voltage sense as it is optimized for 3ohms load.
3 ohms tpa3255.JPG
4ohms tpa3255.JPG
8ohms tpa3255.JPG
 

Kokoriantz

Member
Joined
Sep 12, 2021
Messages
14
Likes
3
Here is 10ns dt and 2Mhz Fs. The pair kinks got merged to make a smooth zero transition, only each polarity now is lacking an offset as the distortion is about 0.5%. The feedback can operate now much better in the lack of abrupt kinks, as the frequency is high 60db NFB can be easily applied to bring the number 0.0005%.
dis10ns 2M.JPG
10n 2M.JPG
 

JohnYang1997

Master Contributor
Technical Expert
Audio Company
Joined
Dec 28, 2018
Messages
7,175
Likes
18,292
Location
China
Joined
Mar 17, 2022
Messages
73
Likes
118
Joined
Mar 17, 2022
Messages
73
Likes
118
OP
DonH56

DonH56

Master Contributor
Technical Expert
Forum Donor
Joined
Mar 15, 2016
Messages
7,835
Likes
16,496
Location
Monument, CO
Was interesting reading until you seem to have an issue - very interested in the technical discussion.
@boXem | audio designs these things so I tend to pay attention to his issues. In this thread there were a few diversions out of scope of the (my) original intent, and he corrected a few things I and others said. I intentionally used a (arguably) simpler design that was not self-oscillating, because I thought it was easier to use in explaining the operation, and some folk took issue with that decision. Oh well. Some other comments (mine and others') revealed a lack of understanding of some very basic principles and/or a glossing over of some details (again, intentional in my case, to suit the intended audience -- which just means I didn't know it well enough to explain it simply). Some of the comments were just wrong, at least in the context of modern amplifier design. A lot of the discussion really belongs in a "Class D 201" thread or better, which would be an interesting read for me. Alas, I need to get back to my day job, which is running deep into the night... - Don
 
Last edited:
Joined
Mar 17, 2022
Messages
73
Likes
118
I design DC-DC converters for my day job, many of the issues discussed ring a bell for me and I've often found the similarity between DC-DC and Class D interesting, I see errors all over the place (surely not with just one poster), still was interesting to me.
 
OP
DonH56

DonH56

Master Contributor
Technical Expert
Forum Donor
Joined
Mar 15, 2016
Messages
7,835
Likes
16,496
Location
Monument, CO
I design DC-DC converters for my day job, many of the issues discussed ring a bell for me and I've often found the similarity between DC-DC and Class D interesting, I see errors all over the place (surely not with just one poster), still was interesting to me.
Thanks! Any flat-out errors in the original post, I would love to correct. The rest of it, meh, hopefully there's enough "goodness" to let it ride.

A friend who designs DC-DC converters once commented that class D amplification was somewhat similar to modulating the reference of a SMPS design. Although I worked (briefly) there, I was not doing DC-DC converters, so was (am) not competent to comment.
 
Top Bottom