📄 svpwm031004.mdl
字号:
PSBOutputType "111"
}
Block {
BlockType Reference
Name "Induction Motor\n50 HP / 460 V"
Tag "PoWeRsYsTeMbLoCk"
Ports [4, 1]
Position [625, 207, 700, 293]
NamePlacement "alternate"
SourceBlock "powerlib2/Machines/Asynchronous Machine\nSI Uni"
"ts"
SourceType "Asynchronous Machine"
rotType "Squirrel-cage"
ctrl "Stationary"
x1 "[ 50*746, 460, 60 ]"
x2 "[ 0.087 0.8e-3 ]"
x3 "[ 0.228 0.8e-3 ]"
x4 "34.7e-3"
x5 "[1.662 0.1 2 ]"
x6 "[ 1, 0 , 0 , 0 , 0 , 0 , 0 , 0 ]"
PSBOutputType "1110"
iounits "1"
}
Block {
BlockType Step
Name "Load_torque"
Position [545, 338, 575, 362]
NamePlacement "alternate"
Time "2"
Before "0"
After "200"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType Constant
Name "Load_torque "
Position [545, 293, 575, 317]
NamePlacement "alternate"
Value "0"
VectorParams1D on
}
Block {
BlockType Reference
Name "Multimeter"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [0, 1]
Position [540, 392, 600, 438]
SourceBlock "powerlib2/Measurements/Multimeter"
SourceType "MultimeterPSB"
sel "[1 3 5 7 8 9]"
L "15"
Gain "[1 1 1 1 1 1]"
yselected "{'Usw1: IGBT Inverter','Usw3: IGBT Inverter','U"
"sw5: IGBT Inverter','Ubc: IGBT Inverter','Uca: IGBT Inverter','Udc: IGBT Inve"
"rter'};"
PSBOutputType "1"
PSBequivalent "0"
AxesSetting "[0,0.1,-100,100]"
Display "0"
SavedBlockNames "-11"
}
Block {
BlockType Scope
Name "Scope"
Ports [4]
Position [855, 123, 890, 207]
BackgroundColor "green"
NamePlacement "alternate"
Floating off
Location [637, 101, 1147, 739]
Open off
NumInputPorts "4"
TickLabels "OneTimeTick"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
Grid "on"
TimeRange "0.03"
YMin "-1000~-500~0~0"
YMax "1000~500~400~6"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitDataPoints off
MaxDataPoints "5000"
Decimation "20"
SampleInput off
SampleTime "5e-6"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [640, 396, 670, 434]
BackgroundColor "green"
NamePlacement "alternate"
Floating off
Location [197, 321, 707, 627]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
Grid "on"
TimeRange "0.03"
YMin "-1000"
YMax "1000"
SaveToWorkspace off
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints off
MaxDataPoints "5000"
Decimation "20"
SampleInput off
SampleTime "5e-6"
}
Block {
BlockType Reference
Name "Vab"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [650, 123, 675, 147]
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PSBOutputType "0"
PSBequivalent "0"
Port {
PortNumber 1
Name "Vab (V)"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Reference
Name "Vdc"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 1]
Position [460, 180, 480, 215]
Orientation "up"
NamePlacement "alternate"
SourceBlock "powerlib2/Electrical\nSources/DC Voltage Source"
SourceType "DC Voltage Source"
V "780"
mesure "None"
PSBOutputType "1"
}
Line {
SrcBlock "Induction Motor\n50 HP / 460 V"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
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 {
Name "Vab (V)"
Labels [-1, 0]
SrcBlock "Vab"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
Labels [3, 1]
SrcBlock "Demux"
SrcPort 3
Points [20, 0; 0, -110]
DstBlock "Scope"
DstPort 3
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [30, 0; 0, -55]
DstBlock "Scope"
DstPort 4
}
Line {
SrcBlock "IGBT Inverter"
SrcPort 3
DstBlock "Induction Motor\n50 HP / 460 V"
DstPort 3
}
Line {
SrcBlock "IGBT Inverter"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Induction Motor\n50 HP / 460 V"
DstPort 1
}
Branch {
Points [0, -90]
DstBlock "Vab"
DstPort 1
}
}
Line {
SrcBlock "IGBT Inverter"
SrcPort 2
Points [15, 0]
Branch {
DstBlock "Induction Motor\n50 HP / 460 V"
DstPort 2
}
Branch {
Points [0, -100]
DstBlock "Vab"
DstPort 2
}
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [10, 0; 0, -60]
DstBlock "Scope"
DstPort 2
}
Line {
SrcBlock "Load_torque "
SrcPort 1
Points [30, 0]
DstBlock "Induction Motor\n50 HP / 460 V"
DstPort 4
}
Line {
SrcBlock "Multimeter"
SrcPort 1
DstBlock "Scope1"
DstPort 1
}
Annotation {
Position [650, 67]
ForegroundColor "red"
Text "The 'PreLoadFcn' of psbacdive.mdl\nautomaticall"
"y sets 'Ts' to 2e-6 in your Workspace. "
FontName "Times New Roman"
FontSize 12
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -