📄 work3.mdl
字号:
SampleTime "0"
Port {
PortNumber 1
Name "r"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [85, 235, 105, 255]
ShowName off
IconShape "round"
Inputs "|+-"
Port {
PortNumber 1
Name "e"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [85, 445, 105, 465]
ShowName off
IconShape "round"
Inputs "|+-"
Port {
PortNumber 1
Name "e"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [445, 85, 465, 105]
ShowName off
IconShape "round"
Inputs "|+-"
Port {
PortNumber 1
Name "e"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [455, 370, 475, 390]
ShowName off
IconShape "round"
Inputs "|+-"
Port {
PortNumber 1
Name "e"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Line {
Name "r"
Labels [0, 0]
SrcBlock "Step"
SrcPort 1
DstBlock "Plant"
DstPort 1
}
Line {
Name "y"
Labels [0, 0]
SrcBlock "Plant"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Scope"
DstPort 1
}
Branch {
Points [0, 45; 135, 0; 0, 125]
DstBlock "Mux2"
DstPort 1
}
}
Line {
Name "y"
Labels [0, 0]
SrcBlock "Plant5"
SrcPort 1
Points [-5, 0; 15, 0]
Branch {
Labels [-1, 1]
Points [0, 75; -245, 0]
DstBlock "Sum"
DstPort 2
}
Branch {
Labels [1, 0]
Points [10, 0]
Branch {
DstBlock "Scope5"
DstPort 1
}
Branch {
Points [0, 30]
DstBlock "Mux2"
DstPort 2
}
}
}
Line {
Name "r"
Labels [0, 0]
SrcBlock "Step5"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
Name "e"
Labels [0, 0]
SrcBlock "Sum"
SrcPort 1
DstBlock "FLC5"
DstPort 1
}
Line {
Name "y"
Labels [0, 0; 1, 0]
SrcBlock "Plant6"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "Scope6"
DstPort 1
}
Branch {
Points [0, -170]
DstBlock "Mux2"
DstPort 3
}
Branch {
Points [0, 70; -255, 0]
DstBlock "Sum1"
DstPort 2
}
}
Line {
Name "r"
Labels [0, 0]
SrcBlock "Step6"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
Name "e"
Labels [0, 0]
SrcBlock "Sum1"
SrcPort 1
DstBlock "FLC6"
DstPort 1
}
Line {
Name "y"
Labels [0, 0]
SrcBlock "Plant7"
SrcPort 1
Points [-15, 0; 15, 0]
Branch {
Labels [-1, 1]
Points [0, 145; -365, 0]
DstBlock "Sum2"
DstPort 2
}
Branch {
Labels [1, 0]
Points [5, 0]
Branch {
DstBlock "Scope7"
DstPort 1
}
Branch {
Points [0, 200]
DstBlock "Mux2"
DstPort 4
}
}
}
Line {
Name "r"
Labels [0, 0]
SrcBlock "Step7"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
Name "e"
Labels [0, 0]
SrcBlock "Sum2"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
DstBlock "Derivative7"
DstPort 1
}
Branch {
Labels [-1, 1]
Points [0, -10]
DstBlock "Mux"
DstPort 1
}
}
Line {
SrcBlock "Derivative7"
SrcPort 1
DstBlock "Saturation7"
DstPort 1
}
Line {
Name "de"
Labels [-1, 0]
SrcBlock "Saturation7"
SrcPort 1
Points [0, -55]
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "FLC7"
DstPort 1
}
Line {
Name "y"
Labels [0, 0]
SrcBlock "Plant8"
SrcPort 1
Points [-20, 0; 15, 0]
Branch {
Points [5, 0]
Branch {
Labels [-1, 1]
Points [0, 145; -370, 0]
DstBlock "Sum3"
DstPort 2
}
Branch {
Labels [1, 0]
DstBlock "Scope8"
DstPort 1
}
}
Branch {
Points [5, 0]
DstBlock "Mux2"
DstPort 5
}
}
Line {
Name "r"
Labels [0, 0]
SrcBlock "Step8"
SrcPort 1
DstBlock "Sum3"
DstPort 1
}
Line {
Name "e"
Labels [0, 0]
SrcBlock "Sum3"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
DstBlock "Derivative8"
DstPort 1
}
Branch {
Labels [-1, 1]
Points [0, -10]
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "Derivative8"
SrcPort 1
DstBlock "Saturation8"
DstPort 1
}
Line {
Name "de"
Labels [-1, 0]
SrcBlock "Saturation8"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "FLC8"
DstPort 1
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "Scopes"
DstPort 1
}
Line {
Name "du"
Labels [0, 0]
SrcBlock "FLC5"
SrcPort 1
DstBlock "Discrete-Time\nIntegrator5"
DstPort 1
}
Line {
Name "u"
Labels [0, 0]
SrcBlock "Discrete-Time\nIntegrator5"
SrcPort 1
DstBlock "Plant5"
DstPort 1
}
Line {
Name "du"
Labels [0, 0]
SrcBlock "FLC6"
SrcPort 1
DstBlock "Discrete-Time\nIntegrator6"
DstPort 1
}
Line {
Name "u"
Labels [0, 0]
SrcBlock "Discrete-Time\nIntegrator6"
SrcPort 1
DstBlock "Plant6"
DstPort 1
}
Line {
Name "du"
Labels [0, 0]
SrcBlock "FLC7"
SrcPort 1
DstBlock "Discrete-Time\nIntegrator7"
DstPort 1
}
Line {
Name "u"
Labels [0, 0]
SrcBlock "Discrete-Time\nIntegrator7"
SrcPort 1
DstBlock "Plant7"
DstPort 1
}
Line {
Name "du"
Labels [0, 0]
SrcBlock "FLC8"
SrcPort 1
DstBlock "Discrete-Time\nIntegrator8"
DstPort 1
}
Line {
Name "u"
Labels [0, 0]
SrcBlock "Discrete-Time\nIntegrator8"
SrcPort 1
DstBlock "Plant8"
DstPort 1
}
Annotation {
Name "[Figure 1] Plant works without the feedback and"
" controller."
Position [217, 47]
}
Annotation {
Name "[Figure 2] Plant works with the feedback and co"
"ntroller.\nThe controller is a FLC which has 1-in-1-out and 3rules."
Position [215, 187]
}
Annotation {
Name "[Figure 3] Plant works with the feedback and co"
"ntroller.\nThe controller is a FLC which has 1-in-1-out and 7rules."
Position [215, 397]
}
Annotation {
Name "[Figure 4] Plant works with the feedback and co"
"ntroller.\nThe controller is a FLC which has 2-in-1-out and 3rules."
Position [625, 37]
}
Annotation {
Name "[Figure 8] Plant works with the feedback and co"
"ntroller.\nThe controller is a FLC which has 2-in-1-out and 49rules."
Position [635, 322]
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -