📄 svpwm_modol.mdl
字号:
}
Line {
SrcBlock "Vsbref"
SrcPort 1
Points [15, 0; 0, 75; 30, 0]
Branch {
Points [0, -150]
DstBlock "Sum1"
DstPort 1
}
Branch {
Points [60, 0]
Branch {
Points [0, -75]
DstBlock "Sum"
DstPort 1
}
Branch {
DstBlock "Switch2"
DstPort 2
}
}
}
Line {
SrcBlock "Vsaref"
SrcPort 1
Points [25, 0; 0, 35]
Branch {
Points [0, 70]
DstBlock "Gain1"
DstPort 1
}
Branch {
DstBlock "Gain"
DstPort 1
}
}
}
}
Block {
BlockType Scope
Name "Scope"
Ports [3]
Position [800, 298, 860, 432]
Location [96, 83, 539, 645]
Open off
NumInputPorts "3"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
}
TimeRange "0.1"
YMin "-5~-5~-5"
YMax "5~5~5"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleInput on
SampleTime "0.00001"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [340, 209, 370, 241]
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData3"
DataFormat "StructureWithTime"
SampleInput on
SampleTime "0.0001"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [545, 209, 575, 241]
Location [642, 75, 966, 314]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData4"
DataFormat "StructureWithTime"
SampleInput on
SampleTime "0.001"
}
Block {
BlockType Scope
Name "Scope3"
Ports [3]
Position [470, 501, 515, 589]
Location [649, 148, 1001, 481]
Open off
NumInputPorts "3"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
}
YMin "-5~-5~-5"
YMax "5~5~5"
SaveName "ScopeData5"
DataFormat "StructureWithTime"
SampleInput on
SampleTime "0.0001"
}
Block {
BlockType Scope
Name "Scope4"
Ports [1]
Position [685, 531, 730, 619]
Location [229, 124, 581, 457]
Open on
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData6"
DataFormat "StructureWithTime"
SampleInput on
SampleTime "0.0001"
}
Block {
BlockType Sin
Name "Sine Wave"
Position [150, 280, 180, 310]
SineType "Time based"
Amplitude "270"
Frequency "314"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave1"
Position [130, 330, 160, 360]
SineType "Time based"
Amplitude "270"
Frequency "314"
Phase "3.14/2"
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [4, 3]
Position [360, 327, 415, 428]
TreatAsAtomicUnit off
System {
Name "Subsystem"
Location [495, 82, 980, 395]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Varef"
Position [30, 83, 60, 97]
}
Block {
BlockType Inport
Name "Vsbref\n"
Position [25, 128, 55, 142]
Port "2"
}
Block {
BlockType Inport
Name "T\n"
Position [25, 183, 55, 197]
Port "3"
}
Block {
BlockType Inport
Name "Vdc"
Position [25, 233, 55, 247]
Port "4"
}
Block {
BlockType Gain
Name "Gain"
Position [375, 145, 405, 175]
Gain "1.5"
}
Block {
BlockType Gain
Name "Gain1"
Position [375, 240, 405, 270]
Gain "1.5"
}
Block {
BlockType Gain
Name "Gain6"
Position [115, 95, 145, 125]
Gain "1.732"
}
Block {
BlockType Gain
Name "Gain7"
Position [115, 150, 145, 180]
Gain "0.577"
}
Block {
BlockType Product
Name "Product"
Ports [3, 1]
Position [305, 27, 350, 93]
Inputs "**/"
ShowAdditionalParam on
InputSameDT off
}
Block {
BlockType Product
Name "Product1"
Ports [3, 1]
Position [305, 127, 350, 193]
Inputs "**/"
InputSameDT off
}
Block {
BlockType Product
Name "Product2"
Ports [3, 1]
Position [310, 222, 355, 288]
Inputs "**/"
InputSameDT off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [205, 87, 225, 163]
ShowName off
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [205, 172, 225, 248]
ShowName off
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "X"
Position [385, 53, 415, 67]
}
Block {
BlockType Outport
Name "Y"
Position [430, 153, 460, 167]
Port "2"
}
Block {
BlockType Outport
Name "Z"
Position [430, 248, 460, 262]
Port "3"
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "X"
DstPort 1
}
Line {
SrcBlock "Vsbref\n"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
Points [0, 30]
DstBlock "Gain7"
DstPort 1
}
Branch {
Points [0, -25]
DstBlock "Gain6"
DstPort 1
}
}
Line {
SrcBlock "Varef"
SrcPort 1
Points [100, 0; 0, 45]
Branch {
Points [25, 0]
DstBlock "Sum"
DstPort 2
}
Branch {
Points [0, 100]
DstBlock "Sum1"
DstPort 2
}
}
Line {
SrcBlock "T\n"
SrcPort 1
Points [50, 0; 0, 65; 140, 0]
Branch {
Points [25, 0]
Branch {
Points [0, -95]
DstBlock "Product1"
DstPort 2
}
Branch {
DstBlock "Product2"
DstPort 2
}
}
Branch {
Points [0, -195]
DstBlock "Product"
DstPort 2
}
}
Line {
SrcBlock "Vdc"
SrcPort 1
Points [30, 0; 0, 35; 175, 0]
Branch {
Points [25, 0]
Branch {
DstBlock "Product1"
DstPort 3
}
Branch {
DstBlock "Product2"
DstPort 3
}
}
Branch {
Points [0, -195]
DstBlock "Product"
DstPort 3
}
}
Line {
SrcBlock "Gain6"
SrcPort 1
Points [40, 0; 0, -70]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Gain7"
SrcPort 1
Points [0, 0; 30, 0]
Branch {
Points [0, -40]
DstBlock "Sum"
DstPort 1
}
Branch {
Points [0, 45]
DstBlock "Sum1"
DstPort 1
}
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [60, 0]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [65, 0]
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Y"
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Z"
DstPort 1
}
}
}
Block {
BlockType Constant
Name "T"
Position [270, 385, 300, 415]
Value "0.0002"
}
Block {
BlockType SubSystem
Name "T1T2"
Ports [4, 2]
Position [455, 294, 505, 431]
TreatAsAtomicUnit off
System {
Name "T1T2"
Location [77, 206, 532, 537]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "N"
Position [25, 33, 55, 47]
}
Block {
BlockType Inport
Name "X"
Position [25, 83, 55, 97]
Port "2"
}
Block {
BlockType Inport
Name "Y"
Position [30, 178, 60, 192]
Port "3"
}
Block {
BlockType Inport
Name "Z"
Position [35, 258, 65, 272]
Port "4"
}
Block {
BlockType Gain
Name "Gain10"
Position [135, 170, 165, 200]
Gain "-1"
}
Block {
BlockType Gain
Name "Gain11\n"
Position [135, 250, 165, 280]
Gain "-1"
}
Block {
BlockType Gain
Name "Gain9"
Position [135, 75, 165, 105]
Gain "-1"
}
Block {
BlockType MultiPortSwitch
Name "Multiport\nSwitch12"
Ports [7, 1]
Position [300, 23, 345, 147]
Inputs "6"
ShowAdditionalParam on
InputSameDT off
}
Block {
BlockType MultiPortSwitch
Name "Multiport\nSwitch13"
Ports [7, 1]
Position [300, 178, 345, 302]
Inputs "6"
InputSameDT off
}
Block {
BlockType Outport
Name "T1"
Position [400, 78, 430, 92]
}
Block {
BlockType Outport
Name "T2"
Position [400, 233, 430, 247]
Port "2"
}
Line {
SrcBlock "N"
SrcPort 1
Points [165, 0]
Branch {
Points [0, 155]
DstBlock "Multiport\nSwitch13"
DstPort 1
}
Branch {
DstBlock "Multiport\nSwitch12"
DstPort 1
}
}
Line {
SrcBlock "Z"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [20, 0]
Branch {
Points [0, -10]
DstBlock "Multiport\nSwitch13"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -