20180314Convolutional code高偉智
20180314Convolutional code高偉智
IEEE 802.11a 式 告
指 老師: 宗 老師
生:高偉
告日 :2018.03.15
IEEE 802.11a Transmi er s Block Diagram
Convolutional
Encoder 14 bits Add Pilot and Make Up
1 bit 1 bit (tx_conv_encoder.m)
2 bits Interleaving 2 bits Bit to Symbol Mapping Full OFDM Symbol
PLCP DATA Scrambler (tx_interleaver.m)
(tx_conv_encoder.m) (tx_modulate.m) (tx_add_pilot_syms.m)
14 bits
Frequency 器
Divider(/2) 12MHz
Only PLCP 1 bit Convolutional 2 bits 2 bits Two Bits To 1 bit BPSK
Interleaving
SIGNAL Encoder One Bits Mapping
器 Frequency
40MHz Divider(/2)
10 bits 8 bits 8 bits 8 bits 14 bits 14 bits
14Bits to
Output to RF DAC Pulse Shaping Up Sampling Add PLCP IFFT & Add
8 Bits
10 bits 8 bits 8 bits Preamble 8 bits Cyclic Prefix 14 bits
14 bits (tx_add_cyclic_prefix.m)
(tx_gen_preamble.m)
CCU Comm.
Smart Antenna Lab
MATLAB 主 式架
ui_start.m
CCU Comm.
Smart Antenna Lab
Transmitter 架
transmitter.m
CCU Comm.
Smart Antenna Lab
Convolutional code
ConvCodeGenPoly
1 0 1 1 0 1 1
=
1 1 1 1 0 0 1 2 7
1 0 1 1 0 1 1
1 1 1 1 0 0 1
CCU Comm.
Smart Antenna Lab
Length of Output Data (R=1/2, K=7)
Input data 800 bits Output data 806 bits
Tb Tb Tb Tb Tb Tb
800 bits
X 1011011
800 bits
800 bits
800 bits
800 bits
806 bits
CCU Comm.
Smart Antenna Lab
tx_conv_encoder.m
function coded_bits = tx_conv_encoder(inf_bits) % 出 數:coded_bits 入 數:inf_bits
for row=1:number_rows
uncoded_bits(row,1:number_bits)=rem(conv(in_bits, sim_consts.ConvCodeGenPoly(row,:)),2);
end
%conv多 式相乘 %rem取
coded_bits=uncoded_bits(:);
CCU Comm.
Smart Antenna Lab
transmitter.m
unction [tx_signal, inf_bits, tx_bits] = transmitter(sim_options);
global sim_consts;
% Convolutional encoding
coded_bit_stream = tx_conv_encoder(inf_bits);
CCU Comm.
Smart Antenna Lab
set_sim_consts.m
function sim_consts = set_sim_consts
global sim_consts;
.
.
CCU Comm.
Smart Antenna Lab