Hello everbody,
I am using the KMS v1.2 with a FRDM-KV31 for a current control project. After the KMS v1.2 was released I started to use the sensorless control with hall startup and indeed the startup torque control is much better. However, it does not reach the rated speed of 1050 rom and its maximum is around 480 rpm. I have tested another project without the hall startup and it does reach the rated speed with the same current requested.
What is a possible workaroud for this issue?
Thanks in advance
已解决! 转到解答。
Hi, It is in fact in your reply! I didn't see it when you replied.
I have tried the drv.c and it reaches the nominal speed, but control doesn't look like a startup hall, it is much lower than the other one. Any hint why that happens?
Pedro,
No worries. In the version that I posted, it now does the startup similar to sensorless velocity. In that it will track the speed reference until it reaches the crossover speed ("Speed Threshold" in GUI), once the speed reference reaches the crossover speed it will transition into FOC and will run in torque mode as you expect. If you want to speed up faster before getting into FOC, you can increase the acceleration and jerk of the speed profile before the transition into FOC.
The drv.c file I provided is for the SNLESSHALL reference project. There were some defects in that file for running the SNLESSHALL project in torque control mode.
In the SNLESSHALL project, the goal is to start the motor using the Hall sensors but then transition into FOC. It isn't intended to use the Halls for the complete speed range.
Hi Adam,
one thing I would like to point it out is that using this drv.c I am not able to do the parameters setting in KMS. It cannot even measure resistance and inductance. In fact in torque control it reaches rated speed.
Could you send me an updated file?