The slew rate of a square wave band limited with a brick-wall LPF can be analytically determined:
View attachment 464044
A sine wave at the highest component frequency (strictly speaking, for N ≥ 2) with the same V_pk as the square wave will have a higher slew rate. Therefore, if an amplifier can reproduce a sine wave with the same amplitude at the highest component frequency of the band limited square wave, it's slew rate is more than sufficient to reproduce the square wave.
View attachment 464048
Nice job! I decided to not walk through the expansion; just as well since your presentation is cleaner than the one I have written down in my notes from the primordial past (that include the impact of band limiting and Gibbs effect but are much messier equations). Two comments:
1. For those who might not recognize it, angular frequency w = 2*pi*f where w (omega) is in radians/sec and f is Hz (cycles/second).
2. Note my previous comment about a square wave having higher slew is at the fundamental frequency. That is, a 100 Hz square wave will in general have higher slew rate than a 100 Hz sine wave of equal amplitude. This does not conflict with
@NTK's post; if the square wave is bandlimited to say 10 kHz, then a 9 kHz sine wave of the same peak amplitude as the 100 Hz square wave will have higher slew rate as he said. However, the 9 kHz component of a 100 Hz square wave is much smaller in amplitude -- note the terms go down as 1/N in the first y(t) equation
@NTK presented -- and thus exhibits much lower slew rate (because the amplitude, A, of the 9 kHz component in the square wave is much smaller - 1/9 - than the fundamental amplitude - 1 - of the complete square wave).
I have also neglected Gibbs in this and the square wave posts; in my (former) day job, it was a royal pain as Tx outputs often exceeded DSO bandwidth thus making true amplitude difficult to measure, but for my simple analyses decided Gibbs introduces complications I did not want to explain to a lay audience.
Aside: I am rarely on ASR these days but check in now and then. I accidentally noticed the additions to this thread; in general, if you would like me to respond, please tag me (
@DonH56 or drop me a PM) otherwise I am unlikely to see your response.