Newbie square wave question

the whole point is not limiting the bandwidth of the source to see what the amplifier is doing to limit things.
I understand the premise, but there is some point where it's just too much, IMO. It's an audio amp, not a HF amp.

It's OK if we don't agree.
 
Last edited:
It's ok to limit bandwidth for audio signals if you choose, but feedback testing just won't work without the high frequencies to check for stability. It isn't a matter of agreeing or not, it is technically required.

As an aside regarding bandwidth, years ago I read a paper about a study done to see what frequency range humans really could hear. With sine waves not so high but when they used transient click sounds and started to incrementally decrease bandwidth from some high starting value, once they got below 30kHz the test subject could start to identify a change of timbre in the click. They supposed that since humans needed to hear predators in the forest thousands of years ago that we developed the ability to hear a twig snap or leaves crunch. To me this means we really need some frequency extension above 20kHz to properly handle transients in the music. Just a bit of musing on my part. I wish I had saved that study. Can't find it now.
 
It's ok to limit bandwidth for audio signals if you choose, but feedback testing just won't work without the high frequencies to check for stability. It isn't a matter of agreeing or not, it is technically required.

The harmonics of a square wave are essentially infinite, albeit diminish in amplitude with the order, yes?

Are infinitely high frequencies, or at least as high as any meaninful (whatever that is) amplitude remains, necessary for feedback testing?

This suggests to the type of bandwidth limiting I mean, not like 20kHz or whatever that maybe it was presumed I meant. :dunno:
 
Last edited:
I've certainly done bandwidth limiting at the input and in the middle of the signal chain, but I really only knew that it was needed because the square wave testing revealed a problem.
 
Set the frequency generator to 1 KHz and adjust amplitude to so that you read 4V peak on the scope across a 8 ohm non-inductive dummy load resistor on the 8 ohm speaker tap. That’s your base line measurement, I.e 0 dB.

Then without changing the amplitude, dial the frequency down. See what frequency it reaches 3.56 V peak amplitude. That will be 1 dB down relative to 1KHz.





Then without changing input amplitude dial the frequency up until again you read 3.56 V peak amplitude. Again that will be 1 db down relative to 1 KHz.

If you’re doing this open loop (no feedback or HF compensation applied) you should see the -1 dB frequency response points at something like 30 Hz to 10 KHz or so.

Then apply say 10 dB feedback and repeat the process. You should see frequency response bandwidth increase to something like 10 Hz to 30 KHz.

For power bandwidrh measurements you need to run the amp at 90% of max power into a large 8 ohm dummy load and repeat the measurements. A bit harder to do since the dummy load will heat up a lot faster so you need to be quick on the measurement and then remove signal and let the dummy load cool.

With 10 dB global feedback you should see power bandwidth 35 Hz to 20 KHz, with Hammond output iron.
Thanks for looking I have a newbie question. Is this sloping I see on the leading and trailing edge a problem? This is a 10k square wave test I have been experimenting with.
I've certainly done bandwidth limiting at the input and in the middle of the signal chain, but I really only knew that it was needed because the square wave testing revealed a problem.
I've certainly done bandwidth limiting at the input and in the middle of the signal chain, but I really only knew that it was needed because the square wave testing revealed a problem.

Here is what I found using the 1db down as my starting point. With 0 feedback my 1db points are approximately 43hz to 20khz. With feedback they became 20hz to 20khz. My nfb was connected to the 4ohm and kept the .1 capacitor and the 43 ohm resistor connected between the gnd and 4ohm at the transformer outputs. Between pin 3 v1 and the transformer I used a 2.8k and 470 pf. The 4.7k and 270 pfd that was originally found between pin 1 and 7 of V1 was removed
 
Can you post a picture of a 10 KHz square wave under these conditions? The speaker load should be a plain resistor with size matching the tap—8 ohm resistor on 8 ohm tap or etc.
 
Also do you know how to measure what amount of feedback you have applied? I’d like to know that as well.
 
I’m not sure what the correct steps are for measuring the feedback. If you don’t mind could you suggest a process. I want to make sure the information I give you is accurate
 
I’m not sure what the correct steps are for measuring the feedback. If you don’t mind could you suggest a process. I want to make sure the information I give you is accurate

Should I be measuring my gain using a signal to produce 1watt and the difference in db between my input and output would be my gain.then compare my results with and without nfb ?
 
I usually disconnect the feedback, set it to about 1 watt of output, then connect to work out the difference between the two voltages in dB in order to determine the feedback level.

again I freely admit to doing things in a relatively lazy way. Its self-defense, the less complex I make things, the less likely I am to screw it up.
 
That’s how I do it as well. Measure the peak voltage of a 1 watt sine wave across the output of a dummy load with no feedback. Then do it again with feedback, without changing the input signal amplitude. Compute the ratio of those two voltages and convert to dB.

Voltage ratio = peak voltage w/o feedback divided by peak voltage with feedback.

dB = 20*Log10(voltage ratio).

Log10 means logarithm base 10.
 
For greatest accuracy, the NFB lead (when the loop is opened) should be disconnected from the transformer end of the network, and then that end of the network grounded. This will let the stage where the NFB is inserted into operate with the same gain level as it has when the NFB loop is closed, making for the greatest accuracy when conducting the test.

Dave
 
For a comparison with an Output Transformer Less Tube amplifier, here are the Sinus and Square waveforms of my 10W U-OTL :

c4xUPb-U-OTL-WAVES-04-05-2023.jpg


8bZXJb-P1100316.jpg


For a comparison, now here are the SQ waves from my Ultra-Linear 6L6BASIC prototype amp. The OPT is a Hammond 1620 (6600R/8R/20W/30Hz-30kHz) :

r3RGWb-6L6BASIC-SQ-Wave-TEST-02-07-2026.jpg


uCwJWb-dual-option-proto.jpg


T
 
For a comparison with an Output Transformer Less Tube amplifier, here are the Sinus and Square waveforms of my 10W U-OTL :

c4xUPb-U-OTL-WAVES-04-05-2023.jpg


8bZXJb-P1100316.jpg


For a comparison, now here are the SQ waves from my Ultra-Linear 6L6BASIC prototype amp. The OPT is a Hammond 1620 (6600R/8R/20W/30Hz-30kHz) :

r3RGWb-6L6BASIC-SQ-Wave-TEST-02-07-2026.jpg


uCwJWb-dual-option-proto.jpg


T
Thank you there is a lot of useful information to look trough and possibly a baseline of what can be achieved with the 1620
 
Thank you there is a lot of useful information to look trough and possibly a baseline of what can be achieved with the 1620

Yes. And as you can see, the little Hammond 1620 output transformer is not only affordable, but a valuable one !

To convice oneself to this, another example with the 1620 : here are the Square waves from my EL34 UL PP amp prototype (the previous one was with 6L6GC tubes, same driver circuit) :

N3mHWb-ULTRALIN-BASIC-SQW-TEST-07-07-2026.jpg


Remember the specs of the 1620 : 6600 / UL / 4-8R / 30Hz-30kHz / 20WRMS...

Now comparison of three OPT :

v5GyWb-OPTs-SIZES-17-05-2026-1.jpg


The STS H34BN is a 50s/60s NOS PA OPT, pentode operation 5000R/4-8-16R, etc... Rated 15WRMS.
The Hammond 1620 is the smallest, UL operation 6600R/4-8R. Rated 20WRMS.
The ISO Tango FC-60-5 is a premium model, and not the same price, UL operation 5000/4-8-16R. Rated 60WRMS.

Square waves comparison on my prototype amp - power tubes are 6L6GC, power output 10WRMS :

I5GyWb-TEST-COMPARATIF-OPTs-6L6BASIC.jpg


Again @Linx1 , you observe that the performance of the little 1620 is very honourable... :cool:

T
 
Last edited:
With respect to a squarewave test for high frequency feedback 'tuning' (eg. by varying a shunt compensation capacitance across the feedback resistor), the tuning relates to modifying the transient response resulting from the leading edge of the squarewave 'ringing the bell' (so to speak) of the output transformer. That tuning action doesn't care if the squarewave is 1kHz or 10kHz, or the harmonic structure of the squarewave per se, as the effect is about the transition being fast enough to excite the transformer internal resonance(s). I use about 3-4kHz as it gives me two tranistions to see on the scope screen, as I want to see the ringing and ring decay character of both edges - if the ringing and decay was negligible then I'd likely tend towards 10kHz, but it is all about viewing the transient response for this type of tuning aim.

Achieving a clear view of such ringing does mean the squarewave input signal needs to have relatively fast transition times, and the scope and probe needs similarly high frequency response and good compensation for the transitions. So yeh a 10-20MHz bandwidth scope and probe and sqw generator are good tools to have to avoid influencing the ringing response you want to investigate.

If you are lucky then the ringing response is a simple damped sinewave - which would show up in a frequency sweep as a single dominant transformer resonance (if you had the tools to do a spectrum sweep up to say 500kHz-1MHz, like from FRA4 and a Picoscope that some of us have). And if you are luckier, the application of some shunt compensation capacitance can suppress that ringing response. The nuances of 'how much capacitance', and if the ringing is not 'simple', and if you want to look for stability with no load or cap only loading, is a much more involved set of topics.
 
Just some quick pictures of my 1,10 and 20k waveforms. These were taken with the negative feedback total removed and the 4.7k resistor and 270 pf capacitor also removed from the 12AU7 between pin 1 and 7. I used the 8ohm dummy load across my outputs. My input signal was .08v and this gave me 4v on the output.
 

Attachments

  • IMG_2638.jpeg
    IMG_2638.jpeg
    202.5 KB · Views: 14
  • IMG_2637.jpeg
    IMG_2637.jpeg
    192.2 KB · Views: 9
  • IMG_2636.jpeg
    IMG_2636.jpeg
    200.5 KB · Views: 8
  • IMG_2641.jpeg
    IMG_2641.jpeg
    196.7 KB · Views: 7
  • IMG_2640.jpeg
    IMG_2640.jpeg
    208.8 KB · Views: 10
  • IMG_2639.jpeg
    IMG_2639.jpeg
    200.3 KB · Views: 12
Just some quick pictures of my 1,10 and 20k waveforms. These were taken with the negative feedback total removed and the 4.7k resistor and 270 pf capacitor also removed from the 12AU7 between pin 1 and 7. I used the 8ohm dummy load across my outputs. My input signal was .08v and this gave me 4v on the output.

@Linx1 - without the schematic of the circuit in sight, here's what appears to me, looking to your scope screens - if I understand well their succession :

pic 1 / 1kHz = the lower part is more rounded than upper part, which means some gentle saturation / distortion somewhere (2nd order, as the waveform is dissymetrical).
pic 2 / 1kHz = the overshoot comes certainly from your output transformer, the slope is due to very small value coupling caps in the circuit.
pic 3 / 10kHz = same observation as pic 1, slightly more. It makes me think about a incorrect operating point somewhere (plate voltage ? bias ?)
pic 4 / 10kHz = low bandwith of the circuit in the highs, probably limited by the output transformer (distributed capacitance, leaks or phase shifts ?).
pic 5 / 20kHz = less apparent distortion, probably due to a loss of gain of the circuit.
pic 6 / 20kHz = as pic 4, plus loss of gain of the circuit and phase shift coincidence, allowing possibly slightly better square waves.

So I am tempted to say that your output transformer is a less than average model (similar to the H34BN in my scope screens) which is already a strong limitation, and moreover your circuit could be in need of some improvements... I'd be curious to have a look to the 20Hz and 40Hz waves, though.

Maybe if you are willing to post the complete schematic of your amp, we could tell you more ? ;)

T
 
Back
Top Bottom