Académique Documents
Professionnel Documents
Culture Documents
com
Introduction to Digital
Communication
Ingo Foldvari
Academic Program Manager
National Instruments California
ni.com
Wireless Communication Devices
ni.com 3
NI USRP and LabVIEW
ni.com 5
RF Handbook
Ideal for learning or refreshing your knowledge of RF & Comm.
Practical information, theoretical foundation
Demonstrations and lab exercises based on
NI LabVIEW
LabVIEW Modulation Toolkit
NI IF & RF Communications Hardware Platform
ni.com 6
Online Community
https://decibel.ni.com/content/groups/ni-usrp-example-labview-vis
ni.com 7
Wireless Digital Communication
modulated
IQ waveform
IQ waveform
analog analog
User
User
ni.com 8
Basics of Frequency Spectrum
100 1GHz
MHz
Wavelength Calculation
Speed _ of _ Light (meters / sec)
Wavelength (meters )
Frequency ( Hz)
FM Radio Example
299 792 458 m/s 300 M m/s
3 m wavelengt h wave antenna = .75 m =
100MHz 100MHz 2.5 feet
ni.com 9
NI USRP and LabVIEW
A Platform for Software Defined Radio
Prototyping and Exploration
ni.com
A Highly Productive Graphical Development Environment for Engineers and Scientists
Technology
Deployment Targets Abstractions Models of Computation
ni.com 11
Models of Computation
Dataflow C / HDL Code Textual Math Simulation Statechart
``
Desktop Real-Time FPGA MPU/MCU
ni.com 12
Review: Creating a Virtual Instrument
LabVIEW programs are called
Virtual Instruments or VIs.
Each VI has two windows
Front Panel User Interface
(UI)
o Controls = User Inputs
o Indicators = Outputs
Block Diagram Program
Code
o Data travels on wires from Front
controls through functions to Panel
indicators
o Blocks execute by Dataflow
Block Diagram
ni.com 13
Review: Front Panel Controls Palette
(Controls & Indicators)
Control:
Numeric
Front
Panel
Indicator:
Gauge
ni.com 14
Review: Block Diagram Functions Palettes
Structure:
While Loop
ni.com 15
Review: Block Diagram Wires
Transfer data between block diagram objects through wires
Wires are different colors, styles, and thicknesses, depending on
their data types
A broken wire appears as a dashed
black line with a red X in the middle
ni.com 16
16
Review: Block Diagram Terminals
Front Panel Window Block Diagram Window
Numeric Numeric
Controls Indicator
ni.com 17
Review: Tools Palette
Recommended: Automatic Selection Tool
Tools to operate and modify both front panel and block diagram
objects
Positioning/Resizing Tool
Labeling Tool
Wiring Tool
ni.com 18
Review: Status Toolbar
Run Button
Abort Execution
Additional Buttons on
the Diagram Toolbar
ni.com 19
Review: Dataflow Programming
Block diagram execution
Dependent on the flow of data
Block diagram does NOT
execute left to right
Node executes when data
is available to ALL input
terminals
Nodes supply data to all
output terminals when
done
ni.com 20
Review: Context Help Window
HelpShow Context Help, press the <Ctrl+H> keys
Hover cursor over object to update window
Additional Help
Right-Click on the VI icon
and choose Help, or
Choose Detailed Help. on
the context help window
ni.com 21
Review: Textual Math with the MathScript Node
Implement equations and algorithms textually
Input and Output variables created at the border
Generally compatible with popular m-file script language
Terminate statements with a semicolon to disable immediate output
(FunctionsProgramming
StructuresMathScript)
ni.com 22
Review: The Interactive MathScript Window
Rapidly develop and test algorithms
Share Scripts and
Variables with the Node
View /Modify Variable
content in 1D, 2D, and 3D Variable
Output Workspace
Window
View/Modify
Variable Contents
User Commands
m-file Script
(LabVIEWToolsMathScript Window)
ni.com 23
Programming Demo
ni.com 24
NI USRP Under the Hood
ni.com 25
System Setup
NI USRP-2920 NI USRP-2920
Transmitter Receiver
ni.com 26
NI USRP-2920 Hardware Diagram
ni.com 27
Signal Processing
NI USRP Tunable RF Transceiver and Synthesis
NI LabVIEW to
Front Ends
develop and explore
Frequency Range
algorithms
50 MHz 2.2 GHz (NI-2920)
NI Modulation Toolkit
2.4 GHz & 5.5 GHz (NI-2921)
and LabVIEW add-
ons to simulate or
process live signals
NI USRP-2920 NI USRP-2920
Transmitter Receiver
ni.com 29
NI-USRP Driver Software
ni.com 30
Communications Design Topics
Education
Introductory Communications
Digital Communications
Complete
Antenna Theory RF Prototyping
Solution
Research
Physical layer research (SISO & MIMO)
Cognitive Radio & Dynamic Spectrum Access
RF transmit or receive applications
Defense
Spectral Monitoring
Prototyping Communications Systems
ni.com 31
Programming Demo
TRANSMIT WAVEFORM
ni.com 32
Programming Demo
ni.com 33
Why IQ?
It is difficult to vary precisely the phase of a high-
frequency carrier sine wave in a hardware circuit
according to an input message signal.
ni.com 34
Quadrature Modulation
Ac cos(2f ct )
Amplitude Frequency Phase
Angle
(Frequency = Rate of change of Angle)
ni.com 35
IQ Modulator
ni.com 36
Programming Demo
PHASOR PLOT
TRANSMIT COMPLEX IQ WAVEFORM
ni.com 37
Modulation Basics
RF communication systems use advanced forms of
modulation to increase the amount of data that can be
transmitted in a given amount of frequency spectrum.
Signal modulation can be divided into two broad
categories:
analog modulation (analog audio data is modulated onto a carrier
sine wave )
digital modulation (digital bits modulated onto a carrier sine
wave)
ni.com 38
Modulation Basics
Carrier sine wave needs to change in amplitude,
frequency, and phase in order to encode information
ni.com 39
Modulation Example AM Radio
Audio Radio
IQ Mixing
To RF
Amplifier
ni.com 42
Mapping Bits to Symbols
In digital modulation, the number of bits sent per second is called Bit
Rate - the higher the bit rate, the faster the communication speed.
One way for digital communication systems to support a higher bit rate
is to encode multiple bits of information in the variations of the carrier
signal.
Symbol maps for 4-ASK modulation (left) and 4-PSK modulation (right)
ni.com 43
4-QAM Symbol Map
Four-QAM uses four combinations of
phase and amplitude.
Each combination is assigned a 2-bit
digital pattern.
Example
generate the bit stream (1,0,0,1,1,1)
each symbol has a unique 2-bit pattern 10 00
ni.com 44
Pulse-Shaping Filter
In communications systems, two important requirements of a wireless
communications channel demand the use of a pulse shaping filter.
Generating bandlimited channels (reduce bandwidth)
reducing inter symbol interference (ISI) from multi-path signal reflections
Smoothed Phase and Amplitude Transitions in a Filtered Modulated Signal Frequency Domain of Filtered Signal
ni.com 46
Programming Demo
AM MODULATION
4-QAM SYMBOL MAPPING
PSK PULSE-SHAPING FILTER
ni.com 47
NI-USRP Driver Software
ni.com 48
NI-USRP Driver Software
ni.com 49
Programming Demo
RECEIVE COMPLEX IQ
ni.com 50
Digital Communication System
NI Modulation Toolkit
NI USRP
NI Modulation Toolkit
NI USRP
ni.com 51
Communications Design in LabVIEW
LabVIEW Modulation Toolkit
ni.com 52
Programming Demo
ni.com 53
ADDITIONAL DEMOS
ni.com 54
DEMO
FM RADIO
ni.com 55
Decode & Hear Live FM Radio
0 57
kHz
30 15 23 38 53 58.35 67.65 76.65 92 99
Hz kHz kHz kHz kHz kHz kHz kHz kHz kHz
ni.com 56
DEMO
ni.com 57
Packet Based Transceiver
ni.com 58
NI PXI RF & NI USRP
Case Studies and User Solutions
ni.com
NI PXI RF
ni.com 60
NI RF and Communications Market
ni.com 61
The networking and connectivity subsidiary of Qualcomm, Inc.
Leading provider of wired and wireless technologies
Serving mobile, computing, consumer electronics and networking
channels
GPIO
GPIO
ni.com 62
RF StandardsIncreasing Complexity
ni.com 63
Software Designed Approach
ni.com 64
NI PXIe-5644R Hardware Front Panel
RF Input RF Output
65 MHz 6 GHz 65 MHz 6 GHz
80 MHz BW 80 MHz BW
ni.com 65
Vector Signal Transceiver/Device Under Test
Integration
Qualcomm Atheros
802.11ac Device Under Test
RF-out RF-in
Tx VSA
RF-in RF-out
Rx VSG
Digital Digital
I/O I/O
Digital Device
Control
ni.com 66
EVM* (dB) vs. Average Output Power
-45 -25 -5 15 -45 -25 -5 15
-18 -18
-23 -23
-28 -28
-33 -33
-38 -38
-43 -43
-48 -48
ni.com 67
Qualcomm Results
802.11a + b + g + 802.11n + 802.11ac
At Qualcomm Atheros, instrumentation flexibility and to-the-pin control are critical for
keeping our RF test process as efficient as possible, and we're pleased with the
performance gains we've seen when testing with NI's new vector signal transceiver.
Doug Johnson, Director of Engineering at Qualcomm Atheros
ni.com 68
Lab Ready
Digital Communications Labs Communications Systems Labs
by Dr. Robert Heath, UT Austin by Dr. Sachin Katti, Stanford
ni.com 69
NI USRP at Stanford University
ni.com
Stanford University - Networked Systems Group
Needs: Solution:
Exposure to real-world signals SDR Platform
Recruit students to Lower learning curve
RF/Communications early
Maintainable
Prepare students for research
Affordable
Stanford, CA
ni.com 71
NI USRP Research Case Study:
Cognitive Radio & Whitespace
LabVIEW Graphical System Design
Spectral sensing with blind detection
GPS geographic localization
Adaptive spectrum utilization
ni.com 72
MIMO Radio Prototyping
ni.com 73
6x6 MIMO Testbed
ni.com 74
NI USRP Research Case Study: Dr. Robert Heath
NI USRP 8x8 MIMO Testbed Director WNCG
University of Texas at Austin
Ref in
External
Clock PPS in Transmit
Adaptable from 2x2 to 8x8 USRP USRP
TX 1 MIMO Cable TX 2
Algorithm design in MathScript RT
USRP USRP
128 subcarrier OFDM, 4 QAM, spatial Network TX 3 MIMO Cable TX 4
Cable
diversity USRP USRP
TX 5 MIMO Cable TX 6
Independently clocked, phase
Host USRP USRP
coherent Tx & Rx Computer
TX 7 MIMO Cable TX 8
Gigabit
Ethernet
Network Switch
Cable
Receive
USRP USRP
Rx 1 MIMO Cable Rx 2
USRP USRP
Rx 3 MIMO Cable Rx 4
Network
Cable
USRP USRP
Rx 5 MIMO Cable Rx 6
USRP USRP
Rx 7 MIMO Cable Rx 8
External
Clock
ni.com 75
NI USRP Research Case Study:
Physical Layer Prototyping Dr. Murat Torlak
ni.com 76
NI USRP Research Case Study:
Algorithm Research
Cleaning Up Dirty RF
ni.com 77
NI USRP Research Case Study:
TU-Dresden: Dirty RF
Established a live, over-the-air
communication OFDM link
1024 subcarriers
256-QAM modulation per subcarrier
bit rate of about 1.4 Mbps on laptop
ni.com 78
NI USRP Research Case Study: Prof. Athanassios Manikas
Comm & Array Processing Chair
Position Detection & Localization Imperial College, London
Host USRP
Compute
r
RX 4
Gigabit
Network
Ethernet USRP
Cable Switch TX Calibration
Signal
ni.com 79
Research: Downloadable Reference Designs
RF Direction Finding
RF Record & & Localization
Playback
ni.com 80