📄 aci_se_const.h
字号:
/* =================================================================================
File name: ACI_SE_CONST.H
Originator: Digital Control Systems Group
Texas Instruments
Description:
Header file containing constants, data type definitions, and
function prototypes for the ACISE_CONST.
=====================================================================================
History:
-------------------------------------------------------------------------------------
04-15-2005 Version 3.20
------------------------------------------------------------------------------*/
typedef struct { float32 Rr; // Input: Rotor resistance (ohm)
float32 Lr; // Input: Rotor inductance (H)
float32 fb; // Input: Base electrical frequency (Hz)
float32 fc; // Input: Cut-off frequency of lowpass filter (Hz)
float32 Ts; // Input: Sampling period in sec
float32 K1; // Output: constant using in rotor flux calculation
float32 K2; // Output: constant using in rotor flux calculation
float32 K3; // Output: constant using in rotor flux calculation
float32 K4; // Output: constant using in stator current calculation
void (*calc)(); // Pointer to calculation function
} ACISE_CONST;
typedef ACISE_CONST *ACISE_CONST_handle;
/*-----------------------------------------------------------------------------
Default initalizer for the ACISE_CONST object.
-----------------------------------------------------------------------------*/
#define ACISE_CONST_DEFAULTS {0,0, \
0,0,0, \
0,0,0,0, \
(void (*)(Uint32))aci_se_const_calc }
/*------------------------------------------------------------------------------
Prototypes for the functions in ACI_SE_CONST.C
------------------------------------------------------------------------------*/
void aci_se_const_calc(ACISE_CONST_handle);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -