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
- Submit a printout
of the block diagram in part IV.
- 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.
- Does the lowpass filter achieve the goal of extracting the first
harmonic of the square wave? Explain.
- Does the bandpass filter achieve the goal of extracting the third
harmonic of the square wave? Explain.
- 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).
- 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).
- 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?
- 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