📄 zhijiezhuanju1212.mdl
字号:
}
Line {
SrcBlock "Subtract"
SrcPort 1
DstBlock "Relay"
DstPort 1
}
Line {
SrcBlock "Relay"
SrcPort 1
DstBlock "FK"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "cilianzhuanju"
Ports [4, 4]
Position [705, 409, 795, 571]
Orientation "left"
FontName "Times New Roman"
FontSize 12
FontWeight "bold"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "cilianzhuanju"
Location [459, 388, 1191, 882]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Ua"
Position [60, 83, 90, 97]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Ub"
Position [60, 133, 90, 147]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Ia"
Position [60, 293, 90, 307]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Ib"
Position [60, 338, 90, 352]
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Fcn
Name "Fcn"
Position [490, 245, 550, 275]
Expr "sqrt(u(1)*u(1)+u(2)*u(2));"
}
Block {
BlockType Gain
Name "Gain"
Position [505, 345, 535, 375]
Gain "3"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [260, 75, 290, 105]
InitialCondition "0.00001"
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [260, 125, 290, 155]
InitialCondition "0.000001"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [455, 208, 460, 312]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [375, 342, 405, 373]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [375, 412, 405, 443]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Rs"
Position [135, 285, 165, 315]
Gain "0.435"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Rs1"
Position [135, 330, 165, 360]
Gain "0.435"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [175, 80, 195, 100]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [210, 130, 230, 150]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [450, 350, 470, 370]
ShowName off
IconShape "round"
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "faia"
Position [475, 83, 505, 97]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "faib"
Position [475, 133, 505, 147]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "|fai|"
Position [580, 253, 610, 267]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Te"
Position [580, 353, 610, 367]
Port "4"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Rs"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Sum"
DstPort 2
}
Branch {
Points [85, 0; 0, 65]
DstBlock "Product"
DstPort 2
}
}
Line {
SrcBlock "Rs1"
SrcPort 1
Points [50, 0]
Branch {
DstBlock "Sum1"
DstPort 2
}
Branch {
Points [0, 90]
DstBlock "Product1"
DstPort 2
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [40, 0]
Branch {
Points [95, 0]
Branch {
DstBlock "faia"
DstPort 1
}
Branch {
Points [0, 145]
DstBlock "Mux"
DstPort 1
}
}
Branch {
Points [0, 330]
DstBlock "Product1"
DstPort 1
}
}
Line {
SrcBlock "Integrator1"
SrcPort 1
Points [10, 0]
Branch {
Points [100, 0]
Branch {
DstBlock "faib"
DstPort 1
}
Branch {
Points [0, 145]
DstBlock "Mux"
DstPort 2
}
}
Branch {
Points [0, 210]
DstBlock "Product"
DstPort 1
}
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Te"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "|fai|"
DstPort 1
}
Line {
SrcBlock "Ua"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Ub"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Ia"
SrcPort 1
DstBlock "Rs"
DstPort 1
}
Line {
SrcBlock "Ib"
SrcPort 1
DstBlock "Rs1"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [50, 0]
DstBlock "Sum2"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "dianyaxuanze"
Ports [3, 3]
Position [380, 277, 445, 383]
FontName "Times New Roman"
FontSize 12
FontWeight "bold"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "dianyaxuanze"
Location [526, 331, 1183, 878]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "TK"
Position [195, 158, 225, 172]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "FK"
Position [195, 233, 225, 247]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "S"
Position [195, 308, 225, 322]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [450, 199, 455, 281]
BackgroundColor "black"
ShowName off
Outputs "3"
DisplayOption "bar"
}
Block {
BlockType MATLABFcn
Name "MATLAB Fcn"
Position [335, 225, 395, 255]
MATLABFcn "dianyaxuanze"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [280, 194, 285, 286]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Outport
Name "Sa"
Position [500, 153, 530, 167]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Sb"
Position [500, 233, 530, 247]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Sc"
Position [505, 308, 535, 322]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "TK"
SrcPort 1
Points [15, 0; 0, 45]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "FK"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "S"
SrcPort 1
Points [15, 0; 0, -45]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "MATLAB Fcn"
DstPort 1
}
Line {
SrcBlock "MATLAB Fcn"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [15, 0; 0, -55]
DstBlock "Sa"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Sb"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [15, 0; 0, 50]
DstBlock "Sc"
DstPort 1
}
}
}
Block {
BlockType Scope
Name "fai"
Ports [1]
Position [520, 474, 550, 506]
FontName "Times New Roman"
FontSize 12
FontWeight "bold"
Location [825, 619, 1264, 905]
Open off
NumInputPorts "1"
List {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -