Return-Path: Received: from post.thorcom.com (post.thorcom.com [195.171.43.25]) by klubnl.pl (8.14.4/8.14.4/Debian-8+deb8u2) with ESMTP id w0SBHvSP015888 for ; Sun, 28 Jan 2018 12:17:59 +0100 Received: from majordom by post.thorcom.com with local (Exim 4.14) id 1efktN-0005y7-Fp for rs_out_1@blacksheep.org; Sun, 28 Jan 2018 11:12:57 +0000 Received: from [195.171.43.32] (helo=relay1.thorcom.net) by post.thorcom.com with esmtp (Exim 4.14) id 1efktL-0005xy-S4 for rsgb_lf_group@blacksheep.org; Sun, 28 Jan 2018 11:12:55 +0000 Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]) by relay1.thorcom.net with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1efktI-0006UN-Kx for rsgb_lf_group@blacksheep.org; Sun, 28 Jan 2018 11:12:54 +0000 Received: by mail-wm0-x229.google.com with SMTP id 143so8860970wma.5 for ; Sun, 28 Jan 2018 03:12: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=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=0uOUR+KFuUJBmNuAjvNeJtdqUOxFoFQ9KUf8YJGR434=; b=AElqqSEIUkte0LQ1mwaS+n2qw9+npQq4VKZasbgTptdKxc/Z+a0IumDhVYUjzSdOZU AA/6YghiKVtarEwSaMYpVssI8n3QfXOeblwfrRUosbV1lO6ReB0d/Nknysisj3cpWZSu 4lS6CXYPrypYoh9O6ItFLDK8EIcIqYeqPWWfCfymukfnLPU+YG/CMkMoUlC1ZYp4/DSj pHvaCNrv/QIwFN7Xb4fU4ZGwRrXfxlca/8PJLLOvsSRu1fU3mk+k2EmejVt08nGcITYe BS4UslFbN1VZ5fn7C8VnPd+BiXsYJkjRb8fwuLdFJV9WXbFxTMFvNSy/Ev7vXcWbNkum m9eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=0uOUR+KFuUJBmNuAjvNeJtdqUOxFoFQ9KUf8YJGR434=; b=D/8kOdW+Lhd/ZbgF2emWD4FyBooLQXlPnoVAEjD4JLyztwSQ4b2WO+9NtCAV486C4q jEEq0AOJwZIyWL6SeNuXfY1C6vJS5zyZDWBy1+2onSWh+AiwMrvNBecS+X9Q/GkS0w4F /912yR4tjxmLwSzhizZxTiKYzWKdd+5QGf7dK+WfsnlMdo3hggYcl/miHTE1JC0Q7561 mR5E+VC6wvCbVi9POzrPw+1pO/D+QyxK82Q3ng/R89aGnbOZ39rhzFawg4ESYVBiOida PFOAbUnEpfyt07u5EzNUt6SSOfr+P9njxSl5B+IKSxaUueJ8f8aKAwxKuwT2uPGWXVFX hnnA== X-Gm-Message-State: AKwxyteqU403qbH93BZMaunVejTTuEc2jhFzV/LuE3RnRqGuY4K75WEX eEG5o8vEAeH7lXq8w/FYERuRI2YNUT08Sre8YOE= X-Google-Smtp-Source: AH8x2247DHiGbFFBmw3GP9S+tR4dmlEKm23QKSz3wi36B4Idmy/HqB6Djl+PxmTwUEYNCm9qIAsaIoD58hm/TlNp5hs= X-Received: by 10.80.177.13 with SMTP id k13mr41548139edd.154.1517137970868; Sun, 28 Jan 2018 03:12:50 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.179.198 with HTTP; Sun, 28 Jan 2018 03:12:50 -0800 (PST) In-Reply-To: <52dea779-7aae-aff8-1072-ad24cdcd007c@freenet.de> References: <52dea779-7aae-aff8-1072-ad24cdcd007c@freenet.de> From: Andy Talbot Date: Sun, 28 Jan 2018 11:12:50 +0000 Message-ID: To: LineOne X-Spam-Score: 0.0 (/) X-Spam-Report: Spam detection software, running on the system "relay1.thorcom.net", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Is a simple design sampling to 10 bit resolution at 80kS/s or 62.5kS/s with embedded timestamp of any interest? I have one based on a 16F688 PIC and RS422 interface running at 2M baud. At the PC end an FTDI RS422 converter interfaces to teh PC. PIC runs on a 16MHz crystal which can be locked to a reference with simple additional hardware [...] Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (andy.g4jnt[at]gmail.com) 0.0 HTML_MESSAGE BODY: HTML included in message 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-Scan-Signature: 80dfd4418e586cee7526d670ae10acbc Subject: Re: LF: Testing Audioinjector Octo with RPi3 Content-Type: multipart/alternative; boundary="f403045c3d6ad4348d0563d435b0" X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on post.thorcom.com X-Spam-Level: X-Spam-Status: No, hits=0.1 required=5.0 tests=HTML_FONTCOLOR_UNSAFE, HTML_MESSAGE autolearn=no version=2.63 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 --f403045c3d6ad4348d0563d435b0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Is a simple design sampling to 10 bit resolution at 80kS/s or 62.5kS/s with embedded timestamp of any interest? I have one based on a 16F688 PIC and RS422 interface running at 2M baud. At the PC end an FTDI RS422 converter interfaces to teh PC. PIC runs on a 16MHz crystal which can be locked to a reference with simple additional hardware The 80kHz version just sends samples in two RS422 bytes. The 62.5kHz version embeds a timestamp into the data stream derived from dividing down the clock, this is set at startup by reading from GPS. I know it's not as fast or multi channel as RPI etc solutions, but RS422 on a twisted pair (or perhaps optical fibre) is the solution that will give one of the best noise and spurious decoupling options around. Others in the PIC family, DsPICs have 12 bit A/D and the serial interface data format has been design with 12 bit words in mind Andy G4JNT On 28 January 2018 at 10:38, Wolfgang B=C3=BCscher wrot= e: > Hello Paul and all, > > Thanks for the detailed analysis (even though the reason for the > sampling-point jitter is still unknown). > Perhaps it's time to start developing our own A/D conversion hardware. > There are fantastic ARM Cortex-M microcontrollers out there, with nice fa= st > multi-channel A/D converter, hardware timers (with the usual Capture / > Compare feature) that can be clocked from an internal PLL (crystal clock > frequency * N / M). Such a *hardware*-timer can capture the timer value > with a resolution of a few nanoseconds (no pulse interpolation required), > to synchronize everything -maybe even the CPU's own clock- to GPS, etc. > > The long-term availability of development boards from manufacturers like > NXP and ST may be questionable, but some of ST's very affordable evaluati= on > boards have been around for some years. > > For example, STM32F373 with a traditional 12-bit ADC (with multiplexed > inputs and DMA support), plus .. > > "3x 16-bit sigma-delta ADCs, with up to 21 single or 11 differential > channels and seven programmable gains per channel" > > Each of these high-precision ADCs samples up to 50 kS/second, which isn't > spectacularly fast. But there are certainly other devices around with a b= it > more punch, at the expense of a higher supply current and possibly more > "digital noise". > > Also, an Ethernet interface instead of the dreadful USB would be nice to > have.. > > Greetings, > Wolf . > > > > > > On 27.01.2018 22:47, Paul Nicholson wrote: > >> >> So far I haven't been able to improve the PPS jitter of the >> Octo any better than 200nS. >> >> Significantly, when I give it a PPS from the PPS bus that >> supplies the three M-Audio cards used for VLF reception, it >> still does no better than 200nS, while at the same time the >> three VLF channels using the same PPS operate with some 30 to >> 50nS jitter. >> >> The input seems clean and low noise, and I can't see anything >> in the data sheet for the CS42448 that would do anything >> silly with the sample rate clock, such as a PLL or anything. >> It just divides down the 49.152 MHz crystal oscillator. >> >> So for now I've run out of ideas as to the reason for the >> jitter being four times what it could be. Perhaps tomorrow >> I'll hang some extra smoothing on the RPi/Octo power rails to >> see if that makes a difference. >> >> But, it is quite good enough as it stands for most natural radio >> tasks except for the most demanding SID monitoring, and good >> enough for all amateur radio work. It runs 6 input channels >> at 96k 24 bit samples per second, vtcard works solidly with the >> Octo interface, so long as you direct its log file to RAM disk >> such as the /run directory. With the quad core Pi 3 model B, >> vttime runs perfectly, using up one whole CPU to resample the >> six channels to UT synchronous samples. The total cost of >> a Pi, Octo, GPS module, and a box to put it in, plus a PSU >> module and a few other bits - connectors, etc, comes to less >> than =C2=A3150. >> >> Software set up is simple, it takes less than an hour to install >> and configure everything: ntpd, gpsd, vlfrx-tools. >> >> You end up with a headless and perhaps remotely sited SDR, in a >> small box running off 12V, which you connect to with Spectrum >> Lab from Windows or vlfrx-tools from Linux and you have a five >> channel GPS timestamped signal stream to play with. >> >> -- >> Paul Nicholson >> -- >> >> > > --f403045c3d6ad4348d0563d435b0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Is a simple design sampling to 10 bit resolution at 80kS/s= or 62.5kS/s with embedded timestamp of any interest?

I = have one based on a 16F688 PIC and RS422 interface running at 2M baud.=C2= =A0 =C2=A0At the PC end an FTDI RS422 converter interfaces to teh PC.
=
=C2=A0 PIC runs on a 16MHz crystal which can be locked to a reference = with simple additional hardware

The 80kHz version = just sends samples in two RS422 bytes.=C2=A0 =C2=A0The 62.5kHz version embe= ds a timestamp into the data stream derived from dividing down the clock, t= his is set at startup by reading from GPS.

I know = it's not as fast or multi channel as RPI etc solutions, but RS422 on a = twisted pair (or perhaps optical fibre) is the solution that will give one = of the best noise and spurious decoupling options around.

Others in the PIC family, DsPICs have 12 bit A/D and the serial int= erface data format has been design with 12 bit words in mind

=

Andy=C2=A0 G4JNT

On 28 January 2018 at 10:38, Wolfgang = B=C3=BCscher <dl4yhf@freenet.de> wrote:
Hello Paul and all,

Thanks for the detailed analysis (even though the reason for the sampling-p= oint jitter is still unknown).
Perhaps it's time to start developing our own A/D conversion hardware. = There are fantastic ARM Cortex-M microcontrollers out there, with nice fast= multi-channel A/D converter, hardware timers (with the usual Capture / Com= pare feature) that can be clocked from an internal PLL (crystal clock frequ= ency * N / M). Such a *hardware*-timer can capture the timer value with a r= esolution of a few nanoseconds (no pulse interpolation required), to synchr= onize everything -maybe even the CPU's own clock- to GPS, etc.

The long-term availability of development boards from manufacturers like NX= P and ST may be questionable, but some of ST's very affordable evaluati= on boards have been around for some years.

For example, STM32F373 with a traditional 12-bit ADC (with multiplexed inpu= ts and DMA support), plus ..

"3x 16-bit sigma-delta ADCs, with up to 21 single or 11 differential c= hannels and seven programmable gains per channel"

Each of these high-precision ADCs samples up to 50 kS/second, which isn'= ;t spectacularly fast. But there are certainly other devices around with a = bit more punch, at the expense of a higher supply current and possibly more= "digital noise".

Also, an Ethernet interface instead of the dreadful USB would be nice to ha= ve..

Greetings,
=C2=A0 Wolf .





On 27.01.2018 22:47, Paul Nicholson wrote:

So far I haven't been able to improve the PPS jitter of the
Octo any better than 200nS.

Significantly, when I give it a PPS from the PPS bus that
supplies the three M-Audio cards used for VLF reception, it
still does no better than 200nS, while at the same time the
three VLF channels using the same PPS operate with some 30 to
50nS jitter.

The input seems clean and low noise, and I can't see anything
in the data sheet for the CS42448 that would do anything
silly with the sample rate clock, such as a PLL or anything.
It just divides down the 49.152 MHz crystal oscillator.

So for now I've run out of ideas as to the reason for the
jitter being four times what it could be.=C2=A0=C2=A0 Perhaps tomorrow
I'll hang some extra smoothing on the RPi/Octo power rails to
see if that makes a difference.

But, it is quite good enough as it stands for most natural radio
tasks except for the most demanding SID monitoring, and good
enough for all amateur radio work.=C2=A0 It runs 6 input channels
at 96k 24 bit samples per second, vtcard works solidly with the
Octo interface, so long as you direct its log file to RAM disk
such as the /run directory.=C2=A0 With the quad core Pi 3 model B,
vttime runs perfectly, using up one whole CPU to resample the
six channels to UT synchronous samples.=C2=A0 The total cost of
a Pi, Octo, GPS module, and a box to put it in, plus a PSU
module and a few other bits - connectors, etc, comes to less
than =C2=A3150.

Software set up is simple, it takes less than an hour to install
and configure everything: ntpd, gpsd, vlfrx-tools.

You end up with a headless and perhaps remotely sited SDR, in a
small box running off 12V, which you connect to with Spectrum
Lab from Windows or vlfrx-tools from Linux and you have a five
channel GPS timestamped signal stream to play with.<= font color=3D"#888888">

--
Paul Nicholson
--




--f403045c3d6ad4348d0563d435b0--