📄 xinbiyesheji3.mdl
字号:
DstBlock "upsampling5"
DstPort 1
}
Line {
SrcBlock "upsampling5"
SrcPort 1
DstBlock "Relational\nOperator1"
DstPort 2
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "upsampling6"
DstPort 1
}
Line {
SrcBlock "upsampling6"
SrcPort 1
DstBlock "Relational\nOperator2"
DstPort 2
}
}
}
Block {
BlockType ToWorkspace
Name "To Workspace"
Position [820, 397, 930, 463]
VariableName "ErrVect"
MaxDataPoints "1"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType SubSystem
Name "Transmitter"
Ports [0, 1]
Position [15, 189, 65, 381]
FontName "Arial"
FontSize 12
TreatAsAtomicUnit off
MaskDisplay "disp('信\\n号\\n发\\n送\\n端')"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Transmitter"
Location [214, 74, 798, 554]
Open off
ModelBrowserVisibility on
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType SubSystem
Name "Data generator"
Ports [0, 1]
Position [15, 31, 80, 69]
TreatAsAtomicUnit off
System {
Name "Data generator"
Location [323, 141, 755, 301]
Open off
ModelBrowserVisibility on
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Reference
Name "Buffer"
Ports [1, 1]
Position [140, 25, 190, 75]
SourceBlock "dspbuff3/Buffer"
SourceType "Buffer"
N "2"
V "0"
ic "0"
}
Block {
BlockType Reference
Name "Convert 2-D to 1-D"
Ports [1, 1]
Position [280, 32, 340, 68]
SourceBlock "dspsigattribs/Convert 2-D to 1-D"
SourceType "Convert 2-D to 1-D"
}
Block {
BlockType Reference
Name "Frame Status\nConversion"
Ports [1, 1]
Position [210, 34, 260, 66]
SourceBlock "dspsigattribs/Frame Status\nConversion"
SourceType "Frame Status Conversion"
growRefPort off
outframe "Sample-based"
}
Block {
BlockType Goto
Name "Goto4"
Position [145, 112, 190, 128]
ShowName off
GotoTag "TxData"
TagVisibility "global"
}
Block {
BlockType Reference
Name "Random-Integer\nGenerator"
Ports [0, 1]
Position [15, 28, 95, 72]
SourceBlock "commrandsrc2/Random Integer\nGenerator"
SourceType "Random Integer Generator"
mul "2"
seed "24680"
Ts "Tb/2"
frameBased off
sampPerFrame "2"
orient off
}
Block {
BlockType Outport
Name "Out1"
Position [365, 43, 395, 57]
}
Line {
SrcBlock "Convert 2-D to 1-D"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Frame Status\nConversion"
SrcPort 1
DstBlock "Convert 2-D to 1-D"
DstPort 1
}
Line {
SrcBlock "Buffer"
SrcPort 1
DstBlock "Frame Status\nConversion"
DstPort 1
}
Line {
SrcBlock "Random-Integer\nGenerator"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Buffer"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "Goto4"
DstPort 1
}
}
Annotation {
Name "用户信号产生[0 1] 随机整数,对输入序列"
"缓冲,\n然后对信号的桢状态基于采样,将2-D矩阵转化为1-D向量输出"
Position [243, 210]
FontName "宋体"
FontSize 14
}
}
}
Block {
BlockType Goto
Name "Goto1"
Position [240, 197, 285, 213]
ShowName off
GotoTag "SC"
TagVisibility "global"
}
Block {
BlockType Lookup
Name "Look-Up\nTable1"
Position [120, 146, 145, 174]
ShowName off
InputValues "[0 1]"
OutputValues "[1 -1]"
}
Block {
BlockType Lookup
Name "Look-Up\nTable2"
Position [120, 226, 145, 254]
ShowName off
InputValues "[0 1]"
OutputValues "[1 -1]"
}
Block {
BlockType Reference
Name "PN Sequence\nGenerator"
Ports [0, 1]
Position [15, 218, 95, 262]
SourceBlock "commseqgen2/PN Sequence\nGenerator"
SourceType "PN Sequence Generator"
poly "[0 -6 -7 -9 -10]"
ini_sta "[1 0 0 0 0 0 0 0 0 0]"
shift "0"
Ts "Tc"
frameBased off
sampPerFrame "1"
reset off
}
Block {
BlockType Reference
Name "PN Sequence\nGenerator1"
Ports [0, 1]
Position [15, 138, 95, 182]
SourceBlock "commseqgen2/PN Sequence\nGenerator"
SourceType "PN Sequence Generator"
poly "[0 -7 -10]"
ini_sta "[1 0 0 0 0 0 0 0 0 0]"
shift "0"
Ts "Tc"
frameBased off
sampPerFrame "1"
reset off
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex1"
Ports [2, 1]
Position [170, 188, 200, 217]
ShowName off
Input "Real and imag"
}
Block {
BlockType SubSystem
Name "Spreading,\nscrambling,\nmodulation and\npu"
"lse shaping"
Ports [2, 1]
Position [245, 36, 325, 89]
TreatAsAtomicUnit off
System {
Name "Spreading,\nscrambling,\nmodulation and\n"
"pulse shaping"
Location [20, 187, 573, 396]
Open off
ModelBrowserVisibility on
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Data"
Position [15, 73, 45, 87]
}
Block {
BlockType Inport
Name "SC"
Position [15, 118, 45, 132]
Port "2"
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [305, 73, 335, 97]
ShowName off
}
Block {
BlockType Reference
Name "QPSK\nModulator\nBaseband"
Ports [1, 1]
Position [150, 56, 225, 104]
NamePlacement "alternate"
SourceBlock "commdigbbndpm2/QPSK\nModulator\nBaseban"
"d"
SourceType "QPSK Modulator Baseband"
InType "Bit"
Enc "Gray"
Ph "qpsk_phase_offset"
numSamp "1"
}
Block {
BlockType Outport
Name "Out1"
Position [360, 78, 390, 92]
}
Line {
SrcBlock "QPSK\nModulator\nBaseband"
SrcPort 1
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "Data"
SrcPort 1
DstBlock "QPSK\nModulator\nBaseband"
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "SC"
SrcPort 1
Points [210, 0; 0, -35]
DstBlock "Product2"
DstPort 2
}
Annotation {
Name "Complex\nSpreading"
Position [318, 118]
}
Annotation {
Name "对用户信号进行QPSK扩频调制以及脉冲成型"
Position [203, 191]
FontName "Arial"
FontSize 14
}
}
}
Block {
BlockType Outport
Name "TxSig"
Position [355, 58, 385, 72]
}
Line {
SrcBlock "Data generator"
SrcPort 1
DstBlock "Spreading,\nscrambling,\nmodulation and\npu"
"lse shaping"
DstPort 1
}
Line {
SrcBlock "Spreading,\nscrambling,\nmodulation and\npu"
"lse shaping"
SrcPort 1
DstBlock "TxSig"
DstPort 1
}
Line {
SrcBlock "PN Sequence\nGenerator1"
SrcPort 1
DstBlock "Look-Up\nTable1"
DstPort 1
}
Line {
SrcBlock "PN Sequence\nGenerator"
SrcPort 1
DstBlock "Look-Up\nTable2"
DstPort 1
}
Line {
SrcBlock "Real-Imag to\nComplex1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Goto1"
DstPort 1
}
Branch {
Points [0, -130]
DstBlock "Spreading,\nscrambling,\nmodulation and\n"
"pulse shaping"
DstPort 2
}
}
Line {
SrcBlock "Look-Up\nTable2"
SrcPort 1
Points [0, -30]
DstBlock "Real-Imag to\nComplex1"
DstPort 2
}
Line {
SrcBlock "Look-Up\nTable1"
SrcPort 1
Points [0, 35]
DstBlock "Real-Imag to\nComplex1"
DstPort 1
}
Annotation {
Name "PN序列是用来完成脉冲成型的,I路和Q路输出信"
"道中的基带数字脉冲形状有FIR滤波器决定"
Position [292, 322]
FontName "宋体"
FontSize 14
}
Annotation {
Name "goto"
Position [262, 229]
}
}
}
Line {
SrcBlock "Equivalent\nRake meMRC1"
SrcPort 1
DstBlock "Demodulator"
DstPort 1
}
Line {
SrcBlock "Demodulator"
SrcPort 1
DstBlock "Error Rate Calculation"
DstPort 2
}
Line {
SrcBlock "From17"
SrcPort 1
DstBlock "Math\nFunction16"
DstPort 1
}
Line {
SrcBlock "From6"
SrcPort 1
DstBlock "Error Rate Calculation"
DstPort 1
}
Line {
SrcBlock "Integer Delay"
SrcPort 1
DstBlock "Equivalent\nRake meMRC1"
DstPort 4
}
Line {
SrcBlock "Math\nFunction16"
SrcPort 1
DstBlock "Equivalent\nRake meMRC1"
DstPort 2
}
Line {
SrcBlock "Multipath Channel"
SrcPort 2
Points [5, 0]
DstBlock "SMF"
DstPort 1
}
Line {
SrcBlock "SMF"
SrcPort 1
DstBlock "Integer Delay"
DstPort 1
}
Line {
SrcBlock "Multipath Channel"
SrcPort 1
Points [5, 0; 0, -45]
DstBlock "Equivalent\nRake meMRC1"
DstPort 1
}
Line {
SrcBlock "AWGN generation"
SrcPort 1
DstBlock "Equivalent\nRake meMRC1"
DstPort 3
}
Line {
SrcBlock "Error Rate Calculation"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "Display6"
DstPort 1
}
Branch {
Points [0, 90]
Branch {
DstBlock "Stop Control"
DstPort 1
}
Branch {
Points [0, 80]
DstBlock "Selector"
DstPort 1
}
}
}
Line {
SrcBlock "Transmitter"
SrcPort 1
DstBlock "Multipath Channel"
DstPort 1
}
Line {
SrcBlock "Selector"
SrcPort 1
DstBlock "To Workspace"
DstPort 1
}
Annotation {
Name "Base MRC Rake receiver"
Position [452, 451]
FontName "Arial"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -