aci_se_const.h

来自「异步电机矢量控制c源程序」· C头文件 代码 · 共 42 行

H
42
字号
/* =================================================================================
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 + =
减小字号Ctrl + -
显示快捷键?