ArticleslgStudy

science

Adaptive filter

Adaptive filter 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 Adaptive filter rather than just read about it. In short: An adaptive filter is a system with a linear filter that has a transfer function controlled by variable parameters and a means to adjust those parameters according to an optimization algorithm. Because of the complexity of the optimization algorithms, almost all adaptive filters are digital filters.

Adaptive filter — main illustration
Adaptive filter — illustration

Key takeaways

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

Reference excerpt

An adaptive filter is a system with a linear filter that has a transfer function controlled by variable parameters and a means to adjust those parameters according to an optimization algorithm. Because of the complexity of the optimization algorithms, almost all adaptive filters are digital filters. Adaptive filters are required for some applications because some parameters of the desired processing operation (for instance, the locations of reflective surfaces in a reverberant space) are not known in advance or are changing. The closed-loop adaptive filter uses feedback in the form of an error signal to refine its transfer function. Generally speaking, the closed-loop adaptive process involves the use of a cost function, which is a criterion for optimum performance of the filter, to feed an algorithm, which determines how to modify the filter transfer function to minimize the cost on the next iteration. The most common cost function is the mean square of the error signal. As the power of digital signal processors has increased, adaptive filters have become much more common and are now routinely used in devices such as mobile phones and other communication devices, camcorders and digital cameras, and medical monitoring equipment.

Example application The recording of a heartbeat (an ECG) may be corrupted by noise from the AC mains. The exact frequency of the power and its harmonics may vary from moment to moment. One way to remove the noise is to filter the signal with a notch filter at the mains frequency and its vicinity, but this could excessively degrade the quality of the ECG since the heartbeat would also likely have frequency components in the rejected range. To circumvent this potential loss of information, an adaptive filter could be used. The adaptive filter would take input both from the patient and from the mains and would thus be able to track the actual frequency of the noise as it fluctuates and subtract the noise from the recording. Such an adaptive technique generally allows for a filter with a smaller rejection range, which means, in this case, that the quality of the output signal is more accurate for medical purposes.

Block diagram The idea behind a closed-loop adaptive filter is that a variable filter is adjusted until the error (the difference between the filter output and the desired signal) is minimized. The Least Mean Squares (LMS) filter and the Recursive Least Squares (RLS) filter are types of adaptive filters.

There are two input signals to the adaptive filter: dk and xk, which are sometimes called the primary input and the reference input respectively. The adaptation algorithm attempts to filter the reference input into a replica of the desired input by minimizing the residual signal, ϵk. When the adaptation is successful, the output of the filter yk is effectively an estimate of the desired signal.

dk which includes the desired signal plus undesired interference and xk which includes the signals that are correlated to some of the undesired interference in dk. k represents the discrete sample number. The filter is controlled by a set of L+1 coefficients or weights.

𝐖k=[w0k,w1k,...,wLk]T represents the set or vector of weights, which control the filter at sample time k. where wlk refers to the l'th weight at k'th time. 𝜟𝐖k represents the change in the weights that occurs as a result of adjustments computed at sample time k. These changes will be applied after sample time k and before they are used at sample time k+1. The output is usually ϵk but it could be yk or it could even be the filter coefficients.(Widrow) The input signals are defined as follows:

dk=gk+uk+vk xk=gk′+uk′+vk′ where: g = the desired signal, g' = a signal that is correlated with the desired signal g , u = an undesired signal that is added to g , but not correlated with g or g' u' = a signal that is correlated with the undesired signal u, but not correlated with g or g', v = an undesired signal (typically random noise) not correlated with g, g', u, u' or v', v' = an undesired signal (typically random noise) not correlated with g, g', u, u' or v. The output signals are defined as follows:

yk=ĝk+ûk+v̂k ϵk=dk−yk. where: ĝ = the output of the filter if the input was only g', û = the output of the filter if the input was only u', v̂ = the output of the filter if the input was only v'.

Tapped delay line FIR filter If the variable filter has a tapped delay line Finite Impulse Response (FIR) structure, then the impulse response is equal to the filter coefficients. The output of the filter is given by

yk=∑l=0Lwlk x(k−l)=ĝk+ûk+v̂k where wlk refers to the l'th weight at k'th time.

Ideal case In the ideal case v≡0,v′≡0,g′≡0. All the undesired signals in dk are represented by uk. xk consists entirely of a signal correlated with the undesired signal in uk. The output of the variable filter in the ideal case is

yk=ûk . The error signal or cost function is the difference between dk and yk

ϵk=dk−yk=gk+uk−ûk. The desired signal gk passes through without being changed. The error signal ϵk is minimized in the mean square sense when [uk−ûk] is minimized. In other words, ûk is the best mean square estimate of uk. In the ideal case, uk=ûk and ϵk=gk, and all that is left after the subtraction is g, which is the unchanged desired signal with all undesired signals removed.

Signal components in the reference input In some situations, the reference input xk includes components of the desired signal. This means g' ≠ 0. Perfect cancelation of the undesired interference is not possible in this case, but improvement of the signal-to-interference ratio is possible. The output will be

ϵk=dk−yk=gk−ĝk+uk−ûk. The desired signal will be modified (usually decreased). The output signal to interference ratio has a simple formula referred to as power inversion.

… excerpt ends here. Continue reading the full article.

Illustrations

Adaptive filter: Adaptive Filter, compact representation.  k = sample number, x = reference input, d = desired input,  ε = error output, f = filter impulse response, Σ = summation, box=linear filter and adaption algorithm.
Adaptive Filter, compact representation. k = sample number, x = reference input, d = desired input, ε = error output, f = filter impulse response, Σ = summation, box=linear filter and adaption algorithm.
Adaptive filter: Adaptive linear combiner showing the combiner and the adaption process. k = sample number, n=input variable index, x = reference inputs, d = desired input, W = set of filter coefficients, ε = error output, Σ = summation, upper box=linear combiner, lower box=adaption algorithm.
Adaptive linear combiner showing the combiner and the adaption process. k = sample number, n=input variable index, x = reference inputs, d = desired input, W = set of filter coefficients, ε = error output, Σ = summation, upper box=linear combiner, lower box=adaption algorithm.
Adaptive filter: Adaptive linear combiner, compact representation. k = sample number, n=input variable index, x = reference inputs, d = desired input, ε = error output, Σ = summation.
Adaptive linear combiner, compact representation. k = sample number, n=input variable index, x = reference inputs, d = desired input, ε = error output, Σ = summation.

Worked examples

Example 1 — a first encounter with Adaptive filter

Start with the simplest possible case. Write down what Adaptive filter 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 Adaptive filter 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 Adaptive filter 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 Adaptive filter

In research
Adaptive filter 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 Adaptive filter 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
Adaptive filter is common in secondary-school and first-year university syllabi. It links to neighbouring topics Digital signal processing, Nonlinear filters, so understanding it makes those chapters shorter.
In everyday life
Look for Adaptive filter 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 “Adaptive filter” →

How to study Adaptive filter in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Adaptive filter 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 Adaptive filter out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Adaptive filter in simple terms?

An adaptive filter is a system with a linear filter that has a transfer function controlled by variable parameters and a means to adjust those parameters according to an optimization algorithm. Because of the complexity of the optimization algorithms, almost all adaptive filters are digital filters.

Why does Adaptive filter 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 Adaptive filter?

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 Adaptive filter.

Tags

  • Digital signal processing
  • Nonlinear filters

Keep exploring