How Do You Design a Digital FIR Filter to Remove a 70Hz Disturbance?

Click For Summary
SUMMARY

The discussion focuses on designing a digital FIR filter to eliminate a 70Hz disturbance using a sampling frequency of 280Hz. The user attempted to derive the filter coefficients, calculating the zeros and transfer function, but expressed uncertainty about the correctness of their results. The correct filter function was identified as y(n) = x(n) + x(n - 2), leading to coefficients a(0) = 1, a(1) = 0, and a(2) = 1. The main error was in the expansion and simplification of the transfer function.

PREREQUISITES
  • Understanding of FIR filter design principles
  • Knowledge of complex numbers and exponential functions
  • Familiarity with the concept of sampling frequency
  • Experience with transfer functions in digital signal processing
NEXT STEPS
  • Study the derivation of FIR filter coefficients using the windowing method
  • Learn about the bilinear transform for analog-to-digital filter design
  • Explore the use of MATLAB or Python for digital filter implementation
  • Investigate the effects of different sampling frequencies on filter performance
USEFUL FOR

Signal processing engineers, digital filter designers, and students studying digital signal processing techniques.

BriWel
Messages
2
Reaction score
0
I have a question which is to design a filter of the form:

y(n) = a(0)x(n) + a(1)x(n-1) + a(2)x(n-2) to remove a narrowband disturbance with frequency f0 = 70Hz.
The sampling frequency, fs is 280Hz.

I've made an attempt at answering it, but don't think my result is correct:

w0 = (2*pi)* (f0/fs) = pi/2

I then calculate the zeros of the filter from the definition of w

z1 = exp(i*(pi/2))[
z2 = exp(-i*(pi/z))
where i = sqrt(-1)

The transfer function of the filter is therefore;

Z2H(z) = (z - exp(i*(pi/2))[ )(z - exp(-i*(pi/z)) )

When expanded and simplified this gives

H(z) = z2 + 1, so the filter function

y(n) = x(n) + x(n - 2),
giving
a(0) = 1
a(1) = 0
a(2) = 1

Which I'm pretty sure is wrong. Can anyone tell me where I have gone wrong?
 
Physics news on Phys.org
You did wrong while expanding and simplifying
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 12 ·
Replies
12
Views
11K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K