📄 hiperlan2.mdl
字号:
BlockType Outport
Name "Out1"
Position [360, 53, 390, 67]
}
Line {
SrcBlock "Selector"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Zero Pad"
SrcPort 1
DstBlock "Selector"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Zero Pad"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "Out"
Position [765, 223, 795, 237]
}
Line {
SrcBlock "Zero pad for OFDM"
SrcPort 1
DstBlock "IFFT"
DstPort 1
}
Line {
SrcBlock "IFFT"
SrcPort 1
DstBlock "Add Cyclic\nPrefix"
DstPort 1
}
Line {
SrcBlock "Add Cyclic\nPrefix"
SrcPort 1
DstBlock "Out"
DstPort 1
}
Line {
SrcBlock "PN Sequence\nGenerator"
SrcPort 1
DstBlock "Unipolar to\nBipolar\nConverter"
DstPort 1
}
Line {
SrcBlock "Unipolar to\nBipolar\nConverter"
SrcPort 1
Points [25, 0; 0, 90]
Branch {
DstBlock "Matrix\nConcatenation"
DstPort 2
}
Branch {
Points [0, 40]
Branch {
DstBlock "Matrix\nConcatenation"
DstPort 4
}
Branch {
Points [0, 80]
Branch {
DstBlock "Matrix\nConcatenation"
DstPort 8
}
Branch {
Points [0, 40]
DstBlock "Gain"
DstPort 1
}
}
}
}
Line {
SrcBlock "Matrix\nConcatenation"
SrcPort 1
DstBlock "Zero pad for OFDM"
DstPort 1
}
Line {
SrcBlock "DSP\nConstant"
SrcPort 1
DstBlock "Matrix\nConcatenation"
DstPort 6
}
Line {
SrcBlock "Multiport\nSelector"
SrcPort 1
DstBlock "Matrix\nConcatenation"
DstPort 1
}
Line {
SrcBlock "Multiport\nSelector"
SrcPort 2
DstBlock "Matrix\nConcatenation"
DstPort 3
}
Line {
SrcBlock "Multiport\nSelector"
SrcPort 3
DstBlock "Matrix\nConcatenation"
DstPort 5
}
Line {
SrcBlock "Multiport\nSelector"
SrcPort 4
DstBlock "Matrix\nConcatenation"
DstPort 7
}
Line {
SrcBlock "Multiport\nSelector"
SrcPort 5
DstBlock "Matrix\nConcatenation"
DstPort 9
}
Line {
SrcBlock "Multiport\nSelector"
SrcPort 6
DstBlock "Matrix\nConcatenation"
DstPort 11
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Matrix\nConcatenation"
DstPort 10
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "Multiport\nSelector"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "P2 Puncture"
Ports [1, 1]
Position [275, 138, 355, 182]
SourceBlock "commsequence2/Puncture"
SourceType "Puncture"
punctureVector "[1 1 0 1 0 1]'"
}
Block {
BlockType Reference
Name "Received Signal"
Tag "ScatterPlot"
Ports [1]
Position [730, 270, 775, 320]
SourceBlock "commsink2/Discrete-Time\nScatter Plot\nScope"
SourceType "Discrete-Time Scatter Plot Scope"
showPlotting on
sampPerSymb "1"
offsetEye "0"
numTraces "160"
numNewFrames "80"
showRendering off
LineMarkers "."
LineColors "b"
fading on
render off
AxisGrid on
showAxes off
xMin "-1.5"
xMax "1.5"
yMin "-1.5"
yMax "1.5"
inphaseLabel "In-phase Amplitude"
quadratureLabel "Quadrature Amplitude"
showFigure off
openScopeAtSimStart on
FrameNumber off
FigPos "figposition([50 57 32 32])"
figTitle "Scatter Plot"
numLinesMax "8"
block_type_ "scatter"
}
Block {
BlockType Reference
Name "Rectangular QAM\nDemodulator\nBaseband"
Ports [1, 1]
Position [600, 369, 675, 421]
Orientation "left"
SourceBlock "commdigbbndam2/Rectangular QAM\nDemodulator\nBa"
"seband"
SourceType "Rectangular QAM Demodulator Baseband"
M "16"
OutType "Bit"
Dec "Gray"
PowType "Min. distance between symbols"
MinDist "2"
AvgPow "1"
PeakPow "1"
Ph "0"
numSamp "1"
}
Block {
BlockType Reference
Name "Rectangular QAM\nModulator\nBaseband"
Ports [1, 1]
Position [625, 134, 700, 186]
SourceBlock "commdigbbndam2/Rectangular QAM\nModulator\nBase"
"band"
SourceType "Rectangular QAM Modulator Baseband"
M "16"
InType "Bit"
Enc "Gray"
PowType "Min. distance between symbols"
MinDist "2"
AvgPow "1"
PeakPow "1"
Ph "0"
numSamp "1"
}
Block {
BlockType Reference
Name "Spectrum\nScope"
Ports [1]
Position [815, 310, 850, 360]
Orientation "left"
NamePlacement "alternate"
SourceBlock "dspsnks4/Spectrum\nScope"
SourceType "Spectrum Scope"
ScopeProperties off
Domain "Frequency"
HorizSpan "1"
UseBuffer on
BufferSize "80"
Overlap "0"
inpFftLenInherit on
FFTlength "1024"
numAvg "10"
DisplayProperties on
AxisGrid on
Memory off
FrameNumber on
AxisLegend off
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "figposition( [50 5 35 35] )"
AxisProperties off
XUnits "Hertz"
XRange "[-Fs/2...Fs/2]"
InheritXIncr off
XIncr "1.0"
XLabel "Samples"
YUnits "dB"
YMin "-60"
YMax "0"
YLabel "Magnitude, dB"
LineProperties off
}
Block {
BlockType Terminator
Name "Terminator"
Position [755, 420, 775, 440]
Orientation "left"
ShowName off
}
Block {
BlockType Reference
Name "Transmitted Signal"
Tag "ScatterPlot"
Ports [1]
Position [865, 45, 910, 95]
SourceBlock "commsink2/Discrete-Time\nScatter Plot\nScope"
SourceType "Discrete-Time Scatter Plot Scope"
showPlotting on
sampPerSymb "1"
offsetEye "0"
numTraces "60"
numNewFrames "60"
showRendering off
LineMarkers "."
LineColors "r"
fading off
render on
AxisGrid on
showAxes off
xMin "-1.5"
xMax "1.5"
yMin "-1.5"
yMax "1.5"
inphaseLabel "In-phase Amplitude"
quadratureLabel "Quadrature Amplitude"
showFigure off
openScopeAtSimStart off
FrameNumber off
FigPos "figposition([5 57 32 32])"
figTitle "Scatter Plot"
numLinesMax "8"
block_type_ "scatter"
}
Block {
BlockType Reference
Name "Unipolar to\nBipolar\nConverter"
Ports [1, 1]
Position [305, 374, 370, 416]
Orientation "left"
ShowName off
SourceBlock "commutil2/Unipolar to\nBipolar\nConverter"
SourceType "Unipolar to Bipolar Converter"
M "2"
polarity "Negative"
}
Block {
BlockType Reference
Name "Viterbi Decoder"
Ports [1, 1]
Position [95, 365, 185, 425]
Orientation "left"
ShowName off
SourceBlock "commcnvcod2/Viterbi Decoder"
SourceType "Viterbi Decoder"
trellis "poly2trellis(7, [133 171])"
dectype "Unquantized"
nsdecb "4"
tbdepth "34"
opmode "Continuous"
reset off
}
Line {
SrcBlock "Rectangular QAM\nModulator\nBaseband"
SrcPort 1
DstBlock "Normalize"
DstPort 1
}
Line {
SrcBlock "Bernoulli Random\nBinary Generator"
SrcPort 1
Points [10, 0; 15, 0]
Branch {
DstBlock "Convolutional\nEncoder"
DstPort 1
}
Branch {
Points [0, 95]
DstBlock "Error Rate Calculation"
DstPort 1
}
}
Line {
SrcBlock "OFDM Transmitter"
SrcPort 1
Points [20, 0]
DstBlock "AWGN\nChannel"
DstPort 1
}
Line {
SrcBlock "Viterbi Decoder"
SrcPort 1
Points [0, -115]
DstBlock "Error Rate Calculation"
DstPort 2
}
Line {
SrcBlock "P2 Puncture"
SrcPort 1
DstBlock "Matrix\nInterleaver"
DstPort 1
}
Line {
SrcBlock "General Block\nInterleaver"
SrcPort 1
DstBlock "Rectangular QAM\nModulator\nBaseband"
DstPort 1
}
Line {
SrcBlock "General Block\nDeinterleaver"
SrcPort 1
DstBlock "Matrix\nDeinterleaver"
DstPort 1
}
Line {
SrcBlock "Convolutional\nEncoder"
SrcPort 1
DstBlock "P2 Puncture"
DstPort 1
}
Line {
SrcBlock "Insert Zero"
SrcPort 1
DstBlock "Viterbi Decoder"
DstPort 1
}
Line {
SrcBlock "Matrix\nDeinterleaver"
SrcPort 1
DstBlock "Unipolar to\nBipolar\nConverter"
DstPort 1
}
Line {
SrcBlock "Rectangular QAM\nDemodulator\nBaseband"
SrcPort 1
DstBlock "General Block\nDeinterleaver"
DstPort 1
}
Line {
SrcBlock "Normalize"
SrcPort 1
Points [-5, 0; 5, 0]
Branch {
DstBlock "OFDM Transmitter"
DstPort 1
}
Branch {
Points [0, -90]
DstBlock "Transmitted Signal"
DstPort 1
}
}
Line {
SrcBlock "Denormalize"
SrcPort 1
DstBlock "Rectangular QAM\nDemodulator\nBaseband"
DstPort 1
}
Line {
SrcBlock "Unipolar to\nBipolar\nConverter"
SrcPort 1
DstBlock "Insert Zero"
DstPort 1
}
Line {
SrcBlock "OFDM Receiver"
SrcPort 1
Points [-15, 0]
Branch {
DstBlock "Denormalize"
DstPort 1
}
Branch {
Points [0, -50; -105, 0; 0, -50]
DstBlock "Received Signal"
DstPort 1
}
}
Line {
SrcBlock "Error Rate Calculation"
SrcPort 1
DstBlock "Display"
DstPort 1
}
Line {
SrcBlock "AWGN\nChannel"
SrcPort 1
Points [0, 0; 0, 35]
Branch {
DstBlock "OFDM Receiver"
DstPort 1
}
Branch {
DstBlock "Spectrum\nScope"
DstPort 1
}
}
Line {
SrcBlock "Matrix\nInterleaver"
SrcPort 1
DstBlock "General Block\nInterleaver"
DstPort 1
}
Line {
SrcBlock "OFDM Receiver"
SrcPort 2
DstBlock "Terminator"
DstPort 1
}
Annotation {
Name "HIPERLAN/2 "
Position [470, 46]
FontName "Arial"
FontSize 20
FontWeight "bold"
}
Annotation {
Name "\n "
Position [105, 478]
HorizontalAlignment "left"
FontName "Arial"
FontSize 11
FontWeight "bold"
}
Annotation {
Name "Error rate "
Position [413, 247]
FontName "Arial"
}
Annotation {
Name "Num Errors"
Position [417, 268]
FontName "Arial"
}
Annotation {
Name "Num Bits "
Position [416, 290]
FontName "Arial"
}
Annotation {
Name "16QAM mode with 3/4 code rate (4/6 P2 puncturin"
"g rate)"
Position [483, 73]
FontName "Arial"
FontSize 18
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -