📄 svpwmtwelve.mdl
字号:
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [115, 143, 145, 157]
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType ActionPort
Name "Action Port"
Position [170, 15, 229, 43]
InitializeStates "held"
ActionType "case"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [190, 110, 195, 190]
BackgroundColor "black"
ShowName off
Outputs "3"
BusSelectionMode off
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [300, 111, 305, 189]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Outport
Name "Out1"
Position [355, 143, 385, 157]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [40, 0; 0, 25]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [10, 0; 0, 15; 75, 0]
DstBlock "Mux"
DstPort 2
}
}
}
Block {
BlockType Outport
Name "1"
Position [585, 48, 615, 62]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "2"
Position [585, 118, 615, 132]
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "3"
Position [585, 193, 615, 207]
Port "3"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "4"
Position [580, 273, 610, 287]
Port "4"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "5"
Position [585, 348, 615, 362]
Port "5"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "6"
Position [580, 423, 610, 437]
Port "6"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Switch Case"
SrcPort 1
Points [0, 30]
DstBlock "Sector1"
DstPort ifaction
}
Line {
SrcBlock "Switch Case"
SrcPort 2
Points [0, 35]
DstBlock "sector2"
DstPort ifaction
}
Line {
SrcBlock "Switch Case"
SrcPort 3
Points [0, 45]
DstBlock "Sector3"
DstPort ifaction
}
Line {
SrcBlock "Switch Case"
SrcPort 4
Points [0, -10]
DstBlock "sector4"
DstPort ifaction
}
Line {
SrcBlock "Switch Case"
SrcPort 5
Points [10, 0; 0, 10]
DstBlock "Ssector5"
DstPort ifaction
}
Line {
SrcBlock "Switch Case"
SrcPort 6
Points [10, 0; 0, 20; 335, 0]
DstBlock "sector6"
DstPort ifaction
}
Line {
SrcBlock "Sector1"
SrcPort 1
DstBlock "1"
DstPort 1
}
Line {
SrcBlock "sector2"
SrcPort 1
DstBlock "2"
DstPort 1
}
Line {
SrcBlock "sector"
SrcPort 1
Points [35, 0]
DstBlock "Switch Case"
DstPort 1
}
Line {
SrcBlock "Ssector5"
SrcPort 1
DstBlock "5"
DstPort 1
}
Line {
SrcBlock "sector4"
SrcPort 1
DstBlock "4"
DstPort 1
}
Line {
SrcBlock "sector6"
SrcPort 1
DstBlock "6"
DstPort 1
}
Line {
SrcBlock "Sector3"
SrcPort 1
DstBlock "3"
DstPort 1
}
Line {
SrcBlock "xyz"
SrcPort 1
Points [20, 0; 45, 0]
Branch {
Points [135, 0]
DstBlock "Sector1"
DstPort 1
}
Branch {
Points [0, 70]
Branch {
Points [130, 0]
DstBlock "sector2"
DstPort 1
}
Branch {
Points [0, 70]
Branch {
Points [135, 0]
DstBlock "Sector3"
DstPort 1
}
Branch {
Points [0, 90]
Branch {
DstBlock "sector4"
DstPort 1
}
Branch {
Points [0, 70]
Branch {
Points [130, 0]
DstBlock "Ssector5"
DstPort 1
}
Branch {
Points [0, 80]
DstBlock "sector6"
DstPort 1
}
}
}
}
}
}
}
}
Block {
BlockType Outport
Name "脉冲"
Position [660, 248, 690, 262]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "频率"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 70]
Branch {
Points [0, 85]
DstBlock "Subsystem1"
DstPort 1
}
Branch {
DstBlock "Subsystem"
DstPort 1
}
}
Branch {
DstBlock "3phsinwave"
DstPort 2
}
}
Line {
SrcBlock "Subsystem"
SrcPort 1
Points [5, 0]
Branch {
Points [10, 0; 0, -25]
Branch {
DstBlock "Sum"
DstPort 2
}
Branch {
Points [165, 0]
DstBlock "Scope2"
DstPort 4
}
}
Branch {
Points [0, 250]
DstBlock "Mux1"
DstPort 2
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Compare\nTo Zero"
DstPort 1
}
Line {
SrcBlock "Compare\nTo Zero"
SrcPort 1
Points [10, 0; 0, 5]
Branch {
Points [0, 50; -45, 0; 0, 75]
DstBlock "loadcmp"
DstPort 1
}
Branch {
Points [25, 0]
DstBlock "Demux2"
DstPort 1
}
}
Line {
SrcBlock "loadcmp"
SrcPort 1
DstBlock "Multiport\nSwitch"
DstPort 2
}
Line {
SrcBlock "loadcmp"
SrcPort 2
DstBlock "Multiport\nSwitch"
DstPort 3
}
Line {
SrcBlock "loadcmp"
SrcPort 3
DstBlock "Multiport\nSwitch"
DstPort 4
}
Line {
SrcBlock "loadcmp"
SrcPort 4
DstBlock "Multiport\nSwitch"
DstPort 5
}
Line {
SrcBlock "loadcmp"
SrcPort 5
DstBlock "Multiport\nSwitch"
DstPort 6
}
Line {
SrcBlock "loadcmp"
SrcPort 6
DstBlock "Multiport\nSwitch"
DstPort 7
}
Line {
SrcBlock "Multiport\nSwitch"
SrcPort 1
Points [10, 0; 10, 0]
Branch {
DstBlock "Demux"
DstPort 1
}
Branch {
Points [0, 45]
DstBlock "NOT"
DstPort 1
}
}
Line {
SrcBlock "frequency2"
SrcPort 1
DstBlock "Subsystem1"
DstPort 2
}
Line {
SrcBlock "3phsinwave"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Sum"
DstPort 1
}
Branch {
Points [-10, 0; 0, 310]
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "Subsystem1"
SrcPort 1
Points [0, 0; 45, 0]
Branch {
DstBlock "loadcmp"
DstPort 2
}
Branch {
Points [0, -100]
DstBlock "Multiport\nSwitch"
DstPort 1
}
}
Line {
SrcBlock "NOT"
SrcPort 1
DstBlock "Demux1"
DstPort 1
}
Line {
SrcBlock "幅值"
SrcPort 1
DstBlock "3phsinwave"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "脉冲"
DstPort 1
}
Line {
SrcBlock "Demux2"
SrcPort 1
DstBlock "Scope2"
DstPort 1
}
Line {
SrcBlock "Demux2"
SrcPort 2
DstBlock "Scope2"
DstPort 2
}
Line {
SrcBlock "Demux2"
SrcPort 3
DstBlock "Scope2"
DstPort 3
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [45, 0]
Branch {
Points [80, 0]
DstBlock "Mux"
DstPort 1
}
Branch {
Points [0, -100]
DstBlock "Scope1"
DstPort 2
}
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [25, 0]
Branch {
Points [70, 0; 0, 15]
DstBlock "Mux"
DstPort 3
}
Branch {
Points [0, -105]
DstBlock "Scope1"
DstPort 3
}
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [10, 0]
Branch {
Points [85, 0; 0, 40]
DstBlock "Mux"
DstPort 5
}
Branch {
Points [0, -110]
DstBlock "Scope1"
DstPort 4
}
}
Line {
SrcBlock "Demux1"
SrcPort 3
Points [90, 0]
DstBlock "Mux"
DstPort 6
}
Line {
SrcBlock "Demux1"
SrcPort 1
Points [30, 0; 0, -50]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Demux1"
SrcPort 2
Points [85, 0; 0, -20]
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Scope3"
DstPort 1
}
}
}
Block {
BlockType Constant
Name "frequency"
Position [120, 190, 150, 220]
Value "50"
VectorParams1D on
}
Block {
BlockType Constant
Name "urefmag"
Position [175, 160, 205, 190]
Value "306.1862"
VectorParams1D on
}
Line {
SrcBlock "urefmag"
SrcPort 1
DstBlock "Subsystem2"
DstPort 1
}
Line {
SrcBlock "frequency"
SrcPort 1
DstBlock "Subsystem2"
DstPort 2
}
Line {
SrcBlock "Subsystem2"
SrcPort 1
Points [35, 0]
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -