2009-01-29 01:18 AM
2011-05-17 01:15 AM
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 you2011-05-17 01:15 AM
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