0% found this document useful (0 votes)
28 views5 pages

Lab 11 Coomplete Version

Uploaded by

Ziml Tariq
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views5 pages

Lab 11 Coomplete Version

Uploaded by

Ziml Tariq
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Electrical Engineering Department

EE355L: Signal & Systems Labs

Course Instructor: Ms. Sadia Noureen Dated: 27th November, 2024

Lab Instructor: Tawahaa Ahmed Semester: 5th

Class: BSEE-22 Session: Fall-2024

Lab 11. Comb Filter to Remove Two Trumpet Signals.

Name Roll No Obtained


Marks (35)

Checked on: _______________________________


Signature: _________________________________

.
1 Introduction
In many cases of practical concern, the amplitude of a harmonic is inversely
proportional to its harmonic number, so to remove most of the interference, we need
to implement a series connection of notch filters with notches at the fundamental
frequency ωo and a few of its harmonics. Such a series connection of notch filters is
called a comb filter because its magnitude spectrum resembles the teeth of a comb.

(1)

2 Lab Tasks
2.1 Task 1
Marks[5]

Download the LabVIEW VI for this lab. Run the VI and analyze as follow.

(a) Press the Original sound button on front panel of LabVIEW VI and listen to the
original sound. .

(b) Tune the Interference frequency such that one of the trumpet sound from the
original signal got removed and we can only hear sound of one trumpet.

(c) Add the screen shots of frequency domain signals of filtered signal in your
report.

2.2 Task 2Marks[5]


Open the back-end of the VI given to you and answer the following questions?

(a) Explain the VI in detail

(b) Explain the MATLAB block in detail.


Task 1:

Task 2:

a) The VI processes an audio signal from a CSV file by applying a comb filter and visualizing the results in
both time and frequency domains. Key steps include:

· The CSV file doubletwotrumpetsGA.csv is loaded, which contains the original signal data.

· Sets up finite sampling and establishes parameters such as attenuation level (aa), filter order (n),
and fundamental frequency (fr).

· A comb filter is designed using the specified parameters. The filter is applied using Fast Fourier
Transform (FFT) operations, filtering the signal in the frequency domain and then reconstructing
it via Inverse FFT (IFFT).

· Visualizes the original signal and the filtered signal in both the time and frequency domains using
XY Graphs. Includes controls to play the original and filtered sounds for auditory analysis.

· Allows dynamic interaction with the filter parameters to observe changes in the signal processing
results in real-time.

b) The MATLAB script processes an audio signal by applying a comb filter designed in the frequency
domain and visualizes the filtered results. Key steps include:

· It initializes signal parameters such as the sampling frequency (fs) and designs the comb filter
using given parameters like fundamental frequency (fr), attenuation (aa), and filter order (n).
· The filter is designed using polynomial coefficients, and its effect is calculated via the FFT of the
filter's impulse response.

· The original signal X undergoes FFT to convert it to the frequency domain. The script then applies
the comb filter by multiplying the signal's FFT with the filter's FFT, followed by an IFFT to
reconstruct the filtered signal in the time domain.

· Outputs the original, noisy (interfered), and filtered signals, providing a visualization of both time and
frequency domain representations in MATLAB. The script ensures the filtered signal and its
spectral content are displayed for analysis and comparison.
Assessment Rubrics Method:
Lab report evaluation and instructor observation during lab sessions.

Able to complete the tasks Able to complete the Tasks completion below
Performance CLO Marks
over 80% (4-5) tasks 50 – 80% (2-3) 50% (0-1)
Selects relevant equipment Needs guidance to select Incapable of selecting
to the experiment and relevant equipment and the relevant equipment
Realization of demonstrates the deep demonstrates the basic
1 and doesn’t have any
experiment understanding of the understanding of the understanding of the
experiment. experiment. experiment.
Connects the circuit Connects circuit parts,
components properly, sets sets input states
input signals according to according to the Unable to connect
Conducting the requirement of requirement of circuits parts, and
1
experiment experiment and examines the perform procedure of the
experiment and
output examines the output with experiment
meticulously minor error
Actively engages and Cooperates with other Distracts or discourages
cooperates with other group group members in a other group members
Teamwork 1
members in an effective reasonable manner. from conducting the
manner. experiment.
Respectfully and carefully Observes safety rules Disregards safety rules
Laboratory
1 observes safety rules and and procedures with and procedures.
Safety Rules
procedures minor deviation.
Completes data collection
from the experiment setup by Completes the data Fails at collecting data
giving proper input signals collection with minor by giving proper inputs
Data and observing the outputs, error and enters data in and observing output
1 lab manual with slight
collection ensures that the data is states of experiment
entered in the lab manual deviation from setup, unable to fill the
according to the specified guidelines lab manual properly
instructions
Analyzes the data obtained Analyzes data with
from the experiment Unable to establish the
minor error and
thoroughly and accurately relationship between
correlates it with
verifies it with theoretical practical and theoretical
theoretical values
Data analysis 1 understanding, accounts for values and lacks the
reasonably. Attempts to
any discrepancy in data from theoretical
account for any
theory with sound understanding to explain
discrepancy in data from
any discrepancy in data
explanation theory
Operates the NI Multisim
Uses NI Multisim Unable to launch and
interfaces of the digital interfaces of digital operate the NI Multisim
Computer use 1 multimeter and the power
instruments with with or without
supplies, etc. with little to no
help to verify the results. guidance from instructor assistance

Total / 35

You might also like