📄 msf1df_unsat.mdl
字号:
ShowPortLabels on
System {
Name "Mdelay = 0"
Location [409, 221, 823, 514]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "In"
Position [235, 133, 265, 147]
Orientation "left"
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Constant
Name "Condition"
Position [45, 84, 130, 116]
Value "Pdelay<=3*eps"
}
Block {
BlockType Constant
Name "Constant1"
Position [115, 180, 145, 200]
Value "0"
}
Block {
BlockType Constant
Name "Constant2"
Position [155, 50, 185, 70]
Value "0"
}
Block {
BlockType Switch
Name "Switch"
Position [230, 70, 260, 100]
Threshold "1"
}
Block {
BlockType Switch
Name "Switch1"
Position [190, 165, 220, 195]
Threshold "1"
}
Block {
BlockType Outport
Name "Out2"
Position [285, 78, 315, 92]
Port "1"
OutputWhenDisabled "held"
InitialOutput "0"
}
Block {
BlockType Outport
Name "Out1"
Position [245, 173, 275, 187]
Port "2"
OutputWhenDisabled "held"
InitialOutput "0"
}
Line {
SrcBlock "In"
SrcPort 1
Points [-15, 0]
Branch {
DstBlock "Switch"
DstPort 3
}
Branch {
Points [-40, 0]
DstBlock "Switch1"
DstPort 1
}
}
Line {
SrcBlock "Condition"
SrcPort 1
Points [20, 0]
Branch {
Points [0, 80]
DstBlock "Switch1"
DstPort 2
}
Branch {
Points [0, -15]
DstBlock "Switch"
DstPort 2
}
}
Line {
SrcBlock "Constant1"
SrcPort 1
DstBlock "Switch1"
DstPort 3
}
Line {
SrcBlock "Constant2"
SrcPort 1
Points [25, 0]
DstBlock "Switch"
DstPort 1
}
Line {
SrcBlock "Switch"
SrcPort 1
DstBlock "Out2"
DstPort 1
}
Line {
SrcBlock "Switch1"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Sum
Name "Sum6"
Ports [2, 1, 0, 0, 0]
Position [240, 75, 260, 95]
IconShape "rectangular"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "Out1"
Position [285, 78, 315, 92]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Mdelay = 0"
SrcPort 1
Points [15, 0]
DstBlock "Mdelay\n> 0"
DstPort 1
}
Line {
SrcBlock "Mdelay\n> 0"
SrcPort 1
Points [15, 0]
DstBlock "Sum6"
DstPort 1
}
Line {
SrcBlock "Mdelay = 0"
SrcPort 2
DstBlock "Sum6"
DstPort 2
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Mdelay = 0"
DstPort 1
}
Line {
SrcBlock "Sum6"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Scope
Name "Scope"
Ports [1, 0, 0, 0, 0]
Position [635, 40, 665, 70]
Floating off
Location [309, 365, 633, 604]
Open off
NumInputPorts "1"
TickLabels "on"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "Matrix"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Step
Name "Step Input"
Position [180, 35, 200, 55]
Orientation "left"
Time "0"
Before "0"
After "Setpoint"
SampleTime "0"
}
Block {
BlockType Step
Name "Step Input1"
Position [295, 20, 315, 40]
Time "0"
Before "0"
After "Disturb"
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1, 0, 0, 0]
Position [75, 90, 95, 110]
IconShape "rectangular"
Inputs "+-"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1, 0, 0, 0]
Position [875, 325, 895, 345]
IconShape "rectangular"
Inputs "+-"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1, 0, 0, 0]
Position [170, 95, 190, 115]
IconShape "rectangular"
Inputs "+-"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1, 0, 0, 0]
Position [305, 175, 325, 195]
IconShape "rectangular"
Inputs "+-"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum6"
Ports [2, 1, 0, 0, 0]
Position [485, 90, 505, 110]
IconShape "rectangular"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType ToWorkspace
Name "To Workspace"
Position [715, 115, 775, 145]
VariableName "simout"
Buffer "inf"
Decimation "1"
SampleTime "-1"
SaveFormat "Matrix"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [315, 86, 375, 124]
Numerator "numPs"
Denominator "denPs"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn3"
Position [370, 12, 435, 48]
Numerator "numPd"
Denominator "denPd"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn4"
Position [85, 25, 145, 65]
Orientation "left"
Numerator "denFs"
Denominator "numFs"
}
Line {
SrcBlock "Step Input1"
SrcPort 1
DstBlock "Transfer Fcn3"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn3"
SrcPort 1
Points [25, 0; 0, 65]
DstBlock "Sum6"
DstPort 1
}
Line {
SrcBlock "Pdelay"
SrcPort 1
DstBlock "Sum6"
DstPort 2
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "To Workspace"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
DstBlock "Pdelay"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Sum6"
SrcPort 1
Points [60, 0]
Branch {
Points [0, 20]
DstBlock "Mux"
DstPort 1
}
Branch {
Points [290, 0]
DstBlock "Sum1"
DstPort 1
}
Branch {
DstBlock "Scope"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Integrator8"
DstPort 1
}
Line {
SrcBlock "Sum3"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Matrix\nGain1"
SrcPort 1
Points [-10, 0]
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Mnt"
SrcPort 1
DstBlock "Mdelay"
DstPort 1
}
Line {
SrcBlock "Mdelay"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [0, 60; -840, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "K(s)"
SrcPort 1
Points [-140, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Step Input"
SrcPort 1
DstBlock "Transfer Fcn4"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn4"
SrcPort 1
Points [-25, 0; 0, 50]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Integrator8"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Integrator7"
DstPort 1
}
Branch {
Points [0, 50]
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [-10, 0]
Branch {
DstBlock "Matrix\nGain1"
DstPort 1
}
Branch {
Points [0, 70]
Branch {
DstBlock "Mnt"
DstPort 1
}
Branch {
DstBlock "K(s)"
DstPort 1
}
}
}
Line {
SrcBlock "Integrator7"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Integrator3"
DstPort 1
}
Branch {
Points [0, 60]
DstBlock "Mux1"
DstPort 2
}
}
Line {
SrcBlock "Integrator3"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Integrator4"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "Mux1"
DstPort 3
}
}
Line {
SrcBlock "Integrator4"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Integrator5"
DstPort 1
}
Branch {
Points [0, 80]
DstBlock "Mux1"
DstPort 4
}
}
Line {
SrcBlock "Integrator5"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Integrator6"
DstPort 1
}
Branch {
Points [0, 90]
DstBlock "Mux1"
DstPort 5
}
}
Line {
SrcBlock "Integrator6"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Integrator9"
DstPort 1
}
Branch {
Points [0, 100]
DstBlock "Mux1"
DstPort 6
}
}
Line {
SrcBlock "Integrator9"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Integrator10"
DstPort 1
}
Branch {
Points [0, 110]
DstBlock "Mux1"
DstPort 7
}
}
Line {
SrcBlock "Integrator10"
SrcPort 1
Points [0, 120]
DstBlock "Mux1"
DstPort 8
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [0, 0]
Branch {
Points [0, 55; 440, 0]
DstBlock "Mux"
DstPort 3
}
Branch {
Points [65, 0]
Branch {
Points [0, 75]
DstBlock "Sum3"
DstPort 1
}
Branch {
Points [35, 0]
Branch {
DstBlock "Transfer Fcn"
DstPort 1
}
Branch {
Points [0, 40; 310, 0; 0, -15]
DstBlock "Mux"
DstPort 2
}
}
}
}
Annotation {
Position [277, 132]
VerticalAlignment "top"
Text "Md\n"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -