📄 svpwm_2level1.mdl
字号:
}
Block {
BlockType Constant
Name "Constant4"
Position [15, 485, 45, 515]
ShowName off
Value "600"
}
Block {
BlockType Reference
Name "Current Measurement"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [1, 2]
Position [395, 153, 425, 182]
SourceBlock "powerlib2/Measurements/Current Measurement"
SourceType "Current Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "01"
PSBequivalent "0"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [455, 84, 485, 116]
Location [5, 53, 1029, 743]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope1"
Ports [2]
Position [665, 138, 700, 187]
BackgroundColor "green"
Location [5, 53, 1029, 743]
Open off
NumInputPorts "2"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
}
TimeRange "0.1 "
YMin "-50~-1100"
YMax "1000~1100"
SaveToWorkspace on
SaveName "psb3phPWM1_str"
DataFormat "StructureWithTime"
LimitDataPoints off
MaxDataPoints "500000"
}
Block {
BlockType SubSystem
Name "Subsystem10"
Ports [4, 1]
Position [90, 346, 200, 519]
TreatAsAtomicUnit off
System {
Name "Subsystem10"
Location [2, 74, 814, 724]
Open off
ModelBrowserVisibility on
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "V*"
Position [25, 253, 55, 267]
}
Block {
BlockType Inport
Name "Frequency"
Position [25, 288, 55, 302]
Port "2"
}
Block {
BlockType Inport
Name "Fs"
Position [160, 383, 190, 397]
Port "3"
}
Block {
BlockType Inport
Name "VDC"
Position [175, 423, 205, 437]
Port "4"
}
Block {
BlockType SubSystem
Name "3 phase to 2 phase \nconversion"
Ports [3, 2]
Position [205, 228, 285, 322]
TreatAsAtomicUnit off
System {
Name "3 phase to 2 phase \nconversion"
Location [299, 101, 913, 526]
Open off
ModelBrowserVisibility on
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Va"
Position [25, 48, 55, 62]
}
Block {
BlockType Inport
Name "Vb"
Position [30, 113, 60, 127]
Port "2"
}
Block {
BlockType Inport
Name "Vc"
Position [35, 178, 65, 192]
Port "3"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion12"
Position [160, 160, 180, 180]
BackgroundColor "cyan"
ShowName off
DataType "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion13"
Position [270, 160, 290, 180]
BackgroundColor "cyan"
ShowName off
DataType "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion14"
Position [165, 300, 185, 320]
BackgroundColor "cyan"
ShowName off
DataType "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion15"
Position [275, 315, 295, 335]
BackgroundColor "cyan"
ShowName off
DataType "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion2"
Position [155, 105, 175, 125]
BackgroundColor "cyan"
ShowName off
DataType "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion3"
Position [150, 215, 170, 235]
BackgroundColor "cyan"
ShowName off
DataType "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion4"
Position [265, 245, 285, 265]
BackgroundColor "cyan"
ShowName off
DataType "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion5"
Position [270, 80, 290, 100]
BackgroundColor "cyan"
ShowName off
DataType "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion6"
Position [215, 45, 235, 65]
BackgroundColor "cyan"
ShowName off
DataType "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion8"
Position [100, 45, 120, 65]
BackgroundColor "cyan"
ShowName off
DataType "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion9"
Position [430, 35, 450, 55]
BackgroundColor "cyan"
ShowName off
DataType "double"
}
Block {
BlockType Sum
Name "Sum6"
Ports [3, 1]
Position [360, 35, 380, 55]
ShowName off
IconShape "round"
Inputs "|+--"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum7"
Ports [2, 1]
Position [310, 260, 330, 280]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Fcn
Name "V beta"
Position [190, 240, 250, 270]
Expr "1/1.732*u"
}
Block {
BlockType Fcn
Name "V beta1"
Position [205, 295, 265, 325]
Expr "1/1.732*u"
}
Block {
BlockType Fcn
Name "V_alpha\n"
Position [140, 40, 200, 70]
Expr "2/3*u[1]"
}
Block {
BlockType Fcn
Name "V_alpha\n2"
Position [195, 155, 255, 185]
Expr "1/3*u"
}
Block {
BlockType Fcn
Name "V_alpha\n3"
Position [190, 100, 250, 130]
Expr "1/3*u"
}
Block {
BlockType Outport
Name "V_alpha"
Position [490, 78, 520, 92]
}
Block {
BlockType Outport
Name "V_beta"
Position [355, 263, 385, 277]
Port "2"
}
Line {
SrcBlock "V beta"
SrcPort 1
DstBlock "Data Type \nConversion4"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion3"
SrcPort 1
DstBlock "V beta"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion2"
SrcPort 1
DstBlock "V_alpha\n3"
DstPort 1
}
Line {
SrcBlock "V_alpha\n3"
SrcPort 1
DstBlock "Data Type \nConversion5"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion5"
SrcPort 1
Points [0, -15; 54, 0]
DstBlock "Sum6"
DstPort 2
}
Line {
SrcBlock "V_alpha\n"
SrcPort 1
DstBlock "Data Type \nConversion6"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion6"
SrcPort 1
Points [109, 0]
DstBlock "Sum6"
DstPort 1
}
Line {
SrcBlock "Sum6"
SrcPort 1
DstBlock "Data Type \nConversion9"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion8"
SrcPort 1
DstBlock "V_alpha\n"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion12"
SrcPort 1
DstBlock "V_alpha\n2"
DstPort 1
}
Line {
SrcBlock "V_alpha\n2"
SrcPort 1
DstBlock "Data Type \nConversion13"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion13"
SrcPort 1
Points [5, 0; 0, -100]
DstBlock "Sum6"
DstPort 3
}
Line {
SrcBlock "Data Type \nConversion4"
SrcPort 1
Points [0, 15]
DstBlock "Sum7"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion14"
SrcPort 1
DstBlock "V beta1"
DstPort 1
}
Line {
SrcBlock "V beta1"
SrcPort 1
Points [0, -5; 40, 0; 0, 40; -50, 0]
DstBlock "Data Type \nConversion15"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion15"
SrcPort 1
Points [20, 0]
DstBlock "Sum7"
DstPort 2
}
Line {
SrcBlock "Vc"
SrcPort 1
Points [0, 5; 60, 0]
Branch {
Points [0, 120]
DstBlock "Data Type \nConversion14"
DstPort 1
}
Branch {
Points [15, 0]
DstBlock "Data Type \nConversion12"
DstPort 1
}
}
Line {
SrcBlock "Vb"
SrcPort 1
Points [0, 0; 70, 0]
Branch {
DstBlock "Data Type \nConversion3"
DstPort 1
}
Branch {
Points [5, 0]
DstBlock "Data Type \nConversion2"
DstPort 1
}
}
Line {
SrcBlock "Va"
SrcPort 1
DstBlock "Data Type \nConversion8"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion9"
SrcPort 1
Points [20, 0]
DstBlock "V_alpha"
DstPort 1
}
Line {
SrcBlock "Sum7"
SrcPort 1
DstBlock "V_beta"
DstPort 1
}
}
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion1"
Position [965, 231, 995, 249]
BackgroundColor "cyan"
ShowName off
DataType "boolean"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion2"
Position [965, 256, 995, 274]
BackgroundColor "cyan"
ShowName off
DataType "boolean"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion3"
Position [970, 206, 1000, 224]
BackgroundColor "cyan"
ShowName off
DataType "boolean"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion4"
Position [965, 286, 995, 304]
BackgroundColor "cyan"
ShowName off
DataType "boolean"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion5"
Position [960, 311, 990, 329]
BackgroundColor "cyan"
ShowName off
DataType "boolean"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion6"
Position [1015, 276, 1045, 294]
BackgroundColor "cyan"
ShowName off
DataType "boolean"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [230, 147, 250, 203]
ForegroundColor "gray"
BackgroundColor "black"
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [6, 1]
Position [1070, 205, 1135, 325]
ForegroundColor "gray"
BackgroundColor "black"
ShowName off
Inputs "6"
DisplayOption "bar"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [260, 64, 290, 96]
Location [5, 53, 1029, 743]
Open off
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-350"
YMax "350"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope1"
Ports [3]
Position [805, 94, 835, 126]
Location [5, 53, 1029, 743]
Open off
NumInputPorts "3"
ZoomMode "xonly"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -