📄 ofdmsjsu.mdl
字号:
SrcBlock "Frame Status\nConversion"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "Product"
DstPort 1
}
Branch {
Points [0, -110]
DstBlock " "
DstPort 1
}
}
Line {
SrcBlock "CHEST"
SrcPort 1
Points [280, 0; 0, -100]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "M-PSK\nDemodulator\nBaseband"
SrcPort 1
DstBlock "Out"
DstPort 1
}
Line {
SrcBlock " "
SrcPort 1
DstBlock "Zero-Order\nHold1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "OFDM\nTRANSMITTER"
Ports [0, 3]
Position [25, 99, 130, 181]
BackgroundColor "green"
DropShadow on
NamePlacement "alternate"
TreatAsAtomicUnit on
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "OFDM\nTRANSMITTER"
Location [36, 219, 764, 580]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Selector
Name "Add Cyclic\nPrefix"
Ports [1, 1]
Position [340, 143, 390, 187]
Elements "[49:64 1:64]"
InputPortWidth "64"
}
Block {
BlockType Reference
Name "IFFT"
Ports [1, 1]
Position [270, 149, 310, 181]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag5"
SourceBlock "dspxfrm3/IFFT"
SourceType "IFFT"
CompMethod "Table lookup"
TableOpt "Speed"
BitRevOrder off
cs_in off
SkipNorm off
mode "Complex"
additionalParams off
allowOverrides on
firstCoeffMode "Same word length as input"
firstCoeffWordLength "16"
firstCoeffFracLength "15"
outputMode "Inherit via internal rule"
outputWordLength "16"
outputFracLength "15"
accumMode "Inherit via internal rule"
accumWordLength "32"
accumFracLength "30"
prodOutputMode "Inherit via internal rule"
prodOutputWordLength "32"
prodOutputFracLength "30"
roundingMode "Floor"
overflowMode off
LockScale off
}
Block {
BlockType Reference
Name "M-PSK\nModulator\nBaseband"
Ports [1, 1]
Position [140, 139, 215, 191]
SourceBlock "commdigbbndpm2/M-PSK\nModulator\nBaseband"
SourceType "M-PSK Modulator Baseband"
M "8"
InType "Integer"
Enc "Binary"
Ph "pi/8"
numSamp "1"
}
Block {
BlockType Reference
Name "Random Integer\nGenerator"
Ports [0, 1]
Position [35, 143, 115, 187]
FontName "Arial"
SourceBlock "commrandsrc2/Random Integer\nGenerator"
SourceType "Random Integer Generator"
ShowPortLabels on
mul "8"
seed "37111"
Ts "1e-6/64"
frameBased on
sampPerFrame "64"
orient off
}
Block {
BlockType Reference
Name "Spectrum\ntransmitted"
Ports [1]
Position [560, 70, 595, 120]
BackgroundColor "cyan"
NamePlacement "alternate"
SourceBlock "dspsnks4/Spectrum\nScope"
SourceType "Spectrum Scope"
ShowPortLabels off
ScopeProperties on
Domain "Frequency"
HorizSpan "1"
UseBuffer on
BufferSize "64"
Overlap "32"
inpFftLenInherit on
FFTlength "64"
numAvg "100"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber on
AxisLegend off
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "[14 423 376 326]"
AxisProperties off
XUnits "Hertz"
XRange "[0...Fs]"
InheritXIncr on
XIncr "1.0"
XLabel "Samples"
YUnits "dB"
YMin "-35"
YMax "-14"
YLabel "Magnitude, dB"
LineProperties off
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold"
Position [505, 80, 540, 110]
BackgroundColor "cyan"
SampleTime "1e-6"
}
Block {
BlockType Outport
Name "Data"
Position [645, 23, 675, 37]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out"
Position [640, 158, 670, 172]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Pilots"
Position [640, 263, 670, 277]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Random Integer\nGenerator"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "M-PSK\nModulator\nBaseband"
DstPort 1
}
Branch {
Points [0, -135]
DstBlock "Data"
DstPort 1
}
}
Line {
SrcBlock "M-PSK\nModulator\nBaseband"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "IFFT"
DstPort 1
}
Branch {
Points [0, 105]
DstBlock "Pilots"
DstPort 1
}
}
Line {
SrcBlock "Zero-Order\nHold"
SrcPort 1
DstBlock "Spectrum\ntransmitted"
DstPort 1
}
Line {
SrcBlock "Add Cyclic\nPrefix"
SrcPort 1
DstBlock "Out"
DstPort 1
}
Line {
SrcBlock "IFFT"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Add Cyclic\nPrefix"
DstPort 1
}
Branch {
Points [0, -70]
DstBlock "Zero-Order\nHold"
DstPort 1
}
}
}
}
Block {
BlockType Reference
Name "SYMBOL ERROR "
Ports [2, 1]
Position [825, 27, 890, 98]
NamePlacement "alternate"
SourceBlock "commsink2/Error Rate\nCalculation"
SourceType "Error Rate Calculation"
N "0"
st_delay "64"
cp_mode "Entire frame"
subframe "[]"
PMode "Port"
WsName "ErrorVec"
RsMode2 off
stop on
numErr "500"
maxBits "100000"
}
Block {
BlockType Scope
Name "Scope"
Ports [3]
Position [975, 188, 1005, 222]
BackgroundColor "cyan"
Location [794, 279, 1275, 790]
Open on
NumInputPorts "3"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
TimeRange "5e-006"
YMin "-0.5~-0.5~-0.3"
YMax "7.5~7.5~0.3"
DataFormat "StructureWithTime"
}
Line {
SrcBlock "Multipath channel"
SrcPort 1
Points [0, 0; 40, 0]
Branch {
DstBlock "AWGN channel"
DstPort 1
}
Branch {
Points [0, 95; 140, 0]
Branch {
DstBlock "IDEAL CHANNEL\nESTIMATION"
DstPort 1
}
Branch {
Points [0, 80]
DstBlock "Complex to\nReal-Imag2"
DstPort 1
}
}
}
Line {
SrcBlock "OFDM\nRECEIVER"
SrcPort 1
Points [0, 0; 55, 0]
Branch {
Points [0, -75]
DstBlock "SYMBOL ERROR "
DstPort 2
}
Branch {
Points [0, 50]
DstBlock "Buffer3"
DstPort 1
}
}
Line {
SrcBlock "Buffer"
SrcPort 1
Points [45, 0; 0, 55]
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag2"
SrcPort 1
DstBlock "Buffer1"
DstPort 1
}
Line {
SrcBlock "SYMBOL ERROR "
SrcPort 1
DstBlock "Display"
DstPort 1
}
Line {
SrcBlock "Buffer3"
SrcPort 1
DstBlock "Scope"
DstPort 2
}
Line {
SrcBlock "Buffer1"
SrcPort 1
Points [25, 0; 0, -100]
DstBlock "Scope"
DstPort 3
}
Line {
SrcBlock "OFDM\nTRANSMITTER"
SrcPort 2
DstBlock "Multipath channel"
DstPort 1
}
Line {
SrcBlock "OFDM\nTRANSMITTER"
SrcPort 1
Points [20, 0; 0, -70; 620, 0]
Branch {
DstBlock "SYMBOL ERROR "
DstPort 1
}
Branch {
Points [0, 95]
DstBlock "Buffer"
DstPort 1
}
}
Line {
SrcBlock "OFDM\nTRANSMITTER"
SrcPort 3
Points [20, 0; 0, 100]
DstBlock "AWGN channel "
DstPort 1
}
Line {
SrcBlock "AWGN channel"
SrcPort 1
DstBlock "OFDM\nRECEIVER"
DstPort 1
}
Line {
SrcBlock "IDEAL CHANNEL\nESTIMATION"
SrcPort 1
Points [15, 0; 0, -85]
DstBlock "OFDM\nRECEIVER"
DstPort 2
}
Line {
SrcBlock "AWGN channel "
SrcPort 1
DstBlock "IDEAL CHANNEL\nESTIMATION"
DstPort 2
}
Annotation {
Name "An 8-PSK 64-Carrier OFDM System \nwith Channel "
"Estimation\nEE 252 -Spring 2005\n San Jose State University"
Position [235, 330]
FontName "Arial"
FontSize 12
FontWeight "bold"
}
}
}
MatData {
NumRecords 6
DataRecord {
Tag DataTag5
Data " %)30 . 8 8 ( 0 % "
"\" $ ! 0 . , 8 ( ! % \" $ "
"$ 0 0 0 249&5 "
}
DataRecord {
Tag DataTag4
Data " %)30 . 8 8 ( 0 % "
"\" $ ! 0 . , 8 ( ! % \" $ "
"# 0 0 , 1D94 "
}
DataRecord {
Tag DataTag3
Data " %)30 . 8 8 ( 0 % "
"\" $ ! 0 . , 8 ( ! % \" $ "
"$ 0 0 0 249&5 "
}
DataRecord {
Tag DataTag2
Data " %)30 . < 8 ( 0 % "
"\" $ ! 0 . 0 8 ( ! % \" $ "
"- 0 0 #0 $1I9VET86Q&:6QT97( "
}
DataRecord {
Tag DataTag1
Data " %)30 . 8 8 ( 0 % "
"\" $ ! 0 . , 8 ( ! % \" $ "
"# 0 0 , 1D94 "
}
DataRecord {
Tag DataTag0
Data " %)30 . 8 8 ( 0 % "
"\" $ ! 0 . , 8 ( ! % \" $ "
"$ 0 0 0 249&5 "
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -