Model { Name "f14_dig_ctrl" Version 4.00 Description "This model of the F14 is used to design a high angl" "e of attack Digital Flight Control System. The design works in conjunction w" "ith the GUI in F14guid. There is documentation that goes along with this fil" "e and the\nGUI. The documentaiton is in the Word file \"F14 Design.doc\"." SampleTimeColors on LibraryLinkDisplay "none" WideLines on ShowLineDimensions off ShowPortDataTypes off RecordCoverage off CovPath "/" CovSaveName "covdata" CovNameIncrementing off CovHtmlReporting on BlockNameDataTip off BlockParametersDataTip on BlockDescriptionStringDataTip on ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off PreLoadFcn "f14dat_digital" CloseFcn ";slview('closediagram',bdroot);;slview('closediagra" "m',bdroot);" Created "Fri Aug 28 17:36:02 1998" Creator "Dr. Richard Gran" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "batserve" ModifiedDateFormat "%" LastModifiedDate "Wed Oct 4 19:38:09 2000" ModelVersionFormat "1.%" ConfigurationManager "none" SimParamPage "Solver" StartTime "0.0" StopTime "1000000" SolverMode "SingleTasking" Solver "ode45" RelTol "1e-4" AbsTol "1e-6" Refine "1" MaxStep "auto" MinStep "auto" MaxNumMinSteps "-1" InitialStep "auto" FixedStep ".01" MaxOrder 5 OutputOption "RefineOutputTimes" OutputTimes "[]" LoadExternalInput off ExternalInput "[]" SaveTime off TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput off OutputSaveName "yout" LoadInitialState off InitialState "[]" SaveFinalState off FinalStateName "xFinal" SaveFormat "Array" LimitDataPoints off MaxDataPoints "1000" Decimation "1" AlgebraicLoopMsg "warning" MinStepSizeMsg "warning" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" InheritedTsInSrcMsg "warning" SingleTaskRateTransMsg "none" MultiTaskRateTransMsg "error" IntegerOverflowMsg "none" CheckForMatrixSingularity "none" UnnecessaryDatatypeConvMsg "none" Int32ToFloatConvMsg "warning" SignalLabelMismatchMsg "none" LinearizationMsg "none" VectorMatrixConversionMsg "none" SfunCompatibilityCheckMsg "none" BlockPriorityViolationMsg "warning" ArrayBoundsChecking "none" ConsistencyChecking "none" ZeroCross on Profile off SimulationMode "normal" RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt_vc.tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly on TLCProfiler off TLCDebug off TLCCoverage off AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" ExtModeMexFile "ext_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "oneshot" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect off ExtModeLogAll on OptimizeBlockIOStorage on BufferReuse on ParameterPooling on BlockReductionOpt off BooleanDataType off BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } 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 "f14_dig_ctrl" Location [12, 75, 941, 714] Open on ModelBrowserVisibility off ModelBrowserWidth 244 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom off ReportName "simulink-default.rpt" Block { BlockType Reference Name "Analog \nor Digital" Ports [2, 1] Position [370, 175, 405, 210] NamePlacement "alternate" FontName "Arial" FontSize 16 FontWeight "bold" SourceBlock "simulink3/Nonlinear/Manual Switch" SourceType "Manual Switch" sw "1" action "0" } Block { BlockType SubSystem Name "Configurable\nActuator" Ports [1, 2] Position [455, 157, 620, 233] FontName "Arial" FontSize 12 ShowPortLabels on BlockChoice "Linear Actuator Subsystem" TemplateBlock "f14actuator/Configurable\nActuator" MemberBlocks "Linear Actuator Subsystem,Non-Linear Actuator S" "ubsystem" TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" Port { PortNumber 1 Name "Actuator " TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" } System { Name "Configurable\nActuator" Location [148, 182, 646, 482] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "Cmd." Position [20, 40, 40, 60] Port "1" Interpolate on } Block { BlockType Reference Name "Linear Actuator Subsystem" Ports [1, 2] Position [100, 40, 140, 80] FontName "Arial" FontSize 14 SourceBlock "f14actuator/Linear Actuator Subsystem" SourceType "" } Block { BlockType Outport Name "Act. Pos." Position [200, 40, 220, 60] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "Act. Meas." Position [200, 80, 220, 100] Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Cmd." SrcPort 1 DstBlock "Linear Actuator Subsystem" DstPort 1 } Line { SrcBlock "Linear Actuator Subsystem" SrcPort 1 DstBlock "Act. Pos." DstPort 1 } Line { SrcBlock "Linear Actuator Subsystem" SrcPort 2 DstBlock "Act. Meas." DstPort 1 } } } Block { BlockType SubSystem Name "Controllers" Ports [1, 3] Position [140, 166, 265, 264] BackgroundColor "lightBlue" NamePlacement "alternate" FontName "Arial" FontSize 16 FontWeight "bold" ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskDisplay "image(contrgb)" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" Port { PortNumber 1 Name "Analog" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" } Port { PortNumber 2 Name "lti" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" } Port { PortNumber 3 Name "DAP" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" } System { Name "Controllers" Location [304, 215, 1128, 653] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "Meas." Position [55, 148, 85, 162] FontName "Arial" FontSize 14 FontWeight "bold" Port "1" Interpolate on } Block { BlockType SubSystem Name "Analog Control" Ports [1, 1] Position [210, 28, 355, 102] BackgroundColor "lightBlue" NamePlacement "alternate" FontName "Arial" FontSize 16 FontWeight "bold" ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" System { Name "Analog Control" Location [255, 71, 1079, 509] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "In" Position [15, 157, 40, 183] Port "1" Interpolate on } Block { BlockType TransferFcn Name "Alpha-sensor\nLow-pass Filter" Position [155, 146, 220, 194] BackgroundColor "lightBlue" Numerator "[1]" Denominator "[Tal,1]" Realization "auto" AbsoluteTolerance "auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" } Block { BlockType Demux Name "Demux" Ports [1, 3] Position [75, 151, 80, 189] BackgroundColor "black" Outputs "3" BusSelectionMode off } Block { BlockType Gain Name "Gain" Position [460, 85, 500, 125] BackgroundColor "yellow" ShowName off Gain "Kf" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain1" Position [485, 150, 525, 190] BackgroundColor "yellow" ShowName off Gain "Ki" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain2" Position [260, 240, 300, 280] BackgroundColor "yellow" NamePlacement "alternate" ShowName off Gain "Kq" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" } Block { BlockType Gain Name "Gain3" Position [245, 150, 285, 190] BackgroundColor "yellow" NamePlacement "alternate" ShowName off Gain "Ka" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" } Block { BlockType TransferFcn Name "Integral\nCompensator" Position [435, 143, 470, 197] BackgroundColor "lightBlue" Numerator "[1]" Denominator "[1,0]" Realization "auto" AbsoluteTolerance "auto" } Block { BlockType TransferFcn Name "Pitch Rate\nLead Filter" Position [155, 235, 225, 285] BackgroundColor "lightBlue" Numerator "[1,W1]" Denominator "[1,W2]" Realization "auto" AbsoluteTolerance "auto" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" } Block { BlockType TransferFcn Name "Stick\nPrefilter" Position [155, 55, 225, 105] BackgroundColor "lightBlue" NamePlacement "alternate" Numerator "[1]" Denominator "[Ts,1]" Realization "auto" AbsoluteTolerance "auto" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [565, 125, 595, 155] ShowName off IconShape "round" Inputs "2" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [3, 1] Position [315, 155, 345, 185] ShowName off IconShape "round" Inputs "+--" SaturateOnIntegerOverflow on } Block { BlockType Outport Name "Act.\nComd." Position [635, 127, 660, 153] Port "1" OutputWhenDisabled "held" InitialOutput "0" } Line { SrcBlock "Sum2" SrcPort 1 Points [10, 0] Branch { Points [0, -65] DstBlock "Gain" DstPort 1 } Branch { DstBlock "Integral\nCompensator" DstPort 1 } } Line { SrcBlock "In" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Alpha-sensor\nLow-pass Filter" SrcPort 1 DstBlock "Gain3" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [25, 0] DstBlock "Sum2" DstPort 3 } Line { SrcBlock "Stick\nPrefilter" SrcPort 1 Points [100, 0] DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Pitch Rate\nLead Filter" SrcPort 1 DstBlock "Gain2" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 Points [35, 0; 0, -80] DstBlock "Stick\nPrefilter" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 DstBlock "Alpha-sensor\nLow-pass Filter" DstPort 1 } Line { SrcBlock "Demux" SrcPort 3 Points [35, 0; 0, 80] DstBlock "Pitch Rate\nLead Filter" DstPort 1 } Line { SrcBlock "Gain3" SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Integral\nCompensator" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Act.\nComd." DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [75, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 DstBlock "Sum" DstPort 2 } } } Block { BlockType SubSystem Name "DAP \nImplementation" Ports [1, 1] Position [210, 219, 355, 291] BackgroundColor "lightBlue" FontName "Arial" FontSize 16 FontWeight "bold" ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" System { Name "DAP \nImplementation" Location [245, 69, 1069, 507] Open off ModelBrowserVisibility on ModelBrowserWidth 212 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "81" AutoZoom on Block { BlockType Inport Name "In" Position [35, 167, 60, 193] Port "1" Interpolate on } Block { BlockType DiscreteTransferFcn Name "Alpha Sensor Filter" Position [290, 151, 455, 209] BackgroundColor "lightBlue" FontName "Arial" FontSize 14 Numerator "[1-exp(-deltat1/Tal)]" Denominator "[1 -exp(-deltat1/Tal)]" SampleTime "deltat1" Realization "auto" } Block { BlockType Demux Name "Demux" Ports [1, 3] Position [170, 161, 175, 199] BackgroundColor "black" Outputs "3" BusSelectionMode off } Block { BlockType DiscreteIntegrator Name "Discrete-Time\nIntegrator" Ports [1, 1] Position [730, 162, 770, 198] BackgroundColor "lightBlue" IntegratorMethod "ForwardEuler" ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off SampleTime "deltat" } Block { BlockType Gain Name "Gain" Position [755, 95, 795, 135] BackgroundColor "yellow" ShowName off Gain "Kf" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain1" Position [795, 160, 835, 200] BackgroundColor "yellow" ShowName off Gain "Ki" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain2" Position [555, 255, 595, 295] BackgroundColor "yellow" NamePlacement "alternate" ShowName off Gain "Kq" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" } Block { BlockType Gain Name "Gain3" Position [545, 160, 585, 200] BackgroundColor "yellow" NamePlacement "alternate" ShowName off Gain "Ka" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" } Block { BlockType Gain Name "Gain4" Position [215, 305, 280, 345] BackgroundColor "yellow" NamePlacement "alternate" ShowName off Gain "W1/W2-1" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" } Block { BlockType DiscreteTransferFcn Name "Pitch Sensor Filter" Position [300, 298, 440, 352] BackgroundColor "lightBlue" FontName "Arial" FontSize 14 Numerator "[1-exp(-W2*deltat1)]" Denominator "[1 -exp(-W2*deltat1)]" SampleTime "deltat1" Realization "auto" } Block { BlockType DiscreteTransferFcn Name "Stick Filter" Position [290, 61, 455, 119] BackgroundColor "lightBlue" FontName "Arial" FontSize 14 Numerator "[1-exp(-deltat1/Ts)]" Denominator "[1 -exp(-deltat1/Ts)]" SampleTime "deltat1" Realization "auto" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [880, 80, 900, 215] ShowName off IconShape "rectangular" Inputs "2" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [455, 260, 485, 290] ShowName off IconShape "round" Inputs "2" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [3, 1] Position [615, 165, 645, 195] ShowName off IconShape "round" Inputs "+--" SaturateOnIntegerOverflow on } Block { BlockType ZeroOrderHold Name "Zero-Order\nHold" Position [520, 75, 550, 105] SampleTime "deltat" } Block { BlockType ZeroOrderHold Name "Zero-Order\nHold1" Position [485, 165, 515, 195] SampleTime "deltat" } Block { BlockType ZeroOrderHold Name "Zero-Order\nHold2" Position [505, 259, 535, 291] SampleTime "deltat" } Block { BlockType ZeroOrderHold Name "Zero-Order\nHold3" Position [110, 165, 140, 195] SampleTime "deltat1" } Block { BlockType Outport Name "Act.\nComd." Position [930, 137, 955, 163] Port "1" OutputWhenDisabled "held" InitialOutput "0" } Line { SrcBlock "Gain2" SrcPort 1 Points [30, 0] DstBlock "Sum2" DstPort 3 } Line { SrcBlock "Sum2" SrcPort 1 Points [5, 0] Branch { Points [0, -65] DstBlock "Gain" DstPort 1 } Branch { DstBlock "Discrete-Time\nIntegrator" DstPort 1 } } Line { SrcBlock "Demux" SrcPort 2 DstBlock "Alpha Sensor Filter" DstPort 1 } Line { SrcBlock "Demux" SrcPort 3 Points [15, 0; 0, 55] Branch { DstBlock "Sum1" DstPort 1 } Branch { Points [0, 80] DstBlock "Gain4" DstPort 1 } } Line { SrcBlock "Demux" SrcPort 1 Points [15, 0; 0, -80] DstBlock "Stick Filter" DstPort 1 } Line { SrcBlock "Stick Filter" SrcPort 1 DstBlock "Zero-Order\nHold" DstPort 1 } Line { SrcBlock "Zero-Order\nHold" SrcPort 1 Points [75, 0] DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Alpha Sensor Filter" SrcPort 1 DstBlock "Zero-Order\nHold1" DstPort 1 } Line { SrcBlock "Zero-Order\nHold1" SrcPort 1 DstBlock "Gain3" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Zero-Order\nHold2" DstPort 1 } Line { SrcBlock "In" SrcPort 1 DstBlock "Zero-Order\nHold3" DstPort 1 } Line { SrcBlock "Zero-Order\nHold3" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Pitch Sensor Filter" SrcPort 1 Points [25, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Gain4" SrcPort 1 DstBlock "Pitch Sensor Filter" DstPort 1 } Line { SrcBlock "Zero-Order\nHold2" SrcPort 1 DstBlock "Gain2" DstPort 1 } Line { SrcBlock "Gain3" SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Act.\nComd." DstPort 1 } Line { Labels [1, 0] SrcBlock "Discrete-Time\nIntegrator" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 DstBlock "Sum" DstPort 2 } } } Block { BlockType SubSystem Name "LTI System" Ports [1, 1] Position [240, 137, 335, 173] BackgroundColor "lightBlue" AncestorBlock "cstblocks/LTI System" FontName "Arial" FontSize 16 FontWeight "bold" ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskType "LTI Block" MaskDescription "The LTI System block accepts both continuou" "s and discrete LTI models as defined in the Control System Toolbox. Transfer " "function, state-space, and zero-pole-gain formats are all supported in this b" "lock.\n\nNote: Initial states are only meaningful for state-space systems." MaskHelp "The LTI System block accepts any of the thr" "ee standard LTI models described in the Control System Toolbox: transfer func" "tion, zero/pole/gain, or state space. Internally, LTI models will be converte" "d to their state space equivalent for evaluation.\n

\nIn the editable text " "box labeled LTI System Variable, enter a valid LTI model.\n

\nIn the" " editable text box labeled Initial States enter the initial state vect" "or. Initial states are only valid for state-space systems. \n

\nSee also T" "F, ZPK, SS, LTIMODELS." MaskPromptString "LTI system variable|Initial states (state" "-space only)" MaskStyleString "edit,edit" MaskTunableValueString "on,on" MaskCallbackString "ltimask('MaskLTICallback',gcb);|" MaskEnableString "on,on" MaskVisibilityString "on,on" MaskToolTipString "on,on" MaskVariables "sys=@1;IC=@2;" MaskInitialization "[A,B,C,D,Ts,Tdi,Tdo,X0,sysname]=ltimask('In" "itialize',gcb,sys,IC);" MaskDisplay "disp(sysname)" MaskSelfModifiable on MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "discap|[0]" MaskVariableAliases "," System { Name "LTI System" Location [602, 399, 976, 510] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "In1" Position [20, 35, 40, 55] Port "1" Interpolate on } Block { BlockType DiscreteStateSpace Name "Internal" Position [135, 25, 240, 65] A "A" B "B" C "C" D "D" X0 "X0" SampleTime "Ts" Realization "auto" } Block { BlockType Reference Name "Tdi" Tag "InputDelayBlock" Ports [1, 1] Position [75, 31, 105, 59] SourceBlock "cstextras/Transport Delay\n(masked)" SourceType "Transport Delay (masked)" Td "Tdi" u0 "0" bufsize "1024" } Block { BlockType Reference Name "Tdo" Tag "OutputDelayBlock" Ports [1, 1] Position [275, 31, 305, 59] SourceBlock "cstextras/Transport Delay\n(masked)" SourceType "Transport Delay (masked)" Td "Tdo" u0 "0" bufsize "1024" } Block { BlockType Outport Name "Out1" Position [335, 35, 355, 55] Port "1" OutputWhenDisabled "held" InitialOutput "0" } Line { SrcBlock "Tdo" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "Internal" SrcPort 1 DstBlock "Tdo" DstPort 1 } Line { SrcBlock "Tdi" SrcPort 1 DstBlock "Internal" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Tdi" DstPort 1 } } } Block { BlockType Outport Name "Analog" Position [460, 58, 490, 72] FontName "Arial" FontSize 14 FontWeight "bold" Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "Digital lti" Position [465, 148, 495, 162] FontName "Arial" FontSize 14 FontWeight "bold" Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "Digital" Position [465, 248, 495, 262] FontName "Arial" FontSize 14 FontWeight "bold" Port "3" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Meas." SrcPort 1 Points [65, 0] Branch { DstBlock "LTI System" DstPort 1 } Branch { Points [0, 100] DstBlock "DAP \nImplementation" DstPort 1 } Branch { Points [0, -90] DstBlock "Analog Control" DstPort 1 } } Line { SrcBlock "LTI System" SrcPort 1 DstBlock "Digital lti" DstPort 1 } Line { SrcBlock "DAP \nImplementation" SrcPort 1 DstBlock "Digital" DstPort 1 } Line { SrcBlock "Analog Control" SrcPort 1 DstBlock "Analog" DstPort 1 } } } Block { BlockType Reference Name "Digital\nDesign\n(lti or Implementation)" Ports [2, 1] Position [320, 222, 350, 253] FontName "Arial" FontSize 16 FontWeight "bold" SourceBlock "simulink3/Nonlinear/Manual Switch" SourceType "Manual Switch" sw "0" action "0" } Block { BlockType SubSystem Name "Dryden\nWind Gust" Ports [0, 2] Position [265, 367, 370, 478] BackgroundColor "green" FontName "Arial" FontSize 12 ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskDisplay "image(weatherrgb)" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" Port { PortNumber 1 Name "wdot\ngust" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" } Port { PortNumber 2 Name "qdot\ngust" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" } System { Name "Dryden\nWind Gust" Location [30, 268, 854, 706] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Gain Name "Gain" Position [485, 68, 530, 112] BackgroundColor "green" ShowName off FontName "Arial" FontSize 14 Gain "Zw" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on Port { PortNumber 1 Name "Vertical" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" } } Block { BlockType Gain Name "Gain1" Position [485, 262, 540, 308] BackgroundColor "green" ShowName off FontName "Arial" FontSize 14 Gain "Mq" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain2" Position [485, 148, 535, 192] BackgroundColor "green" ShowName off FontName "Arial" FontSize 14 Gain "Mw" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain3" Position [130, 260, 220, 310] BackgroundColor "green" ShowName off FontName "Arial" FontSize 14 Gain "pi/(4*b)" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType TransferFcn Name "Q-gust model" Position [265, 260, 405, 310] BackgroundColor "green" FontName "Arial" FontSize 14 Numerator "[1 0]" Denominator "[1 pi*Vto/(4*b)]" Realization "auto" AbsoluteTolerance "auto" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [605, 215, 635, 245] BackgroundColor "green" ShowName off FontName "Arial" FontSize 14 IconShape "round" Inputs "++" SaturateOnIntegerOverflow on Port { PortNumber 1 Name "Pitch" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" } } Block { BlockType TransferFcn Name "W-gust model" Position [115, 59, 395, 121] BackgroundColor "green" FontName "Arial" FontSize 14 Numerator "Swg/sqrt(a^3)*[sqrt(3)*a,1]" Denominator "[1 (2/a) 1/a^2]" Realization "auto" AbsoluteTolerance "auto" } Block { BlockType SubSystem Name "White Noise" Ports [0, 1] Position [35, 70, 70, 110] BackgroundColor "green" FontName "Arial" FontSize 14 ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskType "Continuous White Noise." MaskDescription "White noise for continuous (s-domain) syste" "ms.\nBand-limited using zero-order-hold." MaskHelp "Implemented using white noise into Zero Ord" "er Hold block. For faster simulation set sample time to highest value possibl" "e but in accordance with the fastest dynamics of system." MaskPromptString "Noise Variance:|Sample Time:|Seed" MaskStyleString "edit,edit,edit" MaskTunableValueString "on,on,on" MaskCallbackString "||" MaskEnableString "on,on,on" MaskVisibilityString "on,on,on" MaskToolTipString "on,on,on" MaskVariables "Cov=@1;Ts=@2;seed=@3;" MaskInitialization " r = rand(1,12); r2 = [r(1),r;r,r(12)]; t =" "[1:13;1:13];" MaskDisplay "plot(t(:),r2(:))" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "10|0.01|23341" MaskVariableAliases ",," System { Name "White Noise" Location [6, 48, 268, 236] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType RandomNumber Name "White Noise" Position [55, 70, 75, 90] Mean "0" Variance "1" Seed "seed" SampleTime "Ts" VectorParams1D on } Block { BlockType DiscreteTransferFcn Name "Zero Order Hold" Position [140, 61, 205, 99] Numerator "[sqrt(Cov)]" Denominator "[sqrt(Ts)]" SampleTime "Ts" Realization "auto" } Block { BlockType Outport Name "out_1" Position [235, 70, 255, 90] Port "1" OutputWhenDisabled "held" InitialOutput "0" } Line { SrcBlock "White Noise" SrcPort 1 DstBlock "Zero Order Hold" DstPort 1 } Line { SrcBlock "Zero Order Hold" SrcPort 1 DstBlock "out_1" DstPort 1 } } } Block { BlockType Outport Name "Gust Accel.\n(wdot)" Position [730, 83, 760, 97] BackgroundColor "green" FontName "Arial" FontSize 14 Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "Gust Accel.\n(qdot)" Position [735, 223, 765, 237] BackgroundColor "green" FontName "Arial" FontSize 14 Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "W-gust model" SrcPort 1 Points [20, 0] Branch { Points [0, 80] Branch { Points [-305, 0] DstBlock "Gain3" DstPort 1 } Branch { DstBlock "Gain2" DstPort 1 } } Branch { DstBlock "Gain" DstPort 1 } } Line { SrcBlock "Q-gust model" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [75, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Gain2" SrcPort 1 Points [80, 0] DstBlock "Sum" DstPort 1 } Line { Name "Pitch" FontName "Arial" FontSize 14 FontWeight "bold" Labels [0, 0] SrcBlock "Sum" SrcPort 1 DstBlock "Gust Accel.\n(qdot)" DstPort 1 } Line { SrcBlock "Gain3" SrcPort 1 DstBlock "Q-gust model" DstPort 1 } Line { SrcBlock "White Noise" SrcPort 1 DstBlock "W-gust model" DstPort 1 } Line { Name "Vertical" FontName "Arial" FontSize 14 FontWeight "bold" Labels [0, 0] SrcBlock "Gain" SrcPort 1 DstBlock "Gust Accel.\n(wdot)" DstPort 1 } } } Block { BlockType SubSystem Name "F14 Aircraft\nDynamic Model" Ports [3, 4] Position [475, 314, 635, 476] DropShadow on FontName "Arial" FontSize 12 ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskDisplay "image(rgb)" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" Port { PortNumber 1 Name "wdot" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" } Port { PortNumber 2 Name "qdot" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" } Port { PortNumber 3 Name "q" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" } Port { PortNumber 4 Name "Alpha" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" } System { Name "F14 Aircraft\nDynamic Model" Location [247, 420, 940, 729] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "Elevator" Position [30, 43, 55, 67] BackgroundColor "green" FontName "Arial" FontSize 14 Port "1" Interpolate on } Block { BlockType Inport Name "Vert. Gust\nAcceleration" Position [230, 140, 260, 160] Orientation "up" BackgroundColor "green" NamePlacement "alternate" FontName "Arial" FontSize 14 Port "2" Interpolate on } Block { BlockType Inport Name "Pitch Gust\nAcceleration" Position [232, 205, 258, 225] Orientation "down" BackgroundColor "green" NamePlacement "alternate" FontName "Arial" FontSize 14 Port "3" Interpolate on } Block { BlockType Gain Name "Gain3" Position [360, 140, 400, 180] Orientation "left" BackgroundColor "green" ShowName off FontName "Arial" FontSize 14 Gain "Uo" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" } Block { BlockType Gain Name "Gain4" Position [350, 193, 400, 237] Orientation "left" BackgroundColor "green" ShowName off FontName "Arial" FontSize 14 Gain "Mw" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" } Block { BlockType Gain Name "Gain5" Position [160, 28, 215, 82] BackgroundColor "green" ShowName off FontName "Arial" FontSize 14 Gain "Zd" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain6" Position [155, 274, 215, 326] BackgroundColor "green" ShowName off FontName "Arial" FontSize 14 Gain "Md" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain7" Position [590, 23, 645, 77] BackgroundColor "green" ShowName off FontName "Arial" FontSize 14 Gain "1/Uo" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType SubSystem Name "Pitch Channel" Ports [1, 2] Position [420, 245, 495, 325] BackgroundColor "green" FontName "Arial" FontSize 14 ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" System { Name "Pitch Channel" Location [284, 191, 675, 473] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "Input" Position [20, 80, 40, 100] BackgroundColor "green" FontName "Arial" FontSize 14 Port "1" Interpolate on } Block { BlockType Integrator Name "Angular Rate\nq\n" Ports [1, 1] Position [190, 85, 220, 115] BackgroundColor "green" FontName "Arial" FontSize 14 ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Gain Name "Gain" Position [145, 170, 205, 230] Orientation "left" BackgroundColor "green" ShowName off FontName "Arial" FontSize 14 Gain "Mq" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [100, 78, 125, 122] BackgroundColor "green" ShowName off FontName "Arial" FontSize 14 IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType Outport Name "q" Position [290, 90, 310, 110] BackgroundColor "green" FontName "Arial" FontSize 14 Port "1" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "qdot" Position [290, 35, 310, 55] BackgroundColor "green" FontName "Arial" FontSize 14 Port "2" OutputWhenDisabled "held" InitialOutput "0" } Line { SrcBlock "Sum" SrcPort 1 Points [30, 0] Branch { Points [0, -55] DstBlock "qdot" DstPort 1 } Branch { DstBlock "Angular Rate\nq\n" DstPort 1 } } Line { SrcBlock "Angular Rate\nq\n" SrcPort 1 Points [35, 0] Branch { Points [0, 100] DstBlock "Gain" DstPort 1 } Branch { DstBlock "q" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 Points [-55, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Input" SrcPort 1 DstBlock "Sum" DstPort 1 } } } Block { BlockType Sum Name "Sum1" Ports [3, 1] Position [360, 46, 380, 94] BackgroundColor "green" ShowName off FontName "Arial" FontSize 14 IconShape "rectangular" Inputs "+-+" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [3, 1] Position [355, 261, 375, 309] BackgroundColor "green" ShowName off FontName "Arial" FontSize 14 IconShape "rectangular" Inputs "+-+" SaturateOnIntegerOverflow on } Block { BlockType SubSystem Name "Vertical Channel" Ports [1, 2] Position [420, 28, 495, 112] BackgroundColor "green" FontName "Arial" FontSize 14 ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" Port { PortNumber 1 Name "w" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" } Port { PortNumber 2 Name "wdot" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" } System { Name "Vertical Channel" Location [288, 191, 774, 439] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "Input" Position [20, 80, 40, 100] BackgroundColor "green" FontName "Arial" FontSize 14 Port "1" Interpolate on } Block { BlockType Gain Name "Gain" Position [165, 172, 210, 218] Orientation "left" BackgroundColor "green" ShowName off FontName "Arial" FontSize 14 Gain "Zw" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [100, 78, 125, 122] BackgroundColor "green" ShowName off FontName "Arial" FontSize 14 IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType Integrator Name "Velocity\nw" Ports [1, 1] Position [190, 85, 220, 115] BackgroundColor "green" FontName "Arial" FontSize 14 ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Outport Name "w" Position [320, 90, 340, 110] BackgroundColor "green" FontName "Arial" FontSize 14 Port "1" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "wdot" Position [320, 35, 340, 55] BackgroundColor "green" FontName "Arial" FontSize 14 Port "2" OutputWhenDisabled "held" InitialOutput "0" } Line { SrcBlock "Input" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [-75, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Velocity\nw" SrcPort 1 Points [45, 0] Branch { DstBlock "w" DstPort 1 } Branch { Points [0, 95] DstBlock "Gain" DstPort 1 } } Line { SrcBlock "Sum" SrcPort 1 Points [30, 0] Branch { DstBlock "Velocity\nw" DstPort 1 } Branch { Points [0, -55] DstBlock "wdot" DstPort 1 } } } } Block { BlockType Outport Name "Vertical Accel." Position [690, 81, 710, 99] BackgroundColor "green" FontName "Arial" FontSize 14 Port "1" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Pitch Accel." Position [690, 296, 710, 314] BackgroundColor "green" FontName "Arial" FontSize 14 Port "2" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Pitch Rate" Position [690, 256, 710, 274] BackgroundColor "green" NamePlacement "alternate" FontName "Arial" FontSize 14 Port "3" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "Alpha" Position [690, 41, 710, 59] BackgroundColor "green" NamePlacement "alternate" FontName "Arial" FontSize 14 Port "4" OutputWhenDisabled "held" InitialOutput "0" } Line { SrcBlock "Gain4" SrcPort 1 Points [-60, 0; 0, 55] DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Gain3" SrcPort 1 Points [-65, 0; 0, -75] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Gain7" SrcPort 1 DstBlock "Alpha" DstPort 1 } Line { SrcBlock "Elevator" SrcPort 1 Points [60, 0] Branch { Points [0, 245] DstBlock "Gain6" DstPort 1 } Branch { DstBlock "Gain5" DstPort 1 } } Line { SrcBlock "Vert. Gust\nAcceleration" SrcPort 1 Points [0, -65] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "Pitch Channel" DstPort 1 } Line { SrcBlock "Pitch Gust\nAcceleration" SrcPort 1 Points [0, 55] DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Gain5" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Gain6" SrcPort 1 DstBlock "Sum2" DstPort 3 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Vertical Channel" DstPort 1 } Line { Name "w" FontName "Arial" FontSize 16 FontWeight "bold" Labels [0, 0; 0, 0; 0, 0] SrcBlock "Vertical Channel" SrcPort 1 Points [60, 0] Branch { DstBlock "Gain7" DstPort 1 } Branch { Points [0, 165] DstBlock "Gain4" DstPort 1 } } Line { Name "wdot" FontName "Arial" FontSize 16 FontWeight "bold" Labels [0, 0; 0, 0; 0, 0] SrcBlock "Vertical Channel" SrcPort 2 DstBlock "Vertical Accel." DstPort 1 } Line { SrcBlock "Pitch Channel" SrcPort 1 Points [15, 0] Branch { Points [0, -105] DstBlock "Gain3" DstPort 1 } Branch { DstBlock "Pitch Rate" DstPort 1 } } Line { SrcBlock "Pitch Channel" SrcPort 2 DstBlock "Pitch Accel." DstPort 1 } } } Block { BlockType Reference Name "Model Info" Ports [] Position [339, 27, 632, 86] BackgroundColor "yellow" ShowName off FontName "times" FontSize 16 FontWeight "bold" SourceBlock "simulink3/Signals\n& Systems/Model Info" SourceType "CMBlock" InitialBlockCM "none" BlockCM "none" Frame "off" DisplayStringWithTags "F14 High Angle of Attack \nDigital Flight Contr" "ol System" MaskDisplayString "F14 High Angle of Attack \\nDigital Flight Cont" "rol System" HorizontalTextAlignment "Center" LeftAlignmentValue "0.5" SourceBlockDiagram "f14_dig_ctrl" TagMaxNumber "20" } Block { BlockType Mux Name "Mux" Ports [3, 1] Position [110, 156, 115, 274] BackgroundColor "black" ShowName off FontName "Arial" FontSize 16 FontWeight "bold" Inputs "3" DisplayOption "none" } Block { BlockType SignalGenerator Name "Pilot" Position [15, 158, 60, 192] BackgroundColor "green" NamePlacement "alternate" FontName "Arial" FontSize 16 FontWeight "bold" WaveForm "square" Amplitude "1" Frequency ".1" Units "Hertz" VectorParams1D on Port { PortNumber 1 Name "Stick Command" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" } } Block { BlockType SubSystem Name "Pilot\nG-Force\n Calculation" Ports [3, 1] Position [735, 312, 805, 438] BackgroundColor "green" FontName "Arial" FontSize 14 ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" System { Name "Pilot\nG-Force\n Calculation" Location [1044, 708, 1474, 962] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "w dot" Position [20, 28, 50, 42] BackgroundColor "green" FontName "Arial" FontSize 14 Port "1" Interpolate on } Block { BlockType Inport Name "q dot" Position [20, 68, 50, 82] BackgroundColor "green" FontName "Arial" FontSize 14 Port "2" Interpolate on } Block { BlockType Inport Name "q" Position [20, 113, 50, 127] BackgroundColor "green" FontName "Arial" FontSize 14 Port "3" Interpolate on } Block { BlockType Constant Name "\n" Position [20, 155, 50, 185] BackgroundColor "green" FontName "Arial" FontSize 14 Value "Uo" VectorParams1D on } Block { BlockType Gain Name "Gain3" Position [90, 57, 150, 93] BackgroundColor "green" ShowName off FontName "Arial" FontSize 14 Gain "22.8" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain4" Position [260, 53, 300, 97] BackgroundColor "green" ShowName off FontName "Arial" FontSize 14 Gain "1/g" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product" Ports [2, 1] Position [105, 110, 140, 145] BackgroundColor "green" ShowName off FontName "Arial" FontSize 14 Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [3, 1] Position [180, 16, 205, 134] BackgroundColor "green" ShowName off FontName "Arial" FontSize 14 IconShape "rectangular" Inputs "-++" SaturateOnIntegerOverflow on } Block { BlockType Outport Name "Nz" Position [335, 68, 365, 82] BackgroundColor "green" FontName "Arial" FontSize 14 Port "1" OutputWhenDisabled "held" InitialOutput "0" } Line { SrcBlock "\n" SrcPort 1 Points [35, 0] DstBlock "Product" DstPort 2 } Line { SrcBlock "q" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 Points [20, 0] DstBlock "Sum2" DstPort 3 } Line { SrcBlock "Gain3" SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { SrcBlock "q dot" SrcPort 1 DstBlock "Gain3" DstPort 1 } Line { SrcBlock "Gain4" SrcPort 1 DstBlock "Nz" DstPort 1 } Line { SrcBlock "w dot" SrcPort 1 DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "Gain4" DstPort 1 } Annotation { Position [202, 202] Text "Nz = ( - dw/dt +dq/dt*22.8 + q*Uo)/g" FontSize 16 FontWeight "bold" } } } Block { BlockType Scope Name "Stick\nAlpha\nq\nNz" Ports [4] Position [855, 482, 905, 568] BackgroundColor "magenta" FontName "Arial" FontSize 14 Floating off Location [805, 67, 1273, 678] Open on NumInputPorts "4" TickLabels "on" ZoomMode "on" List { ListType AxesTitles axes1 "%" axes2 "%" axes3 "%" axes4 "%" } Grid "on" TimeRange "15" YMin "-1~-1.5~-3~-15" YMax "1~1.5~3~15" SaveToWorkspace off SaveName "ScopeData1" DataFormat "Array" LimitDataPoints off MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Terminator Name "Terminator" Position [675, 205, 695, 225] } Line { Name "DAP" FontName "Arial" FontSize 14 FontWeight "bold" Labels [1, 1] SrcBlock "Controllers" SrcPort 3 DstBlock "Digital\nDesign\n(lti or Implementation)" DstPort 2 } Line { Name "lti" FontName "Arial" FontSize 14 FontWeight "bold" Labels [0, 1] SrcBlock "Controllers" SrcPort 2 Points [35, 0] DstBlock "Digital\nDesign\n(lti or Implementation)" DstPort 1 } Line { SrcBlock "Digital\nDesign\n(lti or Implementation)" SrcPort 1 DstBlock "Analog \nor Digital" DstPort 2 } Line { SrcBlock "Analog \nor Digital" SrcPort 1 DstBlock "Configurable\nActuator" DstPort 1 } Line { Name "Analog" FontName "Arial" FontSize 14 FontWeight "bold" Labels [0, 1] SrcBlock "Controllers" SrcPort 1 DstBlock "Analog \nor Digital" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Controllers" DstPort 1 } Line { Name "qdot\ngust" FontSize 12 Labels [1, 1] SrcBlock "Dryden\nWind Gust" SrcPort 2 DstBlock "F14 Aircraft\nDynamic Model" DstPort 3 } Line { Name "wdot\ngust" FontSize 12 Labels [1, 1] SrcBlock "Dryden\nWind Gust" SrcPort 1 DstBlock "F14 Aircraft\nDynamic Model" DstPort 2 } Line { Name "wdot" FontName "Arial" FontSize 12 Labels [0, 0] SrcBlock "F14 Aircraft\nDynamic Model" SrcPort 1 DstBlock "Pilot\nG-Force\n Calculation" DstPort 1 } Line { Name "qdot" FontName "Arial" FontSize 12 Labels [0, 0] SrcBlock "F14 Aircraft\nDynamic Model" SrcPort 2 DstBlock "Pilot\nG-Force\n Calculation" DstPort 2 } Line { Name "Alpha" FontName "Arial" FontSize 12 Labels [1, 0] SrcBlock "F14 Aircraft\nDynamic Model" SrcPort 4 Points [60, 0; 0, 60] Branch { DstBlock "Stick\nAlpha\nq\nNz" DstPort 2 } Branch { Points [-630, 0; 0, -300] DstBlock "Mux" DstPort 2 } } Line { Name "q" Labels [0, 0] SrcBlock "F14 Aircraft\nDynamic Model" SrcPort 3 Points [0, 0; 85, 0] Branch { Points [-10, 0; 0, 120] Branch { DstBlock "Stick\nAlpha\nq\nNz" DstPort 3 } Branch { Points [-625, 0; 0, -280] DstBlock "Mux" DstPort 3 } } Branch { DstBlock "Pilot\nG-Force\n Calculation" DstPort 3 } } Line { Name "Actuator " FontName "Arial" FontSize 12 Labels [0, 0] SrcBlock "Configurable\nActuator" SrcPort 1 Points [155, 0; 0, 96; -359, 0; 0, 69] DstBlock "F14 Aircraft\nDynamic Model" DstPort 1 } Line { SrcBlock "Configurable\nActuator" SrcPort 2 DstBlock "Terminator" DstPort 1 } Line { SrcBlock "Pilot\nG-Force\n Calculation" SrcPort 1 Points [15, 0; 0, 180] DstBlock "Stick\nAlpha\nq\nNz" DstPort 4 } Line { Name "Stick Command" FontName "Arial" FontSize 14 Labels [0, 0] SrcBlock "Pilot" SrcPort 1 Points [10, 0] Branch { Points [0, 0] DstBlock "Mux" DstPort 1 } Branch { Labels [2, 0] Points [0, -60; 765, 0] DstBlock "Stick\nAlpha\nq\nNz" DstPort 1 } } } }