Next Article in Journal
Colorimetric Detection of Escherichia coli O157:H7 with Signal Enhancement Using Size-Based Filtration on a Finger-Powered Microfluidic Device
Previous Article in Journal
Combination of Smartphone MEMS Sensors and Environmental Prior Information for Pedestrian Indoor Positioning
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An FPGA Platform for Next-Generation Grating Encoders

1
Shenzhen International Graduate School, Tsinghua University, Shenzhen 518055, China
2
Department of Precision Instrument, Tsinghua University, Haidian District, Beijing 100084, China
*
Author to whom correspondence should be addressed.
These authors contribute equally.
Sensors 2020, 20(8), 2266; https://doi.org/10.3390/s20082266
Submission received: 16 March 2020 / Revised: 11 April 2020 / Accepted: 12 April 2020 / Published: 16 April 2020
(This article belongs to the Section Optical Sensors)

Abstract

:
Among various nanometer-level displacement measurement methods, grating interferometry-based linear encoders are widely used due to their high robustness, relatively low cost, and compactness. One trend of grating encoders is multi-axis measurement capability for simultaneous precision positioning and small order error motion measurement. However, due to both lack of suitable hardware data processing platform and of a real-time displacement calculation system, meeting the requirements of real-time data processing while maintaining the nanometer order resolutions on all these axes is a challenge. To solve above-mentioned problem, in this paper we introduce a design and experimental validation of a field programmable gate array (FPGA)-cored real-time data processing platform for grating encoders. This platform includes the following functions. First, a front-end photodetector and I/V conversion analog circuit are used to realize basic analog signal filtering, while an eight-channel parallel, 16-bit precision, 200 kSPS maximum acquisition rate Analog-to-digital (ADC) is used to obtain digital signals that are easy to process. Then, an FPGA-based digital signal processing platform is implemented, which can calculate the displacement values corresponding to the phase subdivision signals in parallel and in real time at high speed. Finally, the displacement result is transferred by USB2.0 to the PC in real time through an Universal Asynchronous Receiver/Transmitter (UART) serial port to form a complete real-time displacement calculation system. The experimental results show that the system achieves real-time data processing and displacement result display while meeting the high accuracy of traditional offline data solution methods, which demonstrates the industrial potential and practicality of our absolute two-dimensional grating scale displacement measurement system.

1. Introduction

Grating encoders, a specific type of linear encoder, are key components for precision positioning in various industrial engineering applications. Due to their high accuracy, robustness against environmental variances, relatively low cost, and compactness, grating encoders now hold more than 75% market share among various precision positioning solutions. Depending on the measurement method, there are two trends of grating encoders; one is single axis ultra-high precision and the other is multi-axis [1,2,3,4,5,6]. For high precision applications, the diffraction beam interferometry principle is utilized. This method is also known as interference scanning, and employs a fine grating with a micrometer-order period. Nanometer-scale resolution can be achieved for commercial products and sub-nanometer resolution in laboratory systems. For multi-axis solutions, grating encoders can provide both positioning accuracy and small motion error, usually including translational and rotational motion, which is beyond the capabilities of commercial planar encoders that allow simultaneous measurement of X- and Y-direction displacements.
So far, many researchers have provided effective methods, spanning from two-axes to six-axes [7,8,9,10,11,12,13,14,15,16,17]. For multi-axes measurement, a combination of translational with rotational motion measurement is used. For multi-axes translational measurement, a two-axis scale grating with a micrometer-order grating period is employed and the X- and Y-direction diffraction beams interference with each other, allowing simultaneous measurement of two-axes translational motion [6,7,9,11,12,13,14]. The incident direction of the two orthogonal beams can be along the grating normal or in a Littrow configuration [10,15,16]. The in-plane two-axes measurement is effectively expanded to out-of-plane Z-direction measurement by adding grating of the same scale, also known as a reference grating, and configured in a traditional Michelson optical layout [11,14]. On the other hand, for multi-axes rotational measurement, an improved laser autocollimator is employed by introducing a diffraction beam from the scale grating [7,8,10,16]. This beam will change its propagation direction when there is a roll motion. Since these light beams for translational and rotational measurement can be arranged along a common path, the encoder’s structure can be relatively compact and measurement stability can be ensured [7,10,16,17,18].
The feasibility of multi-axes measurement has been demonstrated in several studies. However, it should be noted that most of these solutions were validated in an off-line manner, and all data were processed using a PC-based system [19]. There are few studies analyzing real-time data processing methods for newly-developed grating encoders [20,21,22]. Indeed, a four-step optical layout-based multi-axis displacement calculation algorithm and a multiple quadrant photo detector (QPD)-based multi-axis angle algorithm usually require simultaneous processing of around more than ten signals at high speed, which is challenging in terms of both hardware and programing. For solving this problem and to bridge the gap between lab prototype solutions and a product that can benefit most industrial applications, we investigate an alternative approach for real-time data processing. First of all, as mentioned above, the widely-used method in the above-mentioned multi-axis grating encoders is off-line data processing using MATLAB, where several channels of interference signals detected by photoelectric detectors are eventually converted to voltage signals that are easy to be analyzed. However, this method limits the real-time processing capabilities of the measurement platform and hinders the practicality of real-time display of displacement measurement results [23,24].
One trend of optical encoders is miniaturization by integrating encoder components on a single chip, which can also achieve cost reduction [25]. In order to realize a high-precision, high-speed, low-latency, parallel, large-data-quantity displacement real-time computing platform, we first consider solutions that include Advanced RISC Machines (ARMs) like single chips, high-performance central processing units (CPUs), and Field Programmable Gate Arrays (FPGAs) [23,26]. Compared to ARMs and high-performance CPUs, FPGAs have the advantage of parallel computing, which can realize the parallel acquisition of eight signals and multi-module parallel computation. Besides, FPGA is often used in the laboratory level signal processing platform, which has real-time performance and can measure multi-dimensional signals at the same time, such as 4D (3D + t) interference microscopy [27]. In consideration of FPGA’s low cost and the order of mHz, there are also some smart sensors combining optical principles and FPGA technology to achieve high precision measurement [28]. In addition, the front-end circuit noise and environmental noise also need to be filtered, and the core algorithm of the high-order filter is convolution, so FPGA’s parallel raw data filtering capabilities are more convenient. In terms of latency, although FPGA clock frequency is not as high as that of commercial CPUs, their clock is at the level of several hundred MHz (ns-level clock), which has already met the low latency requirements of this platform [29,30,31]. In addition, the FPGAs’ internal circuit structure and pins can be reprogrammed, with flexible and rich resource extensions, and it is easy to implement subsequent structural and algorithm optimization. Thus, FPGAs are as suitable as the hardware platform to realize high-precision, high-speed, low-latency, parallelization, and large data displacement measurements [32,33]. Therefore, in this paper we present a method using FPGA to implement existing optical algorithms into the circuit structure. Using Analog-to-Digital Converters (ADCs), we process the data in parallel through the FPGA hardware platform, calculate the displacement values and transmit them to the PC in real time through the serial port to realize the real-time display of displacement measurement.
The following Section explains the principle of the grating reading head. The third section presents the design of the algorithm and FPGA circuit structure. The fourth section describes the experimental platform and the results. In Section 5, we discuss the results and compare them with traditional scale displacement calculation methods.

2. Principle

Figure 1 shows our laboratory’s optical layout of a multi-axis grating encoder, for which the real-time data processing platform was designed. It consists of a reading head and a scale grating that are mounted on a stage base and moving element, respectively, for detecting the displacement of the moving element. The scale grating is usually a two-axis one, i.e., it includes the same grating types in orthogonal directions, usually in a one-micron scale. It should be noted that, for simplicity, in this manuscript we use a one-axis grating for explanations. The one-axis grating can provide in-plane X-direction positioning and an out-of-plane Z-direction error motion detection, and this can be easily expanded to in-plane X- and Y-directions using two-axis scale gratings.
The reading head is composed of a coherent laser diode (LD) as the light source, while a grating having the same parameters with the scale grating is used as a reference and is called the reference grating. The beam from the LD is split using a polarizing beam splitter (PBS) into P- and S-polarization beams, which then propagate towards the scale and reference gratings, respectively. Between the PBS and the gratings, quarter-wave plates (QWPs) are placed with fast axis at 45° to the polarization direction. In this manner, the two sets of two first-order diffraction beams from the two gratings change their polarization states and completely pass through and are reflected by PBS1, which greatly improves the power usage. After this, the four first-order diffraction beams are projected to a four-step optical layout, where BS2 divides the diffraction beams in two halves and QWP 4 generates a 90° phase delay for the half projected onto PBS2. Mirrors 1 and 2 here are used to change propagation direction so that these optics can be reconfigured if necessary. QWPs 3 and 5 are used to change the p-and s-polarization into left- and right-circular polarization so than they can be further divided by PBSs 2 and 3. By using the four sets of interference signals with a 90° phase delay, the DC components of the eight interference signals can be eliminated and the motion direction can be determined.
As mentioned above, the light beam generated by LD is divided into p-line and s-line polarized light through BS1, and is incident on a reference grating and a diffraction grating through a quarter wave plate. The measurement beam Usα generated at the measurement grating and the diffraction beam Urα generated at the diffraction grating pass through the two quarter-wave plates again and converge at PBS1. After passing through BS2, a part of the diffracted beam passes through QWP4, QWP5, and PBS2 in this order and is received by the photodetector (PD) to obtain 90° and 270° ± 1 level interference signals.
Therefore, the intensity of the interference signal detected by PD (90°) and PD (270°) are:
I α ( 90 ° ) = U α ( 90 ° ) U α ( 90 ° ) ¯ = 1 2 U 0 2 { 1 + cos ( Ω α + Φ ) } ,
I α ( 270 ° ) = U α ( 270 ° ) U α ( 270 ° ) ¯ = 1 2 U 0 2 { 1 cos ( Ω α + Φ ) } ,
where Uα represents the combined light intensity. The other part of the diffracted beam passes through BS2, QWP3, and PBS3 in that order and is received by the PDs, which is considered as ±1 level interference signals at 0° and 180°.
So, the intensities of the interference signals detected by PD (0°) and PD (180°) are:
I α ( 0 ° ) = U α ( 0 ° ) U α ( 0 ° ) ¯ = 1 2 U 0 2 { 1 + sin ( Ω α + Φ ) } ,
I α ( 180 ° ) = U α ( 180 ° ) U α ( 180 ° ) ¯ = 1 2 U 0 2 { 1 sin ( Ω α + Φ ) } ,
From the above equation, we see that the amplitude and DC components of the four interference signals Iα(0°), Iα(90°), Iα(180°), and Iα(270°), are all related to U02, and the phase differences of the four interference signals are 0°, 90°, 180°, and 270°. For the ±1 level diffracted beam, the DC component can be eliminated using the following operations:
S X + 1 = I X + 1 ( 0 ° ) I X + 1 ( 180 ° ) I X + 1 ( 0 ° ) + I X + 1 ( 180 ° ) = sin ( Ω α + Φ ) ,
S X + 1 = I X + 1 ( 90 ° ) I X + 1 ( 270 ° ) I X + 1 ( 90 ° ) + I X + 1 ( 270 ° ) = cos ( Ω α + Φ ) ,
S X 1 = I X 1 ( 0 ° ) I X 1 ( 180 ° ) I X 1 ( 0 ° ) + I X 1 ( 180 ° ) = sin ( Ω α + Φ ) ,
S X 1 = I X 1 ( 90 ° ) I X 1 ( 270 ° ) I X 1 ( 90 ° ) + I X 1 ( 270 ° ) = cos ( Ω α + Φ ) ,
Combining Equations (5)–(8), we obtain the displacement of the scale along the X- and Z-directions, which are:
Ω α + Φ = tan 1 ( S X + 1 S X + 1 ) ,
Ω α + Φ = tan 1 ( S X 1 S X 1 ) ,
According to the above equation, it is possible to calculate the displacement of the grating in the X-direction, and the magnitude of the jitter in the Z-direction:
Δ x = g Ω 2 π = g 4 π { tan 1 ( S X + 1 S X + 1 ) tan 1 ( S X 1 S X 1 ) } ,
Δ z = λ φ 2 π ( 1 + cos θ ) = λ 4 π ( 1 + cos θ ) { tan 1 ( S X + 1 S X + 1 ) + tan 1 ( S X 1 S X 1 ) } .
where λ is the laser wavelength, g is the groove width of the grating, and the scale is 1 μm.

3. Data Processing Algorithm Design

The schematic design for the hardware platform is shown in Figure 2. First, the laser beam passes through the grating reading head sensor described above to generate eight interference signals, which are received by the PDs. Then, the analog circuit at the front end converts and converts the mA-level current signal to a V-level voltage signal. In the next step, the eight-channel analog signals are converted into digital signals by the ADC chip, which are then input to the FPGA in parallel for digital signal processing.
The FPGA is our core platform for algorithm implementation. The main algorithm first filters the noise-containing signals through a 32-order Finite Impulse Response (FIR) filter in order to facilitate subsequent calculations. Then, the filtered output enters the digital signal processing module, which mainly includes three steps: first, we normalize the eight-channel filtered signals to convert the unequal-amplitude signals into equal-amplitude signals. Due to errors in the manufacturing process of the reading head, the obtained signal will add a certain phase shift to the original phase. Therefore, a phase correction module is used to correct the phase shift signal to the ideal 0°, 90°, 180°, and 270° signals. Finally, arctangent phase demodulation is performed and a COordinate Rotation DIgital Computer (CORDIC) algorithm is used to calculate the true phase information. After that, the whole phase counting and scattered period calculation are performed on the existing phase information. The whole period calculation method is to count the number of peaks and the scattered phase calculation method is Equation (11), described above. The next module is Binary-Coded Decimal (BCD) transcoding, which converts hexadecimal to decimal numbers that are transmitted to the PC through a Universal Asynchronous Receiver/Transmitter (UART). This allows real-time calculation and display of the displacement.
The specific implementation block diagram is shown in Figure 3. In this paper, an AD7606 analog-to-digital conversion chip is used, and a drive algorithm is applied to implement parallel sampling of eight-phase analog signals at a sampling rate of 100 kHz with a sampling accuracy of 16 bits. We use a 32-order FIR filter to remove the noise of the sampled signal. The principle is to convolve the original signal and the filter impulse response constants. The equation is as follows:
y ( n ) = x ( n ) * h ( n ) = k = 0 N h ( k ) x ( n k ) .
where x(n) is the input signal, h(n) is the impulse response, that is, the tap coefficient, and N is the order of the FIR filter, which means that the tap number is n + 1. In order to fully apply the advantages of FPGA in implementing the FIR algorithm, we choose a three-stage pipeline, which reduces the delay and ensures the real-time performance of data calculation and demodulation. The three-stage pipeline algorithm is as follows:
Stage 1: the original signal and tap coefficients are multiplied, where only half of the multiplications are necessary since the FIR filter coefficients are symmetric;
Stage 2: Apply FIFO (First In First Out) to buffer the data after multiplication to ensure the eight-way signal alignment;
Stage 3: Sum the delayed data for the subsequent separation of eight useful signals. This completes the application of the 32-order FIR filter algorithm.
The original signal is affected by the interference intensity of the optical signal and the amplification effect of the front-end analog circuit, resulting in different amplitudes. For the accuracy of subsequent calculations, we applied a normalization algorithm, implemented by first storing the eight filtered signals in parallel into the FIFO, then setting a certain depth to obtain enough useful signal data. Then, we read the data in the FIFO and determine the maximum absolute value of the filtered signal in real time. After that, all output signals are divided by the maximum absolute value.
After analyzing the normalized signals, we found that the phases of the four signals of the same interference level do not have a strict difference of 90° difference. The reason is that the grating reading head causes a phase error due to glue sticking or stress release during the installation process. This kind of error is difficult to eliminate in the process, so we implemented an algorithm on the FPGA circuit platform to correct the phase error in real time. The normalized real signal equation is as follows:
S X + 1 = sin ( Ω α + Φ ) ,
S X + 1 = cos ( Ω α + Φ σ ) ,
Compared with the theoretical signals, as shown in Equations (5) and (6), real signals do not have exactly a 90° difference, but have a phase error, as shown in Equation (15). So, we implemented a hardware algorithm to eliminate the phase error and correct the normalized signal in real time. The required signal calculation equation is as follows:
( S X + 1 ) co r r e c t e d = cos ( Ω α + Φ ) = cos ( Ω α + Φ σ ) sin ( Ω α + Φ ) sin ( σ ) cos ( σ ) .
Taking SX+1 as the signal of reference, to obtain the corrected signal (SX+1)corrected, the same three-stage pipeline is applied: one-stage multiplication, one-stage subtraction, and one-stage division with the IP core to implement the phase correction algorithm.
After obtaining the four phase-corrected signals, the arctangent values of the ±1 levels need to be calculated separately. This algorithm uses CORDIC’s arctangent IP core and inputs two 16-bit sine and cosine signals. The output arctangent phase value is also 16-bit from −π to +π. Then, we use the method of threshold determination to count the peak number of the whole period of the arctangent value, determine the number of changes in the whole period caused by the scale displacement, and then apply Equation (11) to calculate the phase of the scattered period in real time. The output result is a 16-bit fixed-point number. Then the result is BCD decoded, that is, the hexadecimal is converted into a decimal number that can be displayed by PC. The classic “greater than 4 shift plus 3” algorithm is used to ensure the low delay of the decoding module in the form of a combination circuit. Finally, we designed the Universal Asynchronous Receiver/Transmitter (UART) serial port driver timing code, the baud rate and the UART frequency-divided clock, and set the parity bit to prevent slipping and errors, and transmit the result to the PC for display correctly and in real time.
The above is the main module of the FPGA hardware platform algorithm design of this paper. The Register Transfer Level (RTL) netlist structure was synthesized, and MODELSIM was used for timing simulation. Pin and timing constraints and layout were performed, and CHIPSCOPE was used to debug the chip. A signal generator was used as the waveform input to verify the correctness of the algorithm. Finally, we combined the FPGA platform, the optical platform and other units to validate the system performance.

4. Results

The experimental equipment and devices are shown in Figure 4. From left to right are the laser light source, the precision stage, the grating reading head, the 8-channel I/V conversion circuit, the ADC chip, and the FPGA board. The power was set to about 60 mA to excite the photodiode and generate a 660 nm laser beam to irradiate the grating reading head. When the precision stage was displaced in the X direction, eight phase difference signals were generated. The eight optical signals were received by the photodetector and the small current signal was transmitted to the I/V conversion circuit, converted into a voltage signal and amplified, followed by simple low-pass filtering. Then, the eight analog voltage signals were input to the AD7606 chip, whose 40-pin interface was connected to the FPGA development board. Finally, the calculated displacement value is transmitted to the PC through the UART interface on the board.
We programmed the designed algorithm file, turned on the displacement stage, power supply, analog circuit, FPGA platform, and other hardware, connected the PC and opened the serial port for experimental analysis. The results of each part are shown in Figure 5. Figure 5a shows the data chart after recording of the eight channels using the AD7606. It is clear that the original data contains some signal noise, which causes the signal itself to not be smooth, inhibiting subsequent digital signal processing. After analyzing the noise signal, we found that our useful signal frequency is from 10 Hz to 100 Hz and the noise is mainly low frequency. So we chose low pass filter so that we could get the specific parameters for FPGA by MATLAB’s filter designer tool. Figure 5b shows the signal filtered by the 32-order FIR filter. Compared with Figure 5a, it can be clearly seen that the original noise is eliminated, the signal is smooth, and the effect is significant.
In order to eliminate the DC component in the phase-subdivided signal, as shown in Equations (5)–(8), the original ±1 level interference signal needs to be subtracted separately to obtain four channels to be calculated using the arctangent algorithm. However, as mentioned above, since the real signal is different from the ideal signal, it is not strictly a 90° phase difference value, so phase correction is required.
Figure 6a is the signal before phase correction. For the +1 level signals Ix+1(0°) − Ix+1(180°) and Ix+1(90°) − Ix+1(270°), it can be seen that the phase difference basically meets the requirements, i.e., it is close to 90°; but for −1 level signals Ix−1(0°) − Ix−1(180°) and Ix−1(90°) − Ix−1(270°), it can be seen that the phase difference of the original signal is close to 0°. Theoretically, the former must lead the latter by a 90° phase difference, otherwise the accuracy of subsequent arctangent calculation will be greatly affected. Therefore, as shown in Figure 6b, phase correction is performed using Equation (16). After correction, the new (Ix+1(90°) − Ix+1(270°))corrected and (Ix−1(90°) − Ix−1(270°))corrected values are obtained. It can be seen that every two signals of the ±1 levels have a strict phase difference of 90°. The result is consistent with the ideal waveform, and the effect is significant.
After obtaining the four corrected signals, we need to find the arctangent value of the two channels separately. We used the Xilinx CORDIC IP core to realize the arctangent algorithm. The original result range was −π ~ π, but in order to meet the subsequent algorithm requirements, we converted it to −π/2 ~ π/2. The final arctangent results are shown in Figure 7 below.
After calculating the arctangent phase value of the ±1 levels interference signals, the displacement in the X-direction can be determined using Equation (11), and the displacement results are analyzed, as shown in the following Table 1:

5. Discussion

In this paper, the high-speed, parallel, and erasable circuit structure of an FPGA is utilized to realize the design and implementation of a high-precision, high-speed real-time data processing platform. In view of the lack of real-time calculations in traditional scale displacement measurement platforms, the traditional offline data solution method was improved, and a substantial contribution to the practicality and industrialization of scale displacement measurement is made.
By analyzing the results and comparing the displacement accuracy between the FPGA online real-time platform and offline displacement calculation method using MATLAB, we see that the absolute error of the results obtained using the FPGA hardware platform is less than 0.006 μm, which meets the requirements of this paper. In addition, as for real-time performance, when the FPGA clock frequency is 50 MHz, the maximum delay time of the FPGA algorithm is 13 ms, which also meets the real-time requirement. If the delay must be further reduced, more advanced FPGA chips can be used to achieve a clock frequency of thousands of MHz, and the algorithm delay time can be less than 1 ms.
For our future work, we will explore achieving lower latency and higher bit accuracy using more powerful FPGA hardware platform. In addition, the core algorithm will be encapsulated, pins can be derived and optical custom IP cores will be generated, which can increase the portability and versatility of the algorithm. Furthermore, a universal circuit structure for the optical displacement platform will be designed.

Author Contributions

Conceptualization, X.L. and K.N.; methodology, Y.H.; software, Y.H.; validation, X.L., Y.H., and K.N.; formal analysis, X.L., K.N., and K.Y.; investigation, Y.H.; resources, X.L., X.W., and Q.Z.; data curation, Y.H.; writing—original draft preparation, Y.H.; writing—review and editing, X.L. and K.N.; visualization, X.L. and Y.H.; supervision, X.L. and X.W.; project administration, X.L., G.W.; funding acquisition, X.L., G.W., X.W., and Q.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Shenzhen Fundamental Research Funding (JCYJ20170817160808432); National Natural Science Foundation of China (61905129, 51835007); Natural Science Foundation of Guangdong Province (2018A030313748).

Acknowledgments

Part of this research work was performed at the Testing Technology Center of Materials and Devices of Tsinghua Shenzhen International Graduate School of Tsinghua University.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Gao, W.; Kim, S.; Bosse, H.; Haitjema, H.; Chen, Y.L.; Lu, X.D.; Knapp, W.; Weckenmann, A.; Estler, W.T.; Kunzmann, H. Measurement technologies for precision positioning. CIRP Ann. 2015, 64, 773–796. [Google Scholar] [CrossRef]
  2. Hu, P.; Chang, D.; Tan, J.; Yang, R.; Yang, H.; Fu, H. Displacement measuring grating interferometer: A review. Front. Inf. Technol. Electron. Eng. 2019, 20, 631–654. [Google Scholar] [CrossRef]
  3. Shimizu, Y.; Matsukuma, H.; Gao, W. Optical Sensors for Multi-Axis Angle and Displacement Measurement Using Grating Reflectors. Sensors-Basel 2019, 19, 5289. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  4. Tomita, Y.; Kojima, E.; Kawachi, S.; Koyanagawa, Y.; Ootsuka, S. Development and applications of Sumitomo precision stage technologies for FPD process. J. Jpn. Soc. Precis. Eng. 2012, 78, 117–121. [Google Scholar] [CrossRef] [Green Version]
  5. Groundbreaking Absolute Linear Encoder and Rotary (Angle) Encoder is BiSS® Protocol Compatible. Available online: https://www.renishaw.com.cn/zh/11110.aspx (accessed on 10 April 2020).
  6. Linear Encoder Products—Sealed and Enclosed—HEIDENHAIN. Available online: https://www.heidenhain.us/product/linear-encoders-for-length-measurement/ (accessed on 10 April 2020).
  7. Fan, K.; Lee, B.; Chung, Y. A planar laser diffraction encoder in Littrow configuration for 2D nanometric positioning. Int. J. Autom. Smart Technol. 2011, 1, 93–99. [Google Scholar] [CrossRef] [Green Version]
  8. Li, X.; Gao, W.; Muto, H.; Shimizu, Y.; Ito, S.; Dian, S. A six-degree-of-freedom surface encoder for precision positioning of a planar motion stage. Precis. Eng. 2013, 37, 771–781. [Google Scholar] [CrossRef]
  9. Kimura, A.; Gao, W.; Kim, W.; Hosono, K.; Shimizu, Y.; Shi, L.; Zeng, L. A sub-nanometric three-axis surface encoder with short-period planar gratings for stage motion measurement. Precis. Eng. 2012, 36, 576–585. [Google Scholar] [CrossRef]
  10. Gao, W.; Saito, Y.; Muto, H.; Arai, Y.; Shimizu, Y. A three-axis autocollimator for detection of angular error motions of a precision stage. CIRP Ann. 2011, 60, 515–518. [Google Scholar] [CrossRef]
  11. Gao, W.; Kimura, A. A three-axis displacement sensor with nanometric resolution. CIRP Ann. 2007, 56, 529–532. [Google Scholar] [CrossRef]
  12. Lee, C.; Kim, G.H.; Lee, S. Design and construction of a single unit multi-function optical encoder for a six-degree-of-freedom motion error measurement in an ultraprecision linear stage. Meas. Sci. Technol. 2011, 22, 105901. [Google Scholar] [CrossRef]
  13. Kao, C.; Lu, S.; Shen, H.; Fan, K. Diffractive laser encoder with a grating in Littrow configuration. Jpn. J. Appl. Phys. 2008, 47, 1833. [Google Scholar] [CrossRef] [Green Version]
  14. Kao, C.; Chang, C.C.; Lu, M. Double-diffraction planar encoder by conjugate optics. Opt. Eng. 2005, 44, 23603. [Google Scholar]
  15. Liu, C.; Huang, H.; Lee, H. Five-degrees-of-freedom diffractive laser encoder. Appl. Opt. 2009, 48, 2767–2777. [Google Scholar] [CrossRef] [PubMed]
  16. Lv, Q.; Wang, W.; Liu, Z.; Song, Y.; Jiang, S.; Liu, L.; Bayanheshig, L.I. Grating-based precision measurement system for five-dimensional measurement. Chin. Opt. 2020, 13, 189–202. [Google Scholar]
  17. Matsuzoe, Y.; Tsuji, N.; Nakayama, T.; Fujita, K.; Yoshizawa, T. High-performance absolute rotary encoder using multitrack and M-code. Opt. Eng. 2003, 42, 124–132. [Google Scholar] [CrossRef]
  18. Perez-Ramirez, C.A.; Almanza-Ojeda, D.L.; Guerrero-Tavares, J.N.; Mendoza-Galindo, F.J.; Estudillo-Ayala, J.M.; Ibarra-Manzano, M.A. An architecture for measuring joint angles using a long period fiber grating-based sensor. Sensors 2014, 14, 24483–24501. [Google Scholar] [CrossRef]
  19. Krid, M.; Damak, A.; Masmoudi, D.S. Hardware implementation of a pulse mode neural network-based edge detection system. AEU-Int. J. Electron. Commun. 2009, 63, 810–820. [Google Scholar] [CrossRef]
  20. Geisler, D.J.; Proietti, R.; Yin, Y.; Scott, R.P.; Cai, X.; Fontaine, N.K.; Paraschis, L.; Gerstel, O.; Yoo, S. Experimental demonstration of flexible bandwidth networking with real-time impairment awareness. Opt. Express 2011, 19, B736–B745. [Google Scholar] [CrossRef]
  21. Ni, K.; Wang, H.; Li, X.; Wang, X.; Xiao, X.; Zhou, Q. Measurement uncertainty evaluation of the three degree of freedom surface encoder. In Proceedings of the Optical Metrology and Inspection for Industrial Applications IV, Beijing, China, 12–14 October 2016; International Society for Optics and Photonics, USA, 2016; p. 100230Z. [Google Scholar]
  22. Spence, T.G.; Calzada, M.E.; Gardner, H.M.; Leefe, E.; Fontenot, H.B.; Gilevicius, L.; Hartsock, R.W.; Boyson, T.K.; Harb, C.C. Real-time FPGA data collection of pulsed-laser cavity ringdown signals. Opt. Express 2012, 20, 8804–8814. [Google Scholar] [CrossRef]
  23. Jamro, E.; Wielgosz, M.; Bieniasz, S.; Cioch, W. FPGA-ARM heterogeneous system for high speed signal analysis. Solid State Phenom. 2012, 180, 207–213. [Google Scholar] [CrossRef]
  24. Yang, Q.; Chen, S.; Ma, Y.; Shieh, W. Real-time reception of multi-gigabit coherent optical OFDM signals. Opt. Express 2009, 17, 7985–7992. [Google Scholar] [CrossRef]
  25. Cosijns, S.J.A.G.; Jansen, M.J. 9-Advanced optical incremental sensors: Encoders and interferometers. In Smart Sensors and MEMs; Woodhead Publishing: Sawston, UK, 2014. [Google Scholar]
  26. Sebastian, W.; Adauto, C.; Marc, L.; Galina, M.; Stephan, B.; Dirk, S.F. Development of A Low-Cost FPGA-Based Measurement System for Real-Time Processing of Acoustic Emission Data: Proof of Concept Using Control of Pulsed Laser Ablation in Liquids. Sensors-Basel 2018, 18, 1775. [Google Scholar]
  27. Montgomery, P.; Anstotz, F.; Johnson, G.; Kiefer, R. Real time surface morphology analysis of semiconductor materials and devices using 4D interference microscopy. J. Mater. Sci. Mater. Electron. 2008, 19, 194–198. [Google Scholar] [CrossRef]
  28. Vera-Salas, L.A.; Moreno-Tapia, S.V.; Garcia-Perez, A.; de Jesus, R.R.; Osornio-Rios, R.A.; Serroukh, I.; Cabal-Yepez, E. FPGA-based smart sensor for online displacement measurements using a heterodyne interferometer. Sensors 2011, 11, 7710–7723. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  29. Zhang, H.; Ljusic, Z.; Hovey, G.; Veran, J.; Herriot, G.; Dumas, M. A high-performance FPGA platform for adaptive optics real-time control. In Proceedings of the Adaptive Optics Systems III, Amsterdam, The Netherlands, 1–6 July 2012; International Society for Optics and Photonics, USA, 2012; p. 84472E. [Google Scholar]
  30. Brueck, S.R. Optical and interferometric lithography-nanotechnology enablers. Proc. IEEE 2005, 93, 1704–1721. [Google Scholar] [CrossRef]
  31. Fu, M.; Li, C.; Zhu, G.; Shi, H.; Chen, F. A High Precision Time Grating Displacement Sensor Based on Temporal and Spatial Modulation of Light-Field. Sensors 2020, 20, 921. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  32. Girschikofsky, M.; Ryvlin, D.; Waldvogel, S.; Hellmann, R. Optical Sensor for Real-Time Detection of Trichlorofluoromethane. Sensors 2019, 19, 632. [Google Scholar] [CrossRef] [Green Version]
  33. Kim, J.S.; Kim, B.K.; Jang, M.; Kang, K.; Kim, D.E.; Ju, B.; Kim, J. Wearable Hand Module and Real-Time Tracking Algorithms for Measuring Finger Joint Angles of Different Hand Sizes with High Accuracy Using FBG Strain Sensor. Sensors 2020, 20, 1921. [Google Scholar] [CrossRef] [Green Version]
Figure 1. A typical optical layout of a grating encoder for which the proposed platform is designed.
Figure 1. A typical optical layout of a grating encoder for which the proposed platform is designed.
Sensors 20 02266 g001
Figure 2. The overall process design of the displacement calculating platform.
Figure 2. The overall process design of the displacement calculating platform.
Sensors 20 02266 g002
Figure 3. Field programmable gate array (FPGA) platform design.
Figure 3. Field programmable gate array (FPGA) platform design.
Sensors 20 02266 g003
Figure 4. Hardware platform and experimental device.
Figure 4. Hardware platform and experimental device.
Sensors 20 02266 g004
Figure 5. (a) Data acquired by AD and (b) FIR-filtered data.
Figure 5. (a) Data acquired by AD and (b) FIR-filtered data.
Sensors 20 02266 g005
Figure 6. Uncorrected phase data (a) and corrected phase data (b).
Figure 6. Uncorrected phase data (a) and corrected phase data (b).
Sensors 20 02266 g006
Figure 7. Positive level’s and negative level’s arctangent phase results.
Figure 7. Positive level’s and negative level’s arctangent phase results.
Sensors 20 02266 g007
Table 1. Comparative analysis of offline result obtained using MATLAB and FPGA results obtained online.
Table 1. Comparative analysis of offline result obtained using MATLAB and FPGA results obtained online.
Matlab Offline Result/μmFPGA Online Result/μmAbsolute Error/μm
1.19721.2023+0.0051
2.15872.1624+0.0038
3.19323.1917−0.0016
4.19484.1968+0.0020
5.22985.2291−0.0007
6.19696.1959−0.0010
7.16837.1724+0.0041
8.21648.2191+0.0027
9.21169.2107−0.0009
10.201810.2033+0.0015

Share and Cite

MDPI and ACS Style

Han, Y.; Ni, K.; Li, X.; Wu, G.; Yu, K.; Zhou, Q.; Wang, X. An FPGA Platform for Next-Generation Grating Encoders. Sensors 2020, 20, 2266. https://doi.org/10.3390/s20082266

AMA Style

Han Y, Ni K, Li X, Wu G, Yu K, Zhou Q, Wang X. An FPGA Platform for Next-Generation Grating Encoders. Sensors. 2020; 20(8):2266. https://doi.org/10.3390/s20082266

Chicago/Turabian Style

Han, Yaodong, Kai Ni, Xinghui Li, Guanhao Wu, Kangning Yu, Qian Zhou, and Xiaohao Wang. 2020. "An FPGA Platform for Next-Generation Grating Encoders" Sensors 20, no. 8: 2266. https://doi.org/10.3390/s20082266

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop