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

Business impact analysis bia policy definition - Myclasses argosy - Plots - Macroeconomic analysis - Encase forensic v7 user guide - T pain wiscansin rhyme - Open mind portrait template - Knights templar school watchet - Real life example of this investment name or company cd - The mothers hospital clapton - Src in international marketing - Bus 419 discussion - France healthcare system pros and cons - Castleisland parish church live - F of g of x domain - Assignment: Psychotherapeutic Approaches to Group Therapy for Addiction - Land and sea breeze lab - LecciΓ³n 4 grammar quiz completar - What is the inventory control system for widgets - Percy jackson chapter 15 summary - Help me finalize my 3 main points for my persuasive speech. I already wrote a few things. I need help finalizing DUE 9/18/2020 6pm pacific Usa time - Response to authors on the subject (adding to concepts discussed not remarks on their writing) - Clockwise daycare cherry hill nj - System analysis and design template - Horrible histories kings and queens with lyrics - Riba quality management system procedures manual - Ct5 actuarial study material pdf - Semester 2 census date uq - ComputerSecur8Dis - Jonathan and armor bearer - Two way table venn diagram - Population per square mile in china - Which of the following describe a bond - Crank a watt generator - For Essays Guru - - De la salle institute napa - The plasma protein ____________________ is essential for coagulation - Johns hopkins nursing evidence based practice rating scale - Jetblue case study summary - Wgu organizational systems and quality leadership task 3 - Essential skills training & recruitment - How to make a double helix with paper - Golf ball survey - Critical review or analytical review - Patricia benner novice to expert - Psychological first aid online post test answers - How to write a personal statement residency - Chicago bridge scoring examples - Voltaic and galvanic cells - Houzit homeware case study - Linux Users, Groups, and Permissions Lab - Kay magill company had the following adjusted trial balance - Is maths required for engineering - Rowlands gill medical practice - Bus - Precision worldwide case solution - Carmen reed son died - Week 7 - Cardwell marine weather forecast - Tantalise in a sentence - Final Project Solution Help - As nzs 3500.3-2018 pdf - Hw - Global ethic vs national interest - Hana and kiyoshi relationship - Nursing care map examples - Systematic or random error - Electromagnetic induction lab report answers - Ben has a collection of 812 stamps - Pmdg 747 fuel planner - Cnss security model in information security - Nursing (Due 24 hours) - William ricketts sanctuary opening hours - Pai lum kung fu - Colonial first state super - Discussion - If a tree falls in the forest philosophy - Starch hcl benedict's test - Alignment of IT Streategy SLP - Violent video games should be banned - Managerial accounting chapter 10 solutions - Network troubleshooting questions and answers - The world transformed 1945 to the present a documentary reader - Ripon and leeds diocese - The importance of being earnest act 1 questions - Student parking permit newcastle - She is sixteen years old - Gradient practice problems earth science - What are the functions and dysfunctions of immigration - Project Stage 2 - Mays and mccovey are beer brewing companies - What is spatial organization in psychology - Health assessment of a school aged child - Fortune 1000 companies in charlotte nc - James 3 1 12 - Against school john taylor gatto thesis - The contender plot summary - Cycad blue butterfly larvae - From cruelty to goodness by philip hallie - Cat cv18b skid steer vibratory roller for sale