DSPRelated.com
Forums

calculating SNR from PSD

Started by bizoo September 3, 2007
i have two signals, one is the tranmission waveform, the other is received
one, 

can any one tell me how to get the SNR of my received waveform,. 

the waveform consists of bits which has shape of raised cosines,

i tried to get the power of the signal from the PSD but i dont know how to
integrate the power at all frequencies to get the power of the signal


ne clues


On Mon, 03 Sep 2007 11:28:24 -0500, bizoo wrote:

> i have two signals, one is the tranmission waveform, the other is received > > one, > > can any one tell me how to get the SNR of my received waveform,. > > the waveform consists of bits which has shape of raised cosines, > > i tried to get the power of the signal from the PSD but i dont know how to > > integrate the power at all frequencies to get the power of the signal > > > ne clues
You should be able to take the calculated PSD of your signal alone, then multiply it frequency-by-frequency with both the noise alone and the noise+signal and get a "signal+noise"/noise ratio -- then subtract one. Note that this is going to give you a rather approximate figure. The random nature of noise means that any measurements of noise (such as it's PSD) will themselves be noisy. What you'll _really_ be calculating is "measured signal and noise" / "measured noise", or "signal + noise + measurement noise" / "signal + noise + measurement noise". As your signal level drops, your SNR calculation will become more and more noisy, until it ends up being meaningless. -- Tim Wescott Control systems and communications consulting http://www.wescottdesign.com Need to learn how to apply control theory in your embedded system? "Applied Control Theory for Embedded Systems" by Tim Wescott Elsevier/Newnes, http://www.wescottdesign.com/actfes/actfes.html
Hello,

I have a code example here:
http://www.elisanet.fi/mnentwig/webroot/SNR_FFT_correlation_example/index.html
But it requires the actual samples, the PSD alone won't do.

Cheers

Markus
bizoo wrote:
> i have two signals, one is the tranmission waveform, the other is received > one, > > can any one tell me how to get the SNR of my received waveform,. > > the waveform consists of bits which has shape of raised cosines, > > i tried to get the power of the signal from the PSD but i dont know how to > integrate the power at all frequencies to get the power of the signal
Integrate with respect to time. You need to restore the original amplitude before integrating the received signal. A narrow band filter might help with that. Jerry -- Engineering is the art of making what you want from things you can get. ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
>On Mon, 03 Sep 2007 11:28:24 -0500, bizoo wrote: > >> i have two signals, one is the tranmission waveform, the other is
received
>> >> one, >> >> can any one tell me how to get the SNR of my received waveform,. >> >> the waveform consists of bits which has shape of raised cosines, >> >> i tried to get the power of the signal from the PSD but i dont know how
to
>> >> integrate the power at all frequencies to get the power of the signal >> >> >> ne clues > >You should be able to take the calculated PSD of your signal alone, >then multiply it frequency-by-frequency with both the noise alone and
the
>noise+signal and get a "signal+noise"/noise ratio -- then subtract one. > >Note that this is going to give you a rather approximate figure. The >random nature of noise means that any measurements of noise (such as
it's
>PSD) will themselves be noisy. What you'll _really_ be calculating is >"measured signal and noise" / "measured noise", or "signal + noise + >measurement noise" / "signal + noise + measurement noise". As your
signal
>level drops, your SNR calculation will become more and more noisy, until >it ends up being meaningless. > >-- >Tim Wescott >Control systems and communications consulting >http://www.wescottdesign.com > >Need to learn how to apply control theory in your embedded system? >"Applied Control Theory for Embedded Systems" by Tim Wescott >Elsevier/Newnes, http://www.wescottdesign.com/actfes/actfes.html >
I have one query Tim, You said to take the psd of my transmitted signal and multiply it freq by freq with the psd of received signal (signal which also contains noise) and with the noise signal alone and then take ratio of (S+N)/N -1 why do i need to multiply with the original signal i mean if i take the ratio of psd of my received signal with the psd of noise alone , will it not be the same thing as above, in general i am wondering why You said of multiplying with the original transmitted signal br
>Hello, > >I have a code example here: >http://www.elisanet.fi/mnentwig/webroot/SNR_FFT_correlation_example/index.html >But it requires the actual samples, the PSD alone won't do. > >Cheers > >Markus >
Hi mike interesting technique Can You give me some reference to the this technique, some book or some research article in general i am looking to find out the limitations of this approach for example as You have also mentioned on this page that signals must be well synchronized otherwise SNR would vary remarkably, So i want to dig deep into this technique and see if i can use it with my work br
Hello,

unfortunately I can't remember any textbook reference.

I picked one related reference from the web at random. Relevant is for
example the text prior to equation (2):
http://www4.ncsu.edu/~kggard/kg_papers/ARFTG_1204_SNR_EVM.pdf

If you experiment with the tolerable timing error, try to plot the
spectrum of the uncorrelated signal. Any timing error shows up as
triangle-shaped artifacts on the frequency axis (the higher the frequency,
the more damage caused by a fixed time offset).

If you find something, please let me know, I'll add it to my web page.

Cheers

Markus
On Sep 3, 12:28 pm, "bizoo" <an...@kth.se> wrote:
> i have two signals, one is the tranmission waveform, the other is received > one, > > can any one tell me how to get the SNR of my received waveform,. > > the waveform consists of bits which has shape of raised cosines, > > i tried to get the power of the signal from the PSD but i dont know how to > integrate the power at all frequencies to get the power of the signal > > ne clues
For the PSD calculation: Look at "Fundamentals of Acoustics" by Kinsler, Frey, Coppens, and Sanders, in chapter 11 on Noise Signal Detection, Hearing and Speech. I have the 3rd edition,