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

📄 parameter.h

📁 基于DSP 2812的永磁同步电动机矢量控制程序
💻 H
字号:
/* ==============================================================================
System Name:  PMSM33

File Name:	PARAMETER.H

Description:	Parameters file for the Real Implementation of Sensored  
          		Field Orientation Control for a Three Phase Permanent-Magnet
          		Synchronous Motor (PMSM) using Resolver sensor
          		
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)

#define SYSTEM_FREQUENCY 150


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

// Define the resolver PWM frequency (kHz)
#define RESOLVER_PWM_FREQUENCY 160

// Define the resolver excitation frequency (kHz) 
#define RESOLVER_EXCITATION_FREQUENCY 5

// This machine parameters are based on 1-hp PacSci PMSM motor 
// Define the PMSM motor parameters 
#define RS 		0.9               		// Stator resistance (ohm) 
#define RR   	0               		// Rotor resistance (ohm) 
#define LS   	0.00435     			// Stator inductance (H) 
#define LR   	0						// Rotor inductance (H) 	
#define LM   	0						// Magnetizing inductance (H) 
#define P    	4						// Number of poles 

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

#endif  // end of PARAMETER.H definition

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

⌨️ 快捷键说明

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