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

📄 twostepfuzzy.mdl

📁 模糊控制matlab
💻 MDL
📖 第 1 页 / 共 2 页
字号:
      SimViewingDevice	      off
      DataTypeOverride	      "UseLocalSettings"
      MinMaxOverflowLogging   "UseLocalSettings"
    }
    Block {
      BlockType		      Sum
      IconShape		      "rectangular"
      Inputs		      "++"
      ShowAdditionalParam     off
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Switch
      Criteria		      "u2 >= Threshold"
      Threshold		      "0"
      ShowAdditionalParam     off
      InputSameDT	      on
      OutDataTypeMode	      "Inherit via internal rule"
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      ZeroCross		      on
    }
    Block {
      BlockType		      ToWorkspace
      VariableName	      "simulink_output"
      MaxDataPoints	      "1000"
      Decimation	      "1"
      SampleTime	      "0"
    }
    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		    "twostepfuzzy"
    Location		    [2, 74, 1014, 724]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Derivative
      Name		      "Derivative1"
      Position		      [225, 328, 290, 402]
    }
    Block {
      BlockType		      Reference
      Name		      "Fuzzy Logic \nController1"
      Ports		      [1, 1]
      Position		      [535, 204, 635, 316]
      FontName		      "Arial"
      SourceBlock	      "fuzblock/Fuzzy Logic \nController"
      SourceType	      "FIS"
      fis		      "Untitled1112"
    }
    Block {
      BlockType		      Gain
      Name		      "Gain1"
      Position		      [235, 203, 295, 267]
      Gain		      "0.75"
    }
    Block {
      BlockType		      Gain
      Name		      "Gain2"
      Position		      [315, 329, 380, 401]
      Gain		      "0.075"
    }
    Block {
      BlockType		      Gain
      Name		      "Gain6"
      Position		      [655, 221, 730, 299]
      Gain		      "100"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux3"
      Ports		      [2, 1]
      Position		      [505, 210, 515, 305]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux4"
      Ports		      [2, 1]
      Position		      [860, 199, 870, 281]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope1"
      Ports		      [1]
      Position		      [910, 189, 1005, 281]
      Location		      [153, 227, 723, 597]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "yonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      YMin		      "-8.32667e-017"
      YMax		      "1.2"
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Step
      Name		      "Step1"
      Position		      [20, 215, 85, 295]
      SampleTime	      "0"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum1"
      Ports		      [2, 1]
      Position		      [120, 215, 195, 295]
      ShowName		      off
      Inputs		      "|+-"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace2"
      Position		      [915, 325, 1005, 405]
      VariableName	      "simout1"
      MaxDataPoints	      "inf"
      SampleTime	      "-1"
      SaveFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      TransferFcn
      Name		      "Transfer Fcn1"
      Position		      [745, 213, 830, 307]
      Denominator	      "[1 0.2 1]"
    }
    Block {
      BlockType		      Saturate
      Name		      "change2"
      Position		      [330, 200, 400, 270]
      UpperLimit	      "1"
      LowerLimit	      "-1"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
    }
    Block {
      BlockType		      Saturate
      Name		      "change3"
      Position		      [395, 329, 470, 401]
      UpperLimit	      "1"
      LowerLimit	      "-1"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
    }
    Line {
      SrcBlock		      "Step1"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	DstBlock		"Sum1"
	DstPort			1
      }
      Branch {
	Points			[0, -140; 745, 0]
	DstBlock		"Mux4"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Sum1"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	Points			[0, -20]
	DstBlock		"Gain1"
	DstPort			1
      }
      Branch {
	DstBlock		"Derivative1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Gain1"
      SrcPort		      1
      DstBlock		      "change2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Derivative1"
      SrcPort		      1
      DstBlock		      "Gain2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Gain2"
      SrcPort		      1
      DstBlock		      "change3"
      DstPort		      1
    }
    Line {
      SrcBlock		      "change2"
      SrcPort		      1
      DstBlock		      "Mux3"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Mux3"
      SrcPort		      1
      DstBlock		      "Fuzzy Logic \nController1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Fuzzy Logic \nController1"
      SrcPort		      1
      DstBlock		      "Gain6"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Gain6"
      SrcPort		      1
      DstBlock		      "Transfer Fcn1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Transfer Fcn1"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	DstBlock		"Mux4"
	DstPort			2
      }
      Branch {
	Points			[0, 205; -740, 0]
	DstBlock		"Sum1"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "change3"
      SrcPort		      1
      Points		      [5, 0; 0, -85]
      DstBlock		      "Mux3"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Mux4"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	Points			[0, -5]
	DstBlock		"Scope1"
	DstPort			1
      }
      Branch {
	Points			[0, 125]
	DstBlock		"To Workspace2"
	DstPort			1
      }
    }
  }
}

⌨️ 快捷键说明

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