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

📄 motor2.mdl

📁 一款用于无刷直流电机的起动和发电一体化simulink仿真模型。
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	    Points		    [0, -25]
	    Branch {
	      Points		      [0, -45]
	      DstBlock		      "反电势模块"
	      DstPort		      1
	    }
	    Branch {
	      DstBlock		      "e/w模块"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  SrcBlock		  "Dot Product"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    DstBlock		    "Sum2"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 15]
	    DstBlock		    "Te"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "反电势模块"
	  SrcPort		  1
	  Points		  [-160, 0]
	  Branch {
	    Points		    [-25, 0; 0, 50]
	    Branch {
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Branch {
	      Labels		      [1, 0]
	      Points		      [0, 160]
	      DstBlock		      "中点电压模块"
	      DstPort		      1
	    }
	  }
	  Branch {
	    Points		    [0, 15]
	    DstBlock		    "e"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "积分模块1"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    Labels		    [1, 0]
	    Points		    [0, 0]
	    Branch {
	      Points		      [0, 45]
	      DstBlock		      "w\n"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, -60]
	      DstBlock		      "反电势模块"
	      DstPort		      2
	    }
	  }
	  Branch {
	    DstBlock		    "积分模块2"
	    DstPort		    1
	  }
	}
	Line {
	  Labels		  [0, 0]
	  SrcBlock		  "Tt"
	  SrcPort		  1
	  DstBlock		  "Sum2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "1/J"
	  SrcPort		  1
	  DstBlock		  "积分模块1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum2"
	  SrcPort		  1
	  DstBlock		  "1/J"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "积分模块"
	  SrcPort		  1
	  Points		  [5, 0]
	  Branch {
	    DstBlock		    "Dot Product"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 50]
	    Branch {
	      DstBlock		      "i"
	      DstPort		      1
	    }
	    Branch {
	      DstBlock		      "R"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  SrcBlock		  "R"
	  SrcPort		  1
	  Points		  [-10, 0; 0, -85]
	  DstBlock		  "Sum"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "1/L-M"
	  SrcPort		  1
	  DstBlock		  "积分模块"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "积分模块2"
	  SrcPort		  1
	  DstBlock		  "Sum6"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  Points		  [5, 0; 0, 30; -70, 0]
	  DstBlock		  "1/L-M"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Demux
      Name		      "Demux"
      Ports		      [1, 3]
      Position		      [595, 257, 600, 303]
      BackgroundColor	      "black"
      ShowName		      off
      Outputs		      "3"
    }
    Block {
      BlockType		      Gain
      Name		      "Gain"
      Position		      [285, 412, 345, 458]
      Orientation	      "left"
      Gain		      "60/(2*pi)"
    }
    Block {
      BlockType		      MATLABFcn
      Name		      "MATLAB Fcn"
      Position		      [430, 390, 490, 420]
      Orientation	      "left"
      MATLABFcn		      "exam"
    }
    Block {
      BlockType		      Scope
      Name		      "N"
      Ports		      [1]
      Position		      [290, 304, 320, 336]
      Location		      [1, 49, 1025, 739]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "0.16"
      YMin		      "0"
      YMax		      "700"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Reference
      Name		      "PID 控制器"
      Ports		      [1, 1]
      Position		      [295, 255, 325, 285]
      SourceBlock	      "simulink_extras/Additional\nLinear/PID Controll"
"er"
      SourceType	      "PID Controller"
      P			      "0.8"
      I			      "1"
      D			      "0"
    }
    Block {
      BlockType		      Product
      Name		      "Product"
      Ports		      [2, 1]
      Position		      [350, 262, 370, 293]
      InputSameDT	      off
    }
    Block {
      BlockType		      Relay
      Name		      "Relay"
      Position		      [410, 320, 440, 350]
      OnSwitchValue	      "0.1"
      OffSwitchValue	      "-0.1"
      OnOutputValue	      "6"
      OffOutputValue	      "-6"
    }
    Block {
      BlockType		      Step
      Name		      "Step"
      Position		      [210, 255, 240, 285]
      Time		      "0"
      After		      "650"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [380, 295, 400, 315]
      Orientation	      "down"
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum1"
      Ports		      [2, 1]
      Position		      [255, 260, 275, 280]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Scope
      Name		      "Te"
      Ports		      [1]
      Position		      [575, 339, 590, 361]
      Location		      [1, 49, 1025, 739]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      YMin		      "-1"
      YMax		      "14"
      SaveName		      "ScopeData2"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "e"
      Ports		      [1]
      Position		      [555, 354, 570, 376]
      Location		      [5, 54, 1029, 734]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      SaveName		      "ScopeData3"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "i"
      Ports		      [1]
      Position		      [490, 249, 510, 271]
      Location		      [183, 174, 621, 546]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      YMin		      "-150"
      YMax		      "150"
      SaveName		      "ScopeData6"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "i1"
      Ports		      [1]
      Position		      [463, 355, 487, 380]
      Orientation	      "down"
      NamePlacement	      "alternate"
      Location		      [5, 53, 1029, 743]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      YMin		      "-150"
      YMax		      "150"
      SaveName		      "ScopeData7"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "ia"
      Ports		      [1]
      Position		      [665, 256, 680, 274]
      Location		      [101, 134, 828, 529]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      YMin		      "-10"
      YMax		      "130"
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "ib"
      Ports		      [1]
      Position		      [640, 270, 660, 290]
      Location		      [355, 480, 870, 813]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      SaveName		      "ScopeData4"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "ic"
      Ports		      [1]
      Position		      [615, 285, 635, 305]
      Location		      [188, 365, 512, 604]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      SaveName		      "ScopeData5"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Line {
      SrcBlock		      "Step"
      SrcPort		      1
      DstBlock		      "Sum1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Gain"
      SrcPort		      1
      Points		      [-15, 0; 0, -115]
      Branch {
	DstBlock		"Sum1"
	DstPort			2
      }
      Branch {
	DstBlock		"N"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Sum1"
      SrcPort		      1
      DstBlock		      "PID 控制器"
      DstPort		      1
    }
    Line {
      SrcBlock		      "BLDC motor\n"
      SrcPort		      2
      Points		      [65, 0; 0, 115]
      DstBlock		      "Gain"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Relay"
      SrcPort		      1
      Points		      [30, 0]
      Branch {
	DstBlock		"BLDC motor\n"
	DstPort			1
      }
      Branch {
	DstBlock		"i1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "MATLAB Fcn"
      SrcPort		      1
      Points		      [-90, 0]
      DstBlock		      "Product"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Demux"
      SrcPort		      1
      DstBlock		      "ia"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Demux"
      SrcPort		      2
      DstBlock		      "ib"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Demux"
      SrcPort		      3
      DstBlock		      "ic"
      DstPort		      1
    }
    Line {
      SrcBlock		      "BLDC motor\n"
      SrcPort		      5
      DstBlock		      "e"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum"
      SrcPort		      1
      Points		      [0, 15]
      DstBlock		      "Relay"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Product"
      SrcPort		      1
      DstBlock		      "Sum"
      DstPort		      1
    }
    Line {
      SrcBlock		      "BLDC motor\n"
      SrcPort		      4
      DstBlock		      "Te"
      DstPort		      1
    }
    Line {
      SrcBlock		      "BLDC motor\n"
      SrcPort		      3
      Points		      [55, 0; 0, 70]
      DstBlock		      "MATLAB Fcn"
      DstPort		      1
    }
    Line {
      SrcBlock		      "BLDC motor\n"
      SrcPort		      1
      Points		      [30, 0; 0, -25]
      Branch {
	DstBlock		"Demux"
	DstPort			1
      }
      Branch {
	Points			[-100, 0]
	Branch {
	  Points		  [0, -20]
	  DstBlock		  "i"
	  DstPort		  1
	}
	Branch {
	  Points		  [-40, 0; 0, 25]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
      }
    }
    Line {
      SrcBlock		      "PID 控制器"
      SrcPort		      1
      DstBlock		      "Product"
      DstPort		      1
    }
  }
}

⌨️ 快捷键说明

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