To: | [email protected] |
---|---|
Subject: | Re: LF: Spectrum Lab Question |
From: | [email protected] |
Date: | Sun, 17 Nov 2002 17:08:35 EST |
Reply-to: | [email protected] |
Sender: | <[email protected]> |
Hello Richard,
You wrote: >> I am implementing a RX drift cancelling system for some experiments that I am doing. Basically the idea is that alongside the wanted signal, I will put a stable carrier. I then want to use Spectrum Lab to correct for drift by using the recovered carrier as a reference for an oscillator/mixer such that downward shifts in the carrier due to RX drift wi ll shift the oscillator such that the drift is eliminated after the mixer. << Well, it it possible to set the frequency of one of the oscillator function blocks to the peak frequency in a narrow frequency band. SpecLab has a kind of "script language" built inside, there is a function which returns a very accurate peak frequency value ("peak_a(freq1, freq2") , and there is a procedure which can set the frequency of an oscillator to a specified frequency ("circuit.osc[0].freq=X"). I tried this instruction: circuit.osc[0].freq=650-peak_f(500,800) which detects the peak frequency in the range 500 Hz..800 Hz, subtracts it from the "wanted" center frequency (here: 650 Hz) and sets the 1st oscillator to the result (which may be a negative frequency, which is no problem for an oscillator with quadrature output). I used the "USB UP-CONVERTER" driven by this oscillator in the test. In the output, the peak was always at 650 Hz then. To connect the L.O. to the detected peak frequency, you must convince the interpreter to do this periodically. I achieved this by copying the instruction into the "periodic action" window (which is normally used to trigger screen captures) and set the interval to 1 second (which unfortunately is the lowest value, so this "drift compensator" is only updated once per second). Connect the main spectrum analyzer to the INPUT signal, not to the OUTPUT; because the "peak_f" function takes its input data from the main spectrum analyzer. If you need further info please ask. More info will go directly to you, because this topic may be too 'special' for this reflector. Regards and good luck, Wolf DL4YHF. |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | LF: When you fix one thing..., Alberto di Bene |
---|---|
Next by Date: | LF: Re.73kHz Transatlantic., g3ldo |
Previous by Thread: | LF: Re.73/136kHz Transatlantic., Laurie Mayhead |
Next by Thread: | LF: RE: Argo V1 build 130 released, Gasparik Richard |
Indexes: | [Date] [Thread] [Top] [All Lists] |