📄 fangzhen.mdl
字号:
DstBlock "Demux2"
DstPort 1
}
Line {
SrcBlock "Relay"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Mux"
DstPort 1
}
Branch {
DstBlock "Data Type \nConversion"
DstPort 1
}
}
Line {
SrcBlock "Relay1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Mux"
DstPort 3
}
Branch {
DstBlock "Data Type \nConversion4"
DstPort 1
}
}
Line {
SrcBlock "Relay2"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Mux"
DstPort 5
}
Branch {
Points [0, 25]
DstBlock "Data Type \nConversion5"
DstPort 1
}
}
Line {
SrcBlock "Data Type \nConversion"
SrcPort 1
DstBlock "Logical\nOperator"
DstPort 1
}
Line {
SrcBlock "Logical\nOperator"
SrcPort 1
DstBlock "Data Type \nConversion1"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion1"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Logical\nOperator1"
SrcPort 1
DstBlock "Data Type \nConversion2"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion2"
SrcPort 1
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "Logical\nOperator2"
SrcPort 1
DstBlock "Data Type \nConversion3"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion3"
SrcPort 1
DstBlock "Mux"
DstPort 6
}
Line {
SrcBlock "Data Type \nConversion4"
SrcPort 1
DstBlock "Logical\nOperator1"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion5"
SrcPort 1
DstBlock "Logical\nOperator2"
DstPort 1
}
Annotation {
Position [335, 12]
}
}
}
Block {
BlockType SubSystem
Name "速度调节器"
Ports [2, 1]
Position [135, 250, 190, 310]
FontName "Arial"
FontSize 14
TreatAsAtomicUnit off
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "速度调节器"
Location [161, 74, 1024, 744]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 33, 55, 47]
}
Block {
BlockType Inport
Name "In2"
Position [40, 73, 70, 87]
Port "2"
}
Block {
BlockType Reference
Name "PID Controller"
Ports [1, 1]
Position [125, 25, 155, 55]
SourceBlock "simulink_extras/Additional\nLinear/PID Cont"
"roller"
SourceType "PID Controller"
P "0.0490*10"
I "0.057"
D "0"
}
Block {
BlockType Saturate
Name "Saturation"
Position [205, 25, 235, 55]
UpperLimit "40"
LowerLimit "-5.5*2.5"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [80, 30, 100, 50]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "Out1"
Position [260, 33, 290, 47]
}
Line {
SrcBlock "In2"
SrcPort 1
Points [15, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "PID Controller"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "PID Controller"
DstPort 1
}
}
}
Block {
BlockType Constant
Name "转速n"
Position [35, 250, 65, 280]
Value "1400"
}
Line {
SrcBlock "Bus Bar (thin horiz)"
SrcPort 1
DstBlock "Vdc"
DstPort 1
}
Line {
SrcBlock "Bus Bar (thin horiz)"
SrcPort 2
DstBlock "IGBT Inverter"
DstPort 2
}
Line {
SrcBlock "Vdc"
SrcPort 1
Points [35, 0]
DstBlock "IGBT Inverter"
DstPort 1
}
Line {
SrcBlock "电流调节器"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "IGBT Inverter"
DstPort 3
}
Branch {
Points [-55, 0]
DstBlock "Demux2"
DstPort 1
}
}
Line {
SrcBlock "IGBT Inverter"
SrcPort 3
DstBlock "Induction Motor\n"
DstPort 3
}
Line {
SrcBlock "IGBT Inverter"
SrcPort 1
DstBlock "Induction Motor\n"
DstPort 1
}
Line {
SrcBlock "IGBT Inverter"
SrcPort 2
DstBlock "Induction Motor\n"
DstPort 2
}
Line {
SrcBlock "Load_torque "
SrcPort 1
Points [25, 0]
DstBlock "Induction Motor\n"
DstPort 4
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "Demux1"
DstPort 1
}
Branch {
Points [0, -35; 5, 0]
Branch {
DstBlock "Scope1"
DstPort 1
}
Branch {
Points [0, 185; -420, 0; 0, -90]
DstBlock "电流调节器"
DstPort 2
}
}
}
Line {
SrcBlock "Demux1"
SrcPort 1
Points [10, 0; 0, 195]
DstBlock "Subsystem"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 2
Points [5, 0; 0, 225]
DstBlock "Subsystem"
DstPort 2
}
Line {
SrcBlock "Demux1"
SrcPort 3
Points [0, 255]
DstBlock "Subsystem"
DstPort 3
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [15, 0; 0, 30]
Branch {
Points [0, -85]
DstBlock "Scope1"
DstPort 2
}
Branch {
Points [0, 215; -20, 0]
Branch {
Points [-25, 0]
Branch {
Points [-30, 0]
DstBlock "Subsystem"
DstPort 4
}
Branch {
Points [0, 80]
DstBlock "Gain"
DstPort 1
}
}
Branch {
Points [0, 70]
DstBlock "Scope8"
DstPort 1
}
}
}
Line {
SrcBlock "Subsystem"
SrcPort 1
Points [-30, 0; 0, 10]
Branch {
Points [0, 25]
DstBlock "Mux"
DstPort 1
}
Branch {
Points [-115, 0]
Branch {
Labels [1, 0]
Points [-510, 0; 0, -150]
DstBlock "磁链\n调节器1"
DstPort 2
}
Branch {
Points [0, -25]
DstBlock "Scope10"
DstPort 1
}
}
}
Line {
SrcBlock "Subsystem"
SrcPort 2
Points [-10, 0; 0, 15]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [-20, 0; 0, 10]
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [-325, 0]
DstBlock " 转矩调节器"
DstPort 2
}
Line {
SrcBlock "速度调节器"
SrcPort 1
Points [30, 0]
Branch {
DstBlock " 转矩调节器"
DstPort 1
}
Branch {
Points [0, -45]
DstBlock "Scope9"
DstPort 1
}
}
Line {
SrcBlock "转速n"
SrcPort 1
DstBlock "速度调节器"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [-365, 0; 0, -200]
DstBlock "速度调节器"
DstPort 2
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "MATLAB Fcn2"
DstPort 1
}
Line {
SrcBlock "磁通调节器"
SrcPort 1
Points [5, 0]
Branch {
Points [5, 0; 0, -5]
DstBlock "Mux1"
DstPort 1
}
Branch {
Points [0, -90]
DstBlock "Scope5"
DstPort 1
}
}
Line {
SrcBlock " 转矩调节器"
SrcPort 1
Points [-5, 0; 0, -5; 10, 0; 0, -10]
Branch {
Points [0, -95]
DstBlock "Mux1"
DstPort 2
}
Branch {
Points [0, 25]
DstBlock "Scope6"
DstPort 1
}
}
Line {
SrcBlock "Subsystem"
SrcPort 4
Points [-140, 0; 0, -15]
Branch {
Points [0, 120]
DstBlock "Scope"
DstPort 1
}
Branch {
Points [-285, 0; 0, -200]
Branch {
DstBlock "Mux1"
DstPort 3
}
Branch {
Points [0, -5]
DstBlock "Scope3"
DstPort 1
}
}
}
Line {
SrcBlock "MATLAB Fcn2"
SrcPort 1
Points [10, 0; 0, -10]
Branch {
Points [0, -70]
DstBlock "Scope7"
DstPort 1
}
Branch {
DstBlock "电流调节器"
DstPort 1
}
}
Line {
SrcBlock "Demux2"
SrcPort 1
Points [20, 0; 0, 20]
DstBlock "Scope2"
DstPort 1
}
Line {
SrcBlock "Demux2"
SrcPort 2
Points [10, 0; 0, 15]
DstBlock "Scope2"
DstPort 2
}
Line {
SrcBlock "Demux2"
SrcPort 3
Points [0, 10; 65, 0; 0, 5; -10, 0]
DstBlock "Scope2"
DstPort 3
}
Line {
SrcBlock "Demux2"
SrcPort 4
Points [20, 0; 0, 5]
DstBlock "Scope2"
DstPort 4
}
Line {
SrcBlock "Demux2"
SrcPort 5
DstBlock "Scope2"
DstPort 5
}
Line {
SrcBlock "Demux2"
SrcPort 6
Points [50, 0; 0, -5]
DstBlock "Scope2"
DstPort 6
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [70, 0]
DstBlock "Scope4"
DstPort 1
}
Line {
SrcBlock "Subsystem"
SrcPort 3
Points [-535, 0]
DstBlock "磁通调节器"
DstPort 2
}
Line {
SrcBlock "磁链"
SrcPort 1
DstBlock "磁链\n调节器1"
DstPort 1
}
Line {
SrcBlock "磁链\n调节器1"
SrcPort 1
Points [15, 0; 0, -15]
DstBlock "磁通调节器"
DstPort 1
}
Line {
SrcBlock "Induction Motor\n"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -