Professional Documents
Culture Documents
A Matlab/Octave Simulation Workbench For Multi-Antenna Software Defined Radio
A Matlab/Octave Simulation Workbench For Multi-Antenna Software Defined Radio
Workbench 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
Outline
KTH/ICT/ECS
Outline
KTH/ICT/ECS
KTH/ICT/ECS
KTH/ICT/ECS
KTH/ICT/ECS
TX
preambler
RX
KTH/ICT/ECS
TX
RX
Est H
KTH/ICT/ECS
TX
RX
feedback
Adaptive
System
KTH/ICT/ECS
data
TX
RX
Adjust
rate/power with
feedback CSI
KTH/ICT/ECS
10
Outline
KTH/ICT/ECS
11
System Model
Goals:
Make a reconfigurable workbench that supports
different standards and algorithms
Adaptive systems that maximize data rate
under 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
KTH/ICT/ECS
12
System Model
Solution:
Module blocks
Sub-Module blocks
KTH/ICT/ECS
13
System Model
Transmit & receive
data, log the
information, such as:
source data bits,
received bits, etc.
Setup
done?
No
Yes
System Setup:
prepare the
parameters
Run
Wrapup
KTH/ICT/ECS
14
System Model
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.
KTH/ICT/ECS
15
System Model
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
KTH/ICT/ECS
16
System Model
Sub-Modules
CH
Forward channel (FCH)
Reverse channel (RCH)
Generate channel (GCH)
Estimate channel (ECH)
KTH/ICT/ECS
17
System Model
Models
Called 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:
scrambler.ini
% Generating polynomial
polynomial=[1,0,0,1,0,0,0,1]
% Frame counter
frameCounter = [0,1,0,0]
Svante Signell, Jinliang Huang
KTH/ICT/ECS
18
Outline
KTH/ICT/ECS
19
File Structure
KTH/ICT/ECS
20
Current status
First alpha release available
(1.0alpha1)
Implemented standards: 802.11a,b,g,n
Ongoing: GSM, VDSL2, WiMAX, RFID
Planned: WCDMA, TDD-CDMA, DVBT/H/RCT, Bluetooth2, 4G
PC/*NIX+Matlab/Octave: least common
denominator, coding rules, templates
Licence: GNU General Public License
version 2 or later: TBD
Svante Signell, Jinliang Huang
KTH/ICT/ECS
21
Outline
KTH/ICT/ECS
22
Case Study
4x4
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 Huang A Matlab/Octave Simulation Environment for SDR with application to OFDM
and MIMO, Master thesis, IMIT/LECS, Royal Institute of Technology, Sweden, 2005.
Svante Signell, Jinliang Huang
KTH/ICT/ECS
23
Case Study
KTH/ICT/ECS
24
Case Study
KTH/ICT/ECS
25
Outline
KTH/ICT/ECS
26
A newer version
Old workbench...
New one...
KTH/ICT/ECS
27
A newer version
Old workbench...
New workbench...
KTH/ICT/ECS
28
A newer version
Old workbench...
New workbench...
KTH/ICT/ECS
29
A newer version
Old workbench...
New workbench...
KTH/ICT/ECS
30
A newer version
Old workbench...
New workbench...
KTH/ICT/ECS
31
Scenario_Blind
NOTE
Delay: if the RX used
outdated CSI to detect
the signal
No DELAY
CH Estimation
Data Transmission
Block 2
CH Estimation
Data Transmission
CH
Block1
DELAY
CH Estimation
Data Transmission
chestimation_time
CH
block_length
H(1)
H(2)
channel_duration
KTH/ICT/ECS
32
Scenario_CSI
NOTE
F: feedback CSI
CH Estimation
Data Transmission
CH Estimation
Data Transmission
CH
block_length
DELAY
CH Estimation
Data Transmission
CH
chestimation_time feedback_delay
H(1)
H(2)
channel_duration
KTH/ICT/ECS
33
Data structures
Frame 1
Frame 2
frame_length
Frame 1
Frame 2
block_length
KTH/ICT/ECS
34
Outline
KTH/ICT/ECS
35
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!
Svante Signell, Jinliang Huang
KTH/ICT/ECS
36
KTH/ICT/ECS
37