📄 chenggong1.mdl
字号:
BlockType SubSystem
Name "Subsystem1"
Ports [2, 1]
Position [225, 290, 265, 350]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Subsystem1"
Location [117, 97, 672, 305]
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 Reference
Name "XY Graph"
Ports [2]
Position [1195, 180, 1225, 215]
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 "-1"
xmax "1"
ymin "-1"
ymax "1"
st "-1"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold1"
Position [655, 595, 675, 615]
Orientation "left"
ShowName off
FontSize 12
SampleTime "2.0000e-005"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold2"
Position [1150, 530, 1170, 550]
Orientation "left"
NamePlacement "alternate"
ShowName off
FontSize 12
SampleTime "5e-5"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold3"
Position [750, 570, 770, 590]
Orientation "left"
ShowName off
FontSize 12
SampleTime "2.0000e-005"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold4"
Position [1030, 350, 1050, 370]
ShowName off
FontSize 12
SampleTime "5e-5"
}
Block {
BlockType SubSystem
Name "a_b_vector_sector"
Ports [1, 1]
Position [555, 594, 635, 646]
Orientation "left"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "a_b_vector_sector"
Location [107, 168, 726, 637]
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 "angle"
Position [15, 13, 45, 27]
IconDisplay "Port number"
}
Block {
BlockType Constant
Name "Constant"
Position [15, 43, 45, 57]
ShowName off
Value "-30"
}
Block {
BlockType Constant
Name "Constant1"
Position [15, 73, 45, 87]
ShowName off
Value "30"
}
Block {
BlockType Constant
Name "Constant10"
Position [15, 368, 45, 382]
ShowName off
Value "-90"
}
Block {
BlockType Constant
Name "Constant11"
Position [15, 398, 45, 412]
ShowName off
Value "-30"
}
Block {
BlockType Constant
Name "Constant2"
Position [15, 108, 45, 122]
ShowName off
Value "30"
}
Block {
BlockType Constant
Name "Constant3"
Position [15, 138, 45, 152]
ShowName off
Value "90"
}
Block {
BlockType Constant
Name "Constant4"
Position [15, 173, 45, 187]
ShowName off
Value "90"
}
Block {
BlockType Constant
Name "Constant5"
Position [15, 203, 45, 217]
ShowName off
Value "150"
}
Block {
BlockType Constant
Name "Constant6"
Position [15, 238, 45, 252]
ShowName off
Value "150"
}
Block {
BlockType Constant
Name "Constant7"
Position [15, 268, 45, 282]
ShowName off
Value "-150"
}
Block {
BlockType Constant
Name "Constant8"
Position [15, 303, 45, 317]
ShowName off
Value "-150"
}
Block {
BlockType Constant
Name "Constant9"
Position [15, 333, 45, 347]
ShowName off
Value "-90"
}
Block {
BlockType DataTypeConversion
Name "Data Type Conversion"
Position [210, 46, 260, 74]
NamePlacement "alternate"
ShowName off
}
Block {
BlockType DataTypeConversion
Name "Data Type Conversion1"
Position [210, 111, 260, 139]
NamePlacement "alternate"
ShowName off
}
Block {
BlockType DataTypeConversion
Name "Data Type Conversion2"
Position [210, 176, 260, 204]
NamePlacement "alternate"
ShowName off
}
Block {
BlockType DataTypeConversion
Name "Data Type Conversion3"
Position [210, 241, 260, 269]
NamePlacement "alternate"
ShowName off
}
Block {
BlockType DataTypeConversion
Name "Data Type Conversion4"
Position [210, 306, 260, 334]
NamePlacement "alternate"
ShowName off
}
Block {
BlockType DataTypeConversion
Name "Data Type Conversion5"
Position [210, 371, 260, 399]
NamePlacement "alternate"
ShowName off
}
Block {
BlockType Gain
Name "Gain"
Position [310, 45, 340, 75]
ShowName off
}
Block {
BlockType Gain
Name "Gain1"
Position [310, 110, 340, 140]
ShowName off
Gain "2"
}
Block {
BlockType Gain
Name "Gain2"
Position [310, 175, 340, 205]
ShowName off
Gain "3"
}
Block {
BlockType Gain
Name "Gain3"
Position [310, 240, 340, 270]
ShowName off
Gain "4"
}
Block {
BlockType Gain
Name "Gain4"
Position [310, 305, 340, 335]
ShowName off
Gain "5"
}
Block {
BlockType Gain
Name "Gain5"
Position [310, 370, 340, 400]
ShowName off
Gain "6"
}
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [2, 1]
Position [145, 32, 170, 88]
ShowName off
}
Block {
BlockType Logic
Name "Logical\nOperator1"
Ports [2, 1]
Position [145, 97, 170, 153]
ShowName off
}
Block {
BlockType Logic
Name "Logical\nOperator2"
Ports [2, 1]
Position [145, 162, 170, 218]
ShowName off
}
Block {
BlockType Logic
Name "Logical\nOperator3"
Ports [2, 1]
Position [145, 227, 170, 283]
ShowName off
Operator "OR"
}
Block {
BlockType Logic
Name "Logical\nOperator4"
Ports [2, 1]
Position [145, 292, 170, 348]
ShowName off
}
Block {
BlockType Logic
Name "Logical\nOperator5"
Ports [2, 1]
Position [145, 357, 170, 413]
ShowName off
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator1"
Position [110, 64, 130, 86]
ShowName off
Operator "<="
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator10"
Position [110, 294, 130, 316]
ShowName off
Operator ">"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator11"
Position [110, 359, 130, 381]
ShowName off
Operator ">"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator12"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -