DSP-Solution for High-Resolution Position with Sin/Cos-Encoders
Ling Shen · 2010
This paper offers a solution for obtaining high-resolution position with sin/cos-encoders using the DSP (TMS320F240). This is achieved with a minimum of glue logic and software overhead, since the DSP controller already incorporates an on-chip quadrature encoder pulse (QEP) circuit as well as two analog-to-digital converters (ADCs). The QEP circuit provides a glue less interface to TTL-encoders. The two analog-to-digital converters provide the simultaneous sampling of the two sinusoidal output signals of the sin/cos-encoders. The software package includes all functions required for initialization and position interpolation with sin/cos-encoders. All subroutines are ANSI C-compatible and can be called from any C program. The solution has achieved the expected results.