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

📄 eventtriggered.mdl

📁 用于网络控制系统仿真
💻 MDL
📖 第 1 页 / 共 2 页
字号:
      System {	Name			"ttGetMsg2"	Location		[234, 613, 677, 806]	Open			off	ModelBrowserVisibility	off	ModelBrowserWidth	200	ScreenColor		"white"	PaperOrientation	"landscape"	PaperPositionMode	"auto"	PaperType		"usletter"	PaperUnits		"inches"	ZoomFactor		"100"	Block {	  BlockType		  Inport	  Name			  "rcv"	  Position		  [60, 48, 90, 62]	  Port			  "1"	  LatchInput		  off	  Interpolate		  on	}	Block {	  BlockType		  SubSystem	  Name			  "Subsystem"	  Ports			  [0, 1, 0, 1]	  Position		  [250, 25, 295, 85]	  ShowPortLabels	  on	  TreatAsAtomicUnit	  on	  RTWSystemCode		  "Auto"	  RTWFcnNameOpts	  "Auto"	  RTWFileNameOpts	  "Auto"	  System {	    Name		    "Subsystem"	    Location		    [712, 401, 1024, 666]	    Open		    off	    ModelBrowserVisibility  off	    ModelBrowserWidth	    200	    ScreenColor		    "white"	    PaperOrientation	    "landscape"	    PaperPositionMode	    "auto"	    PaperType		    "usletter"	    PaperUnits		    "inches"	    ZoomFactor		    "100"	    Block {	      BlockType		      TriggerPort	      Name		      "Trigger"	      Ports		      [0, 1]	      Position		      [30, 180, 50, 200]	      TriggerType	      "either"	      ShowOutputPort	      on	      OutputDataType	      "auto"	    }	    Block {	      BlockType		      MATLABFcn	      Name		      "MATLAB Fcn1"	      Position		      [160, 110, 220, 140]	      MATLABFcn		      "ttGetMsg2(u(1), u(2), u(3))"	      OutputDimensions	      "-1"	      OutputSignalType	      "auto"	      Output1D		      off	    }	    Block {	      BlockType		      Mux	      Name		      "Mux"	      Ports		      [3, 1]	      Position		      [135, 25, 140, 225]	      ShowName		      off	      Inputs		      "3"	      DisplayOption	      "bar"	    }	    Block {	      BlockType		      Constant	      Name		      "network"	      Position		      [25, 45, 55, 75]	      Value		      "network"	      VectorParams1D	      on	    }	    Block {	      BlockType		      Constant	      Name		      "receiver"	      Position		      [25, 110, 55, 140]	      Value		      "receiver"	      VectorParams1D	      on	    }	    Block {	      BlockType		      Outport	      Name		      "data"	      Position		      [245, 118, 275, 132]	      Port		      "1"	      OutputWhenDisabled      "held"	      InitialOutput	      "[]"	    }	    Line {	      SrcBlock		      "Trigger"	      SrcPort		      1	      DstBlock		      "Mux"	      DstPort		      3	    }	    Line {	      SrcBlock		      "receiver"	      SrcPort		      1	      DstBlock		      "Mux"	      DstPort		      2	    }	    Line {	      SrcBlock		      "network"	      SrcPort		      1	      DstBlock		      "Mux"	      DstPort		      1	    }	    Line {	      SrcBlock		      "Mux"	      SrcPort		      1	      DstBlock		      "MATLAB Fcn1"	      DstPort		      1	    }	    Line {	      SrcBlock		      "MATLAB Fcn1"	      SrcPort		      1	      DstBlock		      "data"	      DstPort		      1	    }	  }	}	Block {	  BlockType		  Outport	  Name			  "data"	  Position		  [330, 48, 360, 62]	  Port			  "1"	  OutputWhenDisabled	  "held"	  InitialOutput		  "[]"	}	Block {	  BlockType		  Outport	  Name			  "trigger"	  Position		  [265, 130, 285, 150]	  Port			  "2"	  OutputWhenDisabled	  "held"	  InitialOutput		  "[]"	}	Line {	  SrcBlock		  "rcv"	  SrcPort		  1	  Points		  [75, 0]	  Branch {	    Points		    [0, -45]	    DstBlock		    "Subsystem"	    DstPort		    trigger	  }	  Branch {	    Points		    [0, 85]	    DstBlock		    "trigger"	    DstPort		    1	  }	}	Line {	  SrcBlock		  "Subsystem"	  SrcPort		  1	  Points		  [0, 0]	  DstBlock		  "data"	  DstPort		  1	}      }    }    Block {      BlockType		      Reference      Name		      "ttSendMsg1"      Ports		      [1, 1, 0, 1]      Position		      [480, 114, 530, 166]      DropShadow	      on      Priority		      "1"      SourceBlock	      "truetime/ttSendMsg"      SourceType	      ""      network		      "1"      network_input	      off      sender		      "1"      sender_input	      off      receiver		      "2"      receiver_input	      off      data		      "0"      data_input	      on      length		      "1000"      length_input	      off      priority		      "1"      priority_input	      off      TriggerType	      "rising"    }    Block {      BlockType		      Reference      Name		      "ttSendMsg2"      Ports		      [1, 1, 0, 1]      Position		      [170, 275, 220, 325]      Orientation	      "left"      DropShadow	      on      Priority		      "1"      SourceBlock	      "truetime/ttSendMsg"      SourceType	      ""      network		      "1"      network_input	      off      sender		      "2"      sender_input	      off      receiver		      "1"      receiver_input	      off      data		      "0"      data_input	      on      length		      "1000"      length_input	      off      priority		      "1"      priority_input	      off      TriggerType	      "either"    }    Block {      BlockType		      Scope      Name		      "u"      Ports		      [1]      Position		      [175, 75, 205, 105]      Orientation	      "up"      Floating		      off      Location		      [12, 579, 336, 818]      Open		      off      NumInputPorts	      "1"      TickLabels	      "OneTimeTick"      ZoomMode		      "xonly"      List {	ListType		AxesTitles	axes1			"%<SignalLabel>"      }      List {	ListType		SelectedSignals	axes1			""      }      Grid		      "on"      TimeRange		      "10"      YMin		      "-1"      YMax		      "1"      SaveToWorkspace	      off      SaveName		      "ScopeData2"      DataFormat	      "StructureWithTime"      LimitDataPoints	      on      MaxDataPoints	      "5000"      Decimation	      "1"      SampleInput	      off      SampleTime	      "0"    }    Block {      BlockType		      Scope      Name		      "y"      Ports		      [1]      Position		      [335, 75, 365, 105]      Orientation	      "up"      Floating		      off      Location		      [838, 284, 1162, 523]      Open		      off      NumInputPorts	      "1"      TickLabels	      "OneTimeTick"      ZoomMode		      "xonly"      List {	ListType		AxesTitles	axes1			"%<SignalLabel>"      }      List {	ListType		SelectedSignals	axes1			""      }      Grid		      "on"      TimeRange		      "10"      YMin		      "-1"      YMax		      "1"      SaveToWorkspace	      off      SaveName		      "ScopeData1"      DataFormat	      "StructureWithTime"      LimitDataPoints	      off      MaxDataPoints	      "5000"      Decimation	      "1"      SampleInput	      off      SampleTime	      "0"    }    Line {      SrcBlock		      "Clock"      SrcPort		      1      DstBlock		      "Display"      DstPort		      1    }    Line {      SrcBlock		      "Integrator"      SrcPort		      1      Points		      [25, 0]      Branch {	DstBlock		"y"	DstPort			1      }      Branch {	Points			[35, 0]	Branch {	  DstBlock		  "ttSendMsg1"	  DstPort		  1	}	Branch {	  DstBlock		  "Abs"	  DstPort		  1	}      }    }    Line {      SrcBlock		      "ttSendMsg1"      SrcPort		      1      DstBlock		      "Goto2"      DstPort		      1    }    Line {      SrcBlock		      "TrueTime Network"      SrcPort		      1      DstBlock		      "Demux"      DstPort		      1    }    Line {      SrcBlock		      "From1"      SrcPort		      1      DstBlock		      "Mux"      DstPort		      2    }    Line {      SrcBlock		      "From"      SrcPort		      1      DstBlock		      "Mux"      DstPort		      1    }    Line {      SrcBlock		      "Demux"      SrcPort		      1      DstBlock		      "Goto"      DstPort		      1    }    Line {      SrcBlock		      "Demux"      SrcPort		      2      DstBlock		      "Goto1"      DstPort		      1    }    Line {      SrcBlock		      "TrueTime Network"      SrcPort		      2      Points		      [10, 0; 0, 15]      DstBlock		      "Schedule"      DstPort		      1    }    Line {      SrcBlock		      "ttGetMsg2"      SrcPort		      1      DstBlock		      "P-controller"      DstPort		      1    }    Line {      SrcBlock		      "From2"      SrcPort		      1      DstBlock		      "ttGetMsg1"      DstPort		      1    }    Line {      SrcBlock		      "From3"      SrcPort		      1      DstBlock		      "ttGetMsg2"      DstPort		      1    }    Line {      SrcBlock		      "Mux"      SrcPort		      1      DstBlock		      "TrueTime Network"      DstPort		      1    }    Line {      SrcBlock		      "Sum"      SrcPort		      1      DstBlock		      "Integrator"      DstPort		      1    }    Line {      SrcBlock		      "Band-Limited\nWhite Noise"      SrcPort		      1      DstBlock		      "Sum"      DstPort		      1    }    Line {      SrcBlock		      "Relational\nOperator"      SrcPort		      1      Points		      [5, 0]      DstBlock		      "ttSendMsg1"      DstPort		      trigger    }    Line {      SrcBlock		      "Abs"      SrcPort		      1      DstBlock		      "Relational\nOperator"      DstPort		      2    }    Line {      SrcBlock		      "Constant"      SrcPort		      1      Points		      [0, 10]      DstBlock		      "Relational\nOperator"      DstPort		      1    }    Line {      SrcBlock		      "ttGetMsg1"      SrcPort		      1      Points		      [25, 0]      Branch {	DstBlock		"Sum"	DstPort			2      }      Branch {	DstBlock		"u"	DstPort			1      }    }    Line {      SrcBlock		      "ttSendMsg2"      SrcPort		      1      DstBlock		      "Goto3"      DstPort		      1    }    Line {      SrcBlock		      "P-controller"      SrcPort		      1      DstBlock		      "ttSendMsg2"      DstPort		      1    }    Line {      SrcBlock		      "ttGetMsg2"      SrcPort		      2      Points		      [-15, 0; 0, -85]      DstBlock		      "Delay"      DstPort		      1    }    Line {      SrcBlock		      "Delay"      SrcPort		      1      Points		      [-45, 0]      DstBlock		      "ttSendMsg2"      DstPort		      trigger    }    Annotation {      Position		      [296, 421]      Text		      "TrueTime 1.5  Event-Triggered Networked Control"" Loop\nCopyright (c) 2007\nMartin Ohlin, Dan Henriksson and Anton Cervin\nDep""artment of Automatic Control, Lund University, Sweden\nPlease direct question""s and bug reports to:  truetime@control.lth.se "    }  }}

⌨️ 快捷键说明

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