📄 svmdtc_close.mdl
字号:
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [410, 268, 445, 297]
ShowName off
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Gain
Name "TCM1"
Position [215, 94, 270, 136]
Gain "0.25"
}
Block {
BlockType Gain
Name "TCM2"
Position [230, 195, 260, 225]
Gain "0.5"
}
Block {
BlockType Gain
Name "TCM3"
Position [230, 275, 260, 305]
Gain "0.5"
}
Block {
BlockType Constant
Name "pwmperiod"
Position [15, 56, 60, 84]
Value "0.0001"
SampleTime "-1"
}
Block {
BlockType Outport
Name "tcm1"
Position [790, 158, 820, 172]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "tcm2"
Position [795, 293, 825, 307]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "tcm3"
Position [790, 453, 820, 467]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "TCM1"
DstPort 1
}
Line {
SrcBlock "t1"
SrcPort 1
Points [5, 0; 0, 5; 25, 0]
Branch {
DstBlock "Sum1"
DstPort 2
}
Branch {
Points [0, 95]
DstBlock "TCM2"
DstPort 1
}
}
Line {
SrcBlock "t2"
SrcPort 1
Points [5, 0]
Branch {
Points [10, 0; 0, -20]
DstBlock "Sum1"
DstPort 3
}
Branch {
Points [0, 145]
DstBlock "TCM3"
DstPort 1
}
}
Line {
SrcBlock "n"
SrcPort 1
Points [465, 0; 0, 90; 20, 0]
Branch {
Points [0, 130]
Branch {
Points [0, 165]
DstBlock "Multiport\nSwitch2"
DstPort 1
}
Branch {
Points [0, 5]
DstBlock "Multiport\nSwitch1"
DstPort 1
}
}
Branch {
DstBlock "Multiport\nSwitch"
DstPort 1
}
}
Line {
SrcBlock "Multiport\nSwitch"
SrcPort 1
DstBlock "tcm1"
DstPort 1
}
Line {
SrcBlock "Multiport\nSwitch1"
SrcPort 1
DstBlock "tcm2"
DstPort 1
}
Line {
SrcBlock "Multiport\nSwitch2"
SrcPort 1
DstBlock "tcm3"
DstPort 1
}
Line {
SrcBlock "TCM1"
SrcPort 1
Points [15, 0]
Branch {
Points [170, 0; 0, 35; 145, 0]
Branch {
DstBlock "Multiport\nSwitch"
DstPort 3
}
Branch {
Points [0, 15]
Branch {
DstBlock "Multiport\nSwitch"
DstPort 4
}
Branch {
Points [0, 105]
Branch {
DstBlock "Multiport\nSwitch1"
DstPort 2
}
Branch {
Points [0, 60]
Branch {
DstBlock "Multiport\nSwitch1"
DstPort 6
}
Branch {
Points [0, 145]
Branch {
DstBlock "Multiport\nSwitch2"
DstPort 5
}
Branch {
Points [0, 30]
DstBlock "Multiport\nSwitch2"
DstPort 7
}
}
}
}
}
}
Branch {
DstBlock "Sum2"
DstPort 1
}
}
Line {
SrcBlock "Sum3"
SrcPort 1
Points [180, 0]
Branch {
Points [0, -90]
Branch {
Points [0, -15]
DstBlock "Multiport\nSwitch"
DstPort 5
}
Branch {
DstBlock "Multiport\nSwitch"
DstPort 6
}
}
Branch {
Points [0, 0]
Branch {
DstBlock "Multiport\nSwitch1"
DstPort 3
}
Branch {
Points [0, 60]
Branch {
DstBlock "Multiport\nSwitch1"
DstPort 7
}
Branch {
Points [0, 85]
Branch {
DstBlock "Multiport\nSwitch2"
DstPort 2
}
Branch {
Points [0, 30]
DstBlock "Multiport\nSwitch2"
DstPort 4
}
}
}
}
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [30, 0]
Branch {
Points [205, 0; 0, -5]
Branch {
Points [0, -75]
DstBlock "Multiport\nSwitch"
DstPort 2
}
Branch {
DstBlock "Multiport\nSwitch"
DstPort 7
}
Branch {
Points [0, 85]
Branch {
Points [0, 5]
DstBlock "Multiport\nSwitch1"
DstPort 4
}
Branch {
Points [0, 20]
Branch {
DstBlock "Multiport\nSwitch1"
DstPort 5
}
Branch {
Points [0, 125]
Branch {
Points [0, 5]
DstBlock "Multiport\nSwitch2"
DstPort 3
}
Branch {
Points [0, 50]
DstBlock "Multiport\nSwitch2"
DstPort 6
}
}
}
}
}
Branch {
Points [0, 60]
DstBlock "Sum3"
DstPort 1
}
}
Line {
SrcBlock "TCM2"
SrcPort 1
Points [10, 0; 0, 10]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "TCM3"
SrcPort 1
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "pwmperiod"
SrcPort 1
Points [25, 0; 0, 35]
DstBlock "Sum1"
DstPort 1
}
Annotation {
Position [871, 307]
}
Annotation {
Name "(t-t1-t2)/4"
Position [337, 93]
}
Annotation {
Name "aon"
Position [501, 141]
}
Annotation {
Name "bon"
Position [501, 205]
}
Annotation {
Name "con"
Position [498, 276]
}
}
}
Block {
BlockType SubSystem
Name "Subsystem2"
Ports [3, 2]
Position [605, 42, 670, 168]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Subsystem2"
Location [2, 82, 1014, 718]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins "[0.500000, 0.500000, 0.500000, 0.5000"
"00]"
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "tcm1"
Position [30, 93, 60, 107]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "tcm2"
Position [30, 133, 60, 147]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "tcm3"
Position [15, 183, 45, 197]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion1"
Position [555, 89, 575, 111]
ShowName off
OutDataTypeMode "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion2"
Position [460, 89, 480, 111]
ShowName off
OutDataTypeMode "boolean"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion3"
Position [570, 159, 590, 181]
ShowName off
OutDataTypeMode "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion4"
Position [560, 229, 580, 251]
ShowName off
OutDataTypeMode "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion5"
Position [475, 159, 495, 181]
ShowName off
OutDataTypeMode "boolean"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion6"
Position [465, 229, 485, 251]
ShowName off
OutDataTypeMode "boolean"
}
Block {
BlockType Logic
Name "Logical\nOperator1"
Ports [1, 1]
Position [500, 90, 530, 110]
ShowName off
Operator "NOT"
}
Block {
BlockType Logic
Name "Logical\nOperator2"
Ports [1, 1]
Position [515, 160, 545, 180]
ShowName off
Operator "NOT"
}
Block {
BlockType Logic
Name "Logical\nOperator3"
Ports [1, 1]
Position [505, 230, 535, 250]
ShowName off
Operator "NOT"
}
Block {
BlockType Mux
Name "Mux"
Ports [6, 1]
Position [630, 41, 635, 264]
ShowName off
Inputs "6"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1]
Position [545, 292, 550, 378]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Relay
Name "Relay"
Position [210, 30, 240, 60]
}
Block {
BlockType Relay
Name "Relay1"
Position [200, 95, 230, 125]
}
Block {
BlockType Relay
Name "Relay2"
Position [200, 160, 230, 190]
}
Block {
BlockType Reference
Name "Repeating\nSequence1"
Ports [0, 1]
Position [45, 25, 75, 55]
SourceBlock "simulink/Sources/Repeating\nSequenc"
"e"
SourceType "Repeating table"
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"
rep_seq_t "[0 0.5e-4 0.5e-4 1e-4]"
rep_seq_y "[0 0.5e-4 0.5e-4 0]"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [135, 45, 155, 65]
ShowName off
Inputs "+-"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [135, 100, 155, 120]
ShowName off
Inputs "+-"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [140, 165, 160, 185]
ShowName off
Inputs "+-"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -