Novel Absolute Rotary Position Sensor Based on Combination of Gray Scale Pattern Disc

DOI: https://doi.org/10.21203/rs.3.rs-1026549/v1

Abstract

Absolute rotary angular /position sensors play an important role in various applications and rapid development of new technologies requires further accurate measurement and control. In this paper, a novel, very simple, low-cost and high accurate absolute rotary angular/ position sensor is presented. The sensor operation is based on the combination of circular gradient gray scale and gray code pattern. A simple experiment is done in order to demonstrate proof of concept of proposed sensor. The experimental results show that the proposed absolute rotary angular/position sensor has excellent linear characteristics with accuracy below ±1° and resolution of 0.1° within the full measurement range from 0° to 360°. The proposed idea and experimental results can be helpful to design absolute rotary angular/position sensor to improve performance of it.

1. Introduction

Nowadays, rotary angular /position sensors play an important role in various applications such as automotive, robotics, automation for precise position control and etc. [1]. The rapid development of new industrial technologies requires further accurate position measurement and control for machining operations. Angular/ position sensors can solve such problems, providing high measuring accuracy, speed and reliability with various options of mathematical and logical signal processing [2]. Implementation of sensor with high accuracy, resolution and reliability for lower cost is challenge for researchers. Absolute rotary position sensors can be classified according to the physical principle used for the measurement, namely resistive, capacitive, magnetic and optical ones. The resistive rotary position sensor needs physical contact between the stator and the rotor, therefore, which results in contact noise, abrasion and instability [3].

Capacitive rotary position sensors are sensitive to external electric fields, contamination and variations in space between the electrodes and require complex signal processing circuit for reducing noise. Various design of capacitive rotary position sensor has been reported to simplify its construction and providing high accuracy. A low-cost smart capacitive absolute with high resolution is presented [4] and capacitive rotary sensor that can measure full rotor position i.e. 0°–360° is developed [5, 6]. A contactless capacitive angular/position sensor composed of the capacitive sensing element, a signal processor and microcontroller with resolution better than1 arcsec over range of 360°is presented [7]. Magnetic field based rotary sensors are sensitive to external magnetic fields, moreover, they tend to be rather complex or to impose special structural requirements [8]. An improved method for angular displacement estimation based on Hall-effect sensors for driving a brushless permanent-magnet motor is reported [9]. A novel contactless sensing principle based on the relative rotation of a small diametrically magnetized cylindrical or annular magnet and one hall-effect sensor is reported [10]. A magnetic rotary sensor with a resolution more than 4000 pulses per revolution in a magnetic drum with a diameter of 35mm is presented [11]. Optical rotary sensors, on the other hand, have become recognized as indispensable displacement/position sensor due to its high accuracy, light weight, small size and excellent immunity to electromagnetic interference. Optical rotary sensor classically have a binary code disc based on the gray code in which there is only a single bit changing during a transition from one position to the next to minimize readout errors due to non-ideal transitions. Many improvements of the gray code based pattern is reported [1215]. Digital absolute rotary sensors which are not only accurate, light, small, and insensitive to EM interference but also characterized by their high resolution are reported, however, in these sensors, the encoder design is complex and contains numerous parts such as several light sources or an array of photo-detectors in the detection scheme [1620]. Image rotary position encoder needs image sensor and image processing system to decode the response of the sensor from the coded information [2123]. Several analog optical rotary sensors with high resolution and accuracy are reported. A novel low cost design of sensor based on simple gray scale transformation of RGB colored hue wheel and decoder unit consists of three optical reflection type color sensors is presented [24]. An optical, analog, self-referencing, ratio-metric, smart rotary position sensor is proposed for avionic applications [25]. In this sensor, the position of rotation is determined by the ratio of the transmitted and reflected light powers. A new absolute rotary sensor is studied, which acts as a positional pointer over the array of photo-detectors based circular track [26]. In the sensor, disc have transparent and semi-transparent segment and by which light can go through with two different intensity levels.

In this paper, a novel, very simple and low-cost absolute rotary position sensor is presented. The disc assembly consists of a light source, photo-detectors and novel pattern disc. The disc is designed by combination of transmission type based on circular gradient gray scale and typical gray code. A very simple experiment is done to evaluate the performance of proposed sensor. Absolute rotary angular/ position is determined by simple mathematical transformations of analog and digital signal from photo-detectors. The sensor provides high resolution, accuracy and linearity within the full operating range of 0°-360°.(절소개)

2. Principle And Implementation Of Disc

The principle of this paper is based on sensitive characteristic of photo-detector to intensity of incident light. In a general, photo-detector such as photo diode and/or photo transistor is sensitive to intensity of radiant light from light source.

The radiant intensity of light source can be changed by regulation of current which flow through it and /or opacity (photo- resistant) of mask which is placed between the photo-detector and light source. From this, rotary position can be measured utilizing a disc which has variant opacity values against rotary angular positions under constant radiant intensity. Fig. 1 shows a linear gradient gray scale pattern mask and a simple measurement circuit for experiment. Silicon infrared light emitting diode QEE122 is used as the light source and silicon infrared phototransistor QSE113 is used as the photo-detector to minimize influence of ambient light for the measurement.

The radiant intensity of photo-diode is correlated with the forward current (If) of it. Therefore, the radiant intensity can be changed by regulating of the forward current.

The measurement is done in six stages with different forward current of 2, 2.5, 3, 4, 5, and 10mA. In Fig. 2, the measurement results of output voltage for different forward current (radiant intensity) of light source are shown.

(a: If=2mA, b: If=2.5mA, c: If=3mA, d: If=4mA, e: If=5mA, f: If=10mA)

As shown in Fig. 2, the output voltage curve versus opacity of mask is nonlinear in full measurement range (opacity of 0-100%). Saturation regions exist in the voltage–opacity characteristics up opacity of 90% and below measured voltage (collector emitter voltage) of 0.5V. However, the characteristics in Fig. 2 have linear regions with different range. Therefore, linear output voltage characteristic can be obtained by proper regulation of opacity of mask and radiant intensity of light source. Fig. 3 shows output voltage measured versus opacity range of 35~85% in forward current of 4mA. As shown in Fig. 3, the characteristic curve shows good linearity. By introducing this for disc pattern, linear analog signal can be achieved for rotary angular position. In this case, the sensor’s characteristics of resolution, accuracy and stability are relative to uniformity of gradient gray scale pattern, stability of measurement circuit and number of bits of analog to digital (A/D) converter. In Fig. 3, the output voltage variation is in range around 0.5-4.5V and it is enough for understandable resolution of the sensor without amplification. Also, the measurement circuit is very simple and so it is stable.

On the other hand, resolution of rotary position sensor with binary code pattern disc such as gray code is generally relative to the number of traces on the disc. And, it is necessary to increase the number of the traces (number of photo-detectors) to increase the resolution of the sensor.

From this, high resolution and linear characteristic can be obtained by combining small number of traces gray code with gray scale and its resolution is increased as 2n (n is number of gray code traces) times as the single gray scale pattern disc. Also, the accuracy of it can be increased. Adobe Photoshop software is utilized to design gray scale pattern (Fig. 4).The gray scale pattern is simply conducted by utilizing the software but the most important key is the uniformity in each gradient gray scale partitions on disc. The printing of gray scale pattern is well done by using film printer Premmiter-102. As shown in Fig. 5, the outermost trace of the disc (b, c and d) is designed as reflected gray scale pattern partitions divided by binary code pattern to minimize readout errors due to non-ideal transitions of analog signal.

The diameter of disc is 40mm and the width of trace is sized of 3mm considering of geometrical dimension of photo-detector. In Fig. 6, photograph of novel pattern disc is shown.

3. Experiment And Discussion

Figure 7 shows the graphical setup of the proposed absolute rotary position sensor for experiment.

The proposed sensor is composed of three parts: disc assembly, signal processing circuit and a PC based analyzing software. The disc assembly consists of a light source, photo-detectors and disc. The disc is placed in between of the light source photo-detectors. Silicon infrared phototransistor QSE113 and silicon infrared light emitting diode QEE122 are used for the light source and photo-detector, which are represented in section 2, respectively. Wavelength of the light source is 880nm and the forward current of it is 4mA. The photo-detectors are connected with the signal processing circuit to convert their signals into binary and analog. Subsequently, the analog signal is led to the 10 bit analog to digital (A/D) converter embedded in Pic16f873a microprocessor and the binary and A/D conversion results are transferred via serial communication to PC for further process. Calibration is done in order to measure and adjust the response of the proposed rotary position sensor. First, normalization of the opacity range (35% ~ 85%) of gray scale disc is done in order to simplify calculation of position for the proposed sensor. Next, transfer characteristic is constructed using these two data of measured voltage and normalized opacity in order to get opacity (position) calculation versus measured voltage (Fig. 8).

In Fig. 8, the x axis is for measured output voltage from photo-detector and the y axis is for normalized opacity. As shown in Fig. 8, the transfer characteristic is linear function and not polynomial. Therefore, the theoretical resolution of proposed rotary position sensor can be calculated by:

$$R=\frac{360^\circ }{{2}^{n}\times 1023}\times \frac{{V}_{max}-{V}_{min}}{{V}_{ref}}$$
1

In Eq. (1), n is number of binary code traces, Vmax and Vmin are maximum and minimum voltages in measured data and Vref is reference voltage of A/D converter.

From measured data in Fig. 3 and Eq. (1), therefore, calculated resolution of proposed sensors are 0.26°, 0.13°, 0.07° and 0.03° for four discs in Fig. 5, respectively.

(a: single, b: one reflected-two region, c: two reflected-four region, d: three reflected-eight region)

Measurement results of output voltage for analog signal in different gray scale pattern disc (single gray scale partition, two reflected gray scale partitions, four reflected gray scale partitions and eight reflected gray scale partitions) are shown in Fig. 10.

In test of proposed rotary position sensors, the disc is rotated manually to simplify the replacement of it. Measurements are performed in step of 15° for one full revolution of the disc. In Fig. 10, the characteristics of the proposed absolute rotary position sensors with different patterned disc are shown. In Fig. 10, the calculated positions are given after normalization and compensation using the transfer characteristic presented in previous section. The characteristics of the proposed rotary position sensors are drawn by using binary and normalized and compensated analog signals using the equation in Fig. 3. As shown in Fig. 10, characteristic curves show good linearity for the entire measuring range (0–360°). Offset of the proposed rotary position sensor is less than 0.5°. Fig. 11 presents the measurement error of the proposed rotary position sensors with different disc. As well as the characteristic of the proposed sensors, the measurement error is also recorded in step of 15° in the full operating range (0°–360°).

The measurement errors exist within ±2.2°, 1.5°, 0.9° and 0.8° for four designed disc, respectively. Furthermore, the measurement errors of c) and d) in Fig. 9 are even less than ±1° with a very simple experiment setup given in this study. Also, only opacity range of 35%-85% and constant radiant intensity (forward current of 4mA) is considered in this experiment.

It is supposed that even less error can be achieved by more precise device fabrication for this application. Only, the main purpose of this work is to give a proof of concept of the rotary position sensor.

In Fig. 12, variation of maximum and average rotary position error of the propose sensors with different number of traces pattern disc. Fig. 12 shows that the increase of number of traces results in the decrease of error (maximum and average). However, it is estimated that there is no more decrease of error for increase of number of traces on disc.

For evaluating the precision of the sensor, repeatability/stability testing is performed. Fig. 13 shows the measurement repeatability/stability of the proposed rotary position sensor with 3- binary traces, gray scale trace pattern disc. The repeatability/stability is recorded during one hour captured 3 times per minute (every 20s). As shown in Fig. 13, excellent repeatability/stability is achieved with maximum characteristic drift around of ±0.2°. Operating speed of the proposed sensor (in terms of rpm) was not tested, since the main purpose of this paper is to demonstrate the idea for absolute rotary position measurement.

4. Conclusion

In this paper, very simple, low cost and high precise absolute rotary angular/position sensor is designed, implemented and tested. The operation of the proposed sensor is based on the combination of circular gradient gray scale and binary code (gray code) pattern. In this work, very simple experimental setup in order to demonstrate a proof of concept of the rotary position sensor is presented. It is supposed that even better performance can be accomplished with more precise device manufacturing. The proposed prototype manufacturing cost has been determined even less than $10 (for experiment only). Moreover, performance parameter of the proposed rotary sensor exhibits good linearity, repeatability/stability of ±0.2°, accuracy of ±1° and resolution below 0.1° within its full operating range from 0° to 360°. The proposed disc assembly and overall results can be helpful to design absolute rotary angular/position sensor for performance improvement of it.

앞으로 저자들은 ….

Declarations

Acknowledgements

The authors are thankful to Semiconductor Institute, Kim Chaek University of Technology for providing the facilities to carry out this research work.

References

[1] W. J. Fleming, “Overview of automotive sensors” IEEE Sens. J. 1 (4) (2001) 296-308

[2] O.U. Lashmanov, A.S. Vasilev, A.V. Vasileva, A.G. Anisimov, V.V. Korotaev, “High precision absolute linear encoder based on a standard calibrated scale”  Measurement (2018), doi: https://doi.org/10.1016/j.measurement.2018.03.071

[3] F. J. Oliver, “Practical Instrumentation Transducers”, Hayden, New York, 1971, pp. 88-89

[4] G.W. de Jong, G.C.M. Meijer, K. van der Lingen, J.W. Spronck, A.M.M. Aalsma, D.A.J.M. Bertels, “A smart capacitive absolute angular-position sensor” Sens. Actuators A Phys. 42 (1994) 212-216

[5] D. Zheng, S. Zhang, S. Wang, C. Hu, X. Zhao, “A capacitive rotary encoder based on quadrature modulation and demodulation” IEEE Trans. Instrum. Meas. 64(1) (2015) 143-153

[6] Nikhil Gaurav, Sagarika Pal, “Design, Development and testing of a semicircular type capacitive angular position sensor” Sens. Transducers J. 129 (June (6)) (2011) 16-23

[7] M. Gasulla, X. Li, G.C.M. Meijer, L. Van Der Ham, J.W. Spronck, “A contactless capacitive angular-position sensor” IEEE Sens. J. 3 (2003) 607–614

[8]T. Reininger, F. Welker, M. von Zeppelin, “Sensors in position control applications for industrial automation” Sensors and Actuators A: Physical 129 (2006)270–274

[9] Y. - P. Yang, Y. - Y. Ting, “Improved angular displacement estimation based on hall- effect sensors for driving a brushless permanent-magnet motor” IEEE Trans. Ind. Electron. 61 (2014) 504–511

[10] M. Fontana, F. Salsedo, M. Bergamasco, “Novel magnetic sensing approach with improved linearity” Sensors (Basel) 13 (2013) 7618–7632

[11] Y. Kikuchi, F. Nakamura, H. Wakiwaka, H. Yamada, “Index phase output characteristics of magnetic rotary encoder using a magneto-resistive element” IEEE Trans. Magn. 33 (1997) 3370–3372

[12] W. Qiu-Hua, W. Yuan-Yuan, S. Ying, and Y. Shou-Wang, “A novel miniature absolute metal rotary encoder based on single-track periodic Gray code” inProc. 2nd Int. Conf. Instrum., Meas., Comput., Commun. Control (IMCCC), 2012, pp. 399–402.

[13] M. Schwartz and T. Etzion, “The structure of single-track Gray codes” IEEE Trans. Inf. Theory, vol. 45, no. 7, pp. 2383–2396, Nov. 1999.

[14] F. Zhang and H. Zhu, “Single-track Gray codes with non-k-spaced heads”, in Proc. IEEE Int. Symp. Inf. Theory (ISIT), Jul. 2013, pp. 311–315.

[15] F. Zhang, H. Zhu, Y. Li, and C. Qiu, “Upper bound of single-track Gray codes and the combined coding method of period 2n” in Proc. 8th Int. Forum Strategic Technol. (IFOST), 2013, pp. 405–409.

[16] V. Liberali, F. Cherchi, L. Disingrini, M. Gottardi, S. Gregori, and G. Torelli, “A digital self-calibration circuit for absolute optical rotary encoder microsystems”, IEEE Trans. Instrum. Meas., vol. 52, no. 1, Feb. 2003, pp. 149–157

[17] S. Nagao, F. Oohira, M. Hosogi, and G. Hashiguchi, “Rotary comb drive actuator with an optical fiber encoder” inProc. IEEE/LEOS Int. Conf. Opt. MEMS Appl. Conf., Aug. 2006, pp. 98–99.

[18] K. Engelhardt and P. Seitz, “High-resolution optical position encoder with large mounting tolerances ” Appl. Opt., vol. 36, no. 13, pp. 2912–2916, May 1997.

[19] T. Dziwinski, “A novel approach of an absolute encoder coding pattern ” IEEE Sensors J., vol. 15, no. 1, Jan. 2015, pp. 397–401

[20] T. Kojima, Y. Kikuchi, S. Seki, and H. Wakiwaka, “Study on high accuracy optical encoder with 30 bits ” inProc. 8th IEEE Int. Workshop Adv. Motion Control (AMC), Mar. 2004, pp. 493–498

[21] Y. Sugiyama et al., “A 3.2 kHz, 14-bit optical absolute rotary encoder with a CMOS profile sensor ” IEEE Sensors J., vol. 8, no. 8, pp. 1430–1436, Aug. 2008

[22] M. Tresanchez, T. Pallejà, M. Teixidó, and J. Palacín, “The optical mouse sensor as an incremental rotary encoder ” Sens. Actuators A, Phys., vol. 155, no. 1, pp. 73–81, Oct. 2009.

[23] M. Tresanchez, T. Pallejà, M. Teixidó, and J. Palacín, “Using the image acquisition capabilities of the opticalmouse sensor to build an absolute rotary encoder ” Sens. Actuators A, Phys., vol. 157, no. 1, pp. 161–167, Jan. 2010

[24]J.S. Bajic, D.Z. Stupar, B.M. Dakic, M.B. Zivanov, L.F. Nagy, “An absolute rotary position sensor based on cylindrical coordinate color space transformation” Sens. Actuators A: Phys. 213 (2014) 27–34.

[25]T. A. Tameh, M. Sawan and R. Kashyap, “Novel analog ratio-metric optical rotary encoder for avionic applications” IEEE Sensors J., vol. 16, no. 17, Sep. 2016, 6586-6595

[26] S. Dasa, T. S. Sarkar, B. Chakraborty, and H. S. Dutta, “Study on array of photo-detector based absolute rotary encoder” Sens. Actuators A: Phys. 246 (2016) 114-122