Jelena Jovanović, Dragan Denić, Uglješa Jovanović, Dragan Živanović

DOI Number
First page
Last page


This paper presents a method for the nonlinearity compensation of an optical rotary encoder. The proposed method is based on the application of 1) a special 4-bit mixed analog-digital circuit used for the generation of a quasi-linear signal, and 2) a two-stage nonlinear ADC which performs linearization and digital conversion of the quasi-linear signal at the same time. The quasi-linear signal is obtained by combining fragments of phase-shifted sinusoidal signals, where each fragment is presented with a 4-bit digital code. In the continuation, the quasi-linear signal is linearized with the two-stage nonlinear ADC of a compact design based on the application of a single flash ADC in both conversion stages. Additionally, the design of the flash ADC is modified so that the number of employed comparators is equal to the resolution of the flash ADC. For instance, by linearizing an optical rotary encoder using the 4-bit mixed analog-digital circuit and the 20-bit two-stage nonlinear ADC containing 10 comparators, the maximal value of the absolute measurement error can be reduced to 3.23·10-5°.


Accuracy, compact design, flash ADC, linearization, mixed analog-digital circuit, optical rotary encoder

Full Text:



J. G. Webster, H. Eren, Measurement, Instrumentation, and Sensors Handbook: Spatial, Mechanical, Thermal, and Radiation Measurement (2nd ed.). CRS Press, Boca Raton, 2014.

L. Iafolla, M. Filipozzi, S. Freund, A. Zam, G. Rauter, P. C. Cattin, "Machine learning-based method for linearization and error compensation of a novel absolute rotary encoder," Measurement, vol. 169, pp. 1–10, 2021. [Online]. Available:

M. Benammar, A. S. P. Gonzales, "Position measurement using sinusoidal encoders and all-analog PLL converter with improved dynamic performance," IEEE Transactions on Industrial Electronics, vol. 63, no. 4, pp. 2414–2423, 2016. [Online]. Available:

M. Benammar, A. S. P. Gonzales, "A novel PLL resolver angle position indicator," IEEE Transactions on Instrumentation and Measurement, vol. 65, no. 1, pp. 123–131, 2016. [Online]. Available:

W. Petchmaneelumka, P. Mano, K. Songsuwankit, V. Riewruja, "High-accuracy resolver-to-linear signal converter," International Journal of Electronics, vol. 105, no. 9, pp. 1520–1534, 2018. [Online]. Available:

M. Benammar, A. Khattab, S. Saleh, F. Bensaali, F. Touati, "A sinusoidal encoder-to-digital converter based on an improved tangent method," IEEE Sensors Journal, vol. 17, no. 16, pp. 5169–5179, 2017. [Online]. Available:

J. Jovanović, D. Denić, U. Jovanović, "An improved linearization circuit used for optical rotary encoders," Measurement Science Review, vol. 17, no. 5, pp. 241–249, 2017. [Online]. Available:

M. Santos, N. Horta, J. Guilherme, "A survey on nonlinear analog-to-digital converters," Integration, the VLSI Journal, vol. 47, no. 1, pp. 12–22, 2014. [Online]. Available:

A. J. Lopez-Martin, M. Zuza, A. Carlosena, "A CMOS A/D converter with piecewise linear characteristic and its application to sensor linearization," Analog Integrated Circuits and Signal Processing, vol. 36, no. 1−2, pp. 39−46, 2003. [Online]. Available:

J. Lukić, D. Živanović, D. Denić, "A compact and cost-effective linearization circuit used for angular position sensors," Facta Universitatis Series: Automatic Control and Robotics, vol. 14, no. 2, pp. 123–134, 2015.

J. Jovanović, D. Denić, "NTC thermistor nonlinearity compensation using Wheatstone bridge and novel dual-stage single-flash piecewise-linear ADC," Metrology and Measurement Systems, vol. 28, no. 3, pp. 523–537, 2021. [Online]. Available:

R. Megha, K.-A. Pradeepkumar, "Implementation of low power flash ADC by reducing comparators," in Proceedings of 2014 International Conference on Communication and Signal Processing, Melmaruvathur, India, pp. 443–447, 2014. [Online]. Available:

J. Jovanović, D. Denić, "Mixed-mode method used for Pt100 static transfer function linearization," Measurement Science Review, vol. 21, no. 5, pp. 142–149, 2021. [Online]. Available:

H. Austerlitz, Data Acquisition Techniques Using PCs (2nd ed.). Academic Press, San Diego, 2003.

D. Živanović, J. Lukić, D. Denić, "A novel linearization method of sin/cos sensor signals used for angular position determination," Journal of Electrical Engineering and Technology, vol. 9, no. 4, pp. 1437−1445, 2014. [Online]. Available:

G. Bucci, M. Faccio, C. Landi, "New ADC with piecewise linear characteristic: case study-implementation of a smart humidity sensor," IEEE Transactions on Instrumentation and Measurement, vol. 49, no. 6, pp. 1154−1166, 2000. [Online]. Available:



  • There are currently no refbacks.

Print ISSN: 1820-6417
Online ISSN: 1820-6425