⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 aci_const.h

📁 异步电机矢量控制c源程序
💻 H
字号:
/* =================================================================================
File name:       ACI_CONST.H                     
                    
Originator:	Digital Control Systems Group
			Texas Instruments

Description: 
Header file containing constants, data type definitions, and 
function prototypes for the ACI_CONST.
=====================================================================================
 History:
-------------------------------------------------------------------------------------
 04-15-2005	Version 3.20                                                 
------------------------------------------------------------------------------*/

typedef struct 	{ float32  Rs; 				// Input: Stator resistance (ohm) 
				  float32  Rr;				// Input: Rotor resistance (ohm) 
			      float32  Ls;				// Input: Stator inductance (H) 	  			      
				  float32  Lr;				// Input: Rotor inductance (H) 			
				  float32  Lm;				// Input: Magnetizing inductance (H) 
				  float32  p; 				// Input: Number of poles 
				  float32  B;   			// Input: Damping coefficient (N.m.sec/rad) 					  
				  float32  J; 				// Input: Moment of inertia of rotor mass (kg.m^2) 		
				  float32  Ib; 				// Input: Base phase current (amp) 
				  float32  Vb;				// Input: Base phase voltage (volt)
				  float32  Wb;              // Input: Base electrically angular velocity (rad/sec)
				  float32  Tb;    			// Input: Base torque (N.m) 
				  float32  Lb;  			// Input: Base flux linkage (volt.sec/rad)
				  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 
			      float32  K5;				// Output: constant using in stator current calculation 
			      float32  K6;				// Output: constant using in stator current calculation 
			      float32  K7;				// Output: constant using in stator current calculation 
			      float32  K8;				// Output: constant using in torque calculation 
			      float32  K9;				// Output: constant using in rotor speed calculation 
			      float32  K10;				// Output: constant using in rotor speed calculation 			      
				  void   (*calc)();	    	// Pointer to calculation function
				} ACI_CONST;
																																																																																																																																																																																																								
typedef ACI_CONST *ACI_CONST_handle;
/*-----------------------------------------------------------------------------
Default initalizer for the ACI_CONST object.
-----------------------------------------------------------------------------*/                     
#define ACI_CONST_DEFAULTS { 0,0,0,0,0, \
                             0,0,0, \
                             0,0,0, \
                             0,0,0, \
 		          	         0,0,0,0,0, \
 		          	         0,0,0,0,0, \
                            (void (*)(Uint32))aci_const_calc }

/*------------------------------------------------------------------------------
Prototypes for the functions in ACI_CONST.C
------------------------------------------------------------------------------*/
void aci_const_calc(ACI_CONST_handle);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -