Experiment 1

Objective: Learning Simulink and a simple filtering exercise

Description: In this experiment, you will generate a 1 MHz square-wave, and extract its first harmonic using a 7-th order Butterworth filter with cut-off frequency of 2 MHz. You will also extract its third harmonic using a bandpass Butterworth filter centered around 3 MHz.

Instructions

Questions

  1. Submit a printout of the block diagram in part IV.
  2. Submit the Fourier transforms plots at the input and output of the Butterworth filter for part IV and at the output only for part V.
  3. Does the lowpass filter achieve the goal of extracting the first harmonic of the square wave? Explain.
  4. Does the bandpass filter achieve the goal of extracting the third harmonic of the square wave? Explain.
  5. Write an expression for the Fourier transform of a square wave with period T_PERIOD. (We did this in class; you don't have to rederive the expression).
  6. Write an expression for the Fourier transform of a square wave with period T_PERIOD, truncated to the interval [0,T_SIM]. (Agian, we did this in class; you don't have to rederive the expression).
  7. Use the above expressions, to predict the height of the spikes observed in the Fourier transform of the square wave input. Do they match what you observe?
  8. Use the expression for the frequency response of a 7-th order lowpass Butterworth filter to predict the height of the spike at the output of the lowpass filter in part IV. Does this match what you observe? Calculate the attenuation produced by the lowpass filter at the frequency of the third harmonic.


ECE 359 home