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

📄 pidb_fuzzy.mdl

📁 书籍代码:遗传演算法原理与应用_活用MATLAB(Source Code)
💻 MDL
📖 第 1 页 / 共 2 页
字号:
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      Grid		      "on"
      TimeRange		      "20"
      YMin		      "-2"
      YMax		      "1"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      on
      MaxDataPoints	      "50000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope1"
      Ports		      [1]
      Position		      [270, 134, 300, 166]
      Floating		      off
      Location		      [6, 264, 209, 422]
      Open		      on
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      Grid		      "on"
      TimeRange		      "20"
      YMin		      "-10000"
      YMax		      "20000"
      SaveToWorkspace	      off
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      on
      MaxDataPoints	      "50000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      SignalGenerator
      Name		      "Signal\nGenerator"
      Position		      [20, 65, 50, 95]
      WaveForm		      "square"
      Amplitude		      "1"
      Frequency		      "0.1"
      Units		      "Hertz"
      VectorParams1D	      on
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [80, 70, 100, 90]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Sum
      Name		      "Sum1"
      Ports		      [2, 1]
      Position		      [295, 210, 315, 230]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|++"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Sum
      Name		      "Sum2"
      Ports		      [2, 1]
      Position		      [300, 65, 320, 85]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace"
      Position		      [105, 15, 130, 35]
      VariableName	      "t"
      MaxDataPoints	      "inf"
      Decimation	      "1"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace1"
      Position		      [490, 70, 515, 90]
      VariableName	      "y"
      MaxDataPoints	      "inf"
      Decimation	      "1"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace4"
      Position		      [80, 140, 100, 160]
      VariableName	      "in"
      MaxDataPoints	      "inf"
      Decimation	      "1"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      TransferFcn
      Name		      "Transfer Fcn1\nof compensator"
      Position		      [335, 55, 395, 95]
      Numerator		      "[wn*wn]"
      Denominator	      "[1 2*zeta*wn]"
      AbsoluteTolerance	      "auto"
      Realization	      "auto"
    }
    Block {
      BlockType		      UnitDelay
      Name		      "Unit Delay"
      Position		      [285, 252, 305, 288]
      Orientation	      "left"
      X0		      "0"
      SampleTime	      "0.01"
      RTWStateStorageClass    "Auto"
    }
    Block {
      BlockType		      Outport
      Name		      "Out1"
      Position		      [360, 173, 390, 187]
      Port		      "1"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Block {
      BlockType		      Outport
      Name		      "Out2"
      Position		      [445, 148, 475, 162]
      Port		      "2"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Block {
      BlockType		      Outport
      Name		      "Out3"
      Position		      [135, 113, 165, 127]
      Port		      "3"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Line {
      SrcBlock		      "Clock"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	DstBlock		"To Workspace"
	DstPort			1
      }
      Branch {
	Points			[0, 160]
	Branch {
	  DstBlock		  "Relational\nOperator"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 80]
	  Branch {
	    DstBlock		    "Relational\nOperator1"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 30]
	    DstBlock		    "Display1"
	    DstPort		    1
	  }
	}
      }
    }
    Line {
      SrcBlock		      "Signal\nGenerator"
      SrcPort		      1
      Points		      [5, 0]
      Branch {
	DstBlock		"Sum"
	DstPort			1
      }
      Branch {
	Points			[0, -25; 85, 0; 0, -25; 40, 0]
	Branch {
	  DstBlock		  "Mux"
	  DstPort		  1
	}
	Branch {
	  DstBlock		  "Mux1"
	  DstPort		  1
	}
      }
      Branch {
	Points			[0, 40]
	Branch {
	  Points		  [0, 30]
	  DstBlock		  "To Workspace4"
	  DstPort		  1
	}
	Branch {
	  DstBlock		  "Out3"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Sum"
      SrcPort		      1
      Points		      [0, 0]
      Branch {
	DstBlock		"PID signals"
	DstPort			1
      }
      Branch {
	Points			[0, 90]
	DstBlock		"Abs"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Transfer Fcn1\nof compensator"
      SrcPort		      1
      DstBlock		      "Integrator"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Mux"
      SrcPort		      1
      DstBlock		      "Scope"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Mux1"
      SrcPort		      1
      DstBlock		      "Fuzzy Logic \nController"
      DstPort		      1
    }
    Line {
      SrcBlock		      "PID signals"
      SrcPort		      1
      DstBlock		      "Mux1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "PID signals"
      SrcPort		      2
      DstBlock		      "Mux1"
      DstPort		      3
    }
    Line {
      SrcBlock		      "PID signals"
      SrcPort		      3
      Points		      [10, 0]
      Branch {
	DstBlock		"Mux1"
	DstPort			4
      }
      Branch {
	Points			[0, 60]
	DstBlock		"Scope1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Integrator"
      SrcPort		      1
      Points		      [0, 5; 5, 0]
      Branch {
	DstBlock		"To Workspace1"
	DstPort			1
      }
      Branch {
	Points			[0, -30]
	DstBlock		"Mux"
	DstPort			2
      }
      Branch {
	Points			[0, 50; -35, 0]
	Branch {
	  Points		  [-105, 0]
	  Branch {
	    Points		    [-220, 0]
	    DstBlock		    "Sum"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "Sum2"
	    DstPort		    2
	  }
	}
	Branch {
	  Points		  [0, 25]
	  DstBlock		  "Out2"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Fuzzy Logic \nController"
      SrcPort		      1
      DstBlock		      "Sum2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum2"
      SrcPort		      1
      DstBlock		      "Transfer Fcn1\nof compensator"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Constant"
      SrcPort		      1
      DstBlock		      "Relational\nOperator"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Constant1"
      SrcPort		      1
      DstBlock		      "Relational\nOperator1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Relational\nOperator"
      SrcPort		      1
      Points		      [15, 0]
      DstBlock		      "Logical\nOperator"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Relational\nOperator1"
      SrcPort		      1
      Points		      [15, 0]
      DstBlock		      "Logical\nOperator"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Logical\nOperator"
      SrcPort		      1
      DstBlock		      "Product"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Abs"
      SrcPort		      1
      DstBlock		      "Gain"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Gain"
      SrcPort		      1
      Points		      [0, 20; -35, 0]
      DstBlock		      "Product"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Product"
      SrcPort		      1
      DstBlock		      "Sum1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum1"
      SrcPort		      1
      Points		      [5, 0]
      Branch {
	Points			[0, 50]
	DstBlock		"Unit Delay"
	DstPort			1
      }
      Branch {
	Points			[0, 0]
	Branch {
	  DstBlock		  "Display"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, -40]
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Unit Delay"
      SrcPort		      1
      Points		      [0, -25]
      DstBlock		      "Sum1"
      DstPort		      2
    }
    Annotation {
      Position		      [418, 324]
      Text		      "pidb_fuzzy.mdl. Apr. 6, 2001. use with gga_fis."
"m\nChou, PenChen. A PID-fuzzy Simulink Model\n***> run on matlab 6.0 ONLY"
    }
  }
}

⌨️ 快捷键说明

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