EEVblog Electronics Community Forum

Electronics => Beginners => Topic started by: Chris Wilson on August 20, 2012, 03:03:59 pm

Title: Testing a low pass filter with a spectrum analyzer with no tracking generator?
Post by: Chris Wilson on August 20, 2012, 03:03:59 pm
I am building a Softrock Ensemble RXTX SDR transceiver from a kit. It's nearly done and part of the build instructions are to make a low pass filter. The RXTX can be built for one of four pre dined set of bands and I am building mine for 30, 20 and 17 meter operation. For those bands the filter in the attachment is to be built. I have a spectrum analyzer available, but no tracking generator. can I use the incrementing output of my signal generator, which goes 80KHz to 1040MHz to feed the filter input, and somehow follow it with my spectrum analyzer? I don't doubt the instructions, I am just curious to learn and actually "see" it working.  Thanks.
Title: Re: Testing a low pass filter with a spectrum analyzer with no tracking generator?
Post by: jahonen on August 20, 2012, 03:41:25 pm
You could try putting spectrum analyzer to "max hold" mode (I assume that it is not a very old analog one), and generator to sweep in frequency range of interest. After a little while, you should get a pretty good result. If your generator does not have sweep function, you could try manually wiggling the frequency around, but that is of course quite tedious approach.

Regards,
Janne
Title: Re: Testing a low pass filter with a spectrum analyzer with no tracking generator?
Post by: olsenn on August 20, 2012, 03:56:45 pm
I imagine that +1GHz signal generator is quite nice, but it's frequency response is not flat. Without a signal generator, obtaining the frequency response of your filter WON't be quick and painless, but it IS possible. At its most basic implementation, you could just put the signal generator's output to your DUT's input, and measure the DUT's output with your SA at a whole bunch of frequencies and plot it.

If you just want some basic values like the -3db dropoff etc, then you could just measure the amplitude until the voltage gets to be -3db or 0.7071 times the voltage. You can play around with the sweep function (if it's present on your generator) and different settings in the SA, but DO NOT expect your external sweep generator to act as a tracking generator; the signal needs to be synchronized to the scan rate of the SA for that to work.
Title: Re: Testing a low pass filter with a spectrum analyzer with no tracking generator?
Post by: w2aew on August 20, 2012, 10:12:01 pm
It is unlikely that you'd be able to sync the sweep of you siggen and your SA, However, there is still a way of getting the same sort of result.  What you would do would be to setup the generator to sweep the desired frequency range, and setup the analyzer to span the range of interest.  There are two things you'll need to do to make this work:
1) Ensure that the sweep speed of the generator is much slower than the sweep speed of the spectrum analyzer.  It's likely that the generator has a stepped sweep function instead of a continuous sweep.  If so, set the dwell time (the time it sits at each step in the sweep) to a value longer than the sweep time on the Spectrum Analyzer.  This will ensure that the signal is "stable" during each sweep of the analyzer.
2) Set the analyzer to display a Max Hold trace.  After many sweeps of the analyzer, your max hold trace should show you the Bode type plot that you were looking for.
Title: Re: Testing a low pass filter with a spectrum analyzer with no tracking generator?
Post by: Fraser on August 20, 2012, 10:46:16 pm
I agree with the previous comments and have used the swept sig gen with SA in Max hold to good effect. You could also consider building a simple RF noise source using a Zener diode and MMIC or Bipolar amplifier. You may not get a flat output response but you do get a nice broad band source of RF that you can 'normalise' against without the filter in circuit, and then view the response with the filter present. It works pretty well and has been used for years by Hams without expensive sig gens available. I have just bought and repaired an Advantest R3361A which includes the tracking generator....  Christmas arrived early for me  :)

I have also used swept signal generators called 'Wobulators' with a simple diode detector providing amplitude detection. These connect to the X and Y inputs of an oscilloscope and plot the RF response on the CRO display. Mine was a Wavetek 1002 but others can be found on ebay quite cheaply.

For RF noise sources look here for starters:

http://www.n5ese.com/noise.htm (http://www.n5ese.com/noise.htm)

http://www.n0ss.net/noise_generator_ac7ac-style.pdf (http://www.n0ss.net/noise_generator_ac7ac-style.pdf)

http://www.ham-radio.com/k6sti/nsrc.htm (http://www.ham-radio.com/k6sti/nsrc.htm)

http://www.qsl.net/m0ayf/Noise-source.html (http://www.qsl.net/m0ayf/Noise-source.html)

http://bytecollector.com/archive/misc/BuildYourOwnNoiseSource.pdf (http://bytecollector.com/archive/misc/BuildYourOwnNoiseSource.pdf)


Have fun

Fraser :)
Title: Re: Testing a low pass filter with a spectrum analyzer with no tracking generator?
Post by: updatelee on August 22, 2012, 02:35:44 am
youve already got a signal generator though, youve got a si570 in your softrock. and it outputs a square wave so its got massive harmonics, perfect for testing a filter :)
Title: Re: Testing a low pass filter with a spectrum analyzer with no tracking generator?
Post by: vk6zgo on August 23, 2012, 05:09:59 am
youve already got a signal generator though, youve got a si570 in your softrock. and it outputs a square wave so its got massive harmonics, perfect for testing a filter :)
Not really,as the level of the harmonics fall off as they increase in frequency,so you have to use a correction factor.
Title: Re: Testing a low pass filter with a spectrum analyzer with no tracking generator?
Post by: updatelee on August 23, 2012, 11:50:27 pm
yes of course, but just compare the with filter to without filter on your spectrum analyzer.
Title: Re: Testing a low pass filter with a spectrum analyzer with no tracking generator?
Post by: Fraser on August 24, 2012, 09:11:12 pm
"Normalise" is your friend !

If your SA has that function of course  ;)

Fraser