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

📄 fzsm.mdl

📁 基于一个二阶系统的滑模变结构控制的应用,另外加入了模糊控制来减轻变结构控制带来的振动.
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "3               "
      YMin		      "3.25"
      YMax		      "9"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope5"
      Ports		      [1]
      Position		      [675, 188, 700, 222]
      Location		      [6, 56, 798, 592]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "3"
      YMin		      "-1"
      YMax		      "1"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope6"
      Ports		      [1]
      Position		      [185, 193, 210, 217]
      Location		      [6, 56, 806, 609]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "1.2"
      YMin		      "0.156"
      YMax		      "0.165"
      DataFormat	      "StructureWithTime"
      MaxDataPoints	      "50000"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope7"
      Ports		      [1]
      Position		      [280, 213, 305, 237]
      Location		      [6, 56, 798, 592]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "3"
      YMin		      "-0.005"
      YMax		      "0.065"
      DataFormat	      "StructureWithTime"
      MaxDataPoints	      "50000"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope8"
      Ports		      [1]
      Position		      [740, 44, 770, 76]
      Location		      [6, 56, 798, 592]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "3"
      YMin		      "1.475e-005"
      YMax		      "2.025e-005"
      DataFormat	      "StructureWithTime"
      MaxDataPoints	      "50000"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope9"
      Ports		      [1]
      Position		      [430, 368, 455, 392]
      Location		      [6, 56, 798, 592]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "3"
      YMin		      "-50"
      YMax		      "45"
      DataFormat	      "StructureWithTime"
      MaxDataPoints	      "50000"
    }
    Block {
      BlockType		      Sin
      Name		      "Sine Wave1"
      Ports		      [0, 1]
      Position		      [15, 135, 45, 165]
      Frequency		      "1*2*pi"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Step
      Name		      "Step"
      Position		      [15, 65, 45, 95]
      Time		      "0"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [145, 112, 175, 143]
      Inputs		      "+-"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum1"
      Ports		      [2, 1]
      Position		      [680, 42, 710, 73]
      Inputs		      "+-"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace"
      Position		      [110, 13, 140, 37]
      VariableName	      "t"
      MaxDataPoints	      "inf"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace5"
      Position		      [740, 379, 770, 401]
      VariableName	      "E"
      MaxDataPoints	      "inf"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace6"
      Position		      [535, 54, 565, 76]
      VariableName	      "u"
      MaxDataPoints	      "inf"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace7"
      Position		      [740, 184, 770, 206]
      VariableName	      "y"
      MaxDataPoints	      "inf"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Line {
      SrcBlock		      "Mux1"
      SrcPort		      1
      DstBlock		      "S-Function"
      DstPort		      1
    }
    Line {
      SrcBlock		      "S-Function"
      SrcPort		      1
      DstBlock		      "Demux"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Demux"
      SrcPort		      2
      Points		      [15, 0; 0, 60]
      Branch {
	DstBlock		"Derivative1"
	DstPort			1
      }
      Branch {
	Points			[-35, 0; 0, 30]
	Branch {
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Branch {
	  DstBlock		  "Scope10"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Demux"
      SrcPort		      1
      Points		      [30, 0]
      Branch {
	Points			[0, 0]
	Branch {
	  DstBlock		  "Scope1"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, -30]
	  DstBlock		  "To Workspace6"
	  DstPort		  1
	}
      }
      Branch {
	Points			[0, 60]
	DstBlock		"S-Function1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "S-Function1"
      SrcPort		      1
      DstBlock		      "Demux2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Derivative"
      SrcPort		      1
      DstBlock		      "Mux1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Sum"
      SrcPort		      1
      Points		      [5, 0]
      Branch {
	Points			[0, -45]
	DstBlock		"Mux1"
	DstPort			1
      }
      Branch {
	DstBlock		"Derivative"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Demux2"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	Points			[10, 0]
	Branch {
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Branch {
	  Points		  [0, 275; -565, 0; 0, -280]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
      }
      Branch {
	Points			[0, -75]
	DstBlock		"Sum1"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Sum1"
      SrcPort		      1
      DstBlock		      "Scope8"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Demux2"
      SrcPort		      2
      Points		      [10, 0; 0, 40; 40, 0]
      Branch {
	Labels			[1, 0]
	DstBlock		"Scope5"
	DstPort			1
      }
      Branch {
	Points			[-15, 0; 0, 110]
	DstBlock		"Mux3"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Demux"
      SrcPort		      3
      Points		      [40, 0; 0, 70; 50, 0]
      Branch {
	DstBlock		"Scope3"
	DstPort			1
      }
      Branch {
	Points			[0, 110]
	DstBlock		"Mux3"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "S-Function2"
      SrcPort		      1
      Points		      [-20, 0; 0, -90]
      Branch {
	Points			[0, -35]
	DstBlock		"Scope7"
	DstPort			1
      }
      Branch {
	DstBlock		"Integrator"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Gain"
      SrcPort		      1
      Points		      [-10, 0; 0, -55]
      Branch {
	Points			[0, -30]
	DstBlock		"Mux1"
	DstPort			3
      }
      Branch {
	DstBlock		"Scope6"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Integrator"
      SrcPort		      1
      DstBlock		      "Gain"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Mux3"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	DstBlock		"E , Ep"
	DstPort			1
      }
      Branch {
	Points			[0, 60]
	DstBlock		"To Workspace5"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Mux"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	DstBlock		"Scope"
	DstPort			1
      }
      Branch {
	Points			[0, 60]
	DstBlock		"To Workspace7"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Product"
      SrcPort		      1
      Points		      [0, 70; -20, 0]
      Branch {
	DstBlock		"S-Function2"
	DstPort			1
      }
      Branch {
	Points			[0, 30]
	DstBlock		"Scope9"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Clock"
      SrcPort		      1
      DstBlock		      "To Workspace"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Derivative1"
      SrcPort		      1
      Points		      [0, 0]
      Branch {
	DstBlock		"Product"
	DstPort			2
      }
      Branch {
	Points			[20, 0; 0, 5]
	DstBlock		"Scope4"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Step"
      SrcPort		      1
      DstBlock		      "Manual Switch"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sine Wave1"
      SrcPort		      1
      Points		      [5, 0; 0, -55]
      DstBlock		      "Manual Switch"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Manual Switch"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	DstBlock		"Sum"
	DstPort			1
      }
      Branch {
	Points			[35, 0; 0, -80; 465, 0; 0, 40; 20, 0]
	Branch {
	  DstBlock		  "Sum1"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 75]
	  DstBlock		  "Mux"
	  DstPort		  1
	}
      }
    }
  }
}

⌨️ 快捷键说明

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