📄 multilevelsvpwm.mdl
字号:
SrcBlock "Valpha"
SrcPort 1
Points [95, 0]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Vbeta\n"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Product2"
DstPort 1
}
Branch {
Points [0, 35]
DstBlock "Mux"
DstPort 5
}
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [30, 0; 0, -25]
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [5, 0]
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "S"
SrcPort 1
Points [95, 0]
DstBlock "Mux"
DstPort 6
}
Line {
SrcBlock "X"
SrcPort 1
DstBlock "Mux"
DstPort 7
}
Line {
SrcBlock "Y"
SrcPort 1
DstBlock "Mux"
DstPort 8
}
Line {
SrcBlock "Z"
SrcPort 1
DstBlock "Mux"
DstPort 9
}
Line {
SrcBlock "T"
SrcPort 1
DstBlock "Mux"
DstPort 10
}
}
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [3, 3]
Position [430, 166, 495, 284]
ShowName off
TreatAsAtomicUnit off
System {
Name "Subsystem1"
Location [78, 178, 611, 416]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Tx"
Position [50, 73, 80, 87]
}
Block {
BlockType Inport
Name "Ty"
Position [50, 103, 80, 117]
Port "2"
}
Block {
BlockType Inport
Name "T"
Position [50, 43, 80, 57]
Port "3"
}
Block {
BlockType Gain
Name "Gain1"
Position [120, 99, 145, 121]
ShowName off
Gain "0.25"
}
Block {
BlockType Gain
Name "Gain2"
Position [220, 129, 245, 151]
ShowName off
Gain "2"
}
Block {
BlockType Gain
Name "Gain3"
Position [220, 174, 245, 196]
ShowName off
Gain "2"
}
Block {
BlockType Gain
Name "Gain4"
Position [120, 69, 145, 91]
ShowName off
Gain "0.25"
}
Block {
BlockType Gain
Name "Gain5"
Position [120, 39, 145, 61]
ShowName off
Gain "0.25"
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [185, 36, 280, 124]
ShowName off
Inputs "+--"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [310, 109, 350, 151]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [385, 155, 425, 195]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "Taon"
Position [445, 73, 475, 87]
}
Block {
BlockType Outport
Name "Tbon"
Position [445, 123, 475, 137]
Port "2"
}
Block {
BlockType Outport
Name "Tcon"
Position [445, 168, 475, 182]
Port "3"
}
Line {
SrcBlock "Tx"
SrcPort 1
DstBlock "Gain4"
DstPort 1
}
Line {
SrcBlock "Ty"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Sum"
DstPort 3
}
Branch {
Points [0, 75]
DstBlock "Gain3"
DstPort 1
}
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Taon"
DstPort 1
}
Branch {
Points [0, 40]
DstBlock "Sum1"
DstPort 1
}
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Tbon"
DstPort 1
}
Branch {
Points [0, 35]
DstBlock "Sum2"
DstPort 1
}
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Tcon"
DstPort 1
}
Line {
SrcBlock "T"
SrcPort 1
DstBlock "Gain5"
DstPort 1
}
Line {
SrcBlock "Gain4"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 60]
DstBlock "Gain2"
DstPort 1
}
Branch {
DstBlock "Sum"
DstPort 2
}
}
Line {
SrcBlock "Gain5"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Gain3"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "Subsystem2"
Ports [3, 1]
Position [820, 167, 910, 333]
TreatAsAtomicUnit off
System {
Name "Subsystem2"
Location [2, 82, 1014, 721]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [20, 73, 50, 87]
}
Block {
BlockType Inport
Name "In2"
Position [30, 138, 60, 152]
Port "2"
}
Block {
BlockType Inport
Name "In3"
Position [45, 203, 75, 217]
Port "3"
}
Block {
BlockType BusCreator
Name "Bus\nCreator"
Ports [3, 1]
Position [715, 185, 725, 265]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Constant
Name "Constant11"
Position [500, 363, 550, 387]
ShowName off
Value "[0 0 1 1]"
}
Block {
BlockType Constant
Name "Constant12"
Position [500, 303, 550, 327]
ShowName off
Value "[1 1 0 0]"
}
Block {
BlockType Constant
Name "Constant13"
Position [500, 333, 550, 357]
ShowName off
Value "[0 1 1 0]"
}
Block {
BlockType Constant
Name "Constant3"
Position [280, 25, 300, 45]
ShowName off
Value "2"
}
Block {
BlockType Gain
Name "Gain"
Position [760, 210, 790, 240]
Gain "10"
}
Block {
BlockType MultiPortSwitch
Name "Multiport\nSwitch"
Ports [4, 1]
Position [615, 89, 650, 161]
ShowName off
Inputs "3"
SaturateOnIntegerOverflow off
}
Block {
BlockType MultiPortSwitch
Name "Multiport\nSwitch3"
Ports [4, 1]
Position [615, 189, 650, 261]
ShowName off
Inputs "3"
SaturateOnIntegerOverflow off
}
Block {
BlockType MultiPortSwitch
Name "Multiport\nSwitch4"
Ports [4, 1]
Position [615, 289, 650, 361]
ShowName off
Inputs "3"
SaturateOnIntegerOverflow off
}
Block {
BlockType Relay
Name "Relay1"
Position [215, 70, 245, 100]
OffOutputValue "-1"
}
Block {
BlockType Relay
Name "Relay2"
Position [215, 125, 245, 155]
OffOutputValue "-1"
}
Block {
BlockType Relay
Name "Relay3"
Position [215, 180, 245, 210]
OffOutputValue "-1"
}
Block {
BlockType Reference
Name "Repeating\nSequence"
Ports [0, 1]
Position [75, 15, 105, 45]
SourceBlock "simulink/Sources/Repeating\nSequence"
SourceType "Repeating table"
rep_seq_t "[0 0.00005]"
rep_seq_y "[0 0.00005]"
}
Block {
BlockType Scope
Name "Scope1"
Ports [3]
Position [510, 424, 555, 496]
Location [215, 224, 615, 481]
Open off
NumInputPorts "3"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
}
YMin "-1~-1.05~-1"
YMax "1~-0.95~1"
DataFormat "StructureWithTime"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [135, 65, 165, 100]
ShowName off
Inputs "+-"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [140, 120, 170, 155]
ShowName off
Inputs "+-"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [125, 185, 155, 220]
ShowName off
Inputs "+-"
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [380, 60, 410, 95]
ShowName off
}
Block {
BlockType Sum
Name "Sum5"
Ports [2, 1]
Position [380, 115, 410, 150]
ShowName off
}
Block {
BlockType Sum
Name "Sum6"
Ports [2, 1]
Position [380, 170, 410, 205]
ShowName off
}
Block {
BlockType Outport
Name "Pulses"
Position [830, 218, 860, 232]
}
Line {
SrcBlock "Multiport\nSwitch4"
SrcPort 1
Points [35, 0; 0, -75]
DstBlock "Bus\nCreator"
DstPort 3
}
Line {
SrcBlock "Multiport\nSwitch3"
SrcPort 1
DstBlock "Bus\nCreator"
DstPort 2
}
Line {
SrcBlock "Multiport\nSwitch"
SrcPort 1
Points [35, 0; 0, 75]
DstBlock "Bus\nCreator"
DstPort 1
}
Line {
SrcBlock "Constant11"
SrcPort 1
Points [30, 0; 0, -20]
Branch {
DstBlock "Multiport\nSwitch4"
DstPort 4
}
Branch {
Points [0, -100]
Branch {
DstBlock "Multiport\nSwitch3"
DstPort 4
}
Branch {
Points [0, -100]
DstBlock "Multiport\nSwitch"
DstPort 4
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -