📄 svm.mdl
字号:
BusOutputAsStruct off
}
Line {
SrcBlock "Ubeta"
SrcPort 1
Points [5, 0; 160, 0]
Branch {
DstBlock "Switch"
DstPort 2
}
Branch {
Points [0, 50]
Branch {
Points [0, 100]
DstBlock "Sum1"
DstPort 1
}
Branch {
DstBlock "Sum"
DstPort 1
}
}
}
Line {
SrcBlock "Ualfa"
SrcPort 1
Points [40, 0]
Branch {
Points [0, 100]
DstBlock "Gain1"
DstPort 1
}
Branch {
DstBlock "Gain"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [25, 0; 0, 35]
Branch {
DstBlock "Switch"
DstPort 1
}
Branch {
Points [0, 50]
Branch {
DstBlock "Switch1"
DstPort 1
}
Branch {
Points [0, 65]
DstBlock "Switch2"
DstPort 1
}
}
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [50, 0; 0, -70]
Branch {
DstBlock "Switch2"
DstPort 3
}
Branch {
Points [0, -65]
Branch {
DstBlock "Switch1"
DstPort 3
}
Branch {
Points [0, -50]
DstBlock "Switch"
DstPort 3
}
}
}
Line {
SrcBlock "Switch1"
SrcPort 1
Points [45, 0]
Branch {
DstBlock "Gain2"
DstPort 1
}
Branch {
Points [0, 145]
DstBlock "Scope1"
DstPort 2
}
}
Line {
SrcBlock "Switch2"
SrcPort 1
Points [55, 0]
Branch {
DstBlock "Gain3"
DstPort 1
}
Branch {
Points [0, 90]
DstBlock "Scope1"
DstPort 3
}
}
Line {
SrcBlock "Switch"
SrcPort 1
Points [15, 0]
Branch {
Points [120, 0; 0, 30]
DstBlock "Sum2"
DstPort 1
}
Branch {
Points [0, 185]
DstBlock "Scope1"
DstPort 1
}
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [25, 0; 0, -45]
DstBlock "Sum2"
DstPort 3
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "N"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [30, 0; 0, -35]
DstBlock "Switch2"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Switch1"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "T1,T2"
Ports [5, 2]
Position [435, 37, 495, 153]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "T1,T2"
Location [2, 78, 1022, 717]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "N"
Position [135, 113, 165, 127]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "X"
Position [130, 263, 160, 277]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Y"
Position [130, 318, 160, 332]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Z"
Position [130, 373, 160, 387]
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "T"
Position [130, 478, 160, 492]
Port "5"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Fcn
Name "Fcn"
Position [625, 120, 685, 150]
Expr "u[1]*u[3]/(u[1]+u[2])"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [640, 410, 700, 440]
Expr "u[2]*u[3]/(u[1]+u[2])"
}
Block {
BlockType Gain
Name "Gain"
Position [250, 261, 270, 279]
Gain "-1"
}
Block {
BlockType Gain
Name "Gain1"
Position [250, 315, 275, 335]
Gain "-1"
}
Block {
BlockType Gain
Name "Gain2"
Position [250, 371, 270, 389]
Gain "-1"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [590, 116, 595, 154]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1]
Position [610, 406, 615, 444]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [650, 170, 670, 190]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType MultiPortSwitch
Name "T11"
Ports [7, 1]
Position [485, 108, 530, 252]
Inputs "6"
InputSameDT off
}
Block {
BlockType MultiPortSwitch
Name "T21"
Ports [7, 1]
Position [485, 316, 530, 464]
Inputs "6"
InputSameDT off
}
Block {
BlockType Switch
Name "饱和判断1"
Position [755, 200, 785, 230]
Criteria "u2 > Threshold"
Threshold "Ts"
InputSameDT off
}
Block {
BlockType Switch
Name "饱和判断2"
Position [760, 275, 790, 305]
Criteria "u2 > Threshold"
Threshold "Ts"
InputSameDT off
}
Block {
BlockType Outport
Name "T1"
Position [845, 208, 875, 222]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "T2"
Position [845, 283, 875, 297]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "X"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
Points [0, 0; 0, -50; 225, 0]
Branch {
DstBlock "T11"
DstPort 6
}
Branch {
Points [0, 170]
DstBlock "T21"
DstPort 4
}
}
}
Line {
SrcBlock "Z"
SrcPort 1
Points [30, 0]
Branch {
Points [0, 0; 0, -20; 155, 0]
Branch {
Points [0, 50]
DstBlock "T21"
DstPort 5
}
Branch {
Points [0, -220]
DstBlock "T11"
DstPort 2
}
}
Branch {
DstBlock "Gain2"
DstPort 1
}
}
Line {
SrcBlock "Y"
SrcPort 1
Points [30, 0]
Branch {
Points [0, 0; 0, -25; 140, 0]
Branch {
Points [0, 50]
DstBlock "T21"
DstPort 2
}
Branch {
Points [0, -140]
DstBlock "T11"
DstPort 3
}
}
Branch {
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [0, 0; 90, 0]
Branch {
Points [0, -200]
DstBlock "T11"
DstPort 4
}
Branch {
Points [0, 70]
DstBlock "T21"
DstPort 7
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [0, 0; 45, 0]
Branch {
Points [0, 100]
DstBlock "T21"
DstPort 3
}
Branch {
Points [0, -70]
DstBlock "T11"
DstPort 5
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [-5, 0; 105, 0]
Branch {
Points [0, -85]
DstBlock "T11"
DstPort 7
}
Branch {
Points [0, 105]
DstBlock "T21"
DstPort 6
}
}
Line {
SrcBlock "T11"
SrcPort 1
Points [15, 0; 15, 0]
Branch {
DstBlock "Sum"
DstPort 1
}
Branch {
Points [0, -55]
DstBlock "Mux"
DstPort 1
}
Branch {
Points [0, 45]
Branch {
DstBlock "饱和判断1"
DstPort 3
}
Branch {
Points [0, 190]
DstBlock "Mux1"
DstPort 1
}
}
}
Line {
SrcBlock "T21"
SrcPort 1
Points [15, 0; 25, 0]
Branch {
Points [85, 0; 0, -90]
Branch {
DstBlock "Sum"
DstPort 2
}
Branch {
DstBlock "饱和判断2"
DstPort 3
}
}
Branch {
DstBlock "Mux"
DstPort 2
}
Branch {
Points [0, 35]
DstBlock "Mux1"
DstPort 2
}
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [10, 0; 0, 35]
Branch {
DstBlock "饱和判断1"
DstPort 2
}
Branch {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -