📄 work1.mdl
字号:
Floating off
Location [168, 172, 984, 703]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace on
SaveName "ScopeData4"
DataFormat "Array"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scopes"
Ports [1]
Position [910, 269, 940, 301]
Floating off
Location [188, 131, 873, 604]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace on
SaveName "ScopesData"
DataFormat "Array"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Step
Name "Step"
Description "Step1"
Position [105, 80, 135, 110]
Time "0"
Before "0"
After "30"
SampleTime "0"
VectorParams1D on
Port {
PortNumber 1
Name "r"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Step
Name "Step1"
Position [25, 230, 55, 260]
Time "0"
Before "0"
After "30"
SampleTime "0"
VectorParams1D on
Port {
PortNumber 1
Name "r"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Step
Name "Step2"
Position [25, 440, 55, 470]
Time "0"
Before "0"
After "30"
SampleTime "0"
VectorParams1D on
Port {
PortNumber 1
Name "r"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Step
Name "Step3"
Position [395, 80, 425, 110]
Time "0"
Before "0"
After "30"
SampleTime "0"
VectorParams1D on
Port {
PortNumber 1
Name "r"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Step
Name "Step4"
Position [405, 365, 435, 395]
Time "0"
Before "0"
After "30"
SampleTime "0"
VectorParams1D on
Port {
PortNumber 1
Name "r"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [85, 235, 105, 255]
ShowName off
IconShape "round"
Inputs "|+-"
SaturateOnIntegerOverflow on
Port {
PortNumber 1
Name "e"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [85, 445, 105, 465]
ShowName off
IconShape "round"
Inputs "|+-"
SaturateOnIntegerOverflow on
Port {
PortNumber 1
Name "e"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [445, 85, 465, 105]
ShowName off
IconShape "round"
Inputs "|+-"
SaturateOnIntegerOverflow on
Port {
PortNumber 1
Name "e"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [455, 370, 475, 390]
ShowName off
IconShape "round"
Inputs "|+-"
SaturateOnIntegerOverflow on
Port {
PortNumber 1
Name "e"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
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 "Plant1"
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 "Scope1"
DstPort 1
}
Branch {
Points [0, 30]
DstBlock "Mux2"
DstPort 2
}
}
}
Line {
Name "r"
Labels [0, 0]
SrcBlock "Step1"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
Name "e"
Labels [0, 0]
SrcBlock "Sum"
SrcPort 1
DstBlock "FLC1"
DstPort 1
}
Line {
Name "y"
Labels [0, 0; 1, 0]
SrcBlock "Plant2"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "Scope2"
DstPort 1
}
Branch {
Points [0, -170]
DstBlock "Mux2"
DstPort 3
}
Branch {
Points [0, 70; -255, 0]
DstBlock "Sum1"
DstPort 2
}
}
Line {
Name "u"
Labels [0, 0]
SrcBlock "FLC2"
SrcPort 1
DstBlock "Plant2"
DstPort 1
}
Line {
Name "r"
Labels [0, 0]
SrcBlock "Step2"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
Name "e"
Labels [0, 0]
SrcBlock "Sum1"
SrcPort 1
DstBlock "FLC2"
DstPort 1
}
Line {
Name "y"
Labels [0, 0]
SrcBlock "Plant3"
SrcPort 1
Points [0, 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 "Scope3"
DstPort 1
}
Branch {
Points [0, 200]
DstBlock "Mux2"
DstPort 4
}
}
}
Line {
Name "u"
Labels [0, 0]
SrcBlock "FLC3"
SrcPort 1
DstBlock "Plant3"
DstPort 1
}
Line {
Name "r"
Labels [0, 0]
SrcBlock "Step3"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
Name "e"
Labels [0, 0]
SrcBlock "Sum2"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
DstBlock "Derivative"
DstPort 1
}
Branch {
Labels [-1, 1]
Points [0, -10]
DstBlock "Mux"
DstPort 1
}
}
Line {
SrcBlock "Derivative"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
Name "de"
Labels [-1, 0]
SrcBlock "Saturation"
SrcPort 1
Points [5, 0; 0, -55]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "FLC3"
DstPort 1
}
Line {
Name "y"
Labels [0, 0]
SrcBlock "Plant4"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [10, 0]
Branch {
Labels [-1, 1]
Points [0, 145; -370, 0]
DstBlock "Sum3"
DstPort 2
}
Branch {
Labels [1, 0]
DstBlock "Scope4"
DstPort 1
}
}
Branch {
Points [0, -75]
DstBlock "Mux2"
DstPort 5
}
}
Line {
Name "u"
Labels [0, 0]
SrcBlock "FLC4"
SrcPort 1
DstBlock "Plant4"
DstPort 1
}
Line {
Name "r"
Labels [0, 0]
SrcBlock "Step4"
SrcPort 1
DstBlock "Sum3"
DstPort 1
}
Line {
Name "e"
Labels [0, 0]
SrcBlock "Sum3"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
DstBlock "Derivative1"
DstPort 1
}
Branch {
Labels [-1, 1]
Points [0, -10]
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "Derivative1"
SrcPort 1
DstBlock "Saturation1"
DstPort 1
}
Line {
Name "de"
Labels [-1, 0]
SrcBlock "Saturation1"
SrcPort 1
Points [5, 0; 0, -55]
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "FLC4"
DstPort 1
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "Scopes"
DstPort 1
}
Line {
Name "u"
Labels [1, 0]
SrcBlock "FLC1"
SrcPort 1
DstBlock "Plant1"
DstPort 1
}
Annotation {
Position [217, 47]
Text "[Figure 1] Plant works without the feedback and"
" controller."
}
Annotation {
Position [215, 187]
Text "[Figure 2] Plant works with the feedback and co"
"ntroller.\nThe controller is a FLC which has 1-in-1-out and 3rules."
}
Annotation {
Position [215, 397]
Text "[Figure 3] Plant works with the feedback and co"
"ntroller.\nThe controller is a FLC which has 1-in-1-out and 7rules."
}
Annotation {
Position [625, 37]
Text "[Figure 4] Plant works with the feedback and co"
"ntroller.\nThe controller is a FLC which has 2-in-1-out and 3rules."
}
Annotation {
Position [635, 322]
Text "[Figure 5] Plant works with the feedback and co"
"ntroller.\nThe controller is a FLC which has 2-in-1-out and 49rules."
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -