Git Product home page Git Product logo

phasefreq's Introduction

phasefreq

Phase-frequency detector PCB built around the AD9901

Design goals

  • Simple, connectorized element to replace an analog mixer in rf test setups
  • Requires only dc power to operate (no programming)
  • 10 MHz, ideally 100 MHz bandwidth (10 MHz is reasonable without impedance control in fabrication)
  • Accommodate analog input (Analog ADCMP564 comparator, with settable threshold and hysteresis)
  • Perform PFD calculation (Analog AD9901 phase-frequency discriminator, ECL logic family)
  • Low-pass filter to convert PFD output's pulse train duty cycle to a dc voltage
  • Tunable output offset, jumper-switchable sign of gain
  • This is basically a subset of the reference design in Fig. 12 of the AD9901 datasheet, which describes a complete PLL circuit with discrete comparator, PFD, VCO, divider, etc. Here we wish to implement only the comparator, phase-frequency detector, and loop filter

What is a PFD?

A phase-frequency detector (or phase-frequency discriminator) is similar to an analog mixer, in that if the LO and RF frequencies are the same, its output is proportional to the relative phase between them. However, if the LO and RF frequencies differ, a PFD will output a constant voltage whose sign indicates which of the two frequencies is larger. In this case, an analog mixer would produce IF beatnotes at the sum and difference frequencies. This second characteristic of a PFD is useful to more quickly bring a feedback system such as a PLL into lock.

Other options?

Of course, an analog mixer may be perfectly suitable for your application. More sophisticated PLL ICs contain builtin PFDs as part of the feedback loop. Some evaluation boards expose enough functionality to use them solely as a PFD, but they are prohibitively expensive for many applications where a simple PFD would be beneficial, and often need to be programmed or initialized at the point of use.

Characterization

Figure 1

Figure 1: Bidirectional phase sweep (RF and LO at 10 MHz)

Scanning the relative phase of the inputs demonstrates the linear phase detection and capture range. The location of the linear phase detection is modulo 2 pi as expected. However, when the phase is scanned away from a given phase detection range, the IF output will rail for one additional phase cycle before phase-slipping to the second capture range 4 pi away (as shown). For frequencies > 50 MHz, the ends of the phase detection range will be distorted (see AD9901 datasheet, Fig. 7).

Figure 2

Figure 2: Frequency discrimination characteristic, LO = 10 MHz

When the RF and LO frequencies differ substantially, the PFD outputs a constant voltage indicating which is higher.

Prototype

Prototype

Figure 3: revB1 prototype in 3D-printed case (lid removed)

This is the device used for the above characterization plots.

phasefreq's People

Contributors

rwpeterson avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.