📄 vectorcontrol111.mdl
字号:
}
Line {
SrcBlock "Demux1"
SrcPort 3
Points [0, 45; 5, 0]
Branch {
DstBlock "Sum4"
DstPort 2
}
Branch {
Points [0, 200]
DstBlock "Mux2"
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 "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]
DstBlock "Mux"
DstPort 5
}
}
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
DstBlock "Mux"
DstPort 6
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Scope1"
DstPort 1
}
Line {
SrcBlock "Mux3"
SrcPort 1
Points [115, 0; 0, -30]
DstBlock "Scope1"
DstPort 2
}
Line {
SrcBlock "Mux2"
SrcPort 1
Points [235, 0]
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 [5, 56, 1285, 997]
Open off
NumInputPorts "4"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
YMin "-1250~-30~-20~-10"
YMax "1250~40~55~40"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope1"
Ports [5]
Position [665, 24, 705, 136]
Location [5, 56, 1285, 997]
Open off
NumInputPorts "5"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
axes5 "%<SignalLabel>"
}
YMin "2.8~12~0~45~-5"
YMax "4.1~22~1.75~80~55"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope2"
Ports [4]
Position [1215, 857, 1250, 1063]
Location [5, 56, 1285, 997]
Open off
NumInputPorts "4"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
YMin "-15~-17.5~0~-1"
YMax "15~17.5~17~1"
SaveName "ScopeData3"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Constant
Name "Tl"
Position [1085, 405, 1115, 435]
Orientation "left"
FontSize 12
Value "10"
}
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 "243"
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->dq"
Ports [2, 2]
Position [855, 645, 910, 725]
Orientation "left"
FontSize 12
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskType "dq/ABC convert"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "ab->dq"
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
Name "Iab"
Position [25, 38, 55, 52]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Teta"
Position [25, 88, 55, 102]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Fcn
Name "Fcn"
Position [130, 26, 300, 54]
NamePlacement "alternate"
ShowName off
Expr "u[1]*cos(u[3])+u[2]*sin(u[3])"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [130, 87, 300, 113]
NamePlacement "alternate"
ShowName off
Expr "-u[1]*sin(u[3])+u[2]*cos(u[3])"
}
Block {
BlockType Gain
Name "Gain"
Position [345, 23, 385, 57]
}
Block {
BlockType Gain
Name "Gain1"
Position [345, 84, 390, 116]
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [85, 19, 90, 121]
ShowName off
Inputs "2"
}
Block {
BlockType Outport
Name "Id"
Position [480, 33, 510, 47]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Iq"
Position [480, 93, 510, 107]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Gain"
DstPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -