DBFS

From Wikipedia, the free encyclopedia
Revision as of 18:17, 21 June 2025 by imported>Fred Gandt (MOS:SEEALSO + MOS:DUPLICATELINKs + fixed |journal= missing from {{cite journal}} error + MOS:BOLD, MOS:BOLDLINK, MOS:FIRSTSENTENCE + citation layout continuity)
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Short description Script error: No such module "other uses". Template:Lowercase

File:Clipping.svg
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).

dBFS or dB FS (decibels relative to full scale) 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).Template:R

The level of 0Template:NnbspdBFS is assigned to the maximum possible digital level.Template:R 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.Template:R This can be prevented by careful digital-to-analog converter circuit design.Template:R Measurements of the true inter-sample peak levels are notated as dBTP or dB TP (decibels true peak).Template:R

RMS levels

Since a peak measurement is not useful for qualifying the noise performance of a system,Template:R 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.Template:R

dBFS is defined in AES Standard AES17-1998,Template:R IEC 61606,Template:R and ITU-T Recs. P.381Template:R and P.382,Template:R 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.Template:R This convention is used in WolfsonTemplate:R and Cirrus LogicTemplate:R digital microphone specs, etc.

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.Template:R All possible dBov measurements are negative numbers, and a sine wave cannot exist at a larger RMS value than −3 dBov without clipping.Template:R This unit can be applied to both analog and digital systems.Template:R This convention is the basis for the ITU's LUFS loudness unit,Template:R and is also used in Sound ForgeTemplate:R and Euphonix meters,Template:R and Analog Devices digital microphone specsTemplate:R (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 −<templatestyles src="Fraction/styles.css" />12 LSB and +<templatestyles src="Fraction/styles.css" />12 LSB. (Only certain signals produce uniform random fluctuations, so this model is typically, but not always, accurate.)Template:R

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,Template:R and the term "dBFS" has been used since 1977.Template:R

Although the decibel (dB) is permitted for use alongside units of the International System of Units (SI), the dBFS is not.Template:R

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:Template:R

See also

References

Template:Reflist

External links

Template:Decibel

ru:DBFS