Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
ni.com
Hands-on Course Objectives
• Find an FM radio station using the USRP as spectrum analyzer
• Introduction to the LabVIEW environment
Exercise • Configuring the USRP software defined radio
1 • Exploring live radio spectrum
ni.com
What is LabVIEW Communications?
ni.com
The National Instruments Vision
“To do for test and measurement
what the spreadsheet did for financial analysis.”
Virtual Instrumentation
ni.com
SDR Algorithm Prototyping Applications
Communications & RF
Identification
Research Topics
Aerospace & Automotive &
Defense
Data rate Car to Car
Capacity
Power Consumption
Coexistence
Security
Monitoring
Land Mobile & Satellite Comm &
Safety Radio Navigation
ni.com Education
The Next 30 Years:
Expanding LabVIEW into System Design
ni.com
From Concept to Prototype … Rapidly!
ni.com
Getting Started in LabVIEW
ni.com
Viewing, Creating, and Interacting with Documents
1 4 2 3
ni.com
Storing and Retrieving Data
ni.com
Creating a Way to Display Data
4
1
3
ni.com
Creating Code
4
1
3
2
3
ni.com
Configuring a VI for Use As a SubVI
2 1
5
7 6
4
4 3
ni.com
Getting Help
4
1 3
ni.com
What is a Software Defined Radio?
RF Baseband IQ
Software
Transceiver Processing
ni.com
SDR Components
• Digital to Analog
Tx • RF Upconversion • Modulation
• RF Downconversion • Demodulation
Rx
• Analog to Digital • Signal Processing
ni.com
NI USRP-2920 Hardware Diagram 1. Device
Name
5. Gain
6. # Samples/
4. Antenna Buffer
2. IQ Rate
3. Carrier
Frequency Analog RF Transceiver Fixed Function FPGA PC
ni.com
USRP Configuration in 6 Parameters
ni.com
USRP Configuration in 6 Parameters
ni.com
NI USRP RF Receive Parameters
IQ Rate ~ Bandwidth
1 MHz
Power (dB)
ni.com
NI USRP RF Receive Parameters
Carrier Frequency
1 MHz
Power (dB)
ni.com
NI USRP RF Receive Parameters
Gain
1 MHz
Power (dB)
ni.com
NI USRP RF Receive Parameters
number of samples
Time Domain
1
* number _ samples fetch _ time
IQ _ rate
Frequency Domain
IQ _ rate
resolution _ bandwidth
number _ samples
ni.com
Exercise 1 Find a Radio Station using Captured Data
ni.com
Exercise 1: Quiz
ni.com
Demodulating Live FM
Demodulate & listen to live FM radio
LabVIEW programming fundamentals
Integrating digital signal processing functions
Using .m file script inside LabVIEW
ni.com
Dataflow Programming
ni.com
NI-USRP Driver Software
ni.com
Common Data Types Found in LabVIEW
ni.com
Reviewing the Block Diagram
Wire:
Complex
Cluster
Wire:
Error Cluster
ni.com
Complex Cluster Data Type
dt – Sample period
ni.com
Arrays
ni.com
Loops
While Loop
• While Loop
• Terminal counts iterations
• Runs at least once
• Runs until stop condition is
met
For Loop
• For Loop
• Terminal counts iterations
• Runs according to input of
count terminal
ni.com
Demodulating Broadcast FM Radio
Demodulated
Baseband IQ
FM
ni.com
Exercise 2A Demodulate and Listen to FM Radio
ni.com
Exercise 2A: Quiz
ni.com
Demodulated Broadcast FM
Mono Audio
Left + Right
Stereo Audio
Left - Right
19 kHz
Stereo
Pilot Direct Band Audos Subcarrier
RBDS
0
30 15 38 57 67.65 92 100
Hz kHz kHz kHz kHz kHz kHz
FM broadcasting. (n.d.). In Wikipedia, Retrieved from http://en.wikipedia.org/wiki/FM_broadcasting
ni.com
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
ni.com
Frequency Demodulation Algorithm
ni.com
Exercise 2B Use a MathScript RT node
ni.com
Exercise 2B: Quiz
ni.com
Exercise 2C Use LabVIEW Communications IP
ni.com
Exercise 2C: Quiz
ni.com
Digital Communications
Explore a digital communications system
Open and run a digital communications reference design
Identify the part of a more advanced LabVIEW block diagram
Overview of the modulation & demodulation process
ni.com
ni.com
Source Coding
Downconversion
Channel Coding
Demodulation
Modulation
Channel Decoding
Communications Channel
Digital Communication System
Upconversion
Source Decoding
Digital Communication System
NI Modulation Toolkit
NI Modulation Toolkit
ni.com
Digital Communication System
NI Modulation Toolkit
NI USRP
NI Modulation Toolkit
NI USRP
ni.com
Packet-based Communication Link System Setup
RF Signal
Center Frequency: 915MHz
Modulation Format: PSK packets
Bit Rate: 100kbps
ni.com
Packet-based Communication with LabVIEW
ni.com
Packet Structure
ni.com
Transmitter Block Diagram
ni.com
The Received Signal
ni.com
Receiver Block Diagram
ni.com
Exercise 3 Packet Based Transceiver
ni.com
Receiver: Pipelined Shift Register Architecture
Acquire
Resample and
Demodulate
Synchronize &
Decode
Reconstruct
Data
Accumulate &
Display Packets
ni.com
Receiver: Pipelined Shift Register Architecture
Acquire
Resample and
Demodulate
Synchronize &
Decode
Reconstruct
Data
Accumulate &
Display Packets
ni.com
Exercise 3: Quiz
ni.com
NI SDR User Solutions
Wireless Comms Education
Record and Playback
Cognitive Radio
Physical Layer Prototyping
Compensating for RF nonlinearities with DSP
8x8 MIMO
Direction Finding
ni.com
RF Record & Playback
• Record and play back up to 20 MHz of bandwidth
• Repeatable testing of algorithms / devices on realistic dataset
• Supplement a PXI lab with low-cost playback at your desk
Record
Playback
ni.com
NI USRP Research Case Study:
Cognitive Radio & Whitespace
Large Scale Cognitive Radio Testbed
• Prototyping cognitive radio in LabVIEW
• Spectral sensing with blind detection
• Database driven geo-location with GPS
• Deployed in Munich, Germany
ni.com
WiFi Physical Layer Prototyping
Dr. Murat Torlak
• Identification of hotspots,
tracking relative power levels
Frequency
Demodulation Interpret the
Carrier Offset
& frame for
Detection Estimation &
Descrambling SSID
Correction
ni.com
NI USRP Research Case Study: Dr. Robert Heath
Director WNCG
NI USRP 8x8 MIMO Testbed Ref in
University of Texas at Austin
External
• Adaptable from 2x2 to 8x8 Clock PPS in Transmit
USRP USRP
• Algorithm design in MathScript RT TX 1 MIMO
Cable
TX 2
USRP USRP
Rx 3 MIMO Cable Rx 4
Network
Cable
USRP USRP
Rx 5 MIMO Rx 6
Cable
USRP USRP
Rx 7 MIMO Rx 8
Cable
External
Clock
ni.com
6x6 MIMO Testbed
ni.com
Position Detection & Localization Prof. Athanassios Manikas
Network
Cable
Direction Finding (uniform linear array)
USRP
RX 3
Host USRP
Computer RX 4
Network Gigabit
Cable USRP
Ethernet
TX
Switch Calibration
Signal
ni.com
LabVIEW Communications Community
ni.com
Summary
•LabVIEW offers a graphical approach, shortening the
design process, and tight hardware/software integration
that allows for seamless transition from design to test
ni.com