cancel
Showing results for 
Search instead for 
Did you mean: 

stm32 with hall

jgil
Associate II
Posted on January 29, 2009 at 10:18

stm32 with hall

2 REPLIES 2
jgil
Associate II
Posted on May 17, 2011 at 10:15

Hello.

Good days.

I am trying to start a control with stm32 and one brushless dc motor. It is the first steps to make it turn with sensors hall.

But the sequence of hall 120 degrees (STM32F103xx PMSM FOC software library UM.pdf pag 37) does not equal with the correct one for a control with st7 (AN1947 pag12). Why?

Would this sequence be the same if the motor has 1 or 2 couples of poles?

----------------------------------------------------------------

STM32F103xx PMSM FOC software library UM.pdf

''Measure the delay in electrical degrees between the maximum of the B-emf induced on

Phase A and the first rising edge of signal H1. Enter it in the MC_hall_param.h header

file (HALL_PHASE_SHIFT). For your convenience, an example with

HALL_PHASE_SHIFT equal to –90 °C is illustrated in Figure 31.''

To do this measure would there be necessary to make turn the motor manually of external form?

Thank you

stello
Associate II
Posted on May 17, 2011 at 10:15

Hello ihsguru,

about the Hall sensors sequence, I believe it's just a matter of conventions. In ST7MC AN, the positive sequence was for instance with a motor running clockwise while in STM32 the opposite direction has been considered positive.

The sequence does not depends on the number of poles (you can think Hall sensors provide you with the electrical angle information rather than with the mechanical one).

Finally, yes, if possible you need to somehow turn the rotor.

Hasta luego,

Billino