📄 noncoherent2fsk.mdl
字号:
Points [0, 55]
DstBlock "Relay1"
DstPort 1
}
}
Branch {
Points [0, 175; 330, 0]
DstBlock "Out2"
DstPort 1
}
}
Line {
SrcBlock "Sine Wave3"
SrcPort 1
Points [10, 0; 0, 50]
DstBlock "Product5"
DstPort 1
}
Line {
SrcBlock "Relay"
SrcPort 1
Points [10, 0; 0, -5]
DstBlock "Product5"
DstPort 2
}
Line {
SrcBlock "Relay1"
SrcPort 1
Points [10, 0; 0, -5]
DstBlock "Product6"
DstPort 1
}
Line {
SrcBlock "Sine Wave2"
SrcPort 1
Points [10, 0; 0, -55]
DstBlock "Product6"
DstPort 2
}
Line {
SrcBlock "Product5"
SrcPort 1
Points [50, 0]
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Product6"
SrcPort 1
Points [50, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [360, 61, 405, 94]
InputSameDT off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [360, 191, 405, 224]
ShowAdditionalParam on
OutDataTypeMode "double"
RndMeth "Nearest"
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [365, 261, 410, 294]
InputSameDT off
}
Block {
BlockType Product
Name "Product5"
Ports [2, 1]
Position [350, 401, 395, 434]
ShowAdditionalParam on
OutDataTypeMode "double"
RndMeth "Nearest"
}
Block {
BlockType Relay
Name "Relay"
Position [760, 285, 790, 315]
OnSwitchValue "0.1"
}
Block {
BlockType Scope
Name "Scope"
Ports [4]
Position [830, 233, 860, 267]
Location [109, 110, 946, 702]
Open off
NumInputPorts "4"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "origin data signal"
axes2 "input 2FSK + AWGN"
axes3 "demodulator output"
axes4 "recovery data"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
axes4 ""
}
TimeRange "0.9"
YMin "-0.1~-4~-0.5~-0.1"
YMax "1.5~4~0.5~1.5"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Reference
Name "Sine Wave1"
Ports [0, 1]
Position [400, 130, 440, 170]
Orientation "left"
NamePlacement "alternate"
SourceBlock "dspsrcs4/Sine Wave"
SourceType "Sine Wave"
Amplitude "1"
Frequency "1850"
Phase "0"
SampleMode "Discrete"
OutComplex "Complex"
CompMethod "Trigonometric fcn"
TableSize "Speed"
SampleTime "0.00001"
SamplesPerFrame "1"
additionalParams off
dataType "double"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "User-defined"
numFracBits "14"
ResetState "Restart at time zero"
}
Block {
BlockType Reference
Name "Sine Wave2"
Ports [0, 1]
Position [405, 330, 445, 370]
Orientation "left"
NamePlacement "alternate"
SourceBlock "dspsrcs4/Sine Wave"
SourceType "Sine Wave"
Amplitude "1"
Frequency "1000"
Phase "0"
SampleMode "Discrete"
OutComplex "Complex"
CompMethod "Trigonometric fcn"
TableSize "Speed"
SampleTime "0.00001"
SamplesPerFrame "1"
additionalParams off
dataType "double"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "User-defined"
numFracBits "14"
ResetState "Restart at time zero"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [695, 245, 715, 265]
ShowName off
IconShape "round"
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [145, 205, 165, 225]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [630, 145, 650, 165]
ShowName off
IconShape "round"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [640, 350, 660, 370]
ShowName off
IconShape "round"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Line {
SrcBlock "Sine Wave1"
SrcPort 1
DstBlock "Complex to\nReal-Imag2"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock " \n"
DstPort 1
}
Line {
Labels [0, 0]
SrcBlock "Generator 2FSK"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock " \n"
SrcPort 1
DstBlock " "
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Analog\nFilter Design"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag2"
SrcPort 1
Points [-15, 0; 0, -55]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Complex to\nReal-Imag2"
SrcPort 2
Points [-15, 0; 0, 45]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock " 1"
SrcPort 1
Points [40, 0]
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Sine Wave2"
SrcPort 1
DstBlock "Complex to\nReal-Imag1"
DstPort 1
}
Line {
SrcBlock "Product5"
SrcPort 1
DstBlock "Analog\nFilter Design3"
DstPort 1
}
Line {
SrcBlock "Analog\nFilter Design3"
SrcPort 1
DstBlock "\n "
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
DstBlock "Analog\nFilter Design2"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag1"
SrcPort 1
Points [-15, 0; 0, -55]
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "Complex to\nReal-Imag1"
SrcPort 2
Points [-15, 0; 0, 55]
DstBlock "Product5"
DstPort 1
}
Line {
SrcBlock " \n\n"
SrcPort 1
Points [50, 0]
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "\n "
SrcPort 1
Points [50, 0]
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock " "
SrcPort 1
Points [40, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [50, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum3"
SrcPort 1
Points [40, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Analog\nFilter Design"
SrcPort 1
DstBlock " 1"
DstPort 1
}
Line {
SrcBlock "Generator 2FSK"
SrcPort 2
Points [10, 0; 0, -225; 720, 0; 0, 215]
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 45]
DstBlock "Relay"
DstPort 1
}
Branch {
DstBlock "Scope"
DstPort 3
}
}
Line {
SrcBlock "Analog\nFilter Design2"
SrcPort 1
DstBlock " \n\n"
DstPort 1
}
Line {
SrcBlock "Relay"
SrcPort 1
Points [15, 0; 0, -35]
DstBlock "Scope"
DstPort 4
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Analog\nFilter Design4"
DstPort 1
}
Branch {
Points [0, -190; 635, 0; 0, 220]
DstBlock "Scope"
DstPort 2
}
}
Line {
SrcBlock "Gaussian Noise\nGenerator"
SrcPort 1
Points [50, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Analog\nFilter Design4"
SrcPort 1
Points [10, 0]
Branch {
Points [0, 125; 30, 0]
Branch {
Points [0, -70]
DstBlock "Product2"
DstPort 1
}
Branch {
Points [0, 85]
DstBlock "Product5"
DstPort 2
}
}
Branch {
Points [0, -85; 30, 0]
Branch {
Points [0, 85]
DstBlock "Product1"
DstPort 2
}
Branch {
Points [0, -60]
DstBlock "Product"
DstPort 1
}
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -