• 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!

Nominally Fixed Frequency Ripple Reduced Class D Amplifier

SMPSGuy

New Member
Joined
Jul 29, 2024
Messages
3
Likes
2
This is DIY but may live elsewhere and I need to work on the title to get a nicer Acronym.

I've been dreaming about for this for some time and having gone through various iterations of ideas that ultimately failed I ended up with this one. Your caveat is that it is a Spice Model without the kitchen sink to get it working but I need to break it harder to see if it is worth building one.

It is an incremental thing in as much as I poke it to break it then look to see why it is broken and try to fix it. I have many more things to break and fix but I think I may be getting close. No doubt I will never be able to Iron Out The Rough Spots and it will never see the light of day but this is what I have at the moment.

Obviously numbers are fantasy but this it what it does at just over 800W into 4Ohms @ 1KHz normalized to 0dB. It's about 10V off of going into clip.

Screenshot from 2024-08-14 19-05-58.png


I'm sure things will only get worse in real life but this is the HF ripple. Target FS was 500KHz.

Screenshot from 2024-08-14 19-10-07.png


Again and on the basis that it is just a Spice Model without the warts here is the "Dashboard". Could be wrong but 6VP-P into 4Ohms @1KHz.

Screenshot from 2024-08-14 19-47-02.png


Apologies for the file names. I was trying something out to fix another thing.
 
An add after further head scratching. One of the big problems has been working out how to stop the modulator losing the plot up at 20KHz plus. A partial fix lets me generate some intermodulation plots. The first is 19/20KHz close to clipping,

Screenshot from 2024-08-15 12-33-02.png


Normalised to 0dB

Screenshot from 2024-08-15 12-34-00.png


Of course things are much nicer at lower output levels.

Screenshot from 2024-08-15 12-49-18.png


Screenshot from 2024-08-15 12-51-28.png


As a last one, until I sort out some other quirks, here's a plot of load dependency. 2R, 4R, 8R, 16R, 32R 4096R with 6Vp-p out. In this case, and as mentioned elsewhere, if I hit things too hard the modulator looses the plot.

This is with a second order 40KHz filter on the input.

Screenshot from 2024-08-15 16-27-29.png


Ooops. It is still overall inverting and I also might have problems with it providing a 'useful' response out to 100K.

Whilst I hate the term because I do not fully understand it we also get gain peaking which may have resulted from me adding a pole to the feedback loop chasing distortion numbers.

If I knock that one on the head, waits for the analysis to run, I get one of these,

Screenshot from 2024-08-15 17-19-40.png


So, if you believe it, that's nice(r). I have cheated and only plotted up to 250KHz

Oh. This is post filter feedback and in this case it's behaving itself without a load because I have used current feedback from the output filter capacitor to tame or kill the filter resonance.
 

Attachments

  • Screenshot from 2024-08-15 17-00-37.png
    Screenshot from 2024-08-15 17-00-37.png
    78.2 KB · Views: 30
  • Screenshot from 2024-08-15 16-22-56.png
    Screenshot from 2024-08-15 16-22-56.png
    86.2 KB · Views: 27
  • Screenshot from 2024-08-15 12-48-34.png
    Screenshot from 2024-08-15 12-48-34.png
    50.8 KB · Views: 27
Yesterday I got slightly excited because I managed to lock the modulator to an external signal not using a phase locked loop. Yes I have tried that and it is a road to fail especially if you expect any bandwidth from it. Most likely because I am doing it wrong. Then I poked about and it fell over so that will be another fail.

If I am gentle with it then I can get a plot of loop gain. Apparently LTSpice has moved on since Mike told me how to do it and rubbished the idea but I can get pretty pictures.

Screenshot from 2024-08-18 22-49-03.png


Without a pole in the Voltage Error Amplifier...

Screenshot from 2024-08-18 22-51-14.png


With a pole in the Voltage Error Amplifier...

Screenshot from 2024-08-18 22-53-09.png


I'll resist the temptation to assign any meaning to those. Oh that was with a 4 Ohm load.
 
Back
Top Bottom