• 大小: 29.89MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-07-10
  • 语言: 其他
  • 标签: 矢量控制  

资源简介

PMSM SVPWM 矢量控制各种模型及技术文档,总有一个是你想要的。数量打二十几个!

资源截图

代码片段和文件信息

function [sysx0strts] = sfuntmpl(txuflag)
switch flag
  case 0
    [sysx0strts]=mdlInitializeSizes;
  case 1
    sys=[];
  case 2
    sys=[];
  case 3
    sys=mdlOutputs(txu);
  case 4
    sys=[];
  case 9
    sys=[];
  otherwise
    error([‘Unhandled flag = ‘num2str(flag)]);
end


function [sysx0strts]=mdlInitializeSizes

sizes = simsizes;
sizes.NumContStates  = 0;
sizes.NumDiscStates  = 0;
sizes.NumOutputs     = 2;
sizes.NumInputs      = 5;
sizes.DirFeedthrough = 1;
sizes.NumSampleTimes = 1;   % at least one sample time is needed

sys = simsizes(sizes);
x0  = [];
str = [];
ts  = [0 0];

%u(1)=N;u(2)=Uafa;u(3)=Ubta;u(4)=Udc;u(5)=Ts
function sys=mdlOutputs(txu)
global T1 T2 Ts
Ts=u(5);
switch u(1)
    case 1
        T1=-1*u(2)+3^0.5/3*u(3);
        T2=1*u(2)+3^0.5/3*u(3);
    case 2
        T1=1*u(2)+3^0.5/3*u(3);
        T2=0*u(2)-2*3^0.5/3*u(3);
    case 3
        T1=1*u(2)-3^0.5/3*u(3);
        T2=2*3^0.5/3*u(3);
    case 4
        T1=-2*3^0.5/3*u(3);
        T2=-1*u(2)+3^0.5/3*u(3);
    case 5
        T1=2*3^0.5/3*u(3);
        T2=-1*u(2)-3^0.5/3*u(3);
    case 6
        T1=-1*u(2)-3^0.5/3*u(3);
        T2=1*u(2)-3^0.5/3*u(3);
end 
T1=T1*u(5)/u(4)/2*3;
T2=T2*u(5)/u(4)/2*3;

if (T1+T2<=Ts);
    sys(1)=T1;
    sys(2)=T2;   
else
    sys(1)=T1*Ts/(T1+T2);
    sys(2)=T2*Ts/(T1+T2);
end






 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1409  2009-09-05 09:40  PMSM多种控制模型\06291563SVPWM_PMSM\SVPWM\directT1T2.m

     文件        854  2009-09-05 09:40  PMSM多种控制模型\06291563SVPWM_PMSM\SVPWM\dqafabta.m

     文件       1084  2009-09-05 09:40  PMSM多种控制模型\06291563SVPWM_PMSM\SVPWM\nqueding.m

     文件     131819  2009-09-04 21:56  PMSM多种控制模型\06291563SVPWM_PMSM\SVPWM\PMSM_SVPWM.mdl

     文件      93053  2009-09-05 22:07  PMSM多种控制模型\06291563SVPWM_PMSM\SVPWM\svpwmfinal.mdl

     文件       1250  2009-09-05 09:40  PMSM多种控制模型\06291563SVPWM_PMSM\SVPWM\T1T2gai.m

     文件       1274  2009-09-05 09:40  PMSM多种控制模型\06291563SVPWM_PMSM\SVPWM\TaTbTcgai.m

     文件      33363  2016-02-05 20:43  PMSM多种控制模型\06291563SVPWM_PMSM.rar

     文件       1296  2016-02-05 21:47  PMSM多种控制模型\09106658svpwm\svpwm\slprj\_sfprj\Svpwm\_self\sfun\info\binfo.mat

     文件       7931  2016-02-05 21:46  PMSM多种控制模型\09106658svpwm\svpwm\slprj\_sfprj\Svpwm\_self\sfun\info\chart7_MMhYcdxvVheBjZsEJb9bUH.mat

     文件      47781  2016-02-05 21:46  PMSM多种控制模型\09106658svpwm\svpwm\slprj\_sfprj\Svpwm\_self\sfun\src\c7_Svpwm.c

     文件       1183  2016-02-05 21:46  PMSM多种控制模型\09106658svpwm\svpwm\slprj\_sfprj\Svpwm\_self\sfun\src\c7_Svpwm.h

     文件      51171  2016-02-05 21:47  PMSM多种控制模型\09106658svpwm\svpwm\slprj\_sfprj\Svpwm\_self\sfun\src\c7_svpwm.obj

     文件        706  2016-02-05 21:47  PMSM多种控制模型\09106658svpwm\svpwm\slprj\_sfprj\Svpwm\_self\sfun\src\lccstub.obj

     文件       4125  2016-02-05 21:46  PMSM多种控制模型\09106658svpwm\svpwm\slprj\_sfprj\Svpwm\_self\sfun\src\multiword_types.h

     文件       1098  2016-02-05 21:46  PMSM多种控制模型\09106658svpwm\svpwm\slprj\_sfprj\Svpwm\_self\sfun\src\rtwtypes.h

     文件       1130  2016-02-05 21:46  PMSM多种控制模型\09106658svpwm\svpwm\slprj\_sfprj\Svpwm\_self\sfun\src\rtwtypeschksum.mat

     文件     207857  2016-02-05 21:47  PMSM多种控制模型\09106658svpwm\svpwm\slprj\_sfprj\Svpwm\_self\sfun\src\sfun.map

     文件         72  2016-02-05 21:46  PMSM多种控制模型\09106658svpwm\svpwm\slprj\_sfprj\Svpwm\_self\sfun\src\Svpwm_sfun.bat

     文件      10922  2016-02-05 21:46  PMSM多种控制模型\09106658svpwm\svpwm\slprj\_sfprj\Svpwm\_self\sfun\src\Svpwm_sfun.c

     文件         45  2016-02-05 21:46  PMSM多种控制模型\09106658svpwm\svpwm\slprj\_sfprj\Svpwm\_self\sfun\src\Svpwm_sfun.def

     文件         45  2016-02-05 21:47  PMSM多种控制模型\09106658svpwm\svpwm\slprj\_sfprj\Svpwm\_self\sfun\src\Svpwm_sfun.exp

     文件       1539  2016-02-05 21:46  PMSM多种控制模型\09106658svpwm\svpwm\slprj\_sfprj\Svpwm\_self\sfun\src\Svpwm_sfun.h

     文件        284  2016-02-05 21:47  PMSM多种控制模型\09106658svpwm\svpwm\slprj\_sfprj\Svpwm\_self\sfun\src\Svpwm_sfun.lib

     文件       2134  2016-02-05 21:46  PMSM多种控制模型\09106658svpwm\svpwm\slprj\_sfprj\Svpwm\_self\sfun\src\Svpwm_sfun.lmk

     文件        844  2016-02-05 21:46  PMSM多种控制模型\09106658svpwm\svpwm\slprj\_sfprj\Svpwm\_self\sfun\src\Svpwm_sfun.lmko

     文件      11121  2016-02-05 21:47  PMSM多种控制模型\09106658svpwm\svpwm\slprj\_sfprj\Svpwm\_self\sfun\src\svpwm_sfun.obj

     文件      26213  2016-02-05 21:46  PMSM多种控制模型\09106658svpwm\svpwm\slprj\_sfprj\Svpwm\_self\sfun\src\Svpwm_sfun_debug_macros.h

     文件      10946  2016-02-05 21:46  PMSM多种控制模型\09106658svpwm\svpwm\slprj\_sfprj\Svpwm\_self\sfun\src\Svpwm_sfun_registry.c

     文件      63798  2016-02-05 21:47  PMSM多种控制模型\09106658svpwm\svpwm\slprj\_sfprj\Svpwm\_self\sfun\src\svpwm_sfun_registry.obj

............此处省略182个文件信息

评论

共有 条评论