# $Revision: 1.1 $ Model { Name "f14c" Version 6.2 MdlSubVersion 0 GraphicalInterface { NumRootInports 3 Inport { Name "alpha command" } Inport { Name "Open Loop Input" } Inport { Name "Noise Input" } NumRootOutports 4 Outport { BusObject "" BusOutputAsStruct "off" Name "alpha (rad)" } Outport { BusObject "" BusOutputAsStruct "off" SignalName "q" Name "q (rad/sec)" } Outport { BusObject "" BusOutputAsStruct "off" Name "Open Loop Output" } Outport { BusObject "" BusOutputAsStruct "off" Name "Nz Pilot (g)" } ParameterArgumentNames "" ComputedModelVersion "1.1" NumModelReferences 0 NumTestPointedSignals 0 } SavedCharacterEncoding "US-ASCII" PreLoadFcn "f14dat" SaveDefaultBlockParams on SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ShowTestPointIcons on ShowViewerIcons on SortedOrder off ExecutionContextIcon off ShowLinearizationAnnotations on RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off CovReportOnPause on ScopeRefreshTime 0.035000 OverrideScopeRefreshTime on DisableAllScopes off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off Created "Sat Jan 22 19:08:14 2005" Creator "The MathWorks Inc." UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "batserve" ModifiedDateFormat "%" LastModifiedDate "Sat Jan 22 19:08:14 2005" ModelVersionFormat "1.%" ConfigurationManager "None" LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off ExtModeBatchMode off ExtModeEnableFloating on ExtModeTrigType "manual" ExtModeTrigMode "normal" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigDurationFloating "auto" ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect on ExtModeSkipDownloadWhenConnect off ExtModeLogAll on ExtModeAutoUpdateStatusClock off BufferReuse on StrictBusMsg "None" ProdHWDeviceType "32-bit Generic" ShowModelReferenceBlockVersion off ShowModelReferenceBlockIO off Array { Type "Handle" Dimension 1 Simulink.ConfigSet { $ObjectID 1 Version "1.1.0" Array { Type "Handle" Dimension 7 Simulink.SolverCC { $ObjectID 2 Version "1.1.0" StartTime "0.0" StopTime "2" AbsTol "1e-6" FixedStep "auto" InitialStep "auto" MaxNumMinSteps "-1" MaxOrder 5 ExtrapolationOrder 4 NumberNewtonIterations 1 MaxStep ".01" MinStep "auto" RelTol "1e-4" SolverMode "SingleTasking" Solver "ode23" SolverName "ode23" ZeroCrossControl "UseLocalSettings" AlgebraicLoopSolver "TrustRegion" SolverResetMethod "Fast" PositivePriorityOrder off AutoInsertRateTranBlk off SampleTimeConstraint "Unconstrained" RateTranMode "Deterministic" } Simulink.DataIOCC { $ObjectID 3 Version "1.1.0" Decimation "1" ExternalInput "[]" FinalStateName "xFinal" InitialState "[]" LimitDataPoints off MaxDataPoints "1000" LoadExternalInput off LoadInitialState off SaveFinalState off SaveFormat "Array" SaveOutput off SaveState off SignalLogging on SaveTime off StateSaveName "xout" TimeSaveName "tout" OutputSaveName "yout" SignalLoggingName "logsout" OutputOption "RefineOutputTimes" OutputTimes "[]" Refine "1" } Simulink.OptimizationCC { $ObjectID 4 Array { Type "Cell" Dimension 5 Cell "ZeroExternalMemoryAtStartup" Cell "ZeroInternalMemoryAtStartup" Cell "InitFltsAndDblsToZero" Cell "OptimizeModelRefInitCode" Cell "NoFixptDivByZeroProtection" PropName "DisabledProps" } Version "1.1.0" BlockReduction off BooleanDataType off ConditionallyExecuteInputs on InlineParams off InlineInvariantSignals off OptimizeBlockIOStorage on BufferReuse on EnforceIntegerDowncast on ExpressionFolding on FoldNonRolledExpr on LocalBlockOutputs on ParameterPooling on RollThreshold 5 SystemCodeInlineAuto off StateBitsets off DataBitsets off UseTempVars off ZeroExternalMemoryAtStartup on ZeroInternalMemoryAtStartup on InitFltsAndDblsToZero on NoFixptDivByZeroProtection off EfficientFloat2IntCast off OptimizeModelRefInitCode off LifeSpan "inf" BufferReusableBoundary on } Simulink.DebuggingCC { $ObjectID 5 Version "1.1.0" RTPrefix "error" ConsistencyChecking "none" ArrayBoundsChecking "none" SignalInfNanChecking "none" AlgebraicLoopMsg "warning" ArtificialAlgebraicLoopMsg "warning" CheckSSInitialOutputMsg on CheckExecutionContextPreStartOutputMsg off CheckExecutionContextRuntimeOutputMsg off SignalResolutionControl "TryResolveAllWithWarning" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" SolverPrmCheckMsg "none" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskDSMMsg "warning" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" TasksWithSamePriorityMsg "warning" CheckMatrixSingularityMsg "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterPrecisionLossMsg "warning" UnderSpecifiedDataTypeMsg "none" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" InvalidFcnCallConnMsg "error" FcnCallInpInsideContextMsg "Use local settings" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SFcnCompatibilityMsg "none" UniqueDataStoreMsg "none" BusObjectLabelMismatch "warning" RootOutportRequireBusObject "warning" AssertControl "UseLocalSettings" EnableOverflowDetection off ModelReferenceIOMsg "none" ModelReferenceVersionMismatchMessage "none" ModelReferenceIOMismatchMessage "none" ModelReferenceCSMismatchMessage "none" ModelReferenceSimTargetVerbose off UnknownTsInhSupMsg "warning" ModelReferenceDataLoggingMessage "warning" ModelReferenceSymbolNameMessage "warning" ModelReferenceExtraNoncontSigs "error" } Simulink.HardwareCC { $ObjectID 6 Version "1.1.0" ProdBitPerChar 8 ProdBitPerShort 16 ProdBitPerInt 32 ProdBitPerLong 32 ProdIntDivRoundTo "Undefined" ProdEndianess "Unspecified" ProdWordSize 32 ProdShiftRightIntArith on ProdHWDeviceType "32-bit Generic" TargetBitPerChar 8 TargetBitPerShort 16 TargetBitPerInt 32 TargetBitPerLong 32 TargetShiftRightIntArith on TargetIntDivRoundTo "Undefined" TargetEndianess "Unspecified" TargetWordSize 32 TargetTypeEmulationWarnSuppressLevel 0 TargetPreprocMaxBitsSint 32 TargetPreprocMaxBitsUint 32 TargetHWDeviceType "Specified" TargetUnknown on ProdEqTarget on } Simulink.ModelReferenceCC { $ObjectID 7 Version "1.1.0" UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" CheckModelReferenceTargetMessage "error" ModelReferenceNumInstancesAllowed "Multi" ModelReferencePassRootInputsByReference on ModelReferenceMinAlgLoopOccurrences off } Simulink.RTWCC { $BackupClass "Simulink.RTWCC" $ObjectID 8 Array { Type "Cell" Dimension 1 Cell "IncludeHyperlinkInReport" PropName "DisabledProps" } Version "1.1.0" SystemTargetFile "grt.tlc" GenCodeOnly off MakeCommand "make_rtw" TemplateMakefile "grt_default_tmf" GenerateReport off SaveLog off RTWVerbose on RetainRTWFile off ProfileTLC off TLCDebug off TLCCoverage off TLCAssert off ProcessScriptMode "Default" ConfigurationMode "Optimized" ConfigAtBuild off IncludeHyperlinkInReport off LaunchReport off TargetLang "C" Array { Type "Handle" Dimension 2 Simulink.CodeAppCC { $ObjectID 9 Array { Type "Cell" Dimension 9 Cell "IgnoreCustomStorageClasses" Cell "InsertBlockDesc" Cell "SFDataObjDesc" Cell "SimulinkDataObjDesc" Cell "DefineNamingRule" Cell "SignalNamingRule" Cell "ParamNamingRule" Cell "InlinedPrmAccess" Cell "CustomSymbolStr" PropName "DisabledProps" } Version "1.1.0" ForceParamTrailComments off GenerateComments on IgnoreCustomStorageClasses on IncHierarchyInIds off MaxIdLength 31 PreserveName off PreserveNameWithParent off ShowEliminatedStatement off IncAutoGenComments off SimulinkDataObjDesc off SFDataObjDesc off IncDataTypeInIds off PrefixModelToSubsysFcnNames on CustomSymbolStr "$R$N$M" MangleLength 1 DefineNamingRule "None" ParamNamingRule "None" SignalNamingRule "None" InsertBlockDesc off SimulinkBlockComments on EnableCustomComments off InlinedPrmAccess "Literals" ReqsInCode off } Simulink.GRTTargetCC { $BackupClass "Simulink.TargetCC" $ObjectID 10 Array { Type "Cell" Dimension 12 Cell "IncludeMdlTerminateFcn" Cell "CombineOutputUpdateFcns" Cell "SuppressErrorStatus" Cell "ERTCustomFileBanners" Cell "GenerateSampleERTMain" Cell "MultiInstanceERTCode" Cell "PurelyIntegerCode" Cell "SupportNonFinite" Cell "SupportComplex" Cell "SupportAbsoluteTime" Cell "SupportContinuousTime" Cell "SupportNonInlinedSFcns" PropName "DisabledProps" } Version "1.1.0" TargetFcnLib "ansi_tfl_tmw.mat" TargetLibSuffix "" TargetPreCompLibLocation "" GenFloatMathFcnCalls "ANSI_C" UtilityFuncGeneration "Auto" GenerateFullHeader on GenerateSampleERTMain off IsPILTarget off ModelReferenceCompliant on IncludeMdlTerminateFcn on CombineOutputUpdateFcns off SuppressErrorStatus off IncludeFileDelimiter "Auto" ERTCustomFileBanners off SupportAbsoluteTime on LogVarNameModifier "rt_" MatFileLogging on MultiInstanceERTCode off SupportNonFinite on SupportComplex on PurelyIntegerCode off SupportContinuousTime on SupportNonInlinedSFcns on ExtMode off ExtModeStaticAlloc off ExtModeTesting off ExtModeStaticAllocSize 1000000 ExtModeTransport 0 ExtModeMexFile "ext_comm" RTWCAPISignals off RTWCAPIParams off RTWCAPIStates off GenerateASAP2 off } PropName "Components" } } PropName "Components" } Name "Configuration" SimulationMode "normal" CurrentDlgPage "Solver" } PropName "ConfigurationSets" } Simulink.ConfigSet { $PropName "ActiveConfigurationSet" $ObjectID 1 } BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } BlockParameterDefaults { Block { BlockType Clock DisplayTime off } Block { BlockType Constant Value "1" VectorParams1D on OutDataTypeMode "Inherit from 'Constant value'" OutDataType "sfix(16)" ConRadixGroup "Use specified scaling" OutScaling "2^0" SampleTime "inf" } Block { BlockType Derivative LinearizePole "inf" } Block { BlockType Gain Gain "1" Multiplication "Element-wise(K.*u)" ParameterDataTypeMode "Same as input" ParameterDataType "sfix(16)" ParameterScalingMode "Best Precision: Matrix-wise" ParameterScaling "2^0" OutDataTypeMode "Same as input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Inport UseBusObject off BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" Interpolate on } Block { BlockType Outport Port "1" UseBusObject off BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Product Inputs "2" Multiplication "Element-wise(.*)" InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Zero" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType SubSystem ShowPortLabels on Permissions "ReadWrite" PermitHierarchicalResolution "All" SystemSampleTime "-1" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" SimViewingDevice off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" } Block { BlockType Sum IconShape "rectangular" Inputs "++" InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType ToWorkspace VariableName "simulink_output" MaxDataPoints "1000" Decimation "1" SampleTime "0" FixptAsFi off } Block { BlockType TransferFcn Numerator "[1]" Denominator "[1 2 1]" AbsoluteTolerance "auto" Realization "auto" } } 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 "f14c" Location [74, 131, 862, 604] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType Inport Name "alpha\ncommand" Position [140, 40, 160, 60] Orientation "left" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "Open Loop\nInput" Position [150, 210, 170, 230] Orientation "left" Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "Noise\nInput" Position [180, 280, 200, 300] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType TransferFcn Name "Actuator\nModel" Position [285, 117, 345, 163] Denominator "[ Ta, 1]" } Block { BlockType SubSystem Name "Aircraft Dynamics \nModel" Ports [3, 2] Position [515, 200, 545, 250] ShowPortLabels off TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" Port { PortNumber 1 Name "w" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" ShowSigGenPortName on } Port { PortNumber 2 Name "q" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" ShowSigGenPortName on } System { Name "Aircraft Dynamics \nModel" Location [47, 42, 627, 477] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "Elevator\nDeflection\nd (deg)" Position [35, 23, 60, 47] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "Vertical Gust\nwGust (ft/sec)" Position [155, 118, 180, 142] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "Rotary Gust\nqGust (rad/sec)" Position [160, 293, 185, 317] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain3" Position [305, 175, 345, 215] Orientation "left" ShowName off Gain "Uo" } Block { BlockType Gain Name "Gain4" Position [305, 233, 345, 277] Orientation "left" ShowName off Gain "Mw" } Block { BlockType Gain Name "Gain5" Position [130, 15, 165, 55] ShowName off Gain "Zd" } Block { BlockType Gain Name "Gain6" Position [135, 355, 170, 395] ShowName off Gain "Md" } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [270, 106, 290, 154] ShowName off Inputs "+-+" } Block { BlockType Sum Name "Sum2" Ports [3, 1] Position [270, 281, 290, 329] ShowName off Inputs "+-+" } Block { BlockType TransferFcn Name "Transfer Ftn.1 " Position [365, 106, 425, 154] ShowName off Denominator "[1,-Zw]" } Block { BlockType TransferFcn Name "Transfer Ftn.2" Position [365, 280, 425, 330] ShowName off Denominator "[1,-Mq]" } Block { BlockType Outport Name "Vertical Velocity\nw (ft/sec)" Position [510, 121, 530, 139] IconDisplay "Port number" InitialOutput "0" } Block { BlockType Outport Name "Pitch Rate\nq (rad/sec)" Position [515, 296, 535, 314] Port "2" IconDisplay "Port number" InitialOutput "0" } Line { SrcBlock "Transfer Ftn.1 " SrcPort 1 Points [35, 0] Branch { DstBlock "Vertical Velocity\nw (ft/sec)" DstPort 1 } Branch { Points [0, 60; -35, 65] DstBlock "Gain4" DstPort 1 } } Line { SrcBlock "Transfer Ftn.2" SrcPort 1 Points [35, 0] Branch { DstBlock "Pitch Rate\nq (rad/sec)" DstPort 1 } Branch { Points [0, -50; -35, -60] DstBlock "Gain3" DstPort 1 } } Line { SrcBlock "Gain6" SrcPort 1 Points [60, 0; 0, -55] DstBlock "Sum2" DstPort 3 } Line { SrcBlock "Gain5" SrcPort 1 Points [65, 0; 0, 80] DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Gain3" SrcPort 1 Points [-65, 0; 0, -50] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Rotary Gust\nqGust (rad/sec)" SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "Transfer Ftn.2" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Transfer Ftn.1 " DstPort 1 } Line { SrcBlock "Gain4" SrcPort 1 Points [-65, 0; 0, 35] 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 Points [25, 0] Branch { DstBlock "Gain5" DstPort 1 } Branch { Points [0, 340] DstBlock "Gain6" DstPort 1 } } Annotation { Name "Aircraft Dynamics" Position [390, 383] } } } Block { BlockType TransferFcn Name "Alpha-sensor\nerror model" Position [250, 389, 350, 441] Orientation "left" Numerator "[Sa*sqrt(2*Wa)]" Denominator "[1 Wa]" } Block { BlockType Clock Name "Clock" Position [310, 42, 335, 68] Decimation "10" } Block { BlockType SubSystem Name "Command \nGenerator" Ports [0, 1] Position [35, 25, 65, 75] ShowPortLabels off TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Command \nGenerator" Location [83, 43, 530, 276] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Constant Name "Constant" Position [20, 37, 45, 63] } Block { BlockType TransferFcn Name "Fast Pole" Position [170, 106, 250, 164] Numerator "[426.435]" Denominator "[ 1 426.435]" } Block { BlockType Gain Name "Gain1" Position [65, 21, 120, 79] ShowName off Gain "0.0349" } Block { BlockType TransferFcn Name "Slow Pole" Position [170, 22, 250, 78] Numerator "[0.01]" Denominator "[ 1 0.01]" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [295, 40, 320, 75] ShowName off Inputs "-+" } Block { BlockType Outport Name "alpha\ncommand" Position [375, 50, 395, 70] IconDisplay "Port number" InitialOutput "0" } Line { SrcBlock "Gain1" SrcPort 1 Points [15, 0] Branch { DstBlock "Slow Pole" DstPort 1 } Branch { Points [0, 85] DstBlock "Fast Pole" DstPort 1 } } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Fast Pole" SrcPort 1 Points [10, 0; 0, -70] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Slow Pole" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "alpha\ncommand" DstPort 1 } Annotation { Name "Second Order Command Generator Model" Position [210, 203] } } } Block { BlockType Constant Name "Constant" Position [405, 402, 430, 428] Orientation "left" Value "0" } Block { BlockType SubSystem Name "Controller" Ports [4, 2] Position [150, 125, 180, 175] ShowPortLabels off TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Controller" Location [2, 42, 611, 449] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "Stick\nInput (in)" Position [35, 92, 60, 118] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "alpha (rad)" Position [30, 237, 55, 263] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "q (rad/sec)" Position [30, 327, 55, 353] Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "Open Loop\nInput" Position [35, 22, 60, 48] Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType TransferFcn Name "Alpha-sensor\nLow-pass Filter" Position [95, 225, 170, 275] Denominator "[Tal,1]" } Block { BlockType Gain Name "Gain" Position [390, 15, 430, 55] ShowName off Gain "Kf" } Block { BlockType Gain Name "Gain2" Position [205, 320, 245, 360] ShowName off Gain "Kq" } Block { BlockType Gain Name "Gain3" Position [205, 230, 245, 270] ShowName off Gain "Ka" } Block { BlockType TransferFcn Name "Pitch Rate\nLead Filter" Position [95, 315, 165, 365] Numerator "[1,W1]" Denominator "[1,W2]" } Block { BlockType TransferFcn Name "Proportional\nplus integral\ncompensator" Position [385, 85, 440, 125] Numerator "[Ki]" Denominator "[1,0]" } Block { BlockType TransferFcn Name "Stick\nPrefilter" Position [100, 80, 170, 130] Denominator "[Ts,1]" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [475, 75, 500, 115] ShowName off Inputs "2" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [257, 190, 293, 210] Orientation "up" ShowName off Inputs "2" } Block { BlockType Sum Name "Sum2" Ports [3, 1] Position [315, 85, 340, 125] ShowName off Inputs "++-" } Block { BlockType Outport Name "Elevator\nCommand (deg)" Position [540, 82, 565, 108] IconDisplay "Port number" InitialOutput "0" } Block { BlockType Outport Name "Open Loop\nOutput" Position [545, 217, 570, 243] Port "2" IconDisplay "Port number" InitialOutput "0" } Line { SrcBlock "Sum1" SrcPort 1 Points [0, -25; 0, 0] Branch { Points [75, 0; 0, 70] DstBlock "Open Loop\nOutput" DstPort 1 } Branch { Points [0, -40] DstBlock "Sum2" DstPort 3 } } Line { SrcBlock "Sum2" SrcPort 1 Points [15, 0] Branch { DstBlock "Proportional\nplus integral\ncompensator" DstPort 1 } Branch { Points [0, -70] DstBlock "Gain" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [20, 0; 0, 50] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Proportional\nplus integral\ncompensator" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Stick\nInput (in)" SrcPort 1 DstBlock "Stick\nPrefilter" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Elevator\nCommand (deg)" DstPort 1 } 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 "Gain3" SrcPort 1 Points [15, 0] DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [35, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Stick\nPrefilter" SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Open Loop\nInput" SrcPort 1 Points [210, 0; 0, 55] DstBlock "Sum2" DstPort 1 } Annotation { Name "Controller" Position [415, 283] } } } Block { BlockType SubSystem Name "Dryden Wind \nGust Models" Ports [1, 2] Position [240, 262, 270, 313] ShowPortLabels off TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" Port { PortNumber 1 Name "wGust" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" ShowSigGenPortName on } Port { PortNumber 2 Name "qGust" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" ShowSigGenPortName on } System { Name "Dryden Wind \nGust Models" Location [112, 42, 578, 320] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "Noise\nInput" Position [35, 37, 60, 63] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType TransferFcn Name "Q-gust model" Position [150, 160, 290, 210] Numerator "pi/(4*b)*[1 0]" Denominator "[1 pi*Vto/(4*b)]" } Block { BlockType TransferFcn Name "W-gust model" Position [110, 22, 330, 78] Numerator "Swg/sqrt(a^3)*[sqrt(3)*a,1]" Denominator "[1 (2/a) 1/a^2]" } Block { BlockType Outport Name "wGust\n(ft/sec)" Position [375, 37, 400, 63] IconDisplay "Port number" InitialOutput "0" } Block { BlockType Outport Name "qGust\n(rad/sec)" Position [375, 172, 400, 198] Port "2" IconDisplay "Port number" InitialOutput "0" } Line { SrcBlock "Noise\nInput" SrcPort 1 DstBlock "W-gust model" DstPort 1 } Line { SrcBlock "Q-gust model" SrcPort 1 DstBlock "qGust\n(rad/sec)" DstPort 1 } Line { SrcBlock "W-gust model" SrcPort 1 Points [15, 0] Branch { DstBlock "wGust\n(ft/sec)" DstPort 1 } Branch { Points [0, 65; -235, 0; 0, 70] DstBlock "Q-gust model" DstPort 1 } } } } Block { BlockType Gain Name "Gain" Position [360, 206, 400, 244] ShowName off Gain "Zw" } Block { BlockType Gain Name "Gain1" Position [360, 305, 400, 345] ShowName off Gain "Mq" } Block { BlockType Gain Name "Gain2" Position [360, 253, 400, 297] ShowName off Gain "Mw" } Block { BlockType Gain Name "Gain5" Position [615, 191, 665, 239] ShowName off Gain "1/Uo" } Block { BlockType SubSystem Name "Nz pilot \ncalculation" Ports [2, 1] Position [635, 30, 670, 85] ShowPortLabels off TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Nz pilot \ncalculation" Location [47, 42, 584, 389] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "w" Position [25, 35, 45, 55] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "q" Position [25, 115, 45, 135] Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Constant Name "Constant" Position [25, 252, 50, 278] Value "Uo" } Block { BlockType Derivative Name "Derivative" Position [125, 32, 165, 58] ShowName off } Block { BlockType Derivative Name "Derivative1" Position [125, 112, 165, 138] ShowName off } Block { BlockType Gain Name "Gain1" Position [215, 102, 265, 148] ShowName off Gain "22.8" } Block { BlockType Gain Name "Gain2" Position [390, 102, 440, 148] ShowName off Gain "1/32.2" } Block { BlockType Product Name "Product" Ports [2, 1] Position [160, 242, 185, 273] ShowName off } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [340, 95, 360, 155] ShowName off Inputs "-++" } Block { BlockType Outport Name "Pilot\ng force (g)" Position [470, 115, 490, 135] IconDisplay "Port number" InitialOutput "0" } Line { SrcBlock "q" SrcPort 1 Points [35, 0; 0, 0] Branch { Points [0, 125] DstBlock "Product" DstPort 1 } Branch { DstBlock "Derivative1" DstPort 1 } } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Gain2" SrcPort 1 DstBlock "Pilot\ng force (g)" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain2" DstPort 1 } Line { SrcBlock "Derivative" SrcPort 1 Points [120, 0; 0, 60] DstBlock "Sum1" DstPort 1 } Line { SrcBlock "w" SrcPort 1 DstBlock "Derivative" DstPort 1 } Line { SrcBlock "Derivative1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 Points [100, 0; 0, -115] DstBlock "Sum1" DstPort 3 } Annotation { Name "Nz = (dq/dt*22.8 + q*Uo - dw/dt)/g" Position [368, 298] } Annotation { Name "Nz pilot calculation" Position [369, 273] } } } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [450, 280, 470, 320] ShowName off } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [85, 95, 120, 115] Orientation "down" ShowName off } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [155, 385, 175, 425] Orientation "left" ShowName off } Block { BlockType ToWorkspace Name "To Workspace" Position [710, 47, 755, 73] ShowName off VariableName "Nzp" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "To Workspace1" Position [720, 288, 760, 312] ShowName off VariableName "q" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "To Workspace2" Position [370, 42, 415, 68] ShowName off VariableName "t" SampleTime "-1" SaveFormat "Array" } Block { BlockType Outport Name "alpha (rad)" Position [715, 205, 735, 225] IconDisplay "Port number" InitialOutput "0" } Block { BlockType Outport Name "q (rad/sec)" Position [725, 345, 745, 365] Port "2" IconDisplay "Port number" InitialOutput "0" } Block { BlockType Outport Name "Open Loop\nOutput" Position [235, 195, 255, 215] Port "3" IconDisplay "Port number" InitialOutput "0" } Block { BlockType Outport Name "Nz Pilot (g)" Position [720, 120, 740, 140] Port "4" IconDisplay "Port number" InitialOutput "0" } Line { SrcBlock "Clock" SrcPort 1 DstBlock "To Workspace2" DstPort 1 } Line { SrcBlock "Command \nGenerator" SrcPort 1 Points [25, 0] DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Controller" SrcPort 2 Points [35, 0] DstBlock "Open Loop\nOutput" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Alpha-sensor\nerror model" DstPort 1 } Line { SrcBlock "Noise\nInput" SrcPort 1 DstBlock "Dryden Wind \nGust Models" DstPort 1 } Line { SrcBlock "Open Loop\nInput" SrcPort 1 Points [-20, 0; 0, -55] DstBlock "Controller" DstPort 4 } Line { SrcBlock "Sum2" SrcPort 1 Points [-65, 0; 0, -260] DstBlock "Controller" DstPort 2 } Line { SrcBlock "Alpha-sensor\nerror model" SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Sum1" SrcPort 1 Points [0, 15] DstBlock "Controller" DstPort 1 } Line { Name "wGust" Labels [0, 1] SrcBlock "Dryden Wind \nGust Models" SrcPort 1 Points [45, 0] Branch { DstBlock "Gain2" DstPort 1 } Branch { Points [0, -50] DstBlock "Gain" DstPort 1 } } Line { SrcBlock "Controller" SrcPort 1 DstBlock "Actuator\nModel" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [20, 0; 0, -15] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Gain2" SrcPort 1 Points [20, 0; 0, 15] DstBlock "Sum" DstPort 1 } Line { Name "qGust" Labels [0, 1] SrcBlock "Dryden Wind \nGust Models" SrcPort 2 Points [45, 0; 0, 25] DstBlock "Gain1" DstPort 1 } Line { SrcBlock "alpha\ncommand" SrcPort 1 Points [-25, 0] DstBlock "Sum1" DstPort 2 } Line { Name "q" Labels [0, 1] SrcBlock "Aircraft Dynamics \nModel" SrcPort 2 Points [45, 0] Branch { Points [0, -170] DstBlock "Nz pilot \ncalculation" DstPort 2 } Branch { Points [0, 60] Branch { Points [0, 60; -495, 0; 0, -205] DstBlock "Controller" DstPort 3 } Branch { Points [100, 0] Branch { DstBlock "To Workspace1" DstPort 1 } Branch { Points [0, 55] DstBlock "q (rad/sec)" DstPort 1 } } } } Line { Name "w" Labels [0, 1] SrcBlock "Aircraft Dynamics \nModel" SrcPort 1 Points [30, 0] Branch { DstBlock "Gain5" DstPort 1 } Branch { Points [0, -170] DstBlock "Nz pilot \ncalculation" DstPort 1 } } Line { SrcBlock "Sum" SrcPort 1 Points [0, -60] DstBlock "Aircraft Dynamics \nModel" DstPort 3 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Aircraft Dynamics \nModel" DstPort 2 } Line { SrcBlock "Actuator\nModel" SrcPort 1 Points [125, 0; 0, 70] DstBlock "Aircraft Dynamics \nModel" DstPort 1 } Line { SrcBlock "Nz pilot \ncalculation" SrcPort 1 Points [10, 0] Branch { DstBlock "To Workspace" DstPort 1 } Branch { Points [0, 70] DstBlock "Nz Pilot (g)" DstPort 1 } } Line { SrcBlock "Gain5" SrcPort 1 Points [10, 0] Branch { DstBlock "alpha (rad)" DstPort 1 } Branch { Points [0, 160; -485, 0; 0, 20] DstBlock "Sum2" DstPort 1 } } } }