📄 aci_fe.h
字号:
/* =================================================================================
File name: ACI_FE.H (IQ version)
Originator: Digital Control Systems Group
Texas Instruments
Description:
Header file containing constants, data type definitions, and
function prototypes for the ACIFE.
=====================================================================================
History:
-------------------------------------------------------------------------------------
05-15-2002 Release Rev 1.0
------------------------------------------------------------------------------*/
typedef struct { _iq theta_r_fe; /* Output: Rotor flux angle */
_iq i_qs_fe; /* Input: Stationary q-axis stator current */
_iq i_ds_fe; /* Input: Stationary d-axis stator current */
_iq K1_fe; /* Parameter: Constant using in current model */
_iq flx_dr_e; /* Variable: Rotating d-axis rotor flux (current model) */
_iq K2_fe; /* Parameter: Constant using in current model */
_iq flx_qr_s; /* Variable: Stationary q-axis rotor flux (current model) */
_iq flx_dr_s; /* Variable: Stationary d-axis rotor flux (current model) */
_iq K3_fe; /* Parameter: Constant using in stator flux computation */
_iq K4_fe; /* Parameter: Constant using in stator flux computation */
_iq flx_ds_s; /* Variable: Stationary d-axis stator flux (current model) */
_iq flx_qs_s; /* Variable: Stationary q-axis stator flux (current model) */
_iq psi_ds_fe; /* Variable: Stationary d-axis stator flux (voltage model) */
_iq Kp_fe; /* Parameter: PI proportionnal gain */
_iq ui_ds; /* Variable: Stationary d-axis integral term */
_iq ucomp_ds; /* Variable: Stationary d-axis compensated voltage */
_iq Ki_fe; /* Parameter: PI integral gain */
_iq psi_qs_fe; /* Variable: Stationary q-axis stator flux (voltage model) */
_iq ui_qs; /* Variable: Stationary q-axis integral term */
_iq ucomp_qs; /* Variable: Stationary q-axis compensated voltage */
_iq emf_ds; /* Variable: Stationary d-axis back emf */
_iq u_ds_fe; /* Input: Stationary d-axis stator voltage */
_iq K5_fe; /* Parameter: Constant using in back emf computation */
_iq K6_fe; /* Parameter: Constant using in back emf computation */
_iq emf_qs; /* Variable: Stationary q-axis back emf */
_iq u_qs_fe; /* Input: Stationary q-axis stator voltage */
_iq K8_fe; /* Parameter: Constant using in rotor flux computation */
_iq K7_fe; /* Parameter: Constant using in rotor flux computation */
_iq psi_dr_fe; /* Output: Stationary d-axis estimated rotor flux */
_iq psi_qr_fe; /* Output: Stationary q-axis estimated rotor flux */
void (*calc)(); /* Po_iqer to calculation function */
} ACIFE;
typedef ACIFE *ACIFE_handle;
/*-----------------------------------------------------------------------------
Default initalizer for the ACIFE object.
-----------------------------------------------------------------------------*/
#define ACIFE_DEFAULTS { 0, /* theta_r_fe */ \
0, /* i_qs_fe */ \
0, /* i_ds_fe */ \
0, /* K1_fe */ \
0, /* flx_dr_e */ \
0, /* K2_fe */ \
0, /* flx_dr_s */ \
0, /* flx_qr_s */ \
0, /* K3_fe */ \
0, /* K4_fe */ \
0, /* flx_ds_s */ \
0, /* flx_qs_s */ \
0, /* psi_ds_fe */ \
0, /* Kp_fe */ \
0, /* ui_ds */ \
0, /* ucomp_ds */ \
0, /* Ki_fe */ \
0, /* psi_qs_fe */ \
0, /* ui_qs */ \
0, /* ucomp_qs */ \
0, /* emf_ds */ \
0, /* u_ds_fe */ \
0, /* K5_fe */ \
0, /* K6_fe */ \
0, /* emf_qs */ \
0, /* u_qs_fe */ \
0, /* K8_fe */ \
0, /* K7_fe */ \
0, /* psi_dr_fe */ \
0, /* psi_qr_fe */ \
(void (*)(long))aci_fe_calc }
/*------------------------------------------------------------------------------
Prototypes for the functions in ACI_FE.C
------------------------------------------------------------------------------*/
void aci_fe_calc(ACIFE_handle);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -