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

📄 aci_fe.h

📁 异步电机矢量控制c源程序
💻 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:
-------------------------------------------------------------------------------------
 04-15-2005	Version 3.20                                                  
------------------------------------------------------------------------------*/
#ifndef __ACI_FE_H__
#define __ACI_FE_H__

typedef struct {  _iq  ThetaFlux;      	// Output: Rotor flux angle 
	              _iq  IQsS;		    // Input: Stationary q-axis stator current  
	              _iq  IDsS;         	// Input: Stationary d-axis stator current  
	              _iq  K1;           	// Parameter: Constant using in current model 
	              _iq  FluxDrE;        	// Variable: Rotating d-axis rotor flux (current model)
	              _iq  K2;           	// Parameter: Constant using in current model 
	              _iq  FluxQrS;        	// Variable: Stationary q-axis rotor flux (current model) 
	              _iq  FluxDrS;        	// Variable: Stationary d-axis rotor flux (current model) 
	              _iq  K3;           	// Parameter: Constant using in stator flux computation 
	              _iq  K4;           	// Parameter: Constant using in stator flux computation 
	              _iq  FluxDsS;        	// Variable: Stationary d-axis stator flux (current model) 
	              _iq  FluxQsS;        	// Variable: Stationary q-axis stator flux (current model) 
				  _iq  PsiDsS;			// Variable: Stationary d-axis stator flux (voltage model) 
	              _iq  Kp;           	// Parameter: PI proportionnal gain 
	              _iq  UiDsS;           // Variable: Stationary d-axis integral term 
	              _iq  UCompDsS;        // Variable: Stationary d-axis compensated voltage 
	              _iq  Ki;           	// Parameter: PI integral gain 
	              _iq  PsiQsS;       	// Variable: Stationary q-axis stator flux (voltage model) 
	              _iq  UiQsS;           // Variable: Stationary q-axis integral term  
	              _iq  UCompQsS;        // Variable: Stationary q-axis compensated voltage 
	              _iq  EmfDsS;          // Variable: Stationary d-axis back emf 
	              _iq  UDsS;         	// Input: Stationary d-axis stator voltage 
	              _iq  K5;           	// Parameter: Constant using in back emf computation 
	              _iq  K6;           	// Parameter: Constant using in back emf computation 
	              _iq  EmfQsS;          // Variable: Stationary q-axis back emf  
	              _iq  UQsS;         	// Input: Stationary q-axis stator voltage 
	              _iq  K8;           	// Parameter: Constant using in rotor flux computation 
	              _iq  K7;           	// Parameter: Constant using in rotor flux computation 
				  _iq  PsiDrS;			// Output: Stationary d-axis estimated rotor flux 
				  _iq  PsiQrS;			// Output: Stationary q-axis estimated rotor flux 
		 	 	  void  (*calc)();	  	// Pointer to calculation function  
				 } ACIFE;	            

typedef ACIFE *ACIFE_handle;
/*-----------------------------------------------------------------------------
Default initalizer for the ACIFE object.
-----------------------------------------------------------------------------*/                     
#define ACIFE_DEFAULTS {  0,    /*  ThetaFlux  */  \
	                      0,    /*  IDsS  */     \
	                      0,    /*  IQsS  */     \
	                      0,    /*  K1 */       \
	                      0,    /*  FluxDrE  */    \
	                      0,    /*  K2  */       \
	                      0,    /*  FluxDrS  */    \
	                      0,    /*  FluxQrS  */    \
	                      0,    /*  K3  */       \
	                      0,    /*  K4  */       \
	                      0,    /*  FluxDsS  */    \
	                      0,    /*  FluxQsS  */    \
	 		              0,    /*  PsiDsS  */   \
	                      0,    /*  Kp  */       \
	                      0,    /*  UiDsS  */    \
	                      0,    /*  UCompDsS  */    \
	                      0,    /*  Ki  */ \
	                      0,    /*  PsiQsS  */   \
 	                      0,    /*  UiQsS  */    \
	                      0,    /*  UCompQsS  */    \
	                      0,    /*  EmfDsS  */      \
                          0,    /*  UDsS  */     \
	                      0,    /*  K5  */       \
	                      0,    /*  K6  */       \
	                      0,    /*  EmfQsS  */      \
                          0,    /*  UQsS  */     \
	                      0,    /*  K8  */       \
	                      0,    /*  K7  */       \
		                  0,    /*  PsiDrS  */   \
		                  0,	/*  PsiQrS  */   \
              			 (void (*)(Uint32))aci_fe_calc }

/*------------------------------------------------------------------------------
Prototypes for the functions in ACI_FE.C
------------------------------------------------------------------------------*/
void aci_fe_calc(ACIFE_handle);

#endif // __ACI_FE_H__

⌨️ 快捷键说明

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