Fourier Series of the Square Wave and the Gibbs Phenomenon
In questa pagina 3
The symmetric even square wave
Let ω0=T2π and
x(t)=repT[rect(2T1t)]=n=−∞∑+∞rect(2T1t−nT),rect(2T1t)={10∣t∣≤T1otherwise,
i.e. a train of unit pulses of half-width T1 repeated every T:
x(t)
1 | ____ ____ ____
| | | | | | |
--+-|----|------|----|------|----|----> t
-T -T1 0 T1 ... T-T1 T T+T1 (pulse on [-T1,T1], repeated every T)
Coefficients an, n=0:an=T1∫[T]x(t)e−jω0ntdt=T1∫−T1T1e−jω0ntdt=T1−jω0ne−jω0nt−T1T1=T1jω0n1(ejω0nT1−e−jω0nT1)=Tnω02⋅2jejω0nT1−e−jω0nT1=Tnω02sin(nω0T1).
Now use T1=2Tδc, so nω0T1=nT2π2Tδc=πδcn and Tnω02=πn1. Recall
sinc(t)=⎩⎨⎧πtsin(πt),1,t=0t=0.
Therefore
an=δcsinc(δcn)
(this also gives a0=δc for n=0).
Particular case δc=50%. Then T=4T1 and ω0T1=T2π4T=2π. The coefficients are
a0=21,∀n=0:an=21sinc(2n)=21n2πsin(n2π),a±1=π1,a±2=0,a±3=−3π1,a±4=0,a±5=5π1,…
Behaviour of the coefficients
The sinc function has zeros at the nonzero integers and an envelope decaying like t1:
sinc(t)
1 | .
| / \
| / \ zeros at t = +-1, +-2, +-3, ...
---+---/-----\---+----+----+---> t
| -1 . 1 2 3
| \_/ (negative lobe between 1 and 2, positive between 2 and 3, ...)
Since an=δcsinc(δcn), we get an→0 as n→±∞, decaying like n1.
Gibbs phenomenon. The approximation error ∣x(t)−x^N(t)∣ in a neighbourhood of a point of discontinuity, where
t→t0−limx(t)=x(t0−),t→t0+limx(t)=x(t0+)(finite jump),
reaches about 9% of ∣x(t0+)−x(t0−)∣ as N→+∞.
So the overshoot does not disappear as more terms are added: it stays at about 9 percent of the jump height.
Versione ripasso
Even square wave: x(t)=repT[rect(t/2T1)], ω0=2π/T, duty cycle δc=2T1/T∈[0,1].
a0=δc; for n=0: an=Tnω02sin(nω0T1)=δcsinc(δcn), with sinc(t)=πtsinπt, sinc(0)=1. Real and even since x is real and even; an∼n1.