Slide 1
Slide 2
Slide 3
Slide 4
Slide 5
Slide 6
Slide 7
Slide 8
Slide 9
Slide 10
Slide 11
Slide 12
Slide 13
Slide 14
Slide 15
Slide 16
Slide 17
Slide 18
Slide 19
Slide 20
Slide 21
Slide 22
Slide 23
Slide 24
Slide 25
Slide 26
Slide 27
Slide 28
Slide 29
Slide 30
Slide 31
Slide 32
Slide 33
Slide 34
Slide 35
Slide 36
Slide 37
Slide 38
Slide 39
Slide 40
Slide 41
Slide 42
Slide 43
Slide 44
Slide 45
Slide 46
Slide 47
Slide 48
Slide 49
Slide 50
Slide 51
Slide 52
Slide 53
Slide 54
Slide 55
Slide 56
Slide 57
Slide 58
Product List
Complementing the motor control PWMs is the Quadrature Encoder Interface (QEI) block. The QEI module decodes the digital pulses from a quadrature encoder wheel to integrate position over time and determine direction of rotation. The digital pulses from an external quadrature encoder wheel can be decoded to integrate position over time and determine direction of rotation. By monitoring both the number of pulses and the relative phase of the two signals, the position, direction of rotation, and velocity can be tracked. The Index signal (3rd signal) can be used to reset the position counter. In addition, it can capture the velocity of the encoder wheel. The QEI tracks encoder position and increments/ decrements depending on direction with three position compare registers with interrupts and is programmable for 2X or 4X position counting. By using 32-bit registers for position and velocity, the QEI can be used for velocity capture using a built-in timer with a compare function and interrupt. The QEI first received three input signals: phase A (PHA), phase B (PHB), and index. By monitoring the phase of the first two signals, the QEI can detect if the encoder wheel is moving in a forward or backwards direction. The index signal provides the absolute position of the wheel.
PTM Published on: 2011-11-02