Return to KLUBNL.PL main page

rsgb_lf_group
[Top] [All Lists]

Re: LF: Simple PIC based DDS for VLF

To: [email protected], [email protected]
Subject: Re: LF: Simple PIC based DDS for VLF
From: Andy Talbot <[email protected]>
Date: Sun, 6 Feb 2011 13:53:48 +0000
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=6+MvaZNZzAIHxVDvXXv+qvDLRyIoF7T8Q3vQU/kQ73M=; b=HRvE1SKp1QOcqhVE3IgjJUwz5ciVmhWnDlR5ssBa3kYsjPMuSDkq2v9xG2VKPJvsi5 S5h7A9YW6YjdX0Vfe8Te5QlIEMFpmaUSAuOx+ci56An3zBZbfWJk6yyGHsinaSU1fLe8 sVVzHETnWaU+PhCU41F6uAcFmGh8DXGSAJbug=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=RJLo0HQOWw2dt9mtodsBt27DcIbiNrqZ7yq7uWcxdjVEhb2SQZFsUtbBheM+O7aYWT JuUmuBpTwkJ7VKQWmM3EeSSnUVoXf4cLU1Lg4k2X5h+z439mpnL1nkJ02LRg/f0rxFQ4 HwUhxHAjuyWcRAv9RFrq4HgNmFTEolrjOYkqo=
Domainkey-status: good (testing)
In-reply-to: <[email protected]>
References: <[email protected]> <[email protected]> <[email protected]>
Reply-to: [email protected]
Sender: [email protected]
All done....
 
5 minutes to do the PIC code,
.. and an hour or so to test and update the documentation.
 
http://www.g4jnt.com/PIC_DDS.zip   now also contains  PIC code " cohFSKsrc " that generates FSK by switching between two continuously running oscillators.    The DDS clock now has to run at Fosc / 256, but with a 10MHz input, that's still just about OK for generating a 9kHz waveform.   With 20MHz input, no problem and the PIC can be overclocked up to 40MHz - well, mine could anyway, and survived.
 
Also managed to considerably shrink the size of the. PDF  http://www.g4jnt.com/PIC_DDS.pdf -   no more 5 Meg download just to get hi-res pictures embedded
 
Tnx for the idea, Wolf....
 
Andy
G4JNT

On 6 February 2011 12:05, Andy Talbot <[email protected]> wrote:
That's a very good point - having suffered this FSK-losing-coherence problem once before.  
It could all be done inside the PIC, maintaining two accumulators and then using one or the other to address the sine lookup table.   As you say, there will be a discontinuity, but hopefully not a big problem.
 
The interrupt routine is at maximum capacity, so the sampling rate will have to come down a bit to allow nearly double the instructions, but it should be possible - I'll think about it :-)
 
And something a DDS chip like the AD985x can't do !
 
Andy


 
On 6 February 2011 11:47, wolf_dl4yhf <[email protected]> wrote:
Thanks Andy, nice project.. maybe I should dig out the PIC programmer again... !

One suggestion for VLFers: A PIC doesn't cost a fortune. Build two of these generators, and clock them with the same source (GPSDO or OCXO). For the FSK simply flip between both generators. This has the *big* (cannot emphasize this enough..) advantage that if the signal is to weak to be seen as DFCW etc, we can still dig it out through a long FFT because each of the two carriers remains coherent, and can be coherently averaged as long as necessary (much longer than a single DFCW symbol). I noticed this on Stefan's signal today : With the very slow settings, all you see is a rounded hump in the spectrum because the signal isn't coherent. No chance to detect it for "DX" receivers.

Of course flipping the (FSK-) switch may cause a heavy click then (depending on the momentary phase shift between the two carriers) but I think a robust PA will survive this.

Have a nice sunday,
   Wolf .

Am 05.02.2011 19:57, schrieb Andy Talbot:
9kHz OPs may be interested in this DDS suitable for audio/ VLF using just a 16F628 PIC, , R-2R ladder and op-amp filter.   It can generate frequencies up to about 40kHz with typical DDS high resolution / frequency steps, (higher if you overclock the device)  offers two-tone FSK operation by toggling a single input line (ideal for DFCW),  The two frequencies are stored in non-volatile memory and are user-programmable from an RS232 interface using ASCII text based commands.
 
See www.g4jnt.com/PIC_DDS.zip for full details.
 
Andy
 
 



<Prev in Thread] Current Thread [Next in Thread>