Hi, I’m using nucleo 64 board(F446RE) with P-NUCLEO-IHM001 board and bldc motor(no name, 14 poles, 12Vdc), encoder is AMT103.
I did rotate the motor using openloop position control of simpleFOC and get encoder data successfully.
But, I can’t run the motor using closed loop position control.
When I run the example code, the motor rotate first time for motor init, and after finish the motor init, motor is hold the position.
The log said that all the init process was success, but no current sense.
Should I need current sensing for rotating with closed loop position control?
On the example(bluepill position control.ino), the line
motor.controller = MotionControlType::velocity;
is right???. The name of example seems like run the motor with position control, so I think that MotionControlType should be angle, not velocity.
now, I’m not home so I can’t write this topic with my code, sorry.
Oh. the simpleFOC library is really really grate!!!