📄 svpwmhaoyong.mdl
字号:
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [3, 2]
Position [340, 152, 395, 208]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Subsystem1"
Location [257, 435, 934, 943]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Ud"
Position [110, 103, 140, 117]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Uq"
Position [110, 148, 140, 162]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "theta"
Position [110, 193, 140, 207]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Fcn
Name "Fcn"
Position [250, 95, 310, 125]
Expr "u(1)*cos(u(3))-u(2)*sin(u(3))"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [250, 185, 310, 215]
Expr "u(1)*sin(u(3))+u(2)*cos(u(3))"
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1]
Position [190, 90, 195, 220]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Outport
Name "Ualfa"
Position [350, 103, 380, 117]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Ubelt"
Position [350, 193, 380, 207]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "theta"
SrcPort 1
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "Uq"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Ud"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Ubelt"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Ualfa"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 45]
DstBlock "Fcn1"
DstPort 1
}
Branch {
Points [0, -45]
DstBlock "Fcn"
DstPort 1
}
}
}
}
Block {
BlockType SubSystem
Name "Subsystem2"
Ports [4, 1]
Position [435, 154, 475, 251]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Subsystem2"
Location [-39, 232, 973, 871]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Ualfa"
Position [30, 78, 60, 92]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Ubeta"
Position [25, 123, 55, 137]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "T"
Position [30, 183, 60, 197]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Udc"
Position [25, 288, 55, 302]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType SubSystem
Name "N1"
Ports [2, 1]
Position [190, 82, 230, 158]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "N1"
Location [-211, 382, 801, 1021]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Ualfa"
Position [25, 358, 55, 372]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Ubeta"
Position [55, 83, 85, 97]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Constant
Name "Constant"
Position [175, 25, 205, 55]
}
Block {
BlockType Constant
Name "Constant1"
Position [165, 460, 195, 490]
Value "0"
}
Block {
BlockType Gain
Name "Gain"
Position [85, 250, 115, 280]
Gain "1.732"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [90, 400, 120, 430]
Gain "-1.732"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
Position [315, 190, 345, 220]
Gain "2"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain3"
Position [325, 355, 355, 385]
Gain "4"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [150, 177, 185, 233]
ShowName off
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [150, 342, 185, 398]
ShowName off
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum2"
Ports [3, 1]
Position [390, 104, 420, 256]
ShowName off
Inputs "|+++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Switch
Name "Switch"
Position [250, 54, 285, 126]
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType Switch
Name "Switch1"
Position [250, 169, 285, 241]
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType Switch
Name "Switch2"
Position [250, 334, 285, 406]
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "N"
Position [510, 173, 540, 187]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Ubeta"
SrcPort 1
Points [40, 0]
Branch {
DstBlock "Switch"
DstPort 2
}
Branch {
Labels [1, 0]
Points [0, 115]
Branch {
DstBlock "Sum"
DstPort 1
}
Branch {
Points [0, 165]
DstBlock "Sum1"
DstPort 1
}
}
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [20, 0; 0, 25]
Branch {
DstBlock "Switch"
DstPort 1
}
Branch {
Points [0, 115]
Branch {
Points [0, 165]
DstBlock "Switch2"
DstPort 1
}
Branch {
DstBlock "Switch1"
DstPort 1
}
}
}
Line {
SrcBlock "Ualfa"
SrcPort 1
Points [10, 0]
Branch {
Points [0, 50]
DstBlock "Gain1"
DstPort 1
}
Branch {
DstBlock "Gain"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [0, -40]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Switch1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Switch2"
DstPort 2
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [5, 0; 0, -25]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [0, 0; 0, -85]
Branch {
Points [0, -160]
Branch {
Points [0, -115]
DstBlock "Switch"
DstPort 3
}
Branch {
DstBlock "Switch1"
DstPort 3
}
}
Branch {
Points [35, 0]
DstBlock "Switch2"
DstPort 3
}
}
Line {
SrcBlock "Switch1"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Switch2"
SrcPort 1
DstBlock "Gain3"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [25, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Switch"
SrcPort 1
Points [55, 0; 0, 70]
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [10, 0; 0, -130]
DstBlock "Sum2"
DstPort 3
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "N"
DstPort 1
}
}
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [635, 54, 665, 86]
Floating off
Location [5, 75, 1029, 762]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "0.4"
YMin "-2e-005"
YMax "0.00012"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [330, 44, 360, 76]
Floating off
Location [-77, 92, 947, 779]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "2"
YMax "6"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope3"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -