Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA...

32
Scalar Network Analyzer Dave Collins – AD7JT George Heron – N2APB www.MidnightDesignSolutions.com/NAT

Transcript of Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA...

Page 1: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

Scalar Network AnalyzerDave Collins – AD7JT

George Heron – N2APB

www.MidnightDesignSolutions.com/NAT

Page 2: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

Features• Handheld SNA measures filters, crystals, antennas, and more

• Measurement capabilities provided by:

- “RF Out” test signal generated by DDS-60

- “RF In” measurements made with AD8307 log detector circuits

• Also serves as Handheld graphic terminal for display/control of PHSNA

• 3.2 inch, 240 x 320, 16-bit color graphic LCD display w/touch panel

• User-friendly operator interface

• Field upgradable firmware

• Digital serial port for (optional) connection to PHSNA

• External mini-keyboard input for control of SNA menu system

• 32KB EEPROM for persistent storage of settings and options

• Macros (in EEPROM) for storing operating parameters

• PLX-DAQ (Excel) mode for test automation and PHSNA compatibility

• Compatible with standard and enhanced PHSNA firmware versions

• Simplified calibration (no curve fitting required)

• Measurement & Plot Capabilities (v1.0):

- Testing and evaluating filters

- Measuring crystal parameters

- Return Loss Measurement

- VSWR and antenna tuning

- Continuous/repeated operation options

• SD Card mass storage up to 1 GB provides:

- FAT16 file system compatibility

- Subdirectory support for easy file management

- Data spooling and playback

- Calibration data storage and reloading

- Direct data exchange with Windows and Linux apps

- Easy and efficient firmware upgrades

- DOS–like commands to manage and playback data files

Page 3: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

Specifications

PCB: 4.47" x 3.31"

Enclosure: 4.82" x 3.77" x 1.39"

Data rates: 1.2 to 19.2 kbaud

Power: 9-18V DC @ 120ma (typ)

Weight: 7 oz (approx)

Page 4: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

Scalar Network Analyzer

Analyzes frequency response of DUT (Device Under

Test … i.e., the “network”)

Measures power level differences between the input

and output of the DUT

Expresses power level differences logarithmically, in

dB or dBm

Applications

RF filters

Antenna analysis and tuning

Crystal selection for crystal filters

Measurement receiver spectral analysis

Page 5: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

Three major pieces: Device Under Test (may require a test fixture)

SNA (Scalar Network Analyzer) performs the frequency scan and captures the results

Terminal to enter commands and display results

SNA

Device Under Test

(network)RF POWER

OUT

RF POWERIN

Terminal

Page 6: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

Example: Poor Ham’s Scalar Network AnalyzerWith PC terminal

PC Running Terminal

Emulator or Excel with

PLX-DAQ Macro

ARDUINO-BASED

MICROCONTROLLER

DEVICE UNDER

TEST (DUT)

DIGITALLY

CONTROLLED

SIGNAL

GENERATOR

(AD9850/51)

LOGARITHMIC

RF POWER

METER

(AD8307) RF INRF OUT

FREQPOWER

LEVEL

SCAN PARAMETERSPOWER READINGS (dB)

https://groups.yahoo.com/neo/groups/PHSNA/info

< SERIAL INTERFACE >

Page 7: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

Example: Poor Ham’s Scalar Network AnalyzerWith Network Analyzer Terminal (NAT)

TERMINAL (NAT)

ARDUINO-BASED

MICROCONTROLLER

DEVICE UNDER

TEST (DUT)

DIGITALLY

CONTROLLED

SIGNAL

GENERATOR

(AD9850/51)

LOGARITHMIC

RF POWER

METER

(AD8307) RF INRF OUT

FREQPOWER

LEVEL

SCAN PARAMETERSPOWER READINGS (dB)

https://groups.yahoo.com/neo/groups/PHSNA/info

< SERIAL INTERFACE >

Page 8: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

Example: Poor Ham’s Scalar Network AnalyzerWith Network Analyzer Terminal (NAT)

Page 9: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

Display module - under $20 on eBay: 240 x 320 Pixel (QVGA), 16-bit color, 3.2” LCD

SSD1289 display controller

Resistive touch screen with ADS7843 controller

SD Card socket

Pads and interconnect for serial (SPI) EEPROM

Single, 40-pin interface connector

Page 10: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

Microchip dsPIC33FJ128MC802 micro controller:

28-pin DIP package, 21 I/O pins

16-bit architecture

40 MIPS (Million Instructions Per Second)

128 KB program flash memory (44,032 24-bit words)

16 KB RAM

2 – Serial Peripheral Interfaces (SPI)

2 - UARTS

5 – 16-bit timers

6 – 12-bit ADC channels

Page 11: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

Basic NAT Block Diagram (Versions 1 and 2)

Page 12: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

Basic NAT Schematic Versions 1 and 2

Page 13: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

Menu Mode screen shots

1 ENTER

Page 14: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

PLX Mode screen shots

F1Enter

SPACE

Page 15: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

DOS Mode screen shots

Scroll

LockEscape touch

touch Y

Page 16: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

Arduino-Based Microcontroller: Terminal mode – menu driven

PLX mode – Excel spread sheet driven

Digitally Controlled Signal GeneratorAD9850: 1 – 30 MHz, about $10 on eBay

AD9851: 1 – 60 MHz, DDS-60 $45 kit from Midnight Design

ADC input from RF Power Meter

NAT

ARDUINO-BASEDMICROCONTROLLER

DEVICE UNDERTEST (DUT)

DIGITALLYCONTROLLED

SIGNALGENERATOR(AD9850/51)

LOGARITHMIC RF

POWER

METER

(AD8307)RF INRF OUT

FREQPOWER

LEVEL

SCAN PARAMETERSPOWER READINGS (dB) < SERIAL INTERFACE >

DDS II, AD9850

1.2” x 1.6”

DDS-60, AD9851

1.0” x 2.2”

Page 17: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

NACT: Network Analyzer Controlling TerminalBlock Diagram (Version 3)

Page 18: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

NACT schematic (Version 3)

Page 19: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

NAT (v1 & v2) to NACT PCB Modifications (v3)

Page 20: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

Network Analyzer Controlling Terminal (NACT)

Version 3

Optional PC Application

Network Analyzer

Controlling Terminal

(NACT)

DEVICE UNDER

TEST (DUT)

LOGARITHMIC

RF POWER

METER

(AD8307) RF INRF OUT

POWER

LEVEL

< SERIAL INTERFACE >

Page 21: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

New Version 3 features:

Eliminates need for Arduino-based controller

Signal Generator (manual control) mode

SD card file transfer to PC application via serial interface

Remote control over the serial interface

New function to adjust reference clock frequency

New function to determine slope and zero intercept point for RF

Power Meter

Morse code generator

Page 22: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

Antenna analysis with Return Loss Bridge (RLB)

10T-Bifilar(FT37-43)

50

50 50

RF INPUT(FROM DDS)

RETURN LOSS(TO RF POWER METER)

RESONATING DUT(e.g., antenna)

RETURN LOSS BRIDGE

Page 23: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

Crystal Characterization & Matching

9.19.1

150

9.19.1

150

10T-Bifilar(FT37-43)

10T-Bifilar(FT37-43)

RFIN

RFOUT

CRYSTALSOCKET

CRYSTAL TEST FIXTURE

-3dB Attenuator -3dB Attenuator

Page 24: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

Crystal Characterization & Matching (cont.)

Page 25: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

Network Analyzer Controlling Terminal (NACT)… Version 3 Software

Optional PC Application

Network Analyzer

Controlling Terminal

(NACT)

DEVICE UNDER

TEST (DUT)

LOGARITHMIC

RF POWER

METER

(AD8307) RF INRF OUT

POWER

LEVEL

< SERIAL INTERFACE >

Page 26: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

NACT to SNA conversion

Page 27: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

Scalar Network Analyzer (SNA)… Version 4 (not yet in production)

Optional PC Application

Scalar Network

Analyzer

(SNAT)

DEVICE UNDER

TEST (DUT)

RF OUT

< SERIAL INTERFACE >

RF IN

Page 28: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

Scalar Network Analyzer (SNA)… Version 4 (not yet in production)

From this…..

…..to this

Page 29: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

SNA Schematic (Version 4)

Page 30: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

RF Power Meter Mode Primarily intended for QRP applications

Power reading taken about 200 times/second (every 5 ms)

100 dBm range, use attenuators to shift the range

DDS used only for calibration

Three Power Meters Displayed Current power reading (10-point running average)

Average Power (200-point running average)

Peak Power (updated every 200 samples)

PCtrl-G Apply

RFScroll

Lock

Page 31: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

References: http://www.midnightdesignsolutions.com/nat

https://groups.yahoo.com/neo/groups/NAT-SNA/info

https://groups.yahoo.com/neo/groups/PHSNA/info

[email protected]

[email protected]

QUESTIONS?

COMMENTS?

CRITIQUES?

Page 32: Scalar Network Analyzer - Midnight Design Solutions (AD7JT-N2APB).pdf · Features • Handheld SNA measures filters, crystals, antennas, and more • Measurement capabilities provided

Time for a little math

Gain ratio = Pout/Pin

Gain (dB) = 10 log(Pout/Pin)

Gain (dBm) = 10 log(Pout/.001) = 10 log(Pout x 1000) = 10 (log(Pout) + log(1000)) = 10 log(Pout) + 30

Short circuit gain = 10 log(Pin/Pin) = 10 log(1) = 0for any Pin

Gain (dBm) = 10 log(Pin) - d where:Pin = power meter reading d = short circuit gain reading

DDS output level varies with frequency (due to sin(x)/x sampling effect) therefore d is a function of frequency: d(f)