Ask Other Engineering Expert

Objectives

The aims of this assignment are:

1. To investigate the role of signal conditioning (course objective 6);

2. To design, implement and use signal processing algorithms (course objectives 4 and 7);

Students are expected to communicate their findings and ideas in a clear and logical manner.

Data Files

The data files required for this assignment may be downloaded from the course Study Desk. Before starting, you should do some research on DTMF signalling.

Question 1

The audio files dial0.wav, dial1.wav, ..., dial9.wav contain telephone dial (signalling) tones for the numbers 0 through 9. Use the code provided in wavproc.m to read the .wav files. Play through the PC speakers using MATLAB's sound function.

Part (a)

Each number is signalled using two simultaneous tones (see the web page cited above for further information). Note that the sample rate is 8kHz. Write code to calculate and plot the Fourier Transform magnitude for each of the ten individual digits, with a correctly scaled frequency axis. In your report, include:

1. Two representative time-domain waveforms. 2.Two representative frequency-domain waveforms.

Part (b)

Show the frequency of the components, explain how you derived them from the FFT, and compare them to what is expected from the standard DTMF frequency pair allocation.

(a) Waveforms correct & plotted correctly

(b) Frequencies correct & compared

Question 2

This question asks you to determine a sequence of keys dialled - firstly clean, then noise- corrupted.

Part (a)

By reading the wave file in blocks and calculating the Fourier Transform of each block, design an algorithm and construct the code to determine the particular key sequence dialled from the wave file alone. Test your code using the file dial0123. The determination must be fully automatic, and must not rely on each digit's tone waveform being an exact length, or exact amplitude. In your report, show the output of your code, clearly indicating that it has correctly determined the sequence of keys.

Include your MATLAB coding, and give a brief description of how you designed it, how it works, and the salient (important) features.

Part (b)

A further set of longer dial tones is provided, according to the naming convention:
dialu.wav

where

dialu signifies "unknown dial sequence"
d is a single digit signifying the unknown file number
c|n is either "c" for "clean signal" or "n" for noisy signal

For example, dialu2n.wav is the third1 noise-corrupted unknown dial sequence. Note, however, that the "n" file does not correspond to the "c" file - in other words, dialu3n.wav does not necessarily contain the same key sequence as dialu3c.wav. Note also that the keys dialled includes digits as well as the standard star (*) and hash (#) keys.

Test your code, unaltered, from the previous question for the case of a noise-corrupted signal. For the digit "d", use the last digit of your student number. For example, if your student number is 0123456789, use the file dialu9n.wav. In your report, show the output of your code, clearly indicating what your code has determined the sequence of keys to be.

(a) Determine waveform & explain operation
(b) Determine longer noisy waveform

Question 3

This question requires you to estimate how much noise can be tolerated in your algorithm as determined in the previous question.

Starting with the clean signal, as we increase the amount of noise added, we expect that the algorithm would work satisfactorily up to a point, after which the performance will degrade (only some of the keys will be detected, not all). At some point, with enough noise, the algorithm will not be able to detect any of the keys correctly (or, more correctly, the algorithm will produce what amounts to random results). In order to test the performance, we need to generate some "artificial" noise, with a controllable power level.

Let the noise-free signal (the ‘c' wave file) be x(n). Add a quantity of noise to it, according to y(n) = x(n) + αv(n), where v(n) is white Gaussian noise and α is a constant controlling how much noise is added.

For a given α, you can calculate the Signal-to-Noise ratio (SNR) in decibels (dB) using

SNR = 10log10 ΣN x2(n) ΣN(αv(n))2

from a data vector of reasonable length N , given the signal x(n) and noise αv(n).

Starting at α = 0 (that is, no noise), increase the amount of noise and test the performance of your key-detection algorithm. The detection algorithm must use as input the observed signal y(n). Assume that the clean signal is not available to the detection algorithm2.

Determine how many keys can be recovered using your algorithm from the previous question, and create a table containing α, SNR (in dB), and number of keys recovered. When the signal power equals the noise power, the SNR is 0 dB. Will your algorithm work at this SNR?

Given the results of your testing, suggest and investigate some methods by which the per- formance of your algorithm could be improved.

SNR Result Table

Performance Improvement & Discussion

Attachment:- haudio.zip

Other Engineering, Engineering

  • Category:- Other Engineering
  • Reference No.:- M91997925
  • Price:- $100

Guranteed 48 Hours Delivery, In Price:- $100

Have any Question?


Related Questions in Other Engineering

Register design a cpu register is simply a row of

Register design A CPU register is simply a row of flip-flops (i.e. SR, JK, T, etc) put side by side in an array to make the size of register required. For example, an 8 bit register has 8 flip-flops side by side for stor ...

A detailed review of spatial modulation and simulation

A Detailed Review of Spatial Modulation and Simulation Learning Outcomes a. Learn how to model mobile communication channels d. Discern knowledge development and directions on the recent advances in 4G to the research pr ...

Mine safety amp environmental engineering assignment -part

Mine Safety & Environmental Engineering Assignment - Part 1 - Questions 1. Occupational health and safety is the primary factor that needs to be considered in the mining industry. Discuss this statement. 2. Define the fo ...

Projectflow processing of liquor in a mineral refining

Project Flow Processing of Liquor in a Mineral Refining Plant The aim of this project is to design a flow processing system of liquor (slurry) in a mineral (aluminum) refining plant. Aluminum is manufactured in two phase ...

Learning outcomes evaluate multiuser communication and

Learning Outcomes Evaluate multiuser communication and resource sharing techniques; Apply the techniques of, and report on, digital communication applications using Matlab and hardware devices. Assignment Description The ...

Operations engineering assignment -please select only one

Operations Engineering Assignment - Please select only one of the following case studies for your assignment: CASE A. Tesla Motors Tesla is an innovative manufacturer that designs, assemble and sells fully electric vehic ...

Select a risk problem from the list below and prepare a

Select a risk problem from the list below and prepare a risk management plan in accordance with AS/NZS ISO 31000:2009. Please ensure that: - Establish the context clearly, in accordance with the Standard; - Define your s ...

Engineering materials term paper assignment -conduct a

ENGINEERING MATERIALS TERM PAPER ASSIGNMENT - Conduct a thorough literature search and write a 15-20 page technical review paper on the evolution of the engineering materials used in the manufacturing of any one of the f ...

Task 1using the lab kit design a circuit for the processor

Task 1: Using the lab kit, design a circuit for the processor to control the output of a connected 7-segment LED display device. You will be provided with a standard common anode 7-segment display of the type FND-507 (or ...

Control theory - lab reportsfor experiments 1 to 4 you must

Control Theory - Lab Reports For experiments 1 to 4 you must undertake the following: a) At the start of each section (including the pre-lab activities) there are a number learning outcomes. That is, what students should ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As