Arduino Controlled GPS Referenced DDS VFO

Similar documents
An Arduino Controlled GPS Corrected VFO

A PIC16F628 controlled FLL (Frequency Locked Loop) VFO for HF

Controller for AD9850 DDS Modules Andy Talbot G4JNT

DEVELOPMENT OF DEVICES AND METHODS FOR PHASE AND AC LINEARITY MEASUREMENTS IN DIGITIZERS

Lab Experiment 1: The LPC 2148 Education Board

1. Learn about the 555 timer integrated circuit and applications 2. Apply the 555 timer to build an infrared (IR) transmitter and receiver

TI GPS PPS Timing Application Note

MAINTENANCE & ADJUSTMENT

Optimizing VCO PLL Evaluations & PLL Synthesizer Designs

How To Program A Microcontroller Board (Eb064) With A Psp Microcontroller (B064-74) With An Ios 2.5V (Power) And A Ppt (Power Control) (Power Supply) (

DDS VFO CONSTRUCTION MANUAL. DDS VFO Construction Manual Issue 1 Page 1

PHYS 2P32 Project: MIDI for Arduino/ 8 Note Keyboard

Simple SDR Receiver. Looking for some hardware to learn about SDR? This project may be just what you need to explore this hot topic!

Whale 3. User Manual and Installation Guide. DC Servo drive. Contents. 1. Safety, policy and warranty Safety notes Policy Warranty.

THE R551N RECEIVER FAQ FAULT FINDING THE REDIFON COMMUNICATIONS RECEIVER R551N. Date: October 10th 1995 by: Jan Verduyn G5BBL

ELECRAFT KX3 EXTENDED VFO TEMPERATURE COMPENSATION PROCEDURE Copyright 2012 Elecraft LLC Rev. A8, October 27, 2012

[F/T] [5] [KHz] [AMP] [3] [V] 4 ) To set DC offset to -2.5V press the following keys [OFS] [+/-] [2] [.] [5] [V]

A PC-BASED TIME INTERVAL COUNTER WITH 200 PS RESOLUTION

Quick Start Guide. MRB-KW01 Development Platform Radio Utility Application Demo MODULAR REFERENCE BOARD

ZLPLL Local Oscillator

A Digital Timer Implementation using 7 Segment Displays

Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester

AN3252 Application note

Youkits TJ2B 2016 SSB CW HF TRANSCEIVER OPERATION GUIDE

Data Sheet. Adaptive Design ltd. Arduino Dual L6470 Stepper Motor Shield V th November L6470 Stepper Motor Shield

71M6521 Energy Meter IC. Real Time Clock Compensation. The Challenge. The RTC in the 71M6521D/F. Theory of Operation APPLICATION NOTE

Note monitors controlled by analog signals CRT monitors are controlled by analog voltage. i. e. the level of analog signal delivered through the

HANDBOOK. Measuring System DESIGN EDITORS PETER H. SYDENHAM RICHARD THORN ARTICLE OFFPRINT

MODULE BOUSSOLE ÉLECTRONIQUE CMPS03 Référence :

Application Note AN_299. FT800_FT801_Internal_Clock _Trimming

APSYN420A/B Specification GHz Low Phase Noise Synthesizer

A Lesson on Digital Clocks, One Shots and Counters

Ultrasound Distance Measurement

A Lesson on Digital Clocks, One Shots and Counters

Design and Implementation of Home Monitoring System Using RF Technology

CW46S GPS Sensor P R O D U C T B R I E F. Description. Features. Applications. Block Diagram

Hello, and welcome to this presentation of the STM32L4 reset and clock controller.

25. AM radio receiver

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT BIT DIFFERENTIAL ADC WITH I2C LTC2485 DESCRIPTION

Serial port interface for microcontroller embedded into integrated power meter

Eric Mitchell April 2, 2012 Application Note: Control of a 180 Servo Motor with Arduino UNO Development Board

EVAL-UFDC-1/UFDC-1M-16

Debouncing Switches. Mechanical switches are one of the most common interfaces to a uc.

1 Coffee cooling : Part B : automated data acquisition

Wireless monitoring system for temperature and humidity based on ZigBee

ETEC Digital Controls PIC Lab 10 Pulse Width Modulation

Microtronics technologies Mobile:

Glitch Free Frequency Shifting Simplifies Timing Design in Consumer Applications

3-Digit Counter and Display

Display Board Pulse Width Modulation (PWM) Power/Speed Controller Module

Phase coherency of CDMA caller location processing based on TCXO frequency reference with intermittent GPS correction

G-100/200 Operation & Installation

ECONseries Low Cost USB DAQ

Chapter 6 PLL and Clock Generator

APPLICATION NOTE. Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Atmel AVR 8-bit Microcontroller. Introduction.

Description of High Accuracy Digital Pressure Gauge Design

A Flexible VCXO Locking Board

GPS & GSM BASED REAL-TIME VEHICLE TRACKING SYSTEM.

Tests on a DIGITAL TV LNB for 10GHz narrowband

AN974 APPLICATION NOTE

AVR Timer/Counter. Prof Prabhat Ranjan DA-IICT, Gandhinagar

ECEN 1400, Introduction to Analog and Digital Electronics

EXPERIMENT 8. Flip-Flops and Sequential Circuits

Implementing a Digital Answering Machine with a High-Speed 8-Bit Microcontroller

PART B QUESTIONS AND ANSWERS UNIT I

ADS9850 Signal Generator Module

MFJ BOX APPEARANCE. Adjusting Counter Module.

ezsystem elab16m Project 1F: Alarm System (Full Project description)

Software Real Time Clock Implementation on MC9S08LG32

Evaluating the Accuracy of Maxim Real-Time Clocks (RTCs)

Homebuilt HF Radios for Use Underground Paul R. Jorgenson KE7HR

Accurate Measurement of the Mains Electricity Frequency

CoE3DJ4 Digital Systems Design. Chapter 4: Timer operation

User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK

TOTALLY SOLID STATE NON-DIRECTIONAL RADIO BEACONS khz

MicroMag3 3-Axis Magnetic Sensor Module

E-Blocks Easy RFID Bundle

GPS NTP TIME SERVER Rack Version V2.2x

Application Note. Line Card Redundancy Design With the XRT83SL38 T1/E1 SH/LH LIU ICs

Controlling a Dot Matrix LED Display with a Microcontroller

MN1010 Evaluation Kit v3 User Guide

FM TRANSMITTER & RECEIVER HYBRID MODULES. FM-RTFQ SERIES FM-RRFQ SERIES. Transmitter. Receiver. Applications

Fondamenti su strumenti di sviluppo per microcontrollori PIC

Signal-400 HDMI COFDM (DVB-T) Encoder & Modulator. --- Home Use

MXL5007T TUNER RADIO

L16. Quectel GNSS Engine. EVB User Guide L16_EVB_UGD_V1.0

Kit Watt Audio Amplifier

Design And Implementation Of Bank Locker Security System Based On Fingerprint Sensing Circuit And RFID Reader

Model 5511 Filler Controller User s Manual Version 1.1 October 2011

Real Time Clock USB Evaluation Board V3.0

Calibrating the SDR Frequency Display to match your Ham Station Radio Frequency Display on each Ham Band

Web Streamed SDR s in Service at GB2RHQ Hack Green Bunker

AN LPC1700 RTC hardware auto calibration. Document information. RTC, Hardware Auto Calibration, LPC1700, Graphic LCD

User's Guide. Integrating Sound Level Datalogger. Model Introduction

USB-QUAD08. Eight-channel Quadrature Encoder Input Device. Specifications

Timing Errors and Jitter

How To Use A Sound Card With A Subsonic Sound Card

PCAN-MicroMod Universal I/O Module with CAN Interface. User Manual. Document version ( )

AN_6521_035 APRIL 2009

Timer A (0 and 1) and PWM EE3376

Transcription:

Arduino Controlled GPS Referenced DDS VFO Gene Marcus W3PM GM4YRE Introduction: Unlike the well known GPS Disciplined Oscillator using a Phased Lock Loop (PLL), this project uses an Arduino UNO (or Nano) as a frequency counter to calculate a correction factor for a Direct Digital Synthesizer (DDS) board. A GPS 1 PPS output signal is used for the frequency counter s one second gate time. Although not as accurate as a GPS phase locked loop (PLL) frequency reference, this signal source provides a variable signal source from 100 KHz to 30 MHz with an uncertainty of less than 0.3 Hz at 10 MHz after a 30 minute warm-up. A user programmable offset function allows the unit to be used as a flexible VFO for transceiver operation.

Inexpensive AD9850 DDS boards have become readily available on the internet. When combined with GPS module and a commonly available Arduino microcontroller, the project provides a relatively inexpensive way to build a precision frequency agile signal source. Theory of Operation: The AD9850 module s 125 MHz oscillator is divided by 32 to obtain a 3.90626 MHz signal at pin 5 of the Uno. A counter input signal of less than 4 MHz is used due to the Uno s input frequency limitation. The Uno s internal Timer 1 is configured as a counter that is gated by the GPS 1pps signal applied to pin 2. After a count period of 32 seconds the Uno calculates the actual 125 MHz oscillator frequency. This corrected oscillator frequency is used by the microcomputer s algorithms to program the AD9850 s output frequency. The AD9850 125 MHz oscillator will experience some frequency drift between the counter s 32 second update intervals. Figures 1 and 2 show the unit s accuracy from a cold start and after a 30 minute warm-up period. Another small factor contributing to the unit s uncertainty is the AD9850 s finite frequency resolution (minimum step size for a given clock frequency). The actual output frequency generated by the AD9850 is not necessarily the frequency the operator requests. This error is primarily due to the limited 40 bit tuning word input to the DDS from the controlling processor that results in an uncertainty of a few millihertz. Figure 1. Output accuracy from a cold start referenced to a 10 MHz GPS Disciplined Oscillator.

Figure 2. Output accuracy after a 30 minute warm-up referenced to a 10 MHz GPS Disciplined Oscillator. Construction: The most critical part in construction is the lead length from the 125 MHz oscillator to the input of the 74AC74 IC dividers. In the photo showing the unit s internal construction you will see a blue 0.1 uf capacitor connecting the 125 MHz oscillator chip to the 74AC74 input. Use either a twisted pair of wire or mini-coax for longer runs. I used 74AC74 dual D-type flip-flops because I have a number of them in my junk box. Any other high speed method to divide a 125 MHz signal by 32 will work. The optional optical encoder allows smoother tuning. I have not tried using a mechanical encoder. The use of a mechanical encoder would probably require software modification including a de-bounce routine. If an encoder is not used, the frequency can be changed using the frequency up/down pushbuttons. Frequency stability between software calibration updates is improved by attaching a heat sink to the 125 MHz oscillator module. Almost any small heat sink will work; even a small coin will suffice. Use super glue to attach the device to the top of the oscillator module. Stability is also improved by placing the unit in an airtight enclosure to eliminate air currents around the oscillator module. Many factors contribute to the accuracy of the GPS receiver s 1 PPS output. Some sources of error are the receiver s internal clock jitter, the number of satellites in view, multipath distortion, and receiver noise. The level of performance will vary with the GPS receiver that is used. I tried a Rockwell Jupiter and a no name Ebay purchase with good results. Some inexpensive modules such as the VK16E will probably result in inferior performance.

Mount the GPS antenna a few feet or more away from the DDS board. I found that RF noise from the DDS board causes the GPS receiver to de-sense and lose lock. The unit may be built without the GPS receiver and used as a stand-alone VFO (see below). Operating the VFO in stand-alone mode provides the builder a means to test the unit prior to connecting the GPS related hardware. Figure 3. AD9850 125 MHz divide by 32 circuit. Software: Important note! The serial input port (pin 0) is used for both GPS and USB serial data. Do not attempt to upload software into the Uno while receiving GPS data. Disconnect the GPS NMEA data line before uploading software. There are a few user defined variables near the beginning of the Arduino program. The two changes a user may want to make are the start frequency and offset frequency. // Enter start frequency Hz below: uint64_t frequency = 9999000; // Enter offset frequency (Hz) below: int foffset = -600; The other configurable variables found in the program were used during development to debug and experiment with other options such as the use of an AD9851. The experimenter may also want to use a four-line LCD to display other parameters such as frequency step resolution, callsign, latitude, longitude and number of satellites in view. Some of the pertinent GPS related variables can be found in the GPSprocess() subroutine. Operation: Operation is straightforward. After turning the unit on, allow a few minutes for the GPS receiver to obtain lock and the DDS to stabilize. A reset may be required.

Depress the resolution push button to select the frequency step. When the button is depressed the selected resolution will be displayed for a few seconds on the second line of the LCD. Refer to figure 4. The frequency may be changed either by using the frequency up/down buttons or the optional optical encoder. The VFO offset is enabled by setting offset enable (pin 9) low. Stand-alone operation without GPS: The unit may be placed in stand-alone operation by changing the following user defined variables: // GPS 1pps calibrate flag (0 = NO, 1 = YES) int GPSflag = 0; // If GPSflag = 0 Enter calibration factor below: // Connect the RF output to frequency counter; adjust for 10 MHz on counter; subtract 10 MHz // from the dial frequency and enter difference. int fcal = -113; Figure 4. Frequency step resolution display Figure 5. Normal display showing frequency, Maidenhead grid locator, and UTC time. I may be contacted at for any questions or comments.