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

📄 slide_example_linear_t.mdl

📁 这是一个matlab控制仿真小程序
💻 MDL
📖 第 1 页 / 共 5 页
字号:
    }
    Block {
      BlockType		      Scope
      Name		      "Scope16"
      Ports		      [1]
      Position		      [400, 544, 430, 576]
      Location		      [5, 60, 1021, 729]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "12"
      YMin		      "0"
      YMax		      "1200"
      SaveName		      "ScopeData16"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope17"
      Ports		      [1]
      Position		      [645, 479, 675, 511]
      Location		      [5, 60, 1021, 729]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      YMin		      "-0.2"
      YMax		      "-1.38778e-017"
      SaveName		      "ScopeData17"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope18"
      Ports		      [1]
      Position		      [540, 544, 570, 576]
      Location		      [5, 60, 1021, 729]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      YMin		      "-0.2"
      YMax		      "-1.38778e-017"
      SaveName		      "ScopeData18"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope2"
      Ports		      [1]
      Position		      [235, 459, 265, 491]
      Location		      [473, 269, 1009, 588]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "12"
      YMin		      "-0.5"
      YMax		      "0.4"
      SaveName		      "ScopeData2"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope3"
      Ports		      [1]
      Position		      [230, 514, 260, 546]
      Location		      [293, 186, 785, 585]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      SaveName		      "ScopeData3"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope4"
      Ports		      [1]
      Position		      [520, 179, 550, 211]
      Location		      [5, 60, 1029, 737]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      YMin		      "-0.2"
      YMax		      "-1.38778e-017"
      SaveName		      "ScopeData4"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope5"
      Ports		      [1]
      Position		      [565, 129, 595, 161]
      Location		      [89, 375, 657, 598]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      YMin		      "-0.2"
      YMax		      "-1.38778e-017"
      SaveName		      "ScopeData5"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope6"
      Ports		      [1]
      Position		      [620, 264, 650, 296]
      Location		      [130, 143, 707, 523]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      YMin		      "-0.2"
      YMax		      "-1.38778e-017"
      SaveName		      "ScopeData6"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope7"
      Ports		      [1]
      Position		      [420, 469, 450, 501]
      Location		      [5, 60, 1021, 729]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      YMin		      "-0.2"
      YMax		      "-1.38778e-017"
      SaveName		      "ScopeData7"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope8"
      Ports		      [1]
      Position		      [450, 149, 480, 181]
      Location		      [5, 60, 1021, 729]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      YMin		      "0.5"
      YMax		      "0.5"
      SaveName		      "ScopeData8"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope9"
      Ports		      [1]
      Position		      [490, 344, 520, 376]
      Location		      [5, 60, 1021, 729]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "12"
      YMin		      "3"
      YMax		      "5.5"
      SaveName		      "ScopeData9"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem"
      Ports		      [0, 2]
      Position		      [665, 240, 705, 300]
      TreatAsAtomicUnit	      off
      System {
	Name			"Subsystem"
	Location		[552, 485, 887, 632]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Clock
	  Name			  "Clock1"
	  Position		  [25, 95, 45, 115]
	  Decimation		  "10"
	}
	Block {
	  BlockType		  Clock
	  Name			  "Clock4"
	  Position		  [25, 30, 45, 50]
	  Decimation		  "10"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn"
	  Position		  [130, 25, 190, 55]
	  Expr			  "cos(u)"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn1"
	  Position		  [130, 90, 190, 120]
	  Expr			  "cos(u)"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [80, 25, 110, 55]
	  Gain			  "5*pi"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain2"
	  Position		  [80, 90, 110, 120]
	  Gain			  "5*pi"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain3"
	  Position		  [225, 90, 255, 120]
	  Gain			  "0.5"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain4"
	  Position		  [210, 25, 240, 55]
	  Gain			  "0.2"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [265, 33, 295, 47]
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out2"
	  Position		  [280, 98, 310, 112]
	  Port			  "2"
	}
	Line {
	  SrcBlock		  "Clock4"
	  SrcPort		  1
	  DstBlock		  "Gain1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  DstBlock		  "Fcn"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fcn"
	  SrcPort		  1
	  DstBlock		  "Gain4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Clock1"
	  SrcPort		  1
	  DstBlock		  "Gain2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain2"
	  SrcPort		  1
	  DstBlock		  "Fcn1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fcn1"
	  SrcPort		  1
	  DstBlock		  "Gain3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain4"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain3"
	  SrcPort		  1
	  DstBlock		  "Out2"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem1"
      Ports		      [1, 1]
      Position		      [830, 405, 870, 465]
      Orientation	      "left"
      NamePlacement	      "alternate"
      TreatAsAtomicUnit	      off
      System {
	Name			"Subsystem1"
	Location		[444, 101, 739, 285]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [240, 38, 270, 52]
	  Orientation		  "left"
	}
	Block {
	  BlockType		  Clock
	  Name			  "Clock"
	  Position		  [55, 90, 75, 110]
	  Decimation		  "10"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [70, 130, 100, 160]
	  Value			  "0.01"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator"
	  Ports			  [1, 1]
	  Position		  [80, 30, 110, 60]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product1"
	  Ports			  [2, 1]
	  Position		  [165, 35, 215, 70]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  Inputs		  "*/"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch"
	  Position		  [130, 90, 160, 120]
	  Criteria		  "u2 > Threshold"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [25, 38, 55, 52]
	  Orientation		  "left"
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Product1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Integrator"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Switch"
	  SrcPort		  1
	  Points		  [75, 0; 0, -45]
	  DstBlock		  "Product1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [5, 0; 0, -30]
	  DstBlock		  "Switch"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Clock"
	  SrcPort		  1
	  Points		  [15, 0; 0, 5; 10, 0]
	  Branch {
	    Points		    [0, -10]
	    DstBlock		    "Switch"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Switch"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  Points		  [-25, 0; 0, -10]
	  DstBlock		  "Integrator"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Sum
      Name		      "Sum2"
      Ports		      [2, 1]
      Position		      [725, 80, 745, 100]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|-+"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum3"
      Ports		      [2, 1]
      Position		      [490, 420, 510, 440]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|-+"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      TransferFcn
      Name		      "Transfer Fcn"
      Position		      [670, 130, 730, 170]
      Orientation	      "up"
      Denominator	      "[T1 1]"
    }
    Block {
      BlockType		      TransferFcn
      Name		      "Transfer Fcn1"
      Position		      [530, 410, 590, 450]
      Orientation	      "left"
      NamePlacement	      "alternate"
      Denominator	      "[T1 1]"
    }
    Block {
      BlockType		      SubSystem
      Name		      "plant"
      Ports		      [4, 2]
      Position		      [735, 171, 800, 304]
      BackgroundColor	      "orange"

⌨️ 快捷键说明

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