Clever Geek Handbook
📜 ⬆️ ⬇️

Quantization (signal processing)

Quantized signal
Discrete-time non-quantized signal
Digital signal

Quantization ( Engl. Quantization ) - in signal processing - dividing the range of reference signal values ​​into a finite number of levels and rounding these values ​​to one of the two levels closest to them [1] . In this case, the signal value can be rounded to the nearest level, or to the smaller or larger of the nearest levels, depending on the encoding method [2] . Such quantization is called scalar. There is also vector quantization — dividing the space of possible values ​​of a vector quantity into a finite number of regions and replacing these values ​​with the identifier of one of these regions [3] .

Quantization should not be confused with discretization (and, accordingly, the quantization step with the sampling rate ). During sampling, a time-varying quantity (signal) is measured at a given frequency (sampling frequency), so sampling divides the signal by the time component (horizontally on the graph). Quantization leads the signal to the given values, that is, it rounds the signal to the levels closest to it (in the graph — vertically). In the ADC, rounding can be done to the nearest lower level. A signal to which discretization and quantization is applied is called digital .

Quantization is often used in signal processing , including compression of sound and images.

When a signal is digitized , the number of bits encoding one quantization level is called the quantization depth or bit depth . The greater the quantization depth and the greater the sampling frequency, the more accurately the digital signal corresponds to the analog one. In the case of uniform quantization, the quantization depth determines the dynamic range , measured in decibels (1 bit per 6 dB) [4] .

Content

Quantization Types

Uniform (homogeneous) quantization - splitting the range of signal samplesy {\ displaystyle y}   into segments of equal length and replacing these values ​​with the nearest quantization levelyq {\ displaystyle y_ {q}}   . In this case, two quantization options are possible [5] :

1. If the signal values ​​are in the range[0,h] {\ displaystyle [0, h]}   whereh {\ displaystyle h}   - quantization step, then they are rounded to the levelh/2 {\ displaystyle h / 2}   (midrise - quantization characteristic with zero at the border of the quantization step):

yq=(⌊yh⌋+0.5)⋅h{\ displaystyle y_ {q} = \ left (\ left \ lfloor {y \ over h} \ right \ rfloor +0.5 \ right) \ cdot h}  

2. If the signal values ​​are in the range[-h/2,h/2] {\ displaystyle [-h / 2, h / 2]}   , then they are rounded to the zero level (midtread is the quantization characteristic with zero in the center of the quantization step):

yq=⌊yh+0.5⌋⋅h{\ displaystyle y_ {q} = \ left \ lfloor {y \ over h} +0.5 \ right \ rfloor \ cdot h}   ,

Where⌊.⌋ {\ displaystyle \ left \ lfloor {.} \ right \ rfloor}   - rounding to the nearest smaller integer .

After sampling and quantization, a digital signal is obtained. Then quantization levelyq {\ displaystyle y_ {q}}   replaced by a set of numbers. For quantization in binary code, the range of the signal from the minimum valueymin {\ displaystyle y _ {\ min}}   to the maximum valueymax {\ displaystyle y _ {\ max}}   divided by2n {\ displaystyle 2 ^ {n}}   quantization levels wheren {\ displaystyle n}   - bit quantization. The value of the resulting interval between levels (quantization step):

h=ymax-ymin2n.{\ displaystyle h = {\ frac {y _ {\ max} -y _ {\ min}} {2 ^ {n}}}.}  

Each level is assignedn {\ displaystyle n}   -bit binary code - level number written in binary number. Each signal reference is assigned a code of the level closest to it. Thus, after sampling and quantization, the analog signal is represented by a sequence of binary numbers corresponding to the signal values ​​at certain points in time, that is, a binary signal. Moreover, each binary number is represented by a sequence of pulses of high (1) and low (0) level. Bit quantization of sound is usually chosen equal to from 8 to 32 bits ( comparison of digital audio formats ), but usually 16 or 24 bits [6] .

Unequal quantization - quantization in which the splitting of the range of signal values ​​is performed into segments of unequal length. It is used to improve the accuracy of quantization in the case when the distribution of signal values ​​is uneven, for example, when quantizing sound. Moreover, quantization levels should be located more often in those areas where signal values ​​are more likely. When quantizing speech signals, a compressor is used more often, increasing small signal values ​​and decreasing large values, and subsequent uniform quantization.

Quantization Methods

  • Pulse Code Modulation
  • Delta modulation
  • Sigma-delta modulation

Notes

  1. ↑ Solonina A. I. Algorithms and processors of digital signal processing. - C. 8
  2. ↑ Solonina A. I. Fundamentals of Digital Signal Processing: Lecture Course. 2nd ed. - 2012. - C. 299
  3. ↑ Pramod Jain. A Vector Quantization Multistart Method for Global Optimization. - University of California, 1989 .-- P. 37.
  4. ↑ Smirnov S.V. Means and systems of technical support for the processing, storage and transmission of information. - MGIU, 2011 .-- S. 260
  5. ↑ William A. Pearlman, Amir Said. Digital Signal Compression: Principles and Practice. - Cambridge University Press, 2011 .-- P. 83
  6. ↑ Peter Kirn. Digital sound. Real world. - 2008. - S. 65

See also

  • ADC and DAC
  • Digitization
  • Sampling
  • Secondment


Source - https://ru.wikipedia.org/w/index.php?title= Quantization ( processing of signals )&oldid = 98595287


More articles:

  • Gadolinite
  • Matveyevsky district
  • Red Coral
  • Lebedev, Konstantin Vasilievich (writer)
  • 354th Infantry Division
  • Languages ​​of Azerbaijan
  • Anywhere for You
  • In the Black Sands
  • Cruitney
  • Anna Catherine of Brandenburg

All articles

Clever Geek | 2019