24
Introduction to Synchronization Frequency, Time, and Phase Derek Kozel September 14, 2016

Frequency, Time, and Phase - Derek Kozel · 2020. 6. 17. · • Carrier has frequency and phase information • Received signals are mixed with a carrier generated locally 3

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Frequency, Time, and Phase - Derek Kozel · 2020. 6. 17. · • Carrier has frequency and phase information • Received signals are mixed with a carrier generated locally 3

Introduction to SynchronizationFrequency, Time, and Phase

Derek KozelSeptember 14, 2016

Page 2: Frequency, Time, and Phase - Derek Kozel · 2020. 6. 17. · • Carrier has frequency and phase information • Received signals are mixed with a carrier generated locally 3

table of contents

1. Introduction

2. Frequency

3. Time

4. Phase

5. Conclusion

1

Page 3: Frequency, Time, and Phase - Derek Kozel · 2020. 6. 17. · • Carrier has frequency and phase information • Received signals are mixed with a carrier generated locally 3

Introduction

Page 4: Frequency, Time, and Phase - Derek Kozel · 2020. 6. 17. · • Carrier has frequency and phase information • Received signals are mixed with a carrier generated locally 3

• GNU Radio has many DSP synchronization blocks, not talking about them• Synchronization of the physical radio(s)• Frequency, Time, Phase• Overview of the problem

2

Page 5: Frequency, Time, and Phase - Derek Kozel · 2020. 6. 17. · • Carrier has frequency and phase information • Received signals are mixed with a carrier generated locally 3

Frequency

Page 6: Frequency, Time, and Phase - Derek Kozel · 2020. 6. 17. · • Carrier has frequency and phase information • Received signals are mixed with a carrier generated locally 3

carrier frequency

• Baseband signals are mixed with a carrier for transmission• Carrier has frequency and phase information• Received signals are mixed with a carrier generated locally

3

Page 7: Frequency, Time, and Phase - Derek Kozel · 2020. 6. 17. · • Carrier has frequency and phase information • Received signals are mixed with a carrier generated locally 3

carrier generation

• Frequency accuracy and stability depends on the reference oscillator• Usually a fractional-N based synthesizer

4

Page 8: Frequency, Time, and Phase - Derek Kozel · 2020. 6. 17. · • Carrier has frequency and phase information • Received signals are mixed with a carrier generated locally 3

fractional n synthesizers

• Generate output frequencies from a reference using a control loop comparingphases

5

Page 9: Frequency, Time, and Phase - Derek Kozel · 2020. 6. 17. · • Carrier has frequency and phase information • Received signals are mixed with a carrier generated locally 3

sample clocks

• ADCs and DACs often accept external clock signals• Sampling clock offsets present as time shifts• Sampling clock jitter presents as phase noise

6

Page 10: Frequency, Time, and Phase - Derek Kozel · 2020. 6. 17. · • Carrier has frequency and phase information • Received signals are mixed with a carrier generated locally 3

grades of references

Fractional Frequency Error = Frequencymeasured − FrequencynominalFrequencynominal

Source Accuracy Error1

Crystal 10−5 1 Hz at 100 kHzTCXO 10−6 1 Hz at 1 MHzOCXO 10−8 1 Hz at 100 MHzRubidium 10−11 1 Hz at 100 GHzCesium 10−14 1 Hz at 100 THz

1https://www.febo.com/pages/stability/

7

Page 11: Frequency, Time, and Phase - Derek Kozel · 2020. 6. 17. · • Carrier has frequency and phase information • Received signals are mixed with a carrier generated locally 3

Time

Page 12: Frequency, Time, and Phase - Derek Kozel · 2020. 6. 17. · • Carrier has frequency and phase information • Received signals are mixed with a carrier generated locally 3

time sensitive operations

• Many applications require high precision timestamps• Timestamping on the host is degraded by processing and transport latency• Useful, or essential, to have time available on the device• Tuning, Antenna switching, start/stop of sampling

8

Page 13: Frequency, Time, and Phase - Derek Kozel · 2020. 6. 17. · • Carrier has frequency and phase information • Received signals are mixed with a carrier generated locally 3

1 pulse per second

• Precision timing source• Commonly output by GPSDOs

9

Page 14: Frequency, Time, and Phase - Derek Kozel · 2020. 6. 17. · • Carrier has frequency and phase information • Received signals are mixed with a carrier generated locally 3

gps time references

• Globally available time reference• 10-50 nS accuracy• Good enough for frequency and (usually) time synchronization• At 200 MSPS equates to a 2-10 sample error• Can be onboard or external

10

Page 15: Frequency, Time, and Phase - Derek Kozel · 2020. 6. 17. · • Carrier has frequency and phase information • Received signals are mixed with a carrier generated locally 3

Phase

Page 16: Frequency, Time, and Phase - Derek Kozel · 2020. 6. 17. · • Carrier has frequency and phase information • Received signals are mixed with a carrier generated locally 3

phase synchronization

• Remember, we’re talking about physical phase synchronization• Beamforming, Direction Finding, self cancellation have strict phase synchronizationrequirements

11

Page 17: Frequency, Time, and Phase - Derek Kozel · 2020. 6. 17. · • Carrier has frequency and phase information • Received signals are mixed with a carrier generated locally 3

synthesizers revisited

• Phase ambiguities introduced because of dividers and architecture• Many synthesizers can synchronize their output signal’s phase with respect to theinput reference

• Sometimes automatic, sometimes requires external signals

12

Page 18: Frequency, Time, and Phase - Derek Kozel · 2020. 6. 17. · • Carrier has frequency and phase information • Received signals are mixed with a carrier generated locally 3

timed commands

• Phase synchronization is always between two or more signals• Requires frequency synchronization first• Requires time synchronization (or shared signals) for commands to the synths

13

Page 19: Frequency, Time, and Phase - Derek Kozel · 2020. 6. 17. · • Carrier has frequency and phase information • Received signals are mixed with a carrier generated locally 3

phase offsets

• Even with frequency and time alignment and phase resync offsets may still exist• Differences in layout between channels on multichannel receivers, cable lengths,thermal...

• Easy to calibrate as long as offsets are constant across tunes and power cycles

14

Page 20: Frequency, Time, and Phase - Derek Kozel · 2020. 6. 17. · • Carrier has frequency and phase information • Received signals are mixed with a carrier generated locally 3

phase offset measurement

• Multiplying one signal by the complex conjugate of another gives the offset• A correction can be applied to each signal using a multiplication

15

Page 21: Frequency, Time, and Phase - Derek Kozel · 2020. 6. 17. · • Carrier has frequency and phase information • Received signals are mixed with a carrier generated locally 3

Conclusion

Page 22: Frequency, Time, and Phase - Derek Kozel · 2020. 6. 17. · • Carrier has frequency and phase information • Received signals are mixed with a carrier generated locally 3

summary

• Different applications require different levels of synchronization• Shared physical references are convenient but still require attention to detail• GNU Radio has a variety of DSP based synchronization utilities

16

Page 23: Frequency, Time, and Phase - Derek Kozel · 2020. 6. 17. · • Carrier has frequency and phase information • Received signals are mixed with a carrier generated locally 3

questions

Questions?

The latest version of these slides can always be found athttp://www.derekkozel.com/talks

@derekkozel

17

Page 24: Frequency, Time, and Phase - Derek Kozel · 2020. 6. 17. · • Carrier has frequency and phase information • Received signals are mixed with a carrier generated locally 3

colophon

The presentation was created using XeTeX and Beamer using the Metropolis theme.

github.com/matze/mtheme

The theme itself is licensed under a Creative Commons Attribution-ShareAlike 4.0International License.

cba