Lably
Skip to content

Signal-to-noise ratio

Ratio of the desired signal to the background noise

  • 9 min read
  • 9 chapters
A gray-scale photography with different signal-to-noise ratios (SNRs). The SNR values are given for the rectangular region on the forehead. The plots show the signal intensity in the indicated row of
Dtrx · CC BY-SA 4.0

Related on Lably

Through Engineering, Signal and Power (physics)

SNR is an important parameter that affects the performance and quality of systems that process or transmit signals, such as communication systems, audio equipment, radar systems, imaging systems, and data acquisition systems. A high SNR means that the signal is clear and easy to detect or interpret, while a low SNR means that the signal is corrupted or obscured by noise and may be difficult to distinguish or recover. SNR can be improved by various methods, such as increasing the signal strength, reducing the noise level, filtering out unwanted noise, or using error correction techniques.

SNR also determines the maximum possible amount of data that can be transmitted reliably over a given channel, which depends on its bandwidth and SNR. This relationship is described by the Shannon–Hartley theorem, which is a fundamental law of information theory.

SNR can be calculated using different formulas depending on how the signal and noise are measured and defined. The most common way to express SNR is in decibels, which is a logarithmic scale that makes it easier to compare large or small values. Other definitions of SNR may use different factors or bases for the logarithm, depending on the context and application.

Definition

One definition of signal-to-noise ratio is the ratio of the power of a signal (meaningful input) to the power of background noise (meaningless or unwanted input):

SNR=PsignalPnoise,

where P 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.

The signal-to-noise ratio of a random variable (S) to random noise N is:

SNR=E[S2]E[N2],

where E refers to the expected value, which in this case is the mean square of N.

If the signal is simply a constant value of s, this equation simplifies to:

SNR=s2E[N2].

If the noise has expected value of zero, as is common, the denominator is its variance, the square of its standard deviation σN.

The signal and the noise must be measured the same way, for example, as voltages across the same impedance. Their root mean squares can alternatively be used according to:

SNR=PsignalPnoise=(AsignalAnoise)2,

where A is root mean square (RMS) amplitude (for example, RMS voltage).

Decibels

Because many signals have a very wide dynamic range, 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

Psignal,dB=10log10⁡(Psignal)

and

Pnoise,dB=10log10⁡(Pnoise).

In a similar manner, SNR may be expressed in decibels as

SNRdB=10log10⁡(SNR).

Using the definition of SNR

SNRdB=10log10⁡(PsignalPnoise).

Using the quotient rule for logarithms

10log10⁡(PsignalPnoise)=10log10⁡(Psignal)−10log10⁡(Pnoise).

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:

SNRdB=Psignal,dB−Pnoise,dB.

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:

SNRdB=10log10⁡[(AsignalAnoise)2]=20log10⁡(AsignalAnoise)=Asignal,dB−Anoise,dB.

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, the reference signal is usually a sine wave at a standardized nominal or alignment level, such as 1 kHz at +4 dBu (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 of an AC signal is defined as the average value of voltage times current; for resistive (non-reactive) circuits, where voltage and current are in phase, this is equivalent to the product of the rms voltage and current:

P=VrmsIrms
P=Vrms2R=Irms2R

But in signal processing and communication, one usually assumes that R=1Ω 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

P=Vrms2

Sign in to keep reading

8 more chapters are free with a Lably account.

More in Electronics