dBFS

Clipping of a digital waveform

Decibels relative to full scale, commonly abbreviated dBFS, measures decibel amplitude levels in digital systems such as pulse-code modulation (PCM) which have a defined maximum available peak level.

0 dBFS is assigned to the maximum possible digital level.[1] For example, a signal that reaches 50% of the maximum level at any point would reach −6 dBFS at that point, 6 dB below full scale. Conventions differ for RMS measurements, but all peak measurements will be negative numbers, unless they reach the maximum digital value.

A digital signal which does not contain any samples at 0 dBFS can still clip when converted to analog due to the signal reconstruction process interpolating between samples. This possibility can be prevented by careful digital-to-analog converter circuit design.[2]

RMS levels

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

There is a potential for ambiguity when assigning a level on the dBFS scale to a waveform rather than to a specific amplitude, since some choose the reference level so that RMS and peak measurements of a sine wave produce the same number, while others want the RMS and peak values of a square wave to be equal, as they are in typical analog measurements.[3][4][5]

Dynamic range

The measured dynamic range 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 −1/2 LSB and +1/2 LSB. (Only certain signals produce uniform random fluctuations, so this model is typically, but not always, accurate.)[13]

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):


\mathrm{DR} = \mathrm{SNR} = 20\log_{10}{\left(2^n\sqrt{\tfrac{3}{2}}\right)} \approx 6.0206 \cdot n + 1.761

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


\mathrm{DR} = \mathrm{SNR} = 20\log_{10}{\left(2^{16} \sqrt{\tfrac{3}{2}}\right)} \approx 6.0206 \cdot 16 + 1.761 \approx 98.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.

Notes

Although the decibel (dB) is permitted for use alongside SI units, the dBFS is not.[14]

The term dBFS was first coined in the early 1980s by James Colotti, an analog engineer who pioneered some of the dynamic evaluation techniques of high-speed A/D and D/A Converters. Mr. Colotti first introduced the term to industry at the RF Expo East in Boston Massachusetts in November 1987, during his presentation “Digital Dynamic Analysis of A/D Conversion Systems through Evaluation Software based on FFT/DFT Analysis".

Analog levels

dBFS is not to be used for analog levels, according to AES-6id-2006. There is no single standard for converting 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:[15][16][17]

See also

References

  1. Price, Jim. "Understanding dB". Professional Audio. Retrieved 2007-03-13.
  2. Aldrich, Nika (July 2003). "Digital Distortion in CD’s and DVD’s: The Consequences of Traditional Digital Peak Meters" (PDF). Trillium Lane Labs. Archived from the original (PDF) on 2010-08-16. Retrieved 20 November 2010.
  3. "RMS Settings" (PDF). Adobe Audition – User Guide for Windows. Adobe. 2003. Retrieved 2007-03-16. - Allows "0dB = FS Sine Wave" or "0dB = FS Square Wave"
  4. "0 Db Reference". Active Voice / Noise Level Monitor User's Guide. GL Communications, Inc. Retrieved 2007-03-16. - "0 Db" reference can be either "FS Sine Wave" or "FS Square1 1Wave"
  5. "Audio FAQ – Search Results – Digital Domain: CD Mastering – Mastered for iTunes – Audio Mastering – Blu-Ray Mastering". Digido. Retrieved 30 January 2016.
  6. "Decibel – Voltage ratios for electric signals". sizes.com. Retrieved 2007-03-13. In such a system, the maximum level before clipping of a sine wave is -3 dBFS. The relevant standard is IEC 268-18 (1995).
  7. 1 2 http://connect.euphonix.com/documents/S5_App_1_Metering.pdf
  8. 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"
  9. "10 Audio Recording". Tonmeister. 23 October 2011. Retrieved 30 January 2016.
  10. http://www.aes.org/publications/standards/ "Because the definition of full scale is based on a sine wave, it will be possible with square-wave test signals to read as much as + 3,01 dB FS."
  11. "Understanding Microphone Sensitivity". Analog. Retrieved 30 January 2016.
  12. "Analog and Digital Processing ICs, Semiconductor Company, Cirrus Logic" (PDF). Wolfson Micro. Retrieved 30 January 2016.
  13. Watkinson, John (2001). The Art of Digital Audio 3rd Edition. Focal Press. ISBN 0-240-51587-0.
  14. Taylor 1995, Guide for the Use of the International System of Units (SI), NIST Special Publication SP811
  15. http://wiki.ibs.org.uk/faq/index.php?title=dBFS#dBFS
  16. Eberhard Sengpiel. "Decibel (dB) level conversion to volt". Sengpiel Audio. Retrieved 30 January 2016.
  17. http://www.broadcastpapers.com/whitepapers/paper_loader.cfm?pid=393

External links

This article is issued from Wikipedia - version of the Saturday, January 30, 2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.