📄 c7mfpid2.mdl
字号:
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 "c7mfpid2"
Location [13, 189, 914, 694]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "portrait"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Abs
Name "Abs"
Position [165, 185, 195, 215]
ShowName off
FontName "Times New Roman"
FontSize 11
}
Block {
BlockType Saturate
Name "Actuator\nSaturation"
Position [260, 258, 310, 292]
FontName "Times New Roman"
FontSize 11
UpperLimit "5"
LowerLimit "-5"
}
Block {
BlockType Derivative
Name "Derivative"
Position [115, 320, 145, 350]
ShowName off
FontName "Times New Roman"
FontSize 11
}
Block {
BlockType Gain
Name "Gain3"
Position [115, 219, 160, 251]
FontName "Times New Roman"
FontSize 11
Gain "Kp"
}
Block {
BlockType Gain
Name "Gain4"
Position [160, 319, 210, 351]
ShowName off
FontName "Times New Roman"
FontSize 11
Gain "Kd"
}
Block {
BlockType TransferFcn
Name "Integrator"
Position [170, 255, 205, 295]
FontName "Times New Roman"
FontSize 11
Numerator "[Ki]"
Denominator "[1 0]"
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [315, 180, 345, 210]
ShowName off
FontName "Times New Roman"
FontSize 11
}
Block {
BlockType Reference
Name "LTI System"
Ports [1, 1]
Position [330, 260, 360, 290]
FontName "Times New Roman"
FontSize 11
SourceBlock "cstblocks/LTI System"
SourceType "LTI Block"
sys "G"
IC "[]"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [250, 176, 295, 209]
ShowName off
FontName "Times New Roman"
FontSize 11
InputSameDT off
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [405, 259, 435, 291]
FontName "Times New Roman"
FontSize 11
Location [521, 206, 845, 445]
Open on
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "10"
YMin "0"
YMax "1.4"
SaveToWorkspace on
SaveName "yy"
DataFormat "Array"
LimitDataPoints off
}
Block {
BlockType Step
Name "Step"
Position [20, 257, 50, 293]
FontName "Times New Roman"
FontSize 11
Time "0"
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [70, 265, 90, 285]
ShowName off
FontName "Times New Roman"
FontSize 11
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [3, 1]
Position [220, 265, 240, 285]
ShowName off
FontName "Times New Roman"
FontSize 11
IconShape "round"
Inputs "+++"
}
Block {
BlockType Clock
Name "time"
Position [120, 160, 140, 180]
FontName "Times New Roman"
FontSize 11
Decimation "10"
}
Block {
BlockType Outport
Name "Out2"
Position [395, 188, 425, 202]
ShowName off
FontName "Times New Roman"
FontSize 11
}
Block {
BlockType Outport
Name "Out1"
Position [405, 313, 435, 327]
ShowName off
FontName "Times New Roman"
FontSize 11
Port "2"
}
Line {
SrcBlock "Gain4"
SrcPort 1
Points [15, 0]
DstBlock "Sum2"
DstPort 3
}
Line {
SrcBlock "Integrator"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
DstBlock "Integrator"
DstPort 1
}
Branch {
DstBlock "Derivative"
DstPort 1
}
Branch {
Points [0, -40]
Branch {
DstBlock "Gain3"
DstPort 1
}
Branch {
Points [0, -35]
DstBlock "Abs"
DstPort 1
}
}
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [65, 0]
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Derivative"
SrcPort 1
DstBlock "Gain4"
DstPort 1
}
Line {
SrcBlock "time"
SrcPort 1
Points [90, 0]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Integrator1"
SrcPort 1
DstBlock "Out2"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "Abs"
SrcPort 1
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Step"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "LTI System"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Scope"
DstPort 1
}
Branch {
Points [0, 45]
Branch {
Points [0, 40; -300, 0]
DstBlock "Sum1"
DstPort 2
}
Branch {
DstBlock "Out1"
DstPort 1
}
}
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Actuator\nSaturation"
DstPort 1
}
Line {
SrcBlock "Actuator\nSaturation"
SrcPort 1
DstBlock "LTI System"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -