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

4 psk constellation diagram - What is the advantage of steam distillation - Unnatural causes in sickness and in wealth transcript - Full sail online login - Persuasive essay on mobile phones in school - Mad catz ctrlr windows 10 - Capstone component 1 executive summary - What's in a name henry louis gates - Myer estee lauder gift with purchase 2020 - How to prove a triangle is isosceles using coordinates - The importance of being earnest social class - Pearson myitlab support - Steam presser ironer duties and responsibilities - Specification for highway works - Ib math hl binomial expansion questions - Introduction to organizational communication ppt - True collaboration in healthcare - Sydney south west cross country - Returns and Bond Ratings assignment - The work wes moore chapter summary - Interview questions about marriage and family - How has the print media industry historically treated public education - Instruction cycle state diagram explanation - Disney space matrix - Dan murphys price beat - His divine power has given us everything - All my sons quotes with page numbers - Engenius durafon not ringing - Negotiation lewicki 6th edition pdf - Assignment 2 project paper comparative essay - Business statistics cheat sheet - Katherine c intervention update - Nursing - Amazon - HRM Powerpoint Presentation - H101 - Https login apus edu padsts - Bridges of poverty training - Wagner air sampling manual - What industry is yelp in - Writing - American dream research paper outline - W2Acct - Soap note for crohn's disease - Dsc vs dta difference - Unit 2 graded exercise 1 programming exercise - Project - Vanguard 960 101 staples - Compare and contrast academic and nonacademic writing - Rethink your drink lesson plan - Dot distribution map pros and cons - Cisco switch configuration commands ppt - Mitosis and meiosis venn diagram - Motec m800 wiring diagram - Where are the georgia guidestones located - Ss 557 code of practice for demolition - 3 questions - Admn p2 - What type of reaction is bacl2 na2so4 2nacl baso4 - HA 425 Operational Analysis and Quality Improvement - Knowledge work nursing informatics - How to date a browngirl junot diaz analysis - Paper - Dramatic irony in a dolls house - Hodgson's ethical decision making framework - Theory of nursing - Importance of mohr's circle - Btec level 3 engineering unit 1 assignment 2 - PS490 Assignment 8 Research Proposal - Cash collections in march should be budgeted to be - Big data analytics case studies ppt - Btec business level 3 unit 1 p5 - Assignment - What is a courtroom work group - English - Big bang theory operant conditioning episode - Enlightenment salon discussion questions - Select one common type of malware listed in this article link and using your own words, explain how to defend yourself against it. https://www.esecurityplanet.com/malware/malware-types.html#maliciousmobileapp - Special cookies and cream polvoron recipe - Adult development - Brain olympics questions with answers - Implement stimulus control transfer procedures examples - Micromanagement stifles creativity and growth true or false - If you give a mouse a brownie lesson plan - Stage 3 pdhpe units of work - Boston college eagle one card - DQ - 70 410 practice exam - Discuss the transactional model of communication - Stony brook biology department - LDR531 Week 1 Personal Leadership Evaluation - Principles of Macroeconomics - Walden university school of nursing mission and vision - Write a essay - Unit 1 Case Study - How does picasso's guitar depart from traditional sculptures - Assignment 1 with Instructions, Case Study and Example - Formula unit mass of al2 co3 3 - What are some violence indicators an employee might display - Acrostic poem for sustainability - The epic of gilgamesh answer key