📄 svpwm_2level1.mdl
字号:
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
TimeRange "0.04"
YMin "10~0.25~0.25"
YMax "10~5~5"
SaveName "ScopeData11"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope2"
Ports [2]
Position [555, 46, 585, 79]
Location [5, 53, 1029, 743]
Open off
NumInputPorts "2"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
YMin "2.44~2.85"
YMax "2.59~3.15"
SaveName "ScopeData4"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope3"
Ports [2]
Position [345, 26, 375, 59]
Location [5, 53, 1029, 743]
Open off
NumInputPorts "2"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
YMin "-50~240"
YMax "250~335"
SaveName "ScopeData5"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope5"
Ports [4]
Position [510, 404, 540, 436]
Location [5, 53, 1029, 743]
Open off
NumInputPorts "4"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
TimeRange "0.04"
YMin "-0.00035~-0.00035~-0.0002~4"
YMax "-5e-005~-0.000125~0.00025~5"
SaveName "ScopeData8"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope6"
Ports [3]
Position [700, 394, 730, 426]
Location [5, 53, 1029, 743]
Open off
NumInputPorts "3"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
TimeRange "0.04"
YMin "5~-2.71051e-020~5e-005"
YMax "6~0.00035~0.00035"
SaveName "ScopeData9"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope7"
Ports [3]
Position [850, 573, 880, 607]
Location [5, 53, 1029, 743]
Open off
NumInputPorts "3"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
YMin "0~3~0"
YMax "2~4~1"
SaveName "ScopeData10"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [2, 3]
Position [80, 238, 155, 312]
TreatAsAtomicUnit off
System {
Name "Subsystem"
Location [199, 74, 1011, 744]
Open off
ModelBrowserVisibility on
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "V*"
Position [40, 83, 70, 97]
}
Block {
BlockType Inport
Name "frequency"
Position [25, 133, 55, 147]
Port "2"
}
Block {
BlockType Clock
Name "Clock"
Position [15, 209, 75, 241]
DisplayTime on
Decimation "1"
}
Block {
BlockType Constant
Name "Constant1"
Position [100, 25, 130, 55]
ShowName off
Value "0.667"
}
Block {
BlockType Fcn
Name "Fcn"
Position [100, 135, 160, 165]
Expr "2*pi*u"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [260, 310, 320, 340]
Expr "u-2*pi/3"
}
Block {
BlockType Fcn
Name "Fcn3"
Position [240, 580, 300, 610]
Expr "u-4*pi/3"
}
Block {
BlockType Product
Name "Product"
Ports [3, 1]
Position [295, 38, 340, 72]
Inputs "3"
InputSameDT off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [185, 200, 230, 235]
InputSameDT off
}
Block {
BlockType Product
Name "Product2"
Ports [3, 1]
Position [460, 258, 505, 292]
Inputs "3"
InputSameDT off
}
Block {
BlockType Product
Name "Product3"
Ports [3, 1]
Position [470, 493, 515, 527]
Inputs "3"
InputSameDT off
}
Block {
BlockType Scope
Name "Scope1"
Ports [3]
Position [690, 213, 720, 247]
Location [5, 118, 1029, 715]
Open off
NumInputPorts "3"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
YMin "-250~-250~-250"
YMax "250~250~250"
SaveName "ScopeData3"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction"
Ports [1, 1]
Position [280, 140, 310, 170]
ShowName off
Operator "cos"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction1"
Ports [1, 1]
Position [360, 310, 390, 340]
ShowName off
Operator "cos"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction2"
Ports [1, 1]
Position [365, 580, 395, 610]
ShowName off
Operator "cos"
}
Block {
BlockType Outport
Name "Va"
Position [645, 53, 675, 67]
}
Block {
BlockType Outport
Name "Vb"
Position [540, 268, 570, 282]
Port "2"
}
Block {
BlockType Outport
Name "Vc"
Position [555, 503, 585, 517]
Port "3"
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [120, 0]
Branch {
Points [25, 0]
DstBlock "Product"
DstPort 1
}
Branch {
Points [0, 225; 170, 0]
Branch {
DstBlock "Product2"
DstPort 1
}
Branch {
Points [0, 235]
DstBlock "Product3"
DstPort 1
}
}
}
Line {
SrcBlock "V*"
SrcPort 1
Points [170, 0]
Branch {
Points [35, 0]
DstBlock "Product"
DstPort 2
}
Branch {
Points [0, 185; 165, 0]
Branch {
DstBlock "Product2"
DstPort 2
}
Branch {
Points [0, 235]
DstBlock "Product3"
DstPort 2
}
}
}
Line {
SrcBlock "frequency"
SrcPort 1
Points [25, 0]
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "Trigonometric\nFunction"
SrcPort 1
Points [0, -70; -35, 0]
DstBlock "Product"
DstPort 3
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [0, 60]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [5, 0]
Branch {
Points [0, 105]
Branch {
DstBlock "Fcn2"
DstPort 1
}
Branch {
Points [0, 120; -15, 0]
DstBlock "Fcn3"
DstPort 1
}
}
Branch {
Points [0, -65]
DstBlock "Trigonometric\nFunction"
DstPort 1
}
}
Line {
SrcBlock "Trigonometric\nFunction1"
SrcPort 1
Points [50, 0]
DstBlock "Product2"
DstPort 3
}
Line {
SrcBlock "Trigonometric\nFunction2"
SrcPort 1
Points [40, 0; 0, -75]
DstBlock "Product3"
DstPort 3
}
Line {
SrcBlock "Product"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Va"
DstPort 1
}
Branch {
Points [0, 85; 325, 0]
DstBlock "Scope1"
DstPort 1
}
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Vb"
DstPort 1
}
Branch {
Points [0, -45]
DstBlock "Scope1"
DstPort 2
}
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Vc"
DstPort 1
}
Branch {
Points [0, -10; 140, 0]
DstBlock "Scope1"
DstPort 3
}
}
Line {
SrcBlock "Clock"
SrcPort 1
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Fcn2"
SrcPort 1
DstBlock "Trigonometric\nFunction1"
DstPort 1
}
Line {
SrcBlock "Fcn3"
SrcPort 1
DstBlock "Trigonometric\nFunction2"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [3, 3]
Position [660, 225, 735, 315]
TreatAsAtomicUnit off
System {
Name "Subsystem1"
Location [-22, 74, 974, 728]
Open off
ModelBrowserVisibility on
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Sector"
Position [25, 73, 55, 87]
}
Block {
BlockType Inport
Name "ta"
Position [50, 193, 80, 207]
Port "2"
}
Block {
BlockType Inport
Name "tb"
Position [50, 255, 80, 270]
Orientation "up"
Port "3"
}
Block {
BlockType Display
Name "Display"
Ports [1]
Position [890, 20, 980, 50]
Decimation "1"
}
Block {
BlockType Display
Name "Display1"
Ports [1]
Position [965, 225, 1055, 255]
Decimation "1"
}
Block {
BlockType Display
Name "Display2"
Ports [1]
Position [965, 450, 1055, 480]
Decimation "1"
}
Block {
BlockType SubSystem
Name "For Sector 5"
Ports [2, 3, 0, 0, 0, 0, 0, 1]
Position [600, 501, 680, 559]
TreatAsAtomicUnit on
System {
Name "For Sector 5"
Location [0, 78, 1016, 744]
Open off
ModelBrowserVisibility on
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "ta"
Position [35, 218, 65, 232]
}
Block {
BlockType Inport
Name "tb"
Position [15, 278, 45, 292]
Port "2"
}
Block {
BlockType ActionPort
Name "Action Port"
Position [170, 15, 229, 43]
ActionType "elseif"
}
Block {
BlockType Constant
Name "Constant1"
Position [245, 410, 275, 440]
ShowName off
Value "0.5"
}
Block {
BlockType Constant
Name "Constant2"
Position [270, 530, 300, 560]
ShowName off
Value "0.5"
}
Block {
BlockType Constant
Name "Constant3"
Position [400, 435, 430, 465]
ShowName off
Value "40000"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -