aci_se_const.c
来自「异步电机矢量控制c源程序」· C语言 代码 · 共 36 行
C
36 行
/*=====================================================================================
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 + =
减小字号Ctrl + -
显示快捷键?