Written by Hans Summers Wednesday, 15 November :53 - Last Updated Wednesday, 15 November :07

Similar documents
Arduino Freq-Mite for Norcal NC40A Mike WA8BXN Jan 2018

Community College of Allegheny County Unit 4 Page #1. Timers and PWM Motor Control

B.E. SEMESTER III (ELECTRICAL) SUBJECT CODE: X30902 Subject Name: Analog & Digital Electronics

ENGR-2300 Electronic Instrumentation Quiz 3 Spring Name: Solution Please write you name on each page. Section: 1 or 2

Draw in the space below a possible arrangement for the resistor and capacitor. encapsulated components

The SOL-20 Computer s Cassette interface.

WAVE SHAPING CIRCUITS USING OPERATIONAL AMPLIFIERS

Laboratory Manual for EL-492

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Hands-On Introduction to EE Lab Skills Laboratory No. 2 BJT, Op Amps IAP 2008

GCSE (9-1) WJEC Eduqas GCSE (9-1) in ELECTRONICS ACCREDITED BY OFQUAL DESIGNATED BY QUALIFICATIONS WALES SAMPLE ASSESSMENT MATERIALS

ANALOG TO DIGITAL CONVERTER

For the op amp circuit above, how is the output voltage related to the input voltage? = 20 k R 2

EE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter

be much better to minimise the temperature dependency by balancing the temperature coefficients, than to try to slow down the temperature rise.

DEPARTMENT OF ELECTRICAL ENGINEERING LAB WORK EE301 ELECTRONIC CIRCUITS

Lab 2 Revisited Exercise

ATmega16A Microcontroller

Embedded Controls Final Project. Tom Hall EE /07/2011

CHAPTER 6 DIGITAL INSTRUMENTS

Module: Arduino as Signal Generator

PC-OSCILLOSCOPE PCS500. Analog and digital circuit sections. Description of the operation

MAE106 Laboratory Exercises Lab # 1 - Laboratory tools

LABORATORY EXPERIMENT. Infrared Transmitter/Receiver

LINEAR IC APPLICATIONS

Introduction to IC-555. Compiled By: Chanakya Bhatt EE, IT-NU

Chapter 13: Comparators

1 Second Time Base From Crystal Oscillator

Project Board Game Counter: Digital

Lesson 3: Arduino. Goals

EE 368 Electronics Lab. Experiment 10 Operational Amplifier Applications (2)

CONTENTS Sl. No. Experiment Page No

For input: Peak to peak amplitude of the input = volts. Time period for 1 full cycle = sec

6. HARDWARE PROTOTYPE AND EXPERIMENTAL RESULTS

Home Page Power Supply Local Oscillator Dividers Op Amps; BPF(s) Mixer Comments

Chlorophyll a/b-chlorophyll a sensor for the Biophysical Oceanographic Sensor Array

Written by Hans Summers Monday, 22 September :14 - Last Updated Friday, 16 January :43

LabMaster Series TECHNOLOGIES. Unistep LabMaster Series PLL LOOP MODULE USER MANUAL. Copyright Unistep Technologies

LBI-38392C IC DATA MAINTENANCE MANUAL LOGIC BOARD U707 OCTAL DATA LATCH 19D902172G1 & G2 TABLE OF CONTENTS

Lecture 4: Basic Electronics. Lecture 4 Brief Introduction to Electronics and the Arduino

Multivibrators. Department of Electrical & Electronics Engineering, Amrita School of Engineering

EE 3305 Lab I Revised July 18, 2003

HIGH LOW Astable multivibrators HIGH LOW 1:1

Hardware Flags. and the RTI system. Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff

Adding a Keyer to the Arduino Freq-Mite for the NC40A Mike WA8BXN Jan 2018

PAiA 4780 Twelve Stage Analog Sequencer Design Analysis Originally published 1974

Department of Electronics & Communication Engineering LAB MANUAL SUBJECT: DIGITAL COMMUNICATION LABORATORY [ECE324] (Branch: ECE)

DC->DC Power Converters

Digital Applications of the Operational Amplifier

Microcontrollers and Interfacing

DEPARTMENT OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCE MASSACHUSETTS INSTITUTE OF TECHNOLOGY CAMBRIDGE, MASSACHUSETTS 02139

INA169 Breakout Board Hookup Guide

MAINTENANCE MANUAL AUDIO MATRIX BOARD P29/

Capacitive Touch Sensing Tone Generator. Corey Cleveland and Eric Ponce

IT.MLD900 SENSORS AND TRANSDUCERS TRAINER. Signal Conditioning

For this exercise, you will need a partner, an Arduino kit (in the plastic tub), and a laptop with the Arduino programming environment.

Building a Microcontroller based potentiostat: A Inexpensive and. versatile platform for teaching electrochemistry and instrumentation.

State Machine Oscillators

Experiment 5.A. Basic Wireless Control. ECEN 2270 Electronics Design Laboratory 1

Applications of the LM392 Comparator Op Amp IC

Department of Electronics & Telecommunication Engg. LAB MANUAL. B.Tech V Semester [ ] (Branch: ETE)

ericssonz LBI-38640E MAINTENANCE MANUAL FOR VHF TRANSMITTER SYNTHESIZER MODULE 19D902780G1 DESCRIPTION

Lesson 13. The Big Idea: Lesson 13: Infrared Transmitters

Multiple Instrument Station Module

1. The decimal number 62 is represented in hexadecimal (base 16) and binary (base 2) respectively as

Applications of the LM392 Comparator Op Amp IC

Chapter 16: Oscillators

Function Generator Op-amp Summing Circuits Pulse Width Modulation LM311 Comparator

ASTABLE MULTIVIBRATOR

Basic operational amplifier circuits In this lab exercise, we look at a variety of op-amp circuits. Note that this is a two-period lab.

Exam Booklet. Pulse Circuits

ENGR-4300 Electronic Instrumentation Quiz 3 Fall 2010 Name Section

ECE Lab #4 OpAmp Circuits with Negative Feedback and Positive Feedback

A Simplified Test Set for Op Amp Characterization

Kostas SV3ORA's triple crystal oscillator:

11 Counters and Oscillators

Fig 1: The symbol for a comparator

When you have completed this exercise, you will be able to relate the gain and bandwidth of an op amp

HAW-Arduino. Sensors and Arduino F. Schubert HAW - Arduino 1

DLVP A OPERATOR S MANUAL

DEPARTMENT OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCE MASSACHUSETTS INSTITUTE OF TECHNOLOGY CAMBRIDGE, MASSACHUSETTS 02139

). The THRESHOLD works in exactly the opposite way; whenever the THRESHOLD input is above 2/3V CC

ULTRASONIC TRANSMITTER & RECEIVER

AC LAB ECE-D ecestudy.wordpress.com

LM2900 LM3900 LM3301 Quad Amplifiers

MODULE TITLE : OPERATIONAL AMPLIFIERS TOPIC TITLE : OSCILLATORS LESSON 2 : RELAXATION OSCILLATORS

Power Line Carrier Communication

DEPARTMENT OF ELECTRICAL ENGINEERING LAB WORK EE301 ELECTRONIC CIRCUITS

Index. n A. n B. n C. Base biasing transistor driver circuit, BCD-to-Decode IC, 44 46

Concepts to be Reviewed

GOVERNMENT OF KARNATAKA KARNATAKA STATE PRE-UNIVERSITY EDUCATION EXAMINATION BOARD II YEAR PUC EXAMINATION MARCH-2013 SCHEME OF VALUATION

Overview of the MSA 12/30/10

Chapter 2 Signal Conditioning, Propagation, and Conversion

Counter/Timers in the Mega8

Training Schedule. Robotic System Design using Arduino Platform

Lab 7: DELTA AND SIGMA-DELTA A/D CONVERTERS

DATA SHEET. TDA8415 TV and VTR stereo/dual sound processor with integrated filters and I 2 C-bus control INTEGRATED CIRCUITS

Building and Operating: Son of Zerobeat A PIC based CW zerobeat indicator from Jackson Harbor Press

Model 305 Synchronous Countdown System

R & D Electronics DIGITAL IC TRAINER. Model : DE-150. Feature: Object: Specification:

Introduction: Components used:

Transcription:

This is a phantastron divider based on the HP522 frequency counter circuit diagram. The input is a 2100Hz 15V peak-peak signal from my 2.1kHz oscillator project. Please take a look at the crystal oscillator page! The HP522 manual has a good explanation of how a phantastron divider works. So have a read of that, for the theory. My project has two stages. One is divide-by-21, one is divide-by-10. The resulting timebase outputs are 100Hz and 10Hz. Buffer stage Firstly, I discovered that 15V peak-peak from the crystal oscillator is NOT enough to clock the phantastron circuit reliably. I did not wish to increase the supply voltage of the crystal oscillator to get more output, because I do not want to risk any damage to the crystal (e.g. fracture) by over-stressing it. The practical solution was just to build a simple amplifier stage. Initially I used a CV136 pentode but I had a couple of 6K7G octals in the junk box and thought they look cool, so I used one of those. I know the big octal looks out of place next to the mini B7G 5915 pentagrids and the tiny 6AL5... but I like it and I'm sticking with it. It's a crazy project anyway and nothing has to make sense, by definition. The buffer stage output is 120V peak-peak. Which is PLENTY to operate the phantastron. 1 / 5

Phantastron stages I used the 5915 pentagrid, and 6AL5 dual diode, the same as HP used in their HP522 frequency counter. My supply voltage measures about 240V so is a bit higher than their 200V. I did not have much trouble getting this working, first starting with the divide-by-21 stage. Initially the division ratio adjustment potentiometer did not make much difference, I traced that eventually to a dry joint ground connection at the bottom of the potential divider's 120K resistor. After that, I could change the division ratio from 19 to 25. This is a photo of the divide-by-21 stage during development (click for larger image). {gallery}td/phantastron/testing{/gallery} 2 / 5

The 10Hz and 100Hz outputs are about 30V peak-peak. The accurate edge is the negative (falling) edge of the waveform. I built a nice little chassis for the project, from single-sided FR4 PCB laminate material soldered together at the seams inside. The two 50K potentiometer adjustments are available on the top side of the chassis. The first division stage can be set to divide by a ratio from 19 to 25; the second stage can be set to divide by a ratio from 9 to 12. The top cap (grid 1) connection on the 6K7G is made with a clip that I made from a piece of tin cut from an ex- food tin can. {gallery}td/phantastron/photos{/gallery} Here are the oscilloscope screen captures. In each case the input to the division stage is the top trace, the phantastron divider output is the bottom trace. {gallery}td/phantastron/scope{/gallery} 10Hz Precision test This is a test designed to check that the 10Hz output is precise, without any jitter or noise (such as 50Hz mains power hum problems). The test does not investigate the accuracy of the 2100Hz crystal oscillator (which is anyway adjustable) or the temperature drift properties of the oscillator etc. The strategy is to use an Arduino Uno to count a test signal, using the 10Hz signal as a timebase gate. The circuit diagram and photograph of the test set-up is below (click for larger versions). The 10Hz signal output from the phantastron divider is at 30V peak-peak and we need a 5V 3 / 5

peak-peak squarewave. First I used a 10K:47K potential divider to reduce the signal to about 5V peak-peak. Next, half an LM4562 dual op-amp as a comparator, with its threshold set to 2.5V by the two 10K resistors. A 10K feedback resistor to the threshold voltage gives the comparator some hysteresis to prevent multiple false triggering at the the transition point. This LM4562 output in this circuit seemed to prefer the positive rail more than the negative rail, having some offset. So the 1N4001 diode shifts the waveform down a bit (maybe about half a volt). The first half of the 74LS74 dual D-type flip flop is a simple divide-by-2 circuit that results in a precise 50% duty cycle 5Hz squarewave at the output. The second half of the 74LS74 divides a 2MHz test signal by two. The 2MHz test signal was generated by an Ultimate3S transmitter kit sending a message in FSKCW at 2MHz with 0Hz FSK setting (meaning, just an unmodulated 2MHz signal). The /PR (preset) input of the 2MHz divide-by-2 is connected to the 5Hz signal so that when the signal is low, the flip flop is held in its pre-set (1) state, effectively gating the count. The result is a stream of bursts of 1MHz signal, each burst is 0.1 seconds long, and there are 5 bursts per second. It is reasonably straightforward to get an Arduino Uno to count this signal. The 1MHz bursts are connected to Arduino Uno pin 5, which is connected to the ATmega328's 16-bit Timer/Counter1 input. The gating signal is fed to Arduino pin 7 so that the Arduino can sense the transition from high to low, then it outputs the count to the serial port and resets it to zero ready for the next 1MHz pulse burst. I also used the Arduino board to supply 5V power to the comparator and 74LS74 circuit. {gallery}td/phantastron/10hztest{/gallery} This is the simple Arduino sketch used: int prev; int p; int q; void setup() { // Open serial communications and wait for port to open: Serial.begin(9600); while (!Serial) { ; // wait for serial port to connect. Needed for native USB port only } pinmode(5, INPUT); pinmode(7, INPUT); TCCR1A = 0; TCCR1B = 7; TIMSK1 = 0; } void loop() { // run over and over if ((TCNT1 < 32768) && q) { q = 0; p++; } else if (TCNT1 > 32768) q = 1; if (digitalread(7)!= prev) { prev = digitalread(7); if (!prev) { Serial.println(p * 65536 + TCNT1); p = 0; q = 0; TCNT1 = 0; } } } On the serial monitor, this resulted in a stream of 100,022 or 100,023 counts being recorded. Note that the least significant digit variation is common to any simple frequency count, and simply due to the non-integral count; so that the final least significant pulse edge sometimes falls in one count bucket, and sometimes in the next. In other words, it is completely normal. 4 / 5

I let the test run for more than 20 minutes, the count was always 100,022 or 100,023. This indicates the 10Hz signal's falling edge is very stable, with no problems from hum or noise etc. I am very pleased with the result. 5 / 5