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

📄 parameter.h

📁 TMS320f28xx控制三相感应电机程序。包括速度检测、速度调节、V/F控制、PWM生成等。
💻 H
字号:
/* ==============================================================================
System Name:  ACI31

File Name:	PARAMETER.H

Description:	Parameters file for the Real Implementation of Sensored 
          		V/Hz Control for a Three Phase AC Induction Motor. 

Originator:		Digital control systems Group - Texas Instruments

Note: In this software, the default inverter is supposed to be DMC1500 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 20

// This machine parameters are based on 1-hp WEG induction motor
// Define the Induction motor parameters 
#define RS 		1.723               	// Stator resistance (ohm)
#define RR   	2.011               	// Rotor resistance (ohm)
#define LS   	0.166619     			// Stator inductance (H)
#define LR   	0.168964				// Rotor inductance (H)	
#define LM   	0.159232				// Rotor inductance (H)
#define P    	4						// Number of poles	

// Define the base quantites
#define BASE_VOLTAGE    184.752       // Base peak phase voltage (volt)
#define BASE_CURRENT    5             // 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      	120           // Base electrical frequency (Hz)

#endif  // end of PARAMETER.H definition

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

⌨️ 快捷键说明

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