📄 f16_openloop.mdl
字号:
Name "Integrator\n"
Ports [1, 1]
Position [395, 85, 425, 115]
InitialCondition "init_u(3)"
UpperSaturationLimit "21.5"
LowerSaturationLimit "-21.5"
}
Block {
BlockType Saturate
Name "Rate\nSaturation"
Position [315, 85, 345, 115]
UpperLimit "80*pi/180"
LowerLimit "-80*pi/180"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [180, 90, 200, 110]
ShowName off
IconShape "round"
Inputs "|+-"
}
Block {
BlockType Outport
Name "Out1"
Position [490, 93, 520, 107]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Integrator\n"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
Points [0, 95; -260, 0]
DstBlock "Sum"
DstPort 2
}
Branch {
DstBlock "Out1"
DstPort 1
}
}
Line {
SrcBlock "Rate\nSaturation"
SrcPort 1
DstBlock "Integrator\n"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Rate\nSaturation"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Command\nSaturation"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Command\nSaturation"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Elevator act."
Ports [1, 1]
Position [345, 204, 445, 246]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskDisplay "port_label('output', 1, 'de')\nport_label('"
"input', 1, 'de_ref')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Elevator act."
Location [210, 392, 781, 692]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [40, 93, 70, 107]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Saturate
Name "Command\nSaturation"
Position [100, 85, 130, 115]
UpperLimit "25*pi/180"
LowerLimit "-25*pi/180"
}
Block {
BlockType Gain
Name "Gain"
Position [225, 80, 275, 120]
Gain "20.2"
}
Block {
BlockType Integrator
Name "Integrator\n"
Ports [1, 1]
Position [395, 85, 425, 115]
InitialCondition "init_u(2)"
UpperSaturationLimit "25"
LowerSaturationLimit "-25"
}
Block {
BlockType Saturate
Name "Rate\nSaturation"
Position [315, 85, 345, 115]
UpperLimit "60*pi/180"
LowerLimit "-60*pi/180"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [180, 90, 200, 110]
ShowName off
IconShape "round"
Inputs "|+-"
}
Block {
BlockType Outport
Name "Out1"
Position [490, 93, 520, 107]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Integrator\n"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
Points [0, 95; -260, 0]
DstBlock "Sum"
DstPort 2
}
Branch {
DstBlock "Out1"
DstPort 1
}
}
Line {
SrcBlock "Rate\nSaturation"
SrcPort 1
DstBlock "Integrator\n"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Rate\nSaturation"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Command\nSaturation"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Command\nSaturation"
DstPort 1
}
}
}
Block {
BlockType Mux
Name "Mux2"
Ports [4, 1]
Position [515, 92, 520, 448]
ShowName off
DisplayOption "bar"
}
Block {
BlockType SubSystem
Name "Rudder act."
Ports [1, 1]
Position [345, 384, 445, 426]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskDisplay "port_label('output', 1, 'dr')\nport_label('"
"input', 1, 'dr_ref')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Rudder act."
Location [210, 392, 781, 692]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [40, 93, 70, 107]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Saturate
Name "Command\nSaturation"
Position [100, 85, 130, 115]
UpperLimit "30*pi/180"
LowerLimit "-30*pi/180"
}
Block {
BlockType Gain
Name "Gain"
Position [225, 80, 275, 120]
Gain "20.2"
}
Block {
BlockType Integrator
Name "Integrator\n"
Ports [1, 1]
Position [395, 85, 425, 115]
InitialCondition "init_u(4)"
UpperSaturationLimit "25"
LowerSaturationLimit "-25"
}
Block {
BlockType Saturate
Name "Rate\nSaturation"
Position [315, 85, 345, 115]
UpperLimit "120*pi/180"
LowerLimit "-120*pi/180"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [180, 90, 200, 110]
ShowName off
IconShape "round"
Inputs "|+-"
}
Block {
BlockType Outport
Name "Out1"
Position [490, 93, 520, 107]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Command\nSaturation"
DstPort 1
}
Line {
SrcBlock "Command\nSaturation"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Rate\nSaturation"
DstPort 1
}
Line {
SrcBlock "Rate\nSaturation"
SrcPort 1
DstBlock "Integrator\n"
DstPort 1
}
Line {
SrcBlock "Integrator\n"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "Out1"
DstPort 1
}
Branch {
Points [0, 95; -260, 0]
DstBlock "Sum"
DstPort 2
}
}
}
}
Block {
BlockType Constant
Name "da"
Position [200, 300, 230, 330]
Value "init_u(3)"
}
Block {
BlockType Constant
Name "de"
Position [200, 210, 230, 240]
Value "init_u(2)"
}
Block {
BlockType Constant
Name "dr"
Position [200, 390, 230, 420]
Value "init_u(4)"
}
Block {
BlockType Constant
Name "dth"
Position [200, 120, 230, 150]
Value "init_u(1)"
}
Block {
BlockType Outport
Name "Out1"
Position [610, 263, 640, 277]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Elevator act."
SrcPort 1
DstBlock "Mux2"
DstPort 2
}
Line {
SrcBlock "Aileron act"
SrcPort 1
DstBlock "Mux2"
DstPort 3
}
Line {
SrcBlock "Rudder act."
SrcPort 1
DstBlock "Mux2"
DstPort 4
}
Line {
SrcBlock "dth"
SrcPort 1
DstBlock "Mux2"
DstPort 1
}
Line {
SrcBlock "de"
SrcPort 1
DstBlock "Elevator act."
DstPort 1
}
Line {
SrcBlock "da"
SrcPort 1
DstBlock "Aileron act"
DstPort 1
}
Line {
SrcBlock "dr"
SrcPort 1
DstBlock "Rudder act."
DstPort 1
}
}
}
Block {
BlockType Constant
Name "fi_flag"
Position [170, 125, 200, 155]
Value "fi_flag_Simulink"
}
Block {
BlockType Outport
Name "Out1"
Position [420, 108, 450, 122]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "F-16 dynamics"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "Out1"
DstPort 1
}
Branch {
Points [0, 85]
DstBlock "LEF"
DstPort 1
}
}
Line {
SrcBlock "Trimmed input"
SrcPort 1
DstBlock "F-16 dynamics"
DstPort 1
}
Line {
SrcBlock "fi_flag"
SrcPort 1
DstBlock "F-16 dynamics"
DstPort 3
}
Line {
SrcBlock "LEF"
SrcPort 1
Points [-110, 0; 0, -85]
DstBlock "F-16 dynamics"
DstPort 2
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -