Statistics – Signal to Noise Ratio

Sign to-commotion proportion (contracted SNR) is a measure utilized as a part of science and designing that analyzes the level of a coveted sign to the level of foundation clamor. It is characterized as the proportion of sign energy to the clamor power, regularly communicated in decibels. A proportion higher than 1:1 (more prominent than 0 dB) shows more flag than clamor. While SNR is regularly cited for electrical signs, it can be connected to any type of sign, (for example, isotope levels in an ice center or biochemical motioning between cells).

Signal-to-noise ratio is defined as the ratio of the power of a signal (meaningful information) and the power of background noise (unwanted signal):

SNR=PsignalPnoiseSNR=PsignalPnoise

If the variance of the signal and noise are known, and the signal is zero:

SNR=σ2signalσ2noiseSNR=σsignal2σnoise2

If the signal and the noise are measured across the same impedance, then the SNR can be obtained by calculating the square of the amplitude ratio:

SNR=PsignalPnoise=(AsignalAnoise)2SNR=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)Psignal,dB=10log10(Psignal)

and

Pnoise,dB=10log10(Pnoise)Pnoise,dB=10log10(Pnoise)

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

SNRdB=10log10(SNR)SNRdB=10log10(SNR)

Using the definition of SNR

SNRdB=10log10(PsignalPnoise)SNRdB=10log10(PsignalPnoise)

Using the quotient rule for logarithms

10log10(PsignalPnoise)=10log10(Psignal)−10log10(Pnoise)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,dBSNRdB=Psignal,dB−Pnoise,dB

In the above formula, P is measured in units of power, such as Watts or mill watts, and signal-to-noise ratio is a pure number.

However, when the signal and noise are measured in Volts or Amperes, which are measures of amplitudes, they must be squared to be proportionate to power as shown below:

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

Example

Problem Statement:

Compute the SNR of a 2.5 kHz sinusoid sampled at 48 kHz. Add white noise with standard deviation 0.001. Set the random number generator to the default settings for reproducible results.

Solution:

Fi=2500;Fs=48e3;N=1024;x=sin(2×pi×FiFs×(1:N))+0.001×randn(1,N);SNR=snr(x,Fs)SNR=57.7103Fi=2500;Fs=48e3;N=1024;x=sin(2×pi×FiFs×(1:N))+0.001×randn(1,N);SNR=snr(x,Fs)SNR=57.7103

Related Posts

© 2024 Business Management - Theme by WPEnjoy · Powered by WordPress