ArticleslgStudy

science

Finite impulse response

Finite impulse response is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Finite impulse response rather than just read about it. In short: In signal processing, a finite impulse response (FIR) filter is a filter whose impulse response (or response to any finite length input) is of finite duration, because it settles to zero in finite time. This is in contrast to infinite impulse response (IIR) filters, which may have internal feedback and may continue to respond indefinitely (usually decaying).

Finite impulse response — main illustration
Finite impulse response — illustration

Key takeaways

  • Finite impulse response belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Finite impulse response to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Finite impulse response from memory before moving on to harder problems.

Reference excerpt

In signal processing, a finite impulse response (FIR) filter is a filter whose impulse response (or response to any finite length input) is of finite duration, because it settles to zero in finite time. This is in contrast to infinite impulse response (IIR) filters, which may have internal feedback and may continue to respond indefinitely (usually decaying). The impulse response (that is, the output in response to a Kronecker delta input) of an Nth-order discrete-time FIR filter lasts exactly N+1 samples (from first nonzero element through last nonzero element) before it then settles to zero. FIR filters can be discrete-time or continuous-time, and digital or analog.

Definition

For a causal discrete-time FIR filter of order N, each value of the output sequence is a weighted sum of the most recent input values:

y[n]=b0x[n]+b1x[n−1]+⋯+bNx[n−N]=∑i=0Nbi⋅x[n−i], where:

x[n] is the input signal, y[n] is the output signal, N is the filter order; an Nth-order filter has N+1 terms on the right-hand side bi is the value of the impulse response at the i'th instant for 0≤i≤N of an Nth-order FIR filter. If the filter is a direct form FIR filter then bi is also a coefficient of the filter. This computation is also known as discrete convolution. The x[n−i] in these terms are commonly referred to as taps, based on the structure of a tapped delay line that in many implementations or block diagrams provides the delayed inputs to the multiplication operations. One may speak of a 5th order/6-tap filter, for instance. The impulse response of the filter as defined is nonzero over a finite duration. Including zeros, the impulse response is the infinite sequence:

h[n]=∑i=0Nbi⋅δ[n−i]={bn0≤n≤N0otherwise. If an FIR filter is non-causal, the range of nonzero values in its impulse response can start before n=0, with the defining formula appropriately generalized.

Properties An FIR filter has a number of useful properties which sometimes make it preferable to an infinite impulse response (IIR) filter. FIR filters:

Require no feedback. This means that any rounding errors are not compounded by summed iterations. The same relative error occurs in each calculation. This also makes implementation simpler. Are inherently stable, since the output is a sum of a finite number of finite multiples of the input values, so can be no greater than ∑|bi| times the largest value appearing in the input. Can easily be designed to be linear phase by making the coefficient sequence symmetric. This property is sometimes desired for phase-sensitive applications, for example data communications, seismology, crossover filters, and mastering. The main disadvantage of FIR filters is that considerably more computation power in a general purpose processor is required compared to an IIR filter with similar sharpness or selectivity, especially when low frequency (relative to the sample rate) cutoffs are needed. However, many digital signal processors provide specialized hardware features to make FIR filters approximately as efficient as IIR for many applications.

A symmetric impulse response provides a mathematical condition for achieving a linear phase response. For a symmetric FIR filter of order N, the impulse response coefficients satisfy: h[n]=h[N−n],0≤n≤N. Under this condition, the frequency response can be expressed as: H(ejω)=e−jωN/2A(ω), where A(ω) is a real-valued function. This expression shows that the filter has a linear phase response and a constant group delay of N/2 samples, except at frequencies where the frequency response is zero. The constant group delay means that all frequency components are delayed by the same amount of time. Consequently, the relative phase relationships between frequency components are preserved. This property is particularly useful in audio signal processing, where preserving the waveform shape is important.

Frequency response The filter's effect on the sequence x[n] is described in the frequency domain by the convolution theorem:

ℱ{x∗h}⏟Y(ω)=ℱ{x}⏟X(ω)⋅ℱ{h}⏟H(ω) and y[n]=x[n]∗h[n]=ℱ−1{X(ω)⋅H(ω)}, where operators ℱ and ℱ−1 respectively denote the discrete-time Fourier transform (DTFT) and its inverse. Therefore, the complex-valued, multiplicative function H(ω) is the filter's frequency response. It is defined by a Fourier series:

H2π(ω) ≜∑n=−∞∞h[n]⋅(eiω)−n=∑n=0Nbn⋅(eiω)−n, where the added subscript denotes 2π-periodicity. Here ω represents frequency in normalized units (radians per sample). The function H2π(2πf′) has a periodicity of 1 with f′ in units of cycles per sample, which is favored by many filter design applications. The value ω=π, called Nyquist frequency, corresponds to f′=12. When the sequence x[n] has a known sampling-rate fs (in samples per second), ordinary frequency is related to normalized frequency by f=f′⋅fs=ω2π⋅fs cycles per second (Hz). Conversely, if one wants to design a filter for ordinary frequencies f1, f2, etc., using an application that expects cycles per sample, one would enter f1/fs, f2/fs, etc. H2π(ω) can also be expressed in terms of the Z-transform of the filter impulse response:

H^(z) ≜∑n=−∞∞h[n]⋅z−n. H2π(ω)=H^(z)|z=ejω=H^(ejω).

Filter design FIR filters are designed by finding the coefficients and filter order that meet certain specifications, which can be in the time domain (e.g. a matched filter) or the frequency domain (most common). Matched filters perform a cross-correlation between the input signal and a known pulse shape. The FIR convolution is a cross-correlation between the input signal and a time-reversed copy of the impulse response. Therefore, the matched filter's impulse response is "designed" by sampling the known pulse-shape and using those samples in reverse order as the coefficients of the filter. When a particular frequency response is desired, several different design methods are common:

… excerpt ends here. Continue reading the full article.

Illustrations

Finite impulse response: A lattice-form discrete-time FIR filter of order N.  Each unit delay is a z−1 operator in Z-transform notation.
A lattice-form discrete-time FIR filter of order N. Each unit delay is a z−1 operator in Z-transform notation.
Finite impulse response illustration
Finite impulse response illustration
Finite impulse response illustration
Finite impulse response illustration

Worked examples

Example 1 — a first encounter with Finite impulse response

Start with the simplest possible case. Write down what Finite impulse response claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Finite impulse response before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Finite impulse response ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Finite impulse response

In research
Finite impulse response appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Finite impulse response in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Finite impulse response is common in secondary-school and first-year university syllabi. It links to neighbouring topics Digital signal processing, Filter theory, so understanding it makes those chapters shorter.
In everyday life
Look for Finite impulse response outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Finite impulse response” →

How to study Finite impulse response in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Finite impulse response means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Finite impulse response out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Finite impulse response in simple terms?

In signal processing, a finite impulse response (FIR) filter is a filter whose impulse response (or response to any finite length input) is of finite duration, because it settles to zero in finite time. This is in contrast to infinite impulse response (IIR) filters, which may have internal feedback…

Why does Finite impulse response matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Finite impulse response?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Finite impulse response.

Tags

  • Digital signal processing
  • Filter theory

Keep exploring