⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c9mdsp_new.mdl

📁 包含大量遗传算法程序
💻 MDL
📖 第 1 页 / 共 3 页
字号:
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "-1"
    }
    Block {
      BlockType		      SignalGenerator
      WaveForm		      "sine"
      TimeSource	      "Use simulation time"
      Amplitude		      "1"
      Frequency		      "1"
      Units		      "Hertz"
      VectorParams1D	      on
    }
    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		      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		    "c9mdsp_new"
    Location		    [2, 82, 1014, 732]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "portrait"
    PaperPositionMode	    "auto"
    PaperType		    "a4letter"
    PaperUnits		    "centimeters"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Gain
      Name		      "Aplha to Theta"
      Position		      [455, 148, 500, 202]
      ShowName		      off
      FontName		      "Times New Roman"
      FontSize		      14
      Gain		      "L/r"
    }
    Block {
      BlockType		      Gain
      Name		      "Cable Gain\nPre-Compensation"
      Position		      [735, 151, 795, 199]
      ShowName		      off
      FontName		      "Times New Roman"
      FontSize		      14
      Gain		      "-1/10"
    }
    Block {
      BlockType		      Gain
      Name		      "Calibrate Postion \nto read in centimeters\n(-2"
"0 to 20) "
      Position		      [320, 337, 380, 383]
      Orientation	      "left"
      ShowName		      off
      FontName		      "Times New Roman"
      FontSize		      14
      Gain		      "-L/10"
    }
    Block {
      BlockType		      Gain
      Name		      "Command \nin \ncentimeters"
      Position		      [200, 156, 230, 194]
      ShowName		      off
      FontName		      "Times New Roman"
      FontSize		      14
      Gain		      "5"
    }
    Block {
      BlockType		      Gain
      Name		      "Conversion to Radians"
      Position		      [720, 303, 790, 347]
      Orientation	      "left"
      ShowName		      off
      FontName		      "Times New Roman"
      FontSize		      14
      Gain		      "-0.006"
    }
    Block {
      BlockType		      Gain
      Name		      "Conversion to Radians1"
      Position		      [485, 338, 550, 382]
      Orientation	      "left"
      ShowName		      off
      FontName		      "Times New Roman"
      FontSize		      14
      Gain		      "10"
    }
    Block {
      BlockType		      Reference
      Name		      "DS1104ADC_C7"
      Ports		      [0, 1]
      Position		      [575, 341, 640, 379]
      Orientation	      "left"
      BackgroundColor	      "lightBlue"
      FontName		      "Times New Roman"
      FontSize		      12
      SourceBlock	      "rtilib1104/DS1104 MASTER PPC/DS1104ADC_C5"
      SourceType	      "RTI"
      ChannelNo		      "7"
      TriggerMode	      "0"
      Reserved1		      "[]"
      Reserved2		      "[]"
      Reserved3		      "[]"
      Reserved4		      "[]"
      DialogFcn		      "gui1104adc"
      UnitName		      "{ 'DS1104ADC_C' }"
      UnitValues	      "{ 7 }"
      DSProperties	      "struct('RTI',struct('Version',uint32(1),'BlockT"
"ype',struct('isSLSource',uint8(1),'isSLSink',uint8(0),'isHWSource',uint8(1),'"
"isHWSink',uint8(0),'isSetup',uint8(0),'isInline',uint8(1),'isNonInline',uint8"
"(0),'isInterrupt',uint8(0),'isChannelwise',uint8(1)),'IOBoardType','DS1104MAS"
"TER','UnitType','ADC','Identifier','ADC','DialogType','ML','BlockSet','NONE',"
"'SlaveProcessor','NONE'))"
    }
    Block {
      BlockType		      Reference
      Name		      "DS1104DAC_C1"
      Ports		      [1]
      Position		      [820, 157, 895, 193]
      BackgroundColor	      "lightBlue"
      FontName		      "Times New Roman"
      FontSize		      12
      SourceBlock	      "rtilib1104/DS1104 MASTER PPC/DS1104DAC_C1"
      SourceType	      "RTI"
      ChannelNo		      "1"
      InitValue		      "0"
      TermMode		      "0"
      TermValue		      "0"
      Reserved1		      "[]"
      Reserved2		      "[]"
      Reserved3		      "[]"
      Reserved4		      "[]"
      DialogFcn		      "gui1104dac"
      UnitName		      "{ 'DS1104DAC_C'}"
      UnitValues	      "{ 1 }"
      DSProperties	      "struct('RTI',struct('Version',uint32(1),'BlockT"
"ype',struct('isSLSource',uint8(0),'isSLSink',uint8(1),'isHWSource',uint8(0),'"
"isHWSink',uint8(1),'isSetup',uint8(0),'isInline',uint8(1),'isNonInline',uint8"
"(0),'isInterrupt',uint8(0),'isChannelwise',uint8(1)),'IOBoardType','DS1104MAS"
"TER','UnitType','DAC','Identifier','DAC','DialogType','ML','BlockSet','NONE',"
"'SlaveProcessor','NONE'))"
    }
    Block {
      BlockType		      Reference
      Name		      "DS1104ENC_POS_C1"
      Ports		      [0, 2]
      Position		      [815, 309, 905, 376]
      Orientation	      "left"
      BackgroundColor	      "lightBlue"
      SourceBlock	      "rtilib1104/DS1104 MASTER PPC/DS1104ENC_POS_C1"
      SourceType	      "RTI"
      ChannelNo		      "1"
      PosValue		      "0"
      Reserved1		      "[]"
      Reserved2		      "[]"
      Reserved3		      "[]"
      Reserved4		      "[]"
      DialogFcn		      "gui1104enc_pos"
      UnitName		      "{'DS1104ENC_POS_C'}"
      UnitValues	      "{ 1 }"
      DSProperties	      "struct('RTI',struct('Version',uint32(1),'BlockT"
"ype',struct('isSLSource',uint8(1),'isSLSink',uint8(0),'isHWSource',uint8(1),'"
"isHWSink',uint8(0),'isSetup',uint8(0),'isInline',uint8(1),'isNonInline',uint8"
"(0),'isInterrupt',uint8(0),'isChannelwise',uint8(1)),'IOBoardType','DS1104MAS"
"TER','UnitType','ENC','Identifier','ENCPOSCH','DialogType','ML','BlockSet','N"
"ONE','SlaveProcessor','NONE'))"
    }
    Block {
      BlockType		      Reference
      Name		      "DS1104ENC_SETUP"
      Ports		      []
      Position		      [809, 228, 905, 274]
      BackgroundColor	      "lightBlue"
      SourceBlock	      "rtilib1104/DS1104 MASTER PPC/DS1104ENC_SETUP"
      SourceType	      "RTI"
      SignalType	      "[0 0]"
      Reserved1		      "[]"
      Reserved2		      "[]"
      Reserved3		      "[]"
      Reserved4		      "[]"
      DialogFcn		      "gui1104enc_setup"
      UnitName		      "{'DS1104ENC_SETUP'}"
      UnitValues	      "{ [] }"
      DSProperties	      "struct('RTI',struct('Version',uint32(1),'BlockT"
"ype',struct('isSLSource',uint8(0),'isSLSink',uint8(0),'isHWSource',uint8(0),'"
"isHWSink',uint8(0),'isSetup',uint8(0),'isInline',uint8(1),'isNonInline',uint8"
"(0),'isInterrupt',uint8(0),'isChannelwise',uint8(0)),'IOBoardType','DS1104MAS"
"TER','UnitType','ENC','Identifier','ENCSETUP','DialogType','ML','BlockSet','N"
"ONE','SlaveProcessor','NONE'))"
    }
    Block {
      BlockType		      TransferFcn
      Name		      "Derivative\nw/ filter"
      Position		      [395, 260, 455, 300]
      Orientation	      "up"
      NamePlacement	      "alternate"
      ShowName		      off
      FontName		      "Times New Roman"
      FontSize		      14
      Numerator		      "[20 0]"
      Denominator	      "[1 20]"
    }
    Block {
      BlockType		      TransferFcn
      Name		      "Derivative\nw/ filter1"
      Position		      [675, 260, 735, 300]
      Orientation	      "up"
      NamePlacement	      "alternate"
      ShowName		      off
      FontName		      "Times New Roman"
      FontSize		      14
      Numerator		      "[50 0]"
      Denominator	      "[1 50]"
    }
    Block {
      BlockType		      Integrator
      Name		      "Integrator"
      Ports		      [1, 1]
      Position		      [670, 110, 700, 150]
      ShowName		      off
      FontName		      "Times New Roman"
      FontSize		      14
    }
    Block {
      BlockType		      Gain
      Name		      "Kp\n"
      Position		      [610, 154, 660, 196]
      FontName		      "Times New Roman"
      FontSize		      14
      Gain		      "Kp"
    }
    Block {
      BlockType		      Gain
      Name		      "Kp\n1"
      Position		      [610, 114, 655, 146]
      ShowName		      off
      FontName		      "Times New Roman"
      FontSize		      14
      Gain		      "Ki"
    }
    Block {
      BlockType		      Gain
      Name		      "Kp_bb"
      Position		      [335, 149, 400, 201]
      FontName		      "Times New Roman"
      FontSize		      14
      Gain		      "Kp_bb"
    }
    Block {
      BlockType		      Gain
      Name		      "Kv_bb"
      Position		      [390, 200, 460, 245]
      Orientation	      "up"
      FontName		      "Times New Roman"
      FontSize		      14
      Gain		      "Kv_bb"
    }
    Block {
      BlockType		      Saturate
      Name		      "Must \nOpertate\nin Linear\nRegion"
      Position		      [520, 160, 550, 190]
      ShowName		      off
      FontName		      "Times New Roman"
      FontSize		      14
      UpperLimit	      "50*pi/180"
      LowerLimit	      "-50*pi/180"
    }
    Block {
      BlockType		      Gain
      Name		      "Outer Loop Kd1"
      Position		      [683, 200, 727, 240]
      Orientation	      "up"
      ShowName		      off
      FontName		      "Times New Roman"
      FontSize		      14
      Gain		      "Kv"
    }
    Block {
      BlockType		      Saturate
      Name		      "Physical\nLimitation\nof Beam"
      Position		      [245, 160, 275, 190]
      ShowName		      off
      FontName		      "Times New Roman"
      FontSize		      14
      UpperLimit	      "20"
      LowerLimit	      "-20"
    }
    Block {
      BlockType		      SubSystem
      Name		      "RTI Data"
      Tag		      "struct('RTIDataServer',struct('RTIDataServerVs'"
",'2','RTIModelDescription','struct(''main'',''c9mdsp_new'',''sub'','''',''isM"
"p'',0)'))"
      Ports		      []
      Position		      [125, 120, 176, 132]
      BackgroundColor	      "gray"
      DropShadow	      on
      ShowName		      off
      CopyFcn		      "try,  rtidc('DataHostBlockClbCopy', gcbh); catc"
"h, disp(['Warning: ''CopyFcn'' for RTI Data block failed: ' lasterr]); end"
      DeleteFcn		      "try,  rtidc('DataHostBlockClbDelete', gcbh); ca"
"tch, disp(['Warning: ''DeleteFcn'' for RTI Data block failed: ' lasterr]); en"
"d"
      LoadFcn		      "try,  rtidc('DataHostBlockClbLoad', gcbh); catc"
"h, disp(['Warning: ''LoadFcn'' for RTI Data block failed: ' lasterr]); end"
      ModelCloseFcn	      "try,  rtidc('DataHostBlockClbModelClose', gcbh)"
"; catch, disp(['Warning: ''ModelCloseFcn'' for RTI Data block failed: ' laste"
"rr]); end"
      PreSaveFcn	      "try,  rtidc('DataHostBlockClbPreSave', gcbh); c"
"atch, disp(['Warning: ''PreSaveFcn'' for RTI Data block failed: ' lasterr]); "
"end"
      PostSaveFcn	      "try,  rtidc('DataHostBlockClbPostSave', gcbh); "
"catch, disp(['Warning: ''PostSaveFcn'' for RTI Data block failed: ' lasterr])"
"; end"
      NameChangeFcn	      "try,  rtidc('DataHostBlockClbNameChange', gcbh)"
"; catch, disp(['Warning: ''NameChangeFcn'' for RTI Data block failed: ' laste"
"rr]); end"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskHideContents	      off
      MaskType		      "RTI_DATA_HOST"
      MaskDescription	      "RTI Data Block.\nThis block is used by RTI to s"
"tore internal model-dependent data.\nPlease keep this block on the root level"
" of the model. Deleting this block will result in data loss.\n\nNEVER DELETE "
"OR COPY THIS BLOCK!"
      MaskHelp		      "RTI Data Block.\nThis block is used by RTI to s"
"tore internal model-dependent data.\nPlease keep this block on the root level"
" of the model. Deleting this block will result in data loss.\n\nNEVER DELETE "
"OR COPY THIS BLOCK!"
      MaskDisplay	      "text(0.5, 0.5, 'RTI Data', 'HorizontalAlignment"
"', 'center');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "normalized"
      System {
	Name			"RTI Data"
	Location		[450, 250, 640, 300]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  SubSystem
	  Name			  "RTI Data Store"
	  Tag			  "struct('private',struct('version',struct('d"
"sVer',uint32(2),'dsVerCreation',uint32(2),'RTI',struct('ver','4.2','type','RT"
"I1104')),'access',struct('type','Model','isPerm',1,'created',['19-Oct-2005 16"
":47:35'],'modified',['19-Nov-2005 11:26:42'],'location','')),'public',struct("
"'main',struct('data',[]),'sub',struct('name',{{'c9mdsp_new'}},'data',{{struct"
"('TH',struct('thTaskInfo',struct('taskType',{'TIMER','HWINT','TMRINT','SWINT'"
"},'tasksNumOf',{1,0,0,0},'srcIds',{{'TIMERA'},{},{},{}},'taskNames',{{['Timer"
" Task 1']},{},{},{}})),'th_tc',struct('taskType','TIMER','blkh',-1,'srcId','T"
"IMERA','srcSgnName',['Timer A interrupt'],'srcCpuName','','taskName',['Timer "
"Task 1  [0.001] s'],'smplTime',1e-03,'smplTimeOffs',0,'priority',1,'ovcType',"
"1,'ovcMax',0),'tc_th',struct('taskType','TIMER','blkh',-1,'srcId','TIMERA','s"
"rcSgnName',['Timer A interrupt'],'srcCpuName','','taskName',['Timer Task 1  ["
"0.001] s'],'smplTime',1e-03,'smplTimeOffs',0,'priority',1,'ovcType',1,'ovcMax"
"',0))}})))"
	  Ports			  []
	  Position		  [146, 12, 181, 25]
	  ForegroundColor	  "white"
	  ShowName		  off
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskHideContents	  off
	  MaskType		  "RTI_DATA_STORE"
	  MaskDescription	  "RTI Data Store Block. This block is used by"
" RTI to store internal model dependent data. Deleting this block will result "
"in data loss.\n\nNEVER DELETE, COPY, OR MODIFY THIS BLOCK!"
	  MaskHelp		  "RTI Data Store Block. This block is used by"
" RTI to store internal model dependent data. Deleting this block will result "
"in data loss.\n\nNEVER DELETE, COPY, OR MODIFY THIS BLOCK!"
	  MaskDisplay		  "text(0.5, 0.5, ' ', 'HorizontalAlignment', "
"'center');"
	  MaskIconFrame		  off
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "normalized"
	  System {
	    Name		    "RTI Data Store"
	    Location		    [450, 250, 640, 300]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -