SlideShare a Scribd company logo
Tutorial 8 - Frequency Counter V4.30 Page 1 of 12 Midnight Scalar Network Analyzer
TTuuttoorriiaall 88 -- FFrreeqquueennccyy CCoouunntteerr
ffoorr FFiirrmmwwaarree VVeerrssiioonn 44..3300
By Dave Collins AD7JT
2016-02-29
This tutorial takes you through the steps to configure and use
your MSNA to measure frequency. It includes a discussion of how
frequency measurements are made, how to tune SNA timing func-
tions for better accuracy, and a description of an RF signal condi-
tioning circuit.
Tutorial 8 - Frequency Counter V4.30 Page 2 of 12 Midnight Scalar Network Analyzer
Contents
1. APPLIES TO ...........................................................................3
2. PREREQUESITES....................................................................3
3. ADDITIONAL REQUIREMENTS ...............................................3
4. HOW IT'S DONE ....................................................................4
5. RF SIGNAL CONDITIONING CIRCUIT.......................................6
6. MEASURING FREQUENCY......................................................7
7. CALIBRATION........................................................................8
Using RF Out as a Calibration Signal........................................9
Coarse Adjustment - System Clock Frequency.......................10
Fine Adjustment - Counting Period.......................................11
APPENDIX A. RF SIGNAL CONDITIONER...................................12
Tutorial 8 - Frequency Counter V4.30 Page 3 of 12 Midnight Scalar Network Analyzer
1.APPLIES TO
All Midnight SNA units running V4.30 firmware or later.
2.PREREQUESITES
The primary prerequisite for using the frequency counter is that the RF signal input
(external interface connector, tip contact) must meet the voltage and timing re-
quirements specified by Microchip for a 5V tolerant, 2x I/O pin. The basic require-
ments are as follows:
Voltage with respect to ground ..............................-0.3V to +5.6V
Maximum low level.................................................0.66V
Minimum high level ................................................2.31V
Low Frequency Counter (LFC):
Maximum frequency...............................................11 MHz
Minimum High Time ...............................................45 ns
Minimum Low Time................................................45 ns
High Frequency Counter (HFC):
Maximum frequency...............................................40 MHz
Minimum High Time ...............................................20 ns
Minimum Low Time................................................20 ns
The External Interface connector, sleeve contact can provide power with the follow-
ing limits:
Maximum voltage...................................................3.3V
Maximum current source........................................15 ma
Minimum output voltage sourcing ≤ 4 ma.............3.0V
Minimum output voltage sourcing ≤ 11 ma...........2.0V
Minimum output voltage sourcing ≤ 15 ma...........1.5V
3.ADDITIONAL REQUIREMENTS
In addition to the MSNA, the following may be needed to complete this tutorial:
1. Adapters or cables to attach the signal source to the MSNA.
2. RF Conditioning circuit to assure meeting the interface electrical specifications.
3. Precision frequency source to fine tune the frequency counter calibration.
Tutorial 8 - Frequency Counter V4.30 Page 4 of 12 Midnight Scalar Network Analyzer
4.HOW IT'S DONE
The dsPIC33 microcontroller used in the MSNA has remappable peripherals that en-
able the firmware to assign many of the I/O pins to a number of peripherals. The
MSNA External Interface (EI) pins are remappable. The EI function (and serial port
baud rate) is selected using the Configure Ext. Interface [B] selection on the
Setup menu. When a baud rate [1 - 9] is selected, the EI pins are assigned to a
UART. When the FREQ COUNTER [F] is selected, the EI connector tip connec-
tion is assigned to a 32-bit counter and the ring connection to an I/O port pin.
Frequency Counter interface to External Interface Connector
SLEEVE (C)
TIP (A)
RING (B)
+3 Volts, 15 ma max <-
TTL/CMOS Signal Source ->
GND
In Low Frequency Counter (LFC) mode, the counter is driven directly (1:1 prescaler)
and in High Frequency Counter (HFC) mode, an 8:1 prescaler is used to reduce the
input frequency by a factor of eight.
Another counter is used to generate a clock "tick" every second. At each tick of the
clock, the firmware reads the current value of the 32-bit frequency counter and re-
sets the counter to zero. In LFC mode the frequency count is used as-is, in HFC
mode the frequency count is multiplied by eight to account for the 8:1 prescaler.
The raw frequency count is smoothed some by computing a 10-point running aver-
age. The frequency (running average) is displayed on a version of the signal genera-
tor display and is updated every second. To speed up frequency acquisition after a
significant change in frequency, tapping Freq LO [Home] will restart the running
average with the next raw frequency count. To help indicate this condition, the cur-
rent raw frequency count is also displayed.
The accuracy of the frequency meter is dependent on the accuracy of the one se-
cond timer which uses the system clock as a time base. The MSNA system clock
runs at a nominal 40 MHz rate and is generated from an internal 7.37 MHz, RC oscil-
lator driving a phase locked loop (PLL). The RC oscillator is factory-tuned and ex-
pected to remain within ± 2% of the tuned value over the specified temperature
and voltage ranges for the controller. To improve on this, the system clock can be
Tutorial 8 - Frequency Counter V4.30 Page 5 of 12 Midnight Scalar Network Analyzer
tuned by the firmware from -12% to +11.625% of the nominal frequency in steps of
approximately 0.375% of the nominal clock frequency which corresponds to 37.5
KHz per step assuming a 10 MHz timing standard. Further improvement can be
made by adjusting the frequency counting period (one second). The counting peri-
od can be increased or decreased by a maximum of 5 ms in steps ranging from 0.2
uS to 0.2 ms. The MSNA provides support for tweaking both of these values.
Tutorial 8 - Frequency Counter V4.30 Page 6 of 12 Midnight Scalar Network Analyzer
5.RF SIGNAL CONDITIONING CIRCUIT
SLEEVE (C)
TIP (A)
RING (B)
SLEEVE
RING
TIP
SLEEVE (C)
TIP (A)
RING (B)
Q1
MMBT2222A R3
120
R1
10K
R2
4.3K
C1
.01 uF
N.C.
SNA External Interface
Signal Source
BNC Alternative
When the RF signal source satisfies the voltage levels specified above, it can be con-
nected directly to the tip connection of the EI connector. When these specifications
cannot be guaranteed, a conditioning circuit will be required. The circuit shown
above will limit the voltage levels to within specification and provide some gain for
weak input signal levels. The circuit is powered by the I/O pin connected to the
sleeve connection which is held at a logic 1 or "high" logic level when the frequency
counter input is specified for the EI.
I built my conditioning circuit using surface-mount devices on a piece of copper clad
PCB material small enough to fit in the housing of a 3.5 mm stereo audio connector.
Appendix A shows the details of this implementation.
Tutorial 8 - Frequency Counter V4.30 Page 7 of 12 Midnight Scalar Network Analyzer
6.MEASURING FREQUENCY
To activate the frequency counter do the following:
1. Select FREQ COUNTER [F] from the EI Configuration menu (Setup [Scroll Lock] >
Configure Ext. Interface [B]) to configure the EI for frequency counter input.
2. Connect the signal source to the EI. Use an RF Conditioning circuit if required.
3. Start a macro with op modes set to F [F or 2] for HFC or f [f or 1] for HFC. If desired, en-
ter a title on page one. Leave the rest of the form blank.
4. Tap Start Mode [A] to set to automatic.
5. Observe one of the following modified signal generator displays.
 Tap Freq LO [Home] to clear and restart the running average.
 Tap Start Mode [A] to toggle start mode between Automatic and Manual.
 Tap anywhere else [SPACE] to take one reading. (This is normally only useful in manual
start mode.)
} {Recommended
Frequency Range
Prescaler setting
RF In Power Level
Frequency:
10-point running average
Latest raw count
Tutorial 8 - Frequency Counter V4.30 Page 8 of 12 Midnight Scalar Network Analyzer
7.CALIBRATION
Due to the MSNA's lack of a precision time base it will be necessary to regularly cali-
brate the frequency meter. This will require an accurate signal source. I recom-
mend 10 MHz as a convenient frequency standard since it can be used with both the
HFC and LFC. This frequency is a very common standard and can easily be checked
against WWV. The following assumes a 10 MHz frequency standard.
Here are some possible sources for an accurate signal source:
 A laboratory, calibrated signal generator such as an HP8640B often found listed on eBay.
 A GPS receiver with its PPS/TimePulse frequency set to 10 MHz. A u-blox GPS receiver
can be setup using the MSNA running the GDT application.
 A second MSNA after setting its reference clock frequency with Tutorial 0 and the signal
generator frequency to 10 MHz.
 The RF Out signal after setting its reference clock frequency with Tutorial 0.
There are two calibration modes for the frequency counters and they are the same
for the LFC and HFC. A coarse calibration is done by adjusting the system clock fre-
quency. A fine adjustment is done by adjusting the number of system clock cycles
between frequency counter readings. The adjustment procedures can be per-
formed with either the LFC or the HFC.
Tutorial 8 - Frequency Counter V4.30 Page 9 of 12 Midnight Scalar Network Analyzer
Using RF Out as a Calibration Signal
The DDS-60 is normally turned off when using the frequency counter. To use the RF
Out signal, the DDS-60 must be turned on. The DDS-60 will be turned on if a value is
entered in the FREQ LO line of the macro form. When the macro is started, the
DDS-60 frequency will be set to FREQ LO and the Freq LO line on the display will be
rendered in yellow to alert us the DDS-60 is on.
Tutorial 8 - Frequency Counter V4.30 Page 10 of 12 Midnight Scalar Network Analyzer
Coarse Adjustment - System Clock Frequency
With the frequency counter running, and our frequency standard input to the EI
connector, tap Tweak Sys Clk [CTRL-T] to activate the system clock tweak
function.
Use the + [UP ARROW] and - [DOWN ARROW] buttons to adjust the system clock
period. Each time an adjustment is made, the frequency counter is cleared and the
ten-point running average is restarted. The current adjustment to the system clock
period is shown as a percent of the nominal clock period. The adjustment range is
from -12% to +11.625% in increments of 0.375%. This means that with a 10 MHz
frequency standard, each increment corresponds to about 37.5 KHz in the frequency
reading. Tap Save & End Tweak [Enter] on the context menu to save the cur-
rent setting to EEPROM and return to the normal frequency counter display Use
this calibration first to get as close as possible then use the following adjustment to
fine tune the frequency counter.
Tutorial 8 - Frequency Counter V4.30 Page 11 of 12 Midnight Scalar Network Analyzer
Fine Adjustment - Counting Period
With the frequency counter running, and our frequency standard input to the EI
connector, tap Tweak Period [ALT-T] to activate the frequency counting period
tweak function.
The current adjustment to the counting period is shown in microseconds. Each tap
of the + [UP ARROW] and - [DOWN ARROW] will subtract or add 0.2 uS to the one-
second counting period. With a keyboard attached, the Control [Ctrl] and Alternate
[Alt] keys can be used in conjunction with the UP ARROW and DOWN ARROW keys
to increase the increment/decrement as follows:
Ctrl/Alt INC/DEC STANDARD CYCLES*
none 0.2 uS 2 Hz
Alt 2.0 uS 20 Hz
Ctrl 20.0 uS 200 Hz
Ctrl+Alt 200.0 uS 0.2 KHz
* assumes a 10 MHz frequency standard.
Each time an adjustment is made, the frequency counter is cleared and the ten-
point running average is restarted. The counting period can be adjusted up or down
a maximum of 5 ms. Tap Save & End Tweak [Enter] on the context menu to
save the current setting to EEPROM and return to the normal frequency counter
display.
Tutorial 8 - Frequency Counter V4.30 Page 12 of 12 Midnight Scalar Network Analyzer
APPENDIX A. RF SIGNAL CONDITIONER
C
EB
Q1
R1
C1
R2
R3
C
EB
Q1
R1
C1
R2
R3
ACTUAL SIZE
(0.2" x 0.5")
x5
Backside solid
ground plane
RF Signal Conditioner
Dave Collins – AD7JT
2016-01-03
SLEEVE (C)
TIP (A)
RING (B)
SLEEVE
RING
TIP
SLEEVE (C)
TIP (A)
RING (B)
Q1
MMBT2222A R3
120
R1
10K
R2
4.3K
C1
.01 uF
N.C.
SNA External Interface
Signal Source
BNC Alternative

More Related Content

What's hot

COMPLETE DETAIL OF ARM PART 3
COMPLETE DETAIL OF ARM PART 3COMPLETE DETAIL OF ARM PART 3
COMPLETE DETAIL OF ARM PART 3
NOWAY
 
Timers and pwm
Timers and pwmTimers and pwm
Timers and pwm
Saideep Kamishetty
 
Docslide.us service manual-neutec-sm1645
Docslide.us service manual-neutec-sm1645Docslide.us service manual-neutec-sm1645
Docslide.us service manual-neutec-sm1645
Bruno Pereira de Souza
 
How to configure interior gateway routing protocol (igrp)
How to configure interior gateway routing protocol (igrp)How to configure interior gateway routing protocol (igrp)
How to configure interior gateway routing protocol (igrp)
IT Tech
 
Eecb351 exp 8 ask fsk
Eecb351 exp 8 ask fskEecb351 exp 8 ask fsk
Eecb351 exp 8 ask fsk
Zufayri Chan
 
Frequency synthesizers
Frequency  synthesizersFrequency  synthesizers
Frequency synthesizers
siva23143
 
Day 10 loops+ rip+ igrp
Day 10 loops+  rip+ igrpDay 10 loops+  rip+ igrp
Day 10 loops+ rip+ igrp
CYBERINTELLIGENTS
 
Pll ppt
Pll pptPll ppt
Pll ppt
parassini
 
UART
UARTUART
Renesas RL78 The True Low Power Microcontroller Platform
 Renesas RL78 The True Low Power Microcontroller Platform Renesas RL78 The True Low Power Microcontroller Platform
Renesas RL78 The True Low Power Microcontroller Platform
Renesas Electronics Corporation
 
1 egp
1 egp1 egp
1 egp
PAF-KIET
 
MaxBotix Code Examples
MaxBotix Code ExamplesMaxBotix Code Examples
MaxBotix Code Examples
MaxBotix Inc
 
Direct digital frequency synthesizer
Direct digital frequency synthesizerDirect digital frequency synthesizer
Direct digital frequency synthesizer
Venkat Malai Avichi
 
Gas sensor
Gas sensorGas sensor
Gas sensor
srinivas naidu
 
Serial Communication Part-16
Serial Communication Part-16Serial Communication Part-16
Serial Communication Part-16
Techvilla
 
Sensor de pressão de pneu
Sensor de pressão de pneuSensor de pressão de pneu
Sensor de pressão de pneu
Carlos Vergara
 
Design and implementation of uart on soc
Design and implementation of uart on socDesign and implementation of uart on soc
Design and implementation of uart on soc
Ijrdt Journal
 
12 mt06ped019
12 mt06ped019 12 mt06ped019
12 mt06ped019
vijaydeepakg
 
8051 serial communication-UART
8051 serial communication-UART8051 serial communication-UART
8051 serial communication-UART
Pantech ProLabs India Pvt Ltd
 
Imx53 uart- GUIDE BOOK
Imx53 uart- GUIDE BOOKImx53 uart- GUIDE BOOK
Imx53 uart- GUIDE BOOK
Shahrukh Javed
 

What's hot (20)

COMPLETE DETAIL OF ARM PART 3
COMPLETE DETAIL OF ARM PART 3COMPLETE DETAIL OF ARM PART 3
COMPLETE DETAIL OF ARM PART 3
 
Timers and pwm
Timers and pwmTimers and pwm
Timers and pwm
 
Docslide.us service manual-neutec-sm1645
Docslide.us service manual-neutec-sm1645Docslide.us service manual-neutec-sm1645
Docslide.us service manual-neutec-sm1645
 
How to configure interior gateway routing protocol (igrp)
How to configure interior gateway routing protocol (igrp)How to configure interior gateway routing protocol (igrp)
How to configure interior gateway routing protocol (igrp)
 
Eecb351 exp 8 ask fsk
Eecb351 exp 8 ask fskEecb351 exp 8 ask fsk
Eecb351 exp 8 ask fsk
 
Frequency synthesizers
Frequency  synthesizersFrequency  synthesizers
Frequency synthesizers
 
Day 10 loops+ rip+ igrp
Day 10 loops+  rip+ igrpDay 10 loops+  rip+ igrp
Day 10 loops+ rip+ igrp
 
Pll ppt
Pll pptPll ppt
Pll ppt
 
UART
UARTUART
UART
 
Renesas RL78 The True Low Power Microcontroller Platform
 Renesas RL78 The True Low Power Microcontroller Platform Renesas RL78 The True Low Power Microcontroller Platform
Renesas RL78 The True Low Power Microcontroller Platform
 
1 egp
1 egp1 egp
1 egp
 
MaxBotix Code Examples
MaxBotix Code ExamplesMaxBotix Code Examples
MaxBotix Code Examples
 
Direct digital frequency synthesizer
Direct digital frequency synthesizerDirect digital frequency synthesizer
Direct digital frequency synthesizer
 
Gas sensor
Gas sensorGas sensor
Gas sensor
 
Serial Communication Part-16
Serial Communication Part-16Serial Communication Part-16
Serial Communication Part-16
 
Sensor de pressão de pneu
Sensor de pressão de pneuSensor de pressão de pneu
Sensor de pressão de pneu
 
Design and implementation of uart on soc
Design and implementation of uart on socDesign and implementation of uart on soc
Design and implementation of uart on soc
 
12 mt06ped019
12 mt06ped019 12 mt06ped019
12 mt06ped019
 
8051 serial communication-UART
8051 serial communication-UART8051 serial communication-UART
8051 serial communication-UART
 
Imx53 uart- GUIDE BOOK
Imx53 uart- GUIDE BOOKImx53 uart- GUIDE BOOK
Imx53 uart- GUIDE BOOK
 

Similar to Tutorial 8 frequency counter

ARRHYTHMIA.pptx
ARRHYTHMIA.pptxARRHYTHMIA.pptx
ARRHYTHMIA.pptx
SivaGovind2
 
Frequency counter
Frequency counterFrequency counter
Frequency counter
Eng. Dr. Dennis N. Mwighusa
 
CATV Optical Transmitter
CATV Optical TransmitterCATV Optical Transmitter
CATV Optical Transmitter
QuestTel Broadcast Systems
 
Synchronization in SDH network
Synchronization in SDH networkSynchronization in SDH network
Synchronization in SDH network
asifmatin
 
Grid synchronisation
Grid synchronisationGrid synchronisation
Grid synchronisation
manogna gwen
 
MC3PHAC.pdf
MC3PHAC.pdfMC3PHAC.pdf
MC3PHAC.pdf
otmane BOUZARZAR
 
AREA OPTIMIZED FPGA IMPLEMENTATION FOR GENERATION OF RADAR PULSE COM-PRESSION...
AREA OPTIMIZED FPGA IMPLEMENTATION FOR GENERATION OF RADAR PULSE COM-PRESSION...AREA OPTIMIZED FPGA IMPLEMENTATION FOR GENERATION OF RADAR PULSE COM-PRESSION...
AREA OPTIMIZED FPGA IMPLEMENTATION FOR GENERATION OF RADAR PULSE COM-PRESSION...
VLSICS Design
 
Report on speed control of d.c. motor using pwm method
Report on speed control of d.c. motor using pwm methodReport on speed control of d.c. motor using pwm method
Report on speed control of d.c. motor using pwm method
shivam singh
 
FrequencyExtendersWithBoosterModule_v12.pdf
FrequencyExtendersWithBoosterModule_v12.pdfFrequencyExtendersWithBoosterModule_v12.pdf
FrequencyExtendersWithBoosterModule_v12.pdf
AndreyKryl
 
rancang bangun NIIBP
rancang bangun NIIBPrancang bangun NIIBP
rancang bangun NIIBP
IwanAprial BaniRidjin
 
Research Report-Kaidi Du-EECE4993
Research Report-Kaidi Du-EECE4993Research Report-Kaidi Du-EECE4993
Research Report-Kaidi Du-EECE4993
Kaidi Du
 
Development of Digital Controller for DC-DC Buck Converter
Development of Digital Controller for DC-DC Buck ConverterDevelopment of Digital Controller for DC-DC Buck Converter
Development of Digital Controller for DC-DC Buck Converter
IJPEDS-IAES
 
Analog to Digitalconvertor for Blood-Glucose Monitoring
Analog to Digitalconvertor for Blood-Glucose MonitoringAnalog to Digitalconvertor for Blood-Glucose Monitoring
Analog to Digitalconvertor for Blood-Glucose Monitoring
csijjournal
 
ANALOG TO DIGITALCONVERTOR FOR BLOOD-GLUCOSE MONITORING
ANALOG TO DIGITALCONVERTOR FOR  BLOOD-GLUCOSE MONITORING  ANALOG TO DIGITALCONVERTOR FOR  BLOOD-GLUCOSE MONITORING
ANALOG TO DIGITALCONVERTOR FOR BLOOD-GLUCOSE MONITORING
csijjournal
 
Design and Implementation of Area Optimized, Low Complexity CMOS 32nm Technol...
Design and Implementation of Area Optimized, Low Complexity CMOS 32nm Technol...Design and Implementation of Area Optimized, Low Complexity CMOS 32nm Technol...
Design and Implementation of Area Optimized, Low Complexity CMOS 32nm Technol...
IJERA Editor
 
A 20 gbs injection locked clock and data recovery circuit
A 20 gbs injection locked clock and data recovery circuitA 20 gbs injection locked clock and data recovery circuit
A 20 gbs injection locked clock and data recovery circuit
VLSICS Design
 
Adc lab
Adc labAdc lab
Adc lab
xyxz
 
DESIGN OF DIGITAL PLL USING OPTIMIZED PHASE NOISE VCO
DESIGN OF DIGITAL PLL USING OPTIMIZED PHASE NOISE VCODESIGN OF DIGITAL PLL USING OPTIMIZED PHASE NOISE VCO
DESIGN OF DIGITAL PLL USING OPTIMIZED PHASE NOISE VCO
VLSICS Design
 
3) Remote Controlled Fan Regulator
3) Remote Controlled Fan Regulator3) Remote Controlled Fan Regulator
3) Remote Controlled Fan Regulator
sajin sr
 
Ultrasonic level meter
Ultrasonic level meterUltrasonic level meter
Ultrasonic level meter
handson28
 

Similar to Tutorial 8 frequency counter (20)

ARRHYTHMIA.pptx
ARRHYTHMIA.pptxARRHYTHMIA.pptx
ARRHYTHMIA.pptx
 
Frequency counter
Frequency counterFrequency counter
Frequency counter
 
CATV Optical Transmitter
CATV Optical TransmitterCATV Optical Transmitter
CATV Optical Transmitter
 
Synchronization in SDH network
Synchronization in SDH networkSynchronization in SDH network
Synchronization in SDH network
 
Grid synchronisation
Grid synchronisationGrid synchronisation
Grid synchronisation
 
MC3PHAC.pdf
MC3PHAC.pdfMC3PHAC.pdf
MC3PHAC.pdf
 
AREA OPTIMIZED FPGA IMPLEMENTATION FOR GENERATION OF RADAR PULSE COM-PRESSION...
AREA OPTIMIZED FPGA IMPLEMENTATION FOR GENERATION OF RADAR PULSE COM-PRESSION...AREA OPTIMIZED FPGA IMPLEMENTATION FOR GENERATION OF RADAR PULSE COM-PRESSION...
AREA OPTIMIZED FPGA IMPLEMENTATION FOR GENERATION OF RADAR PULSE COM-PRESSION...
 
