📄 fdclib5.mdl
字号:
BlockType SubSystem
Name "pqrdot"
Ports [1, 1, 0, 0, 0]
Position [15, 114, 75, 156]
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskType "pqrdot"
MaskDescription "Calculation of dp/dt, dq/dt, and dr/dt"
MaskHelp "eval('browse pqrdot')"
MaskDisplay "disp('p dot\\nq dot\\nr dot')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "pqrdot"
Location [6, 44, 574, 265]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "upqr"
Position [15, 138, 45, 152]
FontName "Arial"
FontSize 11
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType SubSystem
Name "0"
Ports [0, 0, 0, 0, 0]
Position [15, 15, 160, 45]
ForegroundColor "blue"
DropShadow on
ShowName off
OpenFcn "browse pqrdot"
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskDisplay "disp('PQRDOT\\nM.O. Rauw, March 2003')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "0"
Location [99, 72, 274, 227]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
}
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 5, 0, 0, 0]
Position [75, 107, 80, 183]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Outputs "[3 3 9 3 11]"
}
Block {
BlockType Fcn
Name "Fcn"
Position [240, 60, 300, 80]
ShowName off
FontName "Arial"
FontSize 11
Expr "u[1]^2"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [240, 80, 300, 100]
ShowName off
FontName "Arial"
FontSize 11
Expr "u[1]*u[2]"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [240, 100, 300, 120]
ShowName off
FontName "Arial"
FontSize 11
Expr "u[1]*u[3]"
}
Block {
BlockType Fcn
Name "Fcn3"
Position [240, 120, 300, 140]
ShowName off
FontName "Arial"
FontSize 11
Expr "u[2]^2"
}
Block {
BlockType Fcn
Name "Fcn4"
Position [240, 140, 300, 160]
ShowName off
FontName "Arial"
FontSize 11
Expr "u[2]*u[3]"
}
Block {
BlockType Fcn
Name "Fcn5"
Position [240, 160, 300, 180]
ShowName off
FontName "Arial"
FontSize 11
Expr "u[3]^2"
}
Block {
BlockType Reference
Name "Matrix Gain"
Ports [1, 1, 0, 0, 0]
Position [415, 95, 475, 125]
FontName "Arial"
FontSize 11
SourceBlock "simulink3/Math/Matrix\nGain"
SourceType "Matrix Gain"
K "GM2"
}
Block {
BlockType Mux
Name "Mux"
Ports [7, 1, 0, 0, 0]
Position [335, 32, 340, 188]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "[3 1 1 1 1 1 1]"
DisplayOption "none"
}
Block {
BlockType Terminator
Name "Terminator1"
Position [95, 138, 110, 152]
ShowName off
}
Block {
BlockType Terminator
Name "Terminator2"
Position [95, 168, 110, 182]
ShowName off
}
Block {
BlockType Terminator
Name "Terminator3"
Position [95, 108, 110, 122]
ShowName off
}
Block {
BlockType Outport
Name "ypqr"
Position [515, 103, 545, 117]
FontName "Arial"
FontSize 11
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Fcn2"
SrcPort 1
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "Fcn3"
SrcPort 1
DstBlock "Mux"
DstPort 5
}
Line {
SrcBlock "Fcn4"
SrcPort 1
DstBlock "Mux"
DstPort 6
}
Line {
SrcBlock "Fcn5"
SrcPort 1
DstBlock "Mux"
DstPort 7
}
Line {
SrcBlock "Matrix Gain"
SrcPort 1
DstBlock "ypqr"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Matrix Gain"
DstPort 1
}
Line {
SrcBlock "upqr"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Terminator3"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 5
DstBlock "Terminator2"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "Terminator1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [125, 0]
Branch {
Points [0, -20]
Branch {
Points [0, -20]
Branch {
DstBlock "Fcn1"
DstPort 1
}
Branch {
Points [0, -20]
DstBlock "Fcn"
DstPort 1
}
}
Branch {
DstBlock "Fcn2"
DstPort 1
}
}
Branch {
Points [0, 20]
Branch {
DstBlock "Fcn4"
DstPort 1
}
Branch {
Points [0, 20]
DstBlock "Fcn5"
DstPort 1
}
}
Branch {
DstBlock "Fcn3"
DstPort 1
}
}
Line {
SrcBlock "Demux"
SrcPort 4
Points [110, 0; 0, -110]
DstBlock "Mux"
DstPort 1
}
Annotation {
Position [149, 117]
VerticalAlignment "top"
Text "[p q r]'"
FontName "Arial"
}
Annotation {
Position [148, 147]
VerticalAlignment "top"
Text "[L M N]'"
FontName "Arial"
}
Annotation {
Position [444, 142]
VerticalAlignment "top"
ForegroundColor "red"
Text "Here: ypqr = GM2*ytmp"
FontName "Arial"
FontSize 11
}
Annotation {
Position [371, 97]
VerticalAlignment "top"
Text "ytmp"
FontName "Arial"
}
Annotation {
Position [492, 197]
VerticalAlignment "top"
ForegroundColor "red"
Text "ypqr=[p dot;q dot;r dot]"
FontName "Arial"
FontSize 11
}
Annotation {
Position [72, 197]
VerticalAlignment "top"
ForegroundColor "red"
Text "upqr=[x;Ftot;Mtot;yhlp]"
FontName "Arial"
FontSize 11
}
Annotation {
Position [449, 7]
VerticalAlignment "top"
ForegroundColor "red"
Text "ytmp = [L; M; N; p^2; pq; pr; q^2; qr; r^2]"
FontName "Arial"
FontSize 11
}
}
}
Block {
BlockType SubSystem
Name "uvw"
Ports [2, 1, 0, 0, 0]
Position [60, 335, 125, 370]
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskType "uvw"
MaskDescription "Calculation of body-axes velocities\nu, v, and "
"w"
MaskHelp "eval('browse uvw')"
MaskDisplay "disp('Body-axes\\nvelocities')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "uvw"
Location [8, 44, 361, 222]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "yhlp"
Position [15, 123, 45, 137]
FontName "Arial"
FontSize 11
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "In1"
Position [15, 83, 45, 97]
FontName "Arial"
FontSize 11
Port "2"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType SubSystem
Name "0"
Ports [0, 0, 0, 0, 0]
Position [15, 13, 154, 45]
ForegroundColor "blue"
DropShadow on
ShowName off
OpenFcn "browse uvw"
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskDisplay "disp('UVW\\nM.O. Rauw, March 2003')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "0"
Location [99, 72, 274, 227]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
}
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1, 0, 0, 0]
Position [275, 55, 280, 165]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "3"
DisplayOption "none"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1, 0, 0, 0]
Position [70, 71, 75, 149]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "[12 11]"
DisplayOption "none"
}
Block {
BlockType Fcn
Name "u"
Position [125, 65, 245, 85]
FontName "Arial"
FontSize 11
Expr "u[1]*u[13]*u[15]"
}
Block {
BlockType Fcn
Name "v"
Position [125, 100, 245, 120]
FontName "Arial"
FontSize 11
Expr "u[1]*u[16]"
}
Block {
BlockType Fcn
Name "w"
Position [125, 135, 245, 155]
FontName "Arial"
FontSize 11
Expr "u[1]*u[14]*u[15]"
}
Block {
BlockType Outport
Name "ybvel"
Position [310, 103, 340, 117]
FontName "Arial"
FontSize 11
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "ybvel"
DstPort 1
}
Line {
SrcBlock "w"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "v"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "u"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "yhlp"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [35, 0]
Branch {
Points [-10, 0; 0, 35]
DstBlock "w"
DstPort 1
}
Branch {
Points [-10, 0; 0, -35]
DstBlock "u"
DstPort 1
}
Branch {
DstBlock "v"
DstPort 1
}
}
}
}
Block {
BlockType SubSystem
Name "xdotcorr"
Ports [3, 1, 0, 0, 0]
Position [65, 395, 120, 435]
ShowName off
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskType "xdotcorr"
MaskDescription "Correction block to write state\nequations for "
"DHC-2 Beaver aircraft\nexplicitly."
MaskHelp "eval('browse xdotcorr')"
MaskPromptString "Wing span [m]:|Wing surface [m^2]:|Mass of the "
"aircraft [kg]:|Stability-derivative CYbdot:"
MaskStyleString "edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on"
MaskCallbackString "|||"
MaskEnableString "on,on,on,on"
MaskVisibilityString "on,on,on,on"
MaskVariables "b=@1;S=@2;m=@3;CYbdot=@4;"
MaskDisplay "disp('xdotcorr\\n(Beaver)')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "GM1(2)|GM1(3)|GM1(10)|AM(2,19)"
System {
Name "xdotcorr"
Location [6, 44, 597, 361]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "xdot, not\ncorrected\n"
Position [20, 143, 50, 157]
FontName "Arial"
FontSize 11
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "yhlp"
Position [20, 238, 50, 252]
FontName "Arial"
FontSize 11
Port "2"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "yatm"
Position [20, 278, 50, 292]
FontName "Arial"
FontSize 11
Port "3"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType SubSystem
Name "0"
Ports [0, 0, 0, 0, 0]
Position [15, 5, 154, 40]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -