📄 svpwmqd.mdl
字号:
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [0, 125]
DstBlock "If Action\nSubsystem1"
DstPort 3
}
Branch {
Points [30, 0]
Branch {
Points [15, 0]
DstBlock "Sum7"
DstPort 1
}
Branch {
Points [0, -20; 265, 0; 0, 45]
DstBlock "Sum1"
DstPort 1
}
}
}
Line {
SrcBlock "T1"
SrcPort 1
Points [0, 0; 35, 0]
Branch {
Points [15, 0]
DstBlock "Sum7"
DstPort 2
}
Branch {
Points [0, 45]
Branch {
Points [0, 115]
DstBlock "If Action\nSubsystem"
DstPort 1
}
Branch {
Points [180, 0]
DstBlock "If Action\nSubsystem1"
DstPort 1
}
}
}
Line {
SrcBlock "T2"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [35, 0]
DstBlock "Sum7"
DstPort 3
}
Branch {
Points [0, 40]
Branch {
Points [0, 110]
DstBlock "If Action\nSubsystem"
DstPort 2
}
Branch {
Points [200, 0]
DstBlock "If Action\nSubsystem1"
DstPort 2
}
}
}
Line {
Name "t2"
Labels [0, 0]
SrcBlock "Sum4"
SrcPort 1
Points [0, 0; 55, 0]
Branch {
Points [0, -145]
DstBlock "Sum1"
DstPort 3
}
Branch {
Points [80, 0]
DstBlock "TCM3"
DstPort 1
}
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "tb"
DstPort 1
}
Line {
SrcBlock "Sum3"
SrcPort 1
DstBlock "tc"
DstPort 1
}
Annotation {
Name "T"
Position [41, 64]
}
}
}
Block {
BlockType Outport
Name "ta"
Position [780, 78, 810, 92]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "tb"
Position [780, 143, 810, 157]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "tc"
Position [780, 228, 810, 242]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "t"
SrcPort 1
Points [155, 0; 0, 85]
DstBlock "Subsystem"
DstPort 1
}
Line {
SrcBlock "T1"
SrcPort 1
Points [145, 0; 0, 75]
DstBlock "Subsystem"
DstPort 2
}
Line {
SrcBlock "Subsystem"
SrcPort 1
Points [165, 0; 0, -50]
DstBlock "ta"
DstPort 1
}
Line {
SrcBlock "T2"
SrcPort 1
Points [135, 0; 0, 65]
DstBlock "Subsystem"
DstPort 3
}
Line {
SrcBlock "Subsystem"
SrcPort 2
Points [165, 0; 0, -5]
DstBlock "tb"
DstPort 1
}
Line {
SrcBlock "Subsystem"
SrcPort 3
Points [165, 0; 0, 60]
DstBlock "tc"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem2"
Ports [4, 2]
Position [240, 142, 280, 203]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Subsystem2"
Location [257, 162, 607, 444]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [165, 23, 195, 37]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In2"
Position [25, 128, 55, 142]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In3"
Position [25, 168, 55, 182]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In4"
Position [25, 208, 55, 222]
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Gain
Name "Gain"
Position [95, 145, 125, 175]
Gain "-1"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [95, 180, 125, 210]
Gain "-1"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
Position [95, 225, 125, 255]
Gain "-1"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType MultiPortSwitch
Name "Multiport\nSwitch"
Ports [7, 1]
Position [230, 27, 265, 103]
Inputs "6"
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType MultiPortSwitch
Name "Multiport\nSwitch1"
Ports [7, 1]
Position [230, 131, 265, 209]
Inputs "6"
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "T1"
Position [295, 58, 325, 72]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "T2"
Position [295, 163, 325, 177]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Multiport\nSwitch1"
DstPort 1
}
Branch {
DstBlock "Multiport\nSwitch"
DstPort 1
}
}
Line {
SrcBlock "In2"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 25]
DstBlock "Gain"
DstPort 1
}
Branch {
Points [100, 0]
Branch {
Points [0, 35]
DstBlock "Multiport\nSwitch1"
DstPort 4
}
Branch {
Points [0, -50]
DstBlock "Multiport\nSwitch"
DstPort 6
}
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [0, 0; 75, 0]
Branch {
Points [0, -85]
DstBlock "Multiport\nSwitch"
DstPort 5
}
Branch {
DstBlock "Multiport\nSwitch1"
DstPort 3
}
}
Line {
SrcBlock "In3"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 20]
DstBlock "Gain1"
DstPort 1
}
Branch {
Points [120, 0; 0, -25]
Branch {
DstBlock "Multiport\nSwitch1"
DstPort 2
}
Branch {
Points [0, -95]
DstBlock "Multiport\nSwitch"
DstPort 3
}
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [55, 0; 0, -5]
Branch {
Points [0, -95]
DstBlock "Multiport\nSwitch"
DstPort 7
}
Branch {
DstBlock "Multiport\nSwitch1"
DstPort 6
}
}
Line {
SrcBlock "In4"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 25]
DstBlock "Gain2"
DstPort 1
}
Branch {
Points [85, 0; 0, -35]
Branch {
DstBlock "Multiport\nSwitch1"
DstPort 5
}
Branch {
Points [0, -135]
DstBlock "Multiport\nSwitch"
DstPort 2
}
}
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [15, 0; 0, -40]
Branch {
Points [0, -135]
DstBlock "Multiport\nSwitch"
DstPort 4
}
Branch {
DstBlock "Multiport\nSwitch1"
DstPort 7
}
}
Line {
SrcBlock "Multiport\nSwitch"
SrcPort 1
Points [0, 0]
DstBlock "T1"
DstPort 1
}
Line {
SrcBlock "Multiport\nSwitch1"
SrcPort 1
Points [0, 0]
DstBlock "T2"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem3"
Ports [4, 3]
Position [455, 132, 495, 208]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Subsystem3"
Location [376, 159, 666, 484]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "N"
Position [25, 28, 55, 42]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Ta"
Position [25, 113, 55, 127]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Tb"
Position [25, 178, 55, 192]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Tc"
Position [25, 258, 55, 272]
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType MultiPortSwitch
Name "Multiport\nSwitch"
Ports [7, 1]
Position [160, 31, 190, 99]
Inputs "6"
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType MultiPortSwitch
Name "Multiport\nSwitch1"
Ports [7, 1]
Position [160, 129, 190, 201]
Inputs "6"
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType MultiPortSwitch
Name "Multiport\nSwitch2"
Ports [7, 1]
Position [160, 229, 190, 301]
Inputs "6"
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Tcm1"
Position [230, 58, 260, 72]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Tcm2"
Position [235, 158, 265, 172]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Tcm3"
Position [235, 258, 265, 272]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Tc"
SrcPort 1
Points [0, 0; 45, 0]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -