Project in Wireless Communication Lecture 7: Software Defined Radio

Similar documents
Does The Radio Even Matter? - Transceiver Characterization Testing Framework

From Antenna to Bits:

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

2015 The MathWorks, Inc. 1

What is New in Wireless System Design

TestData Summary of 5.2GHz WLAN Direct Conversion RF Transceiver Board

What s Behind 5G Wireless Communications?

Specifications and Interfaces

Software radio. Software program. What is software? 09/05/15 Slide 2

DTP4700 Next Generation Software Defined Radio Platform

Incorporating PlutoSDR in the Communication Laboratory and Classroom: Potential or Pitfall?

Figure 1 nanobee 4x Patrick Henry Drive Santa Clara, CA

Supplemental Slides: MIMO Testbed Development at the MPRG Lab

A GENERAL SYSTEM DESIGN & IMPLEMENTATION OF SOFTWARE DEFINED RADIO SYSTEM

Software Radio Network Testbed

Spectral Monitoring/ SigInt

Analog Devices perpetual ebook license Artech House copyrighted material.

N-Channel Scalable Coherent Transceiver

FEATURES DESCRIPTION BENEFITS APPLICATIONS. Preliminary PT4501 Sub-1 GHz Wideband FSK Transceiver

Implementation of a Channel Sounder using GNU Radio Opensource SDR Platform

Software Radio, GNU Radio, and the USRP Product Family

N-Channel Scalable Coherent Transceiver

Ettus Research USRP. Tom Tsou 3rd OpenAirInterface Workshop April 28, 2017

Waveform Generation and Testing with Software-Defined Radios (SDR) and RF instruments

GENERIC SDR PLATFORM USED FOR MULTI- CARRIER AIDED LOCALIZATION

SpectraTronix C700. Modular Test & Development Platform. Ideal Solution for Cognitive Radio, DSP, Wireless Communications & Massive MIMO Applications

What s Behind 5G Wireless Communications?

1. Introduction. 2. Cognitive Radio. M. Jayasri 1, K. Kalimuthu 2, P. Vijaykumar 3

Nutaq OFDM Reference

SOQPSK Software Defined Radio

Cognitive Radio: Fundamentals and Opportunities

Advances in Wireless Communications: Standard Compliant Models and Software Defined Radio By Daniel Garcίa and Neil MacEwen

Transmitting Multiple HD Video Streams over UWB Links

User Manual WHM520V. 1. Introduction. 2. Feature

Faculty of Information Engineering & Technology. The Communications Department. Course: Advanced Communication Lab [COMM 1005] Lab 6.

Full Duplex Radios. Sachin Katti Kumu Networks & Stanford University 4/17/2014 1

5G 무선통신시스템설계 : WLAN/LTE/5G

RF and Microwave Test and Design Roadshow 5 Locations across Australia and New Zealand

Challenges of 5G mmwave RF Module. Ren-Jr Chen M300/ICL/ITRI 2018/06/20

TESTING METHODS AND ERROR BUDGET ANALYSIS OF A SOFTWARE DEFINED RADIO By Richard Overdorf

ni.com The NI PXIe-5644R Vector Signal Transceiver World s First Software-Designed Instrument

TSEK38 Radio Frequency Transceiver Design: Project work B

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

SDR OFDM Waveform design for a UGV/UAV communication scenario

Wireless Communication Systems: Implementation perspective

Software Defined Radio hardware for Osmocom BTS. Alexander Chemeris CTO, Fairwaves, Inc.

Image transfer and Software Defined Radio using USRP and GNU Radio

A 1.9GHz Single-Chip CMOS PHS Cellphone

Introduction of USRP and Demos. by Dong Han & Rui Zhu

mmw to THz ultra high data rate radio access technologies

SDR Platforms for Research on Programmable Wireless Networks

SDR-BASED TEST BENCH TO EVALUATE ANALOG CANCELLATION TECHNIQUES FOR IN-BAND FULL-DUPLEX TRANSCEIVER

BitScope Micro - a mixed signal test & measurement system for Raspberry Pi

DESIGN OF A MEASUREMENT PLATFORM FOR COMMUNICATIONS SYSTEMS

AD9361 transceiver IC are explored. The signal properties are tested on spectrum analyzer. Index Terms: DS-SS, CDMA, Gold code, SOC.

Block Diagram. i_in. q_in (optional) clk. 0 < seed < use both ports i_in and q_in

Further hacks on the Calypso platform

SIMPLE Raspberry Pi VHF TRANSCEIVER & TNC

5 th Generation Non-Orthogonal Waveforms for Asynchronous Signaling. Final Review. Brussels, Work Package 5

ADVANCED EMBEDDED MONITORING SYSTEM FOR ELECTROMAGNETIC RADIATION

A GENERIC ARCHITECTURE FOR SMART MULTI-STANDARD SOFTWARE DEFINED RADIO SYSTEMS

LitePoint IQnxn MIMO Test Solution

Combining filters and self-interference cancellation for mixer-first receivers in Full Duplex and Frequency-Division Duplex transceiver systems

Radio with COTS Technologies. ATE Systems Engineer

Developing and Prototyping Next-Generation Communications Systems

1 Interference Cancellation

AN4392 Application note

Overview. Lecture 3. Terminology. Terminology. Background. Background. Transmission basics. Transmission basics. Two signal types

DEVELOPMENT OF SOFTWARE RADIO PROTOTYPE

PLC2 FPGA Days Software Defined Radio

An FPGA Case Study: Narrowband COFDM Video Transceiver for Drones, UAV, and UGV. Produced by EE Times

A HYBRID DSP AND FPGA SYSTEM FOR SOFTWARE DEFINED RADIO APPLICATIONS

Bridge RF Design and Test Applications with NI SDR Platforms

Session 3. CMOS RF IC Design Principles

A review paper on Software Defined Radio

Using a COTS SDR as a 5G Development Platform

ADI 2006 RF Seminar. Chapter II RF/IF Components and Specifications for Receivers

RF, HIL and Radar Test

26.8: A 1.9GHz Single-Chip CMOS PHS Cellphone

Some Radio Implementation Challenges in 3G-LTE Context

and RTL-SDR Wireless Systems

With A Hardware Demonstrator. MIMO Channel Measurements. Department of Communications Engineering. University of Bremen.

Using a design-to-test capability for LTE MIMO (Part 1 of 2)

HY448 Sample Problems

Postprint.

Frequency Shift Keying Scheme to Implement SDR using Hackrf one

Case Study: and Test Wireless Receivers

RF and Microwave Test and Design Roadshow Cape Town & Midrand

nuand bladerf Overview

Wavedancer A new ultra low power ISM band transceiver RFIC

4. BK2401/BK2421 Module RF test

High-end vector signal generator creates complex multichannel scenarios

RADAR Simplified. Wideband & Ultra-wideband radar solutions for HF, VHF, UHF & SHF bands

2002 IEEE International Solid-State Circuits Conference 2002 IEEE

802.11ax Design Challenges. Mani Krishnan Venkatachari

Course Project. Project team forming deadline has passed Project teams will be announced soon Next step: project proposal presentation

INTRODUCTION TO TRANSCEIVER DESIGN ECE3103 ADVANCED TELECOMMUNICATION SYSTEMS

Open Source Software Defined Radio Platform for GNSS Recording, Simulation and Tracking

Cognitive Radio Communications for Dynamic Spectrum Access. Outline

New Technologies for Software Defined Radio. Farris Alhorr. National Instruments Business Development Manager, IndRAA

Transcription:

Project in Wireless Communication Lecture 7: Software Defined Radio FREDRIK TUFVESSON ELECTRICAL AND INFORMATION TECHNOLOGY Tufvesson, EITN21, PWC lecture 7, Nov. 2018 1

Project overview, part one: the audio channel Part one is divided into two parts Task 1 the basic link: Implement an OFDM system and send a data sequence from one computer to the other via the audio channel and decode. Task 2 the advanced link: Implement the packet based full duplex system on the audio channel with ARQ. Deadline is Friday Dec 7, 2018 for part one (task 1&2) Tufvesson, EITN21, PWC lecture 7, Nov. 2018 2

Project overview, part two: the radio channel Implement a basic OFDM based file transfer system over the radio channel using the ADALM Pluto SDR Part two is divided into two tasks Task 3 the basic link: Implement an OFDM tranceiver and send a file between the Tx and Rx part of the same Pluto SDR. Task 4 the advanced link: Transfer the file from one Pluto to another Pluto over the radio channel. Deadline is Friday Jan 11, 2019 for part two (task 3&4) Tufvesson, EITN21, PWC lecture 7, Nov. 2018 3

The following slides are to a large extent based on the book Software-Defined Radio for Engineers, by Travis F. Collins, Robin Getz, Di Pu, and Alexander M. Wyglinski, 2018, ISBN-13: 978-1-63081-457-1 Don t miss to read it, especially chapter 5 Tufvesson, EITN21, PWC lecture 7, Nov. 2018 4

The PLUTO Software defined radio The Pluto SDR includes: An analog RF section (atennna, RF filters, input mux, LNA, gain, attenuation, mixer) Analog baseband part (analog filters, ADC or DAC) is implmented in the AD9363, Integrated RF Agile Transceiver Digital signal processing unit for dedicated RF processing Xilinx Zynq FPGA for further signal processing. ARM cortex 9 processor Antenna and RF filters are expected to be done outside the Pluto SDR and are the responsibility of the end user Tufvesson, EITN21, PWC lecture 7, Nov. 2018 5

What is inside the box? Tufvesson, EITN21, PWC lecture 7, Nov. 2018 6

Transmit specifications Center frequency: 300 MHz 3,8 GHz, 70 MHz 6 GHz via software modification and reduced specifications. Channel bandwidth 200 khz 20 MHz, Sample rate: 65.1 ksps 61 MSPS 2.4 Hz LO step size, 5 Hz sample rate step size Modulation accuracy (EVM): 40 db (typical, not measured on every unit) 12-bit DACs Tufvesson, EITN21, PWC lecture 7, Nov. 2018 7

Receive specifications Center frequency: 300 MHz 3,8 GHz, 70 MHz 6 GHz via software modification and reduced specifications. Channel bandwidth 200 khz 20 MHz. Sample rate 65.1 ksps 61 MSPS 2.4 Hz LO step size, 5 Hz sample rate step size Modulation accuracy (EVM): 40 db (typical, not measured on every unit) 12-bit ADCs Tufvesson, EITN21, PWC lecture 7, Nov. 2018 8

Tufvesson, EITN21, PWC lecture 7, Nov. 2018 9

Input/output USB 2 OTG (480 Mbits/seconds), device mode libiio USB class, for transfering IQ data from/to the RF device to the host Network device, provides access to the Linux on the Pluto device USB serial device, provides access to the Linux console on the Pluto device Mass storage device Tufvesson, EITN21, PWC lecture 7, Nov. 2018 10

Input/output USB 2 OTG (480 Mbits/seconds), host mode Mass storage device, plug in a thumb drive, and capture or playback waveforms Wifi dongle, access the Pluto SDR via WiFi Wired LAN, access the Pluto SDR via wired LAN External power, for when using the Pluto SDR in host mode. Tufvesson, EITN21, PWC lecture 7, Nov. 2018 11

Input/output Libiio is the userspace library for accessing local and remote IIO devices, in our case both in the ARM, and on the host libiio is used to interface to the Linux industrial input/output (IIO) subsystem. libiio can be natively used on an embedded Linux target (local mode) or to communicate remotely to that same target from a host Linux, Windows, or MAC over USB, Ethernet, or Serial. Tufvesson, EITN21, PWC lecture 7, Nov. 2018 12

Xilinx Zynq System on Chip Once the data is digitized it is passed to the Xilinx Zynq System on Chip The Zynq-7000 family includes and FPGA for flexibility and scalability, Integrated ARM Cortex-A9 based processing system (PS) and programmable logic (PL). The Zynq is the used in the Pluto SDR as the main controller Tufvesson, EITN21, PWC lecture 7, Nov. 2018 13

Tufvesson, EITN21, PWC lecture 7, Nov. 2018 14

Matlab requirements MATLAB can be used as a cross-platform IIO client to interface with the Pluto. SDRToolboxes that are required to use MATLAB with the PlutoSDR: DSP System Toolbox Signal Processing Toolbox Communications System Toolbox Tufvesson, EITN21, PWC lecture 7, Nov. 2018 15

Using PLUTO with MATLAB ADALM-PLUTO Radio Support from Communications Toolbox Install the support package if using your own laptop Matlab 2017b or later is highly recommended. Tufvesson, EITN21, PWC lecture 7, Nov. 2018 16

Using PLUTO with MATLAB The two system objects provided in the hardware support package (HSP) for Pluto SDR are: comm.sdrrxpluto: Pluto SDR Receiver System object comm.sdrtxpluto: Pluto SDR Transmitter System object Tufvesson, EITN21, PWC lecture 7, Nov. 2018 17

Basic object parameters CenterFrequency defines the RF center frequency in hertz. Note there are separate Rx and Tx LO, on the Pluto SDR, and these are managed separately BasebandSampleRate defines the sample rate of the inphase/quadrature receive chains, respectively. Note, there is only one clock generator for both the ADC and DAC GainSource has three possible options: Manual, AGC Slow Attack, and AGC Fast Attack. Tufvesson, EITN21, PWC lecture 7, Nov. 2018 18

Basic object parameters The ChannelMapping attribute for the Pluto SDR can only be set to 1. OutputDataType determines the format data is provided out of the object. Technically, from the AD9363 and libiio, MATLAB can only receive 16-bit complex integers, but we can tell MATLAB to cast them to other data types. Typically we will cast them to doubles SamplesPerFrame determines the number of samples in the buffer or frame that is passed to MATLAB from iiod. Tufvesson, EITN21, PWC lecture 7, Nov. 2018 19

Transmitting and receiving data Tufvesson, EITN21, PWC lecture 7, Nov. 2018 20

Capturing data with PLUTO There are three basic methods to capture and process data: 1. Read and process 2. Save, load and process 3. Stream processing Tufvesson, EITN21, PWC lecture 7, Nov. 2018 21

Read and process Tufvesson, EITN21, PWC lecture 7, Nov. 2018 22

Save, load and process Tufvesson, EITN21, PWC lecture 7, Nov. 2018 23

Stream processing Tufvesson, EITN21, PWC lecture 7, Nov. 2018 24

Transmitting data As the spectrum use is regulated we are only allowed to transmit at certain frequencies, given that we fullfill the rules at that particular band. Use the ISM bands! Nothing but those. Anytime the Pluto SDR is powered on, the transceiver is activated and begins to operate even if the user did not intend to. When powered on Pluto SDR will transmit! Tufvesson, EITN21, PWC lecture 7, Nov. 2018 25

The ISM bands The industrial, scientific and medical (ISM) radio bands are radio bands (portions of the radio spectrum) reserved internationally for the use of radio frequency (RF) energy for industrial, scientific and medical purposes other than telecommunications. Radiocommunication services operating within these bands must accept harmful interference which may be caused by these applications and they are subject to specific rules 863-870 MHz Short range devices 2.4-2.5 GHz ISM 5.725-5.875 GHz ISM Tufvesson, EITN21, PWC lecture 7, Nov. 2018 26

Self interference There are two ways to reduce the self interference when receiving: 1. instantiate a transmitter System object (comm.sdrtxpluto) and write a vector of zeros to the object 2. shift the LO of the transmitter to a frequency beyond the receive bandwith. Tufvesson, EITN21, PWC lecture 7, Nov. 2018 27

Frequency offsets When transmitting between two separate devices there might be a frequency offset between the local oscillators For PLUTO the internal LO is rated at 25 PPM We can model the received signal without noise as Tufvesson, EITN21, PWC lecture 7, Nov. 2018 28

Carrier frequency offset estimation Use the repeated pilot also for carrier frequency offset estimation Tufvesson, EITN21, PWC lecture 7, Nov. 2018 29

Estimating the offset The phase of the synch signal can be written as The maximum detectable frequency offset with this method is A large symbol length (number of sub-carriers) reduces the estimation range! Tufvesson, EITN21, PWC lecture 7, Nov. 2018 30

Some advice Start simple Verify that the SDR is working with known functions first Verify your code stepwise Look at your signals by plotting them Look at what happens with the continous pilot symbols The antennas are not optimized for 2.4 GHz operation, but they work there. Verify your CFO compensation with the loopback cable and intentional frequency offset Try some of the more advanced stuff found on the web. Should we have a demo day in January? Tufvesson, EITN21, PWC lecture 7, Nov. 2018 31

Resources Recommended reading, chapter 5: Software-Defined Radio for Engineers, by Travis F. Collins, Robin Getz, Di Pu, and Alexander M. Wyglinski, 2018, ISBN- 13: 978-1-63081-457-1. There is a free pdf of the book available, see http://www.analog.com/en/education/educationlibrary/software-defined-radio-for-engineers.html. Analog devices, Pluto webpage https://www.analog.com/en/design-center/evaluation-hardwareand-software/evaluation-boards-kits/adalm-pluto.html#eboverview Tufvesson, EITN21, PWC lecture 7, Nov. 2018 32

PLUTO and MATLAB You have to install the support package for PLUTO to MATLAB Pluto and Matlab: Tutorials and examples https://se.mathworks.com/hardware-support/adalm-plutoradio.html https://se.mathworks.com/help/supportpkg/plutoradio/gettingstarted-with-communications-system-toolbox-support-packagefor-pluto-radio.htmlfre Tufvesson, EITN21, PWC lecture 7, Nov. 2018 33

Resources, GNU radio GNU Radio is a free & open-source software development toolkit that provides signal processing blocks to implement software radios GNU Radio is compatible with PLUTO and performs the radio related signal processing, written in either C++ or Python https://www.gnuradio.org/ https://wiki.analog.com/resources/tools-software/linuxsoftware/gnuradio Tufvesson, EITN21, PWC lecture 7, Nov. 2018 34

Tufvesson, EITN21, PWC lecture 7, Nov. 2018 35