📄 fuzzy_interpolation_model.mdl
字号:
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "-2"
YMax "2"
SaveName "ScopeData5"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Gain
Name "Kd"
Position [195, 176, 235, 214]
Gain "0.15"
}
Block {
BlockType TransferFcn
Name "Khau quan tinh\nbac nhat"
Position [745, 160, 810, 200]
Numerator "[529]"
Denominator "[0.004 1]"
}
Block {
BlockType TransferFcn
Name "Khau quan tinh\ntien xu ly"
Position [105, 22, 155, 58]
Orientation "left"
Denominator "[0.008 1]"
}
Block {
BlockType Gain
Name "Khuech dai"
Position [565, 156, 615, 204]
Gain "9.843"
}
Block {
BlockType Gain
Name "Kp"
Position [205, 109, 250, 151]
Gain "10.86"
}
Block {
BlockType Scope
Name "Momen\ndong co"
Ports [1]
Position [935, 264, 965, 296]
Location [5, 53, 1029, 719]
Open off
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "-9"
YMax "8"
SaveName "ScopeData9"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Gain
Name "Momen\nquan tinh J"
Position [855, 260, 910, 300]
Gain "0.001"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [1005, 131, 1035, 164]
Inputs "2"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [390, 161, 420, 194]
Inputs "2"
}
Block {
BlockType Mux
Name "Mux2"
Ports [2, 1]
Position [1005, 36, 1035, 69]
Inputs "2"
}
Block {
BlockType Step
Name "Nhieu do tai-gia toc 1"
Position [750, 40, 780, 70]
Time "0.5"
After "101.5"
SampleTime "0"
}
Block {
BlockType Reference
Name "PI Controller\nDK toc do"
Ports [1, 1]
Position [675, 165, 705, 195]
SourceBlock "simulink_extras/Additional\nLinear/PID "
"Controller"
SourceType "PID Controller"
P "0.118"
I "1.847"
D "0"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [390, 39, 420, 71]
Location [6, 54, 1020, 710]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-3"
SaveName "ScopeData10"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [400, 364, 430, 396]
Location [5, 53, 1029, 743]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-0.003826"
YMax "-0.003813"
SaveName "ScopeData11"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [285, 39, 315, 71]
Location [5, 53, 1029, 743]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "0"
YMax "19"
SaveName "ScopeData7"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope4"
Ports [1]
Position [315, 364, 345, 396]
Location [5, 53, 1029, 743]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-3"
SaveName "ScopeData8"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [640, 170, 660, 190]
ShowName off
IconShape "round"
Inputs "|+-"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [135, 170, 155, 190]
ShowName off
IconShape "round"
Inputs "|+-"
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [840, 156, 860, 189]
Inputs "-+"
}
Block {
BlockType Integrator
Name "Tich phan 1"
Ports [1, 1]
Position [885, 165, 910, 195]
}
Block {
BlockType Integrator
Name "Tich phan 2"
Ports [1, 1]
Position [950, 165, 975, 195]
}
Block {
BlockType Scope
Name "Upi-DK toc do"
Ports [1]
Position [755, 364, 785, 396]
Location [5, 53, 1029, 743]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-2"
YMax "2"
SaveName "ScopeData4"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Uref-DK bien tan"
Ports [1]
Position [520, 364, 550, 396]
Location [6, 54, 1020, 710]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-10.5"
YMax "-9.5"
SaveName "ScopeData6"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Derivative
Name "Vi phan"
Position [250, 179, 280, 211]
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Outport
Name "Out1"
Position [1055, 48, 1085, 62]
}
Block {
BlockType Outport
Name "Out2"
Position [1055, 143, 1085, 157]
Port "2"
}
Block {
BlockType Outport
Name "Out3"
Position [190, 248, 220, 262]
Port "3"
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "PI Controller\nDK toc do"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Out2"
DstPort 1
}
Line {
SrcBlock "Tich phan 2"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
DstBlock "Mux"
DstPort 2
}
Branch {
Points [0, 160; -845, 0]
DstBlock "Sum3"
DstPort 2
}
}
Line {
SrcBlock "PI Controller\nDK toc do"
SrcPort 1
Points [5, 0; 10, 0]
Branch {
DstBlock "Khau quan tinh\nbac nhat"
DstPort 1
}
Branch {
Points [0, 200]
DstBlock "Upi-DK toc do"
DstPort 1
}
}
Line {
SrcBlock "Vi phan"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [0, 185]
DstBlock "Scope4"
DstPort 1
}
Branch {
DstBlock "Chuan hoa Kd"
DstPort 1
}
}
Line {
SrcBlock "Kp"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [0, -75]
DstBlock "Scope3"
DstPort 1
}
Branch {
DstBlock "Chuan hoa Kp"
DstPort 1
}
}
Line {
SrcBlock "Kd"
SrcPort 1
DstBlock "Vi phan"
DstPort 1
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Khuech dai"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "Sum2"
DstPort 1
}
Branch {
Points [0, -160; 370, 0]
DstBlock "Mux2"
DstPort 1
}
}
Line {
Labels [2, 0]
SrcBlock "Tich phan 1"
SrcPort 1
Points [5, 0; 10, 0]
Branch {
Points [0, -120]
DstBlock "Mux2"
DstPort 2
}
Branch {
DstBlock "Tich phan 2"
DstPort 1
}
Branch {
Points [0, 55; -280, 0]
DstBlock "Sum2"
DstPort 2
}
}
Line {
SrcBlock "Sum4"
SrcPort 1
Points [0, 5]
DstBlock "Tich phan 1"
DstPort 1
}
Line {
SrcBlock "Sum3"
SrcPort 1
Points [5, 0]
Branch {
Points [10, 0]
Branch {
Points [0, 15]
DstBlock "Kd"
DstPort 1
}
Branch {
Points [0, -50]
DstBlock "Kp"
DstPort 1
}
}
Branch {
Points [0, 75]
DstBlock "Out3"
DstPort 1
}
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Bo dieu\nkhien mo"
DstPort 1
}
Line {
SrcBlock "Bo dieu\nkhien mo"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
DstBlock "Chuan hoa U"
DstPort 1
}
Branch {
Points [0, 200]
DstBlock "Uref-DK bien tan"
DstPort 1
}
}
Line {
SrcBlock "Chuan hoa U"
SrcPort 1
DstBlock "Khuech dai"
DstPort 1
}
Line {
SrcBlock "Chuan hoa Kd"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 185]
DstBlock "Scope2"
DstPort 1
}
Branch {
Points [0, -10]
DstBlock "Mux1"
DstPort 2
}
}
Line {
SrcBlock "Chuan hoa Kp"
SrcPort 1
Points [0, 0; 30, 0]
Branch {
Points [0, -75]
DstBlock "Scope1"
DstPort 1
}
Branch {
Points [0, 40]
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "Khau quan tinh\nbac nhat"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
DstBlock "Sum4"
DstPort 2
}
Branch {
Points [0, 100]
Branch {
Points [0, 100]
DstBlock "Gia toc dong co"
DstPort 1
}
Branch {
DstBlock "Momen\nquan tinh J"
DstPort 1
}
}
}
Line {
SrcBlock "Nhieu do tai-gia toc 1"
SrcPort 1
Points [40, 0]
DstBlock "Sum4"
DstPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -