📄 vectorcontrol2.mdl
字号:
Points [40, 0; 0, 165; 35, 0]
Branch {
DstBlock "Sum4"
DstPort 1
}
Branch {
Points [0, 110]
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "Demux1"
SrcPort 2
Points [125, 0]
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Demux1"
SrcPort 3
Points [0, 45; 30, 0]
Branch {
DstBlock "Sum4"
DstPort 2
}
Branch {
Points [0, 165]
DstBlock "Mux1"
DstPort 2
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Relay6"
DstPort 1
}
Line {
SrcBlock "Sum3"
SrcPort 1
DstBlock "Relay4"
DstPort 1
}
Line {
SrcBlock "Sum4"
SrcPort 1
DstBlock "Relay5"
DstPort 1
}
Line {
SrcBlock "Switch"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [0, -10]
DstBlock "Scope1"
DstPort 1
}
Line {
SrcBlock "Relay6"
SrcPort 1
Points [5, 0]
Branch {
Points [0, -25]
DstBlock "Mux"
DstPort 1
}
Branch {
Points [0, 35]
DstBlock "Switch"
DstPort 2
}
}
Line {
SrcBlock "Relay4"
SrcPort 1
Points [15, 0]
Branch {
Points [0, -10; 320, 0]
DstBlock "Mux"
DstPort 3
}
Branch {
Points [0, 55]
DstBlock "Switch1"
DstPort 2
}
}
Line {
SrcBlock "Relay5"
SrcPort 1
Points [10, 0]
Branch {
Points [0, 50]
DstBlock "Switch2"
DstPort 2
}
Branch {
Points [0, -25; 180, 0; 0, 15; 110, 0]
Branch {
DstBlock "Mux"
DstPort 5
}
Branch {
Points [0, 170]
DstBlock "Scope1"
DstPort 2
}
}
}
Line {
SrcBlock "Switch1"
SrcPort 1
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [5, 0; 0, 5]
DstBlock "Switch"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [5, 0; 0, -5]
DstBlock "Switch"
DstPort 3
}
Line {
SrcBlock "Constant3"
SrcPort 1
Points [5, 0; 0, 5]
DstBlock "Switch1"
DstPort 1
}
Line {
SrcBlock "Constant2"
SrcPort 1
Points [5, 0; 0, -5]
DstBlock "Switch1"
DstPort 3
}
Line {
SrcBlock "Constant5"
SrcPort 1
Points [5, 0; 0, 5]
DstBlock "Switch2"
DstPort 1
}
Line {
SrcBlock "Constant4"
SrcPort 1
Points [5, 0; 0, -5]
DstBlock "Switch2"
DstPort 3
}
Line {
SrcBlock "Switch2"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "Mux"
DstPort 6
}
Branch {
Points [0, 125]
DstBlock "Scope1"
DstPort 3
}
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "pulses"
DstPort 1
}
}
}
Block {
BlockType Scope
Name "Scope"
Ports [4]
Position [1340, 382, 1375, 588]
Location [1, 52, 1281, 993]
Open off
NumInputPorts "4"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
YMin "-1250~-750~10~-2500"
YMax "1250~750~25~2000"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope1"
Ports [4]
Position [665, 22, 705, 133]
Location [198, 358, 1226, 1035]
Open off
NumInputPorts "4"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
YMin "-60~3.20621~5~0"
YMax "5~3.20621~22.5~50"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope2"
Ports [4]
Position [195, 42, 235, 153]
Orientation "left"
NamePlacement "alternate"
Location [1, 52, 1281, 993]
Open off
NumInputPorts "4"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
YMin "-1.43~156.625~25.1~-1117"
YMax "-1.31~156.9~26.5~-1106"
SaveName "ScopeData3"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [80, 494, 120, 606]
Orientation "left"
NamePlacement "alternate"
Location [44, 139, 1072, 816]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "0"
YMax "100"
SaveName "ScopeData4"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Constant
Name "Tl"
Position [1085, 405, 1115, 435]
Orientation "left"
FontSize 12
Value "5"
}
Block {
BlockType UnitDelay
Name "Unit Delay"
Position [1120, 653, 1155, 687]
Orientation "left"
NamePlacement "alternate"
SampleTime "-1"
}
Block {
BlockType UnitDelay
Name "Unit Delay1"
Position [1130, 808, 1165, 842]
Orientation "left"
NamePlacement "alternate"
SampleTime "-1"
}
Block {
BlockType Reference
Name "Universal Bridge"
Ports [1, 0, 0, 0, 0, 3, 2]
Position [860, 462, 915, 538]
Orientation "left"
SourceBlock "powerlib/Power\nElectronics/Universal Bridge"
SourceType "Universal Bridge"
ShowPortLabels on
Arms "3"
SnubberResistance "1e5"
SnubberCapacitance "inf"
Device "IGBT / Diodes"
Ron "1e-3"
Lon "0"
ForwardVoltages "[ 0 0 ]"
ForwardVoltage "0"
GTOparameters "[ 10e-6 , 20e-6 ]"
IGBTparameters "[ 1e-6 , 2e-6 ]"
Measurements "None"
}
Block {
BlockType Reference
Name "Voltage Measurement"
Ports [0, 1, 0, 0, 0, 2]
Position [1195, 328, 1220, 352]
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
Port {
PortNumber 1
Name "Uab"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType SubSystem
Name "ab->abc"
Ports [1, 1]
Position [755, 212, 815, 308]
FontSize 12
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskType "dq/ABC convert"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "ab->abc"
Location [2, 82, 1270, 977]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "156"
Block {
BlockType Inport
Name "Iab*"
Position [30, 63, 60, 77]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Fcn
Name "Fcn"
Position [130, 56, 300, 84]
NamePlacement "alternate"
ShowName off
Expr "-0.5*u[1]+0.866*u[2]"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [130, 97, 300, 123]
NamePlacement "alternate"
ShowName off
Expr "-0.5*u[1]-0.866*u[2]"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [130, 16, 300, 44]
NamePlacement "alternate"
ShowName off
Expr "u[1]"
}
Block {
BlockType Gain
Name "Gain"
Position [345, 53, 385, 87]
Gain "(2/3)^0.5"
}
Block {
BlockType Gain
Name "Gain1"
Position [345, 94, 390, 126]
Gain "(2/3)^0.5"
}
Block {
BlockType Gain
Name "Gain2"
Position [345, 13, 385, 47]
Gain "(2/3)^0.5"
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1]
Position [450, 12, 460, 128]
ShowName off
Inputs "3"
}
Block {
BlockType Outport
Name "Iabc*"
Position [480, 63, 510, 77]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Iabc*"
DstPort 1
}
Line {
SrcBlock "Fcn2"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "Iab*"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Fcn"
DstPort 1
}
Branch {
Points [0, -40]
DstBlock "Fcn2"
DstPort 1
}
Branch {
Points [0, 40]
DstBlock "Fcn1"
DstPort 1
}
}
}
}
Block {
BlockType SubSystem
Name "ab->abc1"
Ports [2, 2]
Position [855, 645, 910, 725]
Orientation "left"
NamePlacement "alternate"
FontSize 12
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskType "dq/ABC convert"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "ab->abc1"
Location [2, 82, 1270, 977]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "195"
Block {
BlockType Inport
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -