📄 xinbiyesheji3.mdl
字号:
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 1
Points [5, 0]
DstBlock "Integrate and Dump"
DstPort 1
}
Line {
SrcBlock "Integrate and Dump1"
SrcPort 1
DstBlock "Zero-Order\nHold1"
DstPort 1
}
Line {
SrcBlock "Zero-Order\nHold"
SrcPort 1
Points [10, 0]
DstBlock "Real-Imag to\nComplex"
DstPort 1
}
Line {
SrcBlock "Zero-Order\nHold1"
SrcPort 1
Points [10, 0]
DstBlock "Real-Imag to\nComplex"
DstPort 2
}
Line {
SrcBlock "Real-Imag to\nComplex"
SrcPort 1
DstBlock "Out"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 2
Points [5, 0]
DstBlock "Integrate and Dump1"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "Out"
Position [400, 88, 430, 102]
}
Line {
SrcBlock "Integer Delay"
SrcPort 1
DstBlock "SMF"
DstPort 1
}
Line {
SrcBlock "SMF"
SrcPort 1
DstBlock "Out"
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
DstBlock "Integer Delay"
DstPort 1
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "SC"
SrcPort 1
DstBlock "Product2"
DstPort 2
}
Annotation {
Name "MFEP输出经过一个有Nr=TD/Tc个抽头的"
"抽头\n延迟线滤波器,就构成了一个相关器.\n其中TD是相对于第一个到达路径的最大超"
"量延迟,\nTc是码片宽度。抽头的输出提供了Nr个分集路径。\n"
Position [264, 220]
FontName "宋体"
FontSize 14
}
Annotation {
Name "take a delay "
Position [224, 131]
}
}
}
Block {
BlockType SubSystem
Name "MFEP "
Ports [1, 1]
Position [105, 62, 160, 98]
TreatAsAtomicUnit off
System {
Name "MFEP "
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 "In1"
Position [35, 33, 65, 47]
}
Block {
BlockType Reference
Name "DSP\nConstant"
Ports [0, 1]
Position [25, 100, 105, 130]
SourceBlock "dspsrcs4/DSP\nConstant"
SourceType "DSP Constant"
Value "ones(M,1)"
SampleMode "Discrete"
discreteOutput "Sample-based (interpret vectors as "
"1-D)"
continuousOutput "Sample-based"
sampTime "Tc"
framePeriod "2"
additionalParams off
dataType "Inherit from 'Constant value'"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "15"
InterpretAs1D "-inf"
Ts "-inf"
FramebasedOutput "-inf"
}
Block {
BlockType Reference
Name "Integer Delay"
Ports [1, 1]
Position [280, 26, 360, 74]
SourceBlock "dspsigops/Integer Delay"
SourceType "Integer Delay"
delay "Delay"
ic "0"
reset_popup "None"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [145, 31, 190, 64]
InputSameDT off
}
Block {
BlockType Outport
Name "Out1"
Position [415, 43, 445, 57]
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "DSP\nConstant"
SrcPort 1
Points [10, 0; 0, -60]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Integer Delay"
DstPort 1
}
Line {
SrcBlock "Integer Delay"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Annotation {
Name "克服信道引入的多径延迟,\n扩频序列"
"的复制信号先经过延迟线,然后再与接受信号相乘。\n构成一个匹配前端处理器MFEP,分"
"辨出延迟大于码片宽度的多径分量,\n并且和接受信号的初始路径达到同步. "
Position [282, 222]
FontName "宋体"
FontSize 14
}
}
}
Block {
BlockType Math
Name "Math\nFunction16"
Ports [1, 1]
Position [375, 88, 405, 122]
ShowName off
Operator "conj"
}
Block {
BlockType Product
Name "Produt16"
Ports [2, 1]
Position [435, 69, 475, 116]
ShowName off
}
Block {
BlockType Sum
Name "Sum8"
Ports [2, 1]
Position [320, 54, 350, 101]
ShowName off
}
Block {
BlockType Sum
Name "Sum9"
Ports [1, 1]
Position [500, 74, 530, 116]
ShowName off
Inputs "+"
}
Block {
BlockType Outport
Name "Out"
Position [555, 88, 585, 102]
InitialOutput "0"
}
Line {
SrcBlock "RxSig"
SrcPort 1
DstBlock "Fingers"
DstPort 1
}
Line {
SrcBlock "Sum9"
SrcPort 1
DstBlock "Out"
DstPort 1
}
Line {
SrcBlock "Weight"
SrcPort 1
Points [300, 0]
DstBlock "Math\nFunction16"
DstPort 1
}
Line {
SrcBlock "SC"
SrcPort 1
DstBlock "MFEP "
DstPort 1
}
Line {
SrcBlock "Produt16"
SrcPort 1
DstBlock "Sum9"
DstPort 1
}
Line {
SrcBlock "MFEP "
SrcPort 1
DstBlock "Fingers"
DstPort 2
}
Line {
SrcBlock "Fingers"
SrcPort 1
DstBlock "Sum8"
DstPort 1
}
Line {
SrcBlock "noise"
SrcPort 1
Points [245, 0]
DstBlock "Sum8"
DstPort 2
}
Line {
SrcBlock "Sum8"
SrcPort 1
DstBlock "Produt16"
DstPort 1
}
Line {
SrcBlock "Math\nFunction16"
SrcPort 1
DstBlock "Produt16"
DstPort 2
}
Annotation {
Name "Product"
Position [453, 103]
}
Annotation {
Position [183, 285]
}
Annotation {
Name "信号在经过相关器之后再叠加上高斯噪声,"
"\n以实现噪声对RAKE接收机性能的影响。"
Position [304, 224]
FontName "宋体"
FontSize 15
}
Annotation {
Name "用户数据经过4个相关器后,再RAKE合并,输"
"出。"
Position [310, 279]
FontName "宋体"
FontSize 15
}
}
}
Block {
BlockType Outport
Name "Out"
Position [545, 178, 575, 192]
InitialOutput "0"
}
Line {
SrcBlock "RxSig"
SrcPort 1
DstBlock "Rake receiver"
DstPort 1
}
Line {
SrcBlock "SC"
SrcPort 1
DstBlock "Rake receiver"
DstPort 2
}
Line {
SrcBlock "Rake receiver"
SrcPort 1
DstBlock "Out"
DstPort 1
}
Line {
SrcBlock "noise"
SrcPort 1
DstBlock "Rake receiver"
DstPort 3
}
Line {
SrcBlock "Weight"
SrcPort 1
DstBlock "Rake receiver"
DstPort 4
}
Annotation {
Name "RAKE合并:基于最大比值合并MRC"
Position [312, 346]
FontName "Arial"
FontSize 12
}
}
}
Block {
BlockType Reference
Name "Error Rate Calculation"
Ports [2, 1]
Position [620, 194, 690, 321]
ShowName off
SourceBlock "commsink2/Error Rate\nCalculation"
SourceType "Error Rate Calculation"
N "2*Drake+2"
st_delay "2*Drake+2"
cp_mode "Entire frame"
subframe "[]"
PMode "Port"
WsName "ErrorVec"
RsMode2 off
stop off
numErr "100"
maxBits "1e6"
}
Block {
BlockType From
Name "From17"
Position [195, 242, 245, 268]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "SC"
}
Block {
BlockType From
Name "From6"
Position [530, 213, 580, 237]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "TxData"
}
Block {
BlockType Reference
Name "Integer Delay"
Ports [1, 1]
Position [295, 368, 355, 402]
ShowName off
SourceBlock "dspbdsp2/Integer Delay"
SourceType "Integer Delay"
delay "Drake"
ic "0"
frame off
df on
numChans "1"
}
Block {
BlockType Math
Name "Math\nFunction16"
Ports [1, 1]
Position [285, 239, 325, 271]
ShowName off
Operator "conj"
}
Block {
BlockType SubSystem
Name "Multipath Channel"
Ports [1, 2]
Position [85, 188, 170, 377]
FontName "Arial"
FontSize 12
TreatAsAtomicUnit off
MaskType "Multipath Channel (Jakes model)"
MaskPromptString "Profile|Delay :|Number of generator :|Seed :|Do"
"ppler frequency (Hz) :|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 "P=@1;D=@2;No=@3;seed=@4;fd=@5;Ts=@6;"
MaskDisplay "disp('多径\\n慢衰落\\n信道')"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "PathProfile|PathDelay|length(PathProfile)|1:len"
"gth(PathProfile)|fd|Tc"
System {
Name "Multipath Channel"
Location [214, 74, 798, 554]
Open on
ModelBrowserVisibility on
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 28, 55, 42]
}
Block {
BlockType Reference
Name "DSP\nConstant"
Ports [0, 1]
Position [20, 63, 105, 107]
SourceBlock "dspsrcs4/DSP\nConstant"
SourceType "DSP Constant"
Value "ones(length(D),1)"
SampleMode "Discrete"
discreteOutput "Sample-based"
continuousOutput "Sample-based"
sampTime "Ts"
framePeriod "Ts"
additionalParams off
dataType "Inherit from 'Constant value'"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "15"
InterpretAs1D "off"
Ts "Ts"
FramebasedOutput "off"
}
Block {
BlockType Reference
Name "Integer Delay1"
Ports [1, 1]
Position [230, 28, 305, 72]
SourceBlock "dspsigops/Integer Delay"
SourceType "Integer Delay"
delay "D"
ic "0"
reset_popup "None"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [155, 24, 210, 71]
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -