Author Topic: Noise measurement with spectrum analyzer  (Read 2881 times)

0 Members and 1 Guest are viewing this topic.

Offline Mrt12Topic starter

  • Regular Contributor
  • *
  • Posts: 132
  • Country: ch
Noise measurement with spectrum analyzer
« on: November 30, 2020, 12:28:43 pm »
Hi guys
I am not quite sure whether this is the right section of the forum, but I think my question fits here best.

I just had a discussion with a colleague. We tried to measure some noise spectra of oscillators with a spectrum analyzer and had a debate about which detector needs to be used.
I do remember slightly that I once read an application note from Dieter Scherer at HP, that for the measurement of noise related stuff, the "sample" detector should be used. So I used that and my measurements look reasonably good.
However my colleague thinks the "RMS" detector should be used. But I am not sure.

Can someone please explain to me which detector I should use and why?
My spectrum analyzer lets me choose between "pos peak", "neg peak", "RMS", "sample" and "Quasi peak". I know the latter is only used for EMC stuff, so I don't use that.

 

Offline jlake

  • Contributor
  • Posts: 29
  • Country: gb
Re: Noise measurement with spectrum analyzer
« Reply #1 on: November 30, 2020, 03:18:44 pm »
Are you trying to measure phase noise?

If so, check that your SA doesn't have a built in routine for measuring such things. Lots of modern SAs do. Also, make sure that your SA's LOs have a better phase noise than your DUT (>10dB).

I would say that both sample and 'normal' detectors would give accurate results if the BW is configured accordingly. I'd probably use normal detection though.

Sample is just going to give you the frequency in the middle of each frequency bucket (span/(points-1)). It's therefore quite good at providing noise information. Sample can miss CW signals though, because it only takes into account one point per bucket!

Normal detection is a bit more complicated and uses the Rise and Fall algorithm to present the data. It's typically used when CW signals and noise need to be measured at the same time. It first measures whether the signal is rising or falling or both within a bucket. If it's going up and down within the bucket, it's noise. If it's just going up or just going down, it's a signal. It's this distinction and subsequent processing that allows it to represent signals and noise ostensibly accurately.

RMS is going to add up all of the (data)2 in your bucket and then divide it by the points per bucket and then sqrt it. This is going to give you a power.
« Last Edit: November 30, 2020, 03:20:32 pm by jlake »
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 16621
  • Country: us
  • DavidH
Re: Noise measurement with spectrum analyzer
« Reply #2 on: December 01, 2020, 06:21:06 pm »
Any should work assuming that the spectrum analyzer's noise marker function correctly compensates for the measurement type, but RMS is the most appropriate one.  If you do not have a noise marker, then you will have to do the compensation to find RBW (resolution bandwidth) manually and RMS should be used.
 

Offline jlake

  • Contributor
  • Posts: 29
  • Country: gb
Re: Noise measurement with spectrum analyzer
« Reply #3 on: December 01, 2020, 07:11:16 pm »
Any should work assuming that the spectrum analyzer's noise marker function correctly compensates for the measurement type, but RMS is the most appropriate one.  If you do not have a noise marker, then you will have to do the compensation to find RBW (resolution bandwidth) manually and RMS should be used.

While this is a good shout (just using a noise marker---if your SA has one), this doesn't make any attempt to explain why RMS is the most appropriate detector. Why would RMS be advantageous over Rosenfall or sample?
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 16621
  • Country: us
  • DavidH
Re: Noise measurement with spectrum analyzer
« Reply #4 on: December 02, 2020, 03:14:32 am »
Any should work assuming that the spectrum analyzer's noise marker function correctly compensates for the measurement type, but RMS is the most appropriate one.  If you do not have a noise marker, then you will have to do the compensation to find RBW (resolution bandwidth) manually and RMS should be used.

While this is a good shout (just using a noise marker---if your SA has one), this doesn't make any attempt to explain why RMS is the most appropriate detector. Why would RMS be advantageous over Rosenfall or sample?

It is straightforward to combine the RMS measurement and RBW to get the noise density at any one point while other measurements require a correction factor which may not be available.

This is also what makes noise measurements using the FFT on a DSO difficult; you have to do the correction for RBW and FFT window yourself.

« Last Edit: December 02, 2020, 03:16:17 am by David Hess »
 

Offline SilverSolder

  • Super Contributor
  • ***
  • Posts: 6126
  • Country: 00
Re: Noise measurement with spectrum analyzer
« Reply #5 on: December 02, 2020, 04:27:29 am »
Any should work assuming that the spectrum analyzer's noise marker function correctly compensates for the measurement type, but RMS is the most appropriate one.  If you do not have a noise marker, then you will have to do the compensation to find RBW (resolution bandwidth) manually and RMS should be used.

While this is a good shout (just using a noise marker---if your SA has one), this doesn't make any attempt to explain why RMS is the most appropriate detector. Why would RMS be advantageous over Rosenfall or sample?

It is straightforward to combine the RMS measurement and RBW to get the noise density at any one point while other measurements require a correction factor which may not be available.

This is also what makes noise measurements using the FFT on a DSO difficult; you have to do the correction for RBW and FFT window yourself.

Is it possible to sample noise with a SA by taking a sequence of point measurements so the RBW "borders" touch each other, over the frequency band of interest?
 

Offline cncjerry

  • Supporter
  • ****
  • Posts: 1283
Re: Noise measurement with spectrum analyzer
« Reply #6 on: December 02, 2020, 04:50:58 am »
Depending on your analyzer and if it is supported, try John's PN.exe.

http://www.ke5fx.com/gpib/pn.htm

The problem with most analyzers is the noise floor is no where near low enough to measure PN of anything but possibly RF synthesizers, poorly performing DDS units, etc.  I've been trying to measure PN with many analyzers and gave up.  I found a relatively low-cost way to measure PN, low cost in that it is under $1200 or so.  The noise floor is below -180dBc which is relatively good for such a low cost setup.

This setup is based on a method of using a reference quadrature double balanced mixed signal to translate the DUT oscillator signal to baseband removing the carrier in the process with the noise remaining.  The remaining noise is then amplified above the noise level of a baseband analyzer for display. I use an HP 3562a but there are others including low noise PC audio cards.  I've not had a lot of success with this method as I don't seem to have the low noise amplification needed.  But before I solved that I found the FPGA method and decided to invest in it.

Jerry
 
The following users thanked this post: SilverSolder

Offline Mrt12Topic starter

  • Regular Contributor
  • *
  • Posts: 132
  • Country: ch
Re: Noise measurement with spectrum analyzer
« Reply #7 on: December 02, 2020, 12:53:20 pm »
Dear colleagues

I'm sorry for my delayed response. For some reason I don't get an email notification!

Indeed I am trying to measure phase noise - for a cheapo synthesizer at 2 GHz with a cheap XTAL (not even an OCXO!).
So the phase noise is so bad I can directly measure it with the S/A. I am lucky because my spectrum analyzer (R&S FSP30) does have an FFT option which easily allows me to use 1 Hz RBW filters without waiting for ages.

I used the spectrum analyzer's REF out as reference for the synthesizer and measured the spectrum at different offsets from the carrier with 1 Hz RBW. I used the sample detector and trace averaging.

But still I don't understand yet what the difference between "SAMPLE" and "RMS" detectors is.
 

Offline SilverSolder

  • Super Contributor
  • ***
  • Posts: 6126
  • Country: 00
Re: Noise measurement with spectrum analyzer
« Reply #8 on: December 02, 2020, 01:10:50 pm »
Depending on your analyzer and if it is supported, try John's PN.exe.

http://www.ke5fx.com/gpib/pn.htm

The problem with most analyzers is the noise floor is no where near low enough to measure PN of anything but possibly RF synthesizers, poorly performing DDS units, etc.  I've been trying to measure PN with many analyzers and gave up.  I found a relatively low-cost way to measure PN, low cost in that it is under $1200 or so.  The noise floor is below -180dBc which is relatively good for such a low cost setup.

This setup is based on a method of using a reference quadrature double balanced mixed signal to translate the DUT oscillator signal to baseband removing the carrier in the process with the noise remaining.  The remaining noise is then amplified above the noise level of a baseband analyzer for display. I use an HP 3562a but there are others including low noise PC audio cards.  I've not had a lot of success with this method as I don't seem to have the low noise amplification needed.  But before I solved that I found the FPGA method and decided to invest in it.

Jerry

Is that the same basic idea as notching out the fundamental with a twin-T filter when measuring audio distortion?
 

Offline Mrt12Topic starter

  • Regular Contributor
  • *
  • Posts: 132
  • Country: ch
Re: Noise measurement with spectrum analyzer
« Reply #9 on: December 02, 2020, 01:51:30 pm »

Is that the same basic idea as notching out the fundamental with a twin-T filter when measuring audio distortion?


not quite. You need a second oscillator which has much better performance than the DUT and a PLL. Then, the DUT is mixed (heterodyned...) with this auxiliary oscillator. The PLL enforces the mixer DC output voltage to zero such that the two oscillators are in quadrature.
The mixer DC output voltage contains the phase noise spectrum of both oscillators. It can be amplified and measured with a spectrum analyzer.

 

Offline SilverSolder

  • Super Contributor
  • ***
  • Posts: 6126
  • Country: 00
Re: Noise measurement with spectrum analyzer
« Reply #10 on: December 02, 2020, 02:59:10 pm »

Is that the same basic idea as notching out the fundamental with a twin-T filter when measuring audio distortion?


not quite. You need a second oscillator which has much better performance than the DUT and a PLL. Then, the DUT is mixed (heterodyned...) with this auxiliary oscillator. The PLL enforces the mixer DC output voltage to zero such that the two oscillators are in quadrature.
The mixer DC output voltage contains the phase noise spectrum of both oscillators. It can be amplified and measured with a spectrum analyzer.

So a kind of very precisely controlled double balanced mixer that suppresses both the DUT and local oscillator, leaving just the "garbage" for analysis?   Sounds like a cool idea!
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 16621
  • Country: us
  • DavidH
Re: Noise measurement with spectrum analyzer
« Reply #11 on: December 02, 2020, 10:38:45 pm »
It is straightforward to combine the RMS measurement and RBW to get the noise density at any one point while other measurements require a correction factor which may not be available.

This is also what makes noise measurements using the FFT on a DSO difficult; you have to do the correction for RBW and FFT window yourself.

Is it possible to sample noise with a SA by taking a sequence of point measurements so the RBW "borders" touch each other, over the frequency band of interest?

I do not know why you would do that or that it would have any advantage.  Once you know the RBW, which depends on the filter's bandwidth and shape factor or FFT bin width and FFT window, and have the RMS measurement, then that is all you need to calculate the noise at one point.
 

Offline SilverSolder

  • Super Contributor
  • ***
  • Posts: 6126
  • Country: 00
Re: Noise measurement with spectrum analyzer
« Reply #12 on: December 03, 2020, 01:17:22 am »
It is straightforward to combine the RMS measurement and RBW to get the noise density at any one point while other measurements require a correction factor which may not be available.

This is also what makes noise measurements using the FFT on a DSO difficult; you have to do the correction for RBW and FFT window yourself.

Is it possible to sample noise with a SA by taking a sequence of point measurements so the RBW "borders" touch each other, over the frequency band of interest?

I do not know why you would do that or that it would have any advantage.  Once you know the RBW, which depends on the filter's bandwidth and shape factor or FFT bin width and FFT window, and have the RMS measurement, then that is all you need to calculate the noise at one point.

Sometimes you want to known the noise in a specific bandwidth?  - can the RBW be set for a specific range, e.g. 20Hz - 20KHz to measure an audio amp?  I was thinking you might have to use e.g. 1KHz RBW repeatedly until the range was covered...

 

Offline cncjerry

  • Supporter
  • ****
  • Posts: 1283
Re: Noise measurement with spectrum analyzer
« Reply #13 on: December 03, 2020, 02:38:30 am »
I think John`s PN.exe measures the 1hz noise at selected points, preventing the long, full plots from 100hz to 1Mhz.  Again, it works but is limited by the noise floor of most analyzers I can afford.
 
The following users thanked this post: SilverSolder

Offline SilverSolder

  • Super Contributor
  • ***
  • Posts: 6126
  • Country: 00
Re: Noise measurement with spectrum analyzer
« Reply #14 on: December 03, 2020, 12:42:27 pm »
I think John`s PN.exe measures the 1hz noise at selected points, preventing the long, full plots from 100hz to 1Mhz.  Again, it works but is limited by the noise floor of most analyzers I can afford.

It also assumes the noise is evenly distributed?
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 16621
  • Country: us
  • DavidH
Re: Noise measurement with spectrum analyzer
« Reply #15 on: December 03, 2020, 09:23:02 pm »
I do not know why you would do that or that it would have any advantage.  Once you know the RBW, which depends on the filter's bandwidth and shape factor or FFT bin width and FFT window, and have the RMS measurement, then that is all you need to calculate the noise at one point.

Sometimes you want to known the noise in a specific bandwidth?  - can the RBW be set for a specific range, e.g. 20Hz - 20KHz to measure an audio amp?  I was thinking you might have to use e.g. 1KHz RBW repeatedly until the range was covered...

That is called a spot noise measurement.  You can either integrate the noise density over the bandwidth of interest to calculate the spot noise, or create a filter of the appropriate bandwidth and shape factor to measure the spot noise directly.  The results will be the same and you can roughly convert between the two.

Back before DSOs with FFT capability were common, the options were to use a spectrum analyzer to measure noise density or to make a spot noise measurement with a filter and RMS detector.  The later method is actually very easy to do on an analog oscilloscope if you can filter the input signal.  Some analog oscilloscopes supported variable low and high pass filters exactly for this sort of application.

 
The following users thanked this post: SilverSolder

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 16621
  • Country: us
  • DavidH
Re: Noise measurement with spectrum analyzer
« Reply #16 on: December 03, 2020, 09:27:47 pm »
I think John`s PN.exe measures the 1hz noise at selected points, preventing the long, full plots from 100hz to 1Mhz.  Again, it works but is limited by the noise floor of most analyzers I can afford.

It also assumes the noise is evenly distributed?

No, it means that the noise is measured over a 1 HZ bandwidth at the frequency of interest, which results in the noise spectral density at that frequency of either Volts^2 / Hz or Volts / SqrtHz.  If you were making a spot noise measurement which encompasses a much wider bandwidth, then it does assume the noise is evenly distributed.
 
The following users thanked this post: SilverSolder


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf