📄 qiankuifankui.mdl
字号:
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [255, 205, 275, 225]
ShowName off
FontName "Arial"
FontSize 12
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [380, 205, 400, 225]
ShowName off
FontName "Arial"
FontSize 12
IconShape "round"
Inputs "++|"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [530, 205, 550, 225]
ShowName off
FontName "Arial"
FontSize 12
IconShape "round"
Inputs "++|"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [225, 400, 245, 420]
ShowName off
FontName "Arial"
FontSize 12
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum5"
Ports [2, 1]
Position [455, 400, 475, 420]
ShowName off
FontName "Arial"
FontSize 12
IconShape "round"
Inputs "++|"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Scope
Name "被控参数显示"
Ports [1]
Position [625, 139, 655, 171]
FontName "Arial"
FontSize 12
Location [350, 244, 630, 429]
Open off
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "被控参数显示1"
Ports [1]
Position [550, 334, 580, 366]
FontName "Arial"
FontSize 12
Location [159, 85, 436, 272]
Open off
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "0"
YMax "50"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType TransferFcn
Name "被控对象"
Position [425, 197, 485, 233]
FontName "Arial"
FontSize 12
Denominator "[1 1 1]"
}
Block {
BlockType TransferFcn
Name "被控对象1"
Position [350, 392, 410, 428]
FontName "Arial"
FontSize 12
Denominator "[1 1 1]"
}
Block {
BlockType TransferFcn
Name "干扰通道"
Position [465, 122, 525, 158]
FontName "Arial"
FontSize 12
Denominator "[1 2 5]"
}
Block {
BlockType TransferFcn
Name "干扰通道1"
Position [390, 317, 450, 353]
FontName "Arial"
FontSize 12
Denominator "[1 2 5]"
}
Block {
BlockType SignalGenerator
Name "干扰源"
Position [225, 115, 255, 145]
Orientation "down"
FontName "Arial"
FontSize 12
Amplitude "50"
Frequency "10"
}
Block {
BlockType SignalGenerator
Name "干扰源1"
Position [255, 330, 285, 360]
Orientation "down"
FontName "Arial"
FontSize 12
Amplitude "50"
Frequency "10"
}
Block {
BlockType Step
Name "给定值"
Position [195, 200, 225, 230]
FontName "Arial"
FontSize 12
Time "0"
After "20"
SampleTime "0"
}
Block {
BlockType Step
Name "给定值1"
Position [170, 395, 200, 425]
FontName "Arial"
FontSize 12
Time "0"
After "20"
SampleTime "0"
}
Block {
BlockType TransferFcn
Name "前馈控制器"
Position [360, 125, 420, 165]
Orientation "down"
NamePlacement "alternate"
FontName "Arial"
FontSize 12
Numerator "[-1 -1 -1]"
Denominator "[1 2 5]"
}
Line {
SrcBlock "给定值"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "PID 调节器"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "被控对象"
DstPort 1
}
Line {
SrcBlock "干扰通道"
SrcPort 1
Points [10, 0]
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "被控对象"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [10, 0]
Branch {
Points [10, 0; 0, 55; -310, 0]
DstBlock "Sum"
DstPort 2
}
Branch {
Points [0, -50]
DstBlock "Mux"
DstPort 2
}
}
Line {
SrcBlock "PID 调节器"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "前馈控制器"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "被控参数显示"
DstPort 1
}
Line {
SrcBlock "给定值1"
SrcPort 1
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "Sum3"
SrcPort 1
DstBlock "PID 调节器1"
DstPort 1
}
Line {
SrcBlock "干扰通道1"
SrcPort 1
Points [10, 0]
DstBlock "Sum5"
DstPort 1
}
Line {
SrcBlock "被控对象1"
SrcPort 1
DstBlock "Sum5"
DstPort 2
}
Line {
SrcBlock "Sum5"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [10, 0; 0, 55; -265, 0]
DstBlock "Sum3"
DstPort 2
}
Branch {
Points [0, -50]
DstBlock "Mux1"
DstPort 2
}
}
Line {
SrcBlock "PID 调节器1"
SrcPort 1
DstBlock "被控对象1"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "被控参数显示1"
DstPort 1
}
Line {
SrcBlock "干扰源"
SrcPort 1
Points [0, 15; 50, 0; 0, -70; 100, 0]
Branch {
DstBlock "前馈控制器"
DstPort 1
}
Branch {
Points [50, 0]
Branch {
Points [0, 45]
DstBlock "干扰通道"
DstPort 1
}
Branch {
Points [110, 0; 0, 50]
DstBlock "Mux"
DstPort 1
}
}
}
Line {
SrcBlock "干扰源1"
SrcPort 1
Points [0, 15; 70, 0; 0, -80; 35, 0]
Branch {
DstBlock "干扰通道1"
DstPort 1
}
Branch {
Points [105, 0; 0, 40]
DstBlock "Mux1"
DstPort 1
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -