On Thu, Apr 1, 2010 at 9:11 AM, George Allen <[email protected]> wrote:
> >From previous posts, it is my understanding that FLDIGI will store
> signal frequency variances in a table; however, this is not the same as
> counting for a long period of time and dividing by the number of seconds
> in the period measured.
>
>
>
> Is there a better way to get an accurate measurement to .01hz?

Do not dismiss the frequency measuring feature of fldigi out-of-hand.
It does give you a 1/2 second running average of the frequency,
measured down to the nearest 0.01 Hz (10mHz). The display on the
screen is updated every 1/2 second as well. It also biases the result
with an additional 2 second running average. Since it does this by
looking at phase shift rather than counting cycles, it does *NOT* need
to count for 100 seconds. The display is a real, smoothed, running
average of frequency based on VFO frequency plus the audio (beat)
frequency. This is *quite* accurate.

Fldigi also outputs a file containing the frequency data in
comma-separated value form. It is updated 2 times per second. You can
use this data to further smooth (average) the frequency reading. The
format of the entries in this file are as follows:

<VFO_freq>,<selected_audio_freq>,<error_value><\n>

where:

<VFO_freq> -- the frequency of the rig's VFO in Hz as read via CAT;

<selected_audio_freq> -- the audio frequency for the measurement set
into fldigi's waterfall either by clicking on the desired signal or by
entering the frequency manually, in Hz;

<error_value> -- the difference between the desired frequency setting
and the actual measured value down to the nearest 0.01Hz, i.e.

error_value = actual_measured_freq - (VFO_freq + selected_audio_freq)

<\n> -- the appropriate new-line sequence for the operating system being used.

Since both <VFO-freq> and <selected_audio_freq> are in integer Hz
values, you need error_value to see the frequency down to 10mHz
resolution.

What I had been doing is loading this file into OpenOffice Calc (the
OpenOffice equivalent to Excel) and taking an average of the error
value. My experimentation when measuring WWV has shown that there are
periodic ionospheric errors that can significantly skew the results. I
recommend plotting the error value and then constraining the raw data
values by eye prior to taking the long-term average. (And calculating
the RMS value instead of arithmetic mean is probably a good idea as
well.)

If you go to this much effort it is very worthwhile to know that there
are periodic errors in the setting of the Flex 5000's DDS oscillator.
I have plotted that over a 100Hz range and the periodicity is very
obvious in the plot. There is a peak-to-peak frequency error in the
DDS of about 120mHz (0.12Hz). I have asked Flex for the algorithm used
to calculate the DDS frequency control-word (fraction) so that I can
determine the error in any given VFO frequency setting and correct the
calculated frequency from that. So far I haven't received an answer.

So, it looks to me like the Flex 5000 with a high-accuracy reference
(I am using a Rubidium atomic clock reference), combined with fldigi,
is *almost* an ideal platform for frequency measurement. The last
piece is a way to correct for DDS frequency errors and that requires
something from Flex.

-- 
73 de Brian, WB6RQN/J79BPL

_______________________________________________
Flexedge mailing list
[email protected]
http://mail.flex-radio.biz/mailman/listinfo/flexedge_flex-radio.biz
This is the FlexRadio Systems e-mail Reflector called FlexEdge.  It is used for 
posting topics related to SDR software development and experimentalist who are 
using alpha and beta versions of the software.

Reply via email to