Homebrew Spectrum Analyzer

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
hi
If you guys want to get serious with this SA stuff.
1) Get familar with the tuner you are gonna use. ie learn I2C to tune it. Do Not open the PLL loop. Most cheat by running it open loop with all the badness that this implies ie freq drift, FM/PM noise,low PSRR.
2) A lot of the work will be in the freq. span circuitry. Now the LO PLL loop will try to fight it at lower span rates. Then the tricks come in here.
 
Haha, the tuner I'm using didn't have a PLL in the first place. However, I simply selected that one because I could get going with only the implementation of a simple sweep generator.

I do agree, and in the future this probably will be I2C controlled.


I have two AD8307 chips on sample order now; those should be here in about a week.

The other thing I may do is instead of using a tuner with I2C; design a PLL that is voltage/current controlled like the old days. This eliminates the necessity for computer control. Part of the reason for this is that I have a 10MHz time base accurate to six digit precision which will be disciplined in the future by a GPS receiver. (I know I could also use this time base with an I2C chip as well.)

We'll see what happens as this goes along. For now I'm waiting for the AD633 chips to show up. These are wideband balanced modulators which I intend to use in implementing the audio frequency input function. The 633 functions to 2MHz. I will use the 1MHz output of my timebase with the AD633 to be modulated by audio as double-sideband-supressed-carrier (DSBSC), then filter off one sideband (the lower one), and use this again in another heterodyne circuit to get it into the low 100MHz region so it can be sent directly to the analyzer.

More later.
 
Administrator
Joined 2004
Paid Member
Very cool project!

A year or so ago I was seriously trying to do this, too. Was inspired by the "Poor Man's Spectrum Analyzer". Also bought some stuff off eBay.

The problem for me was that I wanted to do audio band and above, maybe out to 3Mhz - for working on Class-D stuff. But no tuner would cover that band.

Asked the guys at science-workshop about it, they couldn't help, as they didn't know any tuners that would work for that range.

So I'm VERY intersted to know how you will get the lower frequencies. That would rule!
 
If you perform AM modulation of a carrier with audio, you get a carrier and sidebands as output. Each sideband is the carrier frequency plus or minus the audio frequency. The sidebands literally exist on either side of the carrier.

If you look at one of these sidebands on the spectrum analyzer, you find that it is actually showing the spectrum of the audio that you modulated the carrier with.

If you modulate SSBSC (Single Side Band Supressed Carrier), you end up with nothing but a sideband, which could be of a frequency that any TV tuner will accept.

What you've basically done here is converted the audio band up to a radio frequency band that the analyzer can look at.

My intention with the AD633 chip is exactly as above. It is a doubly balanced modulator which will accept frequencies as low as DC and as high as about 2MHz. I can modulate a 1MHz carrier with audio, then upshift that to maybe 50 or 100MHz for the tuner, and be on my way.

(At least in theory ;))
 
The next design issue I face in the prototype right now is that of a suitable IF bandpass filter. This is because the output IF of a TV tuner is 6MHz wide, which is useless if you want any sort of resolution from the analyzer.

I can't decide whether to try a crystal ladder filter, a storebought filter of some sort, or who knows what.

Finding a crystal with a fundamental around 45MHz is probably going to be very difficult now that I think of it.
 
Hi Duo
Are you replacing the TV tuners filter? The tuners usually have 45MHz SAW filter. The AD8307 data sheet has some usefull info on a tuned matching circuit for the IF input that has good additional LF rejection. I think its possible to use overtone crystals for a filter but this narrow band filter would be project unto itself I think. Maybe add another conversion to DC with digital LP filters would be the most flexible design.
 
From the manual of the Tektronix 5L4N:

Variable Resolution

The variable resolution circuit consists of four amplifier
stages, each containing a crystal filter with variable
bandwidth from 10 Hz or less to 3 kHz. Automatic
bandwidth variation, as a function of sweep rate and span,
is a feature of each stage. Gain compensation maintains a
constant output level as the bandwidth is changed. The
signal level at TP404 is 2 V p-p for full screen display in
10 dB/DIV mode.


The first stage consists of an operational amplifier
driving the input of a crystal filter. Gain is about two. T320
provides about a 4:1 current gain to drive the crystal in
narrow bandwidth. Resonant frequency of the circuit is
250 kHz. Adjustment C328, in series with the crystal, sets
the resonant frequency of the crystal. Adjustment C324
neutralizes the effects of crystal parallel capacitance and
is adjusted for response symmetry at 20 dB down.


A parallel resonant circuit, in the output of the crystal,
consisting of L324, C324, plus stray circuit capacitance to
ground, is tuned to a center frequency of 250 kHz. The Q
of the circuit determines the response bandwidth. R325
sets circuit Q and is adjusted so the bandwidth, at 1.2 dB

5-3
Circuit Description — 5L4N
down, is about 3 kHz when the resolution bandwidth is set
for maximum. The output load for the crystal, and
consequently the bandwidth of the filter, is determined by
the shunt load of the photo-resistor-LED 1C (U338) in
series with gain adjustment R330. The resistance of this
photo resistor determines the actual operating bandwidth
of the stage and varies from about 200 k n at maximum
bandwidth, to about 250 Q for minimum bandwidth. The
resistance of the photo resistor is a function of the current
through its LED, which in turn is set by the front panel
RESOLUTION control or the automatic resolution circuit.


As the resolution bandwidth decreases, the load on the
crystal filter decreases the output voltage by an amount
proportional to the current through U338 and R330. This
generates a compensating current out of Q335 that is
summed with the output current of Q330 to maintain a
constant input drive current for second operational
amplifier stage Q350 and Q360. Gain from the first to
second stage is determined by the ratio of R356 to R328,
so the drive level to the next crystal is a 2 V peak-to-peak
signal for full screen deflection in the 10 dB/Div mode.
The gain of the remaining two stages is unity, therefore,
this 2 V peak-to-peak signal level is maintained through
the fourth stage.


As previously stated, control of the bandwidth is
accomplished by changing the current through the LED's
for the photo resister IC's. The LED of each package is in
series to the +30 V supply. Each stage is decoupled to
prevent interaction. Current is determined by the voltage
input to operational amplifier U340B. The voltage from the
resolution control circuits (at pin S) is transferred into an
exponential current to allow summing the voltages
proportional to the span and sweep rate. This provides a
voltage and current that automatically controls the resolu-
tion. Q340A is thermal compensation for Q340B.


The output stage contains a two pole bandpass filter
with a bandpass about 6 kHz at 250 kHz center frequency.
This reduces the level of wide band noise that is generated
by the VR circuit and passed on to the display function
amplifier circuit. Transistor Q420 provides the isolation
between the VR circuit and the function IF and provides
gain. The output is normalized at approximately 0.7 V
peak-to-peak for a full screen display level at 10 dB/Divby
R424.
 
Infinia: I have not planned on modifying the tuner at all at this point. I was simply going to add more filtering on its IF output to allow for narrow enough bandwidth to get good resolution. Perhaps it may make it easier to design a filter if I downconvert the IF to a lower frequency. I'm not interested in getting into digital filters here. This is not intended as a high end analyzer. I will do what I have to in the analog domain to get decent operation, I know it has been done before.

jackinnj: I haven't seen that specific article but it seems to go along with what I'm doing. Where did you get that manual for the Tek analyzer. Do you have that analyzer?
 
I have 2 of them, one was a junker that was missing one of those proprietary Tektronix chips -- turns out that there was an identical chip in a Tektronix timebase.

You need the patience of Job to adjust the 5L4N.

If I get around to it I'll scan the schematic -- why don't you make life a little complicated and use a 2nd IF -- then the variable resolution would be much easier.
 
There have been acouple of articles in QST and QEX -- this is a dual conversion spectrum analyzer -- if you get the IF down to 100 or 250 kHz then you can easily make the crystal filters

http://www.arrl.org/tis/info/pdf/9808035.pdf

fwiw, there is an HP 3581A "Wave Analyzer" going on EBay for $10 -- this is an incredible instrument for that price -- for a spec analyzer all you need is an HP 3581A and some rudimentary programming skills with microprocessors.

if you see an HP 3586 selective level meter -- it can also be pressed into service as a spec analyzer -- another incredible instrument which goes for a song on EBay.
 
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.