sdrwb

Upload: neek4u

Post on 04-Apr-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/29/2019 SDRWB

    1/37

    A Matlab/Octave SimulationWorkbench for

    Multi-Antenna Software Defined Radio

    Svante Signell, Jinliang Huang

    Electronic System Design and RaMSiS

    Department of Electronic, Software and Computer Systems (ECS)

    School of ICT

    KTH - Royal Institute of Technology

    Stockholm, Sweden

  • 7/29/2019 SDRWB

    2/37

    Svante Signell, Jinliang Huang KTH/ICT/ECS 2

    Outline

    Background & Motivation

    System Model

    File Structure

    Case Study

    A newer version

    Future work

  • 7/29/2019 SDRWB

    3/37

    Svante Signell, Jinliang Huang KTH/ICT/ECS 3

    Background & Motivation

    System Model

    File Structure

    Case Study

    A newer version

    Future work

    Outline

  • 7/29/2019 SDRWB

    4/37

    Svante Signell, Jinliang Huang KTH/ICT/ECS 4

    Background & Motivation

    What do we have...

    A multitude of wireless and wireline standards: GSM

    900/1800/1900/GPRS/EDGE, WLAN a/b/g/n, WCDMA

    HSPA/B3G, WiMax fixed wireless/mobile, 4G, VDSL2,

    Bluetooth2, RFID, UWB, etc

    Wireless channel fading, co-channel and adjacent

    channel interference, path loss etc

    Wireline channel near and far end cross-talk, path

    loss etc

  • 7/29/2019 SDRWB

    5/37

    Svante Signell, Jinliang Huang KTH/ICT/ECS 5

    Background & MotivationWhat do we have...

    A multitude of wireless and wireline standards: GSM

    900/1800/1900/GPRS/EDGE, WLAN a/b/g/n, WCDMA

    HSDPA/B3G, WiMax fixed wireless/mobile, 4G, VDSL2,

    Bluetooth2, RFID, UWB, etc

    Wireless channel fading, co-channel and adjacentchannel interference, path loss etc

    Wireline channel near and far end cross-talk, path

    loss etc

    What do we want... Compatible and reconfigurable systems

    Adaptive systems, depending on channel conditions,customer requirements etc

  • 7/29/2019 SDRWB

    6/37

    Svante Signell, Jinliang Huang KTH/ICT/ECS 6

    Background & MotivationWhat do we have...

    A multitude of wireless and wireline standards: GSM

    900/1800/1900/GPRS/EDGE, WLAN a/b/g/n, WCDMA

    HSDPA/B3G, WiMax fixed wireless/mobile, 4G, VDSL2,

    Bluetooth2, RFID, UWB, etc

    Wireless channel fading, co-channel and adjacent

    channel interference, path loss etc

    Wireline channel near and far end cross-talk, path

    loss etc

    What do we want...

    Compatible and reconfigurable systems

    Adaptive systems, depending on channel conditions,customer requirements

    ***** Software Defined Radio SDR *****

  • 7/29/2019 SDRWB

    7/37Svante Signell, Jinliang Huang KTH/ICT/ECS 7

    TX RXpreambler

    A reconfigurable adaptive system

    Background & Motivation

  • 7/29/2019 SDRWB

    8/37Svante Signell, Jinliang Huang KTH/ICT/ECS 8

    TX RX

    A reconfigurable adaptive system

    Background & Motivation

    Est H

  • 7/29/2019 SDRWB

    9/37Svante Signell, Jinliang Huang KTH/ICT/ECS 9

    TX RX

    A reconfigurable adaptive system

    Background & Motivation

    feedbackAdaptiveSystem

  • 7/29/2019 SDRWB

    10/37Svante Signell, Jinliang Huang KTH/ICT/ECS 10

    TX RXdata

    A reconfigurable adaptive system

    Background & Motivation

    Adjustrate/power with

    feedback CSI

    CSI: Channel State Information

  • 7/29/2019 SDRWB

    11/37Svante Signell, Jinliang Huang KTH/ICT/ECS 11

    Background & Motivation

    System Model

    File Structure

    Case Study

    A newer version

    Future work

    Outline

  • 7/29/2019 SDRWB

    12/37Svante Signell, Jinliang Huang KTH/ICT/ECS 12

    System Model

    Goals: Make a reconfigurable workbench that supports

    different standards and algorithms

    Adaptive systems that maximize data rateunder a certain target BER

    Monte-Carlo simulation to get average results

    loop over different SNR points

    loop over a large number of channel realizations

    random source data bits

  • 7/29/2019 SDRWB

    13/37Svante Signell, Jinliang Huang KTH/ICT/ECS 13

    Module blocks

    Sub-Module blocks

    System Model

    Solution:Split functionality into generic function blocks

  • 7/29/2019 SDRWB

    14/37Svante Signell, Jinliang Huang KTH/ICT/ECS 14

    Setup Run

    Wrapup

    done? No

    Yes

    System Model

    System Setup:prepare the

    parametersWraup and calculate

    the results, e.g. BER,

    SNR, throughput, etc

    Transmit & receivedata, log the

    information, such as:

    source data bits,

    received bits, etc.

    Control flow for Monte-Carlo Simulation

  • 7/29/2019 SDRWB

    15/37Svante Signell, Jinliang Huang KTH/ICT/ECS 15

    Modules SOURCE: Generate data bits or extract data bits from

    pictures, videos, audio files etc.

    TX: Preprocess the signal and prepare for transmission.

    CH: Generate channel and calculate the received signal. RX: Postprocess the signal and detect the transmitted bits.

    Reconstruct the pictures, videos, audio files etc.

    SINK: Compute and show simulation results, in table format

    and/or graphically.

    System Model

  • 7/29/2019 SDRWB

    16/37Svante Signell, Jinliang Huang KTH/ICT/ECS 16

    Sub-Modules

    TX/RX Bit Processing Unit (BPU_T/R), e.g. encoder, interleaver.

    Symbol Processing Unit (SPU_T/R), e.g. modulator, precoder.

    Digital Radio Unit (DRU_T/R), e.g. FFT, interpolation, DAC.

    Analog Radio Unit (ARU_T/R), e.g. IF2RF, PA, filtering

    Estimation and Adaptation Unit (EAU_T/R), e.g. channel

    estimation, adaptive power allocation , bit-loading

    System Model

  • 7/29/2019 SDRWB

    17/37Svante Signell, Jinliang Huang KTH/ICT/ECS 17

    Sub-Modules

    CH

    Forward channel (FCH)

    Reverse channel (RCH)

    Generate channel (GCH)

    Estimate channel (ECH)

    System Model

  • 7/29/2019 SDRWB

    18/37Svante Signell, Jinliang Huang KTH/ICT/ECS 18

    ModelsCalled by Modules/Sub-modules to perform the basic signal

    processing. Includes a default parameter file.

    Common interface[outData, model_d, model_s] = model (phase, model_d, model_s, inData)

    Generic parameters

    stored in the corresponding .ini file:

    System Model

    scrambler.ini

    % Generating polynomialpolynomial=[1,0,0,1,0,0,0,1]% Frame counterframeCounter = [0,1,0,0]

  • 7/29/2019 SDRWB

    19/37Svante Signell, Jinliang Huang KTH/ICT/ECS 19

    Background & Motivation

    System Model

    File Structure

    Case Study

    A newer version

    Future work

    Outline

  • 7/29/2019 SDRWB

    20/37Svante Signell, Jinliang Huang KTH/ICT/ECS 20

    File Structure

  • 7/29/2019 SDRWB

    21/37Svante Signell, Jinliang Huang KTH/ICT/ECS 21

    First alpha release available(1.0alpha1)

    Implemented standards: 802.11a,b,g,n

    Ongoing: GSM, VDSL2, WiMAX, RFID

    Planned: WCDMA, TDD-CDMA, DVB-

    T/H/RCT, Bluetooth2, 4G

    PC/*NIX+Matlab/Octave: least commondenominator, coding rules, templates

    Licence: GNU General Public License

    version 2 or later: TBD

    Current status

  • 7/29/2019 SDRWB

    22/37Svante Signell, Jinliang Huang KTH/ICT/ECS 22

    Background & Motivation

    System Model

    File Structure

    Case Study

    A newer version

    Future work

    Outline

  • 7/29/2019 SDRWB

    23/37Svante Signell, Jinliang Huang KTH/ICT/ECS 23

    Case Study

    MIMO-OFDM to maximize data rate under target BER.

    4 x 4

    SVD,WF,STBC (GSTBC),BF

    64 subcarriers with 48 used, 4 pilots and 12 zero carriers

    Adaptive modulation using M-QAM with M={0,2,4,16,64}

    Deterministic spatial-temporal channel model [1]

    Target BER 0.1%

    [1] Jinliang HuangA Matlab/Octave Simulation Environment for SDR with application to OFDM

    and MIMO, Master thesis, IMIT/LECS, Royal Institute of Technology, Sweden, 2005.

  • 7/29/2019 SDRWB

    24/37Svante Signell, Jinliang Huang KTH/ICT/ECS 24

    Case Study

  • 7/29/2019 SDRWB

    25/37Svante Signell, Jinliang Huang KTH/ICT/ECS 25

    Case Study

  • 7/29/2019 SDRWB

    26/37

    Svante Signell, Jinliang Huang KTH/ICT/ECS 26

    Background & Motivation

    System Model

    File Structure Case Study

    A newer version of SDR_WB

    Future work

    Outline

  • 7/29/2019 SDRWB

    27/37

    Svante Signell, Jinliang Huang KTH/ICT/ECS 27

    A newer version

    New one... Two scenarios are simulated:

    Non-adaptive systems&Adaptive systems

    Adaptive systems may havepartial or full CSIT

    Adaptive systems canminimize BER or maximizedata rate

    Both Rayleigh and Ricean

    fading are included Data length is flexible

    Old workbench... One scenario is simulated:

    Adaptive systems with fullChannel State Information(CSI) at TX

    Full CSIT is used to maximizethe data rate

    Only Rayleigh fading channel isconsidered

    Data length is fixed

  • 7/29/2019 SDRWB

    28/37

    Svante Signell, Jinliang Huang KTH/ICT/ECS 28

    A newer version

    New workbench... Two scenarios are simulated:

    Non-adaptive systems&Adaptive systems

    Adaptive systems may havepartialor fullCSIT

    Adaptive systems canminimize BER or maximizedata rate

    Both Rayleigh and Ricean

    fading are included Data length is flexible

    Old workbench... One scenario is simulated:

    Adaptive systems with fullChannel State Information(CSI) at TX

    Full CSIT is used to maximizethe data rate

    Only Rayleigh fading channel isconsidered

    Data length is fixed

  • 7/29/2019 SDRWB

    29/37

    Svante Signell, Jinliang Huang KTH/ICT/ECS 29

    A newer version

    New workbench... Two scenarios are simulated:

    Non-adaptive systems&Adaptive systems

    Adaptive systems may havepartialor fullCSIT

    Adaptive systems canminimize BER or maximizedata rate

    Both Rayleigh and Riceanfading are included

    Data length is flexible

    Old workbench... One scenario is simulated:

    Adaptive systems with fullChannel State Information(CSI) at TX

    Full CSIT is used to maximizethe data rate

    Only Rayleigh fading channel isconsidered

    Data length is fixed

  • 7/29/2019 SDRWB

    30/37

    Svante Signell, Jinliang Huang KTH/ICT/ECS 30

    A newer version

    New workbench... Two scenarios are simulated:

    Non-adaptive systems&Adaptive systems

    Adaptive systems may havepartialor fullCSIT

    Adaptive systems canminimize BER or maximizedata rate

    Both Rayleigh and Riceanfading are included

    Data length is flexible

    Old workbench... One scenario is simulated:

    Adaptive systems with fullChannel State Information(CSI) at TX

    Full CSIT is used to maximizethe data rate

    Only Rayleigh fading channel isconsidered

    Data length is fixed

  • 7/29/2019 SDRWB

    31/37

    Svante Signell, Jinliang Huang KTH/ICT/ECS 31

    A newer version

    New workbench... Two scenarios are simulated:

    Non-adaptive systems&Adaptive systems

    Adaptive systems may havepartialor fullCSIT

    Adaptive systems canminimize BER or maximizedata rate

    Both Rayleigh and Riceanfading are included

    Data length is flexible

    Old workbench... One scenario is simulated:

    Adaptive systems with fullChannel State Information(CSI) at TX

    Full CSIT is used to maximizethe data rate

    Only Rayleigh fading channel isconsidered

    Data length is fixed

  • 7/29/2019 SDRWB

    32/37

    Svante Signell, Jinliang Huang KTH/ICT/ECS 32

    Scenario_Blind

    Scenarios for non-adaptive systems

    No DELAY

    H(2)H(1)

    CH Estimation Data Transmission

    Block 2

    CH Estimation Data Transmission

    CH Estimation DataTransmission CH

    CH

    DELAY

    Block1

    Block 1

    channel_duration

    chestimation_time block_length

    channel_duration = block_length + chestimation_time ?

    NOTE

    Delay: if the RX usedoutdated CSI to detect

    the signal

  • 7/29/2019 SDRWB

    33/37

    Svante Signell, Jinliang Huang KTH/ICT/ECS 33

    Scenario_CSI

    H(2)H(1)

    CH Estimation Data Transmission

    CH Estimation F DataTransmission CH

    CHCH Estimation Data Transmission

    NOTE

    F: feedback CSIScenarios for adaptive systems

    No DELAY

    DELAY

    channel_duration

    feedback_delay

    channel_duration = block_length + chestimation_time... +feedback_delay ?

    block_length

    chestimation_time

  • 7/29/2019 SDRWB

    34/37

    Svante Signell, Jinliang Huang KTH/ICT/ECS 34

    Data to be transmitted at one time is a block

    Inside a block, data is packed intoframes

    Data structures

    Frame 1 Frame 1

    Data Block transmitted at time n

    Frame 2 Frame 2

    Data Block transmitted at time n+1

    frame_length block_length

    block_length = frame_length x nr_frame

  • 7/29/2019 SDRWB

    35/37

    Svante Signell, Jinliang Huang KTH/ICT/ECS 35

    Background & Motivation

    System Model

    File Structure

    Case Study

    A newer version

    Future work

    Outline

  • 7/29/2019 SDRWB

    36/37

    Svante Signell, Jinliang Huang KTH/ICT/ECS 36

    Future work

    Implement more algorithms and more

    standards VBLAST, GSM, WCDMA, WiMAX,

    DVB-T/H/RCT, VDSL2, RFID, 4G Add more channel models, e.g. 802.11

    reference channel model Use preambler data and pilots for channel

    estimation Add link layer functionality -> real applications Hardware implementation of BB functions in

    FPGAs etc!

  • 7/29/2019 SDRWB

    37/37

    Thank you for your attention!!

    Questions?