欢迎来到虫虫下载站 | 资源下载 资源专辑 关于我们
虫虫下载站

aplib.mdl

matlab的FDC工具箱
MDL
第 1 页 / 共 5 页
字号:
	    Block {
	      BlockType		      Inport
	      Name		      "Asymm. \nouter loop?"
	      Position		      [90, 173, 120, 187]
	      ForegroundColor	      "red"
	      FontName		      "Arial"
	      FontSize		      11
	      Port		      "1"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Dphir (RAH)"
	      Position		      [90, 223, 120, 237]
	      ForegroundColor	      "red"
	      DropShadow	      on
	      FontName		      "Arial"
	      FontSize		      11
	      Port		      "2"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Dphir\n(outer loop)"
	      Position		      [90, 118, 120, 132]
	      DropShadow	      on
	      FontName		      "Arial"
	      FontSize		      11
	      Port		      "3"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "phi-phi0"
	      Position		      [90, 73, 120, 87]
	      FontName		      "Arial"
	      FontSize		      11
	      Port		      "4"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "phi"
	      Position		      [85, 293, 115, 307]
	      FontName		      "Arial"
	      FontSize		      11
	      Port		      "5"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "r"
	      Position		      [85, 353, 115, 367]
	      FontName		      "Arial"
	      FontSize		      11
	      Port		      "6"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "V"
	      Position		      [15, 58, 45, 72]
	      ForegroundColor	      "magenta"
	      FontName		      "Arial"
	      FontSize		      11
	      Port		      "7"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Saturate
	      Name		      "Dphi\nlimiter"
	      Position		      [245, 128, 270, 152]
	      FontName		      "Arial"
	      FontSize		      11
	      UpperLimit	      "30*pi/180"
	      LowerLimit	      "-30*pi/180"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Kr*(g/V)"
	      Ports		      [2, 1, 0, 0, 0]
	      Position		      [375, 268, 430, 312]
	      FontName		      "Arial"
	      FontSize		      11
	      SourceBlock	      "fdctools/Scheduled Gain"
	      SourceType	      "Scheduled Gain"
	      K			      "-4*(9.80665/u[1])"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "RAH"
	      Ports		      [2, 1, 0, 0, 0]
	      Position		      [350, 55, 435, 95]
	      ShowName		      off
	      FontName		      "Arial"
	      FontSize		      11
	      ShowPortLabels	      off
	      MaskDisplay	      "disp('RAH (limited \\n PI controller)')"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      System {
		Name			"RAH"
		Location		[18, 56, 510, 166]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		AutoZoom		on
		Block {
		  BlockType		  Inport
		  Name			  "V"
		  Position		  [15, 38, 45, 52]
		  ForegroundColor	  "magenta"
		  FontName		  "Arial"
		  FontSize		  11
		  Port			  "1"
		  PortWidth		  "-1"
		  SampleTime		  "-1"
		  DataType		  "auto"
		  SignalType		  "auto"
		  Interpolate		  on
		}
		Block {
		  BlockType		  Inport
		  Name			  "input u"
		  Position		  [15, 73, 45, 87]
		  FontName		  "Arial"
		  FontSize		  11
		  Port			  "2"
		  PortWidth		  "-1"
		  SampleTime		  "-1"
		  DataType		  "auto"
		  SignalType		  "auto"
		  Interpolate		  on
		}
		Block {
		  BlockType		  Integrator
		  Name			  "+/-1V"
		  Ports			  [1, 1, 0, 0, 0]
		  Position		  [300, 39, 350, 71]
		  FontName		  "Arial"
		  ExternalReset		  "none"
		  InitialConditionSource  "internal"
		  InitialCondition	  "0"
		  LimitOutput		  on
		  UpperSaturationLimit	  "1*pi/180"
		  LowerSaturationLimit	  "-1*pi/180"
		  ShowSaturationPort	  off
		  ShowStatePort		  off
		  AbsoluteTolerance	  "auto"
		}
		Block {
		  BlockType		  Saturate
		  Name			  "+/-3.75V"
		  Position		  [160, 43, 185, 67]
		  FontName		  "Arial"
		  UpperLimit		  "3.75*pi/180"
		  LowerLimit		  "-3.75*pi/180"
		}
		Block {
		  BlockType		  Gain
		  Name			  "Ki"
		  Position		  [225, 34, 280, 76]
		  FontName		  "Arial"
		  Gain			  "0.25"
		  SaturateOnIntegerOverflow on
		}
		Block {
		  BlockType		  Reference
		  Name			  "Kphi"
		  Ports			  [2, 1, 0, 0, 0]
		  Position		  [80, 33, 135, 77]
		  FontName		  "Arial"
		  FontSize		  11
		  SourceBlock		  "fdctools/Scheduled Gain"
		  SourceType		  "Scheduled Gain"
		  K			  "9.75*10^(-4)*u[1]^2-0.108*u[1]+2.33"
"5625"
		}
		Block {
		  BlockType		  Sum
		  Name			  "Sum"
		  Ports			  [2, 1, 0, 0, 0]
		  Position		  [385, 39, 400, 61]
		  ShowName		  off
		  FontName		  "Arial"
		  IconShape		  "rectangular"
		  Inputs		  "++"
		  SaturateOnIntegerOverflow on
		}
		Block {
		  BlockType		  Outport
		  Name			  "output y"
		  Position		  [425, 43, 455, 57]
		  FontName		  "Arial"
		  FontSize		  11
		  Port			  "1"
		  OutputWhenDisabled	  "held"
		  InitialOutput		  "[]"
		}
		Line {
		  SrcBlock		  "input u"
		  SrcPort		  1
		  Points		  [10, 0; 0, -15]
		  DstBlock		  "Kphi"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Kphi"
		  SrcPort		  1
		  DstBlock		  "+/-3.75V"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "V"
		  SrcPort		  1
		  DstBlock		  "Kphi"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "+/-3.75V"
		  SrcPort		  1
		  Points		  [10, 0]
		  Branch {
		    DstBlock		    "Ki"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, -40; 165, 0; 0, 30]
		    DstBlock		    "Sum"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "+/-1V"
		  SrcPort		  1
		  DstBlock		  "Sum"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Ki"
		  SrcPort		  1
		  DstBlock		  "+/-1V"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Sum"
		  SrcPort		  1
		  DstBlock		  "output y"
		  DstPort		  1
		}
		Annotation {
		  Position		  [68, 11]
		  ForegroundColor	  "blue"
		  Text			  "PI controller for RAH"
		  FontSize		  11
		  FontWeight		  "bold"
		}
	      }
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum11"
	      Ports		      [2, 1, 0, 0, 0]
	      Position		      [470, 69, 485, 91]
	      ShowName		      off
	      FontName		      "Arial"
	      FontSize		      11
	      IconShape		      "rectangular"
	      Inputs		      "++"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum12"
	      Ports		      [2, 1, 0, 0, 0]
	      Position		      [470, 334, 485, 356]
	      ShowName		      off
	      FontName		      "Arial"
	      FontSize		      11
	      IconShape		      "rectangular"
	      Inputs		      "++"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum5"
	      Ports		      [2, 1, 0, 0, 0]
	      Position		      [315, 75, 330, 95]
	      ShowName		      off
	      FontName		      "Arial"
	      FontSize		      11
	      IconShape		      "rectangular"
	      Inputs		      "-+"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Switch"
	      Ports		      [3, 1, 0, 0, 0]
	      Position		      [175, 114, 210, 166]
	      FontName		      "Arial"
	      FontSize		      11
	      ShowPortLabels	      off
	      MaskDisplay	      "plot(0,0,100,100,[100,70,40,0],[50,50,8"
"0,80],[40,0],[20,20],[29,29,0],[64,50,50],[29,29],[36,50],[40,40,41,40,39,40]"
",[80,82,80,78,80,82],[40,40,41,40,39,40],[19,21,20,18,20,23])"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      System {
		Name			"Switch"
		Location		[46, 84, 295, 303]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		AutoZoom		on
		Block {
		  BlockType		  Inport
		  Name			  "Dphir\n(outer loop)"
		  Position		  [20, 18, 50, 32]
		  DropShadow		  on
		  FontName		  "Arial"
		  FontSize		  11
		  Port			  "1"
		  PortWidth		  "-1"
		  SampleTime		  "-1"
		  DataType		  "auto"
		  SignalType		  "auto"
		  Interpolate		  on
		}
		Block {
		  BlockType		  Inport
		  Name			  "Asymm. \nouter loop?"
		  Position		  [20, 123, 50, 137]
		  ForegroundColor	  "red"
		  FontName		  "Arial"
		  FontSize		  11
		  Port			  "2"
		  PortWidth		  "-1"
		  SampleTime		  "-1"
		  DataType		  "auto"
		  SignalType		  "auto"
		  Interpolate		  on
		}
		Block {
		  BlockType		  Inport
		  Name			  "Dphir (RAH)"
		  Position		  [20, 173, 50, 187]
		  ForegroundColor	  "red"
		  DropShadow		  on
		  FontName		  "Arial"
		  FontSize		  11
		  Port			  "3"
		  PortWidth		  "-1"
		  SampleTime		  "-1"
		  DataType		  "auto"
		  SignalType		  "auto"
		  Interpolate		  on
		}
		Block {
		  BlockType		  Sum
		  Name			  "Sum2"
		  Ports			  [2, 1, 0, 0, 0]
		  Position		  [100, 95, 115, 115]
		  ShowName		  off
		  FontName		  "Arial"
		  FontSize		  11
		  IconShape		  "rectangular"
		  Inputs		  "-+"
		  SaturateOnIntegerOverflow on
		}
		Block {
		  BlockType		  Switch
		  Name			  "Switch"
		  Position		  [145, 89, 170, 121]
		  FontName		  "Arial"
		  FontSize		  11
		  Threshold		  "0"
		}
		Block {
		  BlockType		  Constant
		  Name			  "const"
		  Position		  [25, 67, 50, 93]
		  FontName		  "Arial"
		  FontSize		  11
		  Value			  "0.5"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Dphir"
		  Position		  [200, 98, 230, 112]
		  DropShadow		  on
		  FontName		  "Arial"
		  FontSize		  11
		  Port			  "1"
		  OutputWhenDisabled	  "held"
		  InitialOutput		  "[]"
		}
		Line {
		  SrcBlock		  "Dphir\n(outer loop)"
		  SrcPort		  1
		  Points		  [70, 0; 0, 70]
		  DstBlock		  "Switch"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Dphir (RAH)"
		  SrcPort		  1
		  Points		  [70, 0; 0, -65]
		  DstBlock		  "Switch"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "Sum2"
		  SrcPort		  1
		  DstBlock		  "Switch"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "const"
		  SrcPort		  1
		  Points		  [10, 0; 0, 20]
		  DstBlock		  "Sum2"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Switch"
		  SrcPort		  1
		  DstBlock		  "Dphir"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Asymm. \nouter loop?"
		  SrcPort		  1
		  Points		  [10, 0; 0, -20]
		  DstBlock		  "Sum2"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "dar"
	      Position		      [320, 195, 380, 235]
	      FontName		      "Arial"
	      FontSize		      11
	      Gain		      "0.165"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "drr-Kr"
	      Ports		      [2, 1, 0, 0, 0]
	      Position		      [375, 328, 430, 372]
	      FontName		      "Arial"
	      FontSize		      11
	      SourceBlock	      "fdctools/Scheduled Gain"
	      SourceType	      "Scheduled Gain"
	      K			      "(-7.5*10^(-5)*u[1]^2 + 0.0095*u[1] - 0."
"4606) + 4"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "sin(phi)"
	      Position		      [260, 290, 320, 310]
	      FontName		      "Arial"
	      FontSize		      11
	      Expr		      "sin(u[1])"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "D_ail ref"
	      Position		      [530, 73, 560, 87]
	      FontName		      "Arial"
	      FontSize		      11
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "D_rud ref"
	      Position		      [530, 338, 560, 352]
	      FontName		      "Arial"

⌨️ 快捷键说明

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