DBFS

From testwiki
Jump to navigation Jump to search

Template:Short description Template:Other Template:Lowercase

Clipping of a digital waveform. The red lines indicate full scale, and the waveform is shown before and after hard clipping (grey and black outlines respectively).

Decibels relative to full scale (dBFS or dB FS) is a unit of measurement for amplitude levels in digital systems, such as pulse-code modulation (PCM), which have a defined maximum peak level. The unit is similar to the units dBov and decibels relative to overload (dBO).[1]

The level of 0Template:NnbspdBFS is assigned to the maximum possible digital level.[2] For example, a signal that reaches 50% of the maximum level has a level of −6Template:NnbspdBFS, which is 6Template:NnbspdB below full scale. Conventions differ for root mean square (RMS) measurements, but all peak measurements smaller than the maximum are negative levels.

A digital signal that does not contain any samples at 0Template:NnbspdBFS can still clip when converted to analog form due to the signal reconstruction process interpolating between samples.[3] This can be prevented by careful digital-to-analog converter circuit design.[4] Measurements of the true inter-sample peak levels are notated as dBTP or dB TP ("decibels true peak").[5][6]

RMS levels

Since a peak measurement is not useful for qualifying the noise performance of a system,[7] or measuring the loudness of an audio recording, for instance, RMS measurements are often used instead.

A potential for ambiguity exists when assigning a level on the dBFS scale to a waveform rather than to a specific amplitude, because some engineers follow the mathematical definition of RMS, which for sinusoidal signals is 3Template:NnbspdB below the peak value, while others choose the reference level so that RMS and peak measurements of a sine wave produce the same result.[8][9][10][11][12]

The unit dB FS or dBFS is defined in AES Standard AES17-1998,[13] IEC 61606,[14] and ITU-T Recs. P.381[15] and P.382,[16] such that the RMS value of a full-scale sine wave is designated 0Template:NnbspdB FS. This means a full-scale square wave would have an RMS value of +3Template:NnbspdB FS.[17][18] This convention is used in Wolfson[19] and Cirrus Logic[20] digital microphone specs, etc.

The unit dBov is defined in the ITU-T G.100.1 telephony standard such that the RMS value of a full-scale square wave is designated 0Template:NnbspdBov.[21][22] All possible dBov measurements are negative numbers, and a sine wave cannot exist at a larger RMS value than −3 dBov without clipping.[21] This unit can be applied to both analog and digital systems.[21] This convention is the basis for the ITU's LUFS loudness unit,[23] and is also used in Sound Forge[10] and Euphonix meters,[24] and Analog Devices digital microphone specs[25] (though referred to as "dBFS").

Dynamic range

The measured dynamic range (DR) of a digital system is the ratio of the full scale signal level to the RMS noise floor. The theoretical minimum noise floor is caused by quantization noise. This is usually modeled as a uniform random fluctuation between −Template:Frac LSB and +Template:Frac LSB. (Only certain signals produce uniform random fluctuations, so this model is typically, but not always, accurate.)[26]

As the dynamic range is measured relative to the RMS level of a full scale sine wave, the dynamic range and the level of this quantization noise in dBFS can both be estimated with the same formula (though with reversed sign):

DR=SNR=20log10(2n32)6.0206n+1.761

The value of n equals the resolution of the system in bits or the resolution of the system minus 1Template:Nbspbit (the measure error). For example, a 16-bit system has a theoretical minimum noise floor of −98.09Template:NnbspdBFS relative to a full-scale sine wave:

DR=SNR=20log10(21632)6.020616+1.76198.09

In any real converter, dither is added to the signal before sampling. This removes the effects of non-uniform quantization error, but increases the minimum noise floor.

History

The phrase "dB below full scale" has appeared in print since the 1950s,[27][28][29] and the term "dBFS" has been used since 1977.[30]

Although the decibel (dB) is permitted for use alongside units of the International System of Units (SI), the dBFS is not.[31]

Analog levels

dBFS is not defined for analog levels, according to standard AES-6id-2006. No single standard converts between digital and analog levels, mostly due to the differing capabilities of different equipment. The amount of oversampling also affects the conversion with values that are too low having significant error. The conversion level is chosen as the best compromise for the typical headroom and signal-to-noise levels of the equipment in question. Examples:[32][33][34]

See also

References

Template:Reflist

Template:Decibel

ru:DBFS

  1. Template:Citation
  2. Template:Cite web
  3. Template:Cite web
  4. Template:Cite web
  5. Template:Cite web
  6. Template:Cite web
  7. Template:Cite journal
  8. Template:Cite web - Allows "0dB = FS Sine Wave" or "0dB = FS Square Wave"
  9. Template:Cite web - "0 Db" reference can be either "FS Sine Wave" or "FS Square1 1Wave"
  10. 10.0 10.1 Template:Cite news
  11. Template:Cite news
  12. Template:Cite news
  13. Template:Cite web
  14. Template:Cite web
  15. Template:Cite web
  16. Template:Cite web
  17. Digital and Analog Measurement Units for Digital CMOS Microphone Preamplifier ASICs (Analog Devices) - "The definition of 0 dBFS as a full-scale sine wave is used by several audio analyzers, and the rms and peak values in the digital domain for a sine wave are equal for these analyzers. … Thus, a square wave whose top and bottom are at the maximum digital codes has an rms value of 1.414 FFS or 3.01 dBFS"
  18. Template:Cite web
  19. Template:Cite webTemplate:Dead link
  20. Template:Cite web
  21. 21.0 21.1 21.2 Template:Cite web
  22. Template:Cite journal
  23. Template:Cite web
  24. Template:Cite web
  25. Template:Cite web
  26. Template:Cite book
  27. Template:Cite book
  28. Template:Cite book
  29. Template:Cite book
  30. Template:Cite journal
  31. Taylor 1995, Guide for the Use of the International System of Units (SI), NIST Special Publication SP811
  32. http://wiki.ibs.org.uk/faq/index.php?title=dBFS#dBFSTemplate:Dead link
  33. Template:Cite web
  34. http://www.broadcastpapers.com/whitepapers/paper_loader.cfm?pid=393Template:Dead link