Hi Felipe,
Thank you for your information. Now, I can run my BLDC motor. But I have the following questions:
Based on commutation table in sample:
const uint16_t bldcCommutationTableComp[16] =
{
0x0440, 0x0040, // [0] - sector 0(Hall Sensor=100)---MASK A2 & B2(Phase C), Swap Phase B
0x0220, 0x0400, // [1] - sector 1(Hall Sensor=110)---MASK A1 & B1(Phase B), Swap Phase C
0x0110, 0x0400, // [2] - sector 2(Hall Sensor=010)---MASK A0 & B0(Phase A), Swap Phase C
0x0440, 0x0004, // [3] - sector 3(Hall Sensor=011)---MASK A2 & B2(Phase C), Swap Phase A
0x0220, 0x0004, // [4] - sector 4(Hall Sensor=001)---MASK A1 & B1(Phase B), Swap Phase A
0x0110, 0x0040, // [5] - sector 5(Hall Sensor=101)---MASK A0 & B0(Phase A), Swap Phase B
0x0000, 0x0440, // [6] - alignment vector (combination of sectors 0 & 1)---No MASK, Swap Phase B&C
0x0770, 0x0000 // [7] - PWM off------MASK A2&A1&A0 & B2&B1&B0(Phase A&B&C), No Swap
};
1) If I want to switch the direction, can I just change the sequence?
2) I need to switch the voltage from + to '-' in order to switch the direction because I saw this in your BLDC controller application?
If I just switch the sequence of commutation table, it won't work? I have to switch voltage?
ex: 0x0440, 0x0040, // [0] - sector 0(Hall Sensor=100)---MASK A2 & B2(Phase C), Swap Phase B---For CW
0x0440, 0x0004, // [0] - sector 0(Hall Sensor=100)---MASK A2 & B2(Phase C), Swap Phase A---For CCW
What is the better way to do the direction switching?
Thanks,
Christie