Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Downsampling (signal processing)

From Wikipedia, the free encyclopedia
(Redirected fromDecimation (signal processing))
Resampling method

Indigital signal processing,downsampling,subsampling,compression, anddecimation are terms associated with the process ofresampling in amulti-rate digital signal processing system. Bothdownsampling anddecimation can be synonymous withcompression, or they can describe an entire process of bandwidth reduction (filtering) and sample-rate reduction.[1][2] When the process is performed on a sequence of samples of asignal or a continuous function, it produces an approximation of the sequence that would have been obtained by sampling the signal at a lower rate (ordensity, as in the case of a photograph).

Decimation is a term that historically means theremoval of every tenth one.[a] But in signal processing,decimation by a factor of 10 actually meanskeeping only every tenth sample. This factor multiplies the sampling interval or, equivalently, divides the sampling rate. For example, ifcompact disc audio at 44,100 samples/second isdecimated by a factor of 5/4, the resulting sample rate is 35,280. A system component that performs decimation is called adecimator. Decimation by an integer factor is also calledcompression.[3][4]

Downsampling by an integer factor

[edit]

Rate reduction by an integer factorM can be explained as a two-step process, with an equivalent implementation that is more efficient:[5]

  1. Reduce high-frequency signal components with a digitallowpass filter.
  2. Decimate the filtered signal byM; that is, keep only everyMth sample.

Step 2 alone creates undesirablealiasing (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 ananti-aliasing filter, and its design is discussed below. Also seeundersampling for information about decimatingbandpass functions and signals.

When the anti-aliasing filter is anIIR design, it relies on feedback from output to input, prior to the second step. WithFIR filtering, it is an easy matter to compute only everyMth output. The calculation performed by a decimating FIR filter for thenth output sample is adot product:[b]

y[n]=k=0K1x[nMk]h[k],{\displaystyle y[n]=\sum _{k=0}^{K-1}x[nM-k]\cdot h[k],}

where theh[•] sequence is the impulse response, andK is its length. x[•] represents the input sequence being downsampled. In a general purpose processor, after computingy[n], the easiest way to computey[n+1] is to advance the starting index in thex[•] array byM, and recompute the dot product. In the caseM=2,h[•] can be designed as ahalf-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 ofM form a subsequence, and there areM such subsequences (phases) multiplexed together. The dot product is the sum of the dot products of each subsequence with the corresponding samples of thex[•] sequence. Furthermore, because of downsampling byM, the stream ofx[•] samples involved in any one of theM dot products is never involved in the other dot products. ThusM low-order FIR filters are each filtering one ofM multiplexedphases of the input stream, and theM 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 apolyphase 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 theh[•] array, process the originalx[•] sequence at the input rate (which means multiplying by zeros), and decimate the output by a factor ofM. The equivalence of this inefficient method and the implementation described above is known as thefirst Noble identity.[6][c] It is sometimes used in derivations of the polyphase method.

Fig 1: These graphs depict the spectral distributions of an oversampled function and the same function sampled at 1/3 the original rate. The bandwidth, B, in this example is just small enough that the slower sampling does not cause overlap (aliasing). Sometimes, a sampled function is resampled at a lower rate by keeping only every Mth sample and discarding the others, commonly called "decimation". Potential aliasing is prevented by lowpass-filtering the samples before decimation. The maximum filter bandwidth is tabulated in the bandwidth units used by the common filter design applications.

Anti-aliasing filter

[edit]

LetX(f) be theFourier transform of any function,x(t), whose samples at some interval,T, equal thex[n] sequence. Then thediscrete-time Fourier transform (DTFT) is aFourier series representation of aperiodic summation ofX(f):[d]

n=x(nT)x[n] ei2πfnTDTFT=1Tk=X(fkT).{\displaystyle \underbrace {\sum _{n=-\infty }^{\infty }\overbrace {x(nT)} ^{x[n]}\ \mathrm {e} ^{-\mathrm {i} 2\pi fnT}} _{\text{DTFT}}={\frac {1}{T}}\sum _{k=-\infty }^{\infty }X{\Bigl (}f-{\frac {k}{T}}{\Bigr )}.}

WhenT has units of seconds,f{\displaystyle f} has units ofhertz. ReplacingT withMT in the formulas above gives the DTFT of the decimated sequence,x[nM]:

n=x(nMT) ei2πfn(MT)=1MTk=X(fkMT).{\displaystyle \sum _{n=-\infty }^{\infty }x(n\cdot MT)\ \mathrm {e} ^{-\mathrm {i} 2\pi fn(MT)}={\frac {1}{MT}}\sum _{k=-\infty }^{\infty }X\left(f-{\tfrac {k}{MT}}\right).}

The periodic summation has been reduced in amplitude and periodicity by a factor ofM.  An example of both these distributions is depicted in the two traces of Fig 1.[e][f][g]Aliasing occurs when adjacent copies ofX(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 ofX(f) do not overlap each other is:B<0.5T1M,{\displaystyle B<{\tfrac {0.5}{T}}\cdot {\tfrac {1}{M}},} so that is the maximumcutoff frequency of anideal anti-aliasing filter.[A]

By a rational factor

[edit]

LetM/L denote the decimation factor,[B] where:M, L ∈Z{\displaystyle \mathbb {Z} }; M > L.

  1. Increase (resample) the sequence by a factor ofL. This is calledUpsampling, orinterpolation.
  2. Decimate by a factor ofM

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 theM > L case, the anti-aliasing filter cutoff, 0.5M{\displaystyle {\tfrac {0.5}{M}}}cycles per intermediate sample, is the lower frequency.

See also

[edit]

Notes

[edit]
  1. ^Realizable low-pass filters have a "skirt", where the response diminishes from near one to near zero.  In practice the cutoff frequency is placed far enough below the theoretical cutoff that the filter's skirt is contained below the theoretical cutoff.
  2. ^General techniques for sample-rate conversion by factor R ∈R+{\displaystyle \mathbb {R} ^{+}} includepolynomial interpolation and the Farrow structure.[7]

Page citations

[edit]
  1. ^Harris 2004. "6.1". p 128.
  2. ^Crochiere and Rabiner "2". p 32. eq 2.55a.
  3. ^Harris 2004. "2.2.1". p 25.
  4. ^Oppenheim and Schafer. "4.2". p 143. eq 4.6, where:  Ω2πf,{\displaystyle \Omega \triangleq 2\pi f,} Xs(iΩ)n=x(nT) eiΩnT,{\displaystyle X_{s}(i\Omega )\triangleq \sum _{n=-\infty }^{\infty }x(nT)\ \mathrm {e} ^{-\mathrm {i} \Omega nT},}  and  Xc(i2πf)X(f).{\displaystyle X_{c}(i2\pi f)\triangleq X(f).}
  5. ^Harris 2004. "2.2". p 22. fig 2.10.
  6. ^Oppenheim and Schafer. "4.6". p 171. fig 4.22.
  7. ^Tan 2008. "1.2.1". fig 12.2.

References

[edit]
  1. ^Oppenheim, Alan V.; Schafer, Ronald W.; Buck, John R. (1999). "4".Discrete-Time Signal Processing (2nd ed.). Upper Saddle River, N.J.: Prentice Hall. p. 168.ISBN 0-13-754920-2.
  2. ^Tan, Li (2008-04-21)."Upsampling and downsampling".eetimes.com. EE Times. Retrieved2017-04-10.The process of reducing a sampling rate by an integer factor is referred to asdownsampling of a data sequence. We also refer to downsampling asdecimation. The termdecimation used for the downsampling process has been accepted and used in many textbooks and fields.
  3. ^Crochiere, R.E.;Rabiner, L.R. (1983). "2".Multirate Digital Signal Processing. Englewood Cliffs, NJ: Prentice-Hall. p. 32.ISBN 0136051626.
  4. ^Poularikas, Alexander D. (September 1998).Handbook of Formulas and Tables for Signal Processing (1 ed.). CRC Press. pp. 42–48.ISBN 0849385792.
  5. ^Harris, Frederic J. (2004-05-24). "2.2".Multirate Signal Processing for Communication Systems. Upper Saddle River, NJ: Prentice Hall PTR. pp. 20–21.ISBN 0131465112.The process of down sampling can be visualized as a two-step progression. The process starts as an input series x(n) that is processed by a filter h(n) to obtain the output sequence y(n) with reduced bandwidth. The sample rate of the output sequence is then reduced Q-to-1 to a rate commensurate with the reduced signal bandwidth. In reality the processes of bandwidth reduction and sample rate reduction are merged in a single process called a multirate filter.
  6. ^Strang, Gilbert; Nguyen, Truong (1996-10-01).Wavelets and Filter Banks (2 ed.). Wellesley, MA: Wellesley-Cambridge Press. pp. 100–101.ISBN 0961408871.No sensible engineer would do that.
  7. ^Milić, Ljiljana (2009).Multirate Filtering for Digital Signal Processing. New York: Hershey. p. 192.ISBN 978-1-60566-178-0.Generally, this approach is applicable when the ratio Fy/Fx is a rational, or an irrational number, and is suitable for the sampling rate increase and for the sampling rate decrease.

Further reading

[edit]
  • Proakis, John G. (2000).Digital Signal Processing: Principles, Algorithms and Applications (3rd ed.). India: Prentice-Hall.ISBN 8120311299.
  • Lyons, Richard (2001).Understanding Digital Signal Processing. Prentice Hall. p. 304.ISBN 0-201-63467-8.Decreasing the sampling rate is known as decimation.
  • Antoniou, Andreas (2006).Digital Signal Processing. McGraw-Hill. p. 830.ISBN 0-07-145424-1.Decimators can be used to reduce the sampling frequency, whereas interpolators can be used to increase it.
  • Milic, Ljiljana (2009).Multirate Filtering for Digital Signal Processing. New York: Hershey. p. 35.ISBN 978-1-60566-178-0.Sampling rate conversion systems are used to change the sampling rate of a signal. The process of sampling rate decrease is called decimation, and the process of sampling rate increase is called interpolation.
  • T. Schilcher. RF applications in digital signal processing//" Digital signal processing". Proceedings, CERN Accelerator School, Sigtuna, Sweden, May 31-June 9, 2007. - Geneva, Switzerland: CERN (2008). - P. 258. - DOI: 10.5170/CERN-2008-003.[1]
  • Sliusar I.I., Slyusar V.I., Voloshko S.V., Smolyar V.G. Next Generation Optical Access based on N-OFDM with decimation.// Third International Scientific-Practical Conference "Problems of Infocommunications. Science and Technology (PIC S&T'2016)". – Kharkiv. - October 3 –6, 2016.[2]
  • Saska Lindfors, Aarno Pärssinen, Kari A. I. Halonen. A 3-V 230-MHz CMOS Decimation Subsampler.// IEEE transactions on circuits and systems— Vol. 52, No. 2, February 2005. – P. 110.
Theory
Sub-fields
Techniques
Sampling
Retrieved from "https://en.wikipedia.org/w/index.php?title=Downsampling_(signal_processing)&oldid=1328167554"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp