📄 spwm_vf_model.mdl
字号:
BlockType Outport
Name "Out1"
Position [325, 33, 355, 47]
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "Out1"
DstPort 1
}
Branch {
Points [0, 45; -205, 0]
DstBlock "Sum"
DstPort 2
}
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "Out1"
Position [325, 33, 355, 47]
}
Line {
SrcBlock "Subsystem"
SrcPort 1
Points [60, 0; 0, -15]
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
Points [45, 0; 0, 15]
DstBlock "Subsystem"
DstPort 1
}
}
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [385, 72, 390, 198]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1]
Position [520, 91, 525, 179]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Scope
Name "V"
Ports [1]
Position [230, 63, 250, 87]
Orientation "left"
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Fcn
Name "V-F"
Position [265, 99, 325, 121]
Expr "3.6667*u+20"
}
Block {
BlockType Scope
Name "f"
Ports [1]
Position [200, 198, 220, 222]
Orientation "left"
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData2"
DataFormat "StructureWithTime"
}
Block {
BlockType MATLABFcn
Name "integer"
Position [155, 145, 215, 175]
MATLABFcn "round(u)"
}
Block {
BlockType Scope
Name "sin"
Ports [1]
Position [520, 25, 540, 45]
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData4"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "sin1"
Ports [1]
Position [525, 190, 545, 210]
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData5"
DataFormat "StructureWithTime"
}
Block {
BlockType Clock
Name "t"
Position [265, 190, 285, 210]
Decimation "10"
}
Block {
BlockType Scope
Name "t1"
Ports [1]
Position [315, 205, 335, 225]
Location [103, 600, 427, 839]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData3"
DataFormat "StructureWithTime"
}
Block {
BlockType Fcn
Name "ua"
Position [440, 60, 480, 90]
Expr "u(1)*sin(2*pi*u(2)*u(3))"
}
Block {
BlockType Fcn
Name "ub"
Position [445, 120, 485, 150]
Expr "u(1)*sin(2*pi*u(2)*u(3)-2*pi/3)"
}
Block {
BlockType Fcn
Name "uc"
Position [445, 185, 485, 215]
Expr "u(1)*sin(2*pi*u(2)*u(3)-4*pi/3)"
}
Block {
BlockType Outport
Name "V-Fsigs"
Position [570, 128, 600, 142]
}
Line {
SrcBlock "GI"
SrcPort 1
DstBlock "integer"
DstPort 1
}
Line {
SrcBlock "integer"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, -50]
DstBlock "V-F"
DstPort 1
}
Branch {
DstBlock "f"
DstPort 1
}
Branch {
Points [135, 0]
DstBlock "Mux"
DstPort 2
}
}
Line {
Labels [2, 0]
SrcBlock "V-F"
SrcPort 1
Points [10, 0; 0, -15]
Branch {
Points [0, -20]
DstBlock "V"
DstPort 1
}
Branch {
DstBlock "Mux"
DstPort 1
}
}
Line {
SrcBlock "t"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [0, 15]
DstBlock "t1"
DstPort 1
}
Branch {
Points [0, -25]
DstBlock "Mux"
DstPort 3
}
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
DstBlock "ub"
DstPort 1
}
Branch {
Points [0, -60]
DstBlock "ua"
DstPort 1
}
Branch {
Points [0, 65]
DstBlock "uc"
DstPort 1
}
}
Line {
SrcBlock "ub"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "ua"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 30]
DstBlock "Mux1"
DstPort 1
}
Branch {
Points [0, -40]
DstBlock "sin"
DstPort 1
}
}
Line {
SrcBlock "uc"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [0, -35]
DstBlock "Mux1"
DstPort 3
}
Branch {
DstBlock "sin1"
DstPort 1
}
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "V-Fsigs"
DstPort 1
}
Line {
SrcBlock "fsigs"
SrcPort 1
DstBlock "GI"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Vaa_inv"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [350, 88, 380, 117]
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Vaa_inv1"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [240, 28, 270, 57]
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Vab _load"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [615, 123, 645, 152]
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Vab _load1"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [665, 163, 695, 192]
NamePlacement "alternate"
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Vab _load2"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [670, 213, 700, 242]
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Van_inv1"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [355, 53, 385, 82]
NamePlacement "alternate"
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "1"
}
Block {
BlockType Scope
Name "ia"
Ports [1]
Position [915, 180, 940, 210]
Location [188, 365, 638, 604]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData5"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "ib"
Ports [1]
Position [915, 236, 940, 264]
Location [188, 365, 512, 604]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData7"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "ic"
Ports [1]
Position [950, 273, 975, 307]
Location [188, 365, 512, 604]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData8"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "n"
Ports [1]
Position [940, 324, 960, 346]
Location [188, 365, 613, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData6"
DataFormat "StructureWithTime"
}
Block {
BlockType Terminator
Name "rminator"
Position [90, 345, 110, 365]
NamePlacement "alternate"
ShowName off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -