Skip to main content
Associate III
August 27, 2024
Solved

Lecture registre HALL_EL_ANGLE ou HALL_SPEED

  • August 27, 2024
  • 4 replies
  • 1564 views

Bonjour,

    J'ai configurer le contrôle moteur avec un capteur effet hall en auxiliaire.

le moteur tourne mais les valeur des registre ne change pas. elle prennent une valeur différente a chaque démarrage mais ensuite ne change jamais.

 

Comment vérifier ces paramétrages ?

Pourquoi les valeur de registre ne change pas ?

J'ai vérifier tout le câblage, il est bon.

J'utilise une nucléo-G431RB et X-NUCLEO-IHM08M1

Merci pour votre aide

Christophe65_1-1724751831609.png

 

 

 

    Best answer by GMA

    Hello @Christophe65,

    As Hall Sensor is set Auxiliary, motor will spin even if Hall Sensor is not functional.
    Could you please check with a scope HALL sensor signals? 
    On the other hand, you can also display these parameters with high-speed plotting as described here.

    4 replies

    GMA
    Technical Moderator
    August 27, 2024

    Hello @Christophe65 and welcome to ST Community,

    As mentioned in st-community terms and conditions: "The language of the Community is English".
    What registers are you talking about? And what tool do you use to visualize your registers (debugger, motor pilot, ...)?

    If you agree with the answer, please accept it by clicking on 'Accept as solution'.Best regards.GMA
    Associate III
    August 28, 2024

    Hello,

    I understand, and I will do my best to speak English on this forum.

    The registers I want to read are those related to the Hall effect sensor with the ST Motor Pilot V1.2.9 - MC_FOC_SDK:

    Christophe65_0-1724831658858.png

    I am using the Motor Pilot to study motor control and plan to use the SDK to control a brushless motor with a Hall effect sensor to operate an industrial door.

    The value of this register changes every time the motor starts and then remains constant.

    Thank you for your help.

    GMA
    GMABest answer
    Technical Moderator
    August 29, 2024

    Hello @Christophe65,

    As Hall Sensor is set Auxiliary, motor will spin even if Hall Sensor is not functional.
    Could you please check with a scope HALL sensor signals? 
    On the other hand, you can also display these parameters with high-speed plotting as described here.

    If you agree with the answer, please accept it by clicking on 'Accept as solution'.Best regards.GMA
    Associate III
    September 4, 2024

    Hello,

     

    My problem is solved. After analyzing the signals, I realized that I had forgotten to add Pull-Up resistors on the outputs of the HALL sensor."

     

    Thank you.