cancel
Showing results for 
Search instead for 
Did you mean: 

Lecture registre HALL_EL_ANGLE ou HALL_SPEED

Christophe65
Associate II

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

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
GMA
ST Employee

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

View solution in original post

4 REPLIES 4
GMA
ST Employee

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
Christophe65
Associate II

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
ST Employee

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
Christophe65
Associate II

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.