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

📄 hecheng.mdl

📁 MATLAB电机仿真精华50例,源代码!!!!!!!!
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	      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			  "Uds"
	  Position		  [600, 113, 630, 127]
	}
	Block {
	  BlockType		  Outport
	  Name			  "Uqs"
	  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		  "Uds"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "abc_to_dq0\nTransformation"
	  SrcPort		  2
	  DstBlock		  "Uqs"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Uabc"
	  SrcPort		  1
	  DstBlock		  "abc_to_dq0\nTransformation"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "motor"
      Ports		      [6, 4]
      Position		      [350, 103, 425, 312]
      TreatAsAtomicUnit	      off
      System {
	Name			"motor"
	Location		[152, 96, 680, 472]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "uqr"
	  Position		  [25, 233, 55, 247]
	}
	Block {
	  BlockType		  Inport
	  Name			  "udr"
	  Position		  [25, 263, 55, 277]
	  Port			  "2"
	}
	Block {
	  BlockType		  Inport
	  Name			  "ws"
	  Position		  [25, 293, 55, 307]
	  Port			  "3"
	}
	Block {
	  BlockType		  Inport
	  Name			  "TL"
	  Position		  [355, 103, 385, 117]
	  Port			  "4"
	}
	Block {
	  BlockType		  Inport
	  Name			  "uds"
	  Position		  [250, 278, 280, 292]
	  Port			  "5"
	}
	Block {
	  BlockType		  Inport
	  Name			  "uqs"
	  Position		  [250, 228, 280, 242]
	  Port			  "6"
	}
	Block {
	  BlockType		  Gain
	  Name			  "*np/J"
	  Position		  [450, 145, 480, 175]
	  Orientation		  "down"
	  NamePlacement		  "alternate"
	  Gain			  "2/0.02"
	}
	Block {
	  BlockType		  Integrator

⌨️ 快捷键说明

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