Re: Basic info needed regarding filters (FIR)



John Larkin wrote:
On Thu, 22 Nov 2007 05:20:12 -0800 (PST), "faizankhan666@xxxxxxxxx"
<faizankhan666@xxxxxxxxx> wrote:

I am very new with the subject of Digital logic design and Our teacher
has given us a project of "Implementation of FIR filters" .We have to
use Verilog also.
I just know the clk,reset,set,flip flops designs....

I just want to know what filter is used for and also
Please tell me What do we mean by 4 tap filters.
What does FIR do?

Google "fir filter."

Quickie starter dose:

A signal, like a sound, can be expressed as a series of samples, each
an n-bit integer. CD music is stored this way.

A filter changes the math. A lowpass filter reduces high frequencies,
cuts the treble. If you have a stream of samples coming in, you can
store the last N of them in a list and process the list to do all
sorts of filtering.

A Finite Impulse Response (FIR) filter takes the list of recent
samples, multiplies each one by some individual factor, and sums them
to make the output.

"Finite" because if you kick it with an impulse (one lone non-zero sample in a long string of zero samples) the output only lasts for a finite period of time.

Contrast this to the Infinite Impulse Response (IIR) filter which has feedback, and whose response to an impulse is, theoretically at least, infinitely long.

Filter_output =

(Latest sample * Factor1) +
(1st oldest sample * Factor2) +
(2st oldest sample * Factor3) +

etc, as far as you want to go.

One simple lowpass filter is a boxcar integrator, where all the
factors are 1. The output is just the sum (or average, if you prefer)
of the last N samples.

OK, google+wikipedia will get you the gory details. Good luck.

Coffee's ready.

John



--

Tim Wescott
Wescott Design Services
http://www.wescottdesign.com

Do you need to implement control loops in software?
"Applied Control Theory for Embedded Systems" gives you just what it says.
See details at http://www.wescottdesign.com/actfes/actfes.html
.



Relevant Pages

  • Re: Hilbert transform using FFT approach
    ... If the number of taps is odd, ... >> to be true) for window based designs of Hilbert transformers. ... >> except the middle coefficient for an odd length FIR filter. ...
    (comp.dsp)
  • Re: can we just see the Fourier Spectrum of a filter and know if it is a FIR or a IIR?
    ... wondering if we just see the Hand know if it is a FIR or a IIR? ... non-linear phase response makes it likely that your filter is a non-FIR ... to use an FIR or IIR implementation that approximates this impulse response ...
    (comp.dsp)
  • Re: Suche Buch ueber Filter
    ... IMHO zuerst einmal auf den Strukturen für analoge Filter auf. ... Mir wurde dieses Semester in diversen Vorlesungen verkauft das FIR ... Filter keinen analogen Prototypen benötigen. ... Allerdings geht man da anscheinend auch von den klassischen analogen Approximationen aus, Butterworth, Tschebyscheff, Cauer etc., scheint die aber direkt im Z-Bereich zu approximieren, wenn ich das richtig verstanden habe. ...
    (de.sci.electronics)
  • Re: doubts in the design of FIR filter
    ... I have some doubts in the design of FIR filter...pls clarify ... 1.Can i set  the clock frequency of the FIR filter at any frequency i ... This is a question on hardware, not FIR design. ... 'set the clock frequency' of a FIR filter. ...
    (comp.dsp)
  • Re: How to design FIR filter with matematical equation?
    ... i need to make a Bandpass filter with FIR design. ... The problem is to get the value of transfer function of the FIR filter, ... You can get a mathematical equation by using a windowing method on an ...
    (comp.dsp)