亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? vfmrasti.c

?? 本程序來自TI公司網(wǎng)站原程序,其功能是通過傳統(tǒng)的V/F控制算法并加上對電機的轉(zhuǎn)子速度辨識即無速度傳感器控制來實現(xiàn)對感應(yīng)電機的控制,控制程序可以采用.asm也可以采用.C。程序的具體算法和介紹在軟件壓縮
?? C
?? 第 1 頁 / 共 2 頁
字號:
/* ==============================================================================
System Name:  ACI3_2

File Name:	VFMRASTI.C

Description:  Peripheral independent object for implementation of Sensorless Volt/Hertz 
          		control of a Three Phase AC Induction Motor using reactive power
          		MRAS speed estimator.


Originator:		Digital control systems Group - Texas Instruments

Target dependency:	x240/1/2/3/07 
To Select the target device see target.h file.

Note that the PWM/sampling frequency in C system is running at 15 kHz, which 
is different from the PWM/samping frequency in ASM system (i.e., 20 kHz) as 
indicated in the ACI3-2 system documentation. Also, this PWM/samping frequency
in both ASM and C systems are based on x2407 with 40 MHz clock. If the x243 with
20 MHz clock is used, then the PWM/samping frequency may be decreased accordingly.   
			
=====================================================================================
 History:
-------------------------------------------------------------------------------------
 9-15-2000	Release	Rev 1.0
=================================================================================  */

#include <vfmrasti.h>
#include <build.h>

#if (BUILDLEVEL==LEVEL1)
void VFMRAS_TI_Init(VFMRAS_TI_handle v)
{  
/*------------------------------------------------------------------------------
 Notes: 1.  Attributes are conveniently changed here, but this does
            consume cycles twice, 
            (a) in the 'C' boot-up, and then 
            (b) in the execution of this code. Setting up the needed
                constants the declaration of SVGEN svgen = VALUES, 
                rather than the defaults is clearly more effecient.
                This method is more intended for runtime changes.
    2.  There is also a code-size associated with these changes. 
-----------------------------------------------------------------------------*/

/*-----------------------------------------------------------------------------
Setup Volt-Hertz profile parameters.
-----------------------------------------------------------------------------*/
    v->vhzprof.vmin = 6553;        
    v->vhzprof.vmax = 31129;        
    v->vhzprof.fl   = 6553;        
    v->vhzprof.fh   = 16384;        
    v->vhzprof.slope= 10243; 

} /* End: VFMRAS_TI_Init() */
#endif /* (BUILDLEVEL==LEVEL1) */

#if (BUILDLEVEL==LEVEL2)
void VFMRAS_TI_Init(VFMRAS_TI_handle v)
{  
/*------------------------------------------------------------------------------
 Notes: 1.  Attributes are conveniently changed here, but this does
            consume cycles twice, 
            (a) in the 'C' boot-up, and then 
            (b) in the execution of this code. Setting up the needed
                constants the declaration of SVGEN svgen = VALUES, 
                rather than the defaults is clearly more effecient.
                This method is more intended for runtime changes.
    2.  There is also a code-size associated with these changes. 
-----------------------------------------------------------------------------*/

/*------------------------------------------------------------------------------
Configure Attributes for the Space Vector Function Generator
------------------------------------------------------------------------------*/
    v->svgen.freq      = 0x3FFF; 
    v->svgen.freq_max  = 3146;        /* This is based on 15kHz PWM frequency */

/*-----------------------------------------------------------------------------
Setup Volt-Hertz profile parameters.
-----------------------------------------------------------------------------*/
    v->vhzprof.vmin = 6553;        
    v->vhzprof.vmax = 31129;        
    v->vhzprof.fl   = 6553;        
    v->vhzprof.fh   = 16384;        
    v->vhzprof.slope= 10243; 

/*-----------------------------------------------------------------------------
Setup Ramp control parameters.
-----------------------------------------------------------------------------*/
    v->rmpc.rmp_dly_max = 40;        
    v->rmpc.rmp_lo_limit = 0x0000;        
    v->rmpc.rmp_hi_limit = 0x7FFF;   

                                          
}      /* End: VFMRAS_TI_Init() */ 
#endif /* (BUILDLEVEL==LEVEL2) */

#if (BUILDLEVEL==LEVEL3)
void VFMRAS_TI_Init(VFMRAS_TI_handle v)
{  

/*------------------------------------------------------------------------------
 Notes: 1.  Attributes are conveniently changed here, but this does
            consume cycles twice, 
            (a) in the 'C' boot-up, and then 
            (b) in the execution of this code. Setting up the needed
                constants the declaration of SVGEN svgen = VALUES, 
                rather than the defaults is clearly more effecient.
                This method is more intended for runtime changes.
    2.  There is also a code-size associated with these changes. 
-----------------------------------------------------------------------------*/

/*------------------------------------------------------------------------------
Configure Attributes for the Space Vector Function Generator
------------------------------------------------------------------------------*/
    v->svgen.freq      = 0x3FFF; 
    v->svgen.freq_max  = 3146;        /* This is based on 15kHz PWM frequency */

/*-----------------------------------------------------------------------------
Setup Volt-Hertz profile parameters.
-----------------------------------------------------------------------------*/
    v->vhzprof.vmin = 6553;        
    v->vhzprof.vmax = 31129;        
    v->vhzprof.fl   = 6553;        
    v->vhzprof.fh   = 16384;        
    v->vhzprof.slope= 10243; 

/*-----------------------------------------------------------------------------
Setup Ramp control parameters.
-----------------------------------------------------------------------------*/
    v->rmpc.rmp_dly_max = 40;        
    v->rmpc.rmp_lo_limit = 0x0000;        
    v->rmpc.rmp_hi_limit = 0x7FFF;        

                  
}      /* End: VFMRAS_TI_Init() */
#endif /* (BUILDLEVEL==LEVEL3) */

#if (BUILDLEVEL==LEVEL4)
void VFMRAS_TI_Init(VFMRAS_TI_handle v)
{  
/*------------------------------------------------------------------------------
 Notes: 1.  Attributes are conveniently changed here, but this does
            consume cycles twice, 
            (a) in the 'C' boot-up, and then 
            (b) in the execution of this code. Setting up the needed
                constants the declaration of SVGEN svgen = VALUES, 
                rather than the defaults is clearly more effecient.
                This method is more intended for runtime changes.
    2.  There is also a code-size associated with these changes. 
-----------------------------------------------------------------------------*/

/*------------------------------------------------------------------------------
Configure Attributes for the Space Vector Function Generator
------------------------------------------------------------------------------*/
    v->svgen.freq      = 0x3FFF; 
    v->svgen.freq_max  = 3146;        /* This is based on 15kHz PWM frequency */

/*-----------------------------------------------------------------------------
Setup Volt-Hertz profile parameters.
-----------------------------------------------------------------------------*/
    v->vhzprof.vmin = 6553;        
    v->vhzprof.vmax = 31129;        
    v->vhzprof.fl   = 6553;        
    v->vhzprof.fh   = 16384;        
    v->vhzprof.slope= 10243; 

/*-----------------------------------------------------------------------------
Setup Ramp control parameters.
-----------------------------------------------------------------------------*/
    v->rmpc.rmp_dly_max = 40;        
    v->rmpc.rmp_lo_limit = 0x0000;        
    v->rmpc.rmp_hi_limit = 0x7FFF;     

/*-----------------------------------------------------------------------------
Setup Box-car parameters.
-----------------------------------------------------------------------------*/
    v->bc.bc_scaler = 0x7FFF;        

/*-----------------------------------------------------------------------------
Setup ACI MRAS speed estimator parameters.  (based on 15kHz sampling freq)
-----------------------------------------------------------------------------*/
/* 1-Hp WEG  motor */
   	v->mras.K1 = 13113; 		/* Q10 */
   	v->mras.K2 = 1672;			/* Q15 */  
   	v->mras.K3 = 22811;     	/* Q8 */
   	v->mras.K4 = 41;        	/* Q15 */
   	v->mras.K5 = 32750;     	/* Q15 */
   	v->mras.K6 = 1646;      	/* Q15 */
   	v->mras.K7 = 18;        	/* Q15 */
   	v->mras.base_rpm = 28800;   /* Q3 */
   	v->mras.Kp = 0x0050;        /* Q15 */
   	v->mras.Ki_high = 0x001D;   /* Q31 */
   	v->mras.Ki_low = 0xDEAD;    /* Q31 */   	

   
}      /* End: VFMRAS_TI_Init() */
#endif /* (BUILDLEVEL==LEVEL4) */

#if (BUILDLEVEL==LEVEL5)
void VFMRAS_TI_Init(VFMRAS_TI_handle v)
{  

/*------------------------------------------------------------------------------
 Notes: 1.  Attributes are conveniently changed here, but this does
            consume cycles twice, 
            (a) in the 'C' boot-up, and then 
            (b) in the execution of this code. Setting up the needed
                constants the declaration of SVGEN svgen = VALUES, 
                rather than the defaults is clearly more effecient.
                This method is more intended for runtime changes.
    2.  There is also a code-size associated with these changes. 
-----------------------------------------------------------------------------*/

/*------------------------------------------------------------------------------
Configure Attributes for the Space Vector Function Generator
------------------------------------------------------------------------------*/
    v->svgen.freq      = 0x3FFF; 
    v->svgen.freq_max  = 3146;       /* This is based on 15 kHz PWM frequency */

/*-----------------------------------------------------------------------------
Setup Volt-Hertz profile parameters.
-----------------------------------------------------------------------------*/
    v->vhzprof.vmin = 6553;        
    v->vhzprof.vmax = 31129;        
    v->vhzprof.fl   = 6553;        
    v->vhzprof.fh   = 16384;        
    v->vhzprof.slope= 10243; 

/*-----------------------------------------------------------------------------
Setup Ramp control parameters.
-----------------------------------------------------------------------------*/
    v->rmpc.rmp_dly_max = 40;        
    v->rmpc.rmp_lo_limit = 0x0000;        
    v->rmpc.rmp_hi_limit = 0x7FFF;     

/*-----------------------------------------------------------------------------
Setup Box-car parameters.
-----------------------------------------------------------------------------*/
    v->bc.bc_scaler = 0x7FFF;  

/*-----------------------------------------------------------------------------
Setup ACI MRAS speed estimator parameters.   (based on 15kHz sampling freq)
-----------------------------------------------------------------------------*/
/* 1-Hp WEG  motor */
   	v->mras.K1 = 13113; 		/* Q10 */
   	v->mras.K2 = 1672;			/* Q15 */  
   	v->mras.K3 = 22811;     	/* Q8 */
   	v->mras.K4 = 41;        	/* Q15 */
   	v->mras.K5 = 32750;     	/* Q15 */
   	v->mras.K6 = 1646;      	/* Q15 */
   	v->mras.K7 = 18;        	/* Q15 */
   	v->mras.base_rpm = 28800;   /* Q3 */
   	v->mras.Kp = 0x0050;        /* Q15 */
   	v->mras.Ki_high = 0x001D;   /* Q31 */
   	v->mras.Ki_low = 0xDEAD;    /* Q31 */   	


/*-----------------------------------------------------------------------------
Set up PID Controller parameters.
-----------------------------------------------------------------------------*/
    v->pid.Kp_reg1 = 0x2000;                                                      
    v->pid.Ki_high_reg1 = 0x0010;
    v->pid.Ki_low_reg1 = 0xBEEF;
    v->pid.Kd_reg1 = 0x0000;
    v->pid.pid_out_max = 0x0666;
    v->pid.pid_out_min = 0x0000;
            
}      /* End: VFMRAS_TI_Init() */
#endif /* (BUILDLEVEL==LEVEL5) */

/* ************************************************************************** */
/* ************************************************************************** */
 
#if (BUILDLEVEL==LEVEL1)
void VFMRAS_TI_Run(VFMRAS_TI_handle v)
{

/*-----------------------------------------------------------------------------
Connect freq_testing inputs to the VHZPROFILE 
-----------------------------------------------------------------------------*/
    v->vhzprof.freq = v->freq_testing;  

/*-----------------------------------------------------------------------------
Call the compute function for the VHZPROF
-----------------------------------------------------------------------------*/
    v->vhzprof.calc((void *)&v->vhzprof); 	/* Call VHZPROFILE compute function */

}   /* End: VFMRAS_TI_Run() */
#endif /* (BUILDLEVEL==LEVEL1) */

#if (BUILDLEVEL==LEVEL2)         
void VFMRAS_TI_Run(VFMRAS_TI_handle v)
{  

/*-----------------------------------------------------------------------------
Connect freq_testing to the RAMPCNTL input

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产三级精品三级| 亚洲欧美另类在线| 国产日韩欧美高清在线| 成人白浆超碰人人人人| 久久精品av麻豆的观看方式| 国产欧美日韩精品在线| 欧美一区二区三区免费大片| 99久久精品一区| 国产精品996| 亚洲国产视频一区| 久久理论电影网| 欧美一区二区性放荡片| 欧美一区二区三区在线电影| 国产精品亚洲专一区二区三区| 亚洲精品欧美激情| 精品久久久久一区| 在线观看91av| 国产精品白丝av| 天天亚洲美女在线视频| 韩国理伦片一区二区三区在线播放| 国产精品国产三级国产有无不卡| 国产aⅴ精品一区二区三区色成熟| 亚洲激情第一区| 五月开心婷婷久久| 五月天亚洲精品| 欧美精品色综合| 色哟哟一区二区在线观看| 日韩激情av在线| 亚洲自拍欧美精品| 在线观看视频一区| 国产乱色国产精品免费视频| 久久99精品国产.久久久久久| 色拍拍在线精品视频8848| 色婷婷综合五月| 欧美私人免费视频| 99精品久久久久久| 欧美色网一区二区| 成人污视频在线观看| 久久草av在线| 亚洲成av人**亚洲成av**| 欧美精选午夜久久久乱码6080| 欧美日韩一区视频| 99久久精品国产精品久久| 国产一区视频在线看| 久久99国产精品麻豆| 久久精品国产秦先生| 91丨九色丨国产丨porny| 国产精品99久久久久久宅男| 粉嫩久久99精品久久久久久夜| 久久精品国产精品亚洲精品| 国内一区二区在线| 亚洲高清免费一级二级三级| 一区二区三区免费在线观看| 亚洲欧洲日韩在线| 亚洲免费视频中文字幕| 91视视频在线观看入口直接观看www| 91蜜桃视频在线| 亚洲午夜免费视频| 蜜臀av亚洲一区中文字幕| 国产精品资源在线观看| 成人精品一区二区三区中文字幕| 欧美三级资源在线| 精品国产一区二区在线观看| 欧美精品1区2区3区| 欧美日韩另类国产亚洲欧美一级| 日韩午夜激情电影| 精品少妇一区二区三区在线视频| 日韩情涩欧美日韩视频| 国产午夜一区二区三区| 中文字幕在线观看一区二区| 欧美v国产在线一区二区三区| 欧美激情一区二区三区全黄| 一区二区三区视频在线观看| 日本午夜精品视频在线观看| 精品日韩欧美一区二区| 亚洲婷婷综合色高清在线| 婷婷久久综合九色国产成人| 强制捆绑调教一区二区| 26uuu亚洲| 亚洲激情在线激情| 国产98色在线|日韩| 欧洲国产伦久久久久久久| 99久久婷婷国产| 5566中文字幕一区二区电影| 丁香婷婷综合色啪| 在线播放亚洲一区| 国产精品久久久久久妇女6080| 中文字幕一区二区日韩精品绯色| 国产亚洲一区二区三区在线观看| 国产精品的网站| 国产风韵犹存在线视精品| k8久久久一区二区三区| 欧美亚洲动漫另类| 日本一区二区动态图| 国产一区二区影院| 91在线一区二区| 欧美成人一区二区三区| 日本一区二区电影| 六月丁香婷婷色狠狠久久| 亚洲一区影音先锋| 成人免费福利片| 91最新地址在线播放| 久久久久久久综合日本| 久久先锋影音av鲁色资源| 亚洲色图第一区| 午夜精品在线看| 国产精品主播直播| 中文字幕一区二区不卡| 日本午夜精品视频在线观看| 不卡视频在线观看| 欧美一区二区视频在线观看2020 | 欧美成人官网二区| 亚洲18女电影在线观看| 成人激情免费电影网址| 久久久国产精品麻豆| 久久精品视频免费观看| 一二三区精品福利视频| 91视频在线观看免费| 亚洲午夜在线电影| 欧美最新大片在线看 | 欧美在线观看视频一区二区| 亚洲永久免费视频| 国产精品一二三四区| 亚洲欧美影音先锋| 精品一区二区三区日韩| 欧美韩国日本不卡| 免费观看成人鲁鲁鲁鲁鲁视频| 欧美色视频在线| 亚洲福利视频导航| 56国语精品自产拍在线观看| 日韩久久精品一区| 亚洲国产中文字幕| 欧美精选一区二区| 成人精品电影在线观看| 久久久777精品电影网影网| 欧美日韩一区高清| 日韩高清不卡一区| 一区二区三区四区av| 99精品在线观看视频| 久久精品一区二区| 欧美第一区第二区| 天天射综合影视| 久久久久97国产精华液好用吗| 日韩国产一区二| 欧美一区二区三区四区五区| 成人丝袜视频网| 日本一区二区三区国色天香| 久久久久久电影| 精品在线亚洲视频| 国产欧美精品一区二区三区四区| 精品一区二区三区欧美| 中文在线一区二区| 91精品福利视频| 日韩激情在线观看| 一区二区免费在线播放| 亚洲午夜激情av| 色综合一区二区| 欧美性色综合网| 中文字幕一区二区三区蜜月 | 国产精品你懂的在线| www..com久久爱| 欧美精品久久一区| 精品一区二区三区免费观看| 国产精品乱人伦一区二区| 中文字幕国产一区| 午夜精品免费在线| 精品一区二区三区久久久| 一区二区三区四区精品在线视频| 色诱视频网站一区| 3d动漫精品啪啪一区二区竹菊| 老司机午夜精品99久久| 亚洲丝袜精品丝袜在线| 欧美在线免费观看亚洲| 伊人夜夜躁av伊人久久| 91福利视频在线| 国产精品久久久久久亚洲伦| 一二三四社区欧美黄| 久久久久一区二区三区四区| 欧美这里有精品| 国产乱子伦视频一区二区三区| 激情深爱一区二区| 日韩欧美美女一区二区三区| 337p日本欧洲亚洲大胆精品| 国产风韵犹存在线视精品| 日本成人中文字幕| 精品福利在线导航| 麻豆国产欧美一区二区三区| 亚洲欧洲性图库| 欧美丝袜丝nylons| 成人综合婷婷国产精品久久免费| 日韩专区中文字幕一区二区| 国产精品天天摸av网| 日本电影欧美片| 免费在线看一区| 亚洲免费观看在线观看| 欧美一级高清片| 色素色在线综合| 蜜桃一区二区三区在线| 成人欧美一区二区三区1314| 色94色欧美sute亚洲13|