📄 xinbiyesheji3.mdl
字号:
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [350, 40, 395, 80]
}
Block {
BlockType Reference
Name "Rayleigh Noise\nGenerator"
Ports [0, 1]
Position [25, 148, 105, 192]
FontName "Arial"
SourceBlock "commnoisgen2/Rayleigh Noise\nGenerator"
SourceType "Rayleigh Noise Generator"
alpha "(4-pi)/4"
seed "47"
Ts "Tb/16*8"
frameBased off
sampPerFrame "1"
orient off
}
Block {
BlockType Sum
Name "Sum"
Ports [1, 1]
Position [455, 42, 485, 78]
ShowName off
Inputs "+"
}
Block {
BlockType Outport
Name "Out1"
Position [505, 53, 535, 67]
}
Block {
BlockType Outport
Name "CIR"
Position [480, 163, 510, 177]
Port "2"
}
Line {
SrcBlock "Rayleigh Noise\nGenerator"
SrcPort 1
Points [205, 0]
Branch {
DstBlock "CIR"
DstPort 1
}
Branch {
Points [0, -100]
DstBlock "Product1"
DstPort 2
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Integer Delay1"
DstPort 1
}
Line {
SrcBlock "DSP\nConstant"
SrcPort 1
Points [10, 0; 0, -25]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Integer Delay1"
SrcPort 1
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Annotation {
Name "多径衰落信道,信道模型是抽头延迟线模型。"
Position [250, 228]
FontName "宋体"
FontSize 14
}
}
}
Block {
BlockType SubSystem
Name "SMF"
Ports [1, 1]
Position [195, 366, 280, 404]
TreatAsAtomicUnit off
MaskType "Symbol-matched filter for DS-SS"
MaskPromptString "Symbol time :|Chip time :"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskToolTipString "on,on"
MaskVarAliasString ","
MaskVariables "Tb=@1;Tc=@2;"
MaskDisplay "disp('Symbol-Matched\\nFilter')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "Tb|Tc"
System {
Name "SMF"
Location [63, 705, 550, 882]
Open off
ModelBrowserVisibility on
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "*In"
Position [15, 88, 45, 102]
}
Block {
BlockType ComplexToRealImag
Name "Complex to\nReal-Imag"
Ports [1, 2]
Position [125, 78, 155, 107]
ShowName off
Output "Real and imag"
}
Block {
BlockType Gain
Name "Gain"
Position [70, 80, 100, 110]
ShowName off
Gain "1/Tb"
}
Block {
BlockType Reference
Name "Integrate and Dump"
Ports [1, 1]
Position [180, 48, 260, 92]
ShowName off
SourceBlock "comminteg2/Integrate and Dump"
SourceType "Integrate and Dump"
limit "inf"
td "Tb"
ts "Tc"
}
Block {
BlockType Reference
Name "Integrate and Dump1"
Ports [1, 1]
Position [180, 98, 260, 142]
ShowName off
SourceBlock "comminteg2/Integrate and Dump"
SourceType "Integrate and Dump"
limit "inf"
td "Tb"
ts "Tc"
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex"
Ports [2, 1]
Position [350, 78, 380, 107]
ShowName off
Input "Real and imag"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold"
Position [290, 55, 320, 85]
ShowName off
SampleTime "Tb"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold1"
Position [290, 105, 320, 135]
ShowName off
SampleTime "Tb"
}
Block {
BlockType Outport
Name "*Out"
Position [415, 88, 445, 102]
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 2
Points [5, 0]
DstBlock "Integrate and Dump1"
DstPort 1
}
Line {
SrcBlock "Real-Imag to\nComplex"
SrcPort 1
DstBlock "*Out"
DstPort 1
}
Line {
SrcBlock "Zero-Order\nHold1"
SrcPort 1
Points [10, 0]
DstBlock "Real-Imag to\nComplex"
DstPort 2
}
Line {
SrcBlock "Zero-Order\nHold"
SrcPort 1
Points [10, 0]
DstBlock "Real-Imag to\nComplex"
DstPort 1
}
Line {
SrcBlock "Integrate and Dump1"
SrcPort 1
DstBlock "Zero-Order\nHold1"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 1
Points [5, 0]
DstBlock "Integrate and Dump"
DstPort 1
}
Line {
SrcBlock "Integrate and Dump"
SrcPort 1
DstBlock "Zero-Order\nHold"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Complex to\nReal-Imag"
DstPort 1
}
Line {
SrcBlock "*In"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Annotation {
Name "匹配滤波器设计"
Position [221, 216]
FontName "Arial"
FontSize 14
}
}
}
Block {
BlockType Selector
Name "Selector"
Ports [1, 1]
Position [750, 411, 790, 449]
Elements "[1]"
InputPortWidth "3"
}
Block {
BlockType SubSystem
Name "Stop Control"
Ports [1]
Position [755, 316, 865, 384]
NamePlacement "alternate"
TreatAsAtomicUnit off
MaskType "Stop Control for BER Simulations"
MaskPromptString "Maximum number of samples :|Minimum number of e"
"rrors :|Minimum number of samples :|Sample time (Tsam) :"
MaskStyleString "edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on"
MaskCallbackString "|||"
MaskEnableString "on,on,on,on"
MaskVisibilityString "on,on,on,on"
MaskToolTipString "on,on,on,on"
MaskVarAliasString ",,,"
MaskVariables "MaxSamples=@1;MinErrors=@2;MinSamples=@3;Tsam=@"
"4;"
MaskDisplay "disp(['Simulation Stop\\nControl']);"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "1e7|200|5e5|Tb/2"
System {
Name "Stop Control"
Location [2, 70, 798, 550]
Open off
ModelBrowserVisibility on
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [30, 43, 60, 57]
}
Block {
BlockType Constant
Name "Constant"
Position [25, 83, 100, 107]
ShowName off
Value "MinSamples"
}
Block {
BlockType Constant
Name "Constant1"
Position [25, 113, 100, 137]
ShowName off
Value "MinErrors"
}
Block {
BlockType Constant
Name "Constant2"
Position [25, 143, 100, 167]
ShowName off
Value "MaxSamples"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [85, 31, 90, 69]
BackgroundColor "black"
ShowName off
Outputs "3"
}
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [2, 1]
Position [440, 127, 470, 158]
ShowName off
Operator "OR"
}
Block {
BlockType Logic
Name "Logical\nOperator1"
Ports [2, 1]
Position [305, 82, 335, 113]
ShowName off
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator"
Position [380, 132, 410, 163]
ShowName off
Operator ">"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator1"
Position [200, 102, 230, 133]
ShowName off
Operator ">"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator2"
Position [250, 72, 280, 103]
ShowName off
Operator ">"
}
Block {
BlockType Stop
Name "Stop Simulation"
Position [495, 127, 530, 163]
}
Block {
BlockType Terminator
Name "Terminator"
Position [200, 30, 220, 50]
NamePlacement "alternate"
ShowName off
}
Block {
BlockType ZeroOrderHold
Name "upsampling4"
Position [120, 144, 145, 166]
NamePlacement "alternate"
ShowName off
SampleTime "Tsam"
}
Block {
BlockType ZeroOrderHold
Name "upsampling5"
Position [120, 114, 145, 136]
NamePlacement "alternate"
ShowName off
SampleTime "Tsam"
}
Block {
BlockType ZeroOrderHold
Name "upsampling6"
Position [120, 84, 145, 106]
NamePlacement "alternate"
ShowName off
SampleTime "Tsam"
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Relational\nOperator"
SrcPort 1
DstBlock "Logical\nOperator"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [85, 0; 0, 60]
DstBlock "Relational\nOperator1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [130, 0]
Branch {
Points [135, 0; 0, 80]
DstBlock "Relational\nOperator"
DstPort 1
}
Branch {
Points [0, 20]
DstBlock "Relational\nOperator2"
DstPort 1
}
}
Line {
SrcBlock "Relational\nOperator2"
SrcPort 1
DstBlock "Logical\nOperator1"
DstPort 1
}
Line {
SrcBlock "Relational\nOperator1"
SrcPort 1
Points [55, 0]
DstBlock "Logical\nOperator1"
DstPort 2
}
Line {
SrcBlock "Logical\nOperator"
SrcPort 1
DstBlock "Stop Simulation"
DstPort 1
}
Line {
SrcBlock "Logical\nOperator1"
SrcPort 1
Points [80, 0; 0, 35]
DstBlock "Logical\nOperator"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Terminator"
DstPort 1
}
Line {
SrcBlock "Constant2"
SrcPort 1
DstBlock "upsampling4"
DstPort 1
}
Line {
SrcBlock "upsampling4"
SrcPort 1
DstBlock "Relational\nOperator"
DstPort 2
}
Line {
SrcBlock "Constant1"
SrcPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -