Top Banner
RF System Synchronization Baseband Daniel Jepson SDR Group Manager, National Instruments
38

RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

Apr 18, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

RF System Synchronization – Baseband

▪ Daniel Jepson – SDR Group Manager, National Instruments

Page 2: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

ni.comNI CONFIDENTIAL

RF Systems: Baseband

Page 3: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

Application for Baseband Synchronization

http://www.ni.com/en-us/innovations/white-papers/14/5g-massive-mimo-testbed--from-theory-to-reality--.html

Page 4: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

Typical SDR Device

DDCbus

interface

FPGA, ASIC, etc

Filter Filters DSAADC

Baseband

Clocking

Local

Oscillator (LO)

10 MHz

Reference

Baseband Subsystem RF Subsystem

Page 5: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

Typical SDR Device

DDCbus

interface

FPGA, ASIC, etc

ADC

Baseband

Clocking

10 MHz

Reference

Baseband Subsystem

1:n

Fanout

Reference Clock

Input & Fanout

Page 6: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

Typical SDR Device

DDCbus

interface

FPGA, ASIC, etc

ADC

Baseband

Clocking

10 MHz

Reference

Baseband Subsystem

Converter Clock PLL

VCO

Page 7: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

Typical SDR Device

DDCbus

interface

FPGA, ASIC, etc

ADC

Baseband

Clocking

10 MHz

Reference

Baseband Subsystem

Time & Triggers

Page 8: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

ni.comNI CONFIDENTIAL

Building a Synchronized System

Page 9: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

The Basics

▪ Start with a single device and maybe even a single channel

Reference

Clock

Host

Computer

RF Signal

Page 10: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

“Viewing” Synchronization: the Clocks

Reference

Clock

Converter

Clock

10 MHz

100 MHz

Page 11: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

“Viewing” Synchronization: the Data

Baseband

RF Signal

Page 12: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

Increasing Device Count

splitter

Page 13: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

Increasing Device Count

Reference

Clock

Device A

10 MHz

100 MHz

Reference

Clock

Device B

Page 14: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

Increasing Device Count

Baseband

RF Signals

Page 15: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

Shared Reference Clocks

splitter

splitter

Page 16: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

Shared Reference Clocks

Reference

Clock

Device A

10 MHz

100 MHz

Device B

Page 17: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

Shared Reference Clocks

Baseband

RF Signals

1 Converter

Clock period

Page 18: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

Unrelated Clock Rates

Reference

Clock

Device A

10 MHz

25 MHz

Device B

1:2 Phase Ambiguity

due to R=2

Page 19: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

Unrelated Clock Rates

Baseband

RF Signals

½ Converter

Clock period

Number of Quantization Steps = R divider value

Page 20: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

PPS for Time Coherence

▪ Pulse per Second: identifies a single Reference Clock edge on all devices

▪ Allows multiple devices using the same Reference Clock to align themselves to

a common “timebase”.

▪ Used for PLL resets, timekeeper alignment, and acquisition start/stop.

Page 21: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

Adding Time

splitter

splitter

splitter

Page 22: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

Adding Time

Baseband

RF Signals

1 Reference

Clock period

+

½ Converter

Clock period

Page 23: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

Closing Timing

Setup

Time

Hold

Time

PPS

Input

10 MHz

Reference

PPS

Input

10 MHz

ReferenceD Q

Keep-

out!

Page 24: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

Closing Timing

Setup

Time

Hold

Time

PPS

Input

10 MHz

Reference

PPS

Input

10 MHz

ReferenceD Q

Keep-

out!

Page 25: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

Timing with the PPS

▪ Timing between PPS and the Reference Clock must be closed at the FPGA or

ASIC used to control the device

▪ Published numbers may exist on the setup and hold time required for the PPS

with respect to the Reference Clock at the ports of the SDR equipment

▪ Practical Implementation Pitfalls:

▪ PPS should be driven from the same clock domain that receives it

▪ Match the cable lengths of the clock and PPS to each SDR device as closely as possible

▪ Use the same topology (star or daisy-chained) for all devices

Page 26: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

Cleaning Up

Baseband

RF Signals

< 1 ns

Page 27: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

Further Considerations

▪ Devices should be at a constant (or identical) temperature

▪ Buffers and board traces have different propagation delays

▪ PLLs (for the converters and LOs) tend to drift

▪ Close timing between PPS & Reference Clock into the device, but also close

timing at your PLL for the reset pulse

▪ Remember to account for variations in your Reference Clock distribution and

generation device, which directly contributes to your overall uncertainty

Page 28: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

ni.comNI CONFIDENTIAL

Geographically Distributed Systems

Page 29: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

Very, Very Long Cables

▪ Practically only work up to a few meters long

▪ Changes in temperature and bend radius of the cable affect the time delay

through it

▪ All devices must have length-matched cables

Page 30: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

GPS

▪ Once locked to a satellite, the reference clocks will align world-wide

▪ Alignment is typically poor compared to cabled synchronization; expect 10s of

nanoseconds

▪ Local clocks inherit the accuracy of the satellite’s oscillator

Page 31: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

White Rabbit

▪ Ethernet-based synchronization protocol using optical cables and specialized

transceivers up to 10 km

▪ Extension of the IEEE 1588 PTP for time references

▪ Synchronous Ethernet (SyncE) is used for distributing clock references

▪ Typical performance is better than 1 ns!

https://kb.ettus.com/Using_Ethernet-Based_Synchronization_on_the_USRP%E2%84%A2_N3xx_Devices

Page 32: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

White Rabbit System Setup

200ms alignment!

Page 33: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

ni.comNI CONFIDENTIAL

Advanced Alignment

Page 34: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

For PLLs without an R-reset

▪ R-divider resets allow alignment of unrelated Reference and Converter Clock

rates

▪ Without the reset, the Converter Clock offset must be measured and

compensated for externally

VCO

R

N

Ref

Page 35: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

Measuring Phase Offset

▪ Time-to-Digital Converter

▪ Create pulses in the Reference Clock and Converter clock domains

▪ Measure the time between the pulses using analog or digital circuitry

Page 36: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

Compensation Techniques

▪ Digitally with DSP in the signal processing chain

▪ FIR filters with programmable taps based on the measured delay

▪ Digital clock shifting within the PLL

▪ Typically VCO or ½ VCO steps

▪ Injecting a phase compensation offset to the VCO input

▪ Allows fine resolution shifting, often at the cost of requiring calibration

VCO

R

N

Ref

DAC

Page 37: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

Summary

Share your Reference Clock Share a trigger (PPS) signal based on the Reference Clock

Recognize environment, equipment, and topology

variables

Page 38: RF System Synchronization Baseband - GNU Radio€¦ · PPS for Time Coherence Pulse per Second: identifies a single Reference Clock edge on all devices Allows multiple devices using

RF System Synchronization – Baseband

▪ Thank you!