ArticleslgStudy

science

Downsampling (signal processing)

Downsampling (signal processing) 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 Downsampling (signal processing) rather than just read about it. In short: In digital signal processing, downsampling, subsampling, compression, and decimation are terms associated with the process of resampling in a multi-rate digital signal processing system. Both downsampling and decimation can be synonymous with compression, or they can describe an entire process of bandwidth reduction (filtering) and sample-rate reduction.

Downsampling (signal processing) — main illustration
Downsampling (signal processing) — illustration

Key takeaways

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

Reference excerpt

In digital signal processing, downsampling, subsampling, compression, and decimation are terms associated with the process of resampling in a multi-rate digital signal processing system. Both downsampling and decimation can be synonymous with compression, or they can describe an entire process of bandwidth reduction (filtering) and sample-rate reduction. When the process is performed on a sequence of samples of a signal or a continuous function, it produces an approximation of the sequence that would have been obtained by sampling the signal at a lower rate (or density, as in the case of a photograph). Decimation is a term that historically means the removal of every tenth one. But in signal processing, decimation by a factor of 10 actually means keeping only every tenth sample. This factor multiplies the sampling interval or, equivalently, divides the sampling rate. For example, if compact disc audio at 44,100 samples/second is decimated by a factor of 5/4, the resulting sample rate is 35,280. A system component that performs decimation is called a decimator. Decimation by an integer factor is also called compression.

Downsampling by an integer factor Rate reduction by an integer factor M can be explained as a two-step process, with an equivalent implementation that is more efficient:

Reduce high-frequency signal components with a digital lowpass filter. Decimate the filtered signal by M; that is, keep only every Mth sample. Step 2 alone creates undesirable aliasing (i.e. high-frequency signal components will copy into the lower frequency band and be mistaken for lower frequencies). Step 1, when necessary, suppresses aliasing to an acceptable level. In this application, the filter is called an anti-aliasing filter, and its design is discussed below. Also see undersampling for information about decimating bandpass functions and signals. When the anti-aliasing filter is an IIR design, it relies on feedback from output to input, prior to the second step. With FIR filtering, it is an easy matter to compute only every Mth output. The calculation performed by a decimating FIR filter for the nth output sample is a dot product:

y[n]=∑k=0K−1x[nM−k]⋅h[k], where the h[•] sequence is the impulse response, and K is its length. x[•] represents the input sequence being downsampled. In a general purpose processor, after computing y[n], the easiest way to compute y[n+1] is to advance the starting index in the x[•] array by M, and recompute the dot product. In the case M=2, h[•] can be designed as a half-band filter, where almost half of the coefficients are zero and need not be included in the dot products. Impulse response coefficients taken at intervals of M form a subsequence, and there are M such subsequences (phases) multiplexed together. The dot product is the sum of the dot products of each subsequence with the corresponding samples of the x[•] sequence. Furthermore, because of downsampling by M, the stream of x[•] samples involved in any one of the M dot products is never involved in the other dot products. Thus M low-order FIR filters are each filtering one of M multiplexed phases of the input stream, and the M outputs are being summed. This viewpoint offers a different implementation that might be advantageous in a multi-processor architecture. In other words, the input stream is demultiplexed and sent through a bank of M filters whose outputs are summed. When implemented that way, it is called a polyphase filter. For completeness, we now mention that a possible, but unlikely, implementation of each phase is to replace the coefficients of the other phases with zeros in a copy of the h[•] array, process the original x[•] sequence at the input rate (which means multiplying by zeros), and decimate the output by a factor of M. The equivalence of this inefficient method and the implementation described above is known as the first Noble identity. It is sometimes used in derivations of the polyphase method.

Anti-aliasing filter Let X(f) be the Fourier transform of any function, x(t), whose samples at some interval, T, equal the x[n] sequence. Then the discrete-time Fourier transform (DTFT) is a Fourier series representation of a periodic summation of X(f):

∑n=−∞∞x(nT)⏞x[n] e−i2πfnT⏟DTFT=1T∑k=−∞∞X(f−kT). When T has units of seconds, f has units of hertz. Replacing T with MT in the formulas above gives the DTFT of the decimated sequence, x[nM]:

∑n=−∞∞x(n⋅MT) e−i2πfn(MT)=1MT∑k=−∞∞X(f−kMT). The periodic summation has been reduced in amplitude and periodicity by a factor of M. An example of both these distributions is depicted in the two traces of Fig 1. Aliasing occurs when adjacent copies of X(f) overlap. The purpose of the anti-aliasing filter is to ensure that the reduced periodicity does not create overlap. The condition that ensures the copies of X(f) do not overlap each other is: B<0.5T⋅1M, so that is the maximum cutoff frequency of an ideal anti-aliasing filter.

By a rational factor Let M/L denote the decimation factor, where: M, L ∈ ℤ; M > L.

Increase (resample) the sequence by a factor of L. This is called Upsampling, or interpolation. Decimate by a factor of M Step 1 requires a lowpass filter after increasing (expanding) the data rate, and step 2 requires a lowpass filter before decimation. Therefore, both operations can be accomplished by a single filter with the lower of the two cutoff frequencies. For the M > L case, the anti-aliasing filter cutoff, 0.5M cycles per intermediate sample, is the lower frequency.

See also Upsampling Posterization Sample-rate conversion Aliasing Visvalingam–Whyatt algorithm

Notes

Page citations

References

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Downsampling (signal processing)

Start with the simplest possible case. Write down what Downsampling (signal processing) 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 Downsampling (signal processing) 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 Downsampling (signal processing) 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 Downsampling (signal processing)

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

How to study Downsampling (signal processing) in 20 minutes

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

Frequently asked questions

What is Downsampling (signal processing) in simple terms?

In digital signal processing, downsampling, subsampling, compression, and decimation are terms associated with the process of resampling in a multi-rate digital signal processing system. Both downsampling and decimation can be synonymous with compression, or they can describe an entire process of b…

Why does Downsampling (signal processing) 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 Downsampling (signal processing)?

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 Downsampling (signal processing).

Tags

  • Digital signal processing
  • Signal processing

Keep exploring