Model { Name "PIDsysgenbab4" Version 5.0 SaveDefaultBlockParams on SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ExecutionOrder off RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off Created "Mon May 23 12:19:28 2005" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "WinXp" ModifiedDateFormat "%" LastModifiedDate "Mon May 23 15:36:18 2005" ModelVersionFormat "1.%" ConfigurationManager "None" SimParamPage "Solver" LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off ExtModeMexFile "ext_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "normal" 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 on ExtModeSkipDownloadWhenConnect off ExtModeLogAll on ExtModeAutoUpdateStatusClock on BufferReuse on RTWExpressionDepthLimit 5 SimulationMode "normal" Solver "ode45" SolverMode "Auto" StartTime "0.0" StopTime "10.0" MaxOrder 5 MaxStep "auto" MinStep "auto" MaxNumMinSteps "-1" InitialStep "auto" FixedStep "auto" RelTol "1e-3" AbsTol "auto" OutputOption "RefineOutputTimes" OutputTimes "[]" Refine "1" LoadExternalInput off ExternalInput "[t, u]" LoadInitialState off InitialState "xInitial" SaveTime on TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput on OutputSaveName "yout" SaveFinalState off FinalStateName "xFinal" SaveFormat "Array" Decimation "1" LimitDataPoints on MaxDataPoints "1000" SignalLoggingName "sigsOut" ConsistencyChecking "none" ArrayBoundsChecking "none" AlgebraicLoopMsg "warning" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" CheckForMatrixSingularity "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterPrecisionLossMsg "warning" UnderSpecifiedDataTypeMsg "none" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" InvalidFcnCallConnMsg "error" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SfunCompatibilityCheckMsg "none" RTWInlineParameters off BlockReductionOpt on BooleanDataType on ConditionallyExecuteInputs on ParameterPooling on OptimizeBlockIOStorage on ZeroCross on AssertionControl "UseLocalSettings" ProdHWDeviceType "Microprocessor" ProdHWWordLengths "8,16,32,32" RTWSystemTargetFile "grt.tlc" RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off RTWRetainRTWFile off TLCProfiler off TLCDebug off TLCCoverage off TLCAssertion off BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } BlockParameterDefaults { Block { BlockType Constant Value "1" VectorParams1D on ShowAdditionalParam off OutDataTypeMode "Inherit from 'Constant value'" OutDataType "sfix(16)" ConRadixGroup "Use specified scaling" OutScaling "2^0" } Block { BlockType DiscretePulseGenerator PulseType "Sample based" Amplitude "1" Period "2" PulseWidth "1" PhaseDelay "0" SampleTime "1" VectorParams1D on } Block { BlockType Display Format "short" Decimation "10" Floating off SampleTime "-1" } Block { BlockType "S-Function" FunctionName "system" PortCounts "[]" SFunctionModules "''" } Block { BlockType SubSystem ShowPortLabels on Permissions "ReadWrite" RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" SimViewingDevice off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" } Block { BlockType Terminator } } 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 "PIDsysgenbab4" Location [2, 84, 1014, 697] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType Reference Name " System Generator" Tag "genX" Ports [] Position [732, 133, 783, 183] ShowName off AttributesFormatString "System\\nGenerator" UserDataPersistent on UserData "DataTag0" SourceBlock "xbsIndex_r3/ System Generator" SourceType "Xilinx System Generator" xilinxfamily "Spartan2" part "xc2s50" speed "-6" package "pq208" synthesis_tool "XST" directory "C:/MATLAB6p5/work/isniamy/xpid_data2" testbench off simulink_period "1/100" sysclk_period "100" incr_netlist off trim_vbits "Everywhere in SubSystem" dbl_ovrd "According to Block Masks" core_generation "According to Block Masks" run_coregen off deprecated_control off eval_field "0" } Block { BlockType Reference Name "AddSub1" Ports [2, 1] Position [480, 156, 525, 214] SourceBlock "xbsIndex_r3/AddSub" SourceType "Xilinx Adder/Subtractor" mode "Subtraction" precision "Full" arith_type "Signed (2's comp)" n_bits "24" bin_pt "16" quantization "Truncate" overflow "Wrap" latency "0" explicit_period on period "0.01" use_carryin off use_carryout off en off dbl_ovrd off show_param off use_core on pipeline off use_rpm on gen_core off xl_area "[0, 0, 0, 0, 0, 0, 0]" xl_use_area off } Block { BlockType Reference Name "AddSub2" Ports [2, 1] Position [580, 193, 610, 242] SourceBlock "xbsIndex_r3/AddSub" SourceType "Xilinx Adder/Subtractor" mode "Addition" precision "Full" arith_type "Signed (2's comp)" n_bits "16" bin_pt "4" quantization "Truncate" overflow "Wrap" latency "0" explicit_period on period "0.01" use_carryin off use_carryout off en off dbl_ovrd off show_param off use_core on pipeline off use_rpm on gen_core off xl_area "[0, 0, 0, 0, 0, 0, 0]" xl_use_area off } Block { BlockType Reference Name "AddSub3" Ports [2, 1] Position [475, 402, 515, 453] SourceBlock "xbsIndex_r3/AddSub" SourceType "Xilinx Adder/Subtractor" mode "Subtraction" precision "Full" arith_type "Signed (2's comp)" n_bits "24" bin_pt "16" quantization "Truncate" overflow "Wrap" latency "0" explicit_period on period "0.01" use_carryin off use_carryout off en off dbl_ovrd off show_param off use_core on pipeline off use_rpm on gen_core off xl_area "[0, 0, 0, 0, 0, 0, 0]" xl_use_area off } Block { BlockType Reference Name "AddSub4" Ports [2, 1] Position [740, 391, 780, 444] SourceBlock "xbsIndex_r3/AddSub" SourceType "Xilinx Adder/Subtractor" mode "Addition" precision "Full" arith_type "Signed (2's comp)" n_bits "24" bin_pt "16" quantization "Truncate" overflow "Wrap" latency "0" explicit_period on period "0.01" use_carryin off use_carryout off en off dbl_ovrd off show_param off use_core on pipeline off use_rpm on gen_core off xl_area "[0, 0, 0, 0, 0, 0, 0]" xl_use_area off } Block { BlockType Reference Name "AddSub5" Ports [2, 1] Position [650, 304, 695, 351] SourceBlock "xbsIndex_r3/AddSub" SourceType "Xilinx Adder/Subtractor" mode "Addition" precision "Full" arith_type "Signed (2's comp)" n_bits "24" bin_pt "16" quantization "Truncate" overflow "Wrap" latency "0" explicit_period on period "0.01" use_carryin off use_carryout off en off dbl_ovrd off show_param off use_core on pipeline off use_rpm on gen_core off xl_area "[0, 0, 0, 0, 0, 0, 0]" xl_use_area off } Block { BlockType Reference Name "AddSub6" Ports [2, 1] Position [810, 405, 850, 465] SourceBlock "xbsIndex_r3/AddSub" SourceType "Xilinx Adder/Subtractor" mode "Addition" precision "User Defined" arith_type "Signed (2's comp)" n_bits "24" bin_pt "16" quantization "Truncate" overflow "Wrap" latency "0" explicit_period on period "0.01" use_carryin off use_carryout off en off dbl_ovrd off show_param off use_core on pipeline off use_rpm off gen_core off xl_area "[0, 0, 0, 0, 0, 0, 0]" xl_use_area off } Block { BlockType Reference Name "CMult3" Ports [1, 1] Position [375, 228, 420, 272] NamePlacement "alternate" SourceBlock "xbsIndex_r3/CMult" SourceType "Xilinx Constant Multiplier" const "2" show_cparam on const_n_bits "18" const_bin_pt "8" show_output_param off precision "Full" arith_type "Signed (2's comp)" n_bits "8" bin_pt "6" quantization "Round (unbiased: +/- Inf)" overflow "Wrap" latency "0" explicit_period on period "0.01" en off dbl_ovrd off show_param off mult_type "Parallel" oversample "2" mem_type "Distributed RAM" pipeline off use_rpm on placement_style "Rectangular Shape" gen_core off xl_area "[0, 0, 0, 0, 0, 0, 0]" xl_use_area off } Block { BlockType Constant Name "Constant" Position [115, 265, 160, 315] Value "10" } Block { BlockType Reference Name "Delay" Ports [1, 1] Position [300, 149, 335, 191] SourceBlock "xbsIndex_r3/Delay" SourceType "Xilinx Delay Block" latency "1" reg_retiming off explicit_period on period "0.01" en off accept_only_valid off init_zero on dbl_ovrd off show_param off xl_area "[0, 0, 0, 0, 0, 0, 0]" xl_use_area off } Block { BlockType Reference Name "Delay1" Ports [1, 1] Position [820, 495, 855, 535] Orientation "left" NamePlacement "alternate" SourceBlock "xbsIndex_r3/Delay" SourceType "Xilinx Delay Block" latency "1" reg_retiming off explicit_period on period "0.01" en off accept_only_valid off init_zero on dbl_ovrd off show_param off xl_area "[0, 0, 0, 0, 0, 0, 0]" xl_use_area off } Block { BlockType Reference Name "Delay2" Ports [1, 1] Position [385, 147, 420, 193] SourceBlock "xbsIndex_r3/Delay" SourceType "Xilinx Delay Block" latency "1" reg_retiming off explicit_period on period "0.01" en off accept_only_valid off init_zero on dbl_ovrd off show_param off xl_area "[0, 0, 0, 0, 0, 0, 0]" xl_use_area off } Block { BlockType Reference Name "Gateway In1" Ports [1, 1] Position [200, 279, 235, 301] SourceBlock "xbsIndex_r3/Gateway In" SourceType "Xilinx Gateway In" arith_type "Signed (2's comp)" n_bits "16" bin_pt "8" quantization "Truncate" overflow "Wrap" period "0.01" timing_constraint "None" locs_specified off LOCs "{}" needs_fixed_name off dbl_ovrd off show_param off xl_area "[0, 0, 0, 0, 0, 0, 0]" xl_use_area off } Block { BlockType Reference Name "Gateway Out" Ports [1, 1] Position [895, 343, 930, 367] SourceBlock "xbsIndex_r3/Gateway Out" SourceType "Xilinx Gateway Out" hdl_port on timing_constraint "None" locs_specified off LOCs "{}" needs_fixed_name off show_param off xl_area "[0, 0, 0, 0, 0, 0, 0]" xl_use_area off } Block { BlockType Reference Name "Kd" Ports [1, 1] Position [640, 193, 695, 247] SourceBlock "xbsIndex_r3/CMult" SourceType "Xilinx Constant Multiplier" const "1.95/0.01" show_cparam on const_n_bits "16" const_bin_pt "4" show_output_param off precision "Full" arith_type "Signed (2's comp)" n_bits "8" bin_pt "6" quantization "Round (unbiased: +/- Inf)" overflow "Wrap" latency "0" explicit_period on period "0.01" en off dbl_ovrd off show_param off mult_type "Parallel" oversample "2" mem_type "Distributed RAM" pipeline off use_rpm on placement_style "Rectangular Shape" gen_core off xl_area "[0, 0, 0, 0, 0, 0, 0]" xl_use_area off } Block { BlockType Reference Name "Ki" Ports [1, 1] Position [520, 264, 605, 316] SourceBlock "xbsIndex_r3/CMult" SourceType "Xilinx Constant Multiplier" const "0.01*0.01" show_cparam on const_n_bits "16" const_bin_pt "16" show_output_param off precision "Full" arith_type "Signed (2's comp)" n_bits "8" bin_pt "6" quantization "Round (unbiased: +/- Inf)" overflow "Wrap" latency "0" explicit_period on period "0.01" en off dbl_ovrd off show_param off mult_type "Parallel" oversample "2" mem_type "Distributed RAM" pipeline off use_rpm on placement_style "Rectangular Shape" gen_core off xl_area "[0, 0, 0, 0, 0, 0, 0]" xl_use_area off } Block { BlockType Reference Name "Kp" Ports [1, 1] Position [565, 400, 625, 460] SourceBlock "xbsIndex_r3/CMult" SourceType "Xilinx Constant Multiplier" const "4.37" show_cparam on const_n_bits "16" const_bin_pt "10" show_output_param off precision "Full" arith_type "Signed (2's comp)" n_bits "8" bin_pt "6" quantization "Round (unbiased: +/- Inf)" overflow "Wrap" latency "0" explicit_period on period "0.01" en off dbl_ovrd off show_param off mult_type "Parallel" oversample "2" mem_type "Distributed RAM" pipeline off use_rpm on placement_style "Rectangular Shape" gen_core off xl_area "[0, 0, 0, 0, 0, 0, 0]" xl_use_area off } Block { BlockType Display Name "Output 1" Ports [1] Position [965, 340, 1055, 370] Decimation "1" } Line { SrcBlock "Delay" SrcPort 1 Points [0, 0; 5, 0] Branch { DstBlock "Delay2" DstPort 1 } Branch { Points [0, 80] Branch { DstBlock "CMult3" DstPort 1 } Branch { Points [0, 105; 75, 0; 0, 85] DstBlock "AddSub3" DstPort 2 } } } Line { SrcBlock "Delay2" SrcPort 1 DstBlock "AddSub1" DstPort 1 } Line { SrcBlock "CMult3" SrcPort 1 Points [40, 0] DstBlock "AddSub1" DstPort 2 } Line { SrcBlock "Gateway In1" SrcPort 1 Points [0, 0; 30, 0] Branch { Points [215, 0] Branch { DstBlock "Ki" DstPort 1 } Branch { Points [0, -60] DstBlock "AddSub2" DstPort 2 } } Branch { Points [0, -120] DstBlock "Delay" DstPort 1 } Branch { Points [0, 125] DstBlock "AddSub3" DstPort 1 } } Line { SrcBlock "Gateway Out" SrcPort 1 DstBlock "Output 1" DstPort 1 } Line { SrcBlock "Ki" SrcPort 1 Points [5, 0; 0, 50] DstBlock "AddSub5" DstPort 2 } Line { SrcBlock "AddSub3" SrcPort 1 DstBlock "Kp" DstPort 1 } Line { SrcBlock "AddSub1" SrcPort 1 Points [15, 0; 0, 20] DstBlock "AddSub2" DstPort 1 } Line { SrcBlock "Kd" SrcPort 1 Points [10, 0; 0, 75; -75, 0] DstBlock "AddSub5" DstPort 1 } Line { SrcBlock "AddSub2" SrcPort 1 DstBlock "Kd" DstPort 1 } Line { SrcBlock "Kp" SrcPort 1 DstBlock "AddSub4" DstPort 2 } Line { SrcBlock "AddSub5" SrcPort 1 Points [5, 0; 0, 75] DstBlock "AddSub4" DstPort 1 } Line { SrcBlock "AddSub4" SrcPort 1 DstBlock "AddSub6" DstPort 1 } Line { SrcBlock "AddSub6" SrcPort 1 Points [0, 0; 25, 0] Branch { Points [0, 80] DstBlock "Delay1" DstPort 1 } Branch { DstBlock "Gateway Out" DstPort 1 } } Line { SrcBlock "Delay1" SrcPort 1 Points [-20, 0] DstBlock "AddSub6" DstPort 2 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Gateway In1" DstPort 1 } Annotation { Name "en" Position [276, 156] } Annotation { Name "en-1" Position [360, 158] } Annotation { Name "en-2" Position [444, 156] } Annotation { Name "Un" Position [866, 416] } Annotation { Name "Un-1" Position [785, 494] } Annotation { Name "PID DIGITAL SYSTEM GENERATOR" Position [426, 124] } } } MatData { NumRecords 1 DataRecord { Tag DataTag0 Data " %)30 . .!( 8 ( @ % " "\" $ ! 0 % 0 !@ $ , &EL:6YX9F%M:6QY '!A !P &D 9 !? &0 80!" "T &$ ,@ . . 8 ( ! % \" $ # 0 $ " " !@ &\\ 9@!F #@ #@ & \" 0 !0 @ ! P $ " " ! 8 Q # , X !@ !@ @ $ 4 ( 0 !@" " ! 0 P 00!C &, ;P!R &0 :0!N &< ( !T &\\ ( !\" &P ;P!C &L ( " "!- &$ 0!S '0 90!M #@ & & \" 0 !0 @ " " ! & $ ! # !! &, 8P!O '( 9 !I &X 9P @ '0 ;P @ $( ; !O " "&, :P @ $T 80!S &L

&9A;6EL" ">0 !P87)T 6YT:" "&5S:7-?=&]O; 9&ER96-T;W)Y '1E7-C;&M?<&5R:6]D " " 8V]R95]G96YE !C #(

0 O '@ < !" "I &0 7P!D &$ = !A #( #@ #@ & \" 0 !0 @ ! P $" " ! 8 !O &8 9@ X X !@ @ $ 4 ( 0 " " , ! 0 & ,0 P # . 8 8 ( ! % " "\" $ 8 0 $ , $$ 8P!C &\\ <@!D &D ;@!G \" = !O \" 0" "@!L &\\ 8P!K \" 30!A ', :P!S X X !@ @ $ 4 ( 0 " " , ! 0 & ;P!F &8 . , 8 ( ! % " "\" $ ! 0 $ ( , X P !@ @ $ 4 (" " ! 0 " } }