The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 24th, 2024, 2:58am
Pages: 1
Send Topic Print
Query Signal to Noise Ratio of ADC (Read 103 times)
shaikh_sarfraz
Junior Member
**
Offline



Posts: 17

Query Signal to Noise Ratio of ADC
Sep 16th, 2008, 10:56am
 
Hi,
I am simulating an ADC for SNR.
I have got the frequency spectrum consisting of signal and noise.

Now as per definition SNR= 20*log(RMS_Signal/RMS_Noise)

RMS_Signal = Peak_Signal/sqrt(2)

My doubt is regarding calculating RMS_Noise:
Suppose I have 128 samples of noise
How is RMS_Noise defined:
1). temp = (Noise1)**2 + (Noise2)**2.........+(Noise128)**2
    RMS_Noise = sqrt(temp/128)

2). temp = (Noise1)**2 + (Noise2)**2.........+(Noise128)**2
    RMS_Noise = sqrt(temp/2)

Best Regards
Sarfraz



Back to top
 
 
View Profile   IP Logged
Tlaloc
Community Member
***
Offline



Posts: 81
Dallas, TX
Re: Query Signal to Noise Ratio of ADC
Reply #1 - Sep 16th, 2008, 8:20pm
 
It is most definitely #1.  Remember that the M in RMS stands for mean.  Standard mean is 1/N*(x1+x2+...+xN).  RMS is √(1/N*(x12+x22+...+xN2)).

Quote:
RMS_Signal = Peak_Signal/sqrt(2)

This is only for the specific case when the signal is a sin wave.
Back to top
 
 
View Profile   IP Logged
shaikh_sarfraz
Junior Member
**
Offline



Posts: 17

Re: Query Signal to Noise Ratio of ADC
Reply #2 - Sep 17th, 2008, 1:44am
 
Thanks for your reply.
If you go by RMS definition, then 1 should be the correct answer.
However I have seen, in many places (2) is being used.
So I wanted to make sure, which is the correct formulation.
It is my guess that is the noise sources are uncorelated than (2) should be used.

Can any body pour in more information?

Best Regards
Sarfraz
Back to top
 
 
View Profile   IP Logged
Tlaloc
Community Member
***
Offline



Posts: 81
Dallas, TX
Re: Query Signal to Noise Ratio of ADC
Reply #3 - Sep 18th, 2008, 12:45pm
 
Quote:
It is my guess that is the noise sources are uncorelated than (2) should be used.

Correlation has nothing to do with.  RMS is still RMS.  It is always the first definition when you have discrete points.  If the signal is continuous, e.g. a sine wave, then the definition is 1/N*∫f(x)2dx.  For the case of sine wave, the integral simplifies to sqrt(2)*peak.
Back to top
 
 
View Profile   IP Logged
Tlaloc
Community Member
***
Offline



Posts: 81
Dallas, TX
Re: Query Signal to Noise Ratio of ADC
Reply #4 - Sep 22nd, 2008, 7:56am
 
Sorry, the definition of the continuous time RMS was wrong.  It should be 1/(T2-T1)*∫f(x)2dx with the integral taken from T1 to T2 for periodic functions.  T1 and T2 needs to include an integer number of cycles.
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.