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

📄 pneumaticsystem_fangzhen.mdl

📁 在MATLAB的simulink环境下的气动位置系统仿真模型。
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Fcn18"
	  SrcPort		  1
	  DstBlock		  "u=04"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fcn19"
	  SrcPort		  1
	  DstBlock		  "u=04"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Fcn20"
	  SrcPort		  1
	  DstBlock		  "u=04"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "u=04"
	  SrcPort		  1
	  Points		  [20, 0; 0, -110]
	  DstBlock		  "Multiport\nSwitch1"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "Fcn7"
	  SrcPort		  1
	  DstBlock		  "Look-Up2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Look-Up2"
	  SrcPort		  1
	  DstBlock		  "Rounding\nFunction"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "u>04"
	  SrcPort		  1
	  Points		  [20, 0; 0, 105]
	  DstBlock		  "Multiport\nSwitch1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "u<04"
	  SrcPort		  1
	  DstBlock		  "Multiport\nSwitch1"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Rounding\nFunction"
	  SrcPort		  1
	  Points		  [45, 0; 0, 160]
	  DstBlock		  "Multiport\nSwitch1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Rounding\nFunction1"
	  SrcPort		  1
	  Points		  [45, 0; 0, 115]
	  DstBlock		  "Multiport\nSwitch"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "u"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  1
	}
	Annotation {
	  Text			  "u"
	  Position		  [43, 201]
	}
	Annotation {
	  Text			  "节流口4"
	  Position		  [481, 313]
	}
	Annotation {
	  Text			  "节流口3"
	  Position		  [489, 794]
	}
      }
    }
    Block {
      BlockType		      Scope
      Name		      "左腔压力"
      Ports		      [1]
      Position		      [410, 19, 440, 51]
      Floating		      off
      Location		      [305, 240, 629, 479]
      Open		      off
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "393300"
      YMax		      "394300"
      SaveToWorkspace	      off
      SaveName		      "ScopeData5"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      on
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      SubSystem
      Name		      "左腔压力子系统"
      Ports		      [2, 1]
      Position		      [210, 34, 280, 76]
      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		[77, 88, 952, 734]
	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, 188, 45, 202]
	  Port			  "2"
	  PortDimensions	  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant3"
	  Position		  [595, 225, 625, 255]
	  Value			  "3.88e5"
	  VectorParams1D	  on
	}
	Block {
	  BlockType		  Derivative
	  Name			  "Derivative"
	  Position		  [255, 65, 285, 95]
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn"
	  Position		  [175, 25, 235, 55]
	  Expr			  "1/(0.00006+0.0019628*u[1])"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn1"
	  Position		  [225, 205, 285, 235]
	  Expr			  "174.6*6.1e-7*u[1]*7e5*(14.93*(u[2]/7e5)^1.4"
"3-(u[2]/7e5)^1.7)^0.5"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn10"
	  Position		  [190, 151, 240, 179]
	  Expr			  "u[1]*1"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn11"
	  Position		  [180, 650, 230, 680]
	  Expr			  "u[1]*1"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn12"
	  Position		  [225, 845, 285, 875]
	  Expr			  "-174.6*2.31e-6*u[1]*u[2]*(14.93*(1e5/u[2])^"
"1.43-(1e5/u[2])^1.7)^0.5"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn13"
	  Position		  [225, 890, 285, 920]
	  Expr			  "1e5/u-0.528"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn14"
	  Position		  [225, 935, 285, 965]
	  Expr			  "-174.6*2.31e-6*u[1]*u[2]"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn15"
	  Position		  [225, 510, 285, 540]
	  Expr			  "174.6*2.88e-8*7e5*(14.93*(u[2]/7e5)^1.4-(u["
"2]/7e5)^1.7)^0.5"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn16"
	  Position		  [225, 555, 285, 585]
	  Expr			  "u/7e5-0.528"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn17"
	  Position		  [225, 600, 285, 630]
	  Expr			  "174.6*2.88e-8*7e5"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn18"
	  Position		  [225, 995, 285, 1025]
	  Expr			  "174.6*1.261e-7*u[2]*(14.93*(1e5/u[2])^1.43-"
"(1e5/u[2])^1.7)^0.5"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn19"
	  Position		  [225, 1040, 285, 1070]
	  Expr			  "1e5/u-0.528"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn2"
	  Position		  [225, 250, 285, 280]
	  Expr			  "u/7e5-0.528"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn20"
	  Position		  [225, 1085, 285, 1115]
	  Expr			  "174.6*1.261e-7*u[2]"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn3"
	  Position		  [225, 295, 285, 325]
	  Expr			  "174.6*6.1e-7*u[1]*7e5"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn4"
	  Position		  [225, 700, 285, 730]
	  Expr			  "174.6*2.87e-8*u[2]*(14.93*(1e5/u[2])^1.4-(1"
"e5/u[2])^1.7)^0.5"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn5"
	  Position		  [225, 745, 285, 775]
	  Expr			  "1e5/u-0.528"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn6"
	  Position		  [225, 790, 285, 820]
	  Expr			  "174.6*2.87e-8*u[2]"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn7"
	  Position		  [225, 405, 285, 435]
	  Expr			  "u/7e5-0.528"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn8"
	  Position		  [225, 360, 285, 390]
	  Expr			  "-174.6*3e-8*7e5*(14.93*(u[2]/7e5)^1.4-(u[2]"
"/7e5)^1.7)^0.5"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn9"
	  Position		  [225, 450, 285, 480]
	  Expr			  "-174.6*3e-8*7e5"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [140, 65, 170, 95]
	  Gain			  "1.9628e-3"
	  Multiplication	  "Element-wise(K.*u)"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator"
	  Ports			  [2, 1]
	  Position		  [670, 180, 700, 215]
	  ExternalReset		  "none"
	  InitialConditionSource  "external"
	  InitialCondition	  "0"
	  LimitOutput		  off
	  UpperSaturationLimit	  "inf"
	  LowerSaturationLimit	  "-inf"
	  ShowSaturationPort	  off
	  ShowStatePort		  off
	  AbsoluteTolerance	  "auto"
	}
	Block {
	  BlockType		  Lookup
	  Name			  "Look-Up1"
	  Position		  [265, 151, 315, 179]
	  InputValues		  "[-1 -0.000001 0 0.000001 1]"
	  OutputValues		  "[2 2 3 1 1]"
	}
	Block {
	  BlockType		  Lookup
	  Name			  "Look-Up2"
	  Position		  [250, 652, 295, 678]
	  InputValues		  "[-1 -0.000001 0 0.000001 1]"
	  OutputValues		  "[2 2 3 1 1]"
	}
	Block {
	  BlockType		  MultiPortSwitch
	  Name			  "Multiport\nSwitch"
	  Ports			  [4, 1]
	  Position		  [445, 295, 475, 495]
	  Inputs		  "3"
	  		  
	   
	}
	Block {
	  BlockType		  MultiPortSwitch
	  Name			  "Multiport\nSwitch1"
	  Ports			  [4, 1]
	  Position		  [450, 780, 480, 980]
	  Inputs		  "3"
	  		  
	   
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [2, 1]
	  Position		  [95, 174, 100, 261]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [605, 170, 620, 205]
	  Inputs		  "2"
	  Multiplication	  "Element-wise(.*)"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Product
	  Name			  "Product1"
	  Ports			  [2, 1]
	  Position		  [395, 63, 420, 132]
	  Inputs		  "2"
	  Multiplication	  "Element-wise(.*)"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Rounding
	  Name			  "Rounding\nFunction"
	  Position		  [340, 150, 370, 180]
	  Operator		  "floor"
	}
	Block {
	  BlockType		  Rounding
	  Name			  "Rounding\nFunction1"
	  Position		  [325, 650, 355, 680]
	  Operator		  "floor"
	}
	Block {
	  BlockType		  Saturate
	  Name			  "Saturation"
	  Position		  [735, 185, 765, 215]
	  UpperLimit		  "7e5"
	  LowerLimit		  "1e5"
	  LinearizeAsGain	  on
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [3, 1]
	  Position		  [550, 119, 565, 271]
	  ShowName		  off
	  IconShape		  "rectangular"
	  Inputs		  "|-+-"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Switch
	  Name			  "u<01"
	  Position		  [335, 840, 370, 970]
	  		  ""
	  Threshold		  "0"
	  		  
	   
	}
	Block {
	  BlockType		  Switch
	  Name			  "u<02"
	  Position		  [335, 352, 370, 488]
	  		  ""
	  Threshold		  "0"
	  		  
	   
	}
	Block {
	  BlockType		  Switch
	  Name			  "u=01"
	  Position		  [335, 990, 370, 1120]
	  		  ""
	  Threshold		  "0"
	  		  
	   
	}
	Block {
	  BlockType		  Switch
	  Name			  "u=02"
	  Position		  [335, 502, 370, 638]
	  		  ""
	  Threshold		  "0"
	  		  
	   
	}
	Block {
	  BlockType		  Switch
	  Name			  "u>01"
	  Position		  [335, 695, 370, 825]
	  		  ""
	  Threshold		  "0"
	  		  
	   
	}
	Block {
	  BlockType		  Switch
	  Name			  "u>02"
	  Position		  [335, 197, 370, 333]
	  		  ""
	  Threshold		  "0"
	  		  
	   
	}
	Block {
	  BlockType		  Outport
	  Name			  "p1"
	  Position		  [815, 193, 845, 207]
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "Saturation"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "p1"
	    DstPort		    1
	  }
	  Branch {
	    Labels		    [1, 0]
	    Points		    [0, 940; -720, 0; 0, -85]
	    Branch {
	      Points		      [0, -150; 0, 0]
	      Branch {
		Points			[0, -145]
		Branch {
		  Points		  [95, 0]
		  Branch {
		    DstBlock		    "Fcn5"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, -495]
		    Branch {
		    DstBlock		    "Fcn2"
		    DstPort		    1
		    }
		    Branch {
		    Points		    [0, -150]
		    DstBlock		    "Product1"
		    DstPort		    2
		    }
		  }
		}
		Branch {
		  Points		  [0, -190; 0, 0]
		  Branch {
		    Points		    [0, -150]
		    Branch {
		    Points		    [0, -180]
		    DstBlock		    "Mux"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Fcn7"
		    DstPort		    1
		    }
		  }
		  Branch {
		    DstBlock		    "Fcn16"
		    DstPort		    1
		  }
		}
	      }
	      Branch {
		DstBlock		"Fcn13"
		DstPort			1
	      }
	    }
	    Branch {
	      DstBlock		      "Fcn19"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "Integrator"
	  DstPort		  1
	}
	Line {
	  Labels		  [2, 0]
	  SrcBlock		  "Fcn"
	  SrcPort		  1
	  Points		  [345, 0; 0, 140]
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  DstBlock		  "Derivative"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Derivative"
	  SrcPort		  1
	  DstBlock		  "Product1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  Points		  [25, 0; 0, 75]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fcn1"
	  SrcPort		  1
	  DstBlock		  "u>02"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fcn2"
	  SrcPort		  1
	  DstBlock		  "u>02"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Fcn3"
	  SrcPort		  1
	  DstBlock		  "u>02"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Fcn4"

⌨️ 快捷键说明

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