📄 fsk.mdl
字号:
Name "Sine Wave3"
Position [925, 105, 955, 135]
SineType "Time based"
Frequency "1000"
Phase "90"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave4"
Position [975, 330, 1005, 360]
SineType "Time based"
Frequency "10000"
Phase "90"
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [275, 250, 295, 270]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [720, 200, 740, 220]
ShowName off
Inputs "|++"
ShowAdditionalParam on
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [765, 200, 785, 220]
ShowName off
Inputs "|++"
ShowAdditionalParam on
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Terminator
Name "Terminator"
Position [250, 320, 270, 340]
}
Block {
BlockType Terminator
Name "Terminator1"
Position [250, 205, 270, 225]
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold"
Position [80, 241, 115, 279]
SampleTime "0.03"
}
Block {
BlockType Reference
Name "白噪声"
Ports [0, 1]
Position [710, 290, 740, 320]
SourceBlock "simulink/Sources/Band-Limited\nWhite Noise"
SourceType "Continuous White Noise."
Cov "[0.01]"
Ts "0.1"
seed "[23341]"
VectorParams1D on
}
Block {
BlockType Scope
Name "不同频率解调后的信号\n及调治信号、白噪声"
Ports [3]
Position [1000, 157, 1030, 193]
Location [5, 81, 1029, 762]
Open off
NumInputPorts "3"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
}
YMin "-5~-1~-5"
YMax "5~1.2~5"
SaveName "ScopeData5"
DataFormat "StructureWithTime"
MaxDataPoints "500000000000"
}
Block {
BlockType Reference
Name "差分编码"
Ports [1, 1]
Position [410, 238, 490, 282]
SourceBlock "commsrccod2/Differential Encoder"
SourceType "Differential Encoder"
td "0.5"
}
Block {
BlockType Scope
Name "差分编码信号"
Ports [1]
Position [525, 317, 555, 353]
Location [5, 60, 1021, 733]
Open off
NumInputPorts "1"
TickLabels "on"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "0.001666666666666705"
YMin "-0.5"
YMax "1.5"
DataFormat "StructureWithTime"
MaxDataPoints "5000000000000"
SampleInput on
}
Block {
BlockType RelationalOperator
Name "抽样判决"
Position [1270, 285, 1310, 325]
Operator "<="
ShowAdditionalParam on
LogicOutDataTypeMode "Boolean"
ZeroCross off
SampleTime "0.01"
}
Block {
BlockType Reference
Name "带通1"
Ports [1, 1]
Position [860, 297, 925, 353]
SourceBlock "dsparch4/Analog\nFilter Design"
SourceType "Analog Filter Design"
method "Bessel"
filttype "Bandpass"
N "8"
Wlo "9000"
Whi "11000"
Rp "2"
Rs "40"
}
Block {
BlockType Reference
Name "带通2"
Ports [1, 1]
Position [855, 52, 920, 108]
SourceBlock "dsparch4/Analog\nFilter Design"
SourceType "Analog Filter Design"
method "Butterworth"
filttype "Bandpass"
N "8"
Wlo "900"
Whi "1100"
Rp "2"
Rs "40"
}
Block {
BlockType Reference
Name "低通1"
Ports [1, 1]
Position [1105, 307, 1170, 363]
SourceBlock "dsparch4/Analog\nFilter Design"
SourceType "Analog Filter Design"
method "Butterworth"
filttype "Lowpass"
N "8"
Wlo "11000"
Whi "12"
Rp "2"
Rs "40"
}
Block {
BlockType Reference
Name "低通2"
Ports [1, 1]
Position [1100, 62, 1165, 118]
SourceBlock "dsparch4/Analog\nFilter Design"
SourceType "Analog Filter Design"
method "Butterworth"
filttype "Lowpass"
N "8"
Wlo "1100"
Whi "12"
Rp "2"
Rs "40"
}
Block {
BlockType Product
Name "调制频率1"
Ports [2, 1]
Position [645, 251, 690, 284]
InputSameDT off
}
Block {
BlockType Product
Name "调制频率2"
Ports [2, 1]
Position [645, 126, 690, 159]
InputSameDT off
}
Block {
BlockType Scope
Name "调制信号及调制后信号"
Ports [4]
Position [865, 168, 895, 202]
Location [5, 60, 1021, 733]
Open off
NumInputPorts "4"
TickLabels "on"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
axes4 ""
}
YMin "-1.5~-5~-10~-5"
YMax "1.5~5~10~5"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Product
Name "解调1"
Ports [2, 1]
Position [1035, 316, 1080, 349]
InputSameDT off
}
Block {
BlockType Product
Name "解调2"
Ports [2, 1]
Position [1030, 71, 1075, 104]
InputSameDT off
}
Block {
BlockType Scope
Name "解调数字信号\n及原信号"
Ports [2]
Position [1340, 297, 1370, 333]
Location [5, 60, 1021, 733]
Open on
NumInputPorts "2"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
}
YMin "-1~-1"
YMax "1.5~1.2"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Reference
Name "量化"
Ports [1, 3]
Position [145, 238, 225, 282]
SourceBlock "commsrccod2/Sampled\nQuantizer Encode"
SourceType "Sampled Quantizer Encode"
partition "0.5:1:7.5"
codebook "0:1:8"
n "1"
sample_time "0.03"
}
Block {
BlockType Scope
Name "判决前信号"
Ports [3]
Position [1240, 127, 1270, 163]
Location [5, 60, 1029, 741]
Open off
NumInputPorts "3"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
}
YMin "-1~-1~-1"
YMax "1.5~1.2~1.5"
SaveName "ScopeData4"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Logic
Name "取反"
Ports [1, 1]
Position [525, 134, 555, 166]
Operator "NOT"
ShowAdditionalParam on
AllPortsSameDT off
SampleTime "0.01"
}
Block {
BlockType Scope
Name "输入信号"
Ports [1]
Position [80, 137, 110, 173]
Location [5, 78, 1021, 529]
Open off
NumInputPorts "1"
TickLabels "on"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "0"
YMax "10"
SaveName "ScopeData3"
DataFormat "StructureWithTime"
MaxDataPoints "5000000000000"
}
Block {
BlockType Reference
Name "输入信号1"
Ports [0, 1]
Position [205, 363, 235, 377]
SourceBlock "dspsrcs4/Signal From\nWorkspace"
SourceType "Signal From Workspace"
X "[0,0,0]"
Ts "0.01"
nsamps "1"
OutputAfterFinalValue "Cyclic repetition"
}
Block {
BlockType Reference
Name "输入信号2"
Ports [0, 1]
Position [155, 387, 190, 403]
SourceBlock "dspsrcs4/Signal From\nWorkspace"
SourceType "Signal From Workspace"
X "[0,0,1]"
Ts "0.5"
nsamps "1"
OutputAfterFinalValue "Cyclic repetition"
}
Block {
BlockType Reference
Name "输入信号3"
Ports [0, 1]
Position [115, 406, 150, 424]
SourceBlock "dspsrcs4/Signal From\nWorkspace"
SourceType "Signal From Workspace"
X "[0,1,0]"
Ts "0.5"
nsamps "1"
OutputAfterFinalValue "Cyclic repetition"
}
Block {
BlockType Reference
Name "输入信号4"
Ports [0, 1]
Position [200, 426, 230, 444]
SourceBlock "dspsrcs4/Signal From\nWorkspace"
SourceType "Signal From Workspace"
X "[0,1,1]"
Ts "0.01"
nsamps "1"
OutputAfterFinalValue "Cyclic repetition"
}
Block {
BlockType Reference
Name "输入信号5"
Ports [0, 1]
Position [155, 447, 195, 463]
SourceBlock "dspsrcs4/Signal From\nWorkspace"
SourceType "Signal From Workspace"
X "[1,0,0]"
Ts "0.01"
nsamps "1"
OutputAfterFinalValue "Cyclic repetition"
}
Block {
BlockType Reference
Name "输入信号6"
Ports [0, 1]
Position [115, 468, 145, 482]
SourceBlock "dspsrcs4/Signal From\nWorkspace"
SourceType "Signal From Workspace"
X "[1,0,1]"
Ts "0.01"
nsamps "1"
OutputAfterFinalValue "Cyclic repetition"
}
Block {
BlockType Reference
Name "输入信号7"
Ports [0, 1]
Position [200, 482, 235, 498]
SourceBlock "dspsrcs4/Signal From\nWorkspace"
SourceType "Signal From Workspace"
X "[1,1,0]"
Ts "0.01"
nsamps "1"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -