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

📄 pmsm_simulink_r11.mdl

📁 具有强大的电力电子仿真和电机仿真
💻 MDL
📖 第 1 页 / 共 2 页
字号:
      Position		      [405, 105, 435, 135]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Sum
      Name		      "Sum4"
      Ports		      [2, 1, 0, 0, 0]
      Position		      [410, 235, 440, 265]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "++|"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Fcn
      Name		      "Va"
      Position		      [510, 126, 550, 144]
      Expr		      "u(1)*cos(u(3))-u(2)*sin(u(3))"
      Port {
	PortNumber		1
	Name			"Va"
	TestPoint		off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Fcn
      Name		      "Vb"
      Position		      [510, 166, 550, 184]
      Expr		      "u(1)*cos(u(3)-2*pi/3)-u(2)*sin(u(3)-2*pi/3)"
      Port {
	PortNumber		1
	Name			"Vb"
	TestPoint		off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Fcn
      Name		      "Vc"
      Position		      [510, 206, 550, 224]
      Expr		      "u(1)*cos(u(3)+2*pi/3)-u(2)*sin(u(3)+2*pi/3)"
      Port {
	PortNumber		1
	Name			"Vc"
	TestPoint		off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Fcn
      Name		      "Vd_1"
      Position		      [255, 149, 400, 171]
      NamePlacement	      "alternate"
      Expr		      "0.04159*u(2)*u(3)"
    }
    Block {
      BlockType		      Fcn
      Name		      "Vq_1"
      Position		      [255, 183, 400, 207]
      Expr		      "(0.4832+0.04159*u(1))*u(3)"
    }
    Block {
      BlockType		      Constant
      Name		      "W_ref (RPM)"
      Position		      [15, 235, 55, 265]
      Value		      "2000"
    }
    Line {
      Name		      "Va"
      Labels		      [0, 0]
      SrcBlock		      "Va"
      SrcPort		      1
      Points		      [5, 0]
      Branch {
	DstBlock		"PMSM Motor Drive"
	DstPort			1
      }
      Branch {
	Points			[0, -70]
	DstBlock		"Mux4"
	DstPort			1
      }
    }
    Line {
      Name		      "Wrpm"
      SrcBlock		      "Gain"
      SrcPort		      1
      Points		      [0, 0; -20, 0]
      Branch {
	DstBlock		"Integrator"
	DstPort			1
      }
      Branch {
	Points			[0, 35; -495, 0; 0, -220]
	DstBlock		"Mux2"
	DstPort			3
      }
    }
    Line {
      SrcBlock		      "Integrator"
      SrcPort		      1
      Points		      [0, 0; -15, 0]
      Branch {
	Points			[-10, 0]
	DstBlock		"Mux1"
	DstPort			2
      }
      Branch {
	Points			[0, 15; -80, 0]
	DstBlock		"Mux3"
	DstPort			3
      }
    }
    Line {
      SrcBlock		      "Mux1"
      SrcPort		      1
      Points		      [0, -5; -60, 0]
      Branch {
	DstBlock		"Id"
	DstPort			1
      }
      Branch {
	DstBlock		"Iq"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Id"
      SrcPort		      1
      Points		      [0, 0; -35, 0]
      Branch {
	Points			[0, 15]
	DstBlock		"Scope1"
	DstPort			1
      }
      Branch {
	Points			[-115, 0; 0, -160]
	Branch {
	  DstBlock		  "Sum1"
	  DstPort		  2
	}
	Branch {
	  DstBlock		  "Mux2"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Iq"
      SrcPort		      1
      Points		      [0, 0; -15, 0]
      Branch {
	DstBlock		"Sum2"
	DstPort			2
      }
      Branch {
	Points			[-20, 0]
	Branch {
	  Points		  [-125, 0; 0, -195]
	  DstBlock		  "Mux2"
	  DstPort		  2
	}
	Branch {
	  Points		  [0, -20]
	  DstBlock		  "Scope1"
	  DstPort		  2
	}
      }
    }
    Line {
      SrcBlock		      "W_ref (RPM)"
      SrcPort		      1
      Points		      [5, 0]
      Branch {
	DstBlock		"Sum"
	DstPort			1
      }
      Branch {
	Points			[0, 205; 705, 0]
	DstBlock		"Mux6"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Id_ref"
      SrcPort		      1
      DstBlock		      "Sum1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum1"
      SrcPort		      1
      DstBlock		      "PI_Id"
      DstPort		      1
    }
    Line {
      SrcBlock		      "PI_Id"
      SrcPort		      1
      DstBlock		      "Sum3"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum"
      SrcPort		      1
      DstBlock		      "PI_W"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum2"
      SrcPort		      1
      DstBlock		      "PI_Iq"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Vd_1"
      SrcPort		      1
      Points		      [15, 0]
      DstBlock		      "Sum3"
      DstPort		      2
    }
    Line {
      SrcBlock		      "PI_Iq"
      SrcPort		      1
      DstBlock		      "Sum4"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Vq_1"
      SrcPort		      1
      Points		      [20, 0]
      DstBlock		      "Sum4"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Mux2"
      SrcPort		      1
      Points		      [0, 0; 40, 0]
      Branch {
	Points			[0, -20]
	DstBlock		"Vd_1"
	DstPort			1
      }
      Branch {
	Points			[0, 15]
	DstBlock		"Vq_1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Sum3"
      SrcPort		      1
      Points		      [10, 0; 0, 35]
      DstBlock		      "Mux3"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum4"
      SrcPort		      1
      Points		      [5, 0; 0, -70]
      DstBlock		      "Mux3"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Mux3"
      SrcPort		      1
      Points		      [0, 0; 5, 0]
      Branch {
	Points			[0, -40]
	DstBlock		"Va"
	DstPort			1
      }
      Branch {
	DstBlock		"Vb"
	DstPort			1
      }
      Branch {
	Points			[0, 40]
	DstBlock		"Vc"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "PI_W"
      SrcPort		      1
      DstBlock		      "Sum2"
      DstPort		      1
    }
    Line {
      Name		      "Iabc"
      Labels		      [0, 0]
      SrcBlock		      "Mux5"
      SrcPort		      1
      Points		      [5, 0]
      Branch {
	Points			[0, 175]
	DstBlock		"Mux1"
	DstPort			1
      }
      Branch {
	Labels			[1, 0]
	Points			[105, 0]
	DstBlock		"Scope"
	DstPort			2
      }
    }
    Line {
      Name		      "Vabc"
      Labels		      [0, 0]
      SrcBlock		      "Mux4"
      SrcPort		      1
      Points		      [240, 0]
      DstBlock		      "Scope"
      DstPort		      1
    }
    Line {
      Name		      "Ia"
      Labels		      [0, 0]
      SrcBlock		      "PMSM Motor Drive"
      SrcPort		      1
      DstBlock		      "Mux5"
      DstPort		      1
    }
    Line {
      Name		      "Ib"
      Labels		      [0, 0]
      SrcBlock		      "PMSM Motor Drive"
      SrcPort		      2
      DstBlock		      "Mux5"
      DstPort		      2
    }
    Line {
      Name		      "Ic"
      Labels		      [0, 0]
      SrcBlock		      "PMSM Motor Drive"
      SrcPort		      3
      DstBlock		      "Mux5"
      DstPort		      3
    }
    Line {
      Name		      "Vb"
      Labels		      [0, 0]
      SrcBlock		      "Vb"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	Points			[0, -95]
	DstBlock		"Mux4"
	DstPort			2
      }
      Branch {
	DstBlock		"PMSM Motor Drive"
	DstPort			2
      }
    }
    Line {
      Name		      "Vc"
      Labels		      [0, 0]
      SrcBlock		      "Vc"
      SrcPort		      1
      Points		      [25, 0]
      Branch {
	DstBlock		"Mux4"
	DstPort			3
      }
      Branch {
	DstBlock		"PMSM Motor Drive"
	DstPort			3
      }
    }
    Line {
      Name		      "Speed(RPM)"
      Labels		      [0, 0]
      SrcBlock		      "Mux6"
      SrcPort		      1
      Points		      [50, 0]
      DstBlock		      "Scope"
      DstPort		      3
    }
    Line {
      Name		      "Wrpm"
      Labels		      [0, 0]
      SrcBlock		      "PMSM Motor Drive"
      SrcPort		      4
      Points		      [55, 0]
      Branch {
	Points			[0, -25]
	DstBlock		"Mux6"
	DstPort			1
      }
      Branch {
	Points			[0, 160]
	Branch {
	  DstBlock		  "Gain"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 50; -655, 0]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
      }
    }
    Annotation {
      Position		      [290, 25]
      Text		      "PMSM Drive Co-Simulated by PSIM and Simulink (c"
"ontrol in Simulink)"
      FontName		      "Arial"
      FontSize		      12
      FontWeight	      "bold"
    }
    Annotation {
      Position		      [247, 53]
      Text		      "Note: This file can not be co-simulated by the "
"PSIM demo version. "
    }
    Annotation {
      Position		      [244, 72]
      Text		      "It can be co-simulated by the PSIM full version"
" only!"
    }
  }
}

⌨️ 快捷键说明

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