📄 aci_const.c
字号:
/*=====================================================================================
File name: ACI_CONST.C
Originator: Digital Control Systems Group
Texas Instruments
Description: Emulated Induction Motor in the Stationary Reference Frame Constants
=====================================================================================
History:
-------------------------------------------------------------------------------------
04-15-2005 Version 3.20
-------------------------------------------------------------------------------------*/
#include "dmctype.h"
#include "aci_const.h"
void aci_const_calc(ACI_CONST *v)
{
float32 sigma,gamma,alpha,beta;
sigma = 1 - (v->Lm*v->Lm)/(v->Ls*v->Lr);
gamma = (v->Lm*v->Lm*v->Rr + v->Lr*v->Lr*v->Rs)/(sigma*v->Ls*v->Lr*v->Lr);
alpha = v->Rr/v->Lr;
beta = v->Lm/(sigma*v->Ls*v->Lr);
v->K1 = v->Ts*alpha;
v->K2 = v->Ts*v->Wb;
v->K3 = v->Ts*alpha*v->Lm*(v->Ib/v->Lb);
v->K4 = v->Ts*alpha*beta*(v->Lb/v->Ib);
v->K5 = v->Ts*beta*(v->Lb*v->Wb/v->Ib);
v->K6 = v->Ts*gamma;
v->K7 = v->Ts*(1/(sigma*v->Ls))*(v->Vb/v->Ib);
v->K8 = 1.5*(v->p/2)*(v->Lm/v->Lr)*(v->Lb*v->Ib/v->Tb);
v->K9 = v->Ts*(v->B/v->J);
v->K10 = v->Ts*(v->p/2)*(1/v->J)*(v->Tb/v->Wb);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -