📄 fcpid_jp.mdl
字号:
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData3"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope5"
Ports [1]
Position [195, 403, 225, 437]
Location [5, 60, 1029, 771]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData4"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope6"
Ports [2]
Position [280, 110, 310, 145]
Location [5, 60, 1029, 771]
Open off
NumInputPorts "2"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
}
YMin "-5~-5"
YMax "5~5"
SaveName "ScopeData5"
DataFormat "StructureWithTime"
}
Block {
BlockType Step
Name "Step"
Position [20, 35, 50, 65]
SampleTime "0"
}
Block {
BlockType Step
Name "Step3"
Position [15, 450, 45, 480]
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [90, 40, 110, 60]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [75, 160, 95, 180]
ShowName off
IconShape "round"
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [105, 315, 125, 335]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [85, 455, 105, 475]
ShowName off
IconShape "round"
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum5"
Ports [2, 1]
Position [435, 170, 455, 190]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum6"
Ports [2, 1]
Position [500, 465, 520, 485]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType ToWorkspace
Name "To Workspace"
Position [685, 164, 730, 196]
VariableName "y1_fc"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace1"
Position [370, 33, 400, 67]
ShowName off
VariableName "y1"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace2"
Position [415, 309, 445, 341]
ShowName off
VariableName "y2"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace3"
Position [770, 459, 815, 491]
VariableName "y2_fc"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [210, 28, 315, 72]
ShowName off
Denominator "[400 40 1]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn1"
Position [555, 157, 620, 203]
ShowName off
Denominator "[400 40 1]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn3"
Position [215, 304, 305, 346]
ShowName off
Denominator "[400 40 1]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn4"
Position [595, 454, 660, 496]
ShowName off
Denominator "[400 40 1]"
}
Block {
BlockType TransportDelay
Name "Transport\nDelay1"
Position [330, 310, 355, 340]
DelayTime "120"
}
Block {
BlockType TransportDelay
Name "Transport\nDelay3"
Position [680, 460, 705, 490]
ShowName off
DelayTime "120"
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
Points [0, 45; -245, 0]
DstBlock "Sum"
DstPort 2
}
Branch {
Points [0, 25]
DstBlock "Mux2"
DstPort 1
}
Branch {
DstBlock "To Workspace1"
DstPort 1
}
}
Line {
SrcBlock "PID Controller"
SrcPort 1
DstBlock "Transfer Fcn"
DstPort 1
}
Line {
SrcBlock "Step"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Sum"
DstPort 1
}
Branch {
DstBlock "Sum1"
DstPort 1
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "PID Controller"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn1"
SrcPort 1
Points [25, 0; 15, 0]
Branch {
Points [0, 70; -580, 0]
DstBlock "Sum1"
DstPort 2
}
Branch {
DstBlock "To Workspace"
DstPort 1
}
Branch {
Points [0, -85]
DstBlock "Mux2"
DstPort 2
}
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Fuzzy Logic \nController"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [-5, 0; 15, 0]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
DstBlock "Derivative"
DstPort 1
}
}
Line {
SrcBlock "Transfer Fcn4"
SrcPort 1
DstBlock "Transport\nDelay3"
DstPort 1
}
Line {
SrcBlock "Step3"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Sum3"
DstPort 1
}
Branch {
Points [0, -140]
DstBlock "Sum2"
DstPort 1
}
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Fuzzy Logic \nController1"
DstPort 1
}
Line {
SrcBlock "Sum3"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "Gain2"
DstPort 1
}
Branch {
DstBlock "Derivative1"
DstPort 1
}
}
Line {
SrcBlock "Derivative1"
SrcPort 1
DstBlock "Gain3"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
DstBlock "Saturation"
DstPort 1
}
Branch {
Points [0, -35]
DstBlock "Scope6"
DstPort 2
}
}
Line {
SrcBlock "Derivative"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [0, -45]
DstBlock "Scope5"
DstPort 1
}
Branch {
DstBlock "Saturation2"
DstPort 1
}
}
Line {
SrcBlock "Fuzzy Logic \nController"
SrcPort 1
DstBlock "Gain4"
DstPort 1
}
Line {
SrcBlock "Fuzzy Logic \nController1"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Gain5"
DstPort 1
}
Branch {
DstBlock "Scope4"
DstPort 1
}
}
Line {
SrcBlock "Memory"
SrcPort 1
Points [-10, 0]
DstBlock "Sum5"
DstPort 2
}
Line {
Labels [1, 0]
SrcBlock "Gain4"
SrcPort 1
DstBlock "Sum5"
DstPort 1
}
Line {
SrcBlock "Sum5"
SrcPort 1
Points [25, 0; 40, 0]
Branch {
DstBlock "Transfer Fcn1"
DstPort 1
}
Branch {
Points [-10, 0; 0, 35]
DstBlock "Memory"
DstPort 1
}
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Saturation1"
DstPort 1
}
Line {
Labels [2, 0]
SrcBlock "Saturation1"
SrcPort 1
Points [15, 0; 0, -15]
Branch {
DstBlock "Mux"
DstPort 2
}
Branch {
Points [0, -70]
DstBlock "Scope6"
DstPort 1
}
}
Line {
SrcBlock "Gain5"
SrcPort 1
DstBlock "Sum6"
DstPort 1
}
Line {
SrcBlock "Sum6"
SrcPort 1
Points [0, 0; 50, 0]
Branch {
DstBlock "Transfer Fcn4"
DstPort 1
}
Branch {
Points [0, 35]
DstBlock "Memory1"
DstPort 1
}
}
Line {
SrcBlock "Memory1"
SrcPort 1
Points [-10, 0]
DstBlock "Sum6"
DstPort 2
}
Line {
SrcBlock "Saturation2"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
DstBlock "Saturation3"
DstPort 1
}
Line {
SrcBlock "Saturation3"
SrcPort 1
Points [15, 0; 0, -20]
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "Scope3"
DstPort 1
}
Line {
SrcBlock "Transport\nDelay3"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
DstBlock "To Workspace3"
DstPort 1
}
Branch {
Points [0, 80; -640, 0]
DstBlock "Sum3"
DstPort 2
}
Branch {
Points [0, -135]
DstBlock "Mux3"
DstPort 2
}
}
Line {
SrcBlock "Mux3"
SrcPort 1
DstBlock "Scope1"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn3"
SrcPort 1
DstBlock "Transport\nDelay1"
DstPort 1
}
Line {
SrcBlock "PID Controller1"
SrcPort 1
DstBlock "Transfer Fcn3"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "PID Controller1"
DstPort 1
}
Line {
SrcBlock "Transport\nDelay1"
SrcPort 1
Points [-5, 0; 25, 0]
Branch {
Points [0, 45; -265, 0]
DstBlock "Sum2"
DstPort 2
}
Branch {
DstBlock "To Workspace2"
DstPort 1
}
Branch {
Points [0, -30; 355, 0; 0, 25]
DstBlock "Mux3"
DstPort 1
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -