cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use Position control with Hall Sensor with SPIN-3201?

LYS
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions

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.

If you feel a post has answered your question, please click "Accept as Solution"

View solution in original post

4 REPLIES 4
Cristiana SCARAMEL
ST Employee

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:

0693W00000AMbpyQAD.pngand then in the "Digital I/O" → Hall sensor interface set the proper Pin Map:

0693W00000AMbtbQAD.pngFor 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]

If you feel a post has answered your question, please click "Accept as Solution"

Hi, Cristiana SCARAMEL

Thank you for the reply.

Your Information is good for me but there is one problem.

Here is My setting

0693W00000AMiAdQAL.jpg0693W00000AMiAsQAL.jpg0693W00000AMiAxQAL.jpg 

but an Error message is displayed.

" Position Control need to have the 'main speed sensor' set to 'Quadrature Encoder sensor' "

0693W00000AMiBlQAL.jpg 

Is there more setting am I have to do?

Best Regards

LYS

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.

If you feel a post has answered your question, please click "Accept as Solution"
Laurent Ca...
Lead II

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...