📄 singleloopm.mdl
字号:
FontSize 14
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [140, 175, 160, 195]
ShowName off
FontName "Arial"
FontSize 14
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [140, 285, 160, 305]
ShowName off
FontName "Arial"
FontSize 14
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Scope
Name "被控参数显示"
Ports [1]
Position [505, 69, 535, 101]
FontName "Arial"
FontSize 14
Location [219, 145, 561, 365]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "0"
YMax "6"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "被控参数显示1"
Ports [1]
Position [515, 169, 545, 201]
FontName "Arial"
FontSize 14
Location [201, 172, 515, 369]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "0"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "被控参数显示2"
Ports [1]
Position [515, 279, 545, 311]
FontName "Arial"
FontSize 14
Location [82, 310, 386, 504]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "0"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
}
Block {
BlockType TransferFcn
Name "被控对象 "
Position [305, 67, 365, 103]
FontName "Arial"
FontSize 14
Denominator "[1 20 1]"
}
Block {
BlockType TransferFcn
Name "被控对象 1"
Position [310, 167, 370, 203]
FontName "Arial"
FontSize 14
Denominator "[1 20 1]"
}
Block {
BlockType TransferFcn
Name "被控对象 2"
Position [310, 277, 370, 313]
FontName "Arial"
FontSize 14
Denominator "[1 20 1]"
}
Block {
BlockType Step
Name "给定值 "
Position [50, 70, 80, 100]
FontName "Arial"
FontSize 14
Time "0"
After "3"
SampleTime "0"
}
Block {
BlockType TransferFcn
Name "检测仪表 "
Position [385, 67, 445, 103]
FontName "Arial"
FontSize 14
Denominator "[0.1 1]"
}
Block {
BlockType TransferFcn
Name "检测仪表 1"
Position [390, 167, 450, 203]
FontName "Arial"
FontSize 14
Denominator "[0.1 1]"
}
Block {
BlockType TransferFcn
Name "检测仪表 2"
Position [390, 277, 450, 313]
FontName "Arial"
FontSize 14
Denominator "[0.1 1]"
}
Block {
BlockType TransferFcn
Name "执行器 "
Position [230, 67, 290, 103]
FontName "Arial"
FontSize 14
Denominator "[0.1 1]"
}
Block {
BlockType TransferFcn
Name "执行器 1"
Position [230, 167, 290, 203]
FontName "Arial"
FontSize 14
Denominator "[0.1 1]"
}
Block {
BlockType TransferFcn
Name "执行器 2"
Position [230, 277, 290, 313]
FontName "Arial"
FontSize 14
Denominator "[0.1 1]"
}
Line {
SrcBlock "给定值 "
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Sum"
DstPort 1
}
Branch {
Points [0, 140]
Branch {
Points [0, -40]
DstBlock "Sum1"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "Sum2"
DstPort 1
}
}
}
Line {
SrcBlock "执行器 "
SrcPort 1
DstBlock "被控对象 "
DstPort 1
}
Line {
SrcBlock "被控对象 "
SrcPort 1
DstBlock "检测仪表 "
DstPort 1
}
Line {
SrcBlock "检测仪表 "
SrcPort 1
Points [25, 0]
Branch {
Points [0, 50; -325, 0]
DstBlock "Sum"
DstPort 2
}
Branch {
DstBlock "被控参数显示"
DstPort 1
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "PID 调节器"
DstPort 1
}
Line {
SrcBlock "PID 调节器"
SrcPort 1
DstBlock "执行器 "
DstPort 1
}
Line {
SrcBlock "执行器 1"
SrcPort 1
DstBlock "被控对象 1"
DstPort 1
}
Line {
SrcBlock "被控对象 1"
SrcPort 1
DstBlock "检测仪表 1"
DstPort 1
}
Line {
SrcBlock "检测仪表 1"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "被控参数显示1"
DstPort 1
}
Branch {
Points [0, 50; -330, 0]
DstBlock "Sum1"
DstPort 2
}
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "PID 调节器1"
DstPort 1
}
Line {
SrcBlock "PID 调节器1"
SrcPort 1
DstBlock "执行器 1"
DstPort 1
}
Line {
SrcBlock "执行器 2"
SrcPort 1
DstBlock "被控对象 2"
DstPort 1
}
Line {
SrcBlock "被控对象 2"
SrcPort 1
DstBlock "检测仪表 2"
DstPort 1
}
Line {
SrcBlock "检测仪表 2"
SrcPort 1
Points [20, 0; 5, 0]
Branch {
DstBlock "被控参数显示2"
DstPort 1
}
Branch {
Points [0, 45; -330, 0]
DstBlock "Sum2"
DstPort 2
}
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "PID 调节器2"
DstPort 1
}
Line {
SrcBlock "PID 调节器2"
SrcPort 1
DstBlock "执行器 2"
DstPort 1
}
Annotation {
Name "有积分作用单回路控制系统"
Position [302, 150]
FontSize 14
}
Annotation {
Name "无积分作用单回路控制系统"
Position [308, 251]
FontSize 14
}
Annotation {
Name " 大比例作用单回路控制系统"
Position [300, 361]
FontSize 14
}
Annotation {
Position [688, 200]
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -