Return-Path: X-Spam-DCC: paranoid 1290; Body=3 Fuz1=3 Fuz2=3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on lipkowski.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DNS_FROM_AHBL_RHSBL autolearn=no version=3.1.3 Received: from post.thorcom.com (post.thorcom.com [195.171.43.25]) by paranoid.lipkowski.org (8.13.7/8.13.7) with ESMTP id tBABNJQW007865 for ; Thu, 10 Dec 2015 12:23:19 +0100 Received: from majordom by post.thorcom.com with local (Exim 4.14) id 1a6zFW-0004k0-Se for rs_out_1@blacksheep.org; Thu, 10 Dec 2015 11:19:02 +0000 Received: from [195.171.43.32] (helo=relay1.thorcom.net) by post.thorcom.com with esmtp (Exim 4.14) id 1a6zFW-0004jr-Ic for rsgb_lf_group@blacksheep.org; Thu, 10 Dec 2015 11:19:02 +0000 Received: from mail-wm0-f48.google.com ([74.125.82.48]) by relay1.thorcom.net with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86) (envelope-from ) id 1a6zEe-00010q-7T for rsgb_lf_group@blacksheep.org; Thu, 10 Dec 2015 11:19:01 +0000 Received: by wmww144 with SMTP id w144so19983457wmw.0 for ; Thu, 10 Dec 2015 03:17:52 -0800 (PST) X-DKIM-Result: Domain=gmail.com Result=Good and Known Domain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=PuqaQpwL97EJ1tZI+flo1e7aus0lfGCkINj1J0f9ZYk=; b=or5V9r4yO01GYbPF2gmiX8+BEprcvfUcxqvPVrXpiMaXvQMGiyy4xGfZsvt5E5SUx6 eQBO58e02mq85HTGQRI4+zAgbEL3NS3+kBG5VjPs1s7LVGtGGzlgqwTkXmHXiIWa8SP+ CimIZwOPICorRQwjLuFX95O23Hs57/UcgfuN+Oq0kPRCP6Aea5+oY+Dv8rR+VlnYBZKq j3hY+v3hrit+jV8TWGlg6uhYfK5Fh5H16gH+cUNlHSetnWhj9bWtt5HMCEfxOe8Y/5+L krLr1Z/54dpSNgUWKpPNw/oVeHPLvHyOgMQz1RaiUVt833Kbj73jQ0FvB5vAeVpT/+K3 J3wA== MIME-Version: 1.0 X-Received: by 10.28.225.84 with SMTP id y81mr42821024wmg.87.1449746272303; Thu, 10 Dec 2015 03:17:52 -0800 (PST) Received: by 10.28.130.139 with HTTP; Thu, 10 Dec 2015 03:17:52 -0800 (PST) In-Reply-To: <8D3014FFF98169C-15C4-278D0E@webmail-vm170.sysops.aol.com> References: <8D3014FB7E11F9E-1E50-A26A1@webmail-vm016.sysops.aol.com> <8D3014FFF98169C-15C4-278D0E@webmail-vm170.sysops.aol.com> Date: Thu, 10 Dec 2015 11:17:52 +0000 Message-ID: From: Andy Talbot To: rsgb_lf_group@blacksheep.org X-Scan-Signature: c6a8ca7629fac3d35507e5a7fd3cbf17 Subject: Re: LF: DC spike at 1 kHz Content-Type: text/plain; charset=UTF-8 X-SA-Exim-Scanned: Yes Sender: owner-rsgb_lf_group@blacksheep.org Precedence: bulk Reply-To: rsgb_lf_group@blacksheep.org X-Listname: rsgb_lf_group X-SA-Exim-Rcpt-To: rs_out_1@blacksheep.org X-SA-Exim-Scanned: No; SAEximRunCond expanded to false X-Scanned-By: MIMEDefang 2.56 on 10.1.3.10 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by paranoid.lipkowski.org id tBABNJQW007865 Status: O X-Status: X-Keywords: X-UID: 5717 Hi Markus, yes. its all done in a simple 8 bit PIC using a crafty idea suggested by G3PLX back around the year 1997, but which can now make use of the better A/D Dconverters in the later chips (Apologies to readers of last month's and the latest RadCom - you may get a sense of Deja-Vue with what follows here ) The Rx process is: digitise a Band pass Filtered signal centred on 1kHz at a sampling rate of exactly 4kHz. 10bit A/D in the PIC. Take groups of four successive samples , call these S1, S2, S3 and S4. Calculate using simple signed-integer maths I = S1+S2-S3-S4 and Q = S1-S2-S3-S4. The four samples at 4kHz are equivalent to the segments making up a pair of quadrature 1kHz square waves. The effect is to multiply the input waveform by a complex local oscillator, which being a square wave only requires multiply by +1 or -1. Output the two resulting 12 bit numbers on the RS422 interface to a PC Bandpass filtering removes frequencies below 750Hz and above 1250Hz that would otherwise alias into the wanted area. Theoretically, even with a significant A/D DC offset that would be cancelled out in the sums. I think the value I see amounts to no more than one bit in 12 of bias, but with low levels of RF in that can be seen on the FFT in 0.122Hz bins. As soon as the input signal approaches 20% or more of maximum amplitude the spike is hidden. You have, however, just this very minute, made me think of something though.... The output data is sent repeating at 1kHz so there is something in the box with real 1kHz components. Which would explain why the spike is more noticeable now I added 1kHz gain than when RF gain was in place. THAT may be it... Investigation needed Andy G4JNT On 10 December 2015 at 10:52, Markus Vester wrote: > Hi Andy, > > presumably the digital 1 kHz-to-baseband conversion is done in an FPGA or > DSP in realtime. The associated periodic processing activity or register > content could lead to a 1 kHz component radiated by the FPGA itself or it's > DC power lines. This could then leak into the analog audio input to the ADC. > Try sniffing around the FPGA with a capacitive or inductive probe. > > Downconverting from a soundcard on a PC in software usually does not suffer > from such coherent leakage, as there are variable delays due to buffering > and multitasking which effectively remove the periodicity in the CPU > activity. > > Best 73, > Markus > > -----Ursprüngliche Mitteilung----- > Von: Andy Talbot > An: rsgb_lf_group > Verschickt: Do, 10 Dez 2015 11:23 am > Betreff: Re: LF: LF EbNaut test from JN80 on 137370 > > ... > > My LF receiver appears to give a small DC spike in the centre of the > spectrum , which since it is taking input at 1kHz and multiplying in > firmware with I/Q square waves is a bit odd. That DC term wasn't > noticeable when I had the RF amplifier previously (the one that popped > with strong signals) but now gain has been moved to 1kHz IF, the line > can be seen. Perhaps an RF amplifier is necessary, but one that can > safely be overloaded > ...