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

📄 indnl0.mdl

📁 关于电机的.m程序
💻 MDL
📖 第 1 页 / 共 2 页
字号:
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [3, 1]
      Position		      [135, 12, 140, 78]
      ShowName		      off
      Inputs		      "3"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Gain
      Name		      "Rs"
      Position		      [165, 175, 195, 205]
      Orientation	      "left"
      Gain		      "10"
      Port {
	PortNumber		1
	Name			"v"
	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		      [15, 80, 45, 110]
      SineType		      "Time based"
      Amplitude		      "150"
      Frequency		      "2*pi*50"
      SampleTime	      "0"
      Port {
	PortNumber		1
	Name			"vac"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [95, 85, 115, 105]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
      Port {
	PortNumber		1
	Name			"e"
	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		      [305, 85, 325, 105]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum2"
      Ports		      [2, 1]
      Position		      [265, 180, 285, 200]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      IconShape		      "round"
      Inputs		      "++|"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum3"
      Ports		      [2, 1]
      Position		      [220, 180, 240, 200]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      IconShape		      "round"
      Inputs		      "++|"
      Port {
	PortNumber		1
	Name			"i"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Trigonometry
      Name		      "Trigonometric\nFunction"
      Ports		      [1, 1]
      Position		      [385, 130, 415, 160]
      Orientation	      "left"
      ShowName		      off
      Operator		      "tanh"
    }
    Block {
      BlockType		      Gain
      Name		      "a"
      Position		      [440, 130, 470, 160]
      Orientation	      "left"
      Gain		      "20"
    }
    Block {
      BlockType		      Scope
      Name		      "flux"
      Ports		      [1]
      Position		      [300, 29, 330, 61]
      Location		      [534, 472, 1129, 788]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"Flux"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "0.02"
      YMin		      "-0.4"
      YMax		      "0.3"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Gain
      Name		      "fsat"
      Position		      [330, 130, 360, 160]
      Orientation	      "left"
      Gain		      "0.2"
    }
    Block {
      BlockType		      Reference
      Name		      "mag curve"
      Ports		      [2]
      Position		      [275, 210, 310, 245]
      SourceBlock	      "simulink/Sinks/XY Graph"
      SourceType	      "XY scope."
      xmin		      "-20"
      xmax		      "20"
      ymin		      "-0.3"
      ymax		      "0.3"
      st		      "-1"
    }
    Block {
      BlockType		      Scope
      Name		      "voltages"
      Ports		      [1]
      Position		      [155, 29, 185, 61]
      Location		      [536, 130, 1129, 409]
      Open		      on
      NumInputPorts	      "1"
      ZoomMode		      "yonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "0.02"
      YMin		      "-150"
      YMax		      "150"
      DataFormat	      "StructureWithTime"
    }
    Line {
      SrcBlock		      "Sum1"
      SrcPort		      1
      DstBlock		      "K"
      DstPort		      1
    }
    Line {
      SrcBlock		      "1/Lm"
      SrcPort		      1
      DstBlock		      "Sum2"
      DstPort		      1
    }
    Line {
      Name		      "e"
      SrcBlock		      "Sum"
      SrcPort		      1
      Points		      [0, 0]
      Branch {
	Labels			[1, 0]
	DstBlock		"Integrator"
	DstPort			1
      }
      Branch {
	DstBlock		"Mux"
	DstPort			3
      }
      Branch {
	Points			[0, 45]
	DstBlock		"1/Rm"
	DstPort			1
      }
    }
    Line {
      Name		      "v"
      Labels		      [1, 1]
      SrcBlock		      "Rs"
      SrcPort		      1
      Points		      [-55, 0]
      Branch {
	DstBlock		"Sum"
	DstPort			2
      }
      Branch {
	Points			[-25, 0; 0, -145]
	DstBlock		"Mux"
	DstPort			2
      }
    }
    Line {
      Name		      "vac"
      Labels		      [1, 1]
      SrcBlock		      "Sine Wave"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	DstBlock		"Sum"
	DstPort			1
      }
      Branch {
	Points			[0, -70]
	DstBlock		"Mux"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Mux"
      SrcPort		      1
      DstBlock		      "voltages"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum2"
      SrcPort		      1
      DstBlock		      "Sum3"
      DstPort		      2
    }
    Line {
      Name		      "ih"
      Labels		      [0, 0]
      SrcBlock		      "1/Rm"
      SrcPort		      1
      Points		      [15, 0]
      DstBlock		      "Sum3"
      DstPort		      1
    }
    Line {
      Name		      "i"
      Labels		      [0, 0]
      SrcBlock		      "Sum3"
      SrcPort		      1
      Points		      [-5, 0]
      Branch {
	DstBlock		"Rs"
	DstPort			1
      }
      Branch {
	Points			[0, 30]
	DstBlock		"mag curve"
	DstPort			1
      }
    }
    Line {
      Name		      "f"
      Labels		      [1, 0]
      SrcBlock		      "Integrator"
      SrcPort		      1
      Points		      [50, 0]
      Branch {
	Points			[20, 0]
	Branch {
	  DstBlock		  "Sum1"
	  DstPort		  1
	}
	Branch {
	  DstBlock		  "1/Lm"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, -50]
	  DstBlock		  "flux"
	  DstPort		  1
	}
      }
      Branch {
	Points			[0, 140]
	DstBlock		"mag curve"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "a"
      SrcPort		      1
      DstBlock		      "Trigonometric\nFunction"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Trigonometric\nFunction"
      SrcPort		      1
      DstBlock		      "fsat"
      DstPort		      1
    }
    Line {
      SrcBlock		      "fsat"
      SrcPort		      1
      Points		      [-10, 0]
      DstBlock		      "Sum1"
      DstPort		      2
    }
    Line {
      Name		      "im"
      Labels		      [1, 0]
      SrcBlock		      "K"
      SrcPort		      1
      Points		      [60, 0; 0, 50]
      Branch {
	DstBlock		"a"
	DstPort			1
      }
      Branch {
	Points			[0, 45]
	DstBlock		"Sum2"
	DstPort			2
      }
    }
    Annotation {
      Name		      "SATURABLE INDUCTOR"
      Position		      [108, 247]
      ForegroundColor	      "white"
      BackgroundColor	      "blue"
      FontSize		      14
      FontWeight	      "bold"
    }
  }
}

⌨️ 快捷键说明

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