[TangerineSDR] PSWS System Specification preliminary Ver 0.1

Engelke, Bill bill.engelke at ua.edu
Fri May 3 13:10:39 EDT 2019


Tom – a question for you – when you say “the FPGA does both the DE function, and via the CPU-block does the SBC
function” are you suggesting we should try to do all the processing of the SBC (which I an anticipating will be considerable) in the NIOS II that is on the FPGA chip?  While it probably would simplify things in some ways, I don’t feel confident that it will have the necessary capacity (e.g, for running a lot of GNUradio stuff).  We have been talking about a SBC like the Odroid XU4; my suggestion would be to simply specify that users have to use the specific SBC we select and design for (if they want a near-turnkey system); if they want to implement something else on their own that is fine, but would have to be technically independent.
Thoughts?   -73- Bill, AB4EJ

From: TangerineSDR <tangerinesdr-bounces at lists.tapr.org> On Behalf Of Tom McDermott via TangerineSDR
Sent: Friday, May 3, 2019 10:36 AM
To: TAPR TangerineSDR Modular Software Defined Radio <tangerinesdr at lists.tapr.org>
Cc: Tom McDermott <tom.n5eg at gmail.com>
Subject: Re: [TangerineSDR] PSWS System Specification preliminary Ver 0.1

Hi Scotty  - yes, having one synthesizer output feed two clock drivers (one per RFM) would be fine.
It's not a problem to have a phase offset, provided that offset does not change.

I don't think it's a problem to have fixed frequency on the ADC clocks. That clock is not used to tune the receiver,
the NCO in the DE is used to tune the receiver. So the DE can implement one NCO for the synchronous case,
and two NCOs for the case where we want the two receivers to tune to different frequencies.

While the spec describes SBC and DE, those two functions could theoretically co-exist on on module (for
example the Red Pitaya) where the FPGA does both the DE function, and via the CPU-block does the SBC
function.  A concern with having the FPGA do both is the lack of sufficient computational capability in the
limited CPU performance that's implemented on the FPGA die.   So the spec tries to separate the functionality
without saying where it's physically implemented.

I do hope we restrict ourselves to one implementation.  If folks can choose any SBC, any Receiver, etc. then there
will be no end of "The software doesn't work on my combination",  "My hardware receivers aren't coherent",
"My hardware is overflowing buffers", "My hardware doesn't support amplitude calibration"    ad nauseum.
The data that is produced risks being largely garbage.

-- Tom, N5EG



On Fri, May 3, 2019 at 7:08 AM Scotty Cowling via TangerineSDR <tangerinesdr at lists.tapr.org<mailto:tangerinesdr at lists.tapr.org>> wrote:
Hi Tom,

Regarding the clocks, it seems that the AD5344 addresses this problem with the cross-point switch and synchronous dividers.

We can feed two outputs with one synthesizer if we like, for a fixed (and very small) phase offset. Routing one clock output to two RF Modules is problematic, especially with LVDS outputs. Wouldn't this work?

Alternatively, we could put a clock distribution chip on the DE to take one Clock Module output and distribute it to FPGA, RFM1 and RFM2, but then we lose the capability to clock the RFMs at different frequencies (for example, when one is a TX and one is an RX).

One thing to keep in mind is that the FPGA has multiple clock inputs, so we can route one from each RFM, one from the Clock Module and one from a local oscillator and let the FPGA code decide which one to use. Of course, we would have to either let the FPGA generate the RFM clocks or route multiple clocks to each RFM to clock the ADCs directly. The reason I bring this up is that I want to use an on-board inexpensive oscillator (and no Clock Module at all) as the inexpensive, entry-level SDR. No, the performance would not be as good. But the cost would be much lower than with any clock module, and it would be selectable by simply loading the FPGA with a different image and unplugging the Clock Module.

The section 7 comment was not intended to dictate a data flow path. I just wanted to show that we need (and will have) two GbE ports to use that path in case we want to handle data in this way (for example, if the SBC cannot keep up). We can word it in whatever way makes it clear that we can do it either way. Isn't your description implementation specific also (i.e., data flows through the SBC)?

Maybe for PSWS, the data has to flow through the SBC? That is the impression I got, and I am not sure we want to restrict the architecture that way, but we could if that is our intent.

73,
Scotty WA2DFI

On 2019-05-03 04:09, Tom McDermott wrote:
Thanks for the good comments, Scotty !

Section 3:  the ADC clocks MUST come from the same one synthesizer output. If they
come from two different outputs there is a big problem...

The clocks to the two ADCs  must be (and remain) phase coherent. If the ADC clocks come
from different outputs of the synthesizer, then each time the synthesizer starts, there could
be any phase difference between the two. Further they could drift back and forth relative to one another
a little bit because of the way synthesizers work.  Thus the phase between them under
the best case would be +/- 180 degrees.  At 30 MHz that would represent +/- 45 degrees.  This
means that the baseband sampled signal at 30 MHz would also have an unknown phase
difference of +/- 45 degrees.  That completely wrecks the ability to discriminate polarization.

There can be a difference in phase between the two ADC clocks, but it must remain constant over time.
Any difference will be calibrated out when the antennas and feedlines are calibrated for phase delay.
But then the phase differences cannot change.  The only way I see to do that is to have one
synthesizer output that is distributed to the two ADC clocks.  If the ADCs are on different modules
then one clock signal has to be routed to the two of them in some manner (parallel, daisy-chained, etc.)
Maybe there is some other way but it's difficult to see.

This is one of those things that makes phase coherent receivers very difficult, and why off-the-shelf units
have to be carefully evaluated, as virtually none of the ones I've seen address this problem properly.
It's the Radio Astronomy problem.

Section 7:  The spec attempts to be implementation-non-specific.  Forcing a particular method
to distribute Ethernet data may eliminate all other potential solutions.  The approach you outline
is a really good and elegant solution, but the spec should not mandate it (it should allow it).

Section 8:  great comment.  I will restructure as you outline.

-- Tom, N5EG



On Thu, May 2, 2019 at 5:27 PM Scotty Cowling via TangerineSDR <tangerinesdr at lists.tapr.org<mailto:tangerinesdr at lists.tapr.org>> wrote:
Hi Tom,

Here are my comments on your excellent document.

73,
Scotty WA2DFI

Notes on PSWS Specification V 0.1 5 May 2019

Section 3.0
Clock module will have 4 *programmable clock* outputs:
1. FPGA
2. RF Module #1
3. RF Module #2
4. High-speed Reference Clock

In addition, two more outputs:
5. 1 PPS timing
6. 10MHz fixed reference

Clock outputs should be differential LVDS. Single ended clocks will be
too noisy, especially across a connector boundary.

The FPGA should not provide the ADC clocks, they should come directly
from the clock module. The ADC may supply a source-synchronous data
clock to the FPGA.

Section 4.0
Magnetometer interface can be I2C, SPI, serial UART or RS-485.

The magnetometer will almost certainly need to be remotely mounted. In
this case, RS-485 is recommended. We can specify two-wires for
communictions and two wires for power (typically 5V).

Section 5.0
It is not immediately clear that *each* RF Module has two synchronous
channels.

Note that the *pluggable filter* can be bypassed with a jumper, making
it optional. Maybe call it "optional pluggable filter".

Section 6.
The DE shall also be capable of sourcing or sinking UDP data streams
to/from any IP address, under direction of the host processor.

The DE will have a three-port GbE switch, connecting the FPGA, host PC
and external network. How do you want to explain this?

Section 7.0
Processing the stream from the DE is optional, since it may not be able
to process this much data. The metadata tasks will fall to the DE in
this case.

The host will not always transmit the data to the central server. The
host may direct the DE to stream data directly to the central server if
it cannot process the volume or rate of data.

Section 8.
I have been using "Command and Control Protocol" for the protocol used
between the central server and the host PC. I have been using "Local SDR
Protocol" for the protocol between the host PC and the DE.

We could use "Remote Command and Control", or "RCC" for the
host<-->central server communications, and "Local Command and Control"
or "LCC" for host<-->DE communications. Whatever we use, we should
define it.

The Remote Command and Control section seems to be missing (although you
refer to it once in section 10). Even though we don't know what the
protocol    is, I think it should be mentioned (as defined an a separate
document?)

I think we need to make a clear distinction between Remote C&C and Local
SDR C&C. We will need security and maybe encryption on the Remote C&C,
but not so much on the Local SDR protocol.



--
TangerineSDR mailing list
TangerineSDR at lists.tapr.org<mailto:TangerineSDR at lists.tapr.org>
http://lists.tapr.org/mailman/listinfo/tangerinesdr_lists.tapr.org

--
TangerineSDR mailing list
TangerineSDR at lists.tapr.org<mailto:TangerineSDR at lists.tapr.org>
http://lists.tapr.org/mailman/listinfo/tangerinesdr_lists.tapr.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tapr.org/pipermail/tangerinesdr_lists.tapr.org/attachments/20190503/d92c36b5/attachment-0001.html>


More information about the TangerineSDR mailing list