📄 test_filter.mdl
字号:
}
Block {
BlockType Scope
Name "Scope5"
Ports [1]
Position [550, 99, 580, 131]
Floating off
Location [444, 175, 768, 414]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData5"
DataFormat "StructureWithTime"
LimitDataPoints off
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope6"
Ports [1]
Position [580, 649, 610, 681]
Floating off
Location [443, 473, 767, 712]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData6"
DataFormat "StructureWithTime"
LimitDataPoints off
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave"
Position [75, 340, 105, 370]
SineType "Time-based"
Amplitude "1"
Bias "0"
Frequency "2*pi*50"
Phase "0"
Samples "10"
Offset "0"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType Sin
Name "Sine Wave1"
Position [280, 165, 310, 195]
SineType "Time-based"
Amplitude "1"
Bias "0"
Frequency "2*pi*50"
Phase "0"
Samples "10"
Offset "0"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType Sin
Name "Sine Wave2"
Position [105, 370, 135, 400]
SineType "Time-based"
Amplitude "1"
Bias "0"
Frequency "2*pi*50"
Phase "0"
Samples "10"
Offset "0"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType Sin
Name "Sine Wave3"
Position [95, 510, 125, 540]
SineType "Time-based"
Amplitude "1"
Bias "0"
Frequency "2*pi*150"
Phase "0"
Samples "10"
Offset "0"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType Step
Name "Step"
Position [140, 70, 170, 100]
Time "0.1"
Before "0"
After "1"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType Step
Name "Step1"
Position [430, 530, 460, 560]
Time "0.1"
Before "0"
After "1"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType Step
Name "Step2"
Position [380, 530, 410, 560]
Time "0.1"
Before "0"
After "1"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType Step
Name "Step3"
Position [145, 125, 175, 155]
Time "0.1"
Before "0"
After "1"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [105, 280, 125, 300]
ShowName off
IconShape "round"
Inputs "|++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum1"
Ports [3, 1]
Position [170, 415, 190, 470]
ShowName off
IconShape "rectangular"
Inputs "|+++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [310, 105, 330, 125]
ShowName off
IconShape "round"
Inputs "|++"
SaturateOnIntegerOverflow on
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [230, 422, 290, 458]
Numerator "[100*pi]"
Denominator "[1 100*pi]"
AbsoluteTolerance "auto"
Realization "auto"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn1"
Position [325, 423, 515, 457]
Numerator "[10000*pi*pi]"
Denominator "[1 100*pi*0.445 10000*pi*pi]"
AbsoluteTolerance "auto"
Realization "auto"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn2"
Position [540, 423, 730, 457]
Numerator "[10000*pi*pi]"
Denominator "[1 100*pi*1.247 10000*pi*pi]"
AbsoluteTolerance "auto"
Realization "auto"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn3"
Position [760, 423, 950, 457]
Numerator "[10000*pi*pi]"
Denominator "[1 100*pi*1.8019 10000*pi*pi]"
AbsoluteTolerance "auto"
Realization "auto"
}
Line {
SrcBlock "Step2"
SrcPort 1
Points [5, 0; 0, -5]
Branch {
Points [0, 30]
DstBlock "Scope2"
DstPort 1
}
Branch {
Points [0, -30; 95, 0; 0, 20; 10, 0]
}
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
Points [5, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [10, 0; 0, -5; -5, 0]
DstBlock "Scope4"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [15, 0; 0, 70]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sine Wave1"
SrcPort 1
Points [5, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [10, 0; 0, -5]
Branch {
DstBlock "2阶高通"
DstPort 1
}
Branch {
Points [-5, 0; 0, -85; 25, 0]
DstBlock "Scope"
DstPort 1
}
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [15, 0; 0, 70]
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "2阶高通"
SrcPort 1
Points [15, 0; 0, 5]
DstBlock "Scope5"
DstPort 1
}
Line {
SrcBlock "Step1"
SrcPort 1
Points [-70, 0; 0, 105]
DstBlock "2阶巴特沃兹低通滤波器1"
DstPort 1
}
Line {
SrcBlock "2阶巴特沃兹低通滤波器1"
SrcPort 1
Points [15, 0; 0, 15]
DstBlock "Scope6"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
DstBlock "Transfer Fcn1"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn1"
SrcPort 1
DstBlock "Transfer Fcn2"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn2"
SrcPort 1
DstBlock "Transfer Fcn3"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn3"
SrcPort 1
Points [5, 0; 0, 5]
DstBlock "Scope3"
DstPort 1
}
Line {
SrcBlock "Sine Wave2"
SrcPort 1
Points [15, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Constant2"
SrcPort 1
Points [20, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [10, 0; 0, -5; 5, 0]
Branch {
DstBlock "Transfer Fcn"
DstPort 1
}
Branch {
Points [0, -85]
DstBlock "Scope1"
DstPort 1
}
}
Line {
SrcBlock "Sine Wave3"
SrcPort 1
Points [10, 0; 0, -60]
DstBlock "Sum1"
DstPort 3
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -