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

📄 parameter.h

📁 移植TI的永磁同步电机(PMSM)速度闭环调速程序
💻 H
字号:
/* ==============================================================================
System Name:  PMSM34

File Name:	PARAMETER.H

Description:	Parameters file for the Real Implementation of Position Control
                Based Sensored Field Orientation Control for a Three Phase Permanent-
                Magnet Synchronous Motor (PMSM) using QEP sensor
          		
Originator:		Digital control systems Group - Texas Instruments

Note: In this software, the default inverter is supposed to be DMC550 board. 
=====================================================================================
 History:
-------------------------------------------------------------------------------------
 04-15-2005	Version 3.20
=================================================================================  */

#ifndef PARAMETER_H
#define PARAMETER_H

#include "target.h"

/*-------------------------------------------------------------------------------
Next, definitions used in main file.
-------------------------------------------------------------------------------*/
#ifndef TRUE
#define FALSE 0
#define TRUE  1
#endif

#define PI 3.14159265358979

// Define the system frequency (MHz)
#if (DSP_TARGET==F2808)
#define SYSTEM_FREQUENCY 100
#endif
#if (DSP_TARGET==F2812)
#define SYSTEM_FREQUENCY 150
#endif

// Define the ISR frequency (kHz)
#define ISR_FREQUENCY 5

// This machine parameters are based on 24-v Applied Motion PMSM motor (A0100-103-3-000)
// Define the PMSM motor parameters
//#define RS  	0.79               		// Stator resistance (ohm)
//#define RR   	0               		// Rotor resistance (ohm)
//#define LS   	0.00117    				// Stator inductance (H)
//#define LR   	0						// Rotor inductance (H)	
//#define PM   	0.017666				// Permanent-magnat flux (volt.sec/rad)
#define P    	8						// Number of poles

// Define the base quantites
//#define BASE_VOLTAGE    13.86         // Base peak phase voltage (volt)
//#define BASE_CURRENT    3             // Base peak phase current (amp)
//#define BASE_TORQUE     7.35105194    // Base torque (N.m)
//#define BASE_FLUX       0.79616       // Base flux linkage (volt.sec/rad)
#define BASE_FREQ      	200       	// Base electrical frequency (Hz)

#endif  // end of PARAMETER.H definition

//===========================================================================
// No more.
//===========================================================================

⌨️ 快捷键说明

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