20.2.2 Hall Sensor Interface

A typical Hall effect sensor used in motor control has three digital outputs: Phase A (QEA), Phase B (QEB) and Phase C (QEC). The Hall effect sensors provide rotor position with a resolution of 60 electrical degrees, or which sector of the rotor is located.

Figure 20-4. Hall Sensor Encoder Interface Signals
Table 20-3. Truth Table for Hall Decoder(1), (2), (3), (4)
Current Hall State (CBA)Previous Hall State (CBA)Current SectorPrevious SectorAction
10010044No count, no direction change
11010064Count down
10110054Count up
other than (110, 101)100other than (6, 5)4Invalid state change, Ignore, No count, no direction change
11011066No count, no direction change
01011026Count down
10011046Count up
other than (010, 100)110other than (2, 4)6Invalid state change, Ignore, No count, no direction change
01001022No count, no direction change
01101032Count down
11001062Count up
other than (011, 110)010other than (3, 6)2Invalid state change, Ignore, No count, no direction change
01101133No count, no direction change
00101113Count down
01001123Count up
other than (001, 010)011other than (1, 2)3Invalid state change, Ignore, No count, no direction change
00100111No count, no direction change
10100151Count down
01100131Count up
other than (101,011)001other than (5, 3)1Invalid state change, Ignore, No count, no direction change
10110155No count, no direction change
10010145Count down
00110115Count up
other than (100, 001)101other than (4, 1)5Invalid state change, Ignore, No count, no direction change
Note:
  1. Position, Velocity and Index Counter counter are not updated for the current Invalid state.
  2. Position, Velocity and Index Counter counter are updated for the current valid state when the previous state is valid.
  3. Position, Velocity and Index Counter counter are not updated of state error, transition error.
  4. Position, Velocity and Index Counter/Timer direction overridden by QEICON.CNTPOL