📄 zongti.mdl
字号:
}
Line {
SrcBlock "动力学方程"
SrcPort 5
Points [20, 0; 0, -5]
DstBlock "v'"
DstPort 1
}
Line {
SrcBlock "动力学方程"
SrcPort 6
DstBlock "w'"
DstPort 1
}
Line {
SrcBlock "动力学方程"
SrcPort 7
Points [15, 0; 0, -10]
DstBlock "p"
DstPort 1
}
Line {
SrcBlock "动力学方程"
SrcPort 8
Points [20, 0; 0, 5]
DstBlock "q"
DstPort 1
}
Line {
SrcBlock "动力学方程"
SrcPort 9
Points [20, 0; 0, -10]
DstBlock "r"
DstPort 1
}
Line {
SrcBlock "动力学方程"
SrcPort 10
Points [25, 0; 0, -15]
DstBlock "p'"
DstPort 1
}
Line {
SrcBlock "动力学方程"
SrcPort 11
Points [30, 0; 0, -20]
DstBlock "q'"
DstPort 1
}
Line {
SrcBlock "动力学方程"
SrcPort 12
DstBlock "r'"
DstPort 1
}
Line {
SrcBlock "Constant2"
SrcPort 1
Points [35, 0]
Branch {
DstBlock "动力学方程"
DstPort 15
}
Branch {
Points [0, -30]
DstBlock "动力学方程"
DstPort 14
}
Branch {
Points [0, 30]
DstBlock "动力学方程"
DstPort 16
}
}
}
}
Block {
BlockType SubSystem
Name "空化器力"
Ports [5, 3]
Position [495, 345, 535, 475]
TreatAsAtomicUnit off
System {
Name "空化器力"
Location [2, 74, 1014, 724]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "125"
Block {
BlockType Inport
Name "u"
Position [75, 168, 105, 182]
}
Block {
BlockType Inport
Name "v"
Position [40, 218, 70, 232]
Port "2"
}
Block {
BlockType Inport
Name "w"
Position [20, 253, 50, 267]
Port "3"
}
Block {
BlockType Inport
Name "αc"
Position [230, 238, 260, 252]
Port "4"
}
Block {
BlockType Inport
Name "SAc"
Position [230, 318, 260, 332]
Port "5"
}
Block {
BlockType Mux
Name "Mux1"
Ports [7, 1]
Position [435, 194, 440, 336]
ShowName off
Inputs "7"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux2"
Ports [3, 1]
Position [170, 120, 175, 260]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Fcn
Name "khx\n"
Position [495, 125, 555, 155]
Expr "-100*cos(u(2))*cos(u(1))*0.5*1003*(u(7))*(u"
"(1)*u(1)+u(2)*u(2)+u(3)*u(3))*cos(u(3))*cos(u(3))+100*sin(u(1))*0.5*1003*(u(7"
"))*(u(1)*u(1)+u(2)*u(2)+u(3)*u(3))*cos(u(3))*cos(u(3))*sin(u(3))"
}
Block {
BlockType Fcn
Name "khy"
Position [500, 205, 560, 235]
Expr "100*sin(u(2))*0.5*1003*(u(7))*(u(1)*u(1)+u("
"2)*u(2)+u(3)*u(3))*cos(u(3))*cos(u(3))"
}
Block {
BlockType Fcn
Name "khz"
Position [500, 275, 560, 305]
Expr "-100*cos(u(2))*sin(u(1))*0.5*1003*(u(7))*(u"
"(1)*u(1)+u(2)*u(2)+u(3)*u(3))*cos(u(3))*cos(u(3))-100*cos(u(1))*0.5*1003*(u(7"
"))*(u(1)*u(1)+u(2)*u(2)+u(3)*u(3))*cos(u(3))*cos(u(3))*sin(u(3))"
}
Block {
BlockType Fcn
Name "α"
Position [270, 134, 350, 166]
Expr "tan(u(3)/u(1))"
}
Block {
BlockType Fcn
Name "β"
Position [235, 185, 295, 215]
Expr "-u(2)/(sqrt((u(1)*u(1)+u(2)*u(2)+u(3)*u(3))"
"))"
}
Block {
BlockType Outport
Name "Fkx"
Position [695, 133, 725, 147]
}
Block {
BlockType Outport
Name "Fky"
Position [695, 213, 725, 227]
Port "2"
}
Block {
BlockType Outport
Name "Fkz"
Position [695, 283, 725, 297]
Port "3"
}
Line {
SrcBlock "khy"
SrcPort 1
DstBlock "Fky"
DstPort 1
}
Line {
SrcBlock "khz"
SrcPort 1
DstBlock "Fkz"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [5, 0; 0, -45; 15, 0]
Branch {
DstBlock "khy"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "khz"
DstPort 1
}
Branch {
Points [0, -80]
DstBlock "khx\n"
DstPort 1
}
}
Line {
SrcBlock "khx\n"
SrcPort 1
DstBlock "Fkx"
DstPort 1
}
Line {
SrcBlock "u"
SrcPort 1
Points [20, 0]
Branch {
Points [25, 0]
DstBlock "Mux2"
DstPort 1
}
Branch {
Points [0, 90]
DstBlock "Mux1"
DstPort 4
}
}
Line {
SrcBlock "v"
SrcPort 1
Points [35, 0]
Branch {
Points [30, 0; 0, -35]
DstBlock "Mux2"
DstPort 2
}
Branch {
Points [0, 60]
DstBlock "Mux1"
DstPort 5
}
}
Line {
SrcBlock "w"
SrcPort 1
Points [35, 0]
Branch {
Points [45, 0; 0, -25]
DstBlock "Mux2"
DstPort 3
}
Branch {
Points [0, 45]
DstBlock "Mux1"
DstPort 6
}
}
Line {
SrcBlock "Mux2"
SrcPort 1
Points [0, 30; 30, 0]
Branch {
Points [10, 0]
DstBlock "β"
DstPort 1
}
Branch {
Points [0, -70]
DstBlock "α"
DstPort 1
}
}
Line {
SrcBlock "α"
SrcPort 1
Points [65, 0]
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "β"
SrcPort 1
Points [0, 25]
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "αc"
SrcPort 1
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "SAc"
SrcPort 1
DstBlock "Mux1"
DstPort 7
}
}
}
Block {
BlockType SubSystem
Name "空间坐标"
Ports [6, 3]
Position [570, 134, 610, 206]
TreatAsAtomicUnit off
System {
Name "空间坐标"
Location [2, 74, 1014, 724]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "u"
Position [145, 103, 175, 117]
}
Block {
BlockType Inport
Name "v"
Position [190, 128, 220, 142]
Port "2"
}
Block {
BlockType Inport
Name "w"
Position [145, 153, 175, 167]
Port "3"
}
Block {
BlockType Inport
Name "ψ"
Position [220, 178, 250, 192]
Port "4"
}
Block {
BlockType Inport
Name "Θ"
Position [245, 203, 275, 217]
Port "5"
}
Block {
BlockType Inport
Name "Ф"
Position [210, 228, 240, 242]
Port "6"
}
Block {
BlockType Integrator
Name "Integrator3"
Ports [1, 1]
Position [560, 120, 590, 150]
}
Block {
BlockType Integrator
Name "Integrator4"
Ports [1, 1]
Position [565, 200, 595, 230]
}
Block {
BlockType Integrator
Name "Integrator5"
Ports [1, 1]
Position [565, 270, 595, 300]
}
Block {
BlockType Mux
Name "Mux1"
Ports [6, 1]
Position [340, 96, 350, 249]
ShowName off
Inputs "6"
DisplayOption "bar"
}
Block {
BlockType Fcn
Name "VX\n"
Position [420, 120, 480, 150]
Expr "u(1)*cos(u(4))*cos(u(5))+u(2)*(sin(u(4))*si"
"n(u(6))-sin(u(6))*cos(u(4))*cos(u(6)))+u(3)*(sin(u(4))*cos(u(6))+sin(u(5))*co"
"s(u(4))*sin(u(6)))"
}
Block {
BlockType Fcn
Name "VY"
Position [425, 200, 485, 230]
Expr "u(1)*sin(u(5))+u(2)*cos(u(5))*cos(u(6))-u(3"
")*cos(u(5))*sin(u(6))"
}
Block {
BlockType Fcn
Name "VZ"
Position [425, 270, 485, 300]
Expr "-u(1)*sin(u(4))*cos(u(5))+u(2)*(cos(u(4))*s"
"in(u(6))+sin(u(5))*sin(u(4))*cos(u(6)))+u(3)*(cos(u(4))*cos(u(6))-sin(u(5))*s"
"in(u(4))*sin(u(6)))"
}
Block {
BlockType Outport
Name "X"
Position [620, 133, 650, 147]
}
Block {
BlockType Outport
Name "Y"
Position [620, 208, 650, 222]
Port "2"
}
Block {
BlockType Outport
Name "Z"
Position [620, 278, 650, 292]
Port "3"
}
Line {
SrcBlock "u"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
Labels [1, 0]
SrcBlock "v"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Integrator3"
SrcPort 1
Points [0, 5]
DstBlock "X"
DstPort 1
}
Line {
SrcBlock "Integrator4"
SrcPort 1
DstBlock "Y"
DstPort 1
}
Line {
SrcBlock "Integrator5"
SrcPort 1
DstBlock "Z"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [30, 0; 0, 40]
Branch {
DstBlock "VY"
DstPort 1
}
Branch {
Points [0, -80]
DstBlock "VX\n"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "VZ"
DstPort 1
}
}
Line {
SrcBlock "VZ"
SrcPort 1
DstBlock "Integrator5"
DstPort 1
}
Line {
SrcBlock "VY"
SrcPort 1
DstBlock "Integrator4"
DstPort 1
}
Line {
SrcBlock "VX\n"
SrcPort 1
DstBlock "Integrator3"
DstPort 1
}
Line {
SrcBlock "w"
SrcPort 1
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "ψ"
SrcPort 1
DstBlock "Mux1"
DstPort 4
}
Line {
SrcBlock "Θ"
SrcPort 1
DstBlock "Mux1"
DstPort 5
}
Line {
SrcBlock "Ф"
SrcPort 1
DstBlock "Mux1"
DstPort 6
}
}
}
Block {
BlockType SubSystem
Name "升降舵1"
Ports [5, 3]
Position [360, 385, 400, 515]
TreatAsAtomicUnit off
System {
Name "升降舵1"
Location [2, 74, 1014, 724]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "125"
Block {
BlockType Inport
Name "u"
Position [85, 168, 115, 182]
}
Block {
BlockType Inport
Name "v"
Position [95, 218, 125, 232]
Port "2"
}
Block {
BlockType Inport
Name "w"
Position [85, 253, 115, 267]
Port "3"
}
Block {
BlockType Inport
Name "dj"
Position [250, 248, 280, 262]
Port "4"
}
Block {
BlockType Inport
Name "hl"
Position [260, 283, 290, 297]
Port "5"
}
Block {
BlockType Mux
Name "Mux1"
Ports [4, 1]
Position [435, 167, 440, 308]
ShowName off
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux2"
Ports [3, 1]
Position [170, 150, 175, 290]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Fcn
Name "duox\n"
Position [495, 125, 555, 155]
Expr "-9.8*u(1)*sin(u(3))"
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -