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

📄 asy_generator.mdl

📁 本例是在MATLAB环境下搭建的异步电机运行在发电状态的仿真模型。
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [2, 1]
	  Position		  [230, 269, 250, 351]
	  ShowName		  off
	  Inputs		  "-+"
	  Port {
	    PortNumber		    1
	    Name		    "cos(wt-2pi/3)"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum2"
	  Ports			  [2, 1]
	  Position		  [315, 266, 335, 299]
	  ShowName		  off
	  Inputs		  "--"
	  Port {
	    PortNumber		    1
	    Name		    "sin(wt+2pi/3)"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum3"
	  Ports			  [2, 1]
	  Position		  [315, 372, 335, 403]
	  ShowName		  off
	  Inputs		  "--"
	  Port {
	    PortNumber		    1
	    Name		    "cos(wt+2pi/3)"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "dq0"
	  Position		  [845, 175, 865, 195]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	  InitialOutput		  "0"
	}
	Line {
	  Name			  "Vd"
	  FontSize		  10
	  Labels		  [1, 1]
	  SrcBlock		  "Fcn2"
	  SrcPort		  1
	  Points		  [45, 0]
	  DstBlock		  "Mux1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux1"
	  SrcPort		  1
	  DstBlock		  "dq0"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "Fcn1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -75]
	    DstBlock		    "Fcn2"
	    DstPort		    1
	  }
	}
	Line {
	  Name			  "cos(wt-2pi/3)"
	  FontSize		  10
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  Points		  [20, 0]
	  Branch {
	    Points		    [0, 70]
	    DstBlock		    "Sum3"
	    DstPort		    1
	  }
	  Branch {
	    Labels		    [-1, 1]
	    Points		    [0, -65]
	    DstBlock		    "Mux2"
	    DstPort		    4
	  }
	}
	Line {
	  Name			  "sin(wt-2pi/3)"
	  FontSize		  10
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  Points		  [40, 0]
	  Branch {
	    DstBlock		    "Sum2"
	    DstPort		    1
	  }
	  Branch {
	    Labels		    [-1, 1]
	    DstBlock		    "Mux2"
	    DstPort		    3
	  }
	}
	Line {
	  SrcBlock		  "K2"
	  SrcPort		  1
	  Points		  [20, 0]
	  Branch {
	    Points		    [0, 105]
	    DstBlock		    "Product2"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "Product1"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "K1"
	  SrcPort		  1
	  Points		  [45, 0]
	  Branch {
	    Points		    [0, 105]
	    DstBlock		    "Product3"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "Product"
	    DstPort		    2
	  }
	}
	Line {
	  Name			  "sin(wt+2pi/3)"
	  FontSize		  10
	  Labels		  [-1, 1]
	  SrcBlock		  "Sum2"
	  SrcPort		  1
	  DstBlock		  "Mux2"
	  DstPort		  5
	}
	Line {
	  Name			  "cos(wt+2pi/3)"
	  FontSize		  10
	  Labels		  [3, 0]
	  SrcBlock		  "Sum3"
	  SrcPort		  1
	  Points		  [15, 0; 0, -65]
	  DstBlock		  "Mux2"
	  DstPort		  6
	}
	Line {
	  SrcBlock		  "Product2"
	  SrcPort		  1
	  DstBlock		  "Sum1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product3"
	  SrcPort		  1
	  DstBlock		  "Sum1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  Points		  [-5, 0]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  Name			  "sin(wt)"
	  FontSize		  10
	  SrcBlock		  "Demux"
	  SrcPort		  1
	  Points		  [85, 0]
	  Branch {
	    Labels		    [-1, 1]
	    Points		    [185, 0; 0, 50]
	    DstBlock		    "Mux2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 105]
	    Branch {
	      Points		      [0, 145]
	      Branch {
		Points			[0, 40; 140, 0]
		DstBlock		"Sum2"
		DstPort			2
	      }
	      Branch {
		DstBlock		"Product2"
		DstPort			1
	      }
	    }
	    Branch {
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  Name			  "cos(wt)"
	  FontSize		  10
	  SrcBlock		  "Demux"
	  SrcPort		  2
	  Points		  [65, 0]
	  Branch {
	    Labels		    [-1, 1]
	    Points		    [160, 0; 0, 65]
	    DstBlock		    "Mux2"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 120]
	    Branch {
	      DstBlock		      "Product1"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, 65]
	      Branch {
		DstBlock		"Product3"
		DstPort			1
	      }
	      Branch {
		Points			[0, 110]
		DstBlock		"Sum3"
		DstPort			2
	      }
	    }
	  }
	}
	Line {
	  SrcBlock		  "sin_cos"
	  SrcPort		  1
	  DstBlock		  "Demux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux2"
	  SrcPort		  1
	  Points		  [40, 0; 0, -30]
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {
	  Name			  "Vabc"
	  Labels		  [2, 1]
	  SrcBlock		  "abc"
	  SrcPort		  1
	  Points		  [455, 0; 0, 120]
	  DstBlock		  "Mux"
	  DstPort		  1
	}
	Line {
	  Name			  "Vq"
	  FontSize		  10
	  Labels		  [1, 1]
	  SrcBlock		  "Fcn1"
	  SrcPort		  1
	  Points		  [50, 0]
	  DstBlock		  "Mux1"
	  DstPort		  2
	}
	Annotation {
	  Name			  "V0= 1/3 (Va   + Vb  + Vc )"
	  Position		  [578, 350]
	  FontSize		  12
	}
	Annotation {
	  Name			  "Vd= 2/3 (Va*sinwt   + Vb*sin(wt-2pi/3)  + V"
"c*sin(wt+2pi/3)"
	  Position		  [633, 290]
	  FontSize		  12
	}
	Annotation {
	  Name			  "Vq= 2/3 (Va*coswt   + Vb*cos(wt-2pi/3)  + V"
"c*cos(wt+2pi/3)"
	  Position		  [673, 320]
	  FontSize		  12
	}
	Annotation {
	  Position		  [578, 360]
	  FontSize		  12
	}
	Annotation {
	  Position		  [633, 300]
	  FontSize		  12
	}
	Annotation {
	  Position		  [194, 353]
	}
	Annotation {
	  Position		  [199, 238]
	}
	Annotation {
	  Position		  [189, 268]
	}
	Annotation {
	  Position		  [673, 330]
	  FontSize		  12
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "dq0_to_abc\nTranformation"
      Ports		      [2, 1]
      Position		      [400, 175, 435, 230]
      ShowName		      off
      AncestorBlock	      "powerlib_extras/Measurements/dq0_to_abc\nTransf"
"ormation"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskType		      "dq0 to abc Transformation"
      MaskDescription	      "This block transforms  three quantities  (direc"
"t axis, quadature axis and zero-sequence components)  expressed in a two axis"
" reference frame back to phase quantities. \n\nThe following transformation i"
"s used:\n\nVa = [Vd*sin(wt) +  Vq*cos(wt)  +  Vo ]\nVb = [Vd*sin(wt-2pi/3)  +"
" Vq*cos(wt-2pi/3)  + Vo) \nVc = [Vd*sin(wt+2pi/3) + Vq*cos(wt+2pi/3)  + Vo) "
"\nwhere w=  rotation speed (rad/s) of the rotating frame.\n\nInput 1 contains"
"  the vectorized signal of [Vd Vq  Vo] components\nInput 2 must contain a  [s"
"in(wt)  cos(wt)] two dimension signal , where w is the rotation speed  of the"
" reference frame. \nOutput is a vectozized signal containing the three  [Va V"
"b Vc] phase sinusoidal quantities.\n\nPress Help for more information."
      MaskHelp		      "web(psbhelp)"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"dq0_to_abc\nTranformation"
	Location		[35, 151, 865, 610]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "dq0"
	  Position		  [20, 25, 40, 45]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  PortDimensions	  "3"
	  LatchInput		  off
	  Port {
	    PortNumber		    1
	    Name		    "Vabc"
	    PropagatedSignals	    ", , "
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Inport
	  Name			  "sin_cos"
	  Position		  [20, 80, 40, 100]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  PortDimensions	  "2"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Demux
	  Name			  "Demux"
	  Ports			  [1, 2]
	  Position		  [65, 63, 70, 112]
	  ShowName		  off
	  Outputs		  "2"
	  Port {
	    PortNumber		    1
	    Name		    "sin(wt)"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	  Port {
	    PortNumber		    2
	    Name		    "cos(wt)"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn2"
	  Position		  [575, 117, 710, 143]
	  ShowName		  off
	  Expr			  "(2/3)^.5*(u[1]*u[5] - u[2]*u[4] +1/(2)^.5*u"
"[3])"
	  Port {
	    PortNumber		    1
	    Name		    "Va"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn4"
	  Position		  [570, 160, 715, 190]
	  ShowName		  off
	  Expr			  "(2/3)^.5*(u[1]*u[7]-u[2]*u[6]+1/(2)^.5*u[3]"
")"
	  Port {
	    PortNumber		    1
	    Name		    "Vb"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn5"
	  Position		  [575, 210, 720, 240]
	  ShowName		  off
	  Expr			  "(2/3)^.5*(u[1]*u[9]-u[2]*u[8]+1/(2)^.5*u[3]"
")"
	  Port {
	    PortNumber		    1
	    Name		    "Vc"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Constant
	  Name			  "K1"
	  Position		  [50, 180, 75, 200]
	  ShowName		  off
	  Value			  "0.5"
	}
	Block {
	  BlockType		  Constant
	  Name			  "K2"
	  Position		  [35, 219, 85, 241]
	  ShowName		  off
	  Value			  "sqrt(3)/2"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [2, 1]
	  Position		  [525, 136, 530, 214]
	  ShowName		  off
	  Inputs		  "2"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Ports			  [3, 1]
	  Position		  [770, 125, 775, 225]
	  ShowName		  off
	  Inputs		  "3"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux2"
	  Ports			  [6, 1]
	  Position		  [450, 108, 455, 342]
	  ShowName		  off
	  Inputs		  "6"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [185, 173, 215, 197]
	  ShowName		  off
	  RndMeth		  "Floor"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product1"
	  Ports			  [2, 1]
	  Position		  [185, 213, 215, 237]
	  ShowName		  off
	  RndMeth		  "Floor"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product2"
	  Ports			  [2, 1]
	  Position		  [180, 318, 210, 342]
	  ShowName		  off
	  RndMeth		  "Floor"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product3"
	  Ports			  [2, 1]
	  Position		  [180, 278, 210, 302]
	  ShowName		  off
	  RndMeth		  "Floor"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [235, 164, 255, 246]
	  ShowName		  off
	  Inputs		  "--"
	  Port {
	    PortNumber		    1
	    Name		    "sin(wt-2pi/3)"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [2, 1]
	  Position		  [230, 269, 250, 351]
	  ShowName		  off
	  Inputs		  "-+"
	  Port {
	    PortNumber		    1
	    Name		    "cos(wt-2pi/3)"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum2"
	  Ports			  [2, 1]
	  Position		  [315, 266, 335, 299]
	  ShowName		  off
	  Inputs		  "--"
	  Port {
	    PortNumber		    1
	    Name		    "sin(wt+2pi/3)"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum3"
	  Ports			  [2, 1]
	  Position		  [315, 372, 335, 403]
	  ShowName		  off
	  Inputs		  "--"
	  Port {
	    PortNumber		    1
	    Name		    "cos(wt+2pi/3)"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "abc"
	  Position		  [795, 165, 815, 185]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	  InitialOutput		  "0"
	}

⌨️ 快捷键说明

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