Wireless Communications with MATLAB
Transcript of Wireless Communications with MATLAB
![Page 1: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/1.jpg)
1© 2016 The MathWorks, Inc.
Wireless Design with MATLAB
Mandar Gujrathi
Applications Engineer
![Page 2: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/2.jpg)
2
If you had a choice….
![Page 3: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/3.jpg)
3
When things get social…..
![Page 4: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/4.jpg)
4
Evolution of Air Interface Technologies
4G 5G ?
5G
standardization
IEEE
802.11
WLAN
standards
3GPP
LTE, LTE-A
Rel-8Dec 2008
Rel-9Dec 2009 Rel-10
Mar 2011 Rel-11Mar 2013 Rel-12
Mar 2015 Rel-13Mar 2016
Massive MIMO
New Modulations
New Frequency bands
Small Cells, HetNets
Requirements
Higher data rates
Efficient spectrum use
Spatial resource
Low delay & link adaptability
Reliable service everywhere
High connection density
Proposed enabling technologies
802.11ad
802.11ax
802.11ay
802.11ah
802.11p
2016 2018 2020+
Rel-14
![Page 5: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/5.jpg)
5
While this is all true…..
I would like to simulate my communication system to see the effect of
various parameters
It would be good if there are ready to use channel models
Our project demands design of antennas, visualise their parameters and
test their performance.
While I do all this I would also like to connect & test this on a hardware
![Page 6: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/6.jpg)
6
Agenda
I would like to simulate my communication system to see the effect of
various parameters
It would be good if there are ready to use channel models
Our project demands design of antennas, visualise their parameters and
test their performance.
While I do all this I would also like to connect & test this on a hardware
![Page 7: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/7.jpg)
7
Simulate the communication system & tune the parameters
![Page 8: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/8.jpg)
8
How does a Digital Communication System work?
Input
bits
ModulationChannel
CodingMIMO ..
..
Transmitter
Channel
Large-scale
fading
(path-loss …)
Small-scale
fading
(Multipath,
Doppler
effects)
Interference
NoiseReceiver
Channel
decoding
De-
modulation
MIMO
Receiver
Equaliser
Channel
estimation
OFDM
receiver
OFDM
receiver
…
…
…
…
Output
bits
![Page 9: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/9.jpg)
9
Channel modeling & propagation scenarios
Mobile context
(WiMAX or LTE)
pathloss
pathloss
Interfering
Base
station
Signal
Base
station
Multipath
fading
![Page 10: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/10.jpg)
10
– Performance evaluation with realistic channel models
– Transceiver system responding to dynamic channel conditions
– Evaluating the combined effects of
Fading channels
Interfering signals
Non-linearity of front-end receivers
Phase noise, Frequency offset, Timing mismatch, IQ imbalance
Channel estimation & Equalization
Antenna arrays & directional propagation
Beamforming & beam steering
…
Challenges in designing and evaluating Mobile Communications
(more time, earlier)
![Page 11: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/11.jpg)
11
Telemetry
![Page 12: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/12.jpg)
12
Why look at MIMO-OFDM systems?
![Page 13: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/13.jpg)
13
Communications Systems Toolbox
![Page 14: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/14.jpg)
14
Baseband demo workflow
![Page 15: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/15.jpg)
15
Version 1: Baseline - Modulation and Coding
Start with a SISO transceiver with modulation, coding, scrambling
Channel modeling (Interferer + path loss)
No multipath fading yet
Isotropic (non-directional) antennas (1x1)
Signal
Source (S)
Interference
Source (I)
𝜃𝑆
𝜃𝐼
𝑑𝑆
𝑑𝐼
![Page 16: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/16.jpg)
16
MATLAB tools for modeling of adaptive modulation and
coding
• Use algorithms in Communications
System Toolbox
• Quickly build and run fast & reliable
simulations
• Simulate dynamic changes of systems
(such as modulation scheme)
• Perform measurements and examine
performance metrics during simulation
![Page 17: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/17.jpg)
23
Agenda
I would like to simulate my communication system to see the effect of
various parameters
It would be good if there are ready to use channel models
Our project demands design of antennas, visualise their parameters and
test their performance.
While I do all this I would also like to connect & test this on a hardware
![Page 18: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/18.jpg)
24
Are there any ready to use channel models?
![Page 19: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/19.jpg)
25
Supported IEEE 802.11 Standards + heaps other
Standard Bandwidth
(MHz)
MIMO Designation
802.11ac 20,40,80,160 Up to 8 spatial streams,
MU-MIMO
VHT Very High Throughput
802.11n 20,40 Up to 4 spatial streams HT High Throughput
802.11g 20 N/A Non-HT
802.11a 5,10,20 N/A
802.11b 20 N/A
802.11p 5,10 N/A
802.11j 10 N/A
Urban, Rural, Indoor, Outdoor, etc. models in Communications Tbx
As of
R2016a
![Page 20: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/20.jpg)
26
Agenda
I would like to simulate my communication system to see the effect of
various parameters
It would be good if there are ready to use channel models
Our project demands design of antennas, visualise their parameters and
test their performance.
While I do all this I would also like to connect & test this on a hardware
![Page 21: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/21.jpg)
27
Design antennas/ arrays, visualise their parameters and test
their performance
![Page 22: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/22.jpg)
28
Antenna and Phase Array System toolbox
Design, analyse, and visualise of antenna elements and arrays.
Compute port properties such as impedance, surface properties such as
current and charge distribution, and field properties such as the near-field
and far-field radiation pattern.
Integrate antennas and arrays into wireless systems, and use impedance
analysis to design matching networks.
![Page 23: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/23.jpg)
29
Design Antenna and Analyse Performance over Wi-Fi band.
![Page 24: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/24.jpg)
30
Sensor Array Analyser: Analyse sensor array configurations
![Page 25: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/25.jpg)
31
Agenda
I would like to simulate my communication system to see the effect of
various parameters
It would be good if there are ready to use channel models
Our project demands design of antennas, visualise their parameters and
test their performance.
While I do all this I would also like to connect & test this on a hardware
![Page 26: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/26.jpg)
32
Connect to Hardware and see it happen !
![Page 27: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/27.jpg)
33
MathWorks Support of Hardware
http://www.mathworks.com/hardware-support/index.html
![Page 28: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/28.jpg)
34
How can we help
MATLAB or Simulink,
System Toolboxes
ENGINEER’s COMPUTER
Radio card, Audio card,
Sensor, Test equipment
??
?
?? ??
What the Engineer Has
HARDWARE
![Page 29: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/29.jpg)
35
Software setup: Hardware support packages
![Page 30: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/30.jpg)
36
Supported hardware for radio connectivity
RTL-SDR (US$25)
– Ultra low-cost, low-bandwidth
– RX Only
USRP ($1800)
– Customizable RF front-end
Xilinx FPGA-based radio ($2500)
– High bandwidth (~25MHz)
– Possible FPGA target
![Page 31: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/31.jpg)
37
Data
Source
Source
Encoding
Channel
EncodingDigital
Modulation *
Digital to
Analog
converter
AntennaRF Front
End
Data
Sink
Source
Decoding
Channel
Decoding
Digital
Demodulation
Analog to
Digital
converter
AntennaRF Front
End
Air
Channel
![Page 32: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/32.jpg)
38
Data
Source
Source
Encoding
Channel
EncodingDigital
Modulation
Digital to
Analog
converter
AntennaRF Front
End
Data
Sink
Source
Decoding
Channel
Decoding
Digital
Demodulation
Analog to
Digital
converter
AntennaRF Front
End
Air
Channel
Software
![Page 33: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/33.jpg)
39
Data
Source
Source
Encoding
Channel
EncodingDigital
Modulation
Digital to
Analog
converter
AntennaRF Front
End
Data
Sink
Source
Decoding
Channel
Decoding
Digital
Demodulation
Analog to
Digital
converter
AntennaRF Front
End
Air
Channel
Hardware
![Page 34: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/34.jpg)
40
Example: Over-the-air testing with SDRs & RF instruments
Process original
data bits and
generate custom
digital baseband
waveforms in
transmitter
Transmit waveform
using SDR devices
or RF instruments
Capture received
samples with
SDR devices or
RF instruments
Process received
samples in
receiver.
Decode/recover
original data
Demo
![Page 35: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/35.jpg)
41
Supported SDRs & RF instruments
RF Signal Generator
Zynq Radio SDR
USRP SDR
RF Spectrum Analyzer
Zynq Radio SDR
USRP SDR
RTL SDR
Transmitter Receiver
![Page 36: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/36.jpg)
42
Key takeaways
Design and VerificationSimulate baseband and RF systems
Including LTE & WLAN standards
Over-the-air testingValidate models with SDR, RF instruments and other
low-cost hardware
Prototyping and ImplementationDeploy algorithms onto target system
Simulation
Testing
![Page 37: Wireless Communications with MATLAB](https://reader033.fdocuments.in/reader033/viewer/2022050722/589da9671a28ab1c4a8bda8c/html5/thumbnails/37.jpg)
43
MathWorks Resources
Resources for Wireless Communications
– Webinars, White papers, Resource kits, etc.
Training on Signal Processing, Communications
– LTE, Communications, DSP, RF Systems, etc.
Talk to us,
– [email protected] (Education Account Manager)