Report on speed control of d.c. motor using pwm method
Report on speed control of d.c. motor using pwm methodReport on speed control of d.c. motor using pwm method
Report on speed control of d.c. motor using pwm method
 
FrequencyExtendersWithBoosterModule_v12.pdf
FrequencyExtendersWithBoosterModule_v12.pdfFrequencyExtendersWithBoosterModule_v12.pdf
FrequencyExtendersWithBoosterModule_v12.pdf
 
rancang bangun NIIBP
rancang bangun NIIBPrancang bangun NIIBP
rancang bangun NIIBP
 
Research Report-Kaidi Du-EECE4993
Research Report-Kaidi Du-EECE4993Research Report-Kaidi Du-EECE4993
Research Report-Kaidi Du-EECE4993
 
Development of Digital Controller for DC-DC Buck Converter
Development of Digital Controller for DC-DC Buck ConverterDevelopment of Digital Controller for DC-DC Buck Converter
Development of Digital Controller for DC-DC Buck Converter
 
Analog to Digitalconvertor for Blood-Glucose Monitoring
Analog to Digitalconvertor for Blood-Glucose MonitoringAnalog to Digitalconvertor for Blood-Glucose Monitoring
Analog to Digitalconvertor for Blood-Glucose Monitoring
 
ANALOG TO DIGITALCONVERTOR FOR BLOOD-GLUCOSE MONITORING
ANALOG TO DIGITALCONVERTOR FOR  BLOOD-GLUCOSE MONITORING  ANALOG TO DIGITALCONVERTOR FOR  BLOOD-GLUCOSE MONITORING
ANALOG TO DIGITALCONVERTOR FOR BLOOD-GLUCOSE MONITORING
 
Design and Implementation of Area Optimized, Low Complexity CMOS 32nm Technol...
Design and Implementation of Area Optimized, Low Complexity CMOS 32nm Technol...Design and Implementation of Area Optimized, Low Complexity CMOS 32nm Technol...
Design and Implementation of Area Optimized, Low Complexity CMOS 32nm Technol...
 
A 20 gbs injection locked clock and data recovery circuit
A 20 gbs injection locked clock and data recovery circuitA 20 gbs injection locked clock and data recovery circuit
A 20 gbs injection locked clock and data recovery circuit
 
Adc lab
Adc labAdc lab
Adc lab
 
DESIGN OF DIGITAL PLL USING OPTIMIZED PHASE NOISE VCO
DESIGN OF DIGITAL PLL USING OPTIMIZED PHASE NOISE VCODESIGN OF DIGITAL PLL USING OPTIMIZED PHASE NOISE VCO
DESIGN OF DIGITAL PLL USING OPTIMIZED PHASE NOISE VCO
 
3) Remote Controlled Fan Regulator
3) Remote Controlled Fan Regulator3) Remote Controlled Fan Regulator
3) Remote Controlled Fan Regulator
 
Ultrasonic level meter
Ultrasonic level meterUltrasonic level meter
Ultrasonic level meter
 

More from Brit4

Littelfuse fuseology selection_guide.pdf
Littelfuse fuseology selection_guide.pdfLittelfuse fuseology selection_guide.pdf
Littelfuse fuseology selection_guide.pdf
Brit4
 
Io ct part1-04robotics
Io ct part1-04roboticsIo ct part1-04robotics
Io ct part1-04robotics
Brit4
 
Very simple microprocessor
Very simple microprocessorVery simple microprocessor
Very simple microprocessor
Brit4
 
U proc ovw
U proc ovwU proc ovw
U proc ovw
Brit4
 
Michelson
MichelsonMichelson
Michelson
Brit4
 
Ch16
Ch16Ch16
Ch16
Brit4
 
Superconductivity
SuperconductivitySuperconductivity
Superconductivity
Brit4
 
Defects
DefectsDefects
Defects
Brit4
 
06479 g sample_buynow
06479 g sample_buynow06479 g sample_buynow
06479 g sample_buynow
Brit4
 
Electrical measuring-instruments
Electrical measuring-instrumentsElectrical measuring-instruments
Electrical measuring-instruments
Brit4
 
Mc ty-cubicequations-2009-1
Mc ty-cubicequations-2009-1Mc ty-cubicequations-2009-1
Mc ty-cubicequations-2009-1
Brit4
 
First Aid Basics
First Aid BasicsFirst Aid Basics
First Aid Basics
Brit4
 
Sgr article unesco_engr_book
Sgr article unesco_engr_bookSgr article unesco_engr_book
Sgr article unesco_engr_book
Brit4
 
Sgr article unesco_engr_book
Sgr article unesco_engr_bookSgr article unesco_engr_book
Sgr article unesco_engr_book
Brit4
 

More from Brit4 (14)

Littelfuse fuseology selection_guide.pdf
Littelfuse fuseology selection_guide.pdfLittelfuse fuseology selection_guide.pdf
Littelfuse fuseology selection_guide.pdf
 
Io ct part1-04robotics
Io ct part1-04roboticsIo ct part1-04robotics
Io ct part1-04robotics
 
Very simple microprocessor
Very simple microprocessorVery simple microprocessor
Very simple microprocessor
 
U proc ovw
U proc ovwU proc ovw
U proc ovw
 
Michelson
MichelsonMichelson
Michelson
 
Ch16
Ch16Ch16
Ch16
 
Superconductivity
SuperconductivitySuperconductivity
Superconductivity
 
Defects
DefectsDefects
Defects
 
06479 g sample_buynow
06479 g sample_buynow06479 g sample_buynow
06479 g sample_buynow
 
Electrical measuring-instruments
Electrical measuring-instrumentsElectrical measuring-instruments
Electrical measuring-instruments
 
Mc ty-cubicequations-2009-1
Mc ty-cubicequations-2009-1Mc ty-cubicequations-2009-1
Mc ty-cubicequations-2009-1
 
First Aid Basics
First Aid BasicsFirst Aid Basics
First Aid Basics
 
Sgr article unesco_engr_book
Sgr article unesco_engr_bookSgr article unesco_engr_book
Sgr article unesco_engr_book
 
Sgr article unesco_engr_book
Sgr article unesco_engr_bookSgr article unesco_engr_book
Sgr article unesco_engr_book
 

Recently uploaded

MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 

Recently uploaded (20)

MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 

Tutorial 8 frequency counter

  • 1. Tutorial 8 - Frequency Counter V4.30 Page 1 of 12 Midnight Scalar Network Analyzer TTuuttoorriiaall 88 -- FFrreeqquueennccyy CCoouunntteerr ffoorr FFiirrmmwwaarree VVeerrssiioonn 44..3300 By Dave Collins AD7JT 2016-02-29 This tutorial takes you through the steps to configure and use your MSNA to measure frequency. It includes a discussion of how frequency measurements are made, how to tune SNA timing func- tions for better accuracy, and a description of an RF signal condi- tioning circuit.
  • 2. Tutorial 8 - Frequency Counter V4.30 Page 2 of 12 Midnight Scalar Network Analyzer Contents 1. APPLIES TO ...........................................................................3 2. PREREQUESITES....................................................................3 3. ADDITIONAL REQUIREMENTS ...............................................3 4. HOW IT'S DONE ....................................................................4 5. RF SIGNAL CONDITIONING CIRCUIT.......................................6 6. MEASURING FREQUENCY......................................................7 7. CALIBRATION........................................................................8 Using RF Out as a Calibration Signal........................................9 Coarse Adjustment - System Clock Frequency.......................10 Fine Adjustment - Counting Period.......................................11 APPENDIX A. RF SIGNAL CONDITIONER...................................12
  • 3. Tutorial 8 - Frequency Counter V4.30 Page 3 of 12 Midnight Scalar Network Analyzer 1.APPLIES TO All Midnight SNA units running V4.30 firmware or later. 2.PREREQUESITES The primary prerequisite for using the frequency counter is that the RF signal input (external interface connector, tip contact) must meet the voltage and timing re- quirements specified by Microchip for a 5V tolerant, 2x I/O pin. The basic require- ments are as follows: Voltage with respect to ground ..............................-0.3V to +5.6V Maximum low level.................................................0.66V Minimum high level ................................................2.31V Low Frequency Counter (LFC): Maximum frequency...............................................11 MHz Minimum High Time ...............................................45 ns Minimum Low Time................................................45 ns High Frequency Counter (HFC): Maximum frequency...............................................40 MHz Minimum High Time ...............................................20 ns Minimum Low Time................................................20 ns The External Interface connector, sleeve contact can provide power with the follow- ing limits: Maximum voltage...................................................3.3V Maximum current source........................................15 ma Minimum output voltage sourcing ≤ 4 ma.............3.0V Minimum output voltage sourcing ≤ 11 ma...........2.0V Minimum output voltage sourcing ≤ 15 ma...........1.5V 3.ADDITIONAL REQUIREMENTS In addition to the MSNA, the following may be needed to complete this tutorial: 1. Adapters or cables to attach the signal source to the MSNA. 2. RF Conditioning circuit to assure meeting the interface electrical specifications. 3. Precision frequency source to fine tune the frequency counter calibration.
  • 4. Tutorial 8 - Frequency Counter V4.30 Page 4 of 12 Midnight Scalar Network Analyzer 4.HOW IT'S DONE The dsPIC33 microcontroller used in the MSNA has remappable peripherals that en- able the firmware to assign many of the I/O pins to a number of peripherals. The MSNA External Interface (EI) pins are remappable. The EI function (and serial port baud rate) is selected using the Configure Ext. Interface [B] selection on the Setup menu. When a baud rate [1 - 9] is selected, the EI pins are assigned to a UART. When the FREQ COUNTER [F] is selected, the EI connector tip connec- tion is assigned to a 32-bit counter and the ring connection to an I/O port pin. Frequency Counter interface to External Interface Connector SLEEVE (C) TIP (A) RING (B) +3 Volts, 15 ma max <- TTL/CMOS Signal Source -> GND In Low Frequency Counter (LFC) mode, the counter is driven directly (1:1 prescaler) and in High Frequency Counter (HFC) mode, an 8:1 prescaler is used to reduce the input frequency by a factor of eight. Another counter is used to generate a clock "tick" every second. At each tick of the clock, the firmware reads the current value of the 32-bit frequency counter and re- sets the counter to zero. In LFC mode the frequency count is used as-is, in HFC mode the frequency count is multiplied by eight to account for the 8:1 prescaler. The raw frequency count is smoothed some by computing a 10-point running aver- age. The frequency (running average) is displayed on a version of the signal genera- tor display and is updated every second. To speed up frequency acquisition after a significant change in frequency, tapping Freq LO [Home] will restart the running average with the next raw frequency count. To help indicate this condition, the cur- rent raw frequency count is also displayed. The accuracy of the frequency meter is dependent on the accuracy of the one se- cond timer which uses the system clock as a time base. The MSNA system clock runs at a nominal 40 MHz rate and is generated from an internal 7.37 MHz, RC oscil- lator driving a phase locked loop (PLL). The RC oscillator is factory-tuned and ex- pected to remain within ± 2% of the tuned value over the specified temperature and voltage ranges for the controller. To improve on this, the system clock can be
  • 5. Tutorial 8 - Frequency Counter V4.30 Page 5 of 12 Midnight Scalar Network Analyzer tuned by the firmware from -12% to +11.625% of the nominal frequency in steps of approximately 0.375% of the nominal clock frequency which corresponds to 37.5 KHz per step assuming a 10 MHz timing standard. Further improvement can be made by adjusting the frequency counting period (one second). The counting peri- od can be increased or decreased by a maximum of 5 ms in steps ranging from 0.2 uS to 0.2 ms. The MSNA provides support for tweaking both of these values.
  • 6. Tutorial 8 - Frequency Counter V4.30 Page 6 of 12 Midnight Scalar Network Analyzer 5.RF SIGNAL CONDITIONING CIRCUIT SLEEVE (C) TIP (A) RING (B) SLEEVE RING TIP SLEEVE (C) TIP (A) RING (B) Q1 MMBT2222A R3 120 R1 10K R2 4.3K C1 .01 uF N.C. SNA External Interface Signal Source BNC Alternative When the RF signal source satisfies the voltage levels specified above, it can be con- nected directly to the tip connection of the EI connector. When these specifications cannot be guaranteed, a conditioning circuit will be required. The circuit shown above will limit the voltage levels to within specification and provide some gain for weak input signal levels. The circuit is powered by the I/O pin connected to the sleeve connection which is held at a logic 1 or "high" logic level when the frequency counter input is specified for the EI. I built my conditioning circuit using surface-mount devices on a piece of copper clad PCB material small enough to fit in the housing of a 3.5 mm stereo audio connector. Appendix A shows the details of this implementation.
  • 7. Tutorial 8 - Frequency Counter V4.30 Page 7 of 12 Midnight Scalar Network Analyzer 6.MEASURING FREQUENCY To activate the frequency counter do the following: 1. Select FREQ COUNTER [F] from the EI Configuration menu (Setup [Scroll Lock] > Configure Ext. Interface [B]) to configure the EI for frequency counter input. 2. Connect the signal source to the EI. Use an RF Conditioning circuit if required. 3. Start a macro with op modes set to F [F or 2] for HFC or f [f or 1] for HFC. If desired, en- ter a title on page one. Leave the rest of the form blank. 4. Tap Start Mode [A] to set to automatic. 5. Observe one of the following modified signal generator displays.  Tap Freq LO [Home] to clear and restart the running average.  Tap Start Mode [A] to toggle start mode between Automatic and Manual.  Tap anywhere else [SPACE] to take one reading. (This is normally only useful in manual start mode.) } {Recommended Frequency Range Prescaler setting RF In Power Level Frequency: 10-point running average Latest raw count
  • 8. Tutorial 8 - Frequency Counter V4.30 Page 8 of 12 Midnight Scalar Network Analyzer 7.CALIBRATION Due to the MSNA's lack of a precision time base it will be necessary to regularly cali- brate the frequency meter. This will require an accurate signal source. I recom- mend 10 MHz as a convenient frequency standard since it can be used with both the HFC and LFC. This frequency is a very common standard and can easily be checked against WWV. The following assumes a 10 MHz frequency standard. Here are some possible sources for an accurate signal source:  A laboratory, calibrated signal generator such as an HP8640B often found listed on eBay.  A GPS receiver with its PPS/TimePulse frequency set to 10 MHz. A u-blox GPS receiver can be setup using the MSNA running the GDT application.  A second MSNA after setting its reference clock frequency with Tutorial 0 and the signal generator frequency to 10 MHz.  The RF Out signal after setting its reference clock frequency with Tutorial 0. There are two calibration modes for the frequency counters and they are the same for the LFC and HFC. A coarse calibration is done by adjusting the system clock fre- quency. A fine adjustment is done by adjusting the number of system clock cycles between frequency counter readings. The adjustment procedures can be per- formed with either the LFC or the HFC.
  • 9. Tutorial 8 - Frequency Counter V4.30 Page 9 of 12 Midnight Scalar Network Analyzer Using RF Out as a Calibration Signal The DDS-60 is normally turned off when using the frequency counter. To use the RF Out signal, the DDS-60 must be turned on. The DDS-60 will be turned on if a value is entered in the FREQ LO line of the macro form. When the macro is started, the DDS-60 frequency will be set to FREQ LO and the Freq LO line on the display will be rendered in yellow to alert us the DDS-60 is on.
  • 10. Tutorial 8 - Frequency Counter V4.30 Page 10 of 12 Midnight Scalar Network Analyzer Coarse Adjustment - System Clock Frequency With the frequency counter running, and our frequency standard input to the EI connector, tap Tweak Sys Clk [CTRL-T] to activate the system clock tweak function. Use the + [UP ARROW] and - [DOWN ARROW] buttons to adjust the system clock period. Each time an adjustment is made, the frequency counter is cleared and the ten-point running average is restarted. The current adjustment to the system clock period is shown as a percent of the nominal clock period. The adjustment range is from -12% to +11.625% in increments of 0.375%. This means that with a 10 MHz frequency standard, each increment corresponds to about 37.5 KHz in the frequency reading. Tap Save & End Tweak [Enter] on the context menu to save the cur- rent setting to EEPROM and return to the normal frequency counter display Use this calibration first to get as close as possible then use the following adjustment to fine tune the frequency counter.
  • 11. Tutorial 8 - Frequency Counter V4.30 Page 11 of 12 Midnight Scalar Network Analyzer Fine Adjustment - Counting Period With the frequency counter running, and our frequency standard input to the EI connector, tap Tweak Period [ALT-T] to activate the frequency counting period tweak function. The current adjustment to the counting period is shown in microseconds. Each tap of the + [UP ARROW] and - [DOWN ARROW] will subtract or add 0.2 uS to the one- second counting period. With a keyboard attached, the Control [Ctrl] and Alternate [Alt] keys can be used in conjunction with the UP ARROW and DOWN ARROW keys to increase the increment/decrement as follows: Ctrl/Alt INC/DEC STANDARD CYCLES* none 0.2 uS 2 Hz Alt 2.0 uS 20 Hz Ctrl 20.0 uS 200 Hz Ctrl+Alt 200.0 uS 0.2 KHz * assumes a 10 MHz frequency standard. Each time an adjustment is made, the frequency counter is cleared and the ten- point running average is restarted. The counting period can be adjusted up or down a maximum of 5 ms. Tap Save & End Tweak [Enter] on the context menu to save the current setting to EEPROM and return to the normal frequency counter display.
  • 12. Tutorial 8 - Frequency Counter V4.30 Page 12 of 12 Midnight Scalar Network Analyzer APPENDIX A. RF SIGNAL CONDITIONER C EB Q1 R1 C1 R2 R3 C EB Q1 R1 C1 R2 R3 ACTUAL SIZE (0.2" x 0.5") x5 Backside solid ground plane RF Signal Conditioner Dave Collins – AD7JT 2016-01-03 SLEEVE (C) TIP (A) RING (B) SLEEVE RING TIP SLEEVE (C) TIP (A) RING (B) Q1 MMBT2222A R3 120 R1 10K R2 4.3K C1 .01 uF N.C. SNA External Interface Signal Source BNC Alternative