This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Trapezoidal Control of BLDC Motors Using Hall Effect Sensors

hi 

i followed the example provided in SPRABQ6 document.

the motor control algorithm uses the MOD6 CNT  - dosent it means that the motor can be controlled to move only one direction?

i would be grateful for advise

best regards

MARK

  • MOD6 CNT will gives 0,1,2,3,4,5 it does not mean it will rotate clockwise only.based on direction bit it will rotate you should add direction bit to mod6 cnt data. refer mc33035 you should understood trapezoidal commutation easily
  • hi Raghu

    thank you very much for your reply!
    please correct me if i am wrong , but the way TI implements MOD CNT is only one direction counter 0 1 2 3 4 5 0 1... so how can it reverse the direction ?
    as i understand it : for every hall effect state there is 2 pwm options , one for reverse and one for forward direction , but if you reverse the direction the counter must count down.
  • Hi mark
    Am not using this example code but i have done trapezoidal control of motors using hall sensor . we are reading hall data between 1 to 6 only but based on input command we are adding direction bit to the hall data
    for example motor in reverse direction hall data is 3 we added 1 to the 011 then hall data become B(1011)
    so we are taking MC33035 datasheet as reference and pwm switching can be written according to the mc33035 datasheet i.e BLDC motor controller.
    please refer the datasheet it may help you
  • thanks

    i will take a look!