This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMDSHVMTRINSPIN:关于套件的低速配置以及0速的相关问题。

Part Number: TMDSHVMTRINSPIN
Other Parts Discussed in Thread: MOTORWARE

Tool/software:

您好,TI 的工程师们

我是一个新手,目前正在使用TMDSHVMTRINSPIN F28069来控制永磁同步电机。目前我用的是lab05c,我目前有几个问题想请教一下:

1.低速问题:我的电机可以实现额定3000rpm的适配器,目前我在ccs中测试50rpm,100rpm,500rpm和1000rpm效果很好。但低于50rpm就会出现给不上的情况。我在表达式窗口中在gMotorVars.SpeedRef_krpm(IQ24)给0,他没有变化,是默认100rpm。但是我给10的情况下,电机就会出现一抖一抖的情况,他参考速度会瞬间跳变到100rpm,然后有瞬间跳回去。请问这个默认值100rpm(1677721)是在哪里设置的?如果让电机停止的的话可以给0速实现吗?低速情况下出现这种情况是什么原因呢?

2.我想实现电机抱死功能,可以在代码来施加固定的电流来锁死转子吗?

3,我还想获得底部的位置信息,我目前利用EST_getSpeed_krpm来获得当前速度,之后算成角速度,最后得到角地质。在角速度得到角地质的过程中需要获得时间才能得到角地质。为了保证换算代码的角脉和实际电机运转的角脉保持一致,请问这个时间设定呢?

谢谢工程师们,祝你们生活顺利,一帆风顺

此致

  • Hi,

    Please post the question in English, or report on E2E China forum.

    Thanks,

    Ben Collier

  • Hello, TI engineers

    I am a novice and am currently using TMDSHVMTRINSPIN F28069 to control a permanent magnet synchronous motor. At present, I am using lab05c, and I would like to ask some questions:

    1. Low speed problem: My motor can achieve adapters rated at 3000rpm, currently I test 50rpm, 100rpm, 500rpm and 1000rpm in ccs with good results. However, below 50rpm, it will not give the situation. I gave 0 in the expression window in gMotorVars.SpeedRef_krpm(IQ24), he did not change, is the default 100rpm. However, when I give 10, the motor will shake and shake, and his reference speed will instantly jump to 100rpm, and then jump back. Where is the default value 100rpm (1677721) set? If the motor is stopped, can you give 0 speed? Why does this happen at low speeds?

    2. I want to realize the motor locking function, can I apply a fixed current in the code to lock the rotor?

    3, I also want to get the position information of the bottom, I currently use EST_getSpeed_krpm to get the current velocity, then calculate the angular velocity, and finally get the angular geology. In the process of obtaining angular geology from angular velocity, it is necessary to obtain time to obtain angular geology. In order to ensure that the angular pulse of the conversion code is consistent with the angular pulse of the actual motor operation, how to set this time?

    Thank you engineers, I wish you a smooth and smooth life

    With regards

    liu

  • Hi, 

    We are routing you to the correct engineer. 

  • Please take a look at the lab user's guide as below, to make sure that the motor is identified correctly and the encoder can support low speed as well. You can try to tune the gains of the regulators to get a better performance.

    Please take a look at guides in the folders below in motorWare, and follow the guides to set up the kits and run the lab.

    C:\ti\motorware\motorware_1_01_00_18\docs\labs\instaspin_labs.pdf

    C:\ti\motorware\motorware_1_01_00_18\docs\boards\kits\docs\readmefirst_instaspin_launchboost.pdf

    You may take a look at Chapter 11 Tuning Regulators of the InstaSPIN-FOC and InstaSPIN-MOTION User's Guide for the current PI regulator. The speed PI regulator should be not as the description in this guide, you have to refer to the codes in the InstaSPIN lab project.

    https://www.ti.com/lit/spruhj1

     

     

    You may take a look at "Chapter 6 Motor Identification and State Diagrams" of  InstaSPIN-FOC and InstaSPIN-MOTION User's Guide ( https://www.ti.com/lit/spruhj1)