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

📄 bldc_00.mdl

📁 Velocity control of BLDC motor
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  RndMeth		  "Floor"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type Conversion3"
	  Position		  [425, 234, 470, 256]
	  ShowName		  off
	  RndMeth		  "Floor"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type Conversion4"
	  Position		  [425, 304, 470, 326]
	  ShowName		  off
	  RndMeth		  "Floor"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type Conversion5"
	  Position		  [425, 384, 470, 406]
	  ShowName		  off
	  RndMeth		  "Floor"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type Conversion6"
	  Position		  [425, 454, 470, 476]
	  ShowName		  off
	  RndMeth		  "Floor"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Demux
	  Name			  "Demux1"
	  Ports			  [1, 3]
	  Position		  [165, 31, 170, 69]
	  BackgroundColor	  "black"
	  ShowName		  off
	  Outputs		  "3"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Demux
	  Name			  "Demux2"
	  Ports			  [1, 3]
	  Position		  [165, 96, 170, 134]
	  BackgroundColor	  "black"
	  ShowName		  off
	  Outputs		  "3"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator1"
	  Ports			  [1, 1]
	  Position		  [95, 34, 125, 66]
	  Operator		  "NOT"
	  AllPortsSameDT	  off
	  OutDataTypeMode	  "Boolean"
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator2"
	  Ports			  [2, 1]
	  Position		  [375, 96, 405, 129]
	  ShowName		  off
	  AllPortsSameDT	  off
	  OutDataTypeMode	  "Boolean"
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator3"
	  Ports			  [2, 1]
	  Position		  [370, 161, 400, 194]
	  ShowName		  off
	  AllPortsSameDT	  off
	  OutDataTypeMode	  "Boolean"
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator4"
	  Ports			  [2, 1]
	  Position		  [370, 226, 400, 259]
	  ShowName		  off
	  AllPortsSameDT	  off
	  OutDataTypeMode	  "Boolean"
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator5"
	  Ports			  [2, 1]
	  Position		  [370, 296, 400, 329]
	  ShowName		  off
	  AllPortsSameDT	  off
	  OutDataTypeMode	  "Boolean"
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator6"
	  Ports			  [2, 1]
	  Position		  [370, 376, 400, 409]
	  ShowName		  off
	  AllPortsSameDT	  off
	  OutDataTypeMode	  "Boolean"
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator7"
	  Ports			  [2, 1]
	  Position		  [370, 446, 400, 479]
	  ShowName		  off
	  AllPortsSameDT	  off
	  OutDataTypeMode	  "Boolean"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Ports			  [3, 1]
	  Position		  [720, 231, 725, 329]
	  ShowName		  off
	  Inputs		  "3"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [2, 1]
	  Position		  [670, 270, 690, 290]
	  ShowName		  off
	  Inputs		  "+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "double"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum2"
	  Ports			  [2, 1]
	  Position		  [670, 240, 690, 260]
	  ShowName		  off
	  Inputs		  "+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "double"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum3"
	  Ports			  [2, 1]
	  Position		  [670, 300, 690, 320]
	  ShowName		  off
	  Inputs		  "+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "double"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Outport
	  Name			  "emf_abc"
	  Position		  [770, 273, 800, 287]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Hall\n"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "Logical\nOperator1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 65]
	    DstBlock		    "Demux2"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Logical\nOperator1"
	  SrcPort		  1
	  DstBlock		  "Demux1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux2"
	  SrcPort		  3
	  Points		  [10, 0; 0, 110]
	  Branch {
	    DstBlock		    "Logical\nOperator4"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 165]
	    DstBlock		    "Logical\nOperator6"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Demux2"
	  SrcPort		  2
	  Points		  [30, 0; 0, 55]
	  Branch {
	    DstBlock		    "Logical\nOperator3"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 150]
	    DstBlock		    "Logical\nOperator5"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Demux2"
	  SrcPort		  1
	  Points		  [45, 0]
	  Branch {
	    DstBlock		    "Logical\nOperator2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [5, 0; 0, 365]
	    DstBlock		    "Logical\nOperator7"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Demux1"
	  SrcPort		  3
	  Points		  [75, 0; 0, 125]
	  Branch {
	    DstBlock		    "Logical\nOperator3"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 270]
	    DstBlock		    "Logical\nOperator7"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Demux1"
	  SrcPort		  2
	  Points		  [100, 0; 0, 70]
	  Branch {
	    DstBlock		    "Logical\nOperator2"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 265]
	    DstBlock		    "Logical\nOperator6"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Demux1"
	  SrcPort		  1
	  Points		  [125, 0; 0, 205]
	  Branch {
	    Points		    [0, 5]
	    DstBlock		    "Logical\nOperator4"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 60]
	    DstBlock		    "Logical\nOperator5"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Logical\nOperator2"
	  SrcPort		  1
	  DstBlock		  "Data Type Conversion2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum2"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum3"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Mux1"
	  SrcPort		  1
	  DstBlock		  "emf_abc"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Logical\nOperator3"
	  SrcPort		  1
	  DstBlock		  "Data Type Conversion1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Logical\nOperator4"
	  SrcPort		  1
	  DstBlock		  "Data Type Conversion3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Logical\nOperator5"
	  SrcPort		  1
	  DstBlock		  "Data Type Conversion4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Logical\nOperator6"
	  SrcPort		  1
	  DstBlock		  "Data Type Conversion5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Logical\nOperator7"
	  SrcPort		  1
	  DstBlock		  "Data Type Conversion6"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Data Type Conversion2"
	  SrcPort		  1
	  Points		  [140, 0; 0, 130]
	  DstBlock		  "Sum2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Data Type Conversion4"
	  SrcPort		  1
	  Points		  [145, 0; 0, -60]
	  DstBlock		  "Sum2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Data Type Conversion1"
	  SrcPort		  1
	  Points		  [110, 0; 0, 95]
	  DstBlock		  "Sum1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Data Type Conversion5"
	  SrcPort		  1
	  Points		  [110, 0; 0, -110]
	  DstBlock		  "Sum1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Data Type Conversion3"
	  SrcPort		  1
	  Points		  [60, 0; 0, 60]
	  DstBlock		  "Sum3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Data Type Conversion6"
	  SrcPort		  1
	  Points		  [60, 0; 0, -120; 120, 0]
	  DstBlock		  "Sum3"
	  DstPort		  2
	}
	Annotation {
	  Name			  "/ha"
	  Position		  [191, 35]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Name			  "ha"
	  Position		  [191, 98]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Name			  "ha"
	  Position		  [349, 99]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Name			  "/hb"
	  Position		  [349, 127]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Name			  "hb"
	  Position		  [349, 164]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Name			  "/hc"
	  Position		  [343, 191]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Name			  "hc"
	  Position		  [346, 231]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Name			  "/ha"
	  Position		  [344, 259]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Name			  "/ha"
	  Position		  [345, 299]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Name			  "hb"
	  Position		  [336, 331]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Name			  "/hb"
	  Position		  [342, 381]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Name			  "hc"
	  Position		  [334, 407]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Name			  "/hc"
	  Position		  [345, 449]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Name			  "ha"
	  Position		  [336, 476]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Name			  "This module implements the following true t"
"able\n\n   ha   |   hb   |   hc   ||   emf_a   |   emf_b   |   emf_c\n    ---"
"-----------------------------------------------------------------------------"
"\n0          0         0          0               0               0  \n0     "
"     0         1          0               -1              +1\n0          1   "
"      0          -1              +1                0\n0          1         1 "
"         -1               0               +1\n1          0         0         "
"+1               0               -1\n1          0         1         +1       "
"       -1                0\n1          1         0          0              +1"
"               -1\n1          1         1          0               0         "
"       0\n "
	  Position		  [734, 449]
	  UseDisplayTextAsClickCallback	off
	}
      }
    }
    Block {
      BlockType		      Demux
      Name		      "Demux"
      Ports		      [1, 6]
      Position		      [1155, 21, 1160, 114]
      BackgroundColor	      "black"
      ShowName		      off
      Outputs		      "6"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Double click here for more info"
      Ports		      []
      Position		      [805, 330, 832, 355]

⌨️ 快捷键说明

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