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

📄 dtc.mdl

📁 电机调速,用于直接转矩控制中的一个程序源码
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "SS"
	      Position		      [370, 158, 400, 172]
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Amp"
	      Position		      [360, 53, 390, 67]
	      Port		      "2"
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Amp"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "S-Function"
	      SrcPort		      1
	      Points		      [15, 0; 0, 10]
	      DstBlock		      "SS"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      DstBlock		      "S-Function"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Demux"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Demux"
	      SrcPort		      2
	      DstBlock		      "Mux"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "phis_qd"
	      SrcPort		      1
	      Points		      [15, 0]
	      Branch {
		Points			[25, 0; 0, -45; -5, 0; 0, -10]
		DstBlock		"Fcn"
		DstPort			1
	      }
	      Branch {
		Points			[0, 40]
		DstBlock		"Demux"
		DstPort			1
	      }
	    }
	  }
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [325, 190, 355, 220]
	  Value			  "0.98"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Flux Controller"
	  Ports			  [2, 1]
	  Position		  [405, 186, 450, 259]
	  TreatAsAtomicUnit	  off
	  System {
	    Name		    "Flux Controller"
	    Location		    [420, 435, 918, 735]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "F*"
	      Position		      [60, 83, 90, 97]
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "F"
	      Position		      [65, 173, 95, 187]
	      Port		      "2"
	    }
	    Block {
	      BlockType		      Relay
	      Name		      "Relay"
	      Position		      [275, 90, 305, 120]
	      OnSwitchValue	      "0.01"
	      OffSwitchValue	      "-0.01"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [195, 72, 215, 168]
	      ShowName		      off
	      Inputs		      "|+-"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "SF"
	      Position		      [375, 98, 405, 112]
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      DstBlock		      "Relay"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Relay"
	      SrcPort		      1
	      DstBlock		      "SF"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "F*"
	      SrcPort		      1
	      Points		      [50, 0; 0, 20]
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "F"
	      SrcPort		      1
	      Points		      [65, 0; 0, -30]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Speed Controller"
	  Ports			  [2, 1]
	  Position		  [90, 51, 135, 129]
	  TreatAsAtomicUnit	  off
	  System {
	    Name		    "Speed Controller"
	    Location		    [249, 365, 939, 665]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "wr"
	      Position		      [50, 88, 80, 102]
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "wref"
	      Position		      [60, 148, 90, 162]
	      Port		      "2"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [310, 78, 340, 112]
	      Gain		      "Ki"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain1"
	      Position		      [290, 13, 320, 47]
	      Gain		      "Kp"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain2"
	      Position		      [340, 185, 370, 215]
	      Orientation	      "left"
	      NamePlacement	      "alternate"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [1, 1]
	      Position		      [375, 80, 405, 110]
	    }
	    Block {
	      BlockType		      Saturate
	      Name		      "Saturation"
	      Position		      [555, 50, 585, 80]
	      UpperLimit	      "20"
	      LowerLimit	      "-20"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [140, 53, 170, 137]
	      ShowName		      off
	      Inputs		      "|-+"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [2, 1]
	      Position		      [230, 53, 260, 137]
	      ShowName		      off
	      Inputs		      "|+-"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum2"
	      Ports		      [2, 1]
	      Position		      [475, 23, 505, 107]
	      ShowName		      off
	      Inputs		      "|++"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum3"
	      Ports		      [2, 1]
	      Position		      [480, 160, 510, 240]
	      Orientation	      "left"
	      NamePlacement	      "alternate"
	      ShowName		      off
	      Inputs		      "|+-"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Te*"
	      Position		      [630, 58, 660, 72]
	    }
	    Line {
	      SrcBlock		      "wr"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "wref"
	      SrcPort		      1
	      Points		      [20, 0; 0, -35]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [15, 0]
	      Branch {
		Points			[0, -65]
		DstBlock		"Gain1"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Sum1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain1"
	      SrcPort		      1
	      Points		      [80, 0; 0, 35]
	      DstBlock		      "Sum2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      DstBlock		      "Sum2"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      DstBlock		      "Gain"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum3"
	      SrcPort		      1
	      DstBlock		      "Gain2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain2"
	      SrcPort		      1
	      Points		      [-140, 0; 0, -75]
	      DstBlock		      "Sum1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum2"
	      SrcPort		      1
	      Points		      [25, 0]
	      Branch {
		Points			[0, 135]
		DstBlock		"Sum3"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Saturation"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Saturation"
	      SrcPort		      1
	      Points		      [20, 0]
	      Branch {
		DstBlock		"Te*"
		DstPort			1
	      }
	      Branch {
		Points			[0, 160]
		DstBlock		"Sum3"
		DstPort			2
	      }
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Switch table"
	  Ports			  [3, 1]
	  Position		  [370, 63, 445, 147]
	  TreatAsAtomicUnit	  off
	  System {
	    Name		    "Switch table"
	    Location		    [407, 395, 905, 695]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "SF"
	      Position		      [40, 38, 70, 52]
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "ST"
	      Position		      [40, 98, 70, 112]
	      Port		      "2"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "SS"
	      Position		      [40, 158, 70, 172]
	      Port		      "3"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux"
	      Ports		      [3, 1]
	      Position		      [210, 71, 215, 139]
	      ShowName		      off
	      Inputs		      "3"
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      "S-Function"
	      Ports		      [1, 1]
	      Position		      [270, 90, 330, 120]
	      FunctionName	      "table"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "P"
	      Position		      [410, 98, 440, 112]
	    }
	    Line {
	      SrcBlock		      "ST"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "SF"
	      SrcPort		      1
	      Points		      [45, 0; 0, 40]
	      DstBlock		      "Mux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "SS"
	      SrcPort		      1
	      Points		      [45, 0; 0, -40]
	      DstBlock		      "Mux"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "S-Function"
	      SrcPort		      1
	      DstBlock		      "P"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      DstBlock		      "S-Function"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Torque Controller"
	  Ports			  [2, 1]
	  Position		  [260, 68, 300, 137]
	  TreatAsAtomicUnit	  off
	  System {
	    Name		    "Torque Controller"
	    Location		    [413, 300, 911, 600]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Te*"
	      Position		      [85, 53, 115, 67]
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Te"
	      Position		      [85, 143, 115, 157]
	      Port		      "2"
	    }
	    Block {
	      BlockType		      Relay
	      Name		      "Relay"
	      Position		      [290, 65, 320, 95]
	      OnSwitchValue	      "0.01"
	      OffSwitchValue	      "-0.01"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [210, 47, 230, 143]
	      ShowName		      off
	      Inputs		      "|+-"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "ST"
	      Position		      [390, 73, 420, 87]
	    }
	    Line {
	      SrcBlock		      "Te*"
	      SrcPort		      1
	      Points		      [55, 0; 0, 20]
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Te"
	      SrcPort		      1
	      Points		      [55, 0; 0, -25]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      DstBlock		      "Relay"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Relay"
	      SrcPort		      1
	      DstBlock		      "ST"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "P"
	  Position		  [490, 98, 520, 112]
	}
	Block {
	  BlockType		  Outport
	  Name			  "Te*"
	  Position		  [195, 18, 225, 32]
	  Port			  "2"
	}
	Line {
	  SrcBlock		  "phis_qd"
	  SrcPort		  1
	  DstBlock		  "Amp SS"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Amp SS"
	  SrcPort		  2
	  DstBlock		  "Flux Controller"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  DstBlock		  "Flux Controller"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Switch table"
	  SrcPort		  1

⌨️ 快捷键说明

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