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

📄 fuzzy_lookup_example2.mdl

📁 fuzzy system matlap simulation
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	  Position		  [105, 94, 155, 136]
	  BackgroundColor	  "green"
	  DropShadow		  on
	  ShowName		  off
	  FontName		  "Times New Roman"
	  FontSize		  14
	  FontWeight		  "bold"
	  Gain			  "2"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Gain
	  Name			  "error gain1"
	  Position		  [160, 34, 210, 76]
	  BackgroundColor	  "green"
	  DropShadow		  on
	  ShowName		  off
	  FontName		  "Times New Roman"
	  FontSize		  14
	  FontWeight		  "bold"
	  Gain			  ".1"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  From
	  Name			  "x1"
	  Position		  [30, 101, 70, 129]
	  BackgroundColor	  "green"
	  DropShadow		  on
	  ShowName		  off
	  DialogController	  "Simulink.DDGSource"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "x1"
	}
	Block {
	  BlockType		  Goto
	  Name			  "x2"
	  Position		  [365, 70, 405, 100]
	  BackgroundColor	  "green"
	  DropShadow		  on
	  DialogController	  "Simulink.DDGSource"
	  GotoTag		  "x1"
	  TagVisibility		  "local"
	}
	Block {
	  BlockType		  From
	  Name			  "x3"
	  Position		  [25, 41, 65, 69]
	  BackgroundColor	  "green"
	  DropShadow		  on
	  ShowName		  off
	  DialogController	  "Simulink.DDGSource"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "x1"
	}
	Block {
	  BlockType		  Outport
	  Name			  "x"
	  Position		  [390, 163, 420, 177]
	  BackgroundColor	  "green"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "x3"
	  SrcPort		  1
	  DstBlock		  "Math\nFunction"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "x1"
	  SrcPort		  1
	  DstBlock		  "error gain"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Math\nFunction"
	  SrcPort		  1
	  DstBlock		  "error gain1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "error gain"
	  SrcPort		  1
	  Points		  [60, 0]
	  DstBlock		  "Add2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Add2"
	  SrcPort		  1
	  Points		  [0, -25]
	  DstBlock		  "Integrator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Integrator"
	  SrcPort		  1
	  Points		  [0, 0; 5, 0]
	  Branch {
	    DstBlock		    "x2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 85]
	    DstBlock		    "x"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "error gain1"
	  SrcPort		  1
	  DstBlock		  "Add2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "U"
	  SrcPort		  1
	  DstBlock		  "Add2"
	  DstPort		  3
	}
      }
    }
    Block {
      BlockType		      Gain
      Name		      "Output gain"
      Position		      [675, 274, 750, 326]
      BackgroundColor	      "red"
      DropShadow	      on
      FontName		      "Times New Roman"
      FontSize		      14
      FontWeight	      "bold"
      Gain		      "40"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Constant
      Name		      "Reference Point"
      Position		      [1025, 235, 1055, 265]
      FontName		      "Times New Roman"
      FontSize		      12
      FontWeight	      "bold"
      Value		      "10"
    }
    Block {
      BlockType		      Constant
      Name		      "Reference Point\n"
      Position		      [110, 225, 140, 255]
      FontName		      "Times New Roman"
      FontSize		      14
      FontWeight	      "bold"
      Value		      "10"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope1"
      Ports		      [1]
      Position		      [1150, 309, 1180, 341]
      ShowName		      off
      Location		      [5, 54, 1925, 1173]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "yonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      YMin		      "5.75"
      YMax		      "10.25"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Gain
      Name		      "error gain"
      Position		      [415, 239, 465, 281]
      BackgroundColor	      "red"
      DropShadow	      on
      FontName		      "Times New Roman"
      FontSize		      14
      FontWeight	      "bold"
      Gain		      "10"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Gain
      Name		      "error_rate gain\n"
      Position		      [420, 314, 470, 356]
      BackgroundColor	      "red"
      DropShadow	      on
      FontName		      "Times New Roman"
      FontSize		      14
      FontWeight	      "bold"
      Gain		      ".001"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Line {
      SrcBlock		      "Reference Point\n"
      SrcPort		      1
      DstBlock		      "Add"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Add"
      SrcPort		      1
      Points		      [0, 0; 5, 0]
      Branch {
	DstBlock		"error gain"
	DstPort			1
      }
      Branch {
	Points			[0, 75]
	DstBlock		"Derivative"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Derivative"
      SrcPort		      1
      DstBlock		      "error_rate gain\n"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Memory2"
      SrcPort		      1
      DstBlock		      "Add2"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Output gain"
      SrcPort		      1
      DstBlock		      "Add2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "error gain"
      SrcPort		      1
      DstBlock		      "FUZZY_lookup_table"
      DstPort		      1
    }
    Line {
      SrcBlock		      "error_rate gain\n"
      SrcPort		      1
      DstBlock		      "FUZZY_lookup_table"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Add2"
      SrcPort		      1
      Points		      [45, 0]
      DstBlock		      "Non-linear Plant"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Non-linear Plant"
      SrcPort		      1
      Points		      [35, 0]
      Branch {
	Points			[0, 170; -820, 0; 0, -230]
	DstBlock		"Add"
	DstPort			2
      }
      Branch {
	Points			[90, 0]
	DstBlock		"Mux"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Reference Point"
      SrcPort		      1
      Points		      [35, 0; 0, 65]
      DstBlock		      "Mux"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Mux"
      SrcPort		      1
      DstBlock		      "Scope1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "FUZZY_lookup_table"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	DstBlock		"Output gain"
	DstPort			1
      }
      Branch {
	Points			[0, 75]
	DstBlock		"Memory2"
	DstPort			1
      }
    }
    Annotation {
      Position		      [510, 505]
    }
    Annotation {
      Name		      "To change the rise time, settling time and the "
"steady state error, play around with the gains in red"
      Position		      [962, 53]
      DropShadow	      on
      FontName		      "Times New Roman"
      FontSize		      14
    }
  }
}

⌨️ 快捷键说明

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