GPS Disciplined Oscillator
While there are plenty of open-source GPS-Disciplined Oscillator (GPSDO) designs out there, I decided to build my own to integrate a few specific features and what I think are some worthwhile performance improvements. At its core, the project uses a GNSS receiver to discipline a 10 MHz Oven-Controlled Crystal Oscillator (OCXO) for exceptional long-term frequency stability. Instead of relying on the raw timing pulse from the GNSS receiver, the unit generates its own Pulse-Per-Second (PPS) output derived from the 10 MHz OCXO signal and locked in phase to the GNSS time scale.
Rather than a microcontroller, the design is built around an FPGA. Partly, this was a deliberate chance to develop my FPGA and DSP skills, but it also suits the job well. Clocked directly from the OCXO, the FPGA runs the filtering and control loop that steers the oscillator, and also handles the PPS divider.
To feed multiple pieces of test gear without introducing ground loops, the unit provides three galvanically isolated 50 Ω sine wave outputs for the 10 MHz reference. The PPS output is 5 V TTL-compatible and can drive 50 Ω loads. A 3.3 V bias tee on the antenna input powers standard low-cost active GPS antennas directly, and the whole system is designed for continuous 24/7 operation from a 12 V DC supply.
| ID | Category | Requirement |
|---|---|---|
| REQ-01 | Interface | The system shall provide three galvanically isolated 10 MHz sine wave outputs. |
| REQ-02 | Interface | Each 10 MHz output shall have a 50 Ω source impedance and a level of +10 dBm ±0.5 dB into a 50 Ω load. |
| REQ-03 | Interface | The system shall provide a 1 PPS output that is 5 V TTL compatible with a 50 Ω source impedance. |
| REQ-04 | Interface | The system shall be able to power an active GNSS antenna by providing a 3.3 V supply at the antenna input. |
| REQ-05 | Interface | The system shall operate from a 12 V DC external power supply. |
| REQ-06 | Function | The system shall derive the 1 PPS signal from the internal 10 MHz OCXO and align it to the GNSS time scale. |
| REQ-07 | Function | The system shall run continuously and autonomously, and shall recover without user intervention after loss of power or of the GNSS signal. |
| REQ-08 | Performance | When locked, the 10 MHz output frequency shall be accurate to better than 1 × 10−12 averaged over 24 hours. |
| REQ-09 | Performance | When locked, the Allan deviation (ADEV) of the 10 MHz output shall be less than 5 × 10−12 at τ = 1 s and less than 1 × 10−12 at τ = 10 000 s. |
| REQ-10 | Performance | The single-sideband phase noise of the 10 MHz output shall be better than −115 dBc/Hz at 10 Hz offset, −135 dBc/Hz at 100 Hz offset and −145 dBc/Hz at 1 kHz offset. |
| REQ-11 | Performance | The harmonics of the 10 MHz output shall be below −35 dBc and non-harmonic spurious signals below −70 dBc. |
| REQ-12 | Performance | The isolation between any two 10 MHz outputs shall be better than 70 dB. |
| REQ-13 | Performance | The 1 PPS output shall have a 10 to 90 % rise time and a 90 to 10 % fall time of less than 1 ns into a 50 Ω load. |
| REQ-14 | Performance | When locked, the 1 PPS edge shall be aligned to the GNSS time scale to within ±50 ns. |
| REQ-15 | Performance | The system shall reach the locked state within 15 minutes of power-on with a valid GNSS signal. |
| REQ-16 | Performance | During loss of the GNSS signal, the 10 MHz output shall stay within ±1 × 10−9 of its nominal frequency for at least 24 hours (holdover). |
| REQ-17 | Mechanical | The GNSS antenna input shall use an SMA connector. |
| REQ-18 | Mechanical | Each 10 MHz output shall use a BNC connector. |
| REQ-19 | Mechanical | The 1 PPS output shall use a BNC connector. |
| REQ-20 | Mechanical | The system shall fit inside an aluminium extrusion enclosure with external dimensions of no more than 165 × 46 × 120 mm (W × H × L). |
Conceptual Block Diagram
Below is a high-level block diagram of the GPSDO. The GNSS module receives signals from the GPS satellites and provides a timing reference to the FPGA, which runs a control loop to discipline the OCXO through a precision DAC. The disciplined 10 MHz signal is amplified, filtered and isolated before reaching the three sine wave outputs, while the FPGA also generates the 1 PPS output from the same oscillator.
Power and interfaces
The unit is powered from a 12 V DC jack. A switch-mode power supply (SMPS) performs the initial, high-efficiency voltage conversion, and a linear regulator follows it to provide a low-noise supply for the sensitive analogue and timing circuits. Alongside the power jack, there is an SMA connector for the GPS antenna, which also supplies the antenna's 3.3 V bias, and a USB-C port, which connects to a USB-to-serial and JTAG bridge for programming the FPGA and providing a user interface. On the output side, there are four BNC connectors: three for the galvanically isolated 10 MHz sine wave outputs and one for the 1 PPS output.
The control loop
The FPGA forms the core of the system. It divides the 10 MHz OCXO signal down to produce a local 1 pulse-per-second (PPS) signal. The GNSS module produces its own 1 PPS, referenced to GPS time. At start-up, the divider is aligned to the GPS pulse. Thereafter, if the OCXO ran at exactly 10 MHz, the interval between the two pulses would remain constant. In practice the OCXO drifts, and any change in that interval provides the error signal for the control loop.
A Time-to-Digital Converter (TDC) measures the interval between the two pulses with a resolution far finer than the FPGA could achieve by counting clock cycles alone. It reports each measurement to the FPGA over SPI. The FPGA filters the measurements, calculates the required correction and writes it to a precision DAC. The DAC generates the electronic frequency control (EFC) voltage, which steers the OCXO towards its nominal frequency.
This process repeats every second: a measurement is taken, a correction is calculated, and the OCXO frequency is adjusted by a small amount. The FPGA also communicates with the GNSS module over UART for configuration and status monitoring.
The outputs
The 10 MHz OCXO signal is buffered by an amplifier that feeds three identical output channels. Each channel comprises a driver and filter stage, which produces a sine wave with reduced harmonic content, followed by galvanic isolation and a BNC connector. The isolation breaks the ground path between connected instruments, preventing ground loops and the interference they can introduce.
The fourth output is the 1 PPS signal, which is generated by the FPGA from the OCXO rather than taken directly from the GNSS module. It passes through a TTL driver and a series resistor with ESD protection before reaching its BNC connector. Because the 10 MHz outputs and the 1 PPS are derived from the same disciplined oscillator, they remain coherent with each other and locked to GNSS time.
Circuit Design
The switch-mode power supply (SMPS) is based on the TRACO Power TSR 2-2450N, a compact three-pin DC/DC converter module. It delivers a regulated 5 V output at up to 2 A from an input range of 6.5 to 36 V, with an efficiency of up to 95 %. Using an integrated module rather than a discrete switching regulator removes the need to design the switching stage, select the inductor and compensate the feedback loop, which simplifies the design considerably.
The logic is implemented in an AMD Xilinx Artix-7 XC7A35T FPGA in the FTG256 package, a 17 × 17 mm ball grid array with a 1.0 mm ball pitch. The device provides 33,280 logic cells, 90 DSP slices and 1,800 Kb of block RAM, which comfortably accommodates the control loop and filtering without external memory. The FPGA is clocked directly from the 10 MHz OCXO, which is converted to a logic-level signal and routed to a clock-capable input pin. As the Artix-7 has no internal configuration memory, the bitstream is loaded at power-up from an external SPI flash device.
FPGA Logic Design
All of the timing and control logic runs in the FPGA, written in VHDL, with no soft-core CPU and no C firmware. This keeps the design self-contained and fully deterministic, with every part of the loop implemented directly in hardware.
Mechanical Design
The unit is built into a Fischer Elektronik AKG 165 46 120 SA enclosure. The case is made from aluminium extrusion sections that slot together, with threaded fixings for the front and rear cover panels. It is designed to house 160 mm Eurocards. The case measures 165 mm in width, 120 mm in length, and 46 mm in height, which satisfies REQ-20.
The standard cover panels are replaced with custom panels that carry all of the connectors. The planned layout puts the outputs on the front, where they are easy to reach, and the antenna and power on the rear.