mandar gujrathi applications engineer ... - matlab & simulink · wireless design with matlab...

37
1 © 2016 The MathWorks, Inc. Wireless Design with MATLAB Mandar Gujrathi Applications Engineer [email protected]

Upload: others

Post on 18-Oct-2020

20 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

1© 2016 The MathWorks, Inc.

Wireless Design with MATLAB

Mandar Gujrathi

Applications Engineer

[email protected]

Page 2: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

2

If you had a choice….

Page 4: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

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: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

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: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

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: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

7

Simulate the communication system & tune the parameters

Page 8: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

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: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

9

Channel modeling & propagation scenarios

Mobile context

(WiMAX or LTE)

pathloss

pathloss

Interfering

Base

station

Signal

Base

station

Multipath

fading

Page 10: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

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: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

11

Telemetry

Page 12: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

12

Why look at MIMO-OFDM systems?

Page 13: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

13

Communications Systems Toolbox

Page 14: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

14

Baseband demo workflow

Page 15: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

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: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

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: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

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: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

24

Are there any ready to use channel models?

Page 19: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

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: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

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: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

27

Design antennas/ arrays, visualise their parameters and test

their performance

Page 22: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

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: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

29

Design Antenna and Analyse Performance over Wi-Fi band.

Page 24: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

30

Sensor Array Analyser: Analyse sensor array configurations

Page 25: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

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: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

32

Connect to Hardware and see it happen !

Page 27: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

33

MathWorks Support of Hardware

http://www.mathworks.com/hardware-support/index.html

Page 28: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

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: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

35

Software setup: Hardware support packages

Page 30: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

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: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

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: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

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: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

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: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

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: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

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: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

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: Mandar Gujrathi Applications Engineer ... - MATLAB & Simulink · Wireless Design with MATLAB Mandar Gujrathi Applications Engineer Mandar.Gujrathi@mathworks.com.au. 2 If you had a

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]

[email protected] (Education Account Manager)