Skip to main content
ketchup
Associate III
May 15, 2020
Question

Example for STEVAL-ROBOT-1 (EVALKIT_ROBOT_1_SDK543_Positioning_LL) - two main issues.

  • May 15, 2020
  • 13 replies
  • 5305 views

Hi,

I'm try to use example provided by ST - EVALKIT_ROBOT_1_SDK543_Positioning_LL.

After few little correction the project (i.e. modbus was added to project using absolute path, not relative using project location), example is working, but:

1.

On the start, motor sets 0 position (I'm reading this position using function MC_GetCurrentPosition1()) and motor stays at this position. But if I rotate motor by hand over 20.5 radians, then motor suddenly run in this direction and stops at 40.84 radians. I can do it once more time, in the same direction, and result is that motor stops at 82.03 rad, and so on. When I do the same thing to 0 position direction it returns with the same few steps and returns exactly in 0 rad pos.

2.

The example configuration STEVAL-ROBOT-1 us very low current, something 0.07A.

Do You know, how to fix those issues?

Lukasz Lecki

This topic has been closed for replies.

13 replies

ketchup
ketchupAuthor
Associate III
May 26, 2020

Gigi, what board You propose?

Right now I have also: STEVAL-SPIN3202. Will be better?

Gigi
ST Employee
May 28, 2020

​Sorry for the delay but I thought I had already answerd to this question but I don't see it.

It depends on the maximum peak current that you have to provide to the motor. If you can estimate it starting from the torque request and the datasheet of the motor that you select I can verify if we have some power board that allows it.

The SPIN3202 is a single shunt board and I suggest to not use it for such kind of applications.

Ciao

GIgi

Gigi
ST Employee
May 26, 2020

​Clearly it depends on your application requirements.

I think that more or less the path should be to understand the requirement in terms of torque required by the application

Identification of a motor that can produce that torque in the requested speed ranges

Computation of the required motor phase current (peak value) that is needed to produce the required torque

Identification of the proper board to provide that current

There are a number of boards that should be compatible with the FOC and postion control available in the ST website as reference board... maybe more than the one that I know.

In the selction the main characteristic that you have to verify is the maxiumum allowed current (that tipically is the peak ouput curernt for the motor), but if I can I suggest you. please select a board that has three shunts for the current sensing. The one shunt current sensing is cheaper, but the control is worst. Unfortunately the one you mention has only a single shunt current sensing, so I'm expecting a control that should be more noisy and less accurate respect the one that you are experiencing with the ROBO-KIT.

Let me know your request in terms of motor phase peak current an I can do a fast check to find if we have some compatible board.

  

Ciao

Gigi

Laurent Ca...
Senior III
June 15, 2021

The question has been moved from the "Motor Control Hardware" section to the "STM32 Motor Control" section (the question is about the STM32 MC SDK). 

Best regards