![Texas TMS320x2823x Reference Manual Download Page 9](http://html.mh-extra.com/html/texas/tms320x2823x/tms320x2823x_reference-manual_1093863009.webp)
T
0
0
1
2
3
4
5
6
7
N−6 N−5 N−4 N−3 N−2 N−1
0
QEPA
QEPB
QEPI
Clockwise shaft rotation/forward movement
Anti-clockwise shaft rotation/reverse movement
0
N−1 N−2 N−3 N−4 N−5 N−6 N−7
6
5
4
3
2
1
0
N−1 N−2
QEPA
QEPB
QEPI
T
0
Legend: N = lines per revolution
T
0
0.25T
0
±
0.1T
0
0.5T
0
±
0.1T
0
T
0
±
0.5T
0
QEPA
QEPB
QEPI
(gated to
A and B)
QEPI
(gated to A)
QEPI
(ungated)
www.ti.com
Introduction
Figure 2. QEP Encoder Output Signal for Forward/Reverse Movement
The encoder wheel typically makes one revolution for every revolution of the motor or the wheel may be at
a geared rotation ratio with respect to the motor. Therefore, the frequency of the digital signal coming from
the QEPA and QEPB outputs varies proportionally with the velocity of the motor. For example, a 2000-line
encoder directly coupled to a motor running at 5000 revolutions per minute (rpm) results in a frequency of
166.6 KHz, so by measuring the frequency of either the QEPA or QEPB output, the processor can
determine the velocity of the motor.
Quadrature encoders from different manufacturers come with two forms of index pulse (gated index pulse
or ungated index pulse) as shown in
. A nonstandard form of index pulse is ungated. In the
ungated configuration, the index edges are not necessarily coincident with A and B signals. The gated
index pulse is aligned to any of the four quadrature edges and width of the index pulse and can be equal
to a quarter, half, or full period of the quadrature signal.
Figure 3. Index Pulse Example
SPRUG05A – August 2008 – Revised December 2008
Enhanced QEP (eQEP) Module
9