📄 simplified.mdl
字号:
SampleTime "-1"
}
Block {
BlockType Step
Time "1"
Before "0"
After "1"
SampleTime "-1"
VectorParams1D on
ZeroCross on
}
Block {
BlockType Sum
IconShape "rectangular"
Inputs "++"
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 "arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "arial"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "Simplified"
Location [2, 82, 1005, 722]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Sum
Name "Add"
Ports [2, 1]
Position [315, 173, 345, 217]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add1"
Ports [2, 1]
Position [575, 172, 605, 203]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add4"
Ports [2, 1]
Position [455, 246, 480, 339]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add5"
Ports [3, 1]
Position [625, 320, 655, 450]
Orientation "left"
NamePlacement "alternate"
Inputs "+++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Derivative
Name "Derivative"
Position [780, 370, 810, 400]
Orientation "left"
}
Block {
BlockType Derivative
Name "Derivative1"
Position [280, 300, 310, 330]
}
Block {
BlockType Gain
Name "Gain"
Position [380, 38, 435, 92]
Gain "18.234"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain10"
Position [370, 300, 400, 330]
Gain "0.000003925"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain4"
Position [515, 370, 545, 400]
Orientation "left"
NamePlacement "alternate"
Gain "1.11111"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain5"
Position [700, 175, 730, 205]
Gain "1.1111"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain6"
Position [835, 463, 890, 497]
Orientation "left"
NamePlacement "alternate"
Gain "6866"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain7"
Position [705, 325, 735, 355]
Orientation "left"
NamePlacement "alternate"
Gain "3.9"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain8"
Position [705, 370, 735, 400]
Orientation "left"
NamePlacement "alternate"
Gain "0.003465"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain9"
Position [370, 255, 400, 285]
Gain "0.0000678"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [885, 175, 915, 205]
IgnoreLimit off
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [400, 180, 430, 210]
Operator "sqrt"
}
Block {
BlockType Scope
Name "Output"
Ports [1]
Position [835, 564, 865, 596]
Floating off
Location [5, 48, 1029, 733]
Open off
NumInputPorts "1"
TickLabels "on"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "0.05"
YMin "-1000"
YMax "1000"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [240, 187, 270, 218]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [500, 87, 530, 118]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Constant
Name "Ps"
Position [105, 115, 135, 145]
Value "2000"
}
Block {
BlockType Signum
Name "Sign"
Position [105, 180, 135, 210]
}
Block {
BlockType Step
Name "Step"
Position [340, 480, 370, 510]
Orientation "left"
NamePlacement "alternate"
Time "0"
After "10"
SampleTime "0"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [105, 468, 220, 512]
Orientation "left"
NamePlacement "alternate"
Numerator "[1710.936]"
Denominator "[1 1068 1140624]"
}
Line {
SrcBlock "Ps"
SrcPort 1
Points [160, 0]
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Sign"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Add"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
Points [25, 0; 0, -85]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [10, 0; 0, 30]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [10, 0; 0, 75]
DstBlock "Add1"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
Points [-75, 0; 0, -295]
Branch {
DstBlock "Sign"
DstPort 1
}
Branch {
Points [0, -130]
DstBlock "Gain"
DstPort 1
}
}
Line {
SrcBlock "Step"
SrcPort 1
Points [0, -5]
DstBlock "Transfer Fcn"
DstPort 1
}
Line {
SrcBlock "Gain4"
SrcPort 1
Points [-285, 0; 0, -70]
Branch {
DstBlock "Derivative1"
DstPort 1
}
Branch {
Points [0, -45]
Branch {
DstBlock "Product"
DstPort 2
}
Branch {
DstBlock "Gain9"
DstPort 1
}
}
}
Line {
SrcBlock "Add5"
SrcPort 1
DstBlock "Gain4"
DstPort 1
}
Line {
SrcBlock "Add1"
SrcPort 1
DstBlock "Gain5"
DstPort 1
}
Line {
SrcBlock "Gain5"
SrcPort 1
Points [0, 0; 100, 0]
Branch {
DstBlock "Integrator"
DstPort 1
}
Branch {
Points [0, 150]
Branch {
Points [0, 45]
DstBlock "Derivative"
DstPort 1
}
Branch {
DstBlock "Gain7"
DstPort 1
}
}
}
Line {
SrcBlock "Derivative"
SrcPort 1
DstBlock "Gain8"
DstPort 1
}
Line {
SrcBlock "Gain6"
SrcPort 1
Points [0, 0; -35, 0]
Branch {
Points [0, 100]
DstBlock "Output"
DstPort 1
}
Branch {
Points [-55, 0; 0, -50]
DstBlock "Add5"
DstPort 3
}
}
Line {
SrcBlock "Gain7"
SrcPort 1
DstBlock "Add5"
DstPort 1
}
Line {
SrcBlock "Gain8"
SrcPort 1
DstBlock "Add5"
DstPort 2
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [30, 0; 0, 290]
DstBlock "Gain6"
DstPort 1
}
Line {
SrcBlock "Add4"
SrcPort 1
Points [65, 0; 0, -100]
DstBlock "Add1"
DstPort 2
}
Line {
SrcBlock "Gain9"
SrcPort 1
DstBlock "Add4"
DstPort 1
}
Line {
SrcBlock "Gain10"
SrcPort 1
DstBlock "Add4"
DstPort 2
}
Line {
SrcBlock "Derivative1"
SrcPort 1
DstBlock "Gain10"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Add"
DstPort 2
}
Annotation {
Name "QL"
Position [563, 159]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "Xv"
Position [339, 48]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "Xv"
Position [65, 182]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "Xv"
Position [144, 510]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "i"
Position [250, 504]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "Tout"
Position [812, 472]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "theta "
Position [908, 467]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "PL"
Position [210, 234]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "PL"
Position [494, 371]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "Thm"
Position [587, 377]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "Xv"
Position [80, 508]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "Theta"
Position [938, 179]
UseDisplayTextAsClickCallback off
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -