📄 dpsk.mdl
字号:
method "Butterworth"
filttype "Lowpass"
N "8"
Wlo "220*pi"
Whi "1300"
Rp "2"
Rs "40"
}
Block {
BlockType Product
Name "调制频率1"
Ports [2, 1]
Position [535, 371, 580, 404]
InputSameDT off
}
Block {
BlockType Product
Name "调制频率2"
Ports [2, 1]
Position [530, 256, 575, 289]
InputSameDT off
}
Block {
BlockType Scope
Name "调制信号\n延时信号\n"
Ports [2]
Position [925, 442, 955, 478]
Location [5, 60, 1021, 733]
Open off
NumInputPorts "2"
TickLabels "on"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
}
YMin "-1.5~-1.5"
YMax "1.5~1.5"
SaveName "ScopeData5"
DataFormat "StructureWithTime"
MaxDataPoints "5000000000000"
}
Block {
BlockType Scope
Name "调制信号\n原信号\n差分编码\n"
Ports [3]
Position [705, 427, 735, 463]
Location [5, 60, 1029, 741]
Open off
NumInputPorts "3"
TickLabels "on"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
}
YMin "-10~-5~-5"
YMax "2~5~5"
SaveName "ScopeData4"
DataFormat "StructureWithTime"
MaxDataPoints "5000000000000"
}
Block {
BlockType Product
Name "解调"
Ports [2, 1]
Position [895, 266, 940, 299]
InputSameDT off
}
Block {
BlockType Scope
Name "解调信号\n调制信号"
Ports [2]
Position [1155, 400, 1185, 435]
Location [5, 60, 1021, 733]
Open off
NumInputPorts "2"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
}
YMin "-2~-2"
YMax "2~2"
DataFormat "StructureWithTime"
MaxDataPoints "5000000000000"
}
Block {
BlockType Logic
Name "取反"
Ports [1, 1]
Position [480, 264, 510, 296]
Operator "NOT"
ShowAdditionalParam on
AllPortsSameDT off
SampleTime "0.5"
}
Block {
BlockType Logic
Name "取反2"
Ports [1, 1]
Position [1210, 279, 1240, 311]
Operator "NOT"
ShowAdditionalParam on
AllPortsSameDT off
SampleTime "0.5"
}
Block {
BlockType Scope
Name "输入数字信号"
Ports [2]
Position [310, 212, 340, 248]
Location [5, 60, 1021, 733]
Open off
NumInputPorts "2"
TickLabels "on"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
}
YMin "-1~-1"
YMax "1.5~1.5"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
MaxDataPoints "5000000000000"
}
Block {
BlockType Reference
Name "输入信号"
Ports [0, 1]
Position [170, 263, 225, 297]
SourceBlock "dspsrcs4/Signal From\nWorkspace"
SourceType "Signal From Workspace"
X "[1,0,1,1,0,0,0,1]"
Ts "0.5"
nsamps "1"
OutputAfterFinalValue "Cyclic repetition"
}
Block {
BlockType Scope
Name "输入信号\n输出信号"
Ports [2]
Position [1300, 270, 1330, 305]
Location [5, 60, 1021, 733]
Open off
NumInputPorts "2"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
}
YMin "-1.5~-1.5"
YMax "1.5~1.5"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
MaxDataPoints "5000000000000"
}
Block {
BlockType Scope
Name "相位差为180,频率相同"
Ports [2]
Position [500, 477, 530, 513]
Location [5, 60, 1021, 733]
Open off
NumInputPorts "2"
TickLabels "on"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
}
YMin "-2~-2"
YMax "2~2"
SaveName "ScopeData3"
DataFormat "StructureWithTime"
MaxDataPoints "5000000000000"
}
Block {
BlockType TransportDelay
Name "延时一个\n码元的时间"
Position [825, 330, 855, 360]
DelayTime "0.5"
TransDelayFeedthrough on
}
Line {
SrcBlock "差分编码"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "取反"
DstPort 1
}
Branch {
Points [0, 55]
Branch {
Points [-150, 0]
DstBlock "输入数字信号"
DstPort 2
}
Branch {
Points [0, 45]
Branch {
DstBlock "调制频率1"
DstPort 1
}
Branch {
Points [0, 65]
DstBlock "调制信号\n原信号\n差分编码\n"
DstPort 2
}
}
}
}
Line {
SrcBlock "取反"
SrcPort 1
DstBlock "调制频率2"
DstPort 2
}
Line {
SrcBlock "Sine Wave2"
SrcPort 1
Points [25, 0]
Branch {
Points [40, 0]
DstBlock "调制频率2"
DstPort 1
}
Branch {
Points [-10, 0; 0, 290]
DstBlock "相位差为180,频率相同"
DstPort 2
}
}
Line {
SrcBlock "带通"
SrcPort 1
Points [35, 0]
Branch {
Points [25, 0]
Branch {
DstBlock "解调"
DstPort 1
}
Branch {
Points [0, 70]
Branch {
Points [0, 105]
DstBlock "调制信号\n延时信号\n"
DstPort 1
}
Branch {
DstBlock "延时一个\n码元的时间"
DstPort 1
}
}
}
Branch {
Points [0, 150]
DstBlock "解调信号\n调制信号"
DstPort 2
}
}
Line {
SrcBlock "Sine Wave1"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 90]
DstBlock "相位差为180,频率相同"
DstPort 1
}
Branch {
DstBlock "调制频率1"
DstPort 2
}
}
Line {
SrcBlock "调制频率2"
SrcPort 1
Points [10, 0; 0, 50]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "调制频率1"
SrcPort 1
Points [45, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [5, 0; 0, -5]
Branch {
Points [0, -45]
DstBlock "带通"
DstPort 1
}
Branch {
Points [0, 115]
DstBlock "调制信号\n原信号\n差分编码\n"
DstPort 1
}
}
Line {
SrcBlock "解调"
SrcPort 1
DstBlock "低通"
DstPort 1
}
Line {
SrcBlock "输入信号"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [0, -60]
DstBlock "输入数字信号"
DstPort 1
}
Branch {
Points [85, 0]
Branch {
Points [0, 175]
DstBlock "调制信号\n原信号\n差分编码\n"
DstPort 3
}
Branch {
Points [-65, 0; 0, -90; 1020, 0; 0, 90]
DstBlock "输入信号\n输出信号"
DstPort 1
}
Branch {
DstBlock "差分编码"
DstPort 1
}
}
}
Line {
SrcBlock "延时一个\n码元的时间"
SrcPort 1
Points [15, 0]
Branch {
Points [0, -55]
DstBlock "解调"
DstPort 2
}
Branch {
Points [0, 125]
DstBlock "调制信号\n延时信号\n"
DstPort 2
}
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [0, -35]
DstBlock "抽样判决(0.5s) "
DstPort 2
}
Line {
SrcBlock "抽样判决(0.5s) "
SrcPort 1
DstBlock "取反2"
DstPort 1
}
Line {
SrcBlock "取反2"
SrcPort 1
DstBlock "输入信号\n输出信号"
DstPort 2
}
Line {
SrcBlock "低通"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "抽样判决(0.5s) "
DstPort 1
}
Branch {
Points [0, 125]
DstBlock "解调信号\n调制信号"
DstPort 1
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -