• 大小: 0.01M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-03-28
  • 语言: Matlab
  • 标签: matlab  

资源简介


永磁同步电机矢量控制仿真模型,matlab r2007版本。电机模型为m文件编写。速度、和电流的双闭环控制。

资源截图

代码片段和文件信息

function[ sys x0 str ts]=PMSMdq(txuflagparametersx0_in)
%PMSM model. %parameters; 
%ldlq:inductance in dp reference of frame 
%r:stater resistance 
%psi_f:flux in webers by PM on rotor 
%p:number of pole pairs  
%j:inertia of motor and load 
%mu_f:viscous friction %inputs:  
%uduq:voltages in dp reference of frame 
%tl:torque of load %inner variants:  
%idiq currents in dp reference of frame 
%uduq:voltage int dp reference of frame 
%wr:angular velocity of the rotor 
%te:electronmagnetic torque 
%theta: position of rotor %outputs:  
%wr:angular velocity of the rotor
%te:electronmagnetic torque  
%idiq currents in dp reference of frame 
%theta :position of rotor  
%---------------------------- 
%u(1 2 3)= 
%ud uq tl 
%parameters (1 2 3 4   5 6 7)= 
%           ld lq r psi_f p j mu_f 
%sys(1 2 3 4 5 )=  
%    wr te id iq theta 
%x(1 2 3 4 )=  
%   id iq wr theta 
switch flag     
    case 0          
        [sys x0 str ts]=mdlInitializeSizes(x0

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件       70570  2015-11-06 19:45  PMSM_FOC\PMSM_FOC.mdl
     文件        4549  2015-11-06 19:14  PMSM_FOC\PMSMdq.m
     目录           0  2015-12-02 12:42  PMSM_FOC\

评论

共有 条评论