Escolar Documentos
Profissional Documentos
Cultura Documentos
FILTERS tutorial #2
Sheet No.
4. select Data History and uncheck limit data points. Before running the model again Autoscale the
plot
and run the model. How does the output compare with the input? Change the Sine input frequency
to 1 rad/s, and run the model again. Confirm that the noise component is still present, and that the
low-frequency 1 rad/s is removed.
MEC3015
Departmental Ref.
Nov 2012
Revise Date
Peter Cumpson
Lecturer
Page 1 of 3
to obtain the corresponding frequency response plot. The cut-off frequency should be at 100rad/s
(corresponding to -3dB at -45 phase shift). Copy this plot (e.g. into a new Word document) so that
you can compare with it later.
s
8. Hold the plot (>>hold on), and create the first order high-pass transfer function firstHP=
. Now
sw
obtain the Bode plot for firstHP. Your plot should show symmetrical magnitude plots for the LP and
HP filters, about the w frequency, both with 90 phase shifts.
9. Now cascade the two functions as follows >>bode(firstLP*firstHP). Your Bode plot should show a
bandpass filter, with w centre-frequency note how it attenuates signals either side of this centrefrequency, and is -6dB down at w.
10.
Release the plot (>>hold off), and run the bode function once again using firstLP. Hold the plot.
11.
Now well cascade this function as follows >>bode(firstLP*firstLP). Notice how the attenuation
at the cut-off frequency is now -6dB, with the high-frequency roll-off increasing to 40dB/decade, and
that the phase shift has increased to -180.
MEC3015
Departmental Ref.
Nov 2012
Revise Date
Peter Cumpson
Lecturer
Page 2 of 3
Revise Date
Lecturer