📄 svpwm.mdl
字号:
SrcPort 1
Points [25, 0]
Branch {
Points [60, 0]
Branch {
DstBlock "Mux"
DstPort 1
}
Branch {
Points [0, -30]
DstBlock "Switch"
DstPort 1
}
}
Branch {
Points [0, 305]
DstBlock "Add"
DstPort 2
}
}
Line {
SrcBlock "Multiport\nSwitch1"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 25; 255, 0; 0, -30]
DstBlock "Switch1"
DstPort 1
}
Branch {
Points [0, -80; 60, 0]
Branch {
DstBlock "Mux"
DstPort 2
}
Branch {
Points [0, 205]
DstBlock "Add"
DstPort 1
}
}
}
Line {
SrcBlock "T"
SrcPort 1
Points [280, 0; 0, -95]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Fcn"
DstPort 1
}
Branch {
Points [0, -55]
DstBlock "Fcn1"
DstPort 1
}
Branch {
Points [0, 65]
DstBlock "Fcn2"
DstPort 1
}
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [0, 0; 30, 0]
Branch {
Points [0, -95]
DstBlock "Switch"
DstPort 2
}
Branch {
Points [0, 95]
DstBlock "Switch1"
DstPort 2
}
}
Line {
SrcBlock "Fcn1"
SrcPort 1
Points [50, 0]
DstBlock "Switch"
DstPort 3
}
Line {
SrcBlock "Fcn2"
SrcPort 1
Points [0, 50]
DstBlock "Switch1"
DstPort 3
}
Line {
SrcBlock "Switch"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "T1"
DstPort 1
}
Branch {
Points [0, 60]
DstBlock "Scope4"
DstPort 1
}
}
Line {
SrcBlock "Switch1"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "T2"
DstPort 1
}
Branch {
Points [0, -40]
DstBlock "Scope4"
DstPort 2
}
}
Line {
SrcBlock "Add"
SrcPort 1
Points [140, 0; 0, -70]
DstBlock "Scope4"
DstPort 3
}
Annotation {
Name "z"
Position [202, 34]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "y"
Position [198, 54]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "-z"
Position [198, 79]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "-x"
Position [196, 99]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "x"
Position [193, 114]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "-y"
Position [195, 134]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "y"
Position [205, 213]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "-x"
Position [206, 227]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "x"
Position [207, 243]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "z"
Position [208, 260]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "-y"
Position [208, 273]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "-z"
Position [208, 287]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "T1"
Position [360, 65]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "T2"
Position [358, 164]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "T"
Position [364, 219]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "T1"
Position [635, 59]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "T2"
Position [641, 253]
UseDisplayTextAsClickCallback off
}
}
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [4, 3]
Position [665, 519, 720, 681]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Subsystem1"
Location [2, 82, 1270, 973]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "T1"
Position [85, 233, 115, 247]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "T2"
Position [20, 323, 50, 337]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "T"
Position [20, 368, 50, 382]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "N"
Position [15, 38, 45, 52]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Gain
Name "Gain1"
Position [260, 315, 290, 345]
Gain "1/4"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
Position [155, 110, 185, 140]
Gain "0.5"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain3"
Position [155, 195, 185, 225]
Gain "0.5"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType MultiPortSwitch
Name "Multiport\nSwitch"
Ports [7, 1]
Position [705, 40, 750, 170]
Inputs "6"
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType MultiPortSwitch
Name "Multiport\nSwitch1"
Ports [7, 1]
Position [710, 215, 755, 345]
Inputs "6"
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType MultiPortSwitch
Name "Multiport\nSwitch2"
Ports [7, 1]
Position [710, 400, 755, 530]
Inputs "6"
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract1"
Ports [3, 1]
Position [155, 260, 215, 400]
Inputs "--+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract2"
Ports [2, 1]
Position [365, 205, 425, 345]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract3"
Ports [2, 1]
Position [460, 100, 515, 220]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Tcm1"
Position [840, 98, 870, 112]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Tcm2"
Position [845, 273, 875, 287]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Tcm3"
Position [845, 458, 875, 472]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "T2"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, -205]
DstBlock "Gain2"
DstPort 1
}
Branch {
DstBlock "Subtract1"
DstPort 2
}
}
Line {
SrcBlock "T"
SrcPort 1
DstBlock "Subtract1"
DstPort 3
}
Line {
SrcBlock "T1"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [0, -30]
DstBlock "Gain3"
DstPort 1
}
Branch {
Points [0, 45]
DstBlock "Subtract1"
DstPort 1
}
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [40, 0; 0, 30]
DstBlock "Subtract2"
DstPort 1
}
Line {
SrcBlock "Subtract1"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [25, 0; 0, -5]
Branch {
Points [0, -15]
DstBlock "Subtract2"
DstPort 2
}
Branch {
Points [0, 60; 335, 0; 0, 0]
Branch {
Points [0, 100]
Branch {
DstBlock "Multiport\nSwitch2"
DstPort 5
}
Branch {
Points [0, 20]
DstBlock "Multiport\nSwitch2"
DstPort 6
}
}
Branch {
Points [0, -45]
Branch {
Points [0, -100]
Branch {
Points [0, -135]
Branch {
Points [0, -20]
DstBlock "Multiport\nSwitch"
DstPort 3
}
Branch {
DstBlock "Multiport\nSwitch"
DstPort 4
}
}
Branch {
DstBlock "Multiport\nSwitch1"
DstPort 2
}
}
Branch {
DstBlock "Multiport\nSwitch1"
DstPort 7
}
}
}
}
Line {
SrcBlock "Subtract2"
SrcPort 1
Points [10, 0]
Branch {
Points [0, -85]
DstBlock "Subtract3"
DstPort 2
}
Branch {
Points [140, 0]
Branch {
Points [0, 5]
Branch {
DstBlock "Multiport\nSwitch1"
DstPort 4
}
Branch {
Points [0, 20]
Branch {
Points [0, 0]
DstBlock "Multiport\nSwitch1"
DstPort 5
}
Branch {
Po
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -