HOME

TheInfoList



OR:

Signal-to-noise ratio (SNR or S/N) is a measure used in
science and engineering Engineering is the use of scientific principles to design and build machines, structures, and other items, including bridges, tunnels, roads, vehicles, and buildings. The discipline of engineering encompasses a broad range of more speciali ...
that compares the level of a desired signal to the level of background
noise Noise is unwanted sound considered unpleasant, loud or disruptive to hearing. From a physics standpoint, there is no distinction between noise and desired sound, as both are vibrations through a medium, such as air or water. The difference aris ...
. SNR is defined as the ratio of signal power to the
noise power In telecommunication, the term noise power has the following meanings: # The measured total noise in a given bandwidth at the input or output of a device when the signal is not present; the integral of noise spectral density over the bandwidth # ...
, often expressed in decibels. A ratio higher than 1:1 (greater than 0 dB) indicates more signal than noise. SNR,
bandwidth Bandwidth commonly refers to: * Bandwidth (signal processing) or ''analog bandwidth'', ''frequency bandwidth'', or ''radio bandwidth'', a measure of the width of a frequency range * Bandwidth (computing), the rate of data transfer, bit rate or thr ...
, and channel capacity of a
communication channel A communication channel refers either to a physical transmission medium such as a wire, or to a logical connection over a multiplexed medium such as a radio channel in telecommunications and computer networking. A channel is used for informa ...
are connected by the Shannon–Hartley theorem.


Definition

Signal-to-noise ratio is defined as the ratio of the
power Power most often refers to: * Power (physics), meaning "rate of doing work" ** Engine power, the power put out by an engine ** Electric power * Power (social and political), the ability to influence people or events ** Abusive power Power may ...
of a signal (meaningful input) to the power of background
noise Noise is unwanted sound considered unpleasant, loud or disruptive to hearing. From a physics standpoint, there is no distinction between noise and desired sound, as both are vibrations through a medium, such as air or water. The difference aris ...
(meaningless or unwanted input): : \mathrm = \frac, where is average power. Both signal and noise power must be measured at the same or equivalent points in a system, and within the same system
bandwidth Bandwidth commonly refers to: * Bandwidth (signal processing) or ''analog bandwidth'', ''frequency bandwidth'', or ''radio bandwidth'', a measure of the width of a frequency range * Bandwidth (computing), the rate of data transfer, bit rate or thr ...
. Depending on whether the signal is a constant () or a random variable (), the signal-to-noise ratio for random noise becomes: : \mathrm = \frac where E refers to the
expected value In probability theory, the expected value (also called expectation, expectancy, mathematical expectation, mean, average, or first moment) is a generalization of the weighted average. Informally, the expected value is the arithmetic mean of a ...
, i.e. in this case the
mean square In mathematics and its applications, the mean square is normally defined as the arithmetic mean of the squares of a set of numbers or of a random variable. It may also be defined as the arithmetic mean of the squares of the '' deviations'' betwee ...
of , or : \mathrm = \frac If the noise has
expected value In probability theory, the expected value (also called expectation, expectancy, mathematical expectation, mean, average, or first moment) is a generalization of the weighted average. Informally, the expected value is the arithmetic mean of a ...
of zero, as is common, the denominator is its variance, the square of its
standard deviation In statistics, the standard deviation is a measure of the amount of variation or dispersion of a set of values. A low standard deviation indicates that the values tend to be close to the mean (also called the expected value) of the set, whil ...
. The signal and the noise must be measured the same way, for example as voltages across the same impedance. The
root mean square In mathematics and its applications, the root mean square of a set of numbers x_i (abbreviated as RMS, or rms and denoted in formulas as either x_\mathrm or \mathrm_x) is defined as the square root of the mean square (the arithmetic mean of the ...
s can alternatively be used in the ratio: : \mathrm = \frac = \left ( \frac \right )^2, where is root mean square (RMS) amplitude (for example, RMS voltage).


Decibels

Because many signals have a very wide
dynamic range Dynamic range (abbreviated DR, DNR, or DYR) is the ratio between the largest and smallest values that a certain quantity can assume. It is often used in the context of signals, like sound and light. It is measured either as a ratio or as a base- ...
, signals are often expressed using the logarithmic decibel scale. Based upon the definition of decibel, signal and noise may be expressed in decibels (dB) as :P_\mathrm = 10 \log_ \left ( P_\mathrm \right ) and :P_\mathrm = 10 \log_ \left ( P_\mathrm \right ). In a similar manner, SNR may be expressed in decibels as : \mathrm = 10 \log_ \left ( \mathrm \right ). Using the definition of SNR : \mathrm = 10 \log_ \left ( \frac \right ). Using the quotient rule for logarithms : 10 \log_ \left ( \frac \right ) = 10 \log_ \left ( P_\mathrm \right ) - 10 \log_ \left ( P_\mathrm \right ). Substituting the definitions of SNR, signal, and noise in decibels into the above equation results in an important formula for calculating the signal to noise ratio in decibels, when the signal and noise are also in decibels: : \mathrm = . In the above formula, P is measured in units of power, such as watts (W) or milliwatts (mW), and the signal-to-noise ratio is a pure number. However, when the signal and noise are measured in volts (V) or amperes (A), which are measures of amplitude, they must first be squared to obtain a quantity proportional to power, as shown below: : \mathrm = 10 \log_ \left \left ( \frac \right )^2 \right = 20 \log_ \left ( \frac \right ) = 2 \left ( \right ).


Dynamic range

The concepts of signal-to-noise ratio and dynamic range are closely related. Dynamic range measures the ratio between the strongest un- distorted signal on a channel and the minimum discernible signal, which for most purposes is the noise level. SNR measures the ratio between an arbitrary signal level (not necessarily the most powerful signal possible) and noise. Measuring signal-to-noise ratios requires the selection of a representative or ''reference'' signal. In
audio engineering Audio most commonly refers to sound, as it is transmitted in signal form. It may also refer to: Sound *Audio signal, an electrical representation of sound *Audio frequency, a frequency in the audio spectrum *Digital audio, representation of sound ...
, the reference signal is usually a sine wave at a standardized
nominal Nominal may refer to: Linguistics and grammar * Nominal (linguistics), one of the parts of speech * Nominal, the adjectival form of "noun", as in "nominal agreement" (= "noun agreement") * Nominal sentence, a sentence without a finite verb * Nou ...
or
alignment level The alignment level in an audio signal chain or on an audio recording is a defined anchor point that represents a reasonable or typical level. It does not represent a particular sound level or signal level or digital representation, but it can ...
, such as 1 kHz at +4
dBu The decibel (symbol: dB) is a relative unit of measurement equal to one tenth of a bel (B). It expresses the ratio of two values of a power or root-power quantity on a logarithmic scale. Two signals whose levels differ by one decibel have a po ...
(1.228 VRMS). SNR is usually taken to indicate an ''average'' signal-to-noise ratio, as it is possible that instantaneous signal-to-noise ratios will be considerably different. The concept can be understood as normalizing the noise level to 1 (0 dB) and measuring how far the signal 'stands out'.


Difference from conventional power

In physics, the average
power Power most often refers to: * Power (physics), meaning "rate of doing work" ** Engine power, the power put out by an engine ** Electric power * Power (social and political), the ability to influence people or events ** Abusive power Power may ...
of an AC signal is defined as the average value of voltage times current; for
resistive The electrical resistance of an object is a measure of its opposition to the flow of electric current. Its reciprocal quantity is , measuring the ease with which an electric current passes. Electrical resistance shares some conceptual parallel ...
(non- reactive) circuits, where voltage and current are in phase, this is equivalent to the product of the rms voltage and current: : \mathrm = V_\mathrmI_\mathrm : \mathrm= \frac = I_\mathrm^ R But in signal processing and communication, one usually assumes that R=1 \Omega so that factor is usually not included while measuring power or energy of a signal. This may cause some confusion among readers, but the resistance factor is not significant for typical operations performed in signal processing, or for computing power ratios. For most cases, the power of a signal would be considered to be simply : \mathrm= V_\mathrm^


Alternative definition

An alternative definition of SNR is as the reciprocal of the
coefficient of variation In probability theory and statistics, the coefficient of variation (CV), also known as relative standard deviation (RSD), is a standardized measure of dispersion of a probability distribution or frequency distribution. It is often expressed a ...
, i.e., the ratio of mean to
standard deviation In statistics, the standard deviation is a measure of the amount of variation or dispersion of a set of values. A low standard deviation indicates that the values tend to be close to the mean (also called the expected value) of the set, whil ...
of a signal or measurement:Bushberg, J. T., et al.,
The Essential Physics of Medical Imaging
'' (2e). Philadelphia: Lippincott Williams & Wilkins, 2006, p. 280.
: \mathrm = \frac where \mu is the signal mean or
expected value In probability theory, the expected value (also called expectation, expectancy, mathematical expectation, mean, average, or first moment) is a generalization of the weighted average. Informally, the expected value is the arithmetic mean of a ...
and \sigma is the standard deviation of the noise, or an estimate thereof.The exact methods may vary between fields. For example, if the signal data are known to be constant, then \sigma can be calculated using the standard deviation of the signal. If the signal data are not constant, then \sigma can be calculated from data where the signal is zero or relatively constant. Notice that such an alternative definition is only useful for variables that are always non-negative (such as photon counts and luminance), and it is only an approximation since \operatorname\left ^2 \right= \sigma^2 + \mu^2 . It is commonly used in
image processing An image is a visual representation of something. It can be two-dimensional, three-dimensional, or somehow otherwise feed into the visual system to convey information. An image can be an artifact, such as a photograph or other two-dimension ...
, where the SNR of an
image An image is a visual representation of something. It can be two-dimensional, three-dimensional, or somehow otherwise feed into the visual system to convey information. An image can be an artifact, such as a photograph or other two-dimensiona ...
is usually calculated as the ratio of the mean pixel value to the
standard deviation In statistics, the standard deviation is a measure of the amount of variation or dispersion of a set of values. A low standard deviation indicates that the values tend to be close to the mean (also called the expected value) of the set, whil ...
of the pixel values over a given neighborhood. Sometimes SNR is defined as the square of the alternative definition above, in which case it is equivalent to the more common definition: : \mathrm = \frac This definition is closely related to the sensitivity index or ''d'', when assuming that the signal has two states separated by signal amplitude \mu, and the noise standard deviation \sigma does not change between the two states. The ''Rose criterion'' (named after Albert Rose) states that an SNR of at least 5 is needed to be able to distinguish image features with certainty. An SNR less than 5 means less than 100% certainty in identifying image details. Yet another alternative, very specific, and distinct definition of SNR is employed to characterize sensitivity of imaging systems; see Signal-to-noise ratio (imaging). Related measures are the "
contrast ratio The contrast ratio (CR) is a property of a display system, defined as the ratio of the luminance of the brightest shade (white) to that of the darkest shade (black) that the system is capable of producing. A high contrast ratio is a desired aspect ...
" and the "
contrast-to-noise ratio Contrast-to-noise ratio (CNR) is a measure used to determine image quality. CNR is similar to the metric signal-to-noise ratio (SNR), but subtracts a term before taking the ratio. This is important when there is a significant bias in an image, su ...
".


Modulation system measurements


Amplitude modulation

Channel signal-to-noise ratio is given by :\mathrm = \frac where W is the bandwidth and k_a is modulation index Output signal-to-noise ratio (of AM receiver) is given by :\mathrm = \frac


Frequency modulation

Channel signal-to-noise ratio is given by :\mathrm = \frac Output signal-to-noise ratio is given by :\mathrm = \frac


Noise reduction

All real measurements are disturbed by noise. This includes electronic noise, but can also include external events that affect the measured phenomenon — wind, vibrations, the gravitational attraction of the moon, variations of temperature, variations of humidity, etc., depending on what is measured and of the sensitivity of the device. It is often possible to reduce the noise by controlling the environment. Internal electronic noise of measurement systems can be reduced through the use of low-noise amplifiers. When the characteristics of the noise are known and are different from the signal, it is possible to use a filter to reduce the noise. For example, a
lock-in amplifier A lock-in amplifier is a type of amplifier that can extract a signal with a known carrier wave from an extremely noisy environment. Depending on the dynamic reserve of the instrument, signals up to a million times smaller than noise components, p ...
can extract a narrow bandwidth signal from broadband noise a million times stronger. When the signal is constant or periodic and the noise is random, it is possible to enhance the SNR by
averaging In ordinary language, an average is a single number taken as representative of a list of numbers, usually the sum of the numbers divided by how many numbers are in the list (the arithmetic mean). For example, the average of the numbers 2, 3, 4, 7, ...
the measurements. In this case the noise goes down as the square root of the number of averaged samples.


Digital signals

When a measurement is digitized, the number of bits used to represent the measurement determines the maximum possible signal-to-noise ratio. This is because the minimum possible
noise Noise is unwanted sound considered unpleasant, loud or disruptive to hearing. From a physics standpoint, there is no distinction between noise and desired sound, as both are vibrations through a medium, such as air or water. The difference aris ...
level is the
error An error (from the Latin ''error'', meaning "wandering") is an action which is inaccurate or incorrect. In some usages, an error is synonymous with a mistake. The etymology derives from the Latin term 'errare', meaning 'to stray'. In statistics ...
caused by the quantization of the signal, sometimes called quantization noise. This noise level is non-linear and signal-dependent; different calculations exist for different signal models. Quantization noise is modeled as an analog error signal summed with the signal before quantization ("additive noise"). This theoretical maximum SNR assumes a perfect input signal. If the input signal is already noisy (as is usually the case), the signal's noise may be larger than the quantization noise. Real
analog-to-digital converter In electronics, an analog-to-digital converter (ADC, A/D, or A-to-D) is a system that converts an analog signal, such as a sound picked up by a microphone or light entering a digital camera, into a digital signal. An ADC may also provide ...
s also have other sources of noise that further decrease the SNR compared to the theoretical maximum from the idealized quantization noise, including the intentional addition of
dither Dither is an intentionally applied form of noise used to randomize quantization error, preventing large-scale patterns such as color banding in images. Dither is routinely used in processing of both digital audio and video data, and is often ...
. Although noise levels in a digital system can be expressed using SNR, it is more common to use Eb/No, the energy per bit per noise power spectral density. The
modulation error ratio The modulation error ratio or MER is a measure used to quantify the performance of a digital radio (or digital TV) transmitter or receiver in a communications system using digital modulation (such as QAM). A signal sent by an ideal transmitter or re ...
(MER) is a measure of the SNR in a digitally modulated signal.


Fixed point

For ''n''-bit integers with equal distance between quantization levels ( uniform quantization) the
dynamic range Dynamic range (abbreviated DR, DNR, or DYR) is the ratio between the largest and smallest values that a certain quantity can assume. It is often used in the context of signals, like sound and light. It is measured either as a ratio or as a base- ...
(DR) is also determined. Assuming a uniform distribution of input signal values, the quantization noise is a uniformly distributed random signal with a peak-to-peak amplitude of one quantization level, making the amplitude ratio 2''n''/1. The formula is then: : \mathrm = \mathrm = 20 \log_(2^n) \approx 6.02 \cdot n This relationship is the origin of statements like " 16-bit audio has a dynamic range of 96 dB". Each extra quantization bit increases the dynamic range by roughly 6 dB. Assuming a full-scale sine wave signal (that is, the quantizer is designed such that it has the same minimum and maximum values as the input signal), the quantization noise approximates a sawtooth wave with peak-to-peak amplitude of one quantization levelDefining and Testing Dynamic Parameters in High-Speed ADCs
Maxim Integrated Products Application note 728
and uniform distribution. In this case, the SNR is approximately : \mathrm \approx 20 \log_ (2^n ) \approx 6.02 \cdot n + 1.761


Floating point

Floating-point In computing, floating-point arithmetic (FP) is arithmetic that represents real numbers approximately, using an integer with a fixed precision, called the significand, scaled by an integer exponent of a fixed base. For example, 12.345 can be r ...
numbers provide a way to trade off signal-to-noise ratio for an increase in dynamic range. For n bit floating-point numbers, with n-m bits in the mantissa and m bits in the exponent: : \mathrm = 6.02 \cdot 2^m : \mathrm = 6.02 \cdot (n-m) Note that the dynamic range is much larger than fixed-point, but at a cost of a worse signal-to-noise ratio. This makes floating-point preferable in situations where the dynamic range is large or unpredictable. Fixed-point's simpler implementations can be used with no signal quality disadvantage in systems where dynamic range is less than 6.02m. The very large dynamic range of floating-point can be a disadvantage, since it requires more forethought in designing algorithms.Fixed-Point vs. Floating-Point DSP for Superior Audio
Rane Corporation Rane Corporation is an American pro audio equipment Audio equipment refers to devices that reproduce, record, or process sound. This includes microphones, radio receivers, AV receivers, CD players, tape recorders, amplifiers, mixing consoles, ...
technical library
Often special filters are used to weight the noise: DIN-A, DIN-B, DIN-C, DIN-D, CCIR-601; for video, special filters such as
comb filter In signal processing, a comb filter is a filter implemented by adding a delayed version of a signal to itself, causing constructive and destructive interference. The frequency response of a comb filter consists of a series of regularly spaced n ...
s may be used.
Maximum possible full scale signal can be charged as peak-to-peak or as RMS. Audio uses RMS, Video P-P, which gave +9 dB more SNR for video.


Optical signals

Optical signals have a
carrier frequency In telecommunications, a carrier wave, carrier signal, or just carrier, is a waveform (usually sinusoidal) that is modulated (modified) with an information-bearing signal for the purpose of conveying information. This carrier wave usually has a m ...
(about and more) that is much higher than the modulation frequency. This way the noise covers a bandwidth that is much wider than the signal itself. The resulting signal influence relies mainly on the filtering of the noise. To describe the signal quality without taking the receiver into account, the optical SNR (OSNR) is used. The OSNR is the ratio between the signal power and the noise power in a given bandwidth. Most commonly a reference bandwidth of 0.1 nm is used. This bandwidth is independent of the modulation format, the frequency and the receiver. For instance an OSNR of 20 dB/0.1 nm could be given, even the signal of 40 GBit DPSK would not fit in this bandwidth. OSNR is measured with an
optical spectrum analyzer An optical spectrometer (spectrophotometer, spectrograph or spectroscope) is an instrument used to measure properties of light over a specific portion of the electromagnetic spectrum, typically used in spectroscopic analysis to identify mate ...
.


Types and abbreviations

Signal to noise ratio may be abbreviated as SNR and less commonly as S/N. PSNR stands for
peak signal-to-noise ratio Peak signal-to-noise ratio (PSNR) is an engineering term for the ratio between the maximum possible power of a signal and the power of corrupting noise that affects the fidelity of its representation. Because many signals have a very wide dynamic ...
. GSNR stands for geometric signal-to-noise ratio. SINR is the
signal-to-interference-plus-noise ratio In information theory and telecommunication engineering, the signal-to-interference-plus-noise ratio (SINR) (also known as the signal-to-noise-plus-interference ratio (SNIR)) is a quantity used to give theoretical upper bounds on channel capacity ...
.


Other uses

While SNR is commonly quoted for electrical signals, it can be applied to any form of signal, for example isotope levels in an
ice core An ice core is a core sample that is typically removed from an ice sheet or a high mountain glacier. Since the ice forms from the incremental buildup of annual layers of snow, lower layers are older than upper ones, and an ice core contains i ...
,
biochemical signaling Signal transduction is the process by which a chemical or physical signal is transmitted through a cell as a series of molecular events, most commonly protein phosphorylation catalyzed by protein kinases, which ultimately results in a cellular ...
between cells, or financial trading signals. The term is sometimes used metaphorically to refer to the ratio of useful information to false or irrelevant data in a conversation or exchange. For example, in online discussion forums and other online communities, off-topic posts and
spam Spam may refer to: * Spam (food), a canned pork meat product * Spamming, unsolicited or undesired electronic messages ** Email spam, unsolicited, undesired, or illegal email messages ** Messaging spam, spam targeting users of instant messaging ( ...
are regarded as that interferes with the of appropriate discussion.


See also

*
Audio system measurements Audio system measurements are a means of quantifying system performance. These measurements are made for several purposes. Designers take measurements so that they can specify the performance of a piece of equipment. Maintenance engineers make ...
*
Generation loss Generation loss is the loss of quality between subsequent copies or transcodes of data. Anything that reduces the quality of the representation when copying, and would cause further reduction in quality on making a copy of the copy, can be cons ...
* Matched filter * Near–far problem * Noise margin *
Omega ratio The Omega ratio is a risk-return performance measure of an investment asset, portfolio, or strategy. It was devised by Con Keating and William F. Shadwick in 2002 and is defined as the probability weighted ratio of gains versus losses for some thres ...
*
Peak signal-to-noise ratio Peak signal-to-noise ratio (PSNR) is an engineering term for the ratio between the maximum possible power of a signal and the power of corrupting noise that affects the fidelity of its representation. Because many signals have a very wide dynamic ...
*
Signal-to-noise statistic In mathematics the signal-to-noise statistic distance between two vectors ''a'' and ''b'' with mean values \mu _a and \mu _b and standard deviation \sigma _a and \sigma _b respectively is: :D_ = In the case of Gaussian-distributed data and unbi ...
*
Signal-to-interference-plus-noise ratio In information theory and telecommunication engineering, the signal-to-interference-plus-noise ratio (SINR) (also known as the signal-to-noise-plus-interference ratio (SNIR)) is a quantity used to give theoretical upper bounds on channel capacity ...
* Signal-to-noise ratio (imaging) *
SINAD Signal-to-noise and distortion ratio (SINAD) is a measure of the quality of a signal from a communications device, often defined as : \mathrm = \frac, where P is the average power of the signal, noise and distortion components. SINAD is usually ex ...
*
Subjective video quality Subjective video quality is video quality as experienced by humans. It is concerned with how video is perceived by a viewer (also called "observer" or "subject") and designates their opinion on a particular video sequence. It is related to the fiel ...
*
Total harmonic distortion The total harmonic distortion (THD or THDi) is a measurement of the harmonic distortion present in a signal and is defined as the ratio of the sum of the powers of all harmonic components to the power of the fundamental frequency. Distortion fact ...
*
Video quality Video quality is a characteristic of a video passed through a video transmission or processing system that describes perceived video degradation (typically, compared to the original video). Video processing systems may introduce some amount of dist ...


Notes


References


External links

*
ADC and DAC Glossary
Maxim Integrated Products
Understand SINAD, ENOB, SNR, THD, THD + N, and SFDR so you don't get lost in the noise floor
Analog Devices Analog Devices, Inc. (ADI), also known simply as Analog, is an American multinational semiconductor company specializing in data conversion, signal processing and power management technology, headquartered in Wilmington, Massachusetts. The co ...

The Relationship of dynamic range to data word size in digital audio processing


* ttp://www.vias.org/simulations/simusoft_spectaccu.html Learning by simulations – a simulation showing the improvement of the SNR by time averaging
Dynamic Performance Testing of Digital Audio D/A Converters

Fundamental theorem of analog circuits: a minimum level of power must be dissipated to maintain a level of SNR

Interactive webdemo of visualization of SNR in a QAM constellation diagram
Institute of Telecommunicatons, University of Stuttgart *
Quantization Noise
Widrow & Kollár Quantization book page with sample chapters and additional material
Signal-to-noise ratio online audio demonstrator - Virtual Communications Lab
{{Noise Engineering ratios Error measures Measurement Electrical parameters Audio amplifier specifications Noise (electronics) Statistical ratios Acoustics Sound