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

📄 pid_turning.mdl

📁 先进PID控制matlab仿真(第二版) 1、所有仿真算法按章归类
💻 MDL
📖 第 1 页 / 共 3 页
字号:
      BlockType		      SubSystem
      Name		      "Scope1"
      Ports		      [1]
      Position		      [1155, 228, 1185, 262]
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      System {
	Name			"Scope1"
	Location		[480, 93, 1016, 386]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Step"
      Ports		      []
      Position		      [15, 210, 45, 240]
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      System {
	Name			"Step"
	Location		[480, 93, 1016, 386]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Step2"
      Ports		      []
      Position		      [745, 15, 775, 45]
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      System {
	Name			"Step2"
	Location		[480, 93, 1016, 386]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Switch"
      Ports		      []
      Position		      [755, 70, 785, 100]
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      System {
	Name			"Switch"
	Location		[480, 93, 1016, 386]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Transfer Fcn"
      Ports		      []
      Position		      [810, 142, 870, 178]
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      System {
	Name			"Transfer Fcn"
	Location		[480, 93, 1016, 386]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Transport\nDelay1"
      Ports		      []
      Position		      [885, 145, 915, 175]
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      System {
	Name			"Transport\nDelay1"
	Location		[480, 93, 1016, 386]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Zero-Pole1"
      Ports		      []
      Position		      [865, 12, 925, 48]
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      System {
	Name			"Zero-Pole1"
	Location		[480, 93, 1016, 386]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "d"
      Ports		      [2, 1]
      Position		      [475, 437, 505, 468]
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      System {
	Name			"d"
	Location		[480, 93, 1016, 386]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "i"
      Ports		      [2, 1]
      Position		      [475, 387, 505, 418]
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      System {
	Name			"i"
	Location		[480, 93, 1016, 386]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "p"
      Ports		      [2, 1]
      Position		      [475, 327, 505, 358]
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      System {
	Name			"p"
	Location		[480, 93, 1016, 386]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
      }
    }
    Line {
      Points		      [0, 0]
      DstBlock		      "Add1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Add1"
      SrcPort		      1
      Points		      [15, 0; 0, 0]
      Branch {
	Points			[0, -100]
	DstBlock		"PID Controller"
	DstPort			1
      }
      Branch {
	Points			[0, 0]
	Branch {
	  Points		  [35, 0]
	  Branch {
	    Points		    [50, 0]
	  }
	  Branch {
	    Points		    [0, -40]
	  }
	  Branch {
	    Points		    [0, 115]
	    Branch {
	      Points		      [0, 60]
	      Branch {
		Points			[0, 0]
		DstBlock		"Integrator"
		DstPort			1
	      }
	      Branch {
		Points			[0, 50]
	      }
	    }
	    Branch {
	      Points		      [0, 0]
	      DstBlock		      "p"
	      DstPort		      2
	    }
	  }
	}
	Branch {
	  Points		  [0, -150]
	}
      }
    }
    Line {
      Points		      [30, 20; 460, 460]
      DstBlock		      "d"
      DstPort		      2
    }
    Line {
      Points		      [0, 0]
      DstBlock		      "Mux"
      DstPort		      1
    }
    Line {
      Points		      [40, 15; 285, 215]
      DstBlock		      "Mux"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Mux"
      SrcPort		      1
      DstBlock		      "Fuzzy Logic \nController"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Fuzzy Logic \nController"
      SrcPort		      1
      DstBlock		      "Demux"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Demux"
      SrcPort		      1
      Points		      [20, 0; 0, 140]
      DstBlock		      "p"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Demux"
      SrcPort		      2
      Points		      [10, 0; 0, 190]
      DstBlock		      "i"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Demux"
      SrcPort		      3
      Points		      [0, 230]
      DstBlock		      "d"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Integrator"
      SrcPort		      1
      DstBlock		      "i"
      DstPort		      2
    }
    Line {
      SrcBlock		      "i"
      SrcPort		      1
      Points		      [10, 0; 0, 10]
      DstBlock		      "Add"
      DstPort		      2
    }
    Line {
      SrcBlock		      "p"
      SrcPort		      1
      Points		      [95, 0; 0, 60]
      DstBlock		      "Add"
      DstPort		      1
    }
    Line {
      SrcBlock		      "d"
      SrcPort		      1
      Points		      [100, 0]
      DstBlock		      "Add"
      DstPort		      3
    }
    Line {
      SrcBlock		      "Add"
      SrcPort		      1
      Points		      [10, 0; 0, -15]
    }
    Line {
      SrcBlock		      "PID Controller"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	Points			[85, 0]
      }
      Branch {
	Points			[-5, 0]
	DstBlock		"Scope"
	DstPort			1
      }
    }
    Line {
      Points		      [0, 75; 5, -75; 0, -325]
    }
    Line {
      Points		      [25, 0; 0, 220]
      DstBlock		      "Add2"
      DstPort		      1
    }
    Line {
      Points		      [30, 0; 0, 105]
      DstBlock		      "Add2"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Add2"
      SrcPort		      1
      Points		      [25, 0; 0, 0]
      Branch {
	Points			[50, 0]
	DstBlock		"Display"
	DstPort			1
      }
      Branch {
	Points			[0, 260; -970, 0]
	DstBlock		"Add1"
	DstPort			2
      }
      Branch {
	Labels			[1, 0]
	Points			[0, -15]
	DstBlock		"Scope1"
	DstPort			1
      }
    }
  }
}
# Finite State Machines
#
#    Stateflow Version 6.7 (R2007b) dated Aug  7 2007, 16:48:14
#
#


Stateflow {
  machine {
    id			    1
    name		    "fuzzypid"
    created		    "24-May-2008 15:08:23"
    isLibrary		    0
    firstTarget		    2
    sfVersion		    67014000.000001
  }
  target {
    id			    2
    name		    "sfun"
    description		    "Default Simulink S-Function Target."
    machine		    1
    linkNode		    [1 0 0]
  }
}

⌨️ 快捷键说明

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