📄 aci_se.h
字号:
/* =================================================================================
File name: ACI_SE.H (IQ version)
Originator: Digital Control Systems Group
Texas Instruments
Description:
Header file containing constants, data type definitions, and
function prototypes for the ACISE.
=====================================================================================
History:
-------------------------------------------------------------------------------------
05-15-2002 Release Rev 1.0
------------------------------------------------------------------------------*/
typedef struct { _iq i_qs_se; /* Input: Stationary q-axis stator current */
_iq psi_dr_se; /* Input: Stationary d-axis rotor flux */
_iq i_ds_se; /* Input: Stationary d-axis stator current */
_iq psi_qr_se; /* Input: Stationary q-axis rotor flux */
_iq K1_se; /* Parameter: Constant using in speed computation */
_iq psi_r_2; /* Variable: Squared rotor flux */
_iq theta_r_se; /* Input: Rotor flux angle */
_iq21 K2_se; /* Parameter: Constant using in differentiator (Q21) - independently with global Q */
_iq theta_r_old; /* Variable: Previous rotor flux angle */
_iq K3_se; /* Parameter: Constant using in low-pass filter */
_iq21 wr_psi_r; /* Variable: Synchronous rotor flux speed (Q21) - independently with global Q */
_iq K4_se; /* Parameter: Constant using in low-pass filter */
_iq wr_hat_se; /* Output: Estimated speed in per unit */
long base_rpm_se; /* Parameter: Base rpm speed (Q0) - independently with global Q */
long wr_hat_rpm_se; /* Output: Estimated speed in rpm (Q0) - independently with global Q */
void (*calc)(); /* Pointer to calculation function */
} ACISE;
typedef ACISE *ACISE_handle;
/*-----------------------------------------------------------------------------
Default initalizer for the ACISE object.
-----------------------------------------------------------------------------*/
#define ACISE_DEFAULTS { 0, \
0, \
0, \
0, \
_IQ(0.1), \
0, \
0, \
_IQ21(0.1), \
0, \
_IQ(0.1), \
0, \
_IQ(0.1), \
0, \
3600, \
0, \
(void (*)(long))aci_se_calc }
#define DIFF_MAX_LIMIT _IQ(0.90)
#define DIFF_MIN_LIMIT _IQ(0.10)
/*------------------------------------------------------------------------------
Prototypes for the functions in ACI_SE.C
------------------------------------------------------------------------------*/
void aci_se_calc(ACISE_handle);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -