Loading...

Messages

Proposals

Stuck in your homework and missing deadline? Get urgent help in $10/Page with 24 hours deadline

Get Urgent Writing Help In Your Essays, Assignments, Homeworks, Dissertation, Thesis Or Coursework & Achieve A+ Grades.

Privacy Guaranteed - 100% Plagiarism Free Writing - Free Turnitin Report - Professional And Experienced Writers - 24/7 Online Support

I need 200 words on affects the performance of the adaptive filter.

27/08/2020 Client: azharr Deadline: 24 Hours



Instructions

Do Adaptive notches filter using MATLAB 

It will be MATLAB based right, without using filter functions 


Please check attached file  

........................................................................................................................................................................

Attachment 1;

Page 1 of 3

ECE 529, Spring 2019

Mini-Project #1: Adaptive Filtering

Due Thu. Nov. 14 at 5:00 p.m. MST

Do not use any existing adaptive filtering functions for this assignment. Instead, write your own

source code.

Part 1: Adaptive Notch Filter

Implement an adaptive notch filter to reduce additive, sinusoidal noise that is interfering with a

desired signal. Assume the frequency of the sinusoidal noise is unknown and slowly varying. A

second-order IIR notch filter (a.k.a. bandstop filter) has transfer function,

𝐻𝐻(𝑧𝑧) = οΏ½1 βˆ’ π‘’π‘’π‘—π‘—πœ”πœ”0π‘§π‘§βˆ’1οΏ½οΏ½1 βˆ’ π‘’π‘’βˆ’π‘—π‘—πœ”πœ”0π‘§π‘§βˆ’1οΏ½

(1 βˆ’ π‘Ÿπ‘Ÿπ‘Ÿπ‘Ÿπ‘—π‘—πœ”πœ”0π‘§π‘§βˆ’1)(1 βˆ’ π‘Ÿπ‘Ÿπ‘Ÿπ‘Ÿβˆ’π‘—π‘—πœ”πœ”0π‘§π‘§βˆ’1) = 1 + π‘Žπ‘Žπ‘§π‘§βˆ’1 + π‘§π‘§βˆ’2

1 + π‘Ÿπ‘Ÿπ‘Ÿπ‘Ÿπ‘§π‘§βˆ’1 + π‘Ÿπ‘Ÿ2π‘§π‘§βˆ’2

where π‘Žπ‘Ž = βˆ’2 cos πœ”πœ”0 and 0 ≀ π‘Ÿπ‘Ÿ ≀ 1. The corresponding difference equation is

𝑦𝑦(𝑛𝑛) = π‘₯π‘₯(𝑛𝑛) + π‘Žπ‘Ž π‘₯π‘₯(𝑛𝑛 βˆ’ 1) + π‘₯π‘₯(𝑛𝑛 βˆ’ 2) βˆ’ π‘Ÿπ‘Ÿ π‘Žπ‘Ž 𝑦𝑦(𝑛𝑛 βˆ’ 1) βˆ’ π‘Ÿπ‘Ÿ2 𝑦𝑦(𝑛𝑛 βˆ’ 2) (Eq. 1)

The notch is centered at digital frequency πœ”πœ”0. The notch becomes sharper as π‘Ÿπ‘Ÿ approaches 1.

We can adapt the notch frequency automatically by solving for the value of πœ”πœ”0 that minimizes

the power in the output signal. (If the frequency is selected correctly, then the sinusoidal noise

will be canceled, thereby minimizing the output power.) Set π‘Ÿπ‘Ÿ to a fixed value. If the noise

frequency varies over a narrow range, then π‘Ÿπ‘Ÿ should be set closer to 1 in order to generate a

sharper notch. If the frequency varies over a larger range, then π‘Ÿπ‘Ÿ should be set to a smaller

value.

Define the error signal to be 𝑒𝑒(𝑛𝑛) = 𝑦𝑦(𝑛𝑛) βˆ’ 𝑠𝑠(𝑛𝑛). We want to adapt the filter in order to

minimize the power in the error signal. Assuming that the signal and noise are uncorrelated, we

can equivalently adapt the filter to minimize the total output power, 𝑦𝑦2(𝑛𝑛). The traditional

gradient descent method requires knowing the derivative of the output power, which we

calculate as 2𝑦𝑦(𝑛𝑛)

𝑑𝑑𝑑𝑑(𝑛𝑛)

𝑑𝑑𝑑𝑑 . And 𝑑𝑑𝑑𝑑(𝑛𝑛)

𝑑𝑑𝑑𝑑 can be obtained by differentiating Eq. 1, which gives us

𝑑𝑑𝑑𝑑(𝑛𝑛)

𝑑𝑑𝑑𝑑 β‰ˆ π‘₯π‘₯(𝑛𝑛 βˆ’ 1) βˆ’ π‘Ÿπ‘Ÿ 𝑦𝑦(𝑛𝑛 βˆ’ 1)

If we use this in a gradient descent iteration to update the value of π‘Žπ‘Ž, then we have

π‘Žπ‘Ž(𝑛𝑛 + 1) = π‘Žπ‘Ž(𝑛𝑛) βˆ’ πœ‡πœ‡ 𝑦𝑦(𝑛𝑛)

𝑑𝑑𝑑𝑑(𝑛𝑛)

𝑑𝑑𝑑𝑑

π‘Žπ‘Ž(𝑛𝑛 + 1) = π‘Žπ‘Ž(𝑛𝑛) βˆ’ πœ‡πœ‡ 𝑦𝑦(𝑛𝑛) [π‘₯π‘₯(𝑛𝑛 βˆ’ 1) βˆ’ π‘Ÿπ‘Ÿ 𝑦𝑦(𝑛𝑛 βˆ’ 1)] (Eq. 4)

Page 2 of 3

where πœ‡πœ‡ is a very small constant that serves as a convergence factor. Since π‘Žπ‘Ž = βˆ’2 cos πœ”πœ”0, we

should impose a constraint that βˆ’2 ≀ π‘Žπ‘Ž ≀ 2. Initialize the value to be π‘Žπ‘Ž = βˆ’2 cos(πœ‹πœ‹β„2) = 0. If

the update equation yields |π‘Žπ‘Ž| > 2, then we should reset π‘Žπ‘Ž(𝑛𝑛) = 0.

(a) Implement a computer simulation of an adaptive notch filter, using Eq. 1 to perform the

filtering and using Eq. 4 to update the value of π‘Žπ‘Ž at each iteration. Add some sinusoidal

interference 𝑣𝑣(𝑛𝑛) to a desired signal 𝑠𝑠(𝑛𝑛) to obtain an input signal π‘₯π‘₯(𝑛𝑛) to experiment

with. Here are some helpful MATLAB functions:

rng(1); % set the seed for the random number generator

v = randn(N,1); % generate N samples of pseudorandom white Gaussian noise

To convert white Gaussian noise to β€œcolored” noise having a limited bandwidth, one

method is to send the white Gaussian noise through a lowpass filter, such as

𝐻𝐻(𝑧𝑧) = 1 + π‘§π‘§βˆ’1

1 βˆ’ π‘Žπ‘Ž1π‘§π‘§βˆ’1

where βˆ’1 < π‘Žπ‘Ž1 < 1. For example, π‘Žπ‘Ž1 = 0.9 does lots of smoothing and π‘Žπ‘Ž1 = βˆ’0.9 does

very little. Note: filtering the signal will affect the signal power.

Scale the signal components to achieve a reasonable signal-to-noise ratio (e.g., 0 dB to

30 dB):

SNR = 20 log10( var(𝑠𝑠(𝑛𝑛)) / var(𝑣𝑣(𝑛𝑛) )

However, for debugging purposes, you may want to try omitting 𝑠𝑠(𝑛𝑛) to see if the filter

can cancel the sinusoidal interference for the noise-only case. Try various fixed values of

πœ‡πœ‡ (e.g., 0.0005 to 0.05) and π‘Ÿπ‘Ÿ (e. g. , 0.85 to 0.98). Investigate whether the bandwidth of

π‘₯π‘₯(𝑛𝑛) (i.e., the amount of high-frequency components) affects the effectiveness of the

filtering. Plot β€œπ‘Žπ‘Ž versus 𝑛𝑛” and β€œπ‘’π‘’2(𝑛𝑛) versus 𝑛𝑛”, where 𝑒𝑒(𝑛𝑛) = 𝑦𝑦(𝑛𝑛) βˆ’ 𝑠𝑠(𝑛𝑛). Show how

the plots are affected if you change the value of πœ‡πœ‡. Discuss what happens when you vary

π‘Ÿπ‘Ÿ, πœ”πœ”0, and the bandwidth of π‘₯π‘₯(𝑛𝑛). Plot the final 256 samples of 𝑠𝑠(𝑛𝑛), π‘₯π‘₯(𝑛𝑛), and 𝑦𝑦(𝑛𝑛).

Also compare plots of the magnitude Fourier transform of the last 256 samples of π‘₯π‘₯(𝑛𝑛)

and 𝑦𝑦(𝑛𝑛). For example, in MATLAB you can use Xmag = abs(fft(x)).

(b) Modify the sinusoidal noise so that its frequency is slowly varying rather than fixed.

Show how that affects the effectiveness of the adaptive filter. Note that the

instantaneous frequency of cos(2πœ‹πœ‹πœ‹πœ‹(𝑑𝑑)) is 𝑑𝑑𝑑𝑑⁄𝑑𝑑𝑑𝑑.

Page 3 of 3


Part 2: LMS Adaptive Filter 

Learn about the adaptive LMS filter by consulting various external references. For example, you

could start with Wikipedia: Least mean squares filter and consult its references for further

information, or just google to find numerous useful tutorials. Also learn about β€œadaptive noise

cancellation,” which is a well-known application of the LMS filter.

Implement a computer simulation of the LMS adaptive filter, and apply it to an adaptive noise

cancellation problem. Show experimental results and discuss how the adaptive filter performs.

Include plots showing how the performance varies as you vary the convergence factor, the filter

length, and any other parameters. Be sure to vary the bandwidth of the noise to see how that

affects the performance of the adaptive filter.

Attachments:

Homework is Completed By:

Writer Writer Name Amount Client Comments & Rating
Instant Homework Helper

ONLINE

Instant Homework Helper

$36

She helped me in last minute in a very reasonable price. She is a lifesaver, I got A+ grade in my homework, I will surely hire her again for my next assignments, Thumbs Up!

Order & Get This Solution Within 3 Hours in $25/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 3 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 6 Hours in $20/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 6 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 12 Hours in $15/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 12 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

6 writers have sent their proposals to do this homework:

Writer Writer Name Offer Chat

Writers are writing their proposals. Just wait here to get the offers for your project...

Let our expert academic writers to help you in achieving a+ grades in your homework, assignment, quiz or exam.

Similar Homework Questions

Receiver Coffee Ivey Case Study - El seΓ±or beltrΓ‘n es viejo - Grasshopper middle legs function - The declaration book summary - Selection criteria for international assignments ppt - Why is it important to deconstruct media messages - 1506 main north road salisbury sa 5108 - A diversified company has a parenting advantage when it - Images of half wave rectifier - Cam cognitive assessment of minnesota - Different types of historians - Beauty creations alicia original vs fake - Nursing Essay - The body stephen king - Key west lime pie company the profit - In the planning stage analytical procedures are used to - Fail Companies - All summer in a day worksheet pdf - Form 8829 instructions 2012 - Heart valve auscultation mnemonic - A georgia state law requires the use of contoured - Weasel like mammal crossword - Phoenix edge hv 160 - Utilitarianism's fundamental insight is that we should decide what to do by: - The care certificate workbook - Essays guru only 2 - The operations section chief - Top bar hive pros and cons - Vatican city - Work from a constant force mastering physics - Is an abandoned cutoff meander loop - Morning excerpt from walden multiple choice questions answers - Systems requirements - Empirical molecular formula practice - Assignment-3 - Vanadium iv carbonate formula - Managerial Economics Discussion - Planning the Project-1 - Most sales presentations follow the aida sequence which stands for - Museum design ppt - How a microwave oven works physics - Bikini body meal plan - Lord of the flies ralph age - Hse panel occupational therapy - Avaya stadium parking audi lot - Read clinic central coast - Swot analysis mayo clinic - Glo bus year 7 decisions answers - Suppose that there are 10 million workers in canada - SOCW 6090 Week 4 - Post Responses - Edu20001 developing literacy assignment 1b folio part b - Medical terminology prefixes suffixes and combining forms list - Equilibrium arrow in word - Top thrill dragster acceleration - Randall corporation plans to borrow - Oklahoma musical lottery - Homework help - Secure staging environment design and coding technique standards technical guide - Discussion social behavior - Http learn genetics utah edu content addiction mouse - Lawrence e moon funeral home obituaries flint michigan - Going after cacciato character analysis - Hannah hΓΆch was part of a movement known as ________. - Life magazine 1956 ideal modern woman - Research07 - In fully developed laminar flow in a circular pipe - Presentation in japanese language - Rationale for government intervention in international trade - What is the difference between strong electrolyte and weak electrolyte - Dual purpose test audit - Abram capacious 3 drawer chest - The call of the entrepreneur - Real world psychology w wileyplus acc - Extraordinary rendition light gg - Sainsburys annual report 2012 - Holt mcdougal biology study guide a answer key section 4 - Compare and contrast countries essay examples - Re city equitable fire insurance 1925 ch 407 - Cloud security issues 2015 - For all work solver - Love vashikaran specialist In himAchAl pRAdEsh +91%^&*9928097710 Top And Best Tantrik Aghori Baba - Legal aspects of project management - Modified duration of zero coupon bond - Difference between passing note and auxiliary note - Army sharp essay - Identifying variables - During early childhood, gender-stereotyped beliefs - I need help with a logic problem - Long service leave in sa - Cyclops strengths and weaknesses - Colombo frozen yogurt case study solution - How avoid losing money on investments informative speech - Math MidTerm Questions - Human resource test - Eldon enclosures cad drawings - Genghis birth of an empire sparknotes - Food temperature guidelines scotland - Oracle smart view for office installation and configuration guide - Dominos marketing mix - Concentration of acetic acid in apple cider vinegar