📄 parameter.h
字号:
/* ==============================================================================
System Name: ACI33_SIM
File Name: PARAMETER.H
Description: Parameters file for the Simulation of Sensored Indirect
Field Orientation Control for a Three Phase AC Induction Motor.
Originator: Digital control systems Group - Texas Instruments
=====================================================================================
History:
-------------------------------------------------------------------------------------
04-15-2005 Version 3.20
================================================================================= */
#ifndef PARAMETER_H
#define PARAMETER_H
/*-------------------------------------------------------------------------------
Next, definitions used in main file.
-------------------------------------------------------------------------------*/
#ifndef TRUE
#define FALSE 0
#define TRUE 1
#endif
#define PI 3.14159265358979
// Define the samping period for simulation (sec)
#define SAMPLING_PERIOD 0.0005
// 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 mechanical parameters
#define BB 0.0001 // Damping coefficient (N.m.sec/rad)
#define JJ 0.001 // Moment of inertia of rotor mass (kg.m^2)
#define TL 0 // Load torque (N.m)
// 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 60 // Base electrical frequency (Hz)
#endif // end of PARAMETER.H definition
//===========================================================================
// No more.
//===========================================================================
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -