我在 28027f 低速时hall 启动 很正常,
程序如下
if( EST_getSpeed_krpm(estHandle[HAL_MTR2]) < _IQ(0.1) )
{ if( hallHande[HAL_MTR2]->angle_pu[ hallHande[HAL_MTR2]->State] != _IQ(2.0) ) { angle_pu = hallHande[HAL_MTR2]->angle_pu[ hallHande[HAL_MTR2]->State ];
} }
为啥 在28069m 上就不行了,一启动电机就斗。(只要是hall角度,电机就斗)
两者的区别这这个帖子中讲的很明白了,请参考http://www.deyisupport.com/question_answer/microcontrollers/c2000/f/56/t/44783.aspx
回复 Seven Han:
28069m 让我哭笑不得。 我的产品是hall切换到fast ,在28027f已经成功。我现在同样的方法用在28069m上,只要使用hall角度 ,电机启动时咔咔响,电流很大,已经失控, 即使让速度环输出始终为零, q轴输出始终为零。我在历程 proj-lab11d 上调试。
// get the Iq reference value refValue = gIdq_ref_pu[HAL_MTR2].value[1]; refValue =_IQ(0.0);
这样使用hall角度 电机都咔咔响
回复 user1303469:
我现在都想用28027f来做双电机控制了,就怕 ram 不够,时间等不起啊,
在C:\ti\motorware\motorware_1_01_00_17\docs\labs下的instaspin_labs.pdf 是例程的使用说明
Proj_lab11d is a valid dual motor control project for InstaSPIN-FOC based on the simplified structure of proj_lab11. Labs 6e, 12c, and 13f are InstaSPIN-MOTION projects that build upon the lab 11d code base.
也就是Proj_lab11d是用在F28027f上的。