📄 aaaaa.mdl
字号:
Branch {
Points [0, 60]
DstBlock "Flux = -1"
DstPort 1
}
}
}
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [2, 1]
Position [225, 290, 265, 350]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Subsystem1"
Location [22, 88, 577, 296]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "Torque*"
Position [25, 43, 55, 57]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Torque"
Position [25, 83, 55, 97]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Relay
Name "-dTe/2"
Position [185, 90, 215, 120]
OnSwitchValue "0"
OffSwitchValue "-1"
OnOutputValue "0"
OffOutputValue "3"
}
Block {
BlockType DataTypeConversion
Name "Data Type Conversion5"
Position [345, 141, 380, 169]
NamePlacement "alternate"
ShowName off
}
Block {
BlockType Gain
Name "Gain1"
Position [400, 140, 420, 170]
ShowName off
Gain "2"
}
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [2, 1]
Position [295, 137, 325, 168]
ShowName off
Operator "NOR"
AllPortsSameDT off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [125, 45, 145, 65]
ShowName off
IconShape "round"
Inputs "|+-"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [3, 1]
Position [450, 27, 465, 183]
ShowName off
Inputs "+++"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Relay
Name "dTe/2"
Position [185, 40, 215, 70]
OnSwitchValue "1"
OffSwitchValue "0"
}
Block {
BlockType Outport
Name "H_Te"
Position [500, 98, 530, 112]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Data Type Conversion5"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "H_Te"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Sum2"
DstPort 3
}
Line {
SrcBlock "Logical\nOperator"
SrcPort 1
DstBlock "Data Type Conversion5"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [10, 0]
Branch {
Points [0, 50]
DstBlock "-dTe/2"
DstPort 1
}
Branch {
DstBlock "dTe/2"
DstPort 1
}
}
Line {
SrcBlock "dTe/2"
SrcPort 1
Points [45, 0]
Branch {
DstBlock "Sum2"
DstPort 1
}
Branch {
Points [0, 90]
DstBlock "Logical\nOperator"
DstPort 1
}
}
Line {
SrcBlock "-dTe/2"
SrcPort 1
Points [35, 0]
Branch {
DstBlock "Sum2"
DstPort 2
}
Branch {
Points [0, 55]
DstBlock "Logical\nOperator"
DstPort 2
}
}
Line {
SrcBlock "Torque"
SrcPort 1
Points [75, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Torque*"
SrcPort 1
Points [0, 5]
DstBlock "Sum"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem2"
Ports [3, 2]
Position [725, 85, 765, 145]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Subsystem2"
Location [69, 231, 449, 454]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "ia"
Position [25, 28, 55, 42]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "ib"
Position [25, 83, 55, 97]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "ic"
Position [30, 133, 60, 147]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Fcn
Name "Fcn"
Position [200, 45, 260, 75]
Expr "sqrt(2/3)*(u(1)-0.5*u(2)-0.5*u(3))"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [195, 165, 255, 195]
Expr "sqrt(2/3)*(0.866*u(1)-0.866*u(2))"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [150, 41, 155, 79]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [150, 161, 155, 199]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Outport
Name "ialfa"
Position [325, 53, 355, 67]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "ibeta"
Position [325, 173, 355, 187]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "ia"
SrcPort 1
Points [35, 0; 0, 15]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "ib"
SrcPort 1
Points [30, 0]
Branch {
Points [15, 0; 0, -30]
DstBlock "Mux"
DstPort 2
}
Branch {
Points [0, 80]
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "ic"
SrcPort 1
Points [10, 0]
Branch {
Points [60, 0]
DstBlock "Mux"
DstPort 3
}
Branch {
Points [0, 50]
DstBlock "Mux1"
DstPort 2
}
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "ialfa"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Fcn1"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "ibeta"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem3"
Ports [3, 2]
Position [655, 30, 695, 90]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Subsystem3"
Location [69, 231, 449, 454]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "ua"
Position [25, 28, 55, 42]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "ub"
Position [25, 83, 55, 97]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "uc"
Position [30, 133, 60, 147]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Fcn
Name "Fcn"
Position [200, 45, 260, 75]
Expr "sqrt(2/3)*(u(1)-0.5*u(2)-0.5*u(3))"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [195, 165, 255, 195]
Expr "sqrt(2/3)*(0.866*u(1)-0.866*u(2))"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [150, 41, 155, 79]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [150, 161, 155, 199]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Outport
Name "ualfa"
Position [325, 53, 355, 67]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "ubeta"
Position [325, 173, 355, 187]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "ua"
SrcPort 1
Points [35, 0; 0, 15]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "ub"
SrcPort 1
Points [30, 0]
Branch {
Points [15, 0; 0, -30]
DstBlock "Mux"
DstPort 2
}
Branch {
Points [0, 80]
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "uc"
SrcPort 1
Points [10, 0]
Branch {
Points [60, 0]
DstBlock "Mux"
DstPort 3
}
Branch {
Points [0, 50]
DstBlock "Mux1"
DstPort 2
}
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "ualfa"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Fcn1"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "ubeta"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "XY Graph"
Ports [2]
Position [1175, 135, 1205, 170]
SourceBlock "simulink/Sinks/XY Graph"
SourceType "XY scope."
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
xmin "-0.1"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -