Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA...

32
1 © 2015 The MathWorks, Inc. Modelling and Simulating RF Sensor Systems Marc Willerton

Transcript of Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA...

Page 1: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

1© 2015 The MathWorks, Inc.

Modelling and Simulating

RF Sensor Systems

Marc Willerton

Page 2: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

2

Overview

• Challenges developing RF Sensor Systems

• Analysing RF data streams

• Designing RF components and algorithms

• Simulation of RF Systems

Page 3: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

3

RF Sensor Systems

Mobile Handsets/Basestations

Wireless Broadband Radar SystemsSatellite Communications

Antenna ArraysAdvanced Driver

Assistance Systems

Page 4: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

4

Challenges with Developing RF Sensor Systems

DSPLNA

PA

Antenna, Antenna arrays

Channel

RF Electronics

Data/Waveform

AlgorithmsMixed-Signal

DACTX

RXADC

N

N

frequency dependency, non-linearity, noise,

mismatches, synchronization of multiple LO’s

interference, clutter, noise

Non-isotropic pattern, coupling, edge effects

Array PerturbationsContinuous & discrete time, jitter,

finite precision

Finite precision loss, latency,

resource utilisation

Transmitter

Receiver

Page 5: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

5

System Simulation of an RF System

Challenge 1: How can I test the effect

of all of these RF impairments on my

system performance?

Page 6: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

6

Page 7: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

7

Challenges with Developing RF Sensor Systems

DSPLNA

PA

Antenna, Antenna arrays

Channel

RF Electronics

Waveforms

AlgorithmsMixed-Signal

DACTX

RXADC

N

N

frequency dependency, non-linearity, noise,

mismatches, synchronization of multiple LO’s

interference, clutter, noise

Non-isotropic pattern, coupling, edge effects

Array PerturbationsContinuous & discrete time, jitter,

finite precision

Finite precision loss, latency,

resource utilisation

Page 8: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

8

Challenges with Developing RF Sensor Systems

DSPLNA

PA

Antenna, Antenna arrays

Channel

RF Electronics

Waveforms

AlgorithmsMixed-Signal

DACTX

RXADC

N

N

frequency dependency, non-linearity, noise,

mismatches, synchronization of multiple LO’s

interference, clutter, noise

Non-isotropic pattern, coupling, edge effects

Array PerturbationsContinuous & discrete time, jitter,

finite precision

Finite precision loss, latency,

resource utilisation

Page 9: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

9

Detecting Signal Interference in MATLAB

LTE Base Station

5MHZ Transmit Bandwidth

20dBm Transmit Power

Narrowband Interferer

Not persistent

Challenge 2: When and where does

the interferer arise in my system?

Page 10: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

10

Page 11: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

11

Page 12: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

12

Challenges with Developing RF Sensor Systems

DSPLNA

PA

Antenna, Antenna arrays

Channel

RF Electronics

Waveforms

AlgorithmsMixed-Signal

DACTX

RXADC

N

N

frequency dependency, non-linearity, noise,

mismatches, synchronization of multiple LO’s

interference, clutter, noise

Non-isotropic pattern, coupling, edge effects

Array PerturbationsContinuous & discrete time, jitter,

finite precision

Finite precision loss, latency,

resource utilisation

Page 13: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

13

Rejecting Interference using Antenna Arrays

Detection(e.g. AIC/MDL)

Estimation(e.g. MuSiC)

Reception(e.g. MVDR

Beamforming)

N Antennas

M Sources

I/Q Antenna Samples

P1, P2, … PM

θ1, θ2, … θM

φ1, φ2, … φM

Estimate

the number

of sources

Estimate unknown

parameters of

interest (e.g. DOA)

Receive the desired

signal from a given

direction in space

Challenge 3: How well can my array cancel

out my interference?

Page 14: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

14

Page 15: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

15

Sensitivity Analysis of Array Systems

Detection(e.g. AIC/MDL)

Estimation(e.g. MuSiC)

Reception(e.g. MVDR

Beamforming)

N Antennas

M Sources

I/Q Antenna Samples

P1, P2, … PM

θ1, θ2, … θM

φ1, φ2, … φM

Array Imperfections (e.g.

sensor location, gain and

phase) Estimate

the number

of sources

Estimate unknown

parameters of

interest (e.g. DOA)

Receive the desired

signal from a given

direction in space

Challenge 4: What effect do array

imperfections have on array performance?

Page 16: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

16

Page 17: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

17

Investigating Antenna Patterns, Coupling and Edge Effects

Challenges 5: What is the

radiation pattern of this antenna?

Challenge 6: What is the effect of

putting this antenna in an array?

Page 18: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

18

Page 19: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

19

Page 20: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

20

Investigating Antenna Patterns, Coupling and Edge Effects

6 Element ULA

Independent

Elements

Non-independent

Elements

Page 21: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

21

Challenges with Developing RF Sensor Systems

DSPLNA

PA

Antenna, Antenna arrays

Channel

RF Electronics

Waveforms

AlgorithmsMixed-Signal

DACTX

RXADC

N

N

frequency dependency, non-linearity, noise,

mismatches, synchronization of multiple LO’s

interference, clutter, noise

Non-isotropic pattern, coupling, edge effects

Array PerturbationsContinuous & discrete time, jitter,

finite precision

Finite precision loss, latency,

resource utilisation

Page 22: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

22

Measuring the effect of non-linearity within an RF Frontend

Challenge 7: What effect do RF impairments have on out of band leakage?

Phase Noise

Carrier Leakage

Non-linearity

Impedance Mismatches

Page 23: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

23

Measuring the effect of non-linearity within an RF Frontend

Challenge 7: What effect do RF impairments have on out of band leakage?

PABaseband TXLTE

Transmitter

LTE System Toolbox SimRF LTE System Toolbox

EVM

ACLR

PA

Page 24: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

24

Page 25: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

25

System Simulation of an RF System

Challenge 1: How can I test the effect

of all of these RF impairments on my

system performance?

Page 26: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

26

Streaming

to/from hostRF I/O

Analog

Front-End

Baseband Processing

on HostInformation

Sample Rate Conversion

on FPGA

Desktop Design and SimulationSDR FPGA Hardware

Targeting Signal Processing Algorithms to SDR Platforms

• Execute fixed radio functions on FPGA

• Tunable pre-defined radio parameters

• Easy out-of-the-box experience

1. S

trea

min

g M

od

e

Page 27: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

27

Targeting Signal Processing Algorithms to SDR Platforms

• Generate code to implement custom functionality on FPGA

• Customized using HDL Coder

Streaming

to/from hostRF I/O

Analog

Front-EndHost Processing Information

User-Designed

FPGA Algorithms

Desktop Design

and SimulationSDR FPGA Hardware

2. T

arg

etin

g M

od

e

Page 28: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

28

Targeting Signal Processing Algorithms to SDR Platforms

RF I/O

Analog

Front-End

User-Designed

ARM AlgorithmsInformation

User-Designed

FPGA Algorithms

SDR Hardware

3. H

W/S

W C

o-D

es

ign

Mo

de

• Generate code to implement custom functionality on

FPGA and ARM

• Customized using HDL Coder and Embedded Coder

• Generate AXI Interface between hardware and software

Page 29: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

29

For more information see: http://www.matlabexpo.com/se/2014/proceedings/radio-testbed-design-using-hdl-coder.pdf

Slide from: “Radio Test Bed Design Using HDL Coder”, Tomas Andersson, Ericsson, MATLAB EXPO 2014, Nordics.

Page 30: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

30

Conclusions

We rely increasingly on more complex sensor systems in our everyday lives

Engineers developing these sensor systems must overcome many

challenges to ensure the system will reach its desired performance

Simulation of these systems at the appropriate level of fidelity can help

detect design issues early

Page 31: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

31

Questions?

Email: [email protected]

Page 32: Modelling and Simulating RF Sensor Systems...Challenges with Developing RF Sensor Systems LNA DSP PA Antenna, Antenna arrays Channel RF Electronics Data/Waveform Mixed-Signal Algorithms

32

DSPLNA

PA

Antenna, Antenna arrays type of element, # elements, coupling, edge effects

• Antenna Toolbox

• Phased Array System Toolbox

Channel interference, clutter, noise

• Communications System Toolbox

• Phased Array System Toolbox

RF Electronicsfrequency dependency, non-linearity, noise, mismatches

• SimRF

• RF Toolbox

Waveforms

• Phased Array System Toolbox

• Instrument Control Toolbox

• LTE System Toolbox

• WLAN System Toolbox

Algorithmsbeamforming, beamsteering,

MIMO

• Phased Array System Toolbox

• Communications System Toolbox

• LTE System Toolbox

• WLAN System Toolbox

• Simulink (Simscape)

• DSP System Toolbox

• Control System Toolbox

Mixed-SignalContinuous & discrete time

DACTX

RXADC

N

N

Challenges with Developing RF Sensor Systems