📄 xinbiyesheji3.mdl
字号:
}
Line {
SrcBlock "AWGN\nChannel"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Annotation {
Name "信道噪声为加性高斯白噪声"
Position [224, 175]
FontName "宋体"
FontSize 14
}
}
}
Block {
BlockType SubSystem
Name "Demodulator"
Ports [1, 1]
Position [535, 245, 595, 335]
FontName "Arial"
FontSize 12
TreatAsAtomicUnit off
MaskDisplay "disp('解\\n扩')"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Demodulator"
Location [214, 74, 790, 576]
Open off
ModelBrowserVisibility on
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 43, 55, 57]
}
Block {
BlockType Reference
Name "Frame Status\nConversion"
Ports [1, 1]
Position [230, 32, 280, 68]
SourceBlock "dspsigattribs/Frame Status\nConversion"
SourceType "Frame Status Conversion"
growRefPort off
outframe "Frame-based"
}
Block {
BlockType Reference
Name "QPSK\nDemodulator\nBaseband"
Ports [1, 1]
Position [95, 25, 170, 75]
SourceBlock "commdigbbndpm2/QPSK\nDemodulator\nBaseband"
SourceType "QPSK Demodulator Baseband"
OutType "Bit"
Dec "Gray"
Ph "qpsk_phase_offset"
numSamp "1"
}
Block {
BlockType Reference
Name "Unbuffer"
Ports [1, 1]
Position [355, 26, 405, 74]
SourceBlock "dspbuff3/Unbuffer"
SourceType "Unbuffer"
ic "0"
}
Block {
BlockType Outport
Name "Out1"
Position [470, 43, 500, 57]
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "QPSK\nDemodulator\nBaseband"
DstPort 1
}
Line {
SrcBlock "QPSK\nDemodulator\nBaseband"
SrcPort 1
DstBlock "Frame Status\nConversion"
DstPort 1
}
Line {
SrcBlock "Frame Status\nConversion"
SrcPort 1
DstBlock "Unbuffer"
DstPort 1
}
Line {
SrcBlock "Unbuffer"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Annotation {
Name "QPSK扩频解调模块"
Position [235, 165]
FontName "宋体"
FontSize 14
}
}
}
Block {
BlockType Display
Name "Display6"
Ports [1]
Position [755, 225, 850, 295]
ShowName off
Decimation "1"
}
Block {
BlockType SubSystem
Name "DocBlock"
Ports []
Position [47, 525, 116, 588]
ForegroundColor "blue"
BackgroundColor "green"
NamePlacement "alternate"
ShowName off
List {
ListType RTWdata
document_text01 " 首先在发射端产生一组数据,经过编码和扩"
"频调制后形成一组发送信号,将这组信号通过一瑞利+高斯白噪声信道。
\n 在接收端"
"使用所设计的RAKE接收机接收,通过计算接收数据的误码率来估计RAKE接收机的性能。
"
"\n RAKE接收机设计的主要参数为:
\n 符号宽度为:Tb=0.0001,处理增益为:PG="
"16,码片的宽度为:Tc=Tb/PG,
\n 多普勒频移为:fd=50,接收信噪比为db=10,调"
"制方式为:pi/4-QPSK,处理延时为:Drake=2,
\n 叉指数为:M=4,路径为:0 1 2 "
"3, 路径延时分别为: 0.25, 0.25, 0.25, 0.25。
\n"
}
CopyFcn "docblock('breaklink',gcb);"
DeleteFcn "docblock('close_document',gcb);"
PreSaveFcn "docblock('save_document',gcb);"
OpenFcn "docblock('edit_document',gcb);"
FontName "Arial"
FontSize 11
TreatAsAtomicUnit off
MaskType "DocBlock"
MaskDescription "Use this block to save long descriptive text wi"
"th the model. Double-clicking the block will open an editor."
MaskPromptString "E Coder Flag|Document Type"
MaskStyleString "edit,popup(Text|RTF|HTML)"
MaskTunableValueString "off,off"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,off"
MaskToolTipString "on,on"
MaskVarAliasString ","
MaskVariables "ECoderFlag=&1;DocumentType=&2;"
MaskDisplay "plot([.8 0 0 1 1 .8 .8 1],[1 1 0 0 .8 1 .8 .8])"
";\ntext(.5,.5,'DOC','horizontalalignment','center');\n"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "sd|Text"
System {
Name "DocBlock"
Location [480, 85, 980, 386]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType SubSystem
Name "EmptySubsystem"
Ports []
Position [115, 50, 145, 80]
TreatAsAtomicUnit off
System {
Name "EmptySubsystem"
Location [146, 180, 902, 673]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
}
}
}
}
Block {
BlockType SubSystem
Name "Equivalent\nRake meMRC1"
Ports [4, 1]
Position [375, 154, 515, 421]
ShowName off
FontName "Arial"
FontSize 12
TreatAsAtomicUnit off
MaskType "Rake receiver (chip-spaced sampling)"
MaskDescription "This Rake receiver is used for simulation with "
"one sample per chip. \nThe delay of the Rake receiver is equal to two symbol "
"durations, \none for timing adjustment and the other due to symbol match filt"
"ering."
MaskPromptString "Number of fingers :|Total delay (#Tc) :|Path de"
"lay (#Tc) :|Processing gain :|Symbol time :|Chip time (sample time) :"
MaskStyleString "edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on"
MaskCallbackString "|||||"
MaskEnableString "on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on"
MaskVarAliasString ",,,,,"
MaskVariables "M=@1;TD=@2;D=@3;PG=@4;Tb=@5;Tc=@6;"
MaskInitialization "TD=TD-PG; M; D = D(1:M);"
MaskDisplay "disp('Rake\\nReceiver\\n基于\\n最大比值\\n合并'"
")"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "M|(Drake)*PG|PathDelay|PG|Tb|Tc"
System {
Name "Equivalent\nRake meMRC1"
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 Inport
Name "RxSig"
Position [15, 119, 45, 131]
}
Block {
BlockType Inport
Name "SC"
Position [15, 158, 45, 172]
Port "2"
}
Block {
BlockType Inport
Name "noise"
Position [15, 198, 45, 212]
Port "3"
}
Block {
BlockType Inport
Name "Weight"
Position [15, 238, 45, 252]
Port "4"
}
Block {
BlockType SubSystem
Name "Rake receiver"
Ports [4, 1]
Position [270, 100, 375, 270]
TreatAsAtomicUnit off
System {
Name "Rake receiver"
Location [214, 74, 798, 538]
Open off
ModelBrowserVisibility on
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "98"
Block {
BlockType Inport
Name "RxSig"
Position [25, 39, 55, 51]
}
Block {
BlockType Inport
Name "SC"
Position [25, 73, 55, 87]
Port "2"
}
Block {
BlockType Inport
Name "noise"
Position [25, 118, 55, 132]
Port "3"
}
Block {
BlockType Inport
Name "Weight"
Position [25, 148, 55, 162]
Port "4"
}
Block {
BlockType SubSystem
Name "Fingers"
Ports [2, 1]
Position [200, 25, 285, 100]
TreatAsAtomicUnit off
MaskType "Finger for Rake receiver"
MaskPromptString "Total delay :|Path delay (#Tc) :|Proces"
"sing gain :|Symbol time :|Chip time :"
MaskStyleString "edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on"
MaskCallbackString "||||"
MaskEnableString "on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on"
MaskToolTipString "on,on,on,on,on"
MaskVarAliasString ",,,,"
MaskVariables "TD=@1;D=@2;PG=@3;Tb=@4;Tc=@5;"
MaskDisplay "disp('Finger')"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "TD|D|PG|Tb|Tc"
System {
Name "Fingers"
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 Inport
Name "In"
Position [20, 73, 50, 87]
NamePlacement "alternate"
}
Block {
BlockType Inport
Name "SC"
Position [20, 98, 50, 112]
Port "2"
}
Block {
BlockType Reference
Name "Integer Delay"
Ports [1, 1]
Position [185, 69, 265, 121]
ShowName off
SourceBlock "dspbdsp2/Integer Delay"
SourceType "Integer Delay"
delay "TD-D"
ic "0"
frame off
df on
numChans "1"
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [100, 67, 150, 118]
ShowName off
}
Block {
BlockType SubSystem
Name "SMF"
Ports [1, 1]
Position [285, 68, 375, 122]
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 [214, 74, 798, 554]
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 "In"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Complex to\nReal-Imag"
DstPort 1
}
Line {
SrcBlock "Integrate and Dump"
SrcPort 1
DstBlock "Zero-Order\nHold"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -