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

📄 ex38s1.mdl

📁 其中提到遺傳學的程式碼與應用提供給次淚相向的研究者參考下載
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	ModelBrowserWidth	200
	ScreenColor		"automatic"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Inport
	  Name			  "ek"
	  Position		  [50, 33, 80, 47]
	  Port			  "1"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Inport
	  Name			  "dek"
	  Position		  [35, 63, 65, 77]
	  Port			  "2"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Reference
	  Name			  "Fuzzy Logic \nController"
	  Ports			  [1, 1]
	  Position		  [245, 35, 280, 75]
	  FontName		  "Arial"
	  SourceBlock		  "fuzblock/Fuzzy Logic \nController"
	  SourceType		  "FIS"
	  fis			  "nn_flc"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [115, 25, 145, 55]
	  Gain			  "Se"
	  Multiplication	  "Element-wise(K.*u)"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [90, 55, 150, 85]
	  Gain			  "-Sde"
	  Multiplication	  "Element-wise(K.*u)"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain2"
	  Position		  [295, 40, 335, 70]
	  Gain			  "dSu"
	  Multiplication	  "Element-wise(K.*u)"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [2, 1]
	  Position		  [220, 26, 225, 84]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Saturate
	  Name			  "Saturation"
	  Position		  [170, 25, 200, 45]
	  UpperLimit		  "0.95"
	  LowerLimit		  "-0.95"
	  LinearizeAsGain	  on
	}
	Block {
	  BlockType		  Saturate
	  Name			  "Saturation1"
	  Position		  [170, 60, 200, 80]
	  UpperLimit		  "0.95"
	  LowerLimit		  "-0.95"
	  LinearizeAsGain	  on
	}
	Block {
	  BlockType		  Outport
	  Name			  "duk"
	  Position		  [365, 48, 395, 62]
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  DstBlock		  "Fuzzy Logic \nController"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  DstBlock		  "Saturation1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  Points		  [5, 0]
	  DstBlock		  "Saturation"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fuzzy Logic \nController"
	  SrcPort		  1
	  DstBlock		  "Gain2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "ek"
	  SrcPort		  1
	  DstBlock		  "Gain"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain2"
	  SrcPort		  1
	  DstBlock		  "duk"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "dek"
	  SrcPort		  1
	  DstBlock		  "Gain1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Saturation"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Saturation1"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  2
	}
      }
    }
    Block {
      BlockType		      Gain
      Name		      "Gain"
      Position		      [220, 245, 270, 275]
      Gain		      "10"
      Multiplication	      "Element-wise(K.*u)"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Mux
      Name		      "Mux1"
      Ports		      [2, 1]
      Position		      [465, 31, 470, 69]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      RelationalOperator
      Name		      "Relational\nOperator"
      Position		      [140, 372, 170, 403]
      Operator		      ">"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [1]
      Position		      [465, 164, 495, 196]
      Floating		      off
      Location		      [6, 60, 238, 215]
      Open		      on
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      Grid		      "on"
      TimeRange		      "150"
      YMin		      "-0.5"
      YMax		      "1"
      SaveToWorkspace	      off
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      on
      MaxDataPoints	      "50000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Stop
      Name		      "Stop Simulation"
      Position		      [215, 372, 250, 408]
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [110, 32, 130, 63]
      IconShape		      "rectangular"
      Inputs		      "+-"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Sum
      Name		      "Sum1"
      Ports		      [2, 1]
      Position		      [330, 97, 350, 128]
      IconShape		      "rectangular"
      Inputs		      "++"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Sum
      Name		      "Sum2"
      Ports		      [4, 1]
      Position		      [170, 236, 190, 284]
      IconShape		      "rectangular"
      Inputs		      "++++"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace"
      Position		      [130, 114, 150, 136]
      VariableName	      "t"
      MaxDataPoints	      "inf"
      Decimation	      "1"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace1"
      Position		      [465, 119, 485, 141]
      VariableName	      "Y"
      MaxDataPoints	      "inf"
      Decimation	      "1"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      TransferFcn
      Name		      "Transfer Fcn"
      Position		      [380, 32, 440, 68]
      Numerator		      "[2]"
      Denominator	      "[1 3 2]"
      Realization	      "auto"
      AbsoluteTolerance	      "auto"
    }
    Block {
      BlockType		      UnitDelay
      Name		      "Unit Delay\nTs=0.01"
      Position		      [325, 145, 360, 185]
      Orientation	      "left"
      X0		      "0"
      SampleTime	      "0.01"
    }
    Block {
      BlockType		      ZeroOrderHold
      Name		      "Zero-Order\nHold7"
      Position		      [75, 110, 105, 140]
      SampleTime	      "0.01"
    }
    Block {
      BlockType		      Outport
      Name		      "Out1"
      Position		      [305, 28, 335, 42]
      Port		      "1"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Block {
      BlockType		      Outport
      Name		      "Out2"
      Position		      [250, 103, 280, 117]
      Port		      "2"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Block {
      BlockType		      Outport
      Name		      "Out4"
      Position		      [315, 308, 345, 322]
      Port		      "3"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Block {
      BlockType		      Outport
      Name		      "Out3"
      Position		      [215, 348, 245, 362]
      Port		      "4"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Line {
      SrcBlock		      "Clock"
      SrcPort		      1
      DstBlock		      "Zero-Order\nHold7"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Zero-Order\nHold7"
      SrcPort		      1
      Points		      [5, 0]
      Branch {
	DstBlock		"To Workspace"
	DstPort			1
      }
      Branch {
	Points			[0, 50; -90, 0; 0, 30]
	Branch {
	  Points		  [0, 45]
	  Branch {
	    Points		    [0, 40]
	    Branch {
	      Points		      [0, 40]
	      DstBlock		      "Abs Error Subsystem"
	      DstPort		      2
	    }
	    Branch {
	      DstBlock		      "Abs Error Subsystem1"
	      DstPort		      2
	    }
	  }
	  Branch {
	    DstBlock		    "Abs Error Subsystem2"
	    DstPort		    2
	  }
	}
	Branch {
	  DstBlock		  "Abs Error Subsystem3"
	  DstPort		  2
	}
      }
    }
    Line {
      SrcBlock		      "Band-Limited\nWhite Noise"
      SrcPort		      1
      Points		      [30, 0]
      Branch {
	DstBlock		"Sum"
	DstPort			1
      }
      Branch {
	Points			[0, -25; 195, 0]
	Branch {
	  Points		  [160, 0]
	  DstBlock		  "Mux1"
	  DstPort		  1
	}
	Branch {
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Transfer Fcn"
      SrcPort		      1
      Points		      [5, 0; 0, 10]
      Branch {
	DstBlock		"Mux1"
	DstPort			2
      }
      Branch {
	Points			[0, 30; -230, 0]
	Branch {
	  Points		  [0, 20]
	  DstBlock		  "Out2"
	  DstPort		  1
	}
	Branch {
	  Points		  [-130, 0; 0, -35]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
      }
    }
    Line {
      SrcBlock		      "Sum"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	Points			[15, 0]
	Branch {
	  Points		  [0, -20; 55, 0]
	  DstBlock		  "Fuzzy Control Subsystem"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 15]
	  DstBlock		  "Derivative"
	  DstPort		  1
	}
      }
      Branch {
	Points			[0, 45; -125, 0; 0, 95]
	Branch {
	  Points		  [0, 45]
	  Branch {
	    Points		    [0, 40]
	    Branch {
	      Points		      [0, 40]
	      DstBlock		      "Abs Error Subsystem"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, 0]
	      DstBlock		      "Abs Error Subsystem1"
	      DstPort		      1
	    }
	  }
	  Branch {
	    DstBlock		    "Abs Error Subsystem2"
	    DstPort		    1
	  }
	}
	Branch {
	  DstBlock		  "Abs Error Subsystem3"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Derivative"
      SrcPort		      1
      Points		      [5, 0]
      DstBlock		      "Fuzzy Control Subsystem"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Mux1"
      SrcPort		      1
      Points		      [15, 0; 0, 50; -95, 0; 0, 30; 30, 0]
      Branch {
	DstBlock		"To Workspace1"
	DstPort			1
      }
      Branch {
	Points			[0, 50]
	DstBlock		"Scope"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Fuzzy Control Subsystem"
      SrcPort		      1
      Points		      [10, 0; 0, 55]
      DstBlock		      "Sum1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum1"
      SrcPort		      1
      Points		      [5, 0; 0, -15]
      Branch {
	Points			[15, 0]
	DstBlock		"Unit Delay\nTs=0.01"
	DstPort			1
      }
      Branch {
	Points			[0, -50]
	DstBlock		"Transfer Fcn"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Unit Delay\nTs=0.01"
      SrcPort		      1
      Points		      [-5, 0]
      DstBlock		      "Sum1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Sum2"
      SrcPort		      1
      DstBlock		      "Gain"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Abs Error Subsystem3"
      SrcPort		      1
      Points		      [10, 0; 0, 45]
      DstBlock		      "Sum2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Abs Error Subsystem2"
      SrcPort		      1
      Points		      [0, 10]
      DstBlock		      "Sum2"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Abs Error Subsystem1"
      SrcPort		      1
      Points		      [15, 0; 0, -20]
      DstBlock		      "Sum2"
      DstPort		      3
    }
    Line {
      SrcBlock		      "Abs Error Subsystem"
      SrcPort		      1
      Points		      [35, 0]
      DstBlock		      "Sum2"
      DstPort		      4
    }
    Line {
      SrcBlock		      "Gain"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	DstBlock		"Display"
	DstPort			1
      }
      Branch {
	Points			[0, 55]
	Branch {
	  DstBlock		  "Out4"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 25; -160, 0]
	  DstBlock		  "Relational\nOperator"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Constant"
      SrcPort		      1
      DstBlock		      "Relational\nOperator"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Relational\nOperator"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	DstBlock		"Stop Simulation"
	DstPort			1
      }
      Branch {
	Points			[0, -35]
	DstBlock		"Out3"
	DstPort			1
      }
    }
    Annotation {
      Position		      [227, 207]
      Text		      "ex38s1.mdl. Chou, Penchen\nAn example of King's"
" on P.188.\nJuly 16, 2001. Test OK."
    }
    Annotation {
      Position		      [358, 36]
      Text		      "u[k]"
    }
    Annotation {
      Position		      [308, 177]
      Text		      "u[k-1]"
    }
  }
}

⌨️ 快捷键说明

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