Velocity calculation equation:
v(k)
+
x(k)
*
x(k
*
1)
T
+
D
X
T
or
(4)
where:
• v(k) = Velocity at time instant k
• x(k) = Position at time instant k
• x(k-1) = Position at time instant k-1
• T = Fixed unit time or inverse of velocity calculation rate
• ΔX = Incremental position movement in unit time
• X = Fixed unit position
• ΔT = Incremental time elapsed for unit position movement
• t(k) = Time instant "k"
• t(k-1) = Time instant "k-1"
Unit time (T) and unit period (X) are configured using the QUPRD and QCAPCTL[UPPS] registers. Incremental
position output and incremental time output is available in the QPOSLAT and QCPRDLAT registers.
Parameter
Relevant Register to Configure or Read the Information
T
Unit Period Register (QUPRD)
ΔX
Incremental Position = QPOSLAT(k) - QPOSLAT(K-1)
X
Fixed unit position defined by sensor resolution and ZCAPCTL[UPPS] bits
ΔT
Capture Period Latch (QCPRDLAT)
Enhanced Quadrature Encoder Pulse (eQEP)
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
TMS320x2806x Microcontrollers
481
Copyright © 2022 Texas Instruments Incorporated
Summary of Contents for TMS320 2806 Series
Page 2: ......