Downward Pointing Harmonic Peaks in LT Spice FFT. Is The Design Correct?

  1. Whatever you can (or cannot) see at F=39k is of little importance, as it is out of the audio band anyway. In an IMD test, you look at in-band intermodulation products.
  2. With the 19k+20k test signal, even-harmonic-generating non-linearities will generate intermodulation products at 1k, 2k, 3k, etc., while non-even - at 18k/21k, 17k/22k, 16k/23k, etc.
  3. In a feedback amp, the loop gain is often lower at the top end of the audio band. Beacuse of that it is super easy to get -160dB THD @ 1kHz, but getting the same low level for the 18k intermod is more difficult.
  4. You "noise" floor still looks high. Below are typical results of transient simulations of two high-loop-gain, low-distortion power amps. Note the floor at -220dB or so.
1732027427321.png1732027978577.png
 
Last edited:
  • Like
Reactions: hbtaudio
Would be great if you could post an image of such spectrum made relevant by adding a noise generator. Thanks.
Here you go.
The amp you sent me didn't work and a number of transistors were missing in the DIYAamp.txt.
So I used another amp, a Luxman 400.

I started finding its -3dB point, see first attachment, it's roughly 200Khz.

Then in the second attachment I measured the noise at the output, ca 137nV/rtHz or 55uV over the 200Khz BW

Third attachment shows in transient mode the LS output signal from a behavioral voltage source at the amp's input, in this case with V=White(1e6*time)/73000
The factor 1e6 determines the noise BW and the factor 73000 it's amplitude.
This was of course after some trial and error to find the right figures.
In the third attachment the Sim was done with a 1 sec sim time for getting the filter bins at 1Hz, to compare it with the 137nV/rtHz measured before.
As can be seen at the insert in the time signal, amplitude is even a bit too low with 50uV instead of 55uV in attachment 2, but it's close enough in this case.

Fourth attachment shows the IM with 19Khz and 20Khz.
In the upper part without the noise generator and in the lower part with noise generator.

That's it.
Hans
 

Attachments

  • Image-1.jpg
    Image-1.jpg
    404.1 KB · Views: 55
  • Image-2.jpg
    Image-2.jpg
    409.2 KB · Views: 50
  • Image-3.jpg
    Image-3.jpg
    443.3 KB · Views: 53
  • Image-4.jpg
    Image-4.jpg
    600.3 KB · Views: 55
  • Like
Reactions: Prasanna Jawalkar
@alexcp,

I concur with your first 3 points. Those amps represented by the FFTs in #4 must be excellent sounding amps designed by highly experienced designers. Ou of curiosity I plotted IMD plots for below designs for which I could locate ASC files.

1) Bob Coredell - (Someone created the ASC file from the example diagram in his book. Not a finished product.
2) SYSSYM4 - The craze 10-12 years back
3) GLACFA - CFA Design by uncle OStripper who started the huddle CFA vs VFA.

When compared my design with these, I feel that my figures are close to and in couple of cases little better than these 3. Of course, the high noise floor level is because of the way I used zeners at sensitive points which leaves a scope for correction. But as I said before I wanted to explore unconventional characteristics of these regulator devices.

Attached are the IMD plots for the 3 case-studies.

I was complacent that I am in the same league but your examples triggered my mind to replace to them with conventional devices and measure the noise floor. I am expecting to understand the standard practice to measure noise by adding the noise generator from @Hans Polak. Awaiting a reply from him.

regards,

Prasanna
 

Attachments

  • IMD 19 & 20K with Hann function - Bob Cordell axample amp.png
    IMD 19 & 20K with Hann function - Bob Cordell axample amp.png
    137.3 KB · Views: 36
  • IMD 19 & 20K with Hann function - GLACFA.png
    IMD 19 & 20K with Hann function - GLACFA.png
    132.9 KB · Views: 39
  • IMD 19 & 20K with Hann function - Symasys4.png
    IMD 19 & 20K with Hann function - Symasys4.png
    137.8 KB · Views: 39
I was complacent that I am in the same league but your examples triggered my mind to replace to them with conventional devices and measure the noise floor. I am expecting to understand the standard practice to measure noise by adding the noise generator from @Hans Polak. Awaiting a reply from him.
Received your reply while writing to Alexcp. I will go through it. Thanks @Hans Polak
 
Last edited:
@alexcp,

I concur with your first 3 points. Those amps represented by the FFTs in #4 must be excellent sounding amps designed by highly experienced designers. Ou of curiosity I plotted IMD plots for below designs for which I could locate ASC files.

1) Bob Coredell - (Someone created the ASC file from the example diagram in his book. Not a finished product.
2) SYSSYM4 - The craze 10-12 years back
3) GLACFA - CFA Design by uncle OStripper who started the huddle CFA vs VFA.

When compared my design with these, I feel that my figures are close to and in couple of cases little better than these 3. Of course, the high noise floor level is because of the way I used zeners at sensitive points which leaves a scope for correction. But as I said before I wanted to explore unconventional characteristics of these regulator devices.

Attached are the IMD plots for the 3 case-studies.

I was complacent that I am in the same league but your examples triggered my mind to replace to them with conventional devices and measure the noise floor. I am expecting to understand the standard practice to measure noise by adding the noise generator from @Hans Polak. Awaiting a reply from him.

regards,

Prasanna
@alexcp ,

I have improved the design and now the IMD FFT looks like this. All difference frequencies between 1k and 5k are pushed down below 115Db from the two base frequencies. The very first diff frequency component of 1k is 118Db down from the base. The FFT is with Hann windowing. What I want to highlight is that compared to above example IMD FFTs, there are no spikes in the audible band. Might be still there is a flaw in the way I generated it.

I am excited to listen to the sound, but I have to wait till I build it till the tie bandwidth allows me.

What is your take and feedback? Of course, high noise floor of ~180Db is still there.

Prasanna
Dear Hans Polak,
I am including the diagrams and the .asc file.

1, THD at 10KHz, 16V p-p.
2. IMD at 19-20 KHz, 16V p-p.
3. .ASC file.

View attachment 1384868View attachment 1384869
@gannaji,

Thanks for sharing the FFTs. I am wondering, how do you generate The Empire State building the FFT at 19k and 20k. I am wondering why I am not getting it. Do you set any specific parameter for it?

Prasanna
 

Attachments

  • IMD 19 & 20K with Hann function - Prolonged smulation period - (Revised).png
    IMD 19 & 20K with Hann function - Prolonged smulation period - (Revised).png
    179.8 KB · Views: 34
In the design under development,

Image1 - the quiescent current in power and driver transistors doesn't cut off. Achieved with only a couple of transistors with few passive components.
Image2 - 1.414V square wave (bi-voltage) driving 8 Ohm resistive load (42v pk-to-pk output). There are no overshoots.

With 1.414v RMS (some people would like to use the term average) input, the design delivers 100W.

Dead-bias Power Transistor currents.png


The difference between two quiescent currents (upper halve and lower halve) may be due to model differences. I assume the currents can be matched with preset.

Prasanna
 

Attachments

  • 20K Sqr signal driving 8-Ohm Load.png
    20K Sqr signal driving 8-Ohm Load.png
    85.9 KB · Views: 37
Last edited:
Dear Hans,
A more detailed explanation of the procedure, step by step, with figures if possible, will be very useful for us beginners. Please !
Start by running the noise command, use V(out) for the noise output and V3 as the source.
See result in the first image.
Output noise is ca 78nV/rtHz and BW is ca 140Khz.
This adds up to slightly below 30uV = 78e-9*sqrt(140K)

Now use the White command for a behavioral voltage source.
Some fiddling results in 3.7e5 for the 140Khz BW and 114000 for getting the right level.
Use a 1 second running time to get 1Hz bins, shorter is of course possible but be aware in the FFT of the larger bin width.
See output level in second image being almost the above calculated 30uV.

As a last step run your IMD test and add the white noise generator B1 to your 19Khz+20Khz sources V3 and V5.
Final result visible in third attachment.
Hope this answers your question.


Success
Hans

P.S. You mention to being a beginner, but using the Tian stability test is not exactly beginners stuff 🤣
 

Attachments

  • IMD3.jpg
    IMD3.jpg
    326.6 KB · Views: 43
  • IMD2.jpg
    IMD2.jpg
    264.1 KB · Views: 42
  • IMD1.jpg
    IMD1.jpg
    329.4 KB · Views: 38
What is your take and feedback? Of course, high noise floor of ~180Db is still there.
@alexcp ,

I can't overcome the 160Db noise floor barrier because of Zener diodes. However, I could refine the THD and IMD FFTs. But the point I highlight is my 1k to 9k peaks are below 118Db down (minimum) from the base frequencies. What matters more for the musicality is the strength of the IMD harmonics than how low is the noise floor (except front end devices in the audio value chain).

Overall I believe that I am doing the things right except lowering the noise floor.

Let me turn to Hans and execute his noise generator suggestions.

Prasanna
 

Attachments

  • 1K THD of error signal.png
    1K THD of error signal.png
    54.1 KB · Views: 28
  • IMD 19 & 20K with Hann function - Prolonged smulation period - (Revised5).png
    IMD 19 & 20K with Hann function - Prolonged smulation period - (Revised5).png
    181.3 KB · Views: 31
  • 1K THD of 8 Ohm load driven at 100W.png
    1K THD of 8 Ohm load driven at 100W.png
    51.3 KB · Views: 29
Last edited:
  • Like
Reactions: alexcp