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

📄 dtc3.mdl

📁 关于电机的.m程序
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  SrcBlock		  "rot1"
	  SrcPort		  1
	  Points		  [-90, 0; 0, 20]
	  DstBlock		  "Product1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  Points		  [20, 0]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "rot"
	  SrcPort		  1
	  Points		  [0, 0; -85, 0]
	  Branch {
	    Points		    [0, 20]
	    DstBlock		    "Product"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -25]
	    DstBlock		    "Dot Product1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Sum4"
	  SrcPort		  1
	  DstBlock		  "Product1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "Gain4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain4"
	  SrcPort		  1
	  DstBlock		  "Integrator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  DstBlock		  "Gain5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain5"
	  SrcPort		  1
	  DstBlock		  "Integrator1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "flux-current1"
	  SrcPort		  1
	  Points		  [35, 0]
	  Branch {
	    Points		    [0, 95]
	    Branch {
	      DstBlock		      "Gain"
	      DstPort		      1
	    }
	    Branch {
	      DstBlock		      "is"
	      DstPort		      1
	    }
	  }
	  Branch {
	    Points		    [0, -95]
	    DstBlock		    "Dot Product1"
	    DstPort		    2
	  }
	}
	Line {
	  Name			  "Te"
	  Labels		  [0, 0]
	  SrcBlock		  "Dot Product1"
	  SrcPort		  1
	  DstBlock		  "Te"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "vs"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "wk"
	  SrcPort		  1
	  Points		  [0, 0; 5, 0]
	  Branch {
	    DstBlock		    "Product"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 215]
	    DstBlock		    "Sum4"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "wm"
	  SrcPort		  1
	  Points		  [30, 0]
	  DstBlock		  "Sum4"
	  DstPort		  2
	}
	Annotation {
	  Name			  "ROTOR"
	  Position		  [243, 307]
	  ForegroundColor	  "red"
	  FontSize		  12
	}
	Annotation {
	  Name			  "STATOR"
	  Position		  [238, 96]
	  ForegroundColor	  "red"
	  FontSize		  12
	}
	Annotation {
	  Name			  "fs"
	  Position		  [337, 89]
	}
	Annotation {
	  Name			  "fr"
	  Position		  [335, 304]
	}
	Annotation {
	  Name			  "is"
	  Position		  [490, 130]
	}
	Annotation {
	  Name			  "INDUCTION MACHINE SUBSYSTEM IN ARBITRARY RE"
"FERENCE FRAME"
	  Position		  [352, 451]
	  ForegroundColor	  "blue"
	  FontSize		  12
	  FontWeight		  "bold"
	}
	Annotation {
	  Name			  "ir"
	  Position		  [489, 216]
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Mechanical \nsystem"
      Ports		      [2, 1]
      Position		      [1225, 156, 1325, 254]
      BackgroundColor	      "yellow"
      NamePlacement	      "alternate"
      ShowName		      off
      FontName		      "Arial"
      FontSize		      12
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      MaskPromptString	      "Inertia constant [s]|Torque-speed coefficient"
      MaskStyleString	      "edit,edit"
      MaskTunableValueString  "on,on"
      MaskCallbackString      "|"
      MaskEnableString	      "on,on"
      MaskVisibilityString    "on,on"
      MaskToolTipString	      "on,on"
      MaskVarAliasString      ","
      MaskVariables	      "H=@1;Bm=@2;"
      MaskDisplay	      "disp('MECHANICAL\\nSYSTEM')"
      MaskIconFrame	      on
      MaskIconOpaque	      off
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "0.5|1e-5"
      Port {
	PortNumber		1
	Name			"wm"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
      System {
	Name			"Mechanical \nsystem"
	Location		[779, 127, 1110, 253]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Te"
	  Position		  [15, 48, 45, 62]
	}
	Block {
	  BlockType		  Inport
	  Name			  "Tl"
	  Position		  [15, 13, 45, 27]
	  Port			  "2"
	}
	Block {
	  BlockType		  Gain
	  Name			  "1/2H"
	  Position		  [115, 37, 175, 73]
	  ShowName		  off
	  Gain			  "1/(2*H)"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Bm"
	  Position		  [145, 80, 175, 110]
	  Orientation		  "left"
	  ShowName		  off
	  Gain			  "Bm"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator"
	  Ports			  [1, 1]
	  Position		  [195, 39, 225, 71]
	  ShowName		  off
	  InitialCondition	  "wmo"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [3, 1]
	  Position		  [70, 45, 90, 65]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "-+-"
	}
	Block {
	  BlockType		  Outport
	  Name			  "wm"
	  Position		  [270, 48, 300, 62]
	}
	Line {
	  SrcBlock		  "Tl"
	  SrcPort		  1
	  Points		  [30, 0]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Te"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Integrator"
	  SrcPort		  1
	  Points		  [20, 0]
	  Branch {
	    DstBlock		    "wm"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 40]
	    DstBlock		    "Bm"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Bm"
	  SrcPort		  1
	  Points		  [-60, 0]
	  DstBlock		  "Sum"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "1/2H"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "1/2H"
	  SrcPort		  1
	  DstBlock		  "Integrator"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [2, 1]
      Position		      [1215, 58, 1220, 122]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Gain
      Name		      "P_control"
      Position		      [205, 154, 265, 216]
      ShowName		      off
      Gain		      "1000"
      Port {
	PortNumber		1
	Name			"Te*"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Saturate
      Name		      "Saturation"
      Position		      [310, 161, 355, 209]
      ShowName		      off
      UpperLimit	      "2"
      LowerLimit	      "-2"
    }
    Block {
      BlockType		      SignalGenerator
      Name		      "Signal\nGenerator"
      Position		      [45, 470, 85, 510]
      ShowName		      off
      WaveForm		      "square"
      Amplitude		      ".5"
      Frequency		      "4"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [380, 170, 410, 200]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum1"
      Ports		      [2, 1]
      Position		      [105, 475, 135, 505]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|++"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum4"
      Ports		      [2, 1]
      Position		      [155, 175, 175, 195]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace1"
      Position		      [1130, 283, 1160, 317]
      ShowName		      off
      VariableName	      "fr"
      MaxDataPoints	      "inf"
      Decimation	      "2"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace2"
      Position		      [1125, 393, 1155, 427]
      ShowName		      off
      VariableName	      "fs"
      MaxDataPoints	      "inf"
      Decimation	      "2"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      TransportDelay
      Name		      "Transport\nDelay"
      Position		      [230, 472, 275, 508]
      ShowName		      off
      DelayTime		      ".75"
    }
    Block {
      BlockType		      Scope
      Name		      "currents"
      Ports		      [1]
      Position		      [1120, 71, 1155, 119]
      NamePlacement	      "alternate"
      Location		      [31, 511, 584, 830]
      Open		      on
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"currents"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "2"
      YMin		      "-2.5"
      YMax		      "2.5"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      MaxDataPoints	      "20000"
      Decimation	      "20"
    }
    Block {
      BlockType		      Gain
      Name		      "dc"
      Position		      [800, 154, 860, 216]
    }
    Block {
      BlockType		      Scope
      Name		      "fr"
      Ports		      [1]
      Position		      [1395, 316, 1430, 364]
      Location		      [31, 152, 570, 471]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"Rotor flux"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "2"
      YMin		      "-1.1"
      YMax		      "1.1"
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      MaxDataPoints	      "20000"
      Decimation	      "20"
    }
    Block {
      BlockType		      Scope
      Name		      "frs"
      Ports		      [1]
      Position		      [1400, 236, 1435, 284]
      Location		      [33, 510, 572, 829]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"Stator flux"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "2"
      YMin		      "-1.1"
      YMax		      "1.1"
      SaveName		      "ScopeData4"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      MaxDataPoints	      "20000"
      Decimation	      "20"
    }
    Block {
      BlockType		      SubSystem
      Name		      "fsw"
      Ports		      []
      Position		      [115, 556, 231, 667]
      ForegroundColor	      "red"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "dtctableb"
      FontName		      "Arial"
      FontSize		      12
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off

⌨️ 快捷键说明

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