Software Defined Radio! Primer + Project! Gordie Neff, N9FF! Columbia Amateur Radio Club! March 2016!

Similar documents
Technician License Course Chapter 3 Types of Radios and Radio Circuits. Module 7

Ham Radio Training. Level 1 Technician Level. Presented by Richard Bosch KJ4WBB

HF Digital Mode Overview

Radio Receivers. Al Penney VO1NO

What is it? What do I need? How do I use it? Randy Hall K7AGE

4- Single Side Band (SSB)

What is it? What do I need? How do I use it? Randy Hall K7AGE

Icom IC-9100 HF/VHF/UHF transceiver

Technician License Course Chapter 2. Lesson Plan Module 3 Modulation and Bandwidth

HF Digital Mode Primer

QSY Society Field Day 2011 PSK31 Training By KC2QFR - Fred Lauricella Introduction:

General Class Digital Modes Presentation

Radio Receivers. Al Penney VO1NO

Screen shots vary slightly according to Windows version you have.

Norfolk Amateur Radio Club

Albert F. Peter AC8GY Aug. 12, 2010

PRINCIPLES OF COMMUNICATION SYSTEMS. Lecture 1- Introduction Elements, Modulation, Demodulation, Frequency Spectrum

Single Conversion LF Upconverter Andy Talbot G4JNT Jan 2009

An Arduino DCR-SDR Project: Part 1

Technician License Course Chapter 3. Lesson Plan Module 7 Types of Radio Circuits

THE AMAZING BARLOW WADLEY XCR-30 CRYSTAL CONTROLLED 30 BAND TRANSISTOR RADIO. (A method to set the AGC) H. Holden, 2018.

General Class License Theory II. Dick Grote K6PBF

Weak Signal Digital Modes. 9V1KG Klaus Aug 2016

Introduction to FLDIGI Karl Frank, W2KBF

HF Receivers, Part 2

Wideband Receiver for Communications Receiver or Spectrum Analysis Usage: A Comparison of Superheterodyne to Quadrature Down Conversion

Software Defined Radio in Ham Radio Dennis Silage K3DS TS EPA Section ARRL

Lesson 2 HF Procedures and Practices Overview

Interference & Suppression Page 59

Overview of NBEMS modes using FLDIGI

RFID Systems: Radio Architecture

by Cliff Pulis, KE0CP SDR Presentation - Cliff Pulis, KE0CP 1

KWM-2/2A Transceiver THE COLLINS KWM-2/2A TRANSCEIVER

A Digital HF Mode By N4UFP Marc Tarplee. Tweaks by K7AGE

RADIO RECEIVERS ECE 3103 WIRELESS COMMUNICATION SYSTEMS

Sound Card Oscilloscopes and Digital Modes. K3EUI Barry Feierman June 2016

4/30/2012. General Class Element 3 Course Presentation. Practical Circuits. Practical Circuits. Subelement G7. 2 Exam Questions, 2 Groups

Exercise 1: RF Stage, Mixer, and IF Filter

Technician Licensing Class. Lesson 4. presented by the Arlington Radio Public Service Club Arlington County, Virginia

QRPver 20M Transceiver Review By Edward R. Breneiser, WA3WSJ

HF Receivers, Part 3

Module 8 Theory. dbs AM Detector Ring Modulator Receiver Chain. Functional Blocks Parameters. IRTS Region 4

CVARC BASIC RADIO TECH TALK. DIGITAL RADIO OPERATIONS 19 October 2018 Bill Willcox, Rob Hanson, Jaap Goede

Charan Langton, Editor

Lesson 9: Base Stations

Amplitude Modulation, II

SUBELEMENT T4. Amateur radio practices and station set up. 2 Exam Questions - 2 Groups

Amplitude Modulated Systems

RADIO AMATEUR EXAM GENERAL CLASS

The Icom IC Adam Farson VA7OJ. A New Top-class HF/6m Transceiver. IC-7700 Information & Links

Amateur Radio License. Radios, Power, RFI

Technician License Course Chapter 2. Lesson Plan Module 2 Radio Signals and Waves

Longwave AM radio receiver

SINGLE SIDEBAND FOR THE NON-TECHNICAL

ARRL Laboratory Expanded Test-Result Report ICOM IC-756 Pro

How Radio Works by Marshall Brain

Receiver Architecture

Test Equipment. PHYS 401 Physics of Ham Radio

Modulation Methods Frequency Modulation

Software Defined Radio. Bella Vista Radio Club 1 February 2018

Lab 4: Measuring Received Signal Power EE 361 Signal Propagation Spring 2017

Third-Method Narrowband Direct Upconverter for the LF / MF Bands

AM Limitations. Amplitude Modulation II. DSB-SC Modulation. AM Modifications

W0EB/W2CTX Alternate Firmware for the Micro BITX meter Transceiver

IC-756 Pro III vs. Pro II

NASHUA AREA RADIO CLUB TECH NIGHT SOFTWARE DEFINED RADIOS MARCH 8 TH, 2016

Results for sample general2015 test paper

Radio Receiver Architectures and Analysis

Adaptive Reception of Dual Polarity EME Signals Using Linrad. By Ed Cole KL7UW

SDR Platforms for Research on Programmable Wireless Networks

ADJUSTING YOUR HF RECEIVER

An Introduction to Operating Digital Modes. The Columbia Amateur Radio Club w4cae.com

Amplitude Modulation II

Transceiver selection and Specs.

TS-590SG HF/ 50MHz All-Mode TRANSCEIVER_

Software Defined Radio A Closer Look. A Ham Comp Presentation by John Brock ZS6WL Originally 13:00 (C)

Second Hand Yaesu FTDX5000MP HF base station transceiver

LnR Precision, Inc. 107 East Central Avenue, Asheboro, NC

WORKING DX WITH JOE TAYLOR

CHAPTER 2! AMPLITUDE MODULATION (AM)

Operating Station Equipment

Agilent 101: An Introduction to Electronic Measurement

PRODUCTS BROCHURE PRODUCTS OVERVIEW

What is a Communications System?

IQ+ XT. 144Mhz SDR-RF Exciter (preliminar v0.1)

SkyPI. Order SkyPi at

Senior Design and Graduate Projects Using Software Defined Radio (SDR)

HAM RADIO. What s it all about?

Outline. Communications Engineering 1

ECE5713 : Advanced Digital Communications

AfedriNet Review. SDRZone. AfedriNet SDR Review

NOISE PERFORMANCE CHARACTERSITICS OF DIRECT CONVERSION RECEIVERS

Elmer Session Hand Out for 3/3/11 de W6WTI. Some Common Controls Found On Amateur Radio Transceivers. (From ARRL web site tutorial)

MAKING TRANSIENT ANTENNA MEASUREMENTS

RF/IF Terminology and Specs

COMM 704: Communication Systems

How Radio Works By Marshall Brain

AM, PM and FM mo m dula l ti t o i n

Software defined radio transceiver (SDR) CW & RTTY Skimmer Server Weak Signal Propagation Reporter (WSPR)

Joe Cupano, NE2Z HOPE XII

Transcription:

Software Defined Radio! Primer + Project! Gordie Neff, N9FF! Columbia Amateur Radio Club! March 2016!

Overview! What is SDR?! Why should I care?! SDR Concepts! Potential SDR project! 2!

Approach:! This topic is too large and complex to cover comprehensively in a single short presentation. I will try to pick relevant examples to highlight the key elements of SDR! If you have questions! ask them!! 3!

What is SDR?! SDR substitutes software algorithms for functions historically performed by (usually analog) hardware components! Allows for changing major radio functions with little or no change radio in hardware! Eliminates the need for multiple modulation circuits in multi mode transceiver (CW, SSB, AM, FM, RTTY, etc.)! Can perform functions difficult or impossible to realize using analog components (certain types of filters, complex modulation techniques, adaptive antenna arrays, etc.)! 4!

What is SDR?! Classic Analog Radio! Antenna! or Antenna Array! Input! Device! Modulator! Power! Amplifier! + Filter! Local! Oscillator! T/R Switch! Output! Device! Demodulator! Filter! + Amplifier! 5!

What is SDR?! Software Defined Radio! Antenna! or Antenna Array! Input! Device! Depends on type of input! Encoder! Modulator! Power! Amplifier! + Filter! Analog-to-! Digital! Converter! Local! Oscillator(s)! Phased! Array! Control! T/R Switch! Output! Device! Demodulator! Decoder! Analog-to-! Digital! Converter! Filter! + Amplifier! Note: We sometimes tend to think of SDR only in terms of receivers! SDR is for transmitters, too! 6! Functions which may be performed in software or via computer hardware!

What is SDR?! Functions typically performed to software (or computer hardware):! Analog-to-digital conversion (and often digital-to-analog conversion! Modulation! Demodulation! Filtering! Message coding and decoding! Control of phased array antennas (becoming common in new generations of home routers)! Radio controls and displays! Can pick and choose which functions to computerize based on operating and design goals! 7!

What is SDR?! Largely eliminates component tolerance issues when performing signal processing! Device bias, phase inaccuracies, filter tuning, etc.! Very complex math can be performed it s just math! With a fast enough computer, a whole band (or even all of HF) can be acquired and processed in parallel! Can even record the data and play back later!! The ability to store and analyze captured signals allows a computer to perform functions that would require going back in time for an analog system! Can perform statistical analysis to do noise reduction! 8!

What is SDR?! Functions still typically performed in hardware:! RF signal amplification (both transmit and receive)! Filtering associated with analog RF amplification (low pass, high pass, band pass, band stop)! Audio amplification! Power supplies! 9!

Why Should I Care?! Future! SDR is the future of most ham radio equipment! Cheaper! Eventually (if not already) SDRs will be cheaper than classic circuits due to reduced parts counts and fewer circuits requiring post-assembly testing and adjustment! Flexibility! You can do things with SDRs that are difficult or impossible or unaffordable with analog equipment! Expectations of future hams! The next generation of hams will expect more cell phone-like equipment operation (and cell phones already are SDRs...)! 10!

Why Should I Care?! What solutions are likely to remain analog for a while?! Super high performance receivers! Super cheap systems! Static or targeted-use solutions (e.g., FM repeaters)! 11!

Role of Analog-to-Digital Conversion! Why?! Radio communications always involves some sort of analog signals! Computers operate on discrete values! Somewhere in the middle analog must be converted to digital (and generally vice versa)! Amateur radio involves signals over a wide dynamic range often greater than A/D converters can adequately manage by themselves! Cost vs. performance! A/D converters used to be expensive! Converters covering audio frequencies now pretty cheap! High-resolution, high accuracy converters covering high RF frequencies can still be somewhat expensive! The processing to handle all that data can also be relatively expensive! You pay for what you get in SDR! 12!

Time Domain vs. Frequency Domain! In analog systems, we normally do all processing of signals as they exist in the time domain (i.e., as a function of time)! In SDR, we often process signals in the frequency domain (i.e., as a function of frequency)! Conversion from time to frequency and back via a function called the Fast Fourier Transform (FFT)! Possible to do frequency domain processing in analog systems, but very complex and expensive (example: Navy F-14 radar)! Frequency domain processing allows determination of frequency and phase of all signals in the passband! 13!

Coherent vs. Non-Coherent! Coherent demodulation uses "exact" knowledge of carrier phase to perform demodulation and decoding! Allows receiver to integrate (add up) signal over time to improve performance in noise and signal degradation! Can receive signals that are substantially weaker than the band noise!! Allows the use of exact phase in performing demodulation - mandatory for certain digital communications protocols! Harder to do (particularly with analog circuits)! Non-coherent demodulation does not use exact phase information! Doesn't mean phase is ignored altogether! Normally uses instantaneous demodulator output (no integration) that results in poorer performance with noise and signal degradation! Easier to do! Weak signal work is greatly improved by using coherent detection! 14!

SSB Example! SSB is created by multiplying the input (usually voice) by an RF signal and then eliminating the unwanted sideband! Two primary methods of eliminating the unwanted sideband:! Filter method! Most popular! Requires expensive crystal filters! Phasing method! Generated by phase shifting the input and the RF signals and canceling out the unwanted sideband! Hard to do in analog circuitry! Pretty easy to do in SDR! 15!

SSB Block Diagrams! Filter Method! Mixer! Best/easiest for analog! Input signal! Crystal! Filter! SSB output! RF! Phasing Method! Mixer! Best/easiest for SDR! Input signal! RF! SSB output! Can be reversed for reception! 90º! Phase! Shifter! 0º! 90º! Mixer! 16! Σ! Change signs on summer to select LSB or USB!

SSB Trivia Question! Historically, why was 9 MHz chosen as the standard intermediate frequency for HF radios?! 17!

Potential Project! Now let's put this together into a ham radio project! 18!

Project Goals! Transceiver - not just a receiver like the low-cost "TV dongles" popular today! QRP - must run on the power available from a standard USB 2.0 port (max 2.5 W total power available to all components in the radio)! Small physical package mobile, mobile, mobile (okay, ham shack, too!)! Predictable, medium/long distance, data communications (even if data rate is slow)! Software must run unmodified on as many platforms as practical - no drivers other than those built into the operating systems! No complex software installation, configuration, or operating steps! Transceiver hardware should NOT require a microcontroller! Hardware must be under $100 and preferably under $50! 19!

Design Choices! Hardware! Assume a single-band, crystal-controlled, direct conversion receiver (and transmitter)! Use phasing approach to generate and receive SSB-like signals! Tuning controlled by audio frequency (max freq < ± 20kHz or maybe <±10kHz)! Radio-to-computing device interface exclusively via stereo audio in-out! Candidate bands! 630 meters (472-479 khz)! 30 meters (10.1-10.15 MHz)! 30 meters is better for first attempt! 472 khz! 479 khz! 10.110 MHz! 10.140 MHz! = crystal oscillator frequency! 20!

Design Choices! Candidate software platforms! Web Audio platform using JavaScript in a browser! Should support Mac, Windows, Linux, Android, ios (eventually)! Java application using the Java sampled sound API! Should support Mac, Windows, Linux, Android (maybe...)! 21!

Simplified Block Diagrams! In phase! Transmit! Computer! Audio Out! Quadrature! 0! 90! Σ! Power amp! VOX switches between the two circuit configurations! Reuse oscillator, mixers, and maybe some amplifiers between transmit and receive! In phase! Receive! Computer! Audio In! Quadrature! 0! 90! RF amp! 22!

Candidate Hardware Mixers/multipliers! Components! Expensive AD834 highly linear, minimal filtering ($30+ each - ouch!)! Mid-range AD8333 has two mixers plus oscillator 90 phase shifter built in! Cheap SA612 used as switching mixer, lots of filtering! Small signal amplifiers! A little more expensive nice video amplifiers, such as AD8055! A little cheaper Mini-Circuits amplifiers MAR-1, MAR-2, etc.! Power amplifier really tough due to 5V supply limitations! MAX 2602 intended for cell phone applications (low voltage)! Electronic switches ADG904, as example! Crystal oscillator Digi-Key sells programmable oscillators dirt cheap (~$3 each) that they will pre-program for you! Example Cardinal Components CPP series! Open question will these have too much phase noise???! 23!

Protocol Selection! Characteristics! Single tone at a time - allows for non-linear amplification (higher efficiency)! Suitable for weak signals and slow transmission over HF and MF! Small bandwidth! Must support IQ inputs and outputs! Must have thorough specification (too laborious to reverse engineer code)! Must be compliant with regulations! 24!

Protocol Selection! Strategy! Start with Morse code! Variable speed! Could be as slow as 1 WPM or less at poor signal-to-noise ratios! Add option to enhance using two tones rather than on/off! Add option to use enhanced character set! There are ~60 unused characters at up to 6 dots/dashes! Consider other popular weak signal protocols at a later date! 25!

Protocol Selection! Morse Code Binary Tree! By Original uploader was Aris00 at en.wikipedia - Transfered from en.wikipedia Transfer was stated to be made by User:Ddxc., CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=3177632! 26!

Protocol Selection! Morse Code! Pros:! While not the most efficient protocol, Morse code is surprisingly efficient! When using pure Morse code, transmissions are legal on virtually all amateur frequencies! Morse code extensions allow for a very large symbol base! Can easily add error detection I call it MorseTOR! Does not rule out human decoding (by ear or waterfall display) when signal strength is good (try that with an MFSK signal!)! Can use non-linear power amp better efficiency! Simple protocol, well known, no reverse engineering necessary! Cons:! Other weak signal modes have proven to be better performers! 27!

Wrap Up! SDR is the future of radio embrace it!! Prices will come down as competition heats up! You can use SDR principles to homebrew pretty sophisticated gear on the cheap! 28!

Questions?! I hope you enjoyed the presentation!! 29!