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

📄 pmsminv.mdl

📁 永磁同步电机的仿真模型
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	      SrcPort		      1
	      DstBlock		      "Sum1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Iqs"
	      SrcPort		      1
	      Points		      [0, 0; 45, 0]
	      Branch {
		Points			[195, 0]
		DstBlock		"Sum1"
		DstPort			2
	      }
	      Branch {
		Points			[0, 55]
		Branch {
		  Points		  [0, 15]
		  DstBlock		  "Product4"
		  DstPort		  2
		}
		Branch {
		  DstBlock		  "Product4"
		  DstPort		  1
		}
	      }
	    }
	    Line {
	      Name		      "Iq"
	      Labels		      [0, 0]
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      Points		      [15, 0; 0, -30; -200, 0; 0, -30]
	      DstBlock		      "Product1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Ids"
	      SrcPort		      1
	      Points		      [40, 0]
	      Branch {
		DstBlock		"Sum2"
		DstPort			1
	      }
	      Branch {
		Points			[0, -35]
		Branch {
		  Points		  [0, -15]
		  DstBlock		  "Product5"
		  DstPort		  1
		}
		Branch {
		  DstBlock		  "Product5"
		  DstPort		  2
		}
	      }
	    }
	    Line {
	      SrcBlock		      "Gain2"
	      SrcPort		      1
	      DstBlock		      "Product1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product1"
	      SrcPort		      1
	      Points		      [0, 0; 20, 0]
	      Branch {
		Points			[85, 0]
		DstBlock		"Sum2"
		DstPort			2
	      }
	      Branch {
		Points			[0, 10]
		Branch {
		  Points		  [0, 15]
		  DstBlock		  "Product3"
		  DstPort		  2
		}
		Branch {
		  DstBlock		  "Product3"
		  DstPort		  1
		}
	      }
	    }
	    Line {
	      Name		      "Id"
	      Labels		      [0, 0]
	      SrcBlock		      "Sum2"
	      SrcPort		      1
	      Points		      [35, 0; 0, 240; -300, 0; 0, -40]
	      DstBlock		      "Gain"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product3"
	      SrcPort		      1
	      Points		      [115, 0]
	      DstBlock		      "Sum3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product2"
	      SrcPort		      1
	      Points		      [130, 0]
	      DstBlock		      "Sum3"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum3"
	      SrcPort		      1
	      DstBlock		      "1.5/Rc"
	      DstPort		      1
	    }
	    Line {
	      Name		      "Pcore loss"
	      Labels		      [0, 0]
	      SrcBlock		      "1.5/Rc"
	      SrcPort		      1
	      DstBlock		      "Sum5"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product5"
	      SrcPort		      1
	      Points		      [190, 0; 0, 345]
	      DstBlock		      "Sum4"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product4"
	      SrcPort		      1
	      Points		      [240, 0]
	      DstBlock		      "Sum4"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum4"
	      SrcPort		      1
	      DstBlock		      "1.5*Rs"
	      DstPort		      1
	    }
	    Line {
	      Name		      "Pcu loss"
	      Labels		      [0, 0]
	      SrcBlock		      "1.5*Rs"
	      SrcPort		      1
	      Points		      [65, 0]
	      DstBlock		      "Sum5"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum5"
	      SrcPort		      1
	      Points		      [15, 0]
	      Branch {
		DstBlock		"Product6"
		DstPort			1
	      }
	      Branch {
		Points			[0, -95]
		DstBlock		"Scope5"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Ploss mth"
	      SrcPort		      1
	      Points		      [545, 0; 0, -260]
	      DstBlock		      "Product6"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product6"
	      SrcPort		      1
	      DstBlock		      "Sum6"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant1"
	      SrcPort		      1
	      Points		      [25, 0]
	      DstBlock		      "Sum6"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum6"
	      SrcPort		      1
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      DstBlock		      "Is/ Islim"
	      DstPort		      1
	    }
	    Annotation {
	      Position		      [339, 271]
	    }
	  }
	}
	Block {
	  BlockType		  Scope
	  Name			  "m"
	  Ports			  [1]
	  Position		  [945, 243, 975, 277]
	  BackgroundColor	  "green"
	  Location		  [188, 365, 512, 604]
	  Open			  off
	  NumInputPorts		  "1"
	  ZoomMode		  "xonly"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  SaveName		  "ScopeData6"
	  DataFormat		  "StructureWithTime"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "max torque/current control"
	  Ports			  [2, 2]
	  Position		  [145, 218, 245, 282]
	  TreatAsAtomicUnit	  off
	  System {
	    Name		    "max torque/current control"
	    Location		    [73, 194, 889, 696]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Is"
	      Position		      [25, 73, 55, 87]
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "β"
	      Position		      [265, 233, 295, 247]
	      Port		      "2"
	    }
	    Block {
	      BlockType		      Abs
	      Name		      "Abs"
	      Position		      [330, 65, 360, 95]
	    }
	    Block {
	      BlockType		      Abs
	      Name		      "Abs1"
	      Position		      [180, 120, 195, 140]
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [490, 185, 520, 215]
	      Gain		      "-1"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux"
	      Ports		      [3, 1]
	      Position		      [215, 112, 220, 218]
	      ShowName		      off
	      Inputs		      "3"
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [565, 161, 610, 194]
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product1"
	      Ports		      [2, 1]
	      Position		      [580, 71, 625, 104]
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product2"
	      Ports		      [2, 1]
	      Position		      [335, 156, 380, 189]
	    }
	    Block {
	      BlockType		      Signum
	      Name		      "Sign"
	      Position		      [130, 190, 145, 210]
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "cal theta"
	      Position		      [245, 150, 305, 180]
	      Expr		      "atan(u(3)*sqrt(u(2)^2-u(1)^2)/(u(1)+eps"
"))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "calculate Id"
	      Position		      [100, 115, 160, 145]
	      Expr		      "(-Fpm+sqrt(Fpm^2+8*(Ld-Lq)^2*u(1)^2))/4"
"/(Ld-Lq+eps)"
	      Port {
		PortNumber		1
		Name			"Id"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	    }
	    Block {
	      BlockType		      Trigonometry
	      Name		      "cos(θ)"
	      Ports		      [1, 1]
	      Position		      [435, 185, 465, 215]
	      Operator		      "cos"
	    }
	    Block {
	      BlockType		      Trigonometry
	      Name		      "sin(θ)"
	      Ports		      [1, 1]
	      Position		      [435, 115, 465, 145]
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Id*"
	      Position		      [670, 173, 700, 187]
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Iq*"
	      Position		      [685, 83, 715, 97]
	      Port		      "2"
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Id*"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Is"
	      SrcPort		      1
	      Points		      [20, 0]
	      Branch {
		Points			[0, 50]
		Branch {
		  DstBlock		  "calculate Id"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 35]
		  Branch {
		    DstBlock		    "Mux"
		    DstPort		    2
		  }
		  Branch {
		    Points		    [0, 35]
		    DstBlock		    "Sign"
		    DstPort		    1
		  }
		}
	      }
	      Branch {
		DstBlock		"Abs"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "sin(θ)"
	      SrcPort		      1
	      Points		      [45, 0; 0, -35]
	      DstBlock		      "Product1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "cos(θ)"
	      SrcPort		      1
	      DstBlock		      "Gain"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [10, 0; 0, -15]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product1"
	      SrcPort		      1
	      DstBlock		      "Iq*"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Abs"
	      SrcPort		      1
	      Points		      [130, 0]
	      Branch {
		Points			[0, 90]
		DstBlock		"Product"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Product1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "cal theta"
	      SrcPort		      1
	      DstBlock		      "Product2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      DstBlock		      "cal theta"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sign"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "β"
	      SrcPort		      1
	      Points		      [10, 0; 0, -60]
	      DstBlock		      "Product2"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product2"
	      SrcPort		      1
	      Points		      [15, 0; 0, -5]
	      Branch {
		Points			[0, -40]
		DstBlock		"sin(θ)"
		DstPort			1
	      }
	      Branch {
		Points			[0, 30]
		DstBlock		"cos(θ)"
		DstPort			1
	      }
	    }
	    Line {
	      Name		      "Id"
	      Labels		      [0, 0]
	      SrcBlock		      "calculate Id"
	      SrcPort		      1
	      DstBlock		      "Abs1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Abs1"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "modulation index"
	  Ports			  [3, 3]
	  Position		  [785, 187, 890, 273]
	  TreatAsAtomicUnit	  off
	  System {
	    Name		    "modulation index"
	    Location		    [179, 357, 677, 657]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Uα"
	      Position		      [110, 108, 140, 122]
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Uβ"
	      Position		      [115, 153, 145, 167]
	      Port		      "2"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Udc"
	      Position		      [115, 198, 145, 212]
	      Port		      "3"
	    }
	    Block {
	      BlockType		      Demux
	      Name		      "Demux"
	      Ports		      [1, 3]
	      Position		      [330, 141, 335, 179]
	      BackgroundColor	      "black"
	      ShowName		      off
	      Outputs		      "3"
	    }
	    Block {
	      BlockType		      MATLABFcn
	      Name		      "MATLAB Fcn"
	      Position		      [235, 145, 295, 175]
	      MATLABFcn		      "calIndex(u(1),u(2),u(3))"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux"
	      Ports		      [3, 1]
	      Position		      [190, 95, 195, 225]
	      ShowName		      off
	      Inputs		      "3"
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Ud*"
	      Position		      [395, 108, 425, 122]
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Uq*"

⌨️ 快捷键说明

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