Skip to main content

Transfer function of DT low pass filter

Short answer

A first-order recursive low-pass filter is y[n]-a y[n-1]=x[n], 0<a<1. Its transfer function is H(z)=1/(1-a z^-1)=z/(z-a), with magnitude 1/sqrt(1+a^2-2a cos w). It is low-pass because gain is maximum at w=0 and minimum at w=pi; impulse response is h[n]=a^n u[n].

Derive the transfer function for discrete time low pass filter.

A simple discrete-time low pass filter is the first-order recursive filter

y[n]−a y[n−1]=x[n],0<a<1y[n]-a\,y[n-1]=x[n], \qquad 0<a<1

(the output is the input plus a fraction aa of the previous output, so fast changes are smoothed).

Derivation of the transfer function

Take the z-transform (zero initial conditions), y[n−1]↔z−1Y(z)y[n-1]\leftrightarrow z^{-1}Y(z):

Y(z)−az−1Y(z)=X(z)H(z)=Y(z)X(z)=11−az−1=zz−a,∣z∣>∣a∣\begin{aligned} Y(z)-az^{-1}Y(z)&=X(z)\\ H(z)=\frac{Y(z)}{X(z)}&=\frac{1}{1-az^{-1}}=\frac{z}{z-a}, \qquad |z|>|a| \end{aligned}

Frequency response (put z=ejωz=e^{j\omega}):

H(ejω)=11−ae−jω,∣H(ejω)∣=11+a2−2acos⁡ωH(e^{j\omega})=\frac{1}{1-ae^{-j\omega}}, \qquad |H(e^{j\omega})|=\frac{1}{\sqrt{1+a^2-2a\cos\omega}}

Impulse response: h[n]=anu[n]h[n]=a^n u[n].

Why it is low pass

  • At ω=0\omega=0: ∣H∣=11−a|H|=\frac{1}{1-a} (maximum).
  • At ω=π\omega=\pi: ∣H∣=11+a|H|=\frac{1}{1+a} (minimum).

For 0<a<10<a<1 the gain decreases from low to high frequency. Example a=0.5a=0.5: gain 2 at ω=0\omega=0 and 0.667 at ω=π\omega=\pi. (For −1<a<0-1<a<0 the same equation is a high pass filter.) The pole at z=az=a lies on the positive real axis, closer to z=1z=1 (i.e. ω=0\omega=0) than to z=−1z=-1, so it boosts low frequencies.

 |H|
 1/(1-a) *
          *
            *  *
                  *  *  *  1/(1+a)
 ---------------------------> w
  0                     pi

Ideal low pass filter (for reference)

The ideal LPF has H(ejω)=1H(e^{j\omega})=1 for ∣ω∣≤ωc|\omega|\le\omega_c and 00 for ωc<∣ω∣≤π\omega_c<|\omega|\le\pi, which gives h[n]=sin⁡ωcnπnh[n]=\frac{\sin\omega_c n}{\pi n}. It is non-causal and not realizable, so first-order (or higher-order) recursive filters like the one above are used in practice.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Signals and Systems chapter 6 questions →