📄 fangzhen.mdl
字号:
SrcBlock "Transfer Fcn"
SrcPort 1
Points [0, 0; -15, 0]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
Points [10, 0]
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [0, 30]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Demux2"
SrcPort 2
Points [-25, 0]
Branch {
Points [-5, 0; 0, 120]
DstBlock "Product"
DstPort 2
}
Branch {
Points [-20, 0]
DstBlock "it"
DstPort 1
}
}
Line {
SrcBlock "Product"
SrcPort 1
Points [-30, 0; 0, -5]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [0, -5; -10, 0]
Branch {
Points [0, -45; 595, 0; 0, -115]
DstBlock "Mux"
DstPort 1
}
Branch {
Points [0, 5]
DstBlock "0m"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [-65, 0]
DstBlock "fr"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "In3"
SrcPort 1
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "In4"
SrcPort 1
Points [0, -10]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [0, 5]
DstBlock "Saturation"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Vdc"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 1]
Position [555, 100, 575, 135]
Orientation "up"
NamePlacement "alternate"
SourceBlock "powerlib2/Electrical\nSources/DC Voltage Source"
SourceType "DC Voltage Source"
V "780"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Constant
Name "磁链"
Position [65, 135, 95, 165]
Value "0.96"
}
Block {
BlockType SubSystem
Name "磁链\n调节器1"
Ports [2, 1]
Position [120, 135, 175, 195]
FontName "Arial"
FontSize 14
TreatAsAtomicUnit off
System {
Name "磁链\n调节器1"
Location [409, 372, 773, 523]
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 Gain
Name "Gain1"
Position [145, 25, 175, 55]
Gain "1/34.7e-3"
}
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 "Gain1"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
Points [15, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "磁通调节器"
Ports [2, 1]
Position [225, 135, 280, 195]
FontName "Arial"
FontSize 14
TreatAsAtomicUnit off
System {
Name "磁通调节器"
Location [407, 340, 775, 543]
Open on
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 [145, 25, 175, 55]
SourceBlock "simulink_extras/Additional\nLinear/PID Cont"
"roller"
SourceType "PID Controller"
P "10"
I "20"
D "0"
}
Block {
BlockType Saturate
Name "Saturation"
Position [195, 25, 225, 55]
UpperLimit "267.66"
LowerLimit "-277"
}
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 "In1"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
Points [15, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "PID Controller"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "PID Controller"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "电流调节器"
Ports [2, 1]
Position [470, 151, 535, 209]
NamePlacement "alternate"
TreatAsAtomicUnit off
MaskType "Regulateur de courant a hysteresis"
MaskPromptString "Hysteresis band (A)"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "h=@1;"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "20"
System {
Name "电流调节器"
Location [227, 450, 691, 644]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Iabc*"
Position [25, 128, 55, 142]
}
Block {
BlockType Inport
Name "Iabc"
Position [25, 33, 55, 47]
Port "2"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion"
Position [260, 44, 280, 66]
ShowName off
DataType "boolean"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion1"
Position [345, 44, 365, 66]
ShowName off
DataType "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion2"
Position [345, 94, 365, 116]
ShowName off
DataType "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion3"
Position [345, 144, 365, 166]
ShowName off
DataType "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion4"
Position [250, 94, 270, 116]
ShowName off
DataType "boolean"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion5"
Position [250, 144, 270, 166]
ShowName off
DataType "boolean"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 3]
Position [85, 20, 90, 60]
ShowName off
Outputs "3"
}
Block {
BlockType Demux
Name "Demux2"
Ports [1, 3]
Position [85, 115, 90, 155]
ShowName off
Outputs "3"
}
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [1, 1]
Position [295, 45, 325, 65]
ShowName off
Operator "NOT"
}
Block {
BlockType Logic
Name "Logical\nOperator1"
Ports [1, 1]
Position [290, 95, 320, 115]
ShowName off
Operator "NOT"
}
Block {
BlockType Logic
Name "Logical\nOperator2"
Ports [1, 1]
Position [290, 145, 320, 165]
ShowName off
Operator "NOT"
}
Block {
BlockType Mux
Name "Mux"
Ports [6, 1]
Position [400, 15, 405, 170]
ShowName off
Inputs "6"
}
Block {
BlockType Relay
Name "Relay"
Position [200, 17, 220, 43]
ShowName off
OnSwitchValue "h/2"
OffSwitchValue "-h/2"
}
Block {
BlockType Relay
Name "Relay1"
Position [200, 67, 220, 93]
ShowName off
OnSwitchValue "h/2"
OffSwitchValue "-h/2"
}
Block {
BlockType Relay
Name "Relay2"
Position [200, 117, 220, 143]
ShowName off
OnSwitchValue "h/2"
OffSwitchValue "-h/2"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [160, 19, 180, 41]
ShowName off
Inputs "-+"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [160, 69, 180, 91]
ShowName off
Inputs "-+"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [160, 119, 180, 141]
ShowName off
Inputs "-+"
}
Block {
BlockType Outport
Name "Pulses"
Position [425, 88, 455, 102]
InitialOutput "0"
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Relay"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Relay1"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 2
Points [25, 0; 0, 35]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Pulses"
DstPort 1
}
Line {
SrcBlock "Iabc"
SrcPort 1
DstBlock "Demux1"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Relay2"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 3
Points [15, 0; 0, 70]
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Demux2"
SrcPort 3
Points [50, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Demux2"
SrcPort 2
Points [45, 0; 0, -50]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Demux2"
SrcPort 1
Points [35, 0; 0, -85]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Iabc*"
SrcPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -