📄 svpwmtwelve.mdl
字号:
SrcPort 1
DstBlock "Data Type Conversion1"
DstPort 1
}
Line {
SrcBlock "2"
SrcPort 1
Points [10, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Data Type Conversion1"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "frequency"
SrcPort 1
Points [75, 0]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "sector"
DstPort 1
}
Line {
SrcBlock "N"
SrcPort 1
Points [40, 0; 0, -30; 35, 0]
DstBlock "Product1"
DstPort 3
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [210, 65, 230, 85]
ShowName off
IconShape "round"
Inputs "|+-"
SaturateOnIntegerOverflow on
}
Block {
BlockType Constant
Name "frequency2"
Position [45, 260, 75, 290]
Value "6"
VectorParams1D on
}
Block {
BlockType SubSystem
Name "loadcmp"
Ports [2, 6]
Position [290, 173, 345, 297]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "loadcmp"
Location [-4, 104, 784, 585]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "99"
Block {
BlockType Inport
Name "xyz"
Position [225, 43, 255, 57]
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "sector"
Position [15, 213, 45, 227]
Port "2"
LatchInput off
Interpolate on
}
Block {
BlockType SubSystem
Name "Sector1"
Ports [1, 1, 0, 0, 0, 0, 0, 1]
Position [475, 35, 555, 75]
NamePlacement "alternate"
ShowPortLabels on
TreatAsAtomicUnit on
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "Sector1"
Location [169, 278, 667, 578]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [75, 78, 105, 92]
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType ActionPort
Name "Action Port"
Position [170, 15, 229, 43]
InitializeStates "held"
ActionType "case"
}
Block {
BlockType Outport
Name "Out1"
Position [325, 78, 355, 92]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Sector3"
Ports [1, 1, 0, 0, 0, 0, 0, 1]
Position [475, 180, 555, 220]
NamePlacement "alternate"
ShowPortLabels on
TreatAsAtomicUnit on
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "Sector3"
Location [169, 278, 667, 578]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [140, 138, 170, 152]
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 [205, 105, 210, 185]
BackgroundColor "black"
ShowName off
Outputs "3"
BusSelectionMode off
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [325, 106, 330, 184]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Outport
Name "Out1"
Position [380, 138, 410, 152]
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
Points [15, 0; 0, 10; 80, 0]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [45, 0; 0, 25]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [25, 0; 0, -50]
DstBlock "Mux"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Ssector5"
Ports [1, 1, 0, 0, 0, 0, 0, 1]
Position [470, 335, 550, 375]
ShowPortLabels on
TreatAsAtomicUnit on
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "Ssector5"
Location [149, 183, 647, 483]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [125, 183, 155, 197]
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 [200, 150, 205, 230]
BackgroundColor "black"
ShowName off
Outputs "3"
BusSelectionMode off
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [310, 151, 315, 229]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Outport
Name "Out1"
Position [365, 183, 395, 197]
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
Points [40, 0; 0, 50]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [0, -10; 85, 0]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [20, 0; 0, -25]
DstBlock "Mux"
DstPort 2
}
}
}
Block {
BlockType SwitchCase
Name "Switch Case"
Ports [1, 6]
Position [100, 26, 160, 419]
CaseConditions "{1,2,3,4,5,6}"
CaseShowDefault off
}
Block {
BlockType SubSystem
Name "sector2"
Ports [1, 1, 0, 0, 0, 0, 0, 1]
Position [470, 105, 550, 145]
NamePlacement "alternate"
ShowPortLabels on
TreatAsAtomicUnit on
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "sector2"
Location [141, 153, 639, 453]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [60, 158, 90, 172]
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 [135, 125, 140, 205]
BackgroundColor "black"
ShowName off
Outputs "3"
BusSelectionMode off
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [245, 126, 250, 204]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Outport
Name "Out1"
Position [300, 158, 330, 172]
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 2
Points [40, 0; 0, -25]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [0, 10; 80, 0; 0, 15]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "Mux"
DstPort 3
}
}
}
Block {
BlockType SubSystem
Name "sector4"
Ports [1, 1, 0, 0, 0, 0, 0, 1]
Position [475, 260, 555, 300]
ShowPortLabels on
TreatAsAtomicUnit on
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "sector4"
Location [141, 186, 639, 486]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [145, 163, 175, 177]
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 [220, 130, 225, 210]
BackgroundColor "black"
ShowName off
Outputs "3"
BusSelectionMode off
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [330, 131, 335, 209]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Outport
Name "Out1"
Position [385, 163, 415, 177]
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 3
Points [40, 0; 0, -50]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [25, 0; 0, 35; 60, 0]
DstBlock "Mux"
DstPort 3
}
}
}
Block {
BlockType SubSystem
Name "sector6"
Ports [1, 1, 0, 0, 0, 0, 0, 1]
Position [470, 410, 550, 450]
ShowPortLabels on
TreatAsAtomicUnit on
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "sector6"
Location [169, 247, 667, 547]
Open off
ModelBrowserVisibility off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -