📄 fdma_demo.mdl
字号:
}
Block {
BlockType Reference
Name "DSB-SC AM\npassband2"
Ports [1, 1]
Position [120, 178, 185, 222]
ShowName off
SourceBlock "com_cdmo/DSB-SC AM\npassband"
SourceType "Passband DSB-SC AM"
MaskParam1 "F4"
MaskParam2 "0"
MaskParam3 "ts"
}
Block {
BlockType Reference
Name "DSB-SC-ADM\npassband"
Ports [1, 1]
Position [550, 40, 615, 80]
ShowName off
SourceBlock "com_cdmo/DSB-SC-ADM\npassband"
SourceType "Passband DSB-SC ADM"
MaskParam1 "F0"
MaskParam2 "num0"
MaskParam3 "den0"
MaskParam4 "0"
MaskParam5 "ts"
}
Block {
BlockType Reference
Name "DSB-SC-ADM\npassband1"
Ports [1, 1]
Position [550, 110, 615, 150]
ShowName off
SourceBlock "com_cdmo/DSB-SC-ADM\npassband"
SourceType "Passband DSB-SC ADM"
MaskParam1 "F2"
MaskParam2 "num2"
MaskParam3 "den2"
MaskParam4 "0"
MaskParam5 "ts"
}
Block {
BlockType Reference
Name "DSB-SC-ADM\npassband2"
Ports [1, 1]
Position [550, 179, 615, 221]
ShowName off
SourceBlock "com_cdmo/DSB-SC-ADM\npassband"
SourceType "Passband DSB-SC ADM"
MaskParam1 "F4"
MaskParam2 "num4"
MaskParam3 "den4"
MaskParam4 "0"
MaskParam5 "ts"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [675, 36, 710, 69]
ShowName off
Inputs "2"
}
Block {
BlockType Mux
Name "Mux2"
Ports [2, 1]
Position [675, 106, 710, 139]
ShowName off
Inputs "2"
}
Block {
BlockType Mux
Name "Mux3"
Ports [2, 1]
Position [675, 191, 710, 224]
ShowName off
Inputs "2"
}
Block {
BlockType SignalGenerator
Name "Signal1"
Position [15, 48, 60, 82]
ForegroundColor "[0.000000, 0.000000, 1.000000]"
Amplitude "1.000000"
Frequency "2.000000"
Units "rad/sec"
}
Block {
BlockType SignalGenerator
Name "Signal2"
Position [15, 113, 60, 147]
ForegroundColor "orange"
WaveForm "sawtooth"
Amplitude "1.000000"
Frequency "3.000000"
Units "rad/sec"
}
Block {
BlockType SignalGenerator
Name "Signal3"
Position [15, 183, 60, 217]
ForegroundColor "red"
WaveForm "square"
Amplitude "1.000000"
Frequency "4.000000"
Units "rad/sec"
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [295, 112, 315, 148]
Inputs "+++"
}
Block {
BlockType Scope
Name "element 1"
Ports [1]
Position [735, 39, 760, 71]
Location [27, 616, 250, 788]
Open on
NumInputPorts "1"
TickLabels "off"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "10"
YMin "-1.5"
YMax "1.5"
DataFormat "Array"
}
Block {
BlockType Scope
Name "element 2"
Ports [1]
Position [735, 109, 760, 141]
Location [255, 618, 474, 790]
Open on
NumInputPorts "1"
TickLabels "off"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "10"
YMin "-1.5"
YMax "1.5"
DataFormat "Array"
}
Block {
BlockType Scope
Name "element 3"
Ports [1]
Position [735, 194, 760, 226]
DropShadow on
Location [479, 618, 701, 789]
Open on
NumInputPorts "1"
TickLabels "off"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "10"
YMin "-1.5"
YMax "1.5"
DataFormat "Array"
}
Block {
BlockType Scope
Name "multiplex signal"
Ports [1]
Position [380, 174, 405, 206]
Location [709, 616, 1280, 847]
Open on
NumInputPorts "1"
TickLabels "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "10"
YMin "-3"
YMax "3"
DataFormat "Array"
}
Block {
BlockType SubSystem
Name "receiving"
Ports []
Position [453, 32, 628, 236]
ForegroundColor "cyan"
TreatAsAtomicUnit off
MaskDescription " "
MaskDisplay "disp('.')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "receiving"
Location [360, 145, 666, 338]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType SubSystem
Name "transmitting"
Ports []
Position [102, 34, 323, 232]
ForegroundColor "cyan"
TreatAsAtomicUnit off
MaskDescription " "
MaskDisplay "disp('.')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "transmitting"
Location [360, 145, 666, 338]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 60]
DstBlock "multiplex signal"
DstPort 1
}
Branch {
Labels [1, 0]
DstBlock "AWGN\nchannel"
DstPort 1
}
}
Line {
SrcBlock "Butterworth\nIIR BP Filter1"
SrcPort 1
Points [15, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Butterworth\nIIR BP Filter2"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Butterworth\nIIR BP Filter3"
SrcPort 1
Points [15, 0]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "DSB-SC-ADM\npassband1"
SrcPort 1
DstBlock "Mux2"
DstPort 2
}
Line {
SrcBlock "DSB-SC-ADM\npassband"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Signal1"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
DstBlock "DSB-SC AM\npassband"
DstPort 1
}
Branch {
Points [0, -40; 570, 0]
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "DSB-SC AM\npassband"
SrcPort 1
DstBlock "Butterworth\nIIR BP Filter1"
DstPort 1
}
Line {
SrcBlock "DSB-SC AM\npassband1"
SrcPort 1
DstBlock "Butterworth\nIIR BP Filter2"
DstPort 1
}
Line {
SrcBlock "DSB-SC AM\npassband2"
SrcPort 1
DstBlock "Butterworth\nIIR BP Filter3"
DstPort 1
}
Line {
SrcBlock "Butterworth\nIIR BP Filter5"
SrcPort 1
DstBlock "DSB-SC-ADM\npassband1"
DstPort 1
}
Line {
SrcBlock "Butterworth\nIIR BP Filter4"
SrcPort 1
DstBlock "DSB-SC-ADM\npassband"
DstPort 1
}
Line {
SrcBlock "Butterworth\nIIR BP Filter6"
SrcPort 1
DstBlock "DSB-SC-ADM\npassband2"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "element 1"
DstPort 1
}
Line {
SrcBlock "Signal2"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
DstBlock "DSB-SC AM\npassband1"
DstPort 1
}
Branch {
Points [0, -120; 570, 0; 0, 105]
DstBlock "Mux2"
DstPort 1
}
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "element 2"
DstPort 1
}
Line {
SrcBlock "DSB-SC-ADM\npassband2"
SrcPort 1
DstBlock "Mux3"
DstPort 1
}
Line {
SrcBlock "Mux3"
SrcPort 1
DstBlock "element 3"
DstPort 1
}
Line {
SrcBlock "Signal3"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "DSB-SC AM\npassband2"
DstPort 1
}
Branch {
Points [0, 60; 555, 0; 0, -45]
DstBlock "Mux3"
DstPort 2
}
}
Line {
SrcBlock "AWGN\nchannel"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "Butterworth\nIIR BP Filter5"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "Butterworth\nIIR BP Filter6"
DstPort 1
}
Branch {
Points [0, -70]
DstBlock "Butterworth\nIIR BP Filter4"
DstPort 1
}
}
Annotation {
Name "F0=50;F2=80;F4=110;ts=.002;[num0,den0]=butter(2"
",F0/2*ts);[num4,den4]=butter(2,F4/2*ts);[num2,den2]=butter(2,F2/2*ts);"
Position [351, 287]
FontName "Arial"
FontSize 12
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -