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

📄 ex33b_pid.mdl

📁 其中提到遺傳學的程式碼與應用提供給次淚相向的研究者參考下載
💻 MDL
📖 第 1 页 / 共 5 页
字号:
      BlockType		      Outport
      Port		      "1"
      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		      Saturate
      UpperLimit	      "0.5"
      LowerLimit	      "-0.5"
      LinearizeAsGain	      on
      ZeroCross		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Scope
      Floating		      off
      ModelBased	      off
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "-5"
      YMax		      "5"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      LimitDataPoints	      on
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Step
      Time		      "1"
      Before		      "0"
      After		      "1"
      SampleTime	      "-1"
      VectorParams1D	      on
      ZeroCross		      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"
    }
    Block {
      BlockType		      TransportDelay
      DelayTime		      "1"
      InitialInput	      "0"
      BufferSize	      "1024"
      PadeOrder		      "0"
      TransDelayFeedthrough   off
    }
  }
  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		    "ex33B_pid"
    Location		    [285, 82, 1073, 710]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Derivative
      Name		      "Derivative"
      Position		      [310, 160, 340, 190]
    }
    Block {
      BlockType		      Derivative
      Name		      "Derivative1"
      Position		      [315, 290, 345, 320]
    }
    Block {
      BlockType		      Derivative
      Name		      "Derivative2"
      Position		      [315, 425, 345, 455]
    }
    Block {
      BlockType		      Derivative
      Name		      "Derivative3"
      Position		      [315, 560, 345, 590]
    }
    Block {
      BlockType		      Gain
      Name		      "Gain"
      Position		      [355, 115, 385, 145]
      BackgroundColor	      "cyan"
      Gain		      "Ki"
    }
    Block {
      BlockType		      Gain
      Name		      "Gain1"
      Position		      [355, 158, 400, 192]
      BackgroundColor	      "cyan"
      Gain		      "Kd"
    }
    Block {
      BlockType		      Gain
      Name		      "Gain10"
      Position		      [360, 558, 405, 592]
      Gain		      "Kd"
    }
    Block {
      BlockType		      Gain
      Name		      "Gain11"
      Position		      [450, 483, 480, 517]
      Gain		      "Kp"
    }
    Block {
      BlockType		      Gain
      Name		      "Gain2"
      Position		      [455, 83, 485, 117]
      BackgroundColor	      "cyan"
      Gain		      "Kp"
    }
    Block {
      BlockType		      Gain
      Name		      "Gain3"
      Position		      [360, 245, 390, 275]
      Gain		      "Ki"
    }
    Block {
      BlockType		      Gain
      Name		      "Gain4"
      Position		      [360, 288, 405, 322]
      Gain		      "Kd"
    }
    Block {
      BlockType		      Gain
      Name		      "Gain5"
      Position		      [460, 213, 490, 247]
      Gain		      "Kp"
    }
    Block {
      BlockType		      Gain
      Name		      "Gain6"
      Position		      [360, 380, 390, 410]
      Gain		      "Ki"
    }
    Block {
      BlockType		      Gain
      Name		      "Gain7"
      Position		      [360, 423, 405, 457]
      Gain		      "Kd"
    }
    Block {
      BlockType		      Gain
      Name		      "Gain8"
      Position		      [460, 348, 490, 382]
      Gain		      "Kp"
    }
    Block {
      BlockType		      Gain
      Name		      "Gain9"
      Position		      [360, 515, 390, 545]
      Gain		      "Ki"
    }
    Block {
      BlockType		      Integrator
      Name		      "Integrator"
      Ports		      [1, 1]
      Position		      [310, 115, 340, 145]
      IgnoreLimit	      off
    }
    Block {
      BlockType		      Integrator
      Name		      "Integrator1"
      Ports		      [1, 1]
      Position		      [315, 245, 345, 275]
      IgnoreLimit	      off
    }
    Block {
      BlockType		      Integrator
      Name		      "Integrator2"
      Ports		      [1, 1]
      Position		      [315, 380, 345, 410]
      IgnoreLimit	      off
    }
    Block {
      BlockType		      Integrator
      Name		      "Integrator3"
      Ports		      [1, 1]
      Position		      [315, 515, 345, 545]
      IgnoreLimit	      off
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [5, 1]
      Position		      [645, 82, 650, 148]
      ShowName		      off
      Inputs		      "5"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux1"
      Ports		      [2, 1]
      Position		      [650, 164, 655, 231]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Neural Subsystem1\n5 Neurons in HL\n"
      Ports		      [1, 1]
      Position		      [185, 121, 245, 169]
      BackgroundColor	      "gray"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"Neural Subsystem1\n5 Neurons in HL\n"
	Location		[6, 193, 599, 359]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [25, 93, 55, 107]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Derivative
	  Name			  "Derivative1"
	  Position		  [100, 85, 130, 115]
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Ports			  [2, 1]
	  Position		  [295, 26, 300, 124]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Neural Network2"
	  Ports			  [1, 1]
	  Position		  [330, 55, 390, 95]
	  BackgroundColor	  "lightBlue"
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Neural Network2"
	    Location		    [320, 120, 900, 413]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "p{1}"
	      Position		      [40, 40, 60, 60]
	      BackgroundColor	      "magenta"
	      Port		      "1"
	      IconDisplay	      "Port number"
	      PortDimensions	      "2"
	      SampleTime	      "0.001"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      From
	      Name		      " a{1} "
	      Position		      [40, 120, 60, 140]
	      DialogController	      "Simulink.DDGSource"
	      GotoTag		      "feedback1"
	      MaskDisplay	      "plot(cos(0:.1:2*pi),sin(0:.1:2*pi))"
	      MaskIconFrame	      off
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Layer 1"
	      Ports		      [1, 1]
	      Position		      [190, 40, 250, 60]
	      BackgroundColor	      "lightBlue"
	      TreatAsAtomicUnit	      off
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      System {
		Name			"Layer 1"
		Location		[388, 107, 968, 400]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "p{1}"
		  Position		  [40, 40, 60, 60]
		  BackgroundColor	  "magenta"
		  Port			  "1"
		  IconDisplay		  "Port number"
		  PortDimensions	  "2"
		  SampleTime		  "0.001"
		  LatchInput		  off
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "Delays 1"
		  Ports			  [1, 1]
		  Position		  [100, 40, 120, 60]
		  BackgroundColor	  "lightBlue"
		  TreatAsAtomicUnit	  off
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  MaskDisplay		  "disp('TDL')"
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "Delays 1"
		    Location		    [480, 93, 1060, 386]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "p{1}"
		    Position		    [60, 40, 80, 60]
		    Orientation		    "down"
		    BackgroundColor	    "magenta"
		    NamePlacement	    "alternate"
		    Port		    "1"
		    IconDisplay		    "Port number"
		    PortDimensions	    "2"
		    SampleTime		    "0.001"
		    LatchInput		    off
		    }
		    Block {
		    BlockType		    Mux
		    Name		    "mux"
		    Ports		    [1, 1]
		    Position		    [200, 60, 240, 80]
		    BackgroundColor	    "lightBlue"
		    Inputs		    "1"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "pd{1,1}"
		    Position		    [300, 60, 320, 80]
		    BackgroundColor	    "magenta"
		    IconDisplay		    "Port number"
		    BusOutputAsStruct	    off
		    }
		    Line {
		    SrcBlock		    "p{1}"
		    SrcPort		    1
		    DstBlock		    "mux"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "mux"
		    SrcPort		    1
		    DstBlock		    "pd{1,1}"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "IW{1,1}"
		  Ports			  [1, 1]
		  Position		  [160, 40, 200, 60]
		  BackgroundColor	  "lightBlue"
		  TreatAsAtomicUnit	  off
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  MaskDisplay		  "disp('weight')"
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "IW{1,1}"
		    Location		    [326, 197, 906, 490]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "pd{1,1}"
		    Position		    [40, 180, 60, 200]
		    BackgroundColor	    "magenta"
		    Port		    "1"
		    IconDisplay		    "Port number"
		    PortDimensions	    "2"
		    SampleTime		    "0.001"
		    LatchInput		    off
		    }
		    Block {

⌨️ 快捷键说明

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