aci_se_const.c
来自「这是ti公司的一个重要的技术文档源码! 三相异步电机无速度传感器直接磁场定向控」· C语言 代码 · 共 35 行
C
35 行
/*=====================================================================================
File name: ACI_SE_CONST.C
Originator: Digital Control Systems Group
Texas Instruments
Description: Open-loop Speed Estimator of Induction Motor Constants
=====================================================================================
History:
-------------------------------------------------------------------------------------
05-15-2002 Release Rev 1.0
-------------------------------------------------------------------------------------*/
#include "aci_se_const.h"
#define PI 3.14159265358979
void aci_se_const_calc(ACISE_CONST *v)
{
float 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 + =
减小字号Ctrl + -
显示快捷键?