📄 aci_se_const.c
字号:
/*=====================================================================================
File name: ACI_SE_CONST.C
Originator: Digital Control Systems Group
Texas Instruments
Description: Open-loop Speed Estimator of Induction Motor Constants
=====================================================================================
History:
-------------------------------------------------------------------------------------
04-15-2005 Version 3.20
-------------------------------------------------------------------------------------*/
#include "dmctype.h"
#include "aci_se_const.h"
#define PI 3.14159265358979
void aci_se_const_calc(ACISE_CONST *v)
{
float32 Wb, Tr, tc;
Tr = v->Lr/v->Rr; // Rotor time constant (sec)
tc = 1/(2*PI*v->fc); // Lowpass filter time constant (sec)
Wb = 2*PI*v->fb;
v->K1 = 1/(Wb*Tr);
v->K2 = 1/(v->fb*v->Ts);
v->K3 = tc/(tc+v->Ts);
v->K4 = v->Ts/(tc+v->Ts);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -