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

📄 fuzzycontroler.mdl

📁 matlab模糊控制模型和规则 能实现时延的较好补偿 课程设计一部分
💻 MDL
📖 第 1 页 / 共 2 页
字号:
      BlockType		      Step
      Time		      "1"
      Before		      "0"
      After		      "1"
      SampleTime	      "-1"
      VectorParams1D	      on
      ZeroCross		      on
    }
    Block {
      BlockType		      SubSystem
      ShowPortLabels	      on
      Permissions	      "ReadWrite"
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      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"
    }
    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		    "fuzzycontroler1"
    Location		    [256, 386, 933, 686]
    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		      "Derivative"
      Position		      [145, 125, 175, 155]
    }
    Block {
      BlockType		      Reference
      Name		      "Fuzzy Logic  controller"
      Ports		      [1, 1]
      Position		      [280, 74, 340, 126]
      FontName		      "Arial"
      SourceBlock	      "fuzblock/Fuzzy Logic \nController"
      SourceType	      "FIS"
      fis		      "fuzzy"
    }
    Block {
      BlockType		      Gain
      Name		      "Kc"
      Position		      [195, 125, 220, 155]
      NamePlacement	      "alternate"
      Gain		      "3"
    }
    Block {
      BlockType		      Gain
      Name		      "Ke"
      Position		      [180, 75, 205, 105]
      NamePlacement	      "alternate"
      Gain		      "40"
    }
    Block {
      BlockType		      Gain
      Name		      "Ku\n"
      Position		      [360, 85, 385, 115]
      Gain		      "4"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [2, 1]
      Position		      [250, 79, 255, 121]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [95, 80, 115, 100]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace"
      Position		      [545, 145, 605, 175]
      VariableName	      "y"
      MaxDataPoints	      "inf"
      SampleTime	      "-1"
      SaveFormat	      "Structure"
    }
    Block {
      BlockType		      Step
      Name		      "r\n"
      Position		      [45, 78, 70, 102]
      SampleTime	      "0"
    }
    Block {
      BlockType		      TransportDelay
      Name		      "固定时延"
      Position		      [475, 85, 505, 115]
      DelayTime		      "0.5"
    }
    Block {
      BlockType		      TransferFcn
      Name		      "控制对象"
      Position		      [400, 82, 460, 118]
      Numerator		      "[10]"
      Denominator	      "[4 3 1]"
    }
    Block {
      BlockType		      Scope
      Name		      "模拟示波器"
      Ports		      [1]
      Position		      [555, 84, 585, 116]
      Location		      [188, 365, 512, 604]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "10"
      DataFormat	      "StructureWithTime"
    }
    Line {
      SrcBlock		      "r\n"
      SrcPort		      1
      DstBlock		      "Sum"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum"
      SrcPort		      1
      Points		      [5, 0]
      Branch {
	DstBlock		"Ke"
	DstPort			1
      }
      Branch {
	Points			[0, 50]
	DstBlock		"Derivative"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Ke"
      SrcPort		      1
      DstBlock		      "Mux"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Kc"
      SrcPort		      1
      Points		      [5, 0; 0, -30]
      DstBlock		      "Mux"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Derivative"
      SrcPort		      1
      DstBlock		      "Kc"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Fuzzy Logic  controller"
      SrcPort		      1
      DstBlock		      "Ku\n"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Mux"
      SrcPort		      1
      DstBlock		      "Fuzzy Logic  controller"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Ku\n"
      SrcPort		      1
      DstBlock		      "控制对象"
      DstPort		      1
    }
    Line {
      SrcBlock		      "控制对象"
      SrcPort		      1
      DstBlock		      "固定时延"
      DstPort		      1
    }
    Line {
      SrcBlock		      "固定时延"
      SrcPort		      1
      Points		      [5, 0]
      Branch {
	DstBlock		"模拟示波器"
	DstPort			1
      }
      Branch {
	Points			[0, 60]
	Branch {
	  Points		  [0, 15; -410, 0]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Branch {
	  DstBlock		  "To Workspace"
	  DstPort		  1
	}
      }
    }
  }
}

⌨️ 快捷键说明

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