下载频道> 资源分类> matlab源码> 通信信号> 异步电机的无速度传感器的矢量控制matlab源码程序

标题:异步电机的无速度传感器的矢量控制matlab源码程序
分享到:

所属分类: 通信信号 资源类型:程序源码 文件大小: 356.46 KB 上传时间: 2019-06-16 08:43:29 下载次数: 23 资源积分:1分 提 供 者: zhangsan456 code
内容:
异步电机的无速度传感器的矢量控制matlab源码程序,function y=wr_Estimated0716(u);
global wr_estimated;
global vdss;
global vqss;
global idss;
global iqss;
global edss;
global eqss;
global flux_d;
global flux_q;
global flux_d_o;
global flux_q_o;
global flux_d_r;
global flux_q_r;
global flux_d_r_o;
global flux_q_r_o;
global Rs;
global T;
global flux_command;
global cos_theta;
global sin_theta;
global o;
global Ls;
global Lm;
global Lr;
global Tr;
global wr_filter;
global we_filter;
global counter;
global we;
global wsl;
global wr_estimated_o;
global we_o;
global flux;
global flux_s;
global reg1;
global reg2;
global reg3;
global wc;
global theta;
global fdre;
% idss=u(1);
% iqss=u(2);
%--------------the dc error--------------------
idss=u(1)+0;
iqss=u(2)+0;
%------------------------------------------------
vdss=u(3);
vqss=u(4);
theta=u(5);
fdre=u(6);
% if(abs(u(5))<80)
%     wc=20;
% end
% if(abs(u(5))>=80)
%     wc=40;
% end   
wc=1;
edss=vdss-Rs*idss;
eqss=vqss-Rs*iqss;
%---------the command flux compensation----------------------
 
flux_d=flux_d_o+T*(edss+wc*fdre*cos(theta)-wc*flux_d_o);
flux_q=flux_q_o+T*(eqss+wc*fdre*sin(theta)-wc*flux_q_o);
%----------------------
 
flux_d_r=(Lr/Lm)*(flux_d-(o*Ls*idss));
flux_q_r=(Lr/Lm)*(flux_q-(o*Ls*iqss));
flux=sqrt((flux_d_r*flux_d_r)+(flux_q_r*flux_q_r));
flux_s=sqrt(flux_d*flux_d+flux_q*flux_q);
 
if(flux<0.05)
    wr_estimated=0;
    cos_theta=1;
    sin_theta=0;
else
    %wr_estimated=((flux_d_r*((flux_q_r-flux_q_r_o)/(T*2))-flux_q_r*(flux_d_r-flux_d_r_o)/(T*2))-Lm*Tr*(flux_d_r*iqss-flux_q_r*idss))/(flux_d_r*flux_d_r+flux_q_r*flux_q_r);
    we=((flux_d_r*(flux_q_r-flux_q_r_o)/T)-(flux_q_r*(flux_d_r-flux_d_r_o)/T))/(flux*flux);
    wsl=(Lm/Tr)*(flux_d_r*iqss-flux_q_r*idss)/(flux*flux);
    %wr_estimated=((flux_d_r*((flux_q_r-flux_q_r_o)/(T))-flux_q_r*(flux_d_r-flux_d_r_o)/(T))-(Lm/Tr)*(flux_d_r*iqss-flux_q_r*idss))/(flux_d_r*flux_d_r+flux_q_r*flux_q_r);
    wr_estimated=we-wsl;
end
flux_d_o=flux_d;
flux_q_o=flux_q;
flux_d_r_o=flux_d_r;
flux_q_r_o=flux_q_r;
reg2=reg1;
y(1)=wr_estimated;
y(2)=we;
y(3)=wsl;
y(4)=flux_d_r;
y(5)=flux_q_r;
y(6)=flux;

文件列表(点击上边下载按钮,如果是垃圾文件请在下面评价差评或者投诉):

code/
code/MRAS/
code/SMC/
code/MRAS/indirect_sensorlessini.m
code/MRAS/indirectsensorless_mras810.mdl
code/MRAS/wr_estimated0716.m
code/SMC/indirect_sensorlessini.m
code/SMC/vsc_slo_wr.mdl
code/SMC/wr_estimated0716.m
code/indirect_sensorless.mdl
code/indirect_sensorlessini.m
code/pid.m
code/wr_estimated0716.asv
code/wr_estimated0716.m
code/新建 文本文档.txt
code/无速度传感器说明.doc

关键词: 异步电机 无速度传感器

matlab源码下载排行

Top_arrow
回到顶部
联系方式| 版权声明| 招聘信息| 广告服务| 银行汇款| 法律顾问| 兼职技术| 付款方式| 关于我们|
网站客服网站客服 程序员兼职招聘 程序员兼职招聘 博客客服
沪 ICP 证 14049794 号
谷速代码 版权所有
Copyright © 1999-2014, GUSUCODE.COM, All Rights Reserved