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

📄 general_mod.mdl

📁 vTools is a toolbox for Matlab 5.3 developed within the Department of Electrical Systems and A
💻 MDL
📖 第 1 页 / 共 2 页
字号:
	    DstBlock		    "X"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Matrix\nGain1"
	  SrcPort		  1
	  Points		  [145, 0]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "U"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "PLANT with C=I"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 60]
	    DstBlock		    "Matrix\nGain1"
	    DstPort		    1
	  }
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "SubSystem1"
      Ports		      [1, 1, 0, 0, 0]
      Position		      [135, 144, 245, 196]
      Orientation	      "left"
      BackgroundColor	      "yellow"
      ShowName		      off
      FontSize		      14
      FontWeight	      "bold"
      ShowPortLabels	      on
      MaskDisplay	      "disp('CONTROLLER')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"SubSystem1"
	Location		[315, 301, 630, 447]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [30, 58, 60, 72]
	  Port			  "1"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  StateSpace
	  Name			  "DYNAMIC CONTROLLER"
	  Position		  [115, 48, 175, 82]
	  A			  "stack.simulation.Ak"
	  B			  "stack.simulation.Bk"
	  C			  "stack.simulation.Ck"
	  D			  "stack.simulation.Dk"
	  X0			  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [235, 58, 265, 72]
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "DYNAMIC CONTROLLER"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "DYNAMIC CONTROLLER"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1, 0, 0, 0]
      Position		      [15, 160, 35, 180]
      Orientation	      "up"
      NamePlacement	      "alternate"
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|++"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Sum
      Name		      "Sum1"
      Ports		      [2, 1, 0, 0, 0]
      Position		      [300, 160, 320, 180]
      Orientation	      "left"
      ShowName		      off
      IconShape		      "round"
      Inputs		      "-+|"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      SubSystem
      Name		      "commands"
      Ports		      [0, 1, 0, 0, 0]
      Position		      [385, 151, 475, 189]
      Orientation	      "left"
      DropShadow	      on
      ShowName		      off
      ShowPortLabels	      on
      MaskDisplay	      "disp('COMMANDS')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"commands"
	Location		[481, 351, 622, 421]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"automatic"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Outport
	  Name			  "YR"
	  Position		  [50, 30, 70, 50]
	  Orientation		  "left"
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "outputs"
      Ports		      [2, 0, 0, 0, 0]
      Position		      [385, 96, 475, 134]
      DropShadow	      on
      ShowName		      off
      ShowPortLabels	      off
      MaskDisplay	      "disp('OUTPUTS')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"outputs"
	Location		[526, 286, 626, 426]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"automatic"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Inport
	  Name			  "Y"
	  Position		  [30, 30, 50, 50]
	  Port			  "1"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Inport
	  Name			  "YR"
	  Position		  [30, 80, 50, 100]
	  Port			  "2"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
      }
    }
    Block {
      BlockType		      Scope
      Name		      "u"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [225, 15, 255, 45]
      Orientation	      "up"
      ShowName		      off
      Floating		      off
      Location		      [188, 235, 512, 474]
      Open		      off
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "-5"
      YMax		      "5"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "StructureWithTime"
      LimitMaxRows	      on
      MaxRows		      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "x"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [260, 15, 290, 45]
      Orientation	      "up"
      ShowName		      off
      Floating		      off
      Location		      [188, 365, 512, 604]
      Open		      off
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "-5"
      YMax		      "5"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "StructureWithTime"
      LimitMaxRows	      on
      MaxRows		      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "y"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [295, 15, 325, 45]
      Orientation	      "up"
      ShowName		      off
      Floating		      off
      Location		      [188, 365, 512, 604]
      Open		      off
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "-5"
      YMax		      "5"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "StructureWithTime"
      LimitMaxRows	      on
      MaxRows		      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Line {
      SrcBlock		      "SubSystem1"
      SrcPort		      1
      DstBlock		      "Sum"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Matrix\nGain5"
      SrcPort		      1
      Points		      [-105, 0]
      DstBlock		      "Sum"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum1"
      SrcPort		      1
      DstBlock		      "SubSystem1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "SubSystem"
      SrcPort		      1
      Points		      [25, 0]
      DstBlock		      "x"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum"
      SrcPort		      1
      Points		      [0, -60]
      Branch {
	DstBlock		"SubSystem"
	DstPort			1
      }
      Branch {
	Points			[0, -35]
	DstBlock		"u"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "SubSystem"
      SrcPort		      2
      Points		      [60, 0]
      Branch {
	DstBlock		"outputs"
	DstPort			1
      }
      Branch {
	DstBlock		"y"
	DstPort			1
      }
      Branch {
	DstBlock		"Sum1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "commands"
      SrcPort		      1
      Points		      [-25, 0]
      Branch {
	Points			[0, 55]
	DstBlock		"Matrix\nGain5"
	DstPort			1
      }
      Branch {
	Points			[0, -45]
	DstBlock		"outputs"
	DstPort			2
      }
      Branch {
	DstBlock		"Sum1"
	DstPort			2
      }
    }
    Annotation {
      Position		      [37, 97]
      VerticalAlignment	      "top"
      ForegroundColor	      "red"
      Text		      "U"
      FontSize		      12
      FontWeight	      "bold"
    }
    Annotation {
      Position		      [322, 112]
      VerticalAlignment	      "top"
      ForegroundColor	      "red"
      Text		      "Y"
      FontSize		      12
      FontWeight	      "bold"
    }
    Annotation {
      Position		      [367, 177]
      VerticalAlignment	      "top"
      ForegroundColor	      "red"
      Text		      "YR"
      FontSize		      12
      FontWeight	      "bold"
    }
    Annotation {
      Position		      [262, 62]
      VerticalAlignment	      "top"
      ForegroundColor	      "red"
      Text		      "X"
      FontSize		      12
      FontWeight	      "bold"
    }
  }
}

⌨️ 快捷键说明

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