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

📄 mimo_lib.mdl

📁 内模控制器(IMC)工具箱。包括参数整定、PID控制器参数转换等
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  DstBlock		  "Kdelay(1,1,3)"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "K{1,1,1}"
	  SrcPort		  1
	  DstBlock		  "Kdelay(1,1,1)\n"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "K{1,1,2}"
	  SrcPort		  1
	  DstBlock		  "Kdelay(1,1,2)"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Kdelay(1,1,1)\n"
	  SrcPort		  1
	  Points		  [-25, 0; 0, 80]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Kdelay(1,1,2)"
	  SrcPort		  1
	  Points		  [-15, 0; 0, 35]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Kdelay(1,1,4)"
	  SrcPort		  1
	  Points		  [-25, 0; 0, -55]
	  DstBlock		  "Sum"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "K{1,1,4}"
	  SrcPort		  1
	  DstBlock		  "Kdelay(1,1,4)"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "4_input_state"
      Ports		      [1, 4, 0, 0, 0]
      Position		      [375, 113, 420, 157]
      ShowPortLabels	      on
      MaskType		      "4_input_state"
      MaskDescription	      "The block generate the state vectors of signal "
"[ ..., x''', x'', x' , x ] of each 4 input signals. "
      MaskPromptString	      "D(s) :"
      MaskStyleString	      "edit"
      MaskTunableValueString  "on"
      MaskEnableString	      "on"
      MaskVisibilityString    "on"
      MaskVariables	      "Ds=@1;"
      MaskDisplay	      "disp('1/D(s)')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"4_input_state"
	Location		[321, 400, 649, 725]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"automatic"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [20, 153, 50, 167]
	  Port			  "1"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Reference
	  Name			  "1_input_state"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [125, 69, 165, 101]
	  SourceBlock		  "MIMO_lib/1_input_state"
	  SourceType		  "SISO_MSF"
	  Ds			  "Ds{1}"
	}
	Block {
	  BlockType		  Reference
	  Name			  "1_input_state1"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [125, 119, 165, 151]
	  SourceBlock		  "MIMO_lib/1_input_state"
	  SourceType		  "SISO_MSF"
	  Ds			  "Ds{2}"
	}
	Block {
	  BlockType		  Reference
	  Name			  "1_input_state2"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [125, 174, 165, 206]
	  SourceBlock		  "MIMO_lib/1_input_state"
	  SourceType		  "SISO_MSF"
	  Ds			  "Ds{3}"
	}
	Block {
	  BlockType		  Reference
	  Name			  "1_input_state3"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [125, 229, 165, 261]
	  SourceBlock		  "MIMO_lib/1_input_state"
	  SourceType		  "SISO_MSF"
	  Ds			  "Ds{4}"
	}
	Block {
	  BlockType		  Demux
	  Name			  "Demux"
	  Ports			  [1, 4, 0, 0, 0]
	  Position		  [70, 128, 75, 187]
	  BackgroundColor	  "black"
	  ShowName		  off
	  Outputs		  "4"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [195, 78, 225, 92]
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out2"
	  Position		  [195, 128, 225, 142]
	  Port			  "2"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out3"
	  Position		  [195, 183, 225, 197]
	  Port			  "3"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out4"
	  Position		  [195, 238, 225, 252]
	  Port			  "4"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  1
	  DstBlock		  "1_input_state"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "1_input_state"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Demux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "1_input_state1"
	  SrcPort		  1
	  DstBlock		  "Out2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "1_input_state2"
	  SrcPort		  1
	  DstBlock		  "Out3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  3
	  DstBlock		  "1_input_state2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "1_input_state3"
	  SrcPort		  1
	  DstBlock		  "Out4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  2
	  DstBlock		  "1_input_state1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  4
	  DstBlock		  "1_input_state3"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "4x4"
      Ports		      [1, 1, 0, 0, 0]
      Position		      [215, 193, 260, 237]
      ShowPortLabels	      on
      MaskType		      "diagonal transfer function matrix"
      MaskDescription	      "A block for the simulation of diagonal transfer"
" function matrix, for example the prefilter, and qd part of the feed back con"
"troller."
      MaskPromptString	      "diagonal cell array of numurator polynomial|dia"
"gonal cell array of denominator polynomial"
      MaskStyleString	      "edit,edit"
      MaskTunableValueString  "on,on"
      MaskCallbackString      "|"
      MaskEnableString	      "on,on"
      MaskVisibilityString    "on,on"
      MaskVariables	      "num=@1;den=@2;"
      MaskDisplay	      "disp('diag TF')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "|"
      System {
	Name			"4x4"
	Location		[730, 411, 1080, 679]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"automatic"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [25, 133, 55, 147]
	  Port			  "1"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Demux
	  Name			  "Demux1"
	  Ports			  [1, 4, 0, 0, 0]
	  Position		  [80, 106, 85, 169]
	  BackgroundColor	  "black"
	  ShowName		  off
	  Outputs		  "4"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Ports			  [4, 1, 0, 0, 0]
	  Position		  [265, 100, 270, 165]
	  ShowName		  off
	  Inputs		  "4"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  TransferFcn
	  Name			  "Transfer Fcn3"
	  Position		  [140, 27, 200, 63]
	  Numerator		  "num{1,1}"
	  Denominator		  "den{1,1}"
	}
	Block {
	  BlockType		  TransferFcn
	  Name			  "Transfer Fcn4"
	  Position		  [140, 87, 200, 123]
	  Numerator		  "num{2,2}"
	  Denominator		  "den{2,2}"
	}
	Block {
	  BlockType		  TransferFcn
	  Name			  "Transfer Fcn5"
	  Position		  [140, 147, 200, 183]
	  Numerator		  "num{3,3}"
	  Denominator		  "den{3,3}"
	}
	Block {
	  BlockType		  TransferFcn
	  Name			  "Transfer Fcn6"
	  Position		  [140, 207, 200, 243]
	  Numerator		  "num{4,4}"
	  Denominator		  "den{4,4}"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [295, 128, 325, 142]
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "Transfer Fcn3"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Transfer Fcn5"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Demux1"
	  SrcPort		  1
	  DstBlock		  "Transfer Fcn3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux1"
	  SrcPort		  3
	  DstBlock		  "Transfer Fcn5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux1"
	  SrcPort		  4
	  DstBlock		  "Transfer Fcn6"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Transfer Fcn4"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Demux1"
	  SrcPort		  2
	  DstBlock		  "Transfer Fcn4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Transfer Fcn6"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "Mux1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Demux1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "4x4system"
      Ports		      [1, 1, 0, 0, 0]
      Position		      [245, 17, 300, 63]
      ShowPortLabels	      on
      MaskType		      "4x4 system"
      MaskDescription	      "The system is described by a cell array of nume"
"rator polynomial, a cell array denominator polynomial of s , and a cell array"
" of dead time."
      MaskPromptString	      "numerator :|denominator :|dead time :"
      MaskStyleString	      "edit,edit,edit"
      MaskTunableValueString  "on,on,on"
      MaskCallbackString      "||"
      MaskEnableString	      "on,on,on"
      MaskVisibilityString    "on,on,on"
      MaskVariables	      "num=@1;den=@2;dead=@3;"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "||"
      System {
	Name			"4x4system"
	Location		[334, 118, 1004, 686]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"automatic"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		off
	Block {
	  BlockType		  Inport
	  Name			  "u"
	  Position		  [25, 283, 55, 297]
	  Port			  "1"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Demux
	  Name			  "Demux"
	  Ports			  [1, 4, 0, 0, 0]
	  Position		  [70, 260, 80, 315]
	  BackgroundColor	  "black"
	  ShowName		  off
	  Outputs		  "4"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [4, 1, 0, 0, 0]
	  Position		  [585, 286, 590, 324]
	  ShowName		  off
	  Inputs		  "4"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [4, 1, 0, 0, 0]
	  Position		  [290, 100, 310, 150]
	  ShowName		  off
	  IconShape		  "rectangular"
	  Inputs		  "|++++"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [4, 1, 0, 0, 0]
	  Position		  [525, 101, 540, 149]
	  ShowName		  off
	  IconShape		  "rectangular"
	  Inputs		  "|++++"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum2"
	  Ports			  [4, 1, 0, 0, 0]
	  Position		  [285, 421, 300, 469]
	  ShowName		  off
	  IconShape		  "rectangular"
	  Inputs		  "|++++"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum3"
	  Ports			  [4, 1, 0, 0, 0]
	  Position		  [510, 416, 525, 464]
	  ShowName		  off
	  IconShape		  "rectangular"
	  Inputs		  "|++++"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  TransferFcn
	  Name			  "Transfer Fcn"
	  Position		  [140, 27, 200, 63]
	  Numerator		  "num{1,1}"
	  Denominator		  "den{1,1}"
	}
	Block {
	  BlockType		  TransferFcn
	  Name			  "Transfer Fcn1"
	  Position		  [140, 82, 200, 118]
	  Numerator		  "num{1,2}"
	  Denominator		  "den{1,2}"
	}
	Block {
	  BlockType		  TransferFcn
	  Name			  "Transfer Fcn10"
	  Position		  [355, 192, 415, 228]
	  Numerator		  "num{2,4}"
	  Denominator		  "den{2,4}"
	}
	Block {
	  BlockType		  TransferFcn
	  Name			  "Transfer Fcn11"
	  Position		  [130, 507, 190, 543]
	  Numerator		  "num{3,4}"
	  Denominator		  "den{3,4}"
	}
	Block {
	  BlockType		  TransferFcn
	  Name			  "Transfer Fcn12"
	  Position		  [350, 507, 410, 543]
	  Numerator		  "num{4,4}"
	  Denominator		  "den{4,4}"
	}
	Block {
	  BlockType		  TransferFcn
	  Name			  "Transfer Fcn13"
	  Position		  [350, 337, 410, 373]
	  Numerator		  "num{4,1}"
	  Denominator		  "den{4,1}"
	}
	Block {
	  BlockType		  TransferFcn
	  Name			  "Transfer Fcn14"
	  Position		  [350, 392, 410, 428]
	  Numerator		  "num{4,2}"
	  Denominator		  "den{4,2}"
	}
	Block {
	  BlockType		  TransferFcn
	  Name			  "Transfer Fcn15"
	  Position		  [350, 447, 410, 483]
	  Numerator		  "num{4,3}"
	  Denominator		  "den{4,3}"
	}
	Block {
	  BlockType		  TransferFcn
	  Name			  "Transfer Fcn2"
	  Position		  [355, 27, 415, 63]
	  Numerator		  "num{2,1}"
	  Denominator		  "den{2,1}"
	}
	Block {
	  BlockType		  TransferFcn
	  Name			  "Transfer Fcn3"
	  Position		

⌨️ 快捷键说明

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