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

📄 pneumaticsystem_fangzhen.mdl

📁 在MATLAB的simulink环境下的气动位置系统仿真模型。
💻 MDL
📖 第 1 页 / 共 5 页
字号:
		Points			[0, 50]
		Branch {
		  DstBlock		  "Gain6"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 35; 340, 0; 0, -225]
		  DstBlock		  "Look-Up\nTable"
		  DstPort		  1
		}
	      }
	    }
	    Branch {
	      DstBlock		      "Gain2"
	      DstPort		      1
	    }
	  }
	  Branch {
	    DstBlock		    "Switch1"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "F1"
	  SrcPort		  1
	  DstBlock		  "Sum2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain2"
	  SrcPort		  1
	  DstBlock		  "Sum2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Gain3"
	  SrcPort		  1
	  DstBlock		  "Integrator1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain6"
	  SrcPort		  1
	  DstBlock		  "Derivative1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Integrator1"
	  SrcPort		  1
	  DstBlock		  "Sum2"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Derivative1"
	  SrcPort		  1
	  DstBlock		  "Sum2"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "Switch1"
	  SrcPort		  1
	  DstBlock		  "Switch"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  DstBlock		  "Switch4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Switch"
	  SrcPort		  1
	  Points		  [35, 0]
	  Branch {
	    DstBlock		    "Switch4"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 30]
	    DstBlock		    "Switch4"
	    DstPort		    3
	  }
	}
	Line {
	  SrcBlock		  "Constant2"
	  SrcPort		  1
	  DstBlock		  "Switch5"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Switch4"
	  SrcPort		  1
	  Points		  [35, 0]
	  Branch {
	    DstBlock		    "Switch5"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, -30]
	    DstBlock		    "Switch5"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Switch5"
	  SrcPort		  1
	  DstBlock		  "u"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  Points		  [40, 0; 0, 110]
	  DstBlock		  "Switch1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum2"
	  SrcPort		  1
	  Points		  [40, 0; 0, -90]
	  DstBlock		  "Switch1"
	  DstPort		  3
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "摩擦力子系统"
      Ports		      [3, 1]
      Position		      [215, 236, 280, 274]
      ShowPortLabels	      on
      Permissions	      "ReadWrite"
      TreatAsAtomicUnit	      off
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      SimViewingDevice	      off
      System {
	Name			"摩擦力子系统"
	Location		[499, 109, 966, 508]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "p1"
	  Position		  [15, 283, 45, 297]
	  Port			  "1"
	  PortDimensions	  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Inport
	  Name			  "p2"
	  Position		  [15, 318, 45, 332]
	  Port			  "2"
	  PortDimensions	  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Inport
	  Name			  "v"
	  Position		  [15, 108, 45, 122]
	  Port			  "3"
	  PortDimensions	  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn"
	  Position		  [115, 295, 175, 325]
	  Expr			  "u[1]*1.9628e-3-u[2]*1.6485e-3"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [215, 250, 245, 280]
	  Gain			  "1"
	  Multiplication	  "Element-wise(K.*u)"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [215, 340, 245, 370]
	  Gain			  "-1"
	  Multiplication	  "Element-wise(K.*u)"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Lookup
	  Name			  "Look-Up\nTable"
	  Position		  [145, 94, 200, 136]
	  InputValues		  "[0  0.005 0.03 1]"
	  OutputValues		  "[30 30 20 209]"
	}
	Block {
	  BlockType		  Lookup
	  Name			  "Look-Up\nTable1"
	  Position		  [145, 164, 200, 206]
	  InputValues		  "[-1 -0.03 -0.005 0]"
	  OutputValues		  "[-209 -20 -30 -30]"
	}
	Block {
	  BlockType		  Lookup
	  Name			  "Look-Up\nTable2"
	  Position		  [130, 23, 180, 67]
	  InputValues		  "[-1 -0.000001 0 0.000001 1]"
	  OutputValues		  "[2 2 3 1 1]"
	}
	Block {
	  BlockType		  MultiPortSwitch
	  Name			  "Multiport\nSwitch"
	  Ports			  [4, 1]
	  Position		  [335, 12, 365, 288]
	  Inputs		  "3"
	  		  
	   
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [2, 1]
	  Position		  [80, 271, 85, 344]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Rounding
	  Name			  "Rounding\nFunction"
	  Position		  [230, 30, 260, 60]
	  Operator		  "floor"
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch"
	  Position		  [265, 243, 290, 377]
	  		  ""
	  Threshold		  "0"
	  		  
	   
	}
	Block {
	  BlockType		  Outport
	  Name			  "Ff"
	  Position		  [410, 142, 440, 158]
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "Look-Up\nTable2"
	  SrcPort		  1
	  DstBlock		  "Rounding\nFunction"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Look-Up\nTable"
	  SrcPort		  1
	  DstBlock		  "Multiport\nSwitch"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Look-Up\nTable1"
	  SrcPort		  1
	  DstBlock		  "Multiport\nSwitch"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  DstBlock		  "Fcn"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fcn"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    Labels		    [1, 0]
	    DstBlock		    "Switch"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, -45]
	    DstBlock		    "Gain"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 45]
	    DstBlock		    "Gain1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Switch"
	  SrcPort		  1
	  Points		  [15, 0; 0, -55]
	  DstBlock		  "Multiport\nSwitch"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "Multiport\nSwitch"
	  SrcPort		  1
	  DstBlock		  "Ff"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "p1"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "p2"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "v"
	  SrcPort		  1
	  Points		  [40, 0]
	  Branch {
	    DstBlock		    "Look-Up\nTable"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 70]
	    DstBlock		    "Look-Up\nTable1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -70]
	    DstBlock		    "Look-Up\nTable2"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  DstBlock		  "Switch"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  DstBlock		  "Switch"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Rounding\nFunction"
	  SrcPort		  1
	  DstBlock		  "Multiport\nSwitch"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Scope
      Name		      "输出电压"
      Ports		      [1]
      Position		      [115, 189, 145, 221]
      Orientation	      "left"
      Floating		      off
      Location		      [591, 316, 884, 530]
      Open		      off
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "-5"
      YMax		      "5"
      SaveToWorkspace	      off
      SaveName		      "ScopeData2"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      on
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Step
      Name		      "外力"
      Position		      [210, 175, 275, 215]
      Time		      "0"
      Before		      "0"
      After		      "21"
      SampleTime	      "0"
      VectorParams1D	      on
    }
    Block {
      BlockType		      Scope
      Name		      "位移曲线"
      Ports		      [1]
      Position		      [115, 244, 145, 276]
      Floating		      off
      Location		      [1, 56, 1025, 737]
      Open		      off
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "1.38778e-017"
      YMax		      "0.4"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      on
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Step
      Name		      "位移设定"
      Position		      [30, 150, 60, 180]
      Time		      "0"
      Before		      "0"
      After		      "0.3"
      SampleTime	      "0"
      VectorParams1D	      on
    }
    Block {
      BlockType		      Scope
      Name		      "右腔压力"
      Ports		      [1]
      Position		      [320, 189, 350, 221]
      Floating		      off
      Location		      [552, 189, 876, 428]
      Open		      off
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "464610"
      YMax		      "464710"
      SaveToWorkspace	      off
      SaveName		      "ScopeData4"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      on
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      SubSystem
      Name		      "右腔压力子系统"
      Ports		      [2, 1]
      Position		      [210, 103, 280, 147]
      ShowPortLabels	      on
      Permissions	      "ReadWrite"
      TreatAsAtomicUnit	      off
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      SimViewingDevice	      off
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"右腔压力子系统"
	Location		[74, 84, 960, 714]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "x"
	  Position		  [15, 33, 45, 47]
	  Port			  "1"
	  PortDimensions	  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Inport
	  Name			  "u"
	  Position		  [15, 193, 45, 207]
	  Port			  "2"
	  PortDimensions	  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [625, 235, 655, 265]
	  Value			  "4.66e5"
	  VectorParams1D	  on
	}
	Block {
	  BlockType		  Derivative
	  Name			  "Derivative"
	  Position		  [110, 65, 140, 95]
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn"
	  Position		  [175, 25, 235, 55]
	  Expr			  "1/(0.001-0.0016485*u[1])"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn1"
	  Position		  [230, 235, 290, 265]
	  Expr			  "174.6*2.32e-6*u[1]*u[2]*(14.93*(1e5/u[2])^1"
".43-(1e5/u[2])^1.7)^0.5"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn10"
	  Position		  [230, 480, 290, 510]
	  Expr			  "174.6*2.87e-8*u[2]"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn11"
	  Position		  [175, 700, 235, 730]
	  Expr			  "u[1]*1"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn12"
	  Position		  [235, 895, 295, 925]
	  Expr			  "-174.6*6.1e-7*u[1]*7e5*(14.93*(u[2]/7e5)^1."
"43-(u[2]/7e5)^1.7)^0.5"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn13"
	  Position		  [235, 940, 295, 970]
	  Expr			  "u/7e5-0.528"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn14"
	  Position		  [235, 985, 295, 1015]
	  Expr			  "-174.6*6.1e-7*u[1]*7e5"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn15"
	  Position		  [235, 1045, 295, 1075]
	  Expr			  "174.6*2.83e-8*7e5*(14.93*(u[2]/7e5)^1.43-(u"
"[2]/7e5)^1.7)^0.5"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn16"
	  Position		  [235, 1090, 295, 1120]
	  Expr			  "u/7e5-0.528"
	}

⌨️ 快捷键说明

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