📄 svpwm.mdl
字号:
Name "SVPWM"
Location [2, 82, 1014, 732]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Ta"
Position [25, 43, 55, 57]
}
Block {
BlockType Inport
Name "Tb"
Position [25, 73, 55, 87]
Port "2"
}
Block {
BlockType Inport
Name "Tc"
Position [25, 103, 55, 117]
Port "3"
}
Block {
BlockType Inport
Name "N"
Position [25, 133, 55, 147]
Port "4"
}
Block {
BlockType Inport
Name "n"
Position [25, 164, 55, 176]
Port "5"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [555, 235, 560, 315]
BackgroundColor "black"
ShowName off
Outputs "3"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 12]
Position [730, 14, 735, 431]
BackgroundColor "black"
ShowName off
Outputs "12"
}
Block {
BlockType MultiPortSwitch
Name "Multiport\nSwitch"
Ports [7, 1]
Position [490, 155, 515, 605]
Inputs "6"
InputSameDT off
}
Block {
BlockType Scope
Name "Scope1"
Ports [4]
Position [805, 151, 825, 294]
FontName "Arial"
FontSize 12
Location [5, 53, 805, 603]
Open off
NumInputPorts "4"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
axes4 ""
}
YMin "-5~-5~-5~-5"
YMax "5~5~5~5"
SaveName "ScopeData11"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope14"
Ports [1]
Position [295, 95, 325, 125]
FontName "Arial"
FontSize 12
Location [6, 53, 806, 603]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "0"
YMax "8"
SaveName "ScopeData36"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope2"
Ports [4]
Position [805, 293, 825, 432]
FontName "Arial"
FontSize 12
Location [5, 53, 805, 603]
Open off
NumInputPorts "4"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
axes4 ""
}
YMin "-5~-5~-5~-5"
YMax "5~5~5~5"
SaveName "ScopeData12"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope6"
Ports [4]
Position [805, 14, 825, 151]
FontName "Arial"
FontSize 12
Location [5, 53, 805, 603]
Open off
NumInputPorts "4"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
axes4 ""
}
YMin "-5~-5~-5~-5"
YMax "5~5~5~5"
SaveName "ScopeData29"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope7"
Ports [3]
Position [610, 235, 635, 315]
FontName "Arial"
FontSize 12
Location [6, 53, 806, 603]
Open off
NumInputPorts "3"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
}
YMin "-5~-5~-5"
YMax "5~5~5"
SaveName "ScopeData25"
DataFormat "StructureWithTime"
}
Block {
BlockType SubSystem
Name "State-to-12Pulses\nDecoder"
Ports [1, 1]
Position [570, 349, 635, 411]
TreatAsAtomicUnit off
System {
Name "State-to-12Pulses\nDecoder"
Location [2, 74, 774, 560]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "State"
Position [110, 228, 140, 242]
PortDimensions "3"
}
Block {
BlockType Constant
Name "Constant11"
Position [285, 533, 335, 557]
ShowName off
Value "[1 1 0 0]"
}
Block {
BlockType Constant
Name "Constant12"
Position [285, 473, 335, 497]
ShowName off
Value "[0 0 1 1]"
}
Block {
BlockType Constant
Name "Constant13"
Position [285, 503, 335, 527]
ShowName off
Value "[0 1 1 0]"
}
Block {
BlockType Constant
Name "Constant2"
Position [160, 255, 180, 275]
ShowName off
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [270, 222, 275, 278]
BackgroundColor "black"
ShowName off
Outputs "3"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 4]
Position [500, 429, 505, 486]
BackgroundColor "black"
ShowName off
}
Block {
BlockType MultiPortSwitch
Name "Multiport\nSwitch"
Ports [4, 1]
Position [400, 224, 435, 296]
ShowName off
Inputs "3"
SaturateOnIntegerOverflow off
}
Block {
BlockType MultiPortSwitch
Name "Multiport\nSwitch3"
Ports [4, 1]
Position [400, 324, 435, 396]
ShowName off
Inputs "3"
SaturateOnIntegerOverflow off
}
Block {
BlockType MultiPortSwitch
Name "Multiport\nSwitch4"
Ports [4, 1]
Position [400, 424, 435, 496]
ShowName off
Inputs "3"
SaturateOnIntegerOverflow off
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [495, 248, 500, 322]
ShowName off
Inputs "[4 4 4]"
DisplayOption "bar"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [400, 138, 430, 172]
Location [188, 171, 512, 594]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "0"
YMax "4"
SaveName "ScopeData7"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope1"
Ports [4]
Position [535, 431, 560, 484]
Location [6, 53, 330, 596]
Open off
NumInputPorts "4"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
axes4 ""
}
YMin "-1.5~-1.5~-1.5~-1.5"
YMax "1.5~1.5~1.5~1.5"
SaveName "ScopeData8"
DataFormat "StructureWithTime"
MaxDataPoints "50000"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [205, 222, 225, 278]
ShowName off
}
Block {
BlockType Outport
Name "Pulses"
Position [560, 278, 590, 292]
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Pulses"
DstPort 1
}
Line {
SrcBlock "State"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Multiport\nSwitch"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [40, 0; 0, 80]
DstBlock "Multiport\nSwitch3"
DstPort 1
}
Line {
SrcBlock "Constant12"
SrcPort 1
Points [10, 0; 0, -35]
Branch {
Points [0, -100]
Branch {
Points [0, -100]
DstBlock "Multiport\nSwitch"
DstPort 2
}
Branch {
DstBlock "Multiport\nSwitch3"
DstPort 2
}
}
Branch {
DstBlock "Multiport\nSwitch4"
DstPort 2
}
}
Line {
SrcBlock "Constant13"
SrcPort 1
Points [20, 0; 0, -45]
Branch {
Points [0, -100]
Branch {
Points [0, -100]
DstBlock "Multiport\nSwitch"
DstPort 3
}
Branch {
Points [0, 0]
DstBlock "Multiport\nSwitch3"
DstPort 3
}
}
Branch {
Points [0, 0]
DstBlock "Multiport\nSwitch4"
DstPort 3
}
}
Line {
SrcBlock "Constant11"
SrcPort 1
Points [30, 0; 0, -55]
Branch {
Points [0, -100]
Branch {
Points [0, -100]
DstBlock "Multiport\nSwitch"
DstPort 4
}
Branch {
DstBlock "Multiport\nSwitch3"
DstPort 4
}
}
Branch {
Points [0, 0]
DstBlock "Multiport\nSwitch4"
DstPort 4
}
}
Line {
SrcBlock "Multiport\nSwitch"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Multiport\nSwitch3"
SrcPort 1
Points [15, 0; 0, -75]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Multiport\nSwitch4"
SrcPort 1
Points [30, 0]
Branch {
Points [0, -150]
DstBlock "Mux"
DstPort 3
}
Branch {
DstBlock "Demux1"
DstPort 1
}
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [20, 0; 0, 160; 35, 0]
Branch {
DstBlock "Multiport\nSwitch4"
DstPort 1
}
Branch {
Points [0, -275]
DstBlock "Scope"
DstPort 1
}
}
Line {
SrcBlock "Demux1"
SrcPort 1
DstBlock "Scope1"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 2
DstBlock "Scope1"
DstPort 2
}
Line {
SrcBlock "Demux1"
SrcPort 3
DstBlock "Scope1"
DstPort 3
}
Line {
SrcBlock "Demux1"
SrcPort 4
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -