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

📄 rec2.mdl

📁 关于电机的.m程序
💻 MDL
📖 第 1 页 / 共 2 页
字号:
	  BlockType		  Switch
	  Name			  "select"
	  Position		  [175, 46, 215, 114]
	  Threshold		  "0.5"
	}
	Block {
	  BlockType		  Outport
	  Name			  "vD"
	  Position		  [245, 73, 275, 87]
	}
	Line {
	  SrcBlock		  "Ground"
	  SrcPort		  1
	  DstBlock		  "Relational\nOperator"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Relational\nOperator"
	  SrcPort		  1
	  DstBlock		  "select"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Ron"
	  SrcPort		  1
	  Points		  [5, 0]
	  DstBlock		  "select"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Roff"
	  SrcPort		  1
	  Points		  [10, 0]
	  DstBlock		  "select"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "select"
	  SrcPort		  1
	  DstBlock		  "vD"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "iD"
	  SrcPort		  1
	  Points		  [30, 0]
	  Branch {
	    DstBlock		    "Ron"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 40]
	    Branch {
	      DstBlock		      "Relational\nOperator"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, 70]
	      DstBlock		      "Roff"
	      DstPort		      1
	    }
	  }
	}
      }
    }
    Block {
      BlockType		      Integrator
      Name		      "Integrator"
      Ports		      [1, 1]
      Position		      [310, 100, 340, 130]
      ShowName		      off
      Port {
	PortNumber		1
	Name			"iD"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [2, 1]
      Position		      [215, 18, 220, 87]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Gain
      Name		      "R"
      Position		      [250, 165, 300, 205]
      Orientation	      "left"
      Gain		      "[1 2 5 10]"
      Port {
	PortNumber		1
	Name			"vR"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Sin
      Name		      "Sine Wave"
      Position		      [20, 100, 50, 130]
      ForegroundColor	      "red"
      SineType		      "Time based"
      Amplitude		      "120*sqrt(2)"
      Frequency		      "2*pi*60"
      SampleTime	      "0"
      Port {
	PortNumber		1
	Name			"vin"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Sum
      Name		      "Sum1"
      Ports		      [2, 1]
      Position		      [130, 105, 150, 125]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
      Port {
	PortNumber		1
	Name			"vout"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Sum
      Name		      "Sum2"
      Ports		      [2, 1]
      Position		      [195, 105, 215, 125]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
      Port {
	PortNumber		1
	Name			"vL"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "help"
      Ports		      []
      Position		      [395, 231, 444, 271]
      BackgroundColor	      "gray"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "web(which('rec2.html'));"
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('HELP')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"help"
	Location		[116, 520, 441, 651]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      Scope
      Name		      "iD"
      Ports		      [1]
      Position		      [395, 78, 440, 152]
      NamePlacement	      "alternate"
      Location		      [547, 478, 1128, 784]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"Diode current"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "0.05"
      YMin		      "-10"
      YMax		      "70"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "vD"
      Ports		      [1]
      Position		      [155, 139, 200, 211]
      NamePlacement	      "alternate"
      Location		      [548, 135, 1129, 417]
      Open		      on
      NumInputPorts	      "1"
      ZoomMode		      "yonly"
      List {
	ListType		AxesTitles
	axes1			"Diode voltage"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "0.05"
      YMin		      "-200"
      YMax		      "50"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "voltage"
      Ports		      [1]
      Position		      [245, 19, 290, 91]
      NamePlacement	      "alternate"
      Location		      [55, 133, 540, 415]
      Open		      on
      NumInputPorts	      "1"
      ZoomMode		      "yonly"
      List {
	ListType		AxesTitles
	axes1			"vin&vout"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "0.05"
      YMin		      "-200"
      YMax		      "200"
      DataFormat	      "StructureWithTime"
    }
    Line {
      SrcBlock		      "1/L"
      SrcPort		      1
      DstBlock		      "Integrator"
      DstPort		      1
    }
    Line {
      Name		      "vL"
      Labels		      [0, 1]
      SrcBlock		      "Sum2"
      SrcPort		      1
      DstBlock		      "1/L"
      DstPort		      1
    }
    Line {
      Name		      "vR"
      Labels		      [0, 0]
      SrcBlock		      "R"
      SrcPort		      1
      Points		      [-40, 0]
      DstBlock		      "Sum2"
      DstPort		      2
    }
    Line {
      Name		      "iD"
      Labels		      [2, 0]
      SrcBlock		      "Integrator"
      SrcPort		      1
      Points		      [-5, 0; 30, 0]
      Branch {
	DstBlock		"iD"
	DstPort			1
      }
      Branch {
	Points			[0, 70]
	Branch {
	  DstBlock		  "R"
	  DstPort		  1
	}
	Branch {
	  Labels		  [4, 0]
	  Points		  [0, 45; -355, 0; 0, -55]
	  DstBlock		  "Diode"
	  DstPort		  1
	}
      }
    }
    Line {
      Name		      "vout"
      Labels		      [2, 0]
      SrcBlock		      "Sum1"
      SrcPort		      1
      Points		      [0, 0; 20, 0]
      Branch {
	DstBlock		"Sum2"
	DstPort			1
      }
      Branch {
	Points			[0, -45]
	DstBlock		"Mux"
	DstPort			2
      }
    }
    Line {
      Name		      "vin"
      Labels		      [0, 1]
      SrcBlock		      "Sine Wave"
      SrcPort		      1
      Points		      [0, 0; 30, 0]
      Branch {
	DstBlock		"Sum1"
	DstPort			1
      }
      Branch {
	Points			[0, -80]
	DstBlock		"Mux"
	DstPort			1
      }
    }
    Line {
      Name		      "vD"
      Labels		      [0, 0]
      SrcBlock		      "Diode"
      SrcPort		      1
      Points		      [0, 0; 25, 0]
      Branch {
	DstBlock		"Sum1"
	DstPort			2
      }
      Branch {
	DstBlock		"vD"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Mux"
      SrcPort		      1
      DstBlock		      "voltage"
      DstPort		      1
    }
    Annotation {
      Name		      "Single pulse rectifier circuit"
      Position		      [225, 268]
      ForegroundColor	      "white"
      BackgroundColor	      "blue"
      FontSize		      14
      FontWeight	      "bold"
    }
  }
}

⌨️ 快捷键说明

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