📄 f16block.mdl
字号:
NamePlacement "alternate" ShowName off } Block { BlockType Constant Name "Constant3" Position [290, 28, 325, 52] ShowName off Value "390" } Block { BlockType Constant Name "Constant6" Position [205, 162, 235, 188] ShowName off Value "4.14" } Block { BlockType Math Name "Math\nFunction" Ports [2, 1] Position [290, 152, 320, 183] ShowName off Operator "pow" } Block { BlockType Math Name "Math\nFunction1" Ports [1, 1] Position [290, 219, 320, 251] ShowName off Operator "square" } Block { BlockType Product Name "Product" Ports [2, 1] Position [650, 119, 685, 166] ShowName off Inputs "/*" } Block { BlockType Product Name "Product5" Ports [2, 1] Position [550, 179, 585, 226] ShowName off Inputs "**" Port { PortNumber 1 Name "qbar" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } } Block { BlockType Product Name "Product6" Ports [2, 1] Position [550, 54, 585, 101] ShowName off Inputs "**" Port { PortNumber 1 Name "ps" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } } Block { BlockType Sum Name "Sum3" Ports [2, 1] Position [195, 110, 215, 130] ShowName off IconShape "round" Inputs "+-|" Port { PortNumber 1 Name "tfac" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } } Block { BlockType Switch Name "Switch" Position [380, 50, 410, 80] Threshold "35000" Port { PortNumber 1 Name "temp" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } } Block { BlockType Gain Name "r2d2" Position [100, 96, 175, 144] ShowName off Gain "0.703e-5" } Block { BlockType Gain Name "r2d3" Position [290, 101, 335, 139] ShowName off Gain "519" } Block { BlockType Gain Name "r2d4" Position [375, 216, 420, 254] ShowName off Gain "0.5" } Block { BlockType Gain Name "r2d5" Position [465, 45, 515, 85] ShowName off Gain "1715" } Block { BlockType Gain Name "rho0" Position [365, 149, 440, 191] Gain "2.377e-3" Port { PortNumber 1 Name "rho" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } } Block { BlockType Outport Name "qbar / ps" Position [710, 138, 740, 152] } Line { SrcBlock "alt" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, 55] DstBlock "r2d2" DstPort 1 } Branch { DstBlock "Switch" DstPort 2 } } Line { Name "tfac" Labels [0, 0] SrcBlock "Sum3" SrcPort 1 Points [0, 0; 30, 0] Branch { Points [0, 40] DstBlock "Math\nFunction" DstPort 1 } Branch { DstBlock "r2d3" DstPort 1 } } Line { SrcBlock "Constant3" SrcPort 1 Points [25, 0; 0, 15] DstBlock "Switch" DstPort 1 } Line { SrcBlock "r2d3" SrcPort 1 Points [15, 0; 0, -45] DstBlock "Switch" DstPort 3 } Line { SrcBlock "Constant6" SrcPort 1 DstBlock "Math\nFunction" DstPort 2 } Line { Name "rho" Labels [0, 0] SrcBlock "rho0" SrcPort 1 Points [0, 0; 80, 0] Branch { Points [0, 20] DstBlock "Product5" DstPort 1 } Branch { Points [0, -80] DstBlock "Product6" DstPort 2 } } Line { SrcBlock "Math\nFunction1" SrcPort 1 DstBlock "r2d4" DstPort 1 } Line { SrcBlock "r2d2" SrcPort 1 DstBlock "Sum3" DstPort 2 } Line { SrcBlock "Constant2" SrcPort 1 DstBlock "Sum3" DstPort 1 } Line { SrcBlock "Math\nFunction" SrcPort 1 DstBlock "rho0" DstPort 1 } Line { SrcBlock "r2d4" SrcPort 1 Points [100, 0; 0, -20] DstBlock "Product5" DstPort 2 } Line { Name "temp" Labels [0, 0] SrcBlock "Switch" SrcPort 1 DstBlock "r2d5" DstPort 1 } Line { SrcBlock "r2d5" SrcPort 1 DstBlock "Product6" DstPort 1 } Line { Name "ps" Labels [0, 0] SrcBlock "Product6" SrcPort 1 Points [20, 0; 0, 50] DstBlock "Product" DstPort 1 } Line { Name "qbar" Labels [0, 0] SrcBlock "Product5" SrcPort 1 Points [20, 0; 0, -50] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "qbar / ps" DstPort 1 } Line { SrcBlock "V" SrcPort 1 DstBlock "Math\nFunction1" DstPort 1 } } } Block { BlockType Demux Name "Demux" Ports [1, 6] Position [75, 71, 80, 299] BackgroundColor "black" ShowName off Outputs "[2,1,3,1,1,4]" Port { PortNumber 1 Name "x, y" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } Port { PortNumber 2 Name "alt" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } Port { PortNumber 3 Name "phi, theta, psi" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } Port { PortNumber 4 Name "V" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } Port { PortNumber 6 Name "beta, p, q, r" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } } Block { BlockType Gain Name "Gain" Position [305, 278, 345, 312] ShowName off Gain "2" } Block { BlockType Gain Name "Gain1" Position [280, 315, 325, 355] ShowName off Gain "7.25" } Block { BlockType Gain Name "Gain2" Position [480, 315, 525, 355] ShowName off Gain "1.38" } Block { BlockType Reference Name "LEF\nActuator" Ports [1, 1] Position [635, 310, 735, 360] LinkData { BlockName "Command\nSaturation" DialogParameters { UpperLimit "25" LowerLimit "0" } BlockName "Gain" DialogParameters { Gain "1/0.136" } BlockName "Integrator\n" DialogParameters { InitialCondition "dLEF" } BlockName "Rate\nSaturation" DialogParameters { UpperLimit "25" LowerLimit "-25" } } SourceBlock "F16_Actuator_Library/Aileron\nActuator" SourceType "SubSystem" ShowPortLabels on Permissions "ReadWrite" TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" SimViewingDevice off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" } Block { BlockType ToWorkspace Name "LEF deflection" Position [845, 415, 905, 445] VariableName "d_LF" MaxDataPoints "inf" Decimation "100" SampleTime "-1" SaveFormat "Array" } Block { BlockType Integrator Name "LF_state" Ports [1, 1] Position [355, 320, 385, 350] InitialCondition "-trim_state(8)*180/pi" } Block { BlockType Sum Name "Sum" Ports [3, 1] Position [560, 320, 590, 350] ShowName off IconShape "round" Inputs "-|+|+" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [235, 325, 255, 345] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [415, 325, 435, 345] ShowName off IconShape "round" Inputs "++|" } Block { BlockType Constant Name "coeff1" Position [560, 375, 590, 405] Orientation "up" NamePlacement "alternate" ShowName off Value "1.45" } Block { BlockType Terminator Name "end" Position [155, 156, 175, 174] ShowName off } Block { BlockType Terminator Name "end1" Position [155, 75, 175, 95] ShowName off } Block { BlockType Terminator Name "end2" Position [155, 276, 175, 294] ShowName off } Block { BlockType Gain Name "r2d1" Position [105, 225, 155, 265] ShowName off Gain "180/pi" Port { PortNumber 1 Name "alpha" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } } Block { BlockType Gain Name "r2d6" Position [480, 146, 525, 184] ShowName off Gain "9.05" } Block { BlockType Outport Name "delta_lef\n(deg)" Position [860, 328, 890, 342] } Line { SrcBlock "LEF\nActuator" SrcPort 1 Points [35, 0]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -