📄 digital_filtering.mdl
字号:
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType TransferFcn
Numerator "[1]"
Denominator "[1 2 1]"
AbsoluteTolerance "auto"
Realization "auto"
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "digital_filtering"
Location [2, 82, 1014, 721]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Gain
Name "Gain"
Position [460, 40, 490, 70]
Gain "0.0077"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [460, 335, 490, 365]
Gain "0.0154"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain3"
Position [465, 190, 495, 220]
Gain "10"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain4"
Position [650, 265, 680, 295]
Orientation "left"
NamePlacement "alternate"
Gain "0.000051422"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [660, 40, 690, 70]
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [685, 325, 715, 355]
}
Block {
BlockType Integrator
Name "Integrator2"
Ports [1, 1]
Position [660, 190, 690, 220]
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [785, 324, 815, 356]
Location [5, 54, 1029, 741]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "100"
YMin "-0.0003"
YMax "0"
DataFormat "StructureWithTime"
MaxDataPoints "5000000"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [780, 39, 810, 71]
Location [5, 54, 1029, 741]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "6.5e-005"
YMax "0.0001075"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
MaxDataPoints "5000000"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [785, 189, 815, 221]
Location [5, 54, 1029, 741]
Open off
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-7e-006"
YMax "2e-006"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
MaxDataPoints "5000000"
}
Block {
BlockType Step
Name "Step"
Position [505, 90, 535, 120]
NamePlacement "alternate"
ShowName off
Time "0"
After "0.00000014544"
SampleTime "0"
}
Block {
BlockType Step
Name "Step1"
Position [105, 40, 135, 70]
Time "0"
After "0.00015*9.806293866767001"
SampleTime "0"
}
Block {
BlockType Step
Name "Step2"
Position [510, 395, 540, 425]
Time "0"
After "0.00000014544"
SampleTime "0"
}
Block {
BlockType Step
Name "Step3"
Position [505, 240, 535, 270]
Time "0"
After "0.00000014544"
SampleTime "0"
}
Block {
BlockType Step
Name "Step4"
Position [105, 335, 135, 365]
Time "0"
After "0.00015*9.806293866767001"
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [555, 45, 575, 65]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [200, 45, 220, 65]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [580, 195, 600, 215]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum3"
Ports [3, 1]
Position [595, 330, 615, 350]
ShowName off
IconShape "round"
Inputs "|---"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [185, 340, 205, 360]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [387, 245, 423, 305]
Orientation "up"
NamePlacement "alternate"
Numerator "[0.15]"
Denominator "[1 0.15]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn1"
Position [325, 37, 385, 73]
Numerator "[0.15]"
Denominator "[1 0.15]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn2"
Position [290, 332, 350, 368]
Numerator "[0.15]"
Denominator "[1 0.15]"
}
Block {
BlockType Gain
Name "g"
Position [465, 475, 495, 505]
Orientation "left"
NamePlacement "alternate"
Gain "9.806293866767001"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "g1"
Position [460, 125, 490, 155]
Orientation "left"
Gain "9.806293866767001"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Transfer Fcn1"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn1"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [0, 0; 30, 0]
Branch {
DstBlock "Scope1"
DstPort 1
}
Branch {
Points [0, 85]
DstBlock "g1"
DstPort 1
}
}
Line {
SrcBlock "Sum4"
SrcPort 1
DstBlock "Transfer Fcn2"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn2"
SrcPort 1
Points [5, 0; 45, 0]
Branch {
DstBlock "Gain1"
DstPort 1
}
Branch {
DstBlock "Transfer Fcn"
DstPort 1
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [89, 0]
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Sum3"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "Integrator1"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
Points [0, 150]
DstBlock "g"
DstPort 1
}
Branch {
DstBlock "Scope"
DstPort 1
}
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
Points [0, -35]
DstBlock "Gain3"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Integrator2"
DstPort 1
}
Line {
SrcBlock "Integrator2"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
DstBlock "Scope2"
DstPort 1
}
Branch {
Points [0, 75]
DstBlock "Gain4"
DstPort 1
}
}
Line {
SrcBlock "Gain4"
SrcPort 1
Points [-61, 0]
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "Step2"
SrcPort 1
Points [60, 0]
DstBlock "Sum3"
DstPort 3
}
Line {
SrcBlock "Step3"
SrcPort 1
Points [50, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "g"
SrcPort 1
Points [-265, 0]
DstBlock "Sum4"
DstPort 2
}
Line {
SrcBlock "g1"
SrcPort 1
Points [-245, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Step1"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Step4"
SrcPort 1
DstBlock "Sum4"
DstPort 1
}
Line {
SrcBlock "Step"
SrcPort 1
Points [25, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -