📄 lin_f16block.mdl
字号:
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 [85, 76, 90, 304] 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 [315, 283, 355, 317] ShowName off Gain "2" } Block { BlockType Gain Name "Gain1" Position [290, 320, 335, 360] ShowName off Gain "7.25" } Block { BlockType Gain Name "Gain2" Position [490, 320, 535, 360] ShowName off Gain "1.38" } Block { BlockType SubSystem Name "LEF\nActuator" Ports [1, 1] Position [645, 315, 745, 365] AncestorBlock "F16_Actuator_Library/Aileron\nActuator" TreatAsAtomicUnit off System { Name "LEF\nActuator" Location [441, 443, 996, 693] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [15, 38, 45, 52] } Block { BlockType Gain Name "Gain" Position [200, 25, 250, 65] Gain "1/0.136" } Block { BlockType Integrator Name "Integrator\n" Ports [1, 1] Position [365, 29, 395, 61] InitialCondition "dLEF" UpperSaturationLimit "21.5" LowerSaturationLimit "-21.5" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [155, 35, 175, 55] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Outport Name "Out1" Position [465, 38, 495, 52] } Line { SrcBlock "Integrator\n" SrcPort 1 Points [25, 0] Branch { Points [0, 90; -260, 0] DstBlock "Sum" DstPort 2 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator\n" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 1 } } } Block { BlockType Integrator Name "LF_state" Ports [1, 1] Position [365, 325, 395, 355] InitialCondition "-trim_state_lin(8)*180/pi" } Block { BlockType Sum Name "Sum" Ports [3, 1] Position [570, 325, 600, 355] ShowName off IconShape "round" Inputs "-|+|+" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [245, 330, 265, 350] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [425, 330, 445, 350] ShowName off IconShape "round" Inputs "++|" } Block { BlockType Constant Name "coeff1" Position [570, 380, 600, 410] Orientation "up" NamePlacement "alternate" ShowName off Value "1.45" } Block { BlockType Terminator Name "end" Position [165, 161, 185, 179] ShowName off } Block { BlockType Terminator Name "end1" Position [165, 80, 185, 100] ShowName off } Block { BlockType Terminator Name "end2" Position [165, 281, 185, 299] ShowName off } Block { BlockType Gain Name "r2d1" Position [115, 230, 165, 270] 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 [490, 151, 535, 189] ShowName off Gain "9.05" } Block { BlockType Outport Name "delta_lef\n(deg)" Position [790, 333, 820, 347] } Line { SrcBlock "LEF\nActuator" SrcPort 1 DstBlock "delta_lef\n(deg)" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "LEF\nActuator" DstPort 1 } Line { Name "phi, theta, psi" Labels [0, 0] SrcBlock "Demux" SrcPort 3 DstBlock "end" DstPort 1 } Line { SrcBlock "state" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 DstBlock "LF_state" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [75, 0] DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { Name "x, y" Labels [0, 0] SrcBlock "Demux" SrcPort 1 DstBlock "end1" DstPort 1 } Line { Labels [1, 0] SrcBlock "Demux" SrcPort 5 DstBlock "r2d1" DstPort 1 } Line { Name "beta, p, q, r" Labels [0, 0] SrcBlock "Demux" SrcPort 6 DstBlock "end2" DstPort 1 } Line { SrcBlock "coeff1" SrcPort 1 DstBlock "Sum" DstPort 3 } Line { SrcBlock "Sum2" SrcPort 1 Points [0, 0; 5, 0] Branch { Points [0, 45; -200, 0] DstBlock "Sum1" DstPort 2 } Branch { DstBlock "Gain2" DstPort 1 } } Line { SrcBlock "LF_state" SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { Name "alpha" Labels [0, 0] SrcBlock "r2d1" SrcPort 1 Points [55, 0; 0, 50] Branch { Points [0, 40] DstBlock "Sum1" DstPort 1 } Branch { DstBlock "Gain" DstPort 1 } } Line { Name "V" Labels [0, 0] SrcBlock "Demux" SrcPort 4 DstBlock "Creating qbar / ps" DstPort 2 } Line { SrcBlock "Creating qbar / ps" SrcPort 1 DstBlock "r2d6" DstPort 1 } Line { SrcBlock "r2d6" SrcPort 1 Points [45, 0] DstBlock "Sum" DstPort 1 } Line { Name "alt" Labels [0, 0] SrcBlock "Demux" SrcPort 2
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -