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

📄 dualfuzzy.mdl

📁 针对纯时滞系统
💻 MDL
📖 第 1 页 / 共 3 页
字号:
      UpperSaturationLimit    "inf"
      LowerSaturationLimit    "-inf"
      ShowSaturationPort      off
      ShowStatePort	      off
      AbsoluteTolerance	      "auto"
      IgnoreLimit	      off
      ZeroCross		      on
    }
    Block {
      BlockType		      Mux
      Inputs		      "4"
      DisplayOption	      "none"
      UseBusObject	      off
      BusObject		      "BusObject"
      NonVirtualBus	      off
    }
    Block {
      BlockType		      Outport
      Port		      "1"
      UseBusObject	      off
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Block {
      BlockType		      Product
      Inputs		      "2"
      Multiplication	      "Element-wise(.*)"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Zero"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Saturate
      UpperLimit	      "0.5"
      LowerLimit	      "-0.5"
      LinearizeAsGain	      on
      ZeroCross		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Scope
      ModelBased	      off
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "-5"
      YMax		      "5"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      LimitDataPoints	      on
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "-1"
    }
    Block {
      BlockType		      "S-Function"
      FunctionName	      "system"
      SFunctionModules	      "''"
      PortCounts	      "[]"
    }
    Block {
      BlockType		      SubSystem
      ShowPortLabels	      on
      Permissions	      "ReadWrite"
      PermitHierarchicalResolution "All"
      SystemSampleTime	      "-1"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      SimViewingDevice	      off
      DataTypeOverride	      "UseLocalSettings"
      MinMaxOverflowLogging   "UseLocalSettings"
    }
    Block {
      BlockType		      Sum
      IconShape		      "rectangular"
      Inputs		      "++"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      TransferFcn
      Numerator		      "[1]"
      Denominator	      "[1 2 1]"
      AbsoluteTolerance	      "auto"
      Realization	      "auto"
    }
    Block {
      BlockType		      TransportDelay
      DelayTime		      "1"
      InitialOutput	      "0"
      BufferSize	      "1024"
      FixedBuffer	      off
      TransDelayFeedthrough   off
      PadeOrder		      "0"
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "arial"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "arial"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "SHIY2"
    Location		    [2, 81, 1014, 719]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Constant
      Name		      "Constant"
      Position		      [350, 195, 380, 225]
      Value		      "180"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant1"
      Position		      [350, 245, 380, 275]
      NamePlacement	      "alternate"
      ShowName		      off
      Value		      "230"
    }
    Block {
      BlockType		      Derivative
      Name		      "Derivative"
      Position		      [470, 195, 500, 225]
    }
    Block {
      BlockType		      Derivative
      Name		      "Derivative1"
      Position		      [700, 215, 730, 245]
    }
    Block {
      BlockType		      SubSystem
      Name		      "FC"
      Ports		      [2, 3]
      Position		      [520, 139, 555, 231]
      NamePlacement	      "alternate"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskHideContents	      off
      System {
	Name			"FC"
	Location		[20, 184, 1032, 822]
	Open			on
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "e"
	  Position		  [225, 93, 255, 107]
	  NamePlacement		  "alternate"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "de"
	  Position		  [225, 143, 255, 157]
	  Port			  "2"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Reference
	  Name			  " "
	  Ports			  [1, 1]
	  Position		  [430, 106, 490, 154]
	  NamePlacement		  "alternate"
	  SourceBlock		  "fuzblock/Fuzzy Logic \nController"
	  SourceType		  "FIS"
	  ShowPortLabels	  on
	  fis			  "fuzzyFC7"
	}
	Block {
	  BlockType		  Demux
	  Name			  "Demux"
	  Ports			  [1, 3]
	  Position		  [515, 54, 520, 206]
	  BackgroundColor	  "black"
	  ShowName		  off
	  Outputs		  "3"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [2, 1]
	  Position		  [405, 111, 410, 149]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Saturate
	  Name			  "Saturation"
	  Position		  [335, 85, 365, 115]
	  UpperLimit		  "6"
	  LowerLimit		  "-6"
	}
	Block {
	  BlockType		  Saturate
	  Name			  "Saturation1"
	  Position		  [335, 135, 365, 165]
	  UpperLimit		  "6"
	  LowerLimit		  "-6"
	}
	Block {
	  BlockType		  Saturate
	  Name			  "Saturation2"
	  Position		  [535, 65, 565, 95]
	  UpperLimit		  "6"
	  LowerLimit		  "-6"
	}
	Block {
	  BlockType		  Saturate
	  Name			  "Saturation3"
	  Position		  [535, 115, 565, 145]
	  UpperLimit		  "6"
	  LowerLimit		  "-6"
	}
	Block {
	  BlockType		  Saturate
	  Name			  "Saturation4"
	  Position		  [535, 165, 565, 195]
	  UpperLimit		  "6"
	  LowerLimit		  "-6"
	}
	Block {
	  BlockType		  Gain
	  Name			  "kc"
	  Position		  [280, 135, 315, 165]
	  Gain			  "0.1"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Gain
	  Name			  "ke"
	  Position		  [280, 83, 310, 117]
	  Gain			  "0.2"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Gain
	  Name			  "ke1"
	  Position		  [585, 59, 630, 101]
	  Gain			  "0.01"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Gain
	  Name			  "ke2"
	  Position		  [585, 109, 630, 151]
	  Gain			  "0.01"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Gain
	  Name			  "ke3"
	  Position		  [590, 159, 635, 201]
	  Gain			  "0.001"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Outport
	  Name			  "kp"
	  Position		  [650, 73, 680, 87]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "ki\n"
	  Position		  [650, 123, 680, 137]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "kd"
	  Position		  [650, 173, 680, 187]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  " "
	  SrcPort		  1
	  DstBlock		  "Demux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Saturation"
	  SrcPort		  1
	  Points		  [10, 0; 0, 20]
	  DstBlock		  "Mux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "e"
	  SrcPort		  1
	  DstBlock		  "ke"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "de"
	  SrcPort		  1
	  Points		  [0, 0]
	  DstBlock		  "kc"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "kc"
	  SrcPort		  1
	  DstBlock		  "Saturation1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "ke"
	  SrcPort		  1
	  DstBlock		  "Saturation"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Saturation1"
	  SrcPort		  1
	  Points		  [10, 0; 0, -10]
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  DstBlock		  " "
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  1
	  DstBlock		  "Saturation2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  2
	  DstBlock		  "Saturation3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  3
	  DstBlock		  "Saturation4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Saturation2"
	  SrcPort		  1
	  DstBlock		  "ke1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "ke1"
	  SrcPort		  1
	  DstBlock		  "kp"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Saturation3"
	  SrcPort		  1
	  DstBlock		  "ke2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "ke2"
	  SrcPort		  1
	  DstBlock		  "ki\n"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Saturation4"
	  SrcPort		  1
	  DstBlock		  "ke3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "ke3"
	  SrcPort		  1
	  DstBlock		  "kd"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "FE"
      Ports		      [2, 1]
      Position		      [830, 265, 890, 305]
      Orientation	      "up"
      NamePlacement	      "alternate"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskHideContents	      off
      System {
	Name			"FE"
	Location		[59, 307, 904, 562]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "ub"
	  Position		  [25, 33, 55, 47]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "ua"
	  Position		  [25, 133, 55, 147]
	  Port			  "2"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  DiscreteTransferFcn
	  Name			  "Discrete\nTransfer Fcn"
	  Position		  [85, 109, 200, 171]
	  Numerator		  "[1 1 1 1 1 1 1 1 1 1]"
	  Denominator		  "[1 0 0 0 0 0 0 0 0 0 0]"
	}
	Block {
	  BlockType		  Reference
	  Name			  "FE"
	  Ports			  [1, 1]
	  Position		  [460, 56, 520, 104]
	  SourceBlock		  "fuzblock/Fuzzy Logic \nController"
	  SourceType		  "FIS"
	  ShowPortLabels	  on
	  fis			  "fuzzyFE"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [2, 1]
	  Position		  [420, 61, 425, 99]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"

⌨️ 快捷键说明

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