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

📄 vhz.h

📁 本程序来自TI公司网站原程序,其功能是通过传统的V/F控制算法来实现对感应电机的控制,控制程序可以采用.asm也可以采用.C。 程序的具体算法和介绍在软件压缩包有详细介绍!
💻 H
字号:
/* ==============================================================================
System Name:  ACI3_1

File Name:	VHZ.H

Description:    Primary header file for the implementation of Sensored constant 
                  Volt/Hertz control of a Three Phase AC Induction Motor.

Originator:		Digital control systems Group - Texas Instruments

Target dependency:	x240/1/2/3/07
To Select the target device see target.h file.
		
=====================================================================================
 History:
-------------------------------------------------------------------------------------
 9-15-2000	Release	Rev 1.0
=================================================================================  */

/*-----------------------------------------------------------------------------*/
/* Get target information.                                                     */
/*-----------------------------------------------------------------------------*/
#include <TARGET.H>

#if (TARGET==F243)
#include <regs24x.h> 
#endif


#if (TARGET==F2407)                      
#include <regs240x.h> 
#endif

/*-------------------------------------------------------------------------------
    Get buildlevel information.
-------------------------------------------------------------------------------*/
#include <build.h>

/*------------------------------------------------------------------------------
    Include file containing the system vectors.
    These must be set up correctly for the interrupt mechanisms to work
------------------------------------------------------------------------------*/
#include <sysvecs.h>

/*-------------------------------------------------------------------------------
Next, Include project specific include files.
-------------------------------------------------------------------------------*/
#include <evmdac.h>             /* Get Constants etc for the EVMDAC            */
#include <pwmgen.h>             /* Get Constants etc for the PWM Generators    */
#include <capture.h>            /* Get constants and defs for the Capture      */
#include <watchdog.h>           /* Get the watchdog driver interface           */
#include <speed_pr.h>           /* Get constants and defs for the Speed PR Obj */
#include <vhz_ti.h>             /* Include header for the Vhz object           */
#include <drive.h>              /* Include header for the DRIVE object     */

/*-------------------------------------------------------------------------------
    Miscellaneous Items.                                     		       
-------------------------------------------------------------------------------*/
typedef struct {int a,b,c ;} triad ; 


/*-------------------------------------------------------------------------------
    Function Prototypes for the functions implemented in VHZCRT.C
-------------------------------------------------------------------------------*/
void RstSystem(void);
void RstSystem(void);
void rtmon_init(void);
void interrupt c_int02();
void interrupt phantom(void);

#ifndef TRUE
#define FALSE ((Bool)0)
#define TRUE  ((Bool)1)
#endif

⌨️ 快捷键说明

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