📄 yuleitougao.mdl
字号:
Block {
BlockType Inport
Name "q'"
Position [105, 258, 135, 272]
Port "5"
}
Block {
BlockType Inport
Name "r'"
Position [100, 313, 130, 327]
Port "6"
}
Block {
BlockType Inport
Name "δE"
Position [250, 248, 280, 262]
Port "7"
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1]
Position [435, 169, 440, 311]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux2"
Ports [6, 1]
Position [170, 152, 175, 293]
ShowName off
Inputs "6"
DisplayOption "bar"
}
Block {
BlockType Fcn
Name "duox\n"
Position [495, 125, 555, 155]
Expr "-9.8*u(1)*sin(u(3))"
}
Block {
BlockType Fcn
Name "duoy"
Position [500, 205, 560, 235]
Expr "9.8*u(1)*sin(u(4))*cos(u(3))"
}
Block {
BlockType Fcn
Name "duoz"
Position [500, 275, 560, 305]
Expr "9.8*u(1)*cos(u(4))*cos(u(3))"
}
Block {
BlockType Fcn
Name "α"
Position [305, 169, 385, 201]
Expr "tan(u(3)/u(1))"
}
Block {
BlockType Fcn
Name "β"
Position [260, 205, 320, 235]
Expr "-u(2)/(sqrt(u(1)*u(1)+u(2)*u(2)*u(3)*u(3)))"
}
Block {
BlockType Outport
Name "MEx"
Position [695, 168, 725, 182]
}
Block {
BlockType Outport
Name "MEy"
Position [715, 248, 745, 262]
Port "2"
}
Block {
BlockType Outport
Name "MEz"
Position [715, 333, 745, 347]
Port "3"
}
Line {
SrcBlock "duoy"
SrcPort 1
Points [80, 0; 0, 35]
DstBlock "MEy"
DstPort 1
}
Line {
SrcBlock "duoz"
SrcPort 1
Points [80, 0; 0, 50]
DstBlock "MEz"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [20, 0; 0, -20]
Branch {
DstBlock "duoy"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "duoz"
DstPort 1
}
Branch {
Points [0, -80]
DstBlock "duox\n"
DstPort 1
}
}
Line {
SrcBlock "duox\n"
SrcPort 1
Points [80, 0; 0, 35]
DstBlock "MEx"
DstPort 1
}
Line {
SrcBlock "p"
SrcPort 1
Points [50, 0]
DstBlock "Mux2"
DstPort 1
}
Line {
SrcBlock "q"
SrcPort 1
Points [55, 0; 0, -5]
DstBlock "Mux2"
DstPort 2
}
Line {
SrcBlock "r"
SrcPort 1
Points [65, 0; 0, -15]
DstBlock "Mux2"
DstPort 3
}
Line {
SrcBlock "Mux2"
SrcPort 1
Points [0, -5; 30, 0]
Branch {
DstBlock "β"
DstPort 1
}
Branch {
Points [0, -35]
DstBlock "α"
DstPort 1
}
}
Line {
SrcBlock "α"
SrcPort 1
Points [30, 0]
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "β"
SrcPort 1
Points [95, 0]
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "δE"
SrcPort 1
Points [135, 0]
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "p'"
SrcPort 1
Points [15, 0; 0, -10]
DstBlock "Mux2"
DstPort 4
}
Line {
SrcBlock "q'"
SrcPort 1
Points [5, 0; 0, -5]
DstBlock "Mux2"
DstPort 5
}
Line {
SrcBlock "r'"
SrcPort 1
Points [0, -35]
DstBlock "Mux2"
DstPort 6
}
}
}
Block {
BlockType SubSystem
Name "推进力"
Ports [1, 1]
Position [295, 270, 330, 330]
TreatAsAtomicUnit off
System {
Name "推进力"
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 "T"
Position [25, 43, 55, 57]
}
Block {
BlockType Outport
Name "Tx"
Position [205, 43, 235, 57]
}
Line {
SrcBlock "T"
SrcPort 1
DstBlock "Tx"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "粘性阻力和力矩"
Ports [9, 3]
Position [1365, 863, 1410, 1047]
TreatAsAtomicUnit off
System {
Name "粘性阻力和力矩"
Location [2, 82, 1014, 732]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "u"
Position [360, 328, 390, 342]
}
Block {
BlockType Inport
Name "v"
Position [305, 403, 335, 417]
Port "2"
}
Block {
BlockType Inport
Name "w"
Position [370, 103, 400, 117]
Port "3"
}
Block {
BlockType Inport
Name "p"
Position [370, 168, 400, 182]
Port "4"
}
Block {
BlockType Inport
Name "q"
Position [360, 228, 390, 242]
Port "5"
}
Block {
BlockType Inport
Name "r"
Position [315, 353, 345, 367]
Port "6"
}
Block {
BlockType Inport
Name "δE"
Position [355, 433, 385, 447]
Port "7"
}
Block {
BlockType Inport
Name "δR"
Position [370, 468, 400, 482]
Port "8"
}
Block {
BlockType Inport
Name "δD"
Position [385, 528, 415, 542]
Port "9"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2]
Position [855, 311, 860, 349]
BackgroundColor "black"
ShowName off
Outputs "2"
}
Block {
BlockType Mux
Name "Mux"
Ports [9, 1]
Position [630, 64, 635, 596]
ShowName off
Inputs "9"
DisplayOption "bar"
}
Block {
BlockType "S-Function"
Name "S-Function"
Ports [1, 1]
Position [720, 315, 780, 345]
FunctionName "mocazuli"
}
Block {
BlockType Outport
Name "Fx"
Position [960, 278, 990, 292]
}
Block {
BlockType Outport
Name "Fy"
Position [965, 378, 995, 392]
Port "2"
}
Block {
BlockType Outport
Name "Fz"
Position [960, 313, 990, 327]
Port "3"
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "S-Function"
DstPort 1
}
Line {
SrcBlock "S-Function"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [40, 0; 0, -35; 20, 0]
Branch {
DstBlock "Fx"
DstPort 1
}
Branch {
Points [0, 35]
DstBlock "Fz"
DstPort 1
}
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [40, 0; 0, 45]
DstBlock "Fy"
DstPort 1
}
Line {
SrcBlock "w"
SrcPort 1
Points [105, 0; 0, -20]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "p"
SrcPort 1
Points [105, 0; 0, -25]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "q"
SrcPort 1
Points [110, 0; 0, -25]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "u"
SrcPort 1
Points [110, 0; 0, -65]
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "r"
SrcPort 1
Points [0, 10; 195, 0; 0, -40]
DstBlock "Mux"
DstPort 5
}
Line {
SrcBlock "v"
SrcPort 1
Points [275, 0]
DstBlock "Mux"
DstPort 6
}
Line {
SrcBlock "δE"
SrcPort 1
Points [110, 0; 0, 10]
DstBlock "Mux"
DstPort 7
}
Line {
SrcBlock "δR"
SrcPort 1
Points [105, 0; 0, 35]
DstBlock "Mux"
DstPort 8
}
Line {
SrcBlock "δD"
SrcPort 1
Points [95, 0; 0, 35]
DstBlock "Mux"
DstPort 9
}
}
}
Block {
BlockType SubSystem
Name "重力"
Ports [3, 3]
Position [290, 120, 330, 250]
TreatAsAtomicUnit off
System {
Name "重力"
Location [2, 82, 1014, 732]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "ψ"
Position [30, 93, 60, 107]
}
Block {
BlockType Inport
Name "Θ"
Position [35, 128, 65, 142]
Port "2"
}
Block {
BlockType Inport
Name "Ф"
Position [30, 163, 60, 177]
Port "3"
}
Block {
BlockType Constant
Name "Constant"
Position [25, 50, 55, 80]
Value "1800"
}
Block {
BlockType Mux
Name "Mux1"
Ports [4, 1]
Position [130, 49, 135, 186]
ShowName off
DisplayOption "bar"
}
Block {
BlockType Fcn
Name "mgx\n"
Position [190, 25, 250, 55]
Expr "-9.8*u(1)*sin(u(3))"
}
Block {
BlockType Fcn
Name "mgy"
Position [195, 105, 255, 135]
Expr "9.8*u(1)*sin(u(4))*cos(u(3))"
}
Block {
BlockType Fcn
Name "mgz"
Position [195, 175, 255, 205]
Expr "9.8*u(1)*cos(u(4))*cos(u(3))"
}
Block {
BlockType Outport
Name "Fmx"
Position [390, 33, 420, 47]
}
Block {
BlockType Outport
Name "Fmy"
Position [390, 113, 420, 127]
Port "2"
}
Block {
BlockType Outport
Name "Fmz"
Position [385, 183, 415, 197]
Port "3"
}
Line {
SrcBlock "ψ"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Θ"
SrcPort 1
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "Ф"
SrcPort 1
DstBlock "Mux1"
DstPort 4
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "mgy"
SrcPort 1
DstBlock "Fmy"
DstPort 1
}
Line {
SrcBlock "mgz"
SrcPort 1
DstBlock "Fmz"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "mgy"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "mgz"
DstPort 1
}
Branch {
Points [0, -80]
DstBlock "mgx\n"
DstPort 1
}
}
Line {
SrcBlock "mgx\n"
SrcPort 1
DstBlock "Fmx"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "姿态角"
Ports [3, 3]
Position [670, 375, 705, 465]
TreatAsAtomicUnit off
System {
Name "姿态角"
Location [2, 82, 1014, 743]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "p"
Position [25, 238, 55, 252]
}
Block {
BlockType Inport
Name "q"
Position [25, 273, 55, 287]
Port "2"
}
Block {
BlockType Inport
Name "r"
Position [25, 308, 55, 322]
Port "3"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -