2021-04-26 10:51 PM
Hi, I am new to the Motion Control system.
and I have SPIN-3201 with a BLDC motor.
It is hard to apply ST Motor Control Workbench 5.4.6.
because the version of STM32CubeIDE and some Setting of the Project(error of FOC duration and Start-up failure)
anyway, my motor can run with Speed Control now.
Now, I want to use Position Control Mode and there is good material "AN5464".
but in the document "Quadrature encoder" is mentioned.
As the title, Can I use Position control with Hall sensor with SPIN-3201?
Best Regards
LYS
Solved! Go to Solution.
2021-04-29 01:20 AM
Hi @LYS,
the Workbench is right :grinning_face_with_sweat:
I have describe the setting for the "Speed feedback" with Hall sensors (I edited the previous post to avoid misunderstanding).
The answer is: you can use the Position Control Mode only with Quadrature Encoder sensor.
You cannot use the Hall sensors due to low positioning resolution.
2021-04-27 01:18 AM
Hi @LYS,
yes it is possible to use the STEVAL-SPIN3201 with Hall sensors for the position speed feedback.
You have to set the correct Sensor selection in the “Speed Sensing�? window:
and then in the "Digital I/O" → Hall sensor interface set the proper Pin Map:
For more details I suggest to refer to the dedicated user manual UM2168 Using STM32 motor control workbench with STSPIN32F0 and STSPIN32F0A
Concerning to the hardware setting you can refer to the UM2154
Let me know if my reply fully answered your question, if so please "Select as Best" button.
[Edited: refer to my next post]
2021-04-27 06:43 PM
Thank you for the reply.
Your Information is good for me but there is one problem.
Here is My setting
but an Error message is displayed.
" Position Control need to have the 'main speed sensor' set to 'Quadrature Encoder sensor' "
Is there more setting am I have to do?
Best Regards
LYS
2021-04-29 01:20 AM
Hi @LYS,
the Workbench is right :grinning_face_with_sweat:
I have describe the setting for the "Speed feedback" with Hall sensors (I edited the previous post to avoid misunderstanding).
The answer is: you can use the Position Control Mode only with Quadrature Encoder sensor.
You cannot use the Hall sensors due to low positioning resolution.
2021-06-01 02:10 AM
The question has been moved from the "Motor Control Hardware" section to the "STM32 Motor Control" section (the question is about the STM32 SDK).
Best regards
Laurent Ca...