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

📄 chap6_2.mdl

📁 多变量PID控制的simulink仿真
💻 MDL
📖 第 1 页 / 共 2 页
字号:
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "u1(k)"
	  SrcPort		  1
	  DstBlock		  "Delay3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Delay4"
	  SrcPort		  1
	  DstBlock		  "Delay5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Delay5"
	  SrcPort		  1
	  Points		  [0, 0; 15, 0]
	  Branch {
	    DstBlock		    "Delay6"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -30; 80, 0; 0, -15]
	    DstBlock		    "Mux2"
	    DstPort		    4
	  }
	}
	Line {
	  SrcBlock		  "u2(k)"
	  SrcPort		  1
	  DstBlock		  "Delay4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Delay6"
	  SrcPort		  1
	  Points		  [40, 0; 0, -30]
	  DstBlock		  "Mux2"
	  DstPort		  5
	}
	Line {
	  SrcBlock		  "Delay8"
	  SrcPort		  1
	  Points		  [55, 0]
	  DstBlock		  "Mux2"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Mux2"
	  SrcPort		  1
	  DstBlock		  "S-Function"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Delay1"
	  SrcPort		  1
	  Points		  [-80, 0; 0, 30]
	  DstBlock		  "Mux2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "S-Function"
	  SrcPort		  1
	  Points		  [0, 0; 20, 0]
	  Branch {
	    DstBlock		    "Demux"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -60]
	    DstBlock		    "Delay1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  1
	  DstBlock		  "y1(k)"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  2
	  Points		  [10, 0; 0, 35]
	  DstBlock		  "y2(k)"
	  DstPort		  1
	}
	Annotation {
	  Name			  "u_1(k-1)"
	  Position		  [129, 87]
	  TeXMode		  on
	}
	Annotation {
	  Name			  "u_1(k-2)"
	  Position		  [209, 112]
	  TeXMode		  on
	}
	Annotation {
	  Name			  "u_1(k-3)"
	  Position		  [284, 87]
	  TeXMode		  on
	}
	Annotation {
	  Name			  "u_2(k-1)"
	  Position		  [134, 177]
	  TeXMode		  on
	}
	Annotation {
	  Name			  "u_2(k-2)"
	  Position		  [209, 177]
	  TeXMode		  on
	}
	Annotation {
	  Name			  "u_2(k-3)"
	  Position		  [284, 177]
	  TeXMode		  on
	}
      }
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [2, 1]
      Position		      [570, 156, 575, 189]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux1"
      Ports		      [2, 1]
      Position		      [570, 241, 575, 274]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux2"
      Ports		      [2, 1]
      Position		      [260, 111, 290, 184]
      ShowName		      off
      Inputs		      "2"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux3"
      Ports		      [2, 1]
      Position		      [270, 211, 300, 284]
      ShowName		      off
      Inputs		      "2"
    }
    Block {
      BlockType		      "S-Function"
      Name		      "S-Function"
      Ports		      [1, 1]
      Position		      [320, 130, 395, 170]
      FunctionName	      "chap6_2s"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
    }
    Block {
      BlockType		      "S-Function"
      Name		      "S-Function1"
      Ports		      [1, 1]
      Position		      [320, 229, 390, 271]
      FunctionName	      "chap6_2s"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [1]
      Position		      [595, 158, 625, 192]
      Location		      [438, 78, 795, 348]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "1500"
      YMin		      "0"
      YMax		      "1"
      SaveToWorkspace	      on
      SaveName		      "yy"
      DataFormat	      "Array"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope1"
      Ports		      [1]
      Position		      [595, 243, 625, 277]
      Location		      [438, 78, 795, 348]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "1500"
      YMin		      "0"
      YMax		      "1"
      SaveToWorkspace	      on
      SaveName		      "yy1"
      DataFormat	      "Array"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Step
      Name		      "Step"
      Position		      [55, 150, 85, 180]
      SampleTime	      "1"
    }
    Block {
      BlockType		      Step
      Name		      "Step1"
      Position		      [55, 250, 85, 280]
      After		      "0"
      SampleTime	      "1"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [135, 155, 155, 175]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "-+|"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum1"
      Ports		      [2, 1]
      Position		      [135, 255, 155, 275]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      UnitDelay
      Name		      "Unit Delay"
      Position		      [195, 145, 230, 185]
    }
    Block {
      BlockType		      UnitDelay
      Name		      "Unit Delay1"
      Position		      [200, 245, 235, 285]
    }
    Line {
      SrcBlock		      "MIMO Plant"
      SrcPort		      2
      Points		      [20, 0; 0, 30]
      Branch {
	Points			[0, 85; -385, 0]
	DstBlock		"Sum1"
	DstPort			2
      }
      Branch {
	DstBlock		"Mux1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "MIMO Plant"
      SrcPort		      1
      Points		      [20, 0; 0, -15]
      Branch {
	Points			[0, -90; -385, 0]
	DstBlock		"Sum"
	DstPort			1
      }
      Branch {
	DstBlock		"Mux"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "S-Function"
      SrcPort		      1
      Points		      [5, 0; 0, 45]
      DstBlock		      "MIMO Plant"
      DstPort		      1
    }
    Line {
      SrcBlock		      "S-Function1"
      SrcPort		      1
      Points		      [10, 0; 0, -30]
      DstBlock		      "MIMO Plant"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Step1"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	DstBlock		"Sum1"
	DstPort			1
      }
      Branch {
	Points			[0, 85; 440, 0; 0, -85]
	DstBlock		"Mux1"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Step"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	DstBlock		"Sum"
	DstPort			2
      }
      Branch {
	Points			[0, -95; 440, 0; 0, 95]
	DstBlock		"Mux"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Sum"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	DstBlock		"Unit Delay"
	DstPort			1
      }
      Branch {
	Points			[0, -35]
	DstBlock		"Mux2"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Sum1"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	Points			[0, -35]
	DstBlock		"Mux3"
	DstPort			1
      }
      Branch {
	DstBlock		"Unit Delay1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Mux"
      SrcPort		      1
      DstBlock		      "Scope"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Mux1"
      SrcPort		      1
      DstBlock		      "Scope1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Mux2"
      SrcPort		      1
      DstBlock		      "S-Function"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Unit Delay"
      SrcPort		      1
      DstBlock		      "Mux2"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Mux3"
      SrcPort		      1
      DstBlock		      "S-Function1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Unit Delay1"
      SrcPort		      1
      DstBlock		      "Mux3"
      DstPort		      2
    }
    Annotation {
      Position		      [875, 589]
    }
  }
}

⌨️ 快捷键说明

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