📄 fdclib5.mdl
字号:
Library {
Name "fdclib5"
Version 2.09
PaperOrientation landscape
PaperType usletter
PaperUnits inches
BlockDefaults {
Orientation right
ForegroundColor black
BackgroundColor white
DropShadow off
NamePlacement normal
FontName "Helvetica"
FontSize 10
FontWeight normal
FontAngle normal
ShowName on
}
AnnotationDefaults {
HorizontalAlignment center
VerticalAlignment middle
ForegroundColor black
BackgroundColor white
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight normal
FontAngle normal
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight normal
FontAngle normal
}
System {
Name "fdclib5"
Location [10, 44, 598, 483]
Open on
ScreenColor white
Block {
BlockType SubSystem
Name "?"
Ports [0, 0, 0, 0, 0]
Position [410, 390, 470, 422]
ForegroundColor blue
DropShadow on
ShowName off
OpenFcn "fdchelp xfix"
ShowPortLabels off
MaskDisplay "disp('More info\\nabout xfix')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
System {
Name "?"
Location [362, 72, 452, 157]
Open off
ScreenColor white
}
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1, 0, 0, 0]
Position [320, 283, 350, 317]
ExternalReset none
InitialConditionSource internal
InitialCondition "xinco"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType SubSystem
Name "ODE"
Ports [5, 1, 0, 0, 0]
Position [55, 54, 95, 146]
FontName "Arial"
ShowName off
ShowPortLabels off
System {
Name "ODE"
Location [4, 42, 345, 356]
Open off
ScreenColor white
Block {
BlockType Inport
Name "x"
Position [20, 70, 40, 90]
DropShadow on
FontName "Arial"
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "Ftot"
Position [20, 110, 40, 130]
DropShadow on
FontName "Arial"
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "Mtot"
Position [20, 150, 40, 170]
DropShadow on
FontName "Arial"
Port "3"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "yhlp"
Position [20, 190, 40, 210]
DropShadow on
FontName "Arial"
Port "4"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "ybvel*"
Position [20, 250, 40, 270]
DropShadow on
FontName "Arial"
Port "5"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType SubSystem
Name "0"
Ports [0, 0, 0, 0, 0]
Position [5, 5, 145, 50]
ForegroundColor blue
DropShadow on
FontName "Arial"
ShowName off
OpenFcn "fdchelp 12odes"
ShowPortLabels off
MaskDisplay "disp('12 Ordinary Differential\\nEquations "
"(level 4)\\nM.O. Rauw')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
System {
Name "0"
Location [99, 72, 274, 227]
Open off
ScreenColor white
}
}
Block {
BlockType SubSystem
Name "Eulerdot"
Ports [1, 1, 0, 0, 0]
Position [150, 187, 210, 233]
FontName "Arial"
ShowPortLabels off
MaskType "Eulerdot"
MaskDescription "Calculation of d(psi)/dt, d(theta)/dt,\nand "
"d(phi/dt)"
MaskHelp "eval('fdchelp eulerdot')"
MaskDisplay "disp('psi dot\\ntheta dot\\nphi dot')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
System {
Name "Eulerdot"
Location [4, 42, 491, 256]
Open off
ScreenColor white
Block {
BlockType Inport
Name "ueul"
Position [25, 105, 45, 125]
DropShadow on
FontName "Arial"
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType SubSystem
Name "0"
Ports [0, 0, 0, 0, 0]
Position [20, 15, 160, 45]
ForegroundColor blue
DropShadow on
FontName "Arial"
ShowName off
OpenFcn "fdchelp eulerdot"
ShowPortLabels off
MaskDisplay "disp('EULERDOT\\nM.O. Rauw, October "
"1997')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
System {
Name "0"
Location [99, 72, 274, 227]
Open off
ScreenColor white
}
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1, 0, 0, 0]
Position [110, 151, 115, 184]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "[29 1]"
}
Block {
BlockType Mux
Name "Mux2"
Ports [3, 1, 0, 0, 0]
Position [415, 91, 420, 139]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "3"
}
Block {
BlockType Fcn
Name "phi dot"
Position [145, 160, 355, 180]
FontName "Arial"
Expr "u[4] + u[30]*u[26]"
}
Block {
BlockType Fcn
Name "psi dot"
Position [145, 65, 355, 85]
FontName "Arial"
Expr "(u[5]*u[28] + u[6]*u[29])/u[27]"
}
Block {
BlockType Fcn
Name "theta dot"
Position [145, 105, 355, 125]
FontName "Arial"
Expr "u[5]*u[29] - u[6]*u[28]"
}
Block {
BlockType Outport
Name "yeul"
Position [450, 105, 470, 125]
DropShadow on
FontName "Arial"
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "phi dot"
DstPort 1
}
Line {
SrcBlock "phi dot"
SrcPort 1
Points [30, 0; 0, -40]
DstBlock "Mux2"
DstPort 3
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "yeul"
DstPort 1
}
Line {
SrcBlock "theta dot"
SrcPort 1
DstBlock "Mux2"
DstPort 2
}
Line {
SrcBlock "psi dot"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 70; -285, 0; 0, 30]
DstBlock "Mux1"
DstPort 2
}
Branch {
Points [15, 0; 0, 25]
DstBlock "Mux2"
DstPort 1
}
}
Line {
SrcBlock "ueul"
SrcPort 1
Points [25, 0]
Branch {
Points [0, -40]
DstBlock "psi dot"
DstPort 1
}
Branch {
Points [0, 45]
DstBlock "Mux1"
DstPort 1
}
Branch {
DstBlock "theta dot"
DstPort 1
}
}
Annotation {
Position [402, 192]
VerticalAlignment top
ForegroundColor red
FontName "Arial"
Text "yeul=[psi dot; theta dot; phi dot]"
}
Annotation {
Position [72, 192]
VerticalAlignment top
ForegroundColor red
FontName "Arial"
Text "ueul=[x;Ftot;Mtot;yhlp]"
}
}
}
Block {
BlockType Mux
Name "Mux"
Ports [4, 1, 0, 0, 0]
Position [95, 114, 100, 186]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "[12 3 3 11]"
}
Block {
BlockType Mux
Name "Mux1"
Ports [4, 1, 0, 0, 0]
Position [270, 81, 275, 129]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "[3 3 3 3]"
}
Block {
BlockType SubSystem
Name "Vabdot"
Ports [1, 1, 0, 0, 0]
Position [150, 67, 210, 113]
FontName "Arial"
ShowPortLabels off
MaskType "Vabdot"
MaskDescription "Calculation of dV/dt, dalpha/dt, dbeta/dt."
MaskHelp "eval('fdchelp vabdot')"
MaskPromptString "Mass of the aircraft [kg]:"
MaskStyleString "edit"
MaskVariables "m=@1;"
MaskDisplay "disp('V dot\\nalpha dot\\nbeta dot')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
MaskValueString "GM1(10)"
System {
Name "Vabdot"
Location [4, 42, 618, 260]
Open off
ScreenColor white
Block {
BlockType Inport
Name "uVab"
Position [10, 95, 30, 115]
DropShadow on
FontName "Arial"
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType SubSystem
Name "0"
Ports [0, 0, 0, 0, 0]
Position [5, 5, 155, 35]
ForegroundColor blue
DropShadow on
FontName "Arial"
ShowName off
OpenFcn "fdchelp vabdot"
ShowPortLabels off
MaskDisplay "disp('VABDOT\\nM.O. Rauw, October 1997')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
System {
Name "0"
Location [99, 72, 274, 227]
Open off
ScreenColor white
}
}
Block {
BlockType Mux
Name "Mux2"
Ports [3, 1, 0, 0, 0]
Position [540, 79, 545, 131]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "3"
}
Block {
BlockType Fcn
Name "V dot"
Position [60, 55, 515, 75]
FontName "Arial"
Expr "(u[13]*u[19]*u[21]+u[14]*u[22]+u[15]*u[2"
"0]*u[21])/m"
}
Block {
BlockType Fcn
Name "alpha dot"
Position [60, 95, 515, 115]
FontName "Arial"
Expr "(-u[13]*u[20]+u[15]*u[19])/(m*u[1]*u[21]"
") - u[23]*(u[4]*u[19]+u[6]*u[20]) + u[5]"
}
Block {
BlockType Fcn
Name "beta dot"
Position [60, 135, 515, 155]
FontName "Arial"
Expr "(-u[13]*u[19]*u[22]+u[14]*u[21]-u[15]*u["
"20]*u[22])/(m*u[1]) + u[4]*u[20] "
"- u[6]*u[19]"
}
Block {
BlockType Outport
Name "yVab"
Position [570, 95, 590, 115]
DropShadow on
FontName "Arial"
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "yVab"
DstPort 1
}
Line {
SrcBlock "uVab"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "V dot"
DstPort 1
}
Branch {
DstBlock "beta dot"
DstPort 1
}
Branch {
DstBlock "alpha dot"
DstPort 1
}
}
Line {
SrcBlock "alpha dot"
SrcPort 1
DstBlock "Mux2"
DstPort 2
}
Line {
SrcBlock "V dot"
SrcPort 1
Points [5, 0]
DstBlock "Mux2"
DstPort 1
}
Line {
SrcBlock "beta dot"
SrcPort 1
Points [5, 0]
DstBlock "Mux2"
DstPort 3
}
Annotation {
Position [67, 182]
VerticalAlignment top
ForegroundColor red
FontName "Arial"
Text "uVab=[x;Ftot;Mtot;yhlp]"
}
Annotation {
Position [527, 182]
VerticalAlignment top
ForegroundColor red
FontName "Arial"
Text "yVab=[V dot;alpha dot;beta dot]"
}
}
}
Block {
BlockType SubSystem
Name "pqrdot"
Ports [1, 1, 0, 0, 0]
Position [150, 128, 210, 172]
FontName "Arial"
ShowPortLabels off
MaskType "pqrdot"
MaskDescription "Calculation of dp/dt, dq/dt, and dr/dt"
MaskHelp "eval('fdchelp pqrdot')"
MaskDisplay "disp('p dot\\nq dot\\nr dot')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
System {
Name "pqrdot"
Location [4, 42, 564, 259]
Open off
ScreenColor white
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -