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

📄 yibudianji_fangzhen_moxing_yunxing.mdl

📁 《MATLAB电机仿真精华50例》书里面的各种模型
💻 MDL
📖 第 1 页 / 共 4 页
字号:
"rmation on a set of three-phase signals. It computes the direct axis Vd, quad"
"ratic axis Vq, and zero sequence V0 quantities in a two axis rotating referen"
"ce frame according to the following transformation:\n\nVd = 2/3*[Va*sin(wt)  "
"+ Vb*sin(wt-2pi/3)  +  Vc*sin(wt+2pi/3)] \nVq = 2/3*[Va*cos(wt) + Vb*cos(wt-2"
"pi/3) + Vc*cos(wt+2pi/3)]\nV0 = 1/3*[Va +  Vb  +  Vc ]\n\nwhere w=  rotation "
"speed (rad/s) of the rotating frame.\n\nThis transformation is commonly used "
"in three-phase electric machine models where it is known as the Park transfor"
"mation."
	  MaskHelp		  "web(psbhelp);"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "abc_to_dq0\nTransformation"
	    Location		    [0, 181, 980, 831]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "abc"
	      Position		      [20, 25, 40, 45]
	      PortDimensions	      "3"
	      Port {
		PortNumber		1
		Name			"Vabc"
		PropagatedSignals	", , "
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "sin_cos"
	      Position		      [20, 80, 40, 100]
	      Port		      "2"
	      PortDimensions	      "2"
	    }
	    Block {
	      BlockType		      Demux
	      Name		      "Demux"
	      Ports		      [1, 2]
	      Position		      [65, 63, 70, 112]
	      ShowName		      off
	      Outputs		      "2"
	      Port {
		PortNumber		1
		Name			"sin(wt)"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	      Port {
		PortNumber		2
		Name			"cos(wt)"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn1"
	      Position		      [575, 162, 765, 188]
	      ShowName		      off
	      Expr		      "2/3*((u[1]*u[5])+(u[2]*u[7])+(u[3]*u[9]"
"))"
	      Port {
		PortNumber		1
		Name			"Vq"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [575, 88, 760, 112]
	      ShowName		      off
	      Expr		      "2/3*((u[1]*u[4])+(u[2]*u[6])+(u[3]*u[8]"
"))"
	      Port {
		PortNumber		1
		Name			"Vd"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	    }
	    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		      [515, 134, 535, 216]
	      ShowName		      off
	      Inputs		      "2"
	    }
	    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
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product1"
	      Ports		      [2, 1]
	      Position		      [185, 213, 215, 237]
	      ShowName		      off
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product2"
	      Ports		      [2, 1]
	      Position		      [180, 318, 210, 342]
	      ShowName		      off
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product3"
	      Ports		      [2, 1]
	      Position		      [180, 278, 210, 302]
	      ShowName		      off
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [235, 164, 255, 246]
	      ShowName		      off
	      Inputs		      "--"
	      Port {
		PortNumber		1
		Name			"sin(wt-2pi/3)"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [2, 1]
	      Position		      [230, 269, 250, 351]
	      ShowName		      off
	      Inputs		      "-+"
	      Port {
		PortNumber		1
		Name			"cos(wt-2pi/3)"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum2"
	      Ports		      [2, 1]
	      Position		      [315, 266, 335, 299]
	      ShowName		      off
	      Inputs		      "--"
	      Port {
		PortNumber		1
		Name			"sin(wt+2pi/3)"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum3"
	      Ports		      [2, 1]
	      Position		      [315, 372, 335, 403]
	      ShowName		      off
	      Inputs		      "--"
	      Port {
		PortNumber		1
		Name			"cos(wt+2pi/3)"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [800, 93, 830, 107]
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out2"
	      Position		      [815, 168, 845, 182]
	      Port		      "2"
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      Points		      [10, 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		      [20, 0; 0, -30]
	      DstBlock		      "Mux"
	      DstPort		      2
	    }
	    Line {
	      Name		      "Vabc"
	      Labels		      [2, 1]
	      SrcBlock		      "abc"
	      SrcPort		      1
	      Points		      [440, 0; 0, 120]
	      DstBlock		      "Mux"
	      DstPort		      1
	    }
	    Line {
	      Name		      "Vd"
	      Labels		      [0, 0]
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      Name		      "Vq"
	      Labels		      [0, 0]
	      SrcBlock		      "Fcn1"
	      SrcPort		      1
	      DstBlock		      "Out2"
	      DstPort		      1
	    }
	    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) "
" + Vc*sin(wt+2pi/3)"
	      Position		      [633, 290]
	      FontSize		      12
	    }
	    Annotation {
	      Name		      "Vq= 2/3 (Va*coswt   + Vb*cos(wt-2pi/3) "
" + Vc*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		  Outport
	  Name			  "Ud"
	  Position		  [600, 113, 630, 127]
	}
	Block {
	  BlockType		  Outport
	  Name			  "Uq"
	  Position		  [600, 143, 630, 157]
	  Port			  "2"
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  Points		  [10, 0; 0, -245]
	  DstBlock		  "abc_to_dq0\nTransformation"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Trigonometric\nFunction1"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Trigonometric\nFunction"
	  SrcPort		  1
	  Points		  [15, 0; 0, 45]
	  DstBlock		  "Mux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  Points		  [0, 0; 40, 0]
	  Branch {
	    DstBlock		    "Trigonometric\nFunction"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 80]
	    DstBlock		    "Trigonometric\nFunction1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Initial\nVd_Vq1"
	  SrcPort		  1
	  DstBlock		  "Deg->Rad"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Deg->Rad"
	  SrcPort		  1
	  Points		  [50, 0]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Freq1"
	  SrcPort		  1
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Freq2"
	  SrcPort		  1
	  DstBlock		  "Product"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Clock"
	  SrcPort		  1
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "abc_to_dq0\nTransformation"
	  SrcPort		  1
	  DstBlock		  "Ud"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "abc_to_dq0\nTransformation"
	  SrcPort		  2
	  DstBlock		  "Uq"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Uabc"
	  SrcPort		  1
	  DstBlock		  "abc_to_dq0\nTransformation"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "psi_system"
      Ports		      [5, 4]
      Position		      [560, 305, 665, 475]
      TreatAsAtomicUnit	      off
      System {
	Name			"psi_system"
	Location		[2, 74, 1014, 724]

⌨️ 快捷键说明

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