📄 cur_mod.h
字号:
/* =================================================================================
File name: CUR_MOD.H
Originator: Digital Control Systems Group
Texas Instruments
Description:
Header file containing constants, data type definitions, and
function prototypes for the CURMOD.
=====================================================================================
History:
-------------------------------------------------------------------------------------
04-15-2005 Version 3.20
------------------------------------------------------------------------------*/
typedef struct { float32 IDs; // Input: Syn. rotating d-axis current (pu)
float32 IQs; // Input: Syn. rotating q-axis current (pu)
float32 Wr; // Input: Rotor electrically angular velocity (pu)
float32 IMDs; // Variable: Syn. rotating d-axis magnetizing current (pu)
float32 Theta; // Output: Rotor flux angle (pu)
float32 Kr; // Parameter: constant using in magnetizing current calculation
float32 Kt; // Parameter: constant using in slip calculation
float32 K; // Parameter: constant using in rotor flux angle calculation
void (*calc)(); // Pointer to calculation function
} CURMOD;
typedef CURMOD *CURMOD_handle;
/*-----------------------------------------------------------------------------
Default initalizer for the CURMOD object.
-----------------------------------------------------------------------------*/
#define CURMOD_DEFAULTS { 0,0,0,0,0, \
0,0,0, \
(void (*)(Uint32))cur_mod_calc }
/*------------------------------------------------------------------------------
Prototypes for the functions in CUR_MOD.C
------------------------------------------------------------------------------*/
void cur_mod_calc(CURMOD_handle);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -