📄 svpwmhaoyong.mdl
字号:
Ports [2]
Position [135, 26, 165, 59]
Floating off
Location [5, 54, 1029, 741]
Open off
NumInputPorts "2"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
TimeRange "0.1 "
YMin "7.5~93"
YMax "37.5~100"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope6"
Ports [1]
Position [510, 29, 540, 61]
Floating off
Location [5, 54, 1029, 741]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "2"
YMax "6"
SaveName "ScopeData3"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [5, 2]
Position [330, 134, 390, 316]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Subsystem"
Location [2, 93, 1014, 732]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "N"
Position [20, 18, 50, 32]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "X"
Position [25, 143, 55, 157]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Y"
Position [25, 188, 55, 202]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Z"
Position [25, 233, 55, 247]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "T"
Position [20, 323, 50, 337]
Port "5"
IconDisplay "Port number"
}
Block {
BlockType Gain
Name " "
Position [105, 135, 135, 165]
Gain "-1"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name " "
Position [105, 180, 135, 210]
Gain "-1"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name " "
Position [105, 225, 135, 255]
Gain "-1"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add"
Ports [2, 1]
Position [430, 367, 460, 398]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Fcn
Name "Fcn"
Position [435, 155, 495, 185]
Expr "u(3)-u(2)-u(1)"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [435, 100, 495, 130]
Expr "u(1)*u(3)/(u(1)+u(2))"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [435, 220, 495, 250]
Expr "u(2)*u(3)/(u(1)+u(2))"
}
Block {
BlockType MultiPortSwitch
Name "Multiport\nSwitch"
Ports [7, 1]
Position [230, 20, 275, 150]
Inputs "6"
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType MultiPortSwitch
Name "Multiport\nSwitch1"
Ports [7, 1]
Position [225, 190, 270, 310]
Inputs "6"
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [380, 69, 390, 271]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Scope
Name "Scope4"
Ports [3]
Position [765, 93, 800, 357]
Floating off
Location [5, 54, 1029, 741]
Open off
NumInputPorts "3"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
TimeRange "0.35"
YMin "-1e-005~-1e-005~0.00011"
YMax "0.00018~0.00018~0.000205"
SaveName "ScopeData4"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Switch
Name "Switch"
Position [565, 47, 595, 103]
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType Switch
Name "Switch1"
Position [570, 231, 600, 299]
Criteria "u2 > Threshold"
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "T1"
Position [650, 68, 680, 82]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "T2"
Position [655, 258, 685, 272]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "N"
SrcPort 1
Points [140, 0; 15, 0]
Branch {
DstBlock "Multiport\nSwitch1"
DstPort 1
}
Branch {
DstBlock "Multiport\nSwitch"
DstPort 1
}
}
Line {
SrcBlock "X"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, -25; 125, 0]
Branch {
Points [0, 125]
DstBlock "Multiport\nSwitch1"
DstPort 4
}
Branch {
DstBlock "Multiport\nSwitch"
DstPort 6
}
}
Branch {
DstBlock " "
DstPort 1
}
}
Line {
SrcBlock "Y"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, -20; 100, 0]
Branch {
Points [0, 45]
DstBlock "Multiport\nSwitch1"
DstPort 2
}
Branch {
Points [0, -110]
DstBlock "Multiport\nSwitch"
DstPort 3
}
}
Branch {
DstBlock " "
DstPort 1
}
}
Line {
SrcBlock "Z"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, -20; 90, 0]
Branch {
Points [0, 45]
DstBlock "Multiport\nSwitch1"
DstPort 5
}
Branch {
Points [0, -175]
DstBlock "Multiport\nSwitch"
DstPort 2
}
}
Branch {
DstBlock " "
DstPort 1
}
}
Line {
SrcBlock " "
SrcPort 1
Points [0, 0]
Branch {
Points [0, 55]
DstBlock "Multiport\nSwitch1"
DstPort 7
}
Branch {
Points [0, -155]
DstBlock "Multiport\nSwitch"
DstPort 4
}
}
Line {
SrcBlock " "
SrcPort 1
Points [0, 0; 50, 0]
Branch {
Points [0, -50]
DstBlock "Multiport\nSwitch"
DstPort 7
}
Branch {
Points [0, 85]
DstBlock "Multiport\nSwitch1"
DstPort 6
}
}
Line {
SrcBlock " "
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, -45]
DstBlock "Multiport\nSwitch"
DstPort 5
}
Branch {
Points [0, 85]
DstBlock "Multiport\nSwitch1"
DstPort 3
}
}
Line {
SrcBlock "Multiport\nSwitch"
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"
Posi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -