📄 sldemo_f14.mdl
字号:
Points [-50, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Integrate"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "w"
DstPort 1
}
Branch {
Points [0, 95]
DstBlock "Gain"
DstPort 1
}
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [50, 0]
Branch {
DstBlock "Integrate"
DstPort 1
}
Branch {
Points [0, -55]
DstBlock "wdot"
DstPort 1
}
}
}
}
Block {
BlockType Outport
Name "wdot (ft/sec^2)"
Position [610, 77, 645, 93]
NamePlacement "alternate"
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Block {
BlockType Outport
Name "Pitch Accel\nqdot (rad/sec2)"
Position [610, 282, 645, 298]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Block {
BlockType Outport
Name "Pitch Rate\nq (rad/sec)"
Position [610, 252, 645, 268]
NamePlacement "alternate"
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Block {
BlockType Outport
Name "Alpha, deg"
Position [610, 107, 645, 123]
Port "4"
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Line {
SrcBlock "Vertical Channel"
SrcPort 2
Points [55, 0]
Branch {
Labels [1, 0]
Points [0, 50; -50, 60]
DstBlock "Gain4"
DstPort 1
}
Branch {
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "Pitch Channel"
SrcPort 1
Points [55, 0]
Branch {
DstBlock "Pitch Rate\nq (rad/sec)"
DstPort 1
}
Branch {
Points [0, -35; -60, -60]
DstBlock "Gain3"
DstPort 1
}
}
Line {
SrcBlock "Gain6"
SrcPort 1
Points [55, 0]
DstBlock "Sum2"
DstPort 3
}
Line {
SrcBlock "Gain5"
SrcPort 1
Points [60, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [-45, 0]
DstBlock "Sum1"
DstPort 3
}
Line {
SrcBlock "Rotary Gust\nqGust (rad/sec)"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Pitch Channel"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Vertical Channel"
DstPort 1
}
Line {
SrcBlock "Gain4"
SrcPort 1
Points [-45, 0]
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Vertical Gust\nwGust (ft/sec)"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Elevator\nDeflection\nd (deg)"
SrcPort 1
DstBlock "Gain5"
DstPort 1
}
Line {
SrcBlock "Elevator\nDeflection\nd (deg)1"
SrcPort 1
DstBlock "Gain6"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Alpha, deg"
DstPort 1
}
Line {
SrcBlock "Vertical Channel"
SrcPort 1
DstBlock "wdot (ft/sec^2)"
DstPort 1
}
Line {
SrcBlock "Pitch Channel"
SrcPort 2
DstBlock "Pitch Accel\nqdot (rad/sec2)"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Controller"
Ports [3, 1]
Position [120, 90, 220, 150]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskDisplay "port_label('input',1,'Stick, in','texmode','on'"
");\nport_label('input',3,'\\alpha, rad','texmode','on');\nport_label('input',"
"2,'q, rad/sec','texmode','on');\nport_label('output',1,'\\deltacmd, deg','tex"
"mode','on');\n"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Controller"
Location [91, 531, 747, 938]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "Stick\nInput (in)"
Position [60, 97, 90, 113]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "q (rad/sec)"
Position [510, 298, 540, 312]
Orientation "left"
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "alpha (rad)"
Position [510, 208, 540, 222]
Orientation "left"
Port "3"
IconDisplay "Port number"
}
Block {
BlockType TransferFcn
Name "Alpha-sensor\nLow-pass Filter"
Position [370, 190, 445, 240]
Orientation "left"
Denominator "[Tal,1]"
}
Block {
BlockType Gain
Name "Gain"
Position [340, 15, 380, 55]
ShowName off
Gain "Kf"
}
Block {
BlockType Gain
Name "Gain2"
Position [300, 285, 340, 325]
Orientation "left"
ShowName off
Gain "Kq"
}
Block {
BlockType Gain
Name "Gain3"
Position [300, 195, 340, 235]
Orientation "left"
ShowName off
Gain "Ka"
}
Block {
BlockType TransferFcn
Name "Pitch Rate\nLead Filter"
Position [370, 280, 445, 330]
Orientation "left"
Numerator "[1,W1]"
Denominator "[1,W2]"
}
Block {
BlockType TransferFcn
Name "Proportional\nplus integral\ncompensator"
Position [320, 80, 390, 130]
Numerator "[Ki]"
Denominator "[1,0]"
}
Block {
BlockType TransferFcn
Name "Stick\nPrefilter"
Position [130, 80, 200, 130]
Denominator "[Ts,1]"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [460, 95, 480, 115]
ShowName off
IconShape "round"
Inputs "++|"
CollapseMode "All dimensions"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [245, 205, 265, 225]
Orientation "up"
ShowName off
IconShape "round"
Inputs "|++"
CollapseMode "All dimensions"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [245, 95, 265, 115]
ShowName off
IconShape "round"
Inputs "|+-"
CollapseMode "All dimensions"
}
Block {
BlockType Outport
Name "Elevator\nCommand (deg)"
Position [510, 98, 540, 112]
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "Proportional\nplus integral\ncompensator"
DstPort 1
}
Branch {
Points [0, -70]
DstBlock "Gain"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [85, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Proportional\nplus integral\ncompensator"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Stick\nPrefilter"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Elevator\nCommand (deg)"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [-40, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Pitch Rate\nLead Filter"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "q (rad/sec)"
SrcPort 1
DstBlock "Pitch Rate\nLead Filter"
DstPort 1
}
Line {
SrcBlock "Alpha-sensor\nLow-pass Filter"
SrcPort 1
DstBlock "Gain3"
DstPort 1
}
Line {
SrcBlock "alpha (rad)"
SrcPort 1
DstBlock "Alpha-sensor\nLow-pass Filter"
DstPort 1
}
Line {
SrcBlock "Stick\nInput (in)"
SrcPort 1
DstBlock "Stick\nPrefilter"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Dryden Wind\nGust Models"
Ports [0, 2]
Position [120, 237, 160, 288]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskDisplay "port_label('output',1,'wg','texmode','on');\npo"
"rt_label('output',2,'qg','texmode','on');\n"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
Port {
PortNumber 1
Name "wGust"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 2
Name "qGust"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
System {
Name "Dryden Wind\nGust Models"
Location [24, 123, 476, 361]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Reference
Name "Band-Limited\nWhite Noise"
Ports [0, 1]
Position [40, 30, 70, 60]
SourceBlock "simulink/Sources/Band-Limited\nWhite Noise"
SourceType "Band-Limited White Noise."
ShowPortLabels "on"
Cov "1"
Ts "0.1"
seed "[23341]"
VectorParams1D "on"
}
Block {
BlockType TransferFcn
Name "Q-gust model"
Position [155, 145, 295, 195]
Numerator "pi/(4*b)*[1 0]"
Denominator "[1 pi*Vto/(4*b)]"
}
Block {
BlockType TransferFcn
Name "W-gust model"
Position [115, 17, 335, 73]
Numerator "Swg/sqrt(a^3)*[sqrt(3)*a,1]"
Denominator "[1 (2/a) 1/a^2]"
}
Block {
BlockType Outport
Name "Wg"
Position [380, 36, 415, 54]
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Block {
BlockType Outport
Name "Qg"
Position [380, 160, 415, 180]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Line {
SrcBlock "Band-Limited\nWhite Noise"
SrcPort 1
DstBlock "W-gust model"
DstPort 1
}
Line {
SrcBlock "Q-gust model"
SrcPort 1
DstBlock "Qg"
DstPort 1
}
Line {
SrcBlock "W-gust model"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Wg"
DstPort 1
}
Branch {
Points [0, 70; -225, 0; 0, 55]
DstBlock "Q-gust model"
DstPort 1
}
}
}
}
Block {
BlockType Gain
Name "Gain"
Position [230, 166, 270, 204]
ShowName off
Gain "Zw"
}
Block {
BlockType Gain
Name "Gain1"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -