📄 fsk_o.mdl
字号:
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [0, -35]
DstBlock "Logical\nOperator"
DstPort 1
}
Line {
SrcBlock "D flip-flop3"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "D flip-flop4"
DstPort 1
}
Branch {
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [0, -25]
DstBlock "Logical\nOperator"
DstPort 2
}
Line {
SrcBlock "D flip-flop2"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "D flip-flop3"
DstPort 1
}
Branch {
DstBlock "Gain2"
DstPort 1
}
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [0, -20]
DstBlock "Logical\nOperator1"
DstPort 2
}
Line {
SrcBlock "D flip-flop1"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "D flip-flop2"
DstPort 1
}
Branch {
DstBlock "Gain3"
DstPort 1
}
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [0, -15]
DstBlock "Logical\nOperator2"
DstPort 2
}
Line {
SrcBlock "D flip-flop"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "D flip-flop1"
DstPort 1
}
Branch {
DstBlock "Gain4"
DstPort 1
}
}
Line {
SrcBlock "Gain4"
SrcPort 1
Points [0, -10]
DstBlock "Logical\nOperator3"
DstPort 2
}
Line {
SrcBlock "Logical\nOperator3"
SrcPort 1
Points [-45, 0]
DstBlock "Gain5"
DstPort 1
}
Line {
SrcBlock "Gain5"
SrcPort 1
Points [0, 35]
DstBlock "D flip-flop"
DstPort 1
}
Annotation {
Position [521, 101]
Text " "
}
}
}
Block {
BlockType Reference
Name " LPF1"
Ports [1, 1, 0, 0, 0]
Position [405, 181, 460, 239]
ShowName off
SourceBlock "dspddes/Analog\nFilter Design"
SourceType "Analog Filter Design"
method Butterworth
filttype Bandpass
N "8"
Wlo "2*pi*36000"
Whi "2*pi*40000"
Rp "3"
Rs "40"
}
Block {
BlockType Reference
Name " LPF2"
Ports [1, 1, 0, 0, 0]
Position [405, 271, 460, 329]
ShowName off
SourceBlock "dspddes/Analog\nFilter Design"
SourceType "Analog Filter Design"
method Butterworth
filttype Bandpass
N "8"
Wlo "2*pi*17000"
Whi "2*pi*21000"
Rp "3"
Rs "40"
}
Block {
BlockType Reference
Name " LPF3"
Ports [1, 1, 0, 0, 0]
Position [545, 191, 600, 249]
ShowName off
SourceBlock "dspddes/Analog\nFilter Design"
SourceType "Analog Filter Design"
method Butterworth
filttype Lowpass
N "8"
Wlo "2*pi*1500"
Whi "0"
Rp "3"
Rs "40"
}
Block {
BlockType Reference
Name " LPF4"
Ports [1, 1, 0, 0, 0]
Position [550, 281, 605, 339]
ShowName off
SourceBlock "dspddes/Analog\nFilter Design"
SourceType "Analog Filter Design"
method Butterworth
filttype Lowpass
N "8"
Wlo "2*pi*1500"
Whi "0"
Rp "3"
Rs "40"
}
Block {
BlockType Reference
Name "1010.."
Ports [0, 1, 0, 0, 0]
Position [30, 30, 60, 60]
SourceBlock "simulink/Sources/Pulse\nGenerator"
SourceType "Pulse Generator"
period "1/1000"
duty "50"
amplitude "1"
start "0"
}
Block {
BlockType Reference
Name "FFT Scope1"
Ports [1, 0, 0, 0, 0]
Position [400, 88, 435, 132]
SourceBlock "dspsnks/Buffered\nFFT Scope"
SourceType "Buffered FFT Scope"
radsPop Hertz
frange Half
ampl_scale Magnitude
bufsize "128"
olap "64"
fftlength "256"
ylabel "Magnitude"
figpos "get(0,'DefaultFigurePosition')"
ts "0.00001"
}
Block {
BlockType Logic
Name "Logical\nOperator2"
Ports [1, 1, 0, 0, 0]
Position [160, 134, 190, 166]
ShowName off
Operator NOT
Inputs "1"
}
Block {
BlockType Reference
Name "Manual Switch1"
Ports [2, 1, 0, 0, 0]
Position [85, 57, 115, 88]
ForegroundColor blue
ShowName off
SourceBlock "simulink/Nonlinear/Manual Switch"
SourceType "Manual Switch"
sw "1"
action "0"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1, 0, 0, 0]
Position [400, 42, 435, 78]
ShowName off
Inputs "2"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1, 0, 0, 0]
Position [665, 97, 700, 133]
ShowName off
Inputs "2"
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1, 0, 0, 0]
Position [230, 67, 260, 98]
ShowName off
Inputs "2"
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1, 0, 0, 0]
Position [235, 142, 265, 173]
ShowName off
Inputs "2"
}
Block {
BlockType Product
Name "Product4"
Ports [2, 1, 0, 0, 0]
Position [480, 202, 510, 233]
ShowName off
Inputs "2"
}
Block {
BlockType Product
Name "Product5"
Ports [2, 1, 0, 0, 0]
Position [480, 292, 510, 323]
ShowName off
Inputs "2"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator1"
Position [655, 242, 685, 273]
Operator >=
}
Block {
BlockType Scope
Name "Scope"
Ports [1, 0, 0, 0, 0]
Position [460, 45, 490, 75]
ShowName off
Floating off
Location [207, 240, 531, 479]
Open off
Grid on
TickLabels on
ZoomMode xonly
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1, 0, 0, 0, 0]
Position [720, 95, 750, 125]
ShowName off
Floating off
Location [207, 240, 531, 479]
Open off
Grid on
TickLabels on
ZoomMode xonly
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope3"
Ports [1, 0, 0, 0, 0]
Position [710, 250, 740, 280]
ShowName off
Floating off
Location [207, 240, 531, 479]
Open off
Grid on
TickLabels on
ZoomMode xonly
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope4"
Ports [1, 0, 0, 0, 0]
Position [675, 45, 705, 75]
ShowName off
Floating off
Location [194, 109, 518, 348]
Open off
Grid on
TickLabels on
ZoomMode xonly
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1, 0, 0, 0]
Position [340, 117, 370, 148]
ShowName off
Inputs "++"
}
Block {
BlockType SignalGenerator
Name "f1\n"
Position [85, 110, 115, 140]
WaveForm square
Amplitude "1"
Frequency "19200"
Units Hertz
}
Block {
BlockType SignalGenerator
Name "f2\n"
Position [85, 165, 115, 195]
WaveForm square
Amplitude "1"
Frequency "38400"
Units Hertz
}
Line {
SrcBlock "Relational\nOperator1"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Scope3"
DstPort 1
}
Branch {
Points [0, -105; -50, 0; 0, -30]
DstBlock "Mux1"
DstPort 2
}
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Scope2"
DstPort 1
}
Line {
SrcBlock " LPF4"
SrcPort 1
Points [30, 0]
DstBlock "Relational\nOperator1"
DstPort 2
}
Line {
SrcBlock " LPF3"
SrcPort 1
Points [35, 0]
DstBlock "Relational\nOperator1"
DstPort 1
}
Line {
SrcBlock "Product5"
SrcPort 1
DstBlock " LPF4"
DstPort 1
}
Line {
SrcBlock "Product4"
SrcPort 1
DstBlock " LPF3"
DstPort 1
}
Line {
SrcBlock "f1\n"
SrcPort 1
Points [5, 0]
Branch {
Points [0, 215; 340, 0]
DstBlock "Product5"
DstPort 2
}
Branch {
Points [80, 0; 0, -35]
DstBlock "Product2"
DstPort 2
}
}
Line {
SrcBlock "f2\n"
SrcPort 1
Points [40, 0]
Branch {
Points [0, 70; 305, 0]
DstBlock "Product4"
DstPort 2
}
Branch {
Points [45, 0; 0, -15]
DstBlock "Product3"
DstPort 2
}
}
Line {
SrcBlock " LPF2"
SrcPort 1
DstBlock "Product5"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [5, 0]
Branch {
Points [0, 75]
Branch {
Points [0, 90]
DstBlock " LPF2"
DstPort 1
}
Branch {
DstBlock " LPF1"
DstPort 1
}
}
Branch {
Labels [1, 0]
Points [0, -25]
Branch {
DstBlock "FFT Scope1"
DstPort 1
}
Branch {
Points [0, -40]
DstBlock "Mux"
DstPort 2
}
}
}
Line {
SrcBlock " LPF1"
SrcPort 1
DstBlock "Product4"
DstPort 1
}
Line {
SrcBlock "Logical\nOperator2"
SrcPort 1
DstBlock "Product3"
DstPort 1
}
Line {
SrcBlock "Manual Switch1"
SrcPort 1
Points [20, 0]
Branch {
Points [0, -25]
Branch {
Points [0, -20; 510, 0;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -