Next Article in Journal
Invisible ECG for High Throughput Screening in eSports
Previous Article in Journal
Bandwidth-Based Wake-Up Radio Solution through IEEE 802.11 Technology
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Strategy to Decrease the Angle Measurement Error Introduced by the Use of Circular Grating in Dynamic Torque Calibration

1
School of Instrumentation Science and Engineering, Harbin Institute of Technology, Harbin 150001, China
2
Beijing Zhenxing Institute of Metrology and Measurement, Beijing 100074, China
*
Author to whom correspondence should be addressed.
Sensors 2021, 21(22), 7599; https://doi.org/10.3390/s21227599
Submission received: 28 September 2021 / Revised: 10 November 2021 / Accepted: 12 November 2021 / Published: 16 November 2021
(This article belongs to the Section Optical Sensors)

Abstract

:
A circular grating angle encoder is a key component in the dynamic torque calibration system. To improve the accuracy of an angle measurement, in this paper, the source of the angle measurement error of the circular grating is analyzed; an eccentricity error model and an inclination error model are proposed, respectively; further, these two models are combined to establish a total error model. Through the simulation study with the models, the conditions, in which the eccentricity error or inclination error can be ignored, are discussed. The calibration and compensation methods of the angle measurement error are given, and a progressive error compensation function which integrates the first harmonic fitting and the second harmonic fitting is obtained. An experiment is performed to verify the proposed calibration and compensation methods. The peak-to-peak value of the compensated angle measurement error of the single reading head can be reduced by about 93.76%, which approximates to the error of the mean value of the double reading heads. The experimental results show that the error calibration and compensation method based on the proposed error model can effectively compensate the angle measurement error of the circular grating with a single reading head, and obtain a high-precision measurement angle.

1. Introduction

Torque transducers are widely used in rotating machinery [1,2], such as engines, motors, generators, propellers, etc. The calibration, measurement, and analysis of torque transducers is the key to ensure the normal and safe operation of this equipment [3]. However, the calibration of torque transducers is still in the laboratory static calibration stage, and the research on dynamic calibration models and calibration method is not very extensive. Thomas [4] carried out a sinusoidal torque calibration using the laser interferometric method, and initially realized the calibration of a sinusoidal excitation torque with a maximum frequency of 100 Hz and amplitude of 100 N·m. Then, Georg et al. [5] realized the calibration of the torque sensor under a dynamic torque and rotation conditions, respectively. Zhang et al. [6] developed a dynamic torque calibration device with a calibration range of 0.1–200 N·m and a maximum frequency of 100 Hz.
In the dynamic torque calibration system, the circular grating angle encoder (referred to as “circular grating” for short) is a common angle measuring component. The application of the high-precision and high-resolution circular grating can improve the accuracy of the torque calibration results. The error of the circular grating angle measurement can be introduced by different conditions, such as the eccentricity of the rotating shafting [7] (referred to as “eccentricity error” for short), the inclination between the axis of rotation and the geometric axis of the rotating shafting [8,9] (abbreviated as “inclination error”), the axial movement of the rotating shafting, the roundness of the radial section of the rotating shafting [10,11], and the circular grating itself [12], etc.
The methods to improve the angle measurement accuracy of circular gratings proposed in previous studies can be summarized as increasing the number of reading heads and using a compensation algorithm. Scholars have conducted a lot of research on the angle measurement of multi-reading heads of circular grating [13,14,15,16,17,18]. Some important studies are listed below. Zhang [13] proved the error elimination principle of the multi-reading heads structure by using the harmonic analysis method. Ralf et al. [14] developed a self-calibration method for the fast and precise in situ calibration of angle encoders without recourse to external reference standards. It depended on the proper geometric arrangement of multiple reading heads, and the use of an algorithm based on Fourier transform to analyze the measurement difference of double heads in order to recover the indexing error of the grating. Liu et al. [15] developed an optimization-based arrangement method for the self-calibration of angle encoders. Ren et al. [16] analyzed the error sources affecting the angle measurement accuracy, and proposed the compensation method of multi-reading heads reading averaging. Based on the Back Propagation neural network, Xue et al. [17] established a model that can compensate the error over the whole circumference. Lou et al. [18] proposed a novel self-calibration method for five degrees-of-freedom error motions of rotary tables, and they installed two encoders with multiple reading heads on the spindle’s different positions to measure rotation angles. The above-mentioned studies all use two or more reading heads to compensate the angle measurement error of the circular grating, but they have not analyzed the specific angle measurement error model of the single reading head. Moreover, when only increasing the number of reading heads without algorithm compensation, the accuracy of the angle measurement is mostly not enough. Therefore, they all provided different error compensation algorithms to improve the accuracy of the angle measurement. However, many commercial grating encoders are equipped with only one reading head, and increasing the number of reading heads would, inevitably, increase the cost of the project. It would, inevitably, increase the error items caused by the installation of the reading heads, and increase the complexity of the error analysis. Furthermore, for some special applications, such as in article [19], the angle measuring system is required to be as light as possible, and a single reading head is usually used. In addition, when using semi-circular gratings and circular arc gratings for an angle measurement, only a single reading head can be used instead of multi-reading heads.
In order to improve the angle measurement accuracy of circular gratings with a single reading head, researchers have conducted a lot of work on the compensation algorithm [7,8,20,21,22,23,24,25,26,27,28,29,30]. Chen et al. [7,8], respectively, derived the eccentricity error model and the inclination error model of the circular grating angle measurement based on the Moiré fringe equations. However, the above research did not consider the influence of the eccentricity error phase and inclination error phase, as well as the interaction between them. Ralf et al. [20] proposed an in-depth treatment of the use of the Fourier approach, including transfer functions for the calibration of angle encoders. Li et al. [21] analyzed the angle measurement error distribution characteristics of the circular grating encoder, and established a method to obtain the angle error compensation value through the uncertainty calculation based on the Monte Carlo method (MCM). Deng et al. [22] presented a method based on the adaptive differential evolution Fourier neural network (ADE-FNN). Mark et al. [23] established a simple method for a high-precision rotary angle encoder calibration for long-range angular errors. Cai et al. [24] proposed a novel error compensation method based on the empirical mode decomposition (EMD) method. Jia et al. [26] established a method based on the Fourier expansion-back propagation (BP) neural network optimized by the genetic algorithm (FE-GABPNN). Gao et al. [27] designed an angle compensation scheme based on Fourier fitting. Different novel error compensation algorithms are proposed in the above studies, but the error model is not discussed in detail. Zheng et al. [28] discussed the influence of the circular grating eccentricity error on the measurement accuracy of the articulated arm coordinate measuring machine, proposed an error compensation parameter method, and established a six-circular grating eccentricity error compensation model. Yu et al. [19] presented an eccentricity error compensation method based on the calibration experiment using a single reading head. The above studies only derive the corresponding eccentricity error model, but do not fully consider the combined influence of the eccentricity error and inclination error. Based on the Abbe principle, Li et al. [29] used a new method to analyze the angular positioning error of the rotary table by using a circular grating with multi-reading heads. Based on compressed sensing and sparsity decomposition, Chen et al. [30] proposed a novel method to improve the angle measurement accuracy of circular grating. Although the above research gave the corresponding eccentricity error model and inclination error model, they did not consider the phase relationship between them. Moreover, when analyzing the inclination error model, the eccentricity caused by the inclination error was not considered. In summary, most of the existing research on the angle measurement of the circular grating with a single reading head is only in the compensation algorithm. In terms of the error model analysis, there is more research on the eccentric error model, and less on the inclination error, and especially less on the relationship between them.
The correctness of the angle measurement error model of the circular grating directly affects the compensation accuracy of the error compensation method. The self-error of circular grating and the error caused by roundness can be reduce to a negligible degree by using the high-precision circular grating. Because the axial movement of the shaft is perpendicular to the measurement plane of the reading head, the axial movement error is orthogonal to the rotation angle, and generally does not affect the angle measurement error of the circular grating. Most of the current models of the angle measurement error of the circular grating do not consider the inclination error, or think that the inclination error is negligible relative to the eccentricity error. In fact, the influence of the inclination error on the angle measurement is also very obvious and, in some cases, it is consistent with the influence of the eccentricity error. Therefore, when analyzing the angle measurement error of the circular grating, the inclination angle error should not be ignored all the time.
The contributions of this paper are as follows: (1) After analyzing the sources of errors, the eccentricity error model and the inclination error model are, respectively, proposed. Further, a total error model combining the two models is established. (2) According to the characteristics in each model, the applicable conditions and approximate simplified application formulas of each model are given. Through the simulation study with the models, the conditions, in which the eccentricity error or inclination error can be ignored, are discussed. (3) The calibration and compensation methods of the angle measurement error are given, and the progressive error compensation function which integrates the first harmonic fitting and the second harmonic fitting is obtained. Then, an experiment is performed to verify the proposed calibration and compensation methods. The angle measurement accuracy after the compensation of the single reading head is consistent with that acquired with the double reading heads. (4) The angle measurement error calibration function is applied to the dynamic torque calibration system, and the simulation results show that this method can improve the accuracy of the dynamic torque calibration system.
The structure of the article is introduced as follows: The dynamic torque calibration system is briefly introduced in the next section. In Section 3, the eccentricity error model and the inclination error model of the angle measurement error of the circular grating are, respectively, derived, and the comprehensive angle measurement error model is given. Then, different simulations are executed based on the three error models, and their results are compared. Section 4 introduces the error calibration experiment and proposes the error compensation method. Section 5 discusses the results of the calibration experiments. The conclusions are presented in Section 6.

2. Dynamic Torque Calibration System

Without considering the friction damping, the torque T of the rotating shafting can be expressed as the following formula.
  T = J α ¨ ,
where J is the moment of inertia,   α ¨ is the angular acceleration.
In Equation (1), the dynamic torque is directly traceable to the time, angle, and mass [6]. Therefore, a dynamic torque calibration system was established based on this principle, as shown in Figure 1.
The dynamic torque calibration system mainly included an exciter and a torque calibration unit. The calibrated torque transducer was installed between the exciter and the torque calibration unit. In order to realize the calibration of dynamic torque, we first controlled the exciter to generate a varying torque. Because there was a large error between the real value and the preset value of the torque generated by the exciter, we needed to use the torque calibration unit to accurately measure the actual dynamic torque of the shafting. During excitation, the generated torque was transferred via the torque transducer onto the torque calibration unit to generate the angular acceleration of its shafting. By measuring the angular acceleration and the moment of inertia of the shafting, the dynamic torque could be accurately determined according to Equation (1) [4]. Then, the dynamic torque value measured by the dynamic torque calibration unit was compared with the value measured synchronously of the torque transducer to realize the dynamic calibration for the torque transducer.
As a dynamic torque calibration system, the accurate dynamic torque value had to first be obtained before it could be compared with the measured value of the torque transducer. Therefore, it was required to accurately measure the moment of inertia J and angular acceleration   α ¨ of the shafting. The moment of inertia J of the shafting of the torque calibration unit was constant in a single experiment and could be measured in advance by the torsional pendulum method [31]. In the calibration experiment, the rotation angle α of the shafting was dynamically measured by a circular grating. The angular acceleration   α ¨ could be obtained by twice differentiating the measured angle α. Then, substituting J and   α ¨ into Equation (1), the dynamic torque could be obtained. Finally, the dynamic torque results were used to calibrate the torque transducer. In order to obtain a higher calibration accuracy, the dynamic torque calibration system was equipped with a high-precision circular grating for the angle measurement, and the error compensation was performed on the measured angle. In the following sections, the error model and compensation method of the circular grating angle measurement was discussed in detail.

3. Establishment and Simulation Analysis of Angle Measurement Error Model

3.1. Angle Measurement Error Modeling

3.1.1. Eccentricity Error Modeling

Without considering the inclination error, the eccentricity error of the circular grating with a single reading head is shown in Figure 2.
In Figure 2, the blue dotted circle indicates the circular grating radial section where the measuring point of reading head one was located (referred to as “reading section” for short). r is the radius of the radial section. The rotation center O and the geometric center O′ of the reading section generally did not coincide. The distance between these two points is the eccentricity e. According to the position of the measuring point of reading head one, two two-dimensional rectangular coordinate systems were established on the reading section, namely, the fixed coordinate system (FCS) xOy and the rotating coordinate system (RCS) x′O′y′. When the reading section rotated counterclockwise from the position of the blue dotted circle to the position of the black solid circle, α was the actual rotation angle of the shafting. The rotating coordinate system x′O′y′ rotated counterclockwise around the origin O to the coordinate system x″O″y″ position. The measuring point of reading head one changed from A to B. β is the measured value of reading head one. δ is the eccentricity error. Evidently, δ = βα. The coordinates of each point before and after rotation in Figure 2 are shown in Table 1.
According to the two-dimensional coordinate transformation matrix, we had:
{ x O = x O cos α + y O sin α y O = x O sin α + y O cos α
In Figure 2, O″K is perpendicular to the y′-axis. Then,
k = x O x O = y O sin α x O ( 1 cos α )
Let O O x be θe, which is called the eccentricity angle, so:
{ x O = e cos θ e y O = e sin θ e
Substituting Equation (4) into Equation (3), we obtained:
k = e [ cos ( α θ e ) cos θ e ]
In ΔO″KB, the length of side O″B is equal to r, then:
sin δ = k r = e r [ cos ( α θ e ) cos θ e ]
When the value of e was much smaller than r, we had:
δ e r [ cos ( α θ e ) cos θ e ]
Equation (7) shows that the eccentricity error was related not only to the eccentricity e, but also to the eccentricity angle θe. θe has four special values:
  • When θe = ±π/2, x O = 0 and y O = ± e . In this case, the initial y′-axis of the RCS coincides with the y-axis of the FCS. Then, Equation (7) can be simplified to:
    δ = ± e r sin α
  • When θe = 0 or θe = π, y O = 0 , x O = ± e . In this case, the initial x′-axis of the RCS coincides with the x-axis of the FCS. Then, Equation (7) can be simplified to:
    δ = ± e r ( 1 cos α )

3.1.2. Inclination Error Modeling

Without considering the eccentricity error, the inclination error of the circular grating with a single reading head is shown in Figure 3.
In Figure 3a, θ is the included angle between the rotation axis and the geometric axis of the shafting, which is called the inclination angle. L is the distance from the spatial intersection of the rotation axis and the geometric axis of the shafting to the radial section of the circular grating. r is the outer diameter of the circular grating.
In Figure 3b, O is the rotation center, and the reading section rotates around O. The red circle represents the trajectory of the geometric center of the reading section. When the rotating coordinate system xOy′ rotated counterclockwise around the origin O to the coordinate system xOy″ position, the geometric center of the reading section rotated from O′ to O″ at an angle of α.
In the reading section, the maximum distance between measuring point A of reading head one and the rotation center O was:
max ( R ) = L sin θ + r cos θ
The reading section was an ellipse, and its major axis a and minor axis b were, respectively:
{ a = r cos θ b = r
Because the value of θ is usually very small, it was approximately considered that the reading cross-section was circular (the radius was still equal to r) to simplify the calculation. Then, the reading section of the shafting at the inclination was similar to that at the eccentricity. Therefore, the distance from the center of the ellipse to the rotation axis was the eccentricity caused by the inclination, which was:
e L = max ( R ) a = L sin θ + r ( cos θ 1 cos θ )
According to Equation (6), the inclination error was:
δ = arcsin ( [ L r sin θ + ( cos θ 1 cos θ ) ] [ cos ( α θ L ) cos θ L ] )
Because cos θ 1 cos θ = tan θ sin θ L r sin θ , it was rounded off during calculation. Therefore, Equation (13) could be approximately simplified to:
δ L r sin θ [ cos ( α θ L ) cos θ L ]

3.1.3. Total Error Model

When the eccentricity error and the inclination error coexist, the total error combining the two factors is:
δ = δe + δθ
where δe is the eccentricity error and δθ is the inclination error. According to Equation (7) and Equation (14), we obtained:
δ = e r [ cos ( α θ e ) cos θ e ] + L r sin θ [ cos ( α θ L ) cos θ L ]
When θL = θe, we had:
δ = ( e + L sin θ ) r [ cos ( α θ e ) cos θ e ]
The total error increased due to the superposition of the eccentricity error and the inclination error. This condition should be avoided in the experiment, which reduced the accuracy of angle measurement.
When θL = θe + π, we had:
δ = ( e L sin θ ) r [ cos ( α θ e ) cos θ e ]
In this case, the two errors could be partially offset. In the experiment, the shafting should work under this condition as much as possible to improve the angle measurement accuracy.
Let θL = θe + θeL and substitute it into Equation (16) to obtain:
δ = 2 r sin α 2 [ ( e + L sin θ cos θ e L ) sin ( α 2 θ e ) ( L sin θ sin θ e L ) cos ( α 2 θ e ) ]
Let C = e + L sin θ cos θ e L , D = L sin θ sin θ e L , cos φ = C C 2 + D 2 and sin φ = C C 2 + D 2 . Then, we obtained:
δ = 1 r C 2 + D 2 cos ( θ e + φ ) + 1 r C 2 + D 2 cos ( α θ e φ )
Let δ 0 = 1 r C 2 + D 2 cos ( θ e + φ ) , C δ = 1 r C 2 + D 2 , φ 0 = π 2 θ e φ . Then,
δ = δ 0 + C δ sin ( α + φ 0 )
Error δ is a first harmonic function. Then, we could calibrate the measurement angle by fitting the error data to the first harmonic, and provide an error compensation curve. Moreover, after determining the eccentricity parameters (including e and θe) and the inclination parameters (including L and θL), we could compensate for the measurement value of the single reading head to obtain a higher measurement accuracy.

3.2. Simulation Comparison of Various Models of Angle Measurement Error

3.2.1. Simulation Comparison between the Eccentricity Error Model and the Inclination Error Model

The purpose of the simulation in this section was to analyze the relationship between the models given in Section 3.1. Therefore, the assumed values of these parameters in the model could be arbitrary values, which would not affect the simulation conclusions. However, during the model simulation analysis, we should also consider the actual situation. The radius of a commonly used circular grating is about 100 mm, so let r = 100 mm. Because the length of the shafting in the experiment was 71 mm, we assumed that the spatial intersection position of the rotation axis and the geometric axis was just in the middle of the shafting when the shafting rotation produced an inclination angle; therefore, let L = 35.5 mm. Because the machining accuracy of the rotating shaft and the bearing was were very small when the shafting rotated, generally e ≤ 0.1 mm, θ ≤ 0.1°. For ease of analysis, we set e and θ to be larger values; therefore, let e = 0.1 mm, θ = 0.1°. In this way, the angle measurement errors caused by them would be larger, which was helpful for us to observe the characteristics of these errors and draw correct conclusions.
Let r = 100 mm and e = 0.1 mm. The shafting rotated one turn, and the value of α was from 0° to 360°. The angle measurement error data calculated by using the proposed eccentricity error model (Equation (7)) are shown in Table 2.
The relationship among eccentricity error δe, eccentricity angle θe, and rotation angle α is shown in Figure 4.
As shown in Figure 4, when the eccentricity e was the same and the eccentricity angle θe was different, the eccentricity error results obtained by Equation (4) were also different. It showed that the eccentricity angle was an important parameter for the eccentricity error compensation. Only when the eccentricity angle was determined could the initial position of the rotation be determined, and the measurement result could be compensated.
Let r = 100 mm, L = 35.5 mm, θ = 0.1°, and θL = θe + 30°. The shafting rotated one turn, and the value of α was from 0° to 360°. The angle measurement error data calculated by using the proposed inclination error model (Equation (14)) are shown in Table 3.
Let r = 100 mm, θ = 0.1°, and θL = 30°. The shafting rotated one turn, and the value of α was from 0° to 360°. The relationship among the inclination error δL, L, and the rotation angle α is shown in Figure 5.
From the comparison of the data in Table 2 and Table 3, it can be seen that the inclination error and the eccentricity error were in the same order of magnitude. The same conclusion can be drawn by comparing Figure 4 and Figure 5. Therefore, when analyzing the angle measurement error of the circular grating, the inclination angle error is also a very important factor and cannot be ignored all the time.

3.2.2. Total Error Simulation

Let r = 100 mm, L = 35.5 mm, θ = 0.1°, and θL = θe + 30°. The shafting rotated one turn, and the value of α was from 0° to 360°. The angle measurement error data calculated by using the proposed total error model (Equation (16)) are shown in Table 4.
Let r = 100 mm, L = 35.5 mm, θ = 0.1°, α = 15°, θ e [ π , π ] , and θ L [ π , π ] . The relationship among the total error δ, θe, and θL is shown in Figure 6.
Let λ = e L sin θ , which is the amplitude ratio of the eccentricity error and the inclination error in the total error. If λ < 10−2, the eccentricity error was two orders of magnitude smaller than the inclination error. In this case, the inclination error was the main source of the errors. In order to simplify the calculation, we could ignore the eccentricity error and use the inclination error to approximate the total error. If λ > 102, the eccentricity error was two orders of magnitude larger than the inclination error. In this case, the eccentricity error was the main source of the errors. In order to simplify the calculation, we could ignore the inclination error and use the eccentricity error to approximate the total error.
Through the above-mentioned comparative analysis, the following conclusions were drawn: both the eccentricity error and the inclination error were the main factors of the angle measurement error of the circular grating. In specific applications, the proportion of the two should be analyzed before appropriate simplification.

4. Error Calibration and Compensation Experiment

4.1. Experiment Setup

The calibration and compensation experiment system for the angle measurement error of the circular grating included a shaft, a circular grating, an autocollimator, a 24-sided prism, a data acquisition unit, and an air floating platform, as shown in Figure 7. The angular measurement accuracy of the circular grating was 1.05″ and the resolution was 0.21″. The accuracy of the 24-sided prism was 0.5″. The accuracy of the Autocollimator was 0.5″ and the resolution was 0.01″. The sampling frequency of the data acquisition unit was 0.1 MHz. The air floating platform could isolate the vibration interference of the external environment. The 24-sided prism and the circular grating were installed on the same side of the shaft. The circular grating was equipped with double reading heads. The double reading heads were arranged on the upper and lower diameter positions of the circular grating. The parameters of the double reading heads were the same. When the shafting rotated to different positions, the data acquisition unit synchronously collected the angle measurement data of the autocollimator and the double reading heads. The measurement value of reading head one was used for the angle measurement error analysis of the single reading head. The synchronized measurement values of reading head one and reading head two were used for the measurement error analysis of the double reading heads. The error compensation method was described in detail in the next section.

4.2. Calibration and Compensation Method for the Angle Measurement Error

Before compensating the angle measurement error of the circular grating, the angle measurement system should be calibrated to obtain the compensation curve. The 24-sided prism and the circular grating were installed on the same side of the shaft. During the calibration experiment, we rotated the shaft so that the 24-sided prism was aligned with the autocollimator from the 0th side to the 23rd side in sequence. According to the characteristics of the 24-sided prism, the shafting rotated 15° each time, and the readings of the autocollimator and the double reading heads were recorded once. When the shafting rotated one circle, we obtained a set of measurement data. The above experiment was repeated 40 times to obtain 40 groups of measurement data. The 25 groups of measurement data were processed according to the calibration method steps in Figure 8 to obtain the angle measurement error compensation curve of a single reading head.
In Figure 8, after the shafting rotated one circle, the measurement value β1 of reading head one and the measurement value β2 of reading head two were, respectively, compared with the corresponding angle values of the 24-sided prism, and the angle measurement errors Δβ1 and Δβ2 were obtained. The arithmetic average of the two was Δβ12, which was the angle measurement error of the double reading heads. Through an observation, it was found that the discrete point distribution curve of Δβ12 was close to the second harmonic curve. According to the principle of eliminating the angle measurement error of the double reading heads, the uniform arrangement of the double reading heads could only eliminate odd harmonic error components. It shows that Δβ12 contained the second harmonic component. Then, the difference Δβ1′ between the angle measurement error Δβ1 of reading head one and the angle measurement error Δβ12 of the double reading heads had to include the angle measurement error described in Equation (21). The 25 groups of experimental data were processed to find the corresponding Δβ12 and Δβ1′, respectively. The arithmetic average was Δ β 12 ¯ and Δ β 1 ¯ . Performing a sine fitting on Δ β 12 ¯ and Δ β 1 ¯ , respectively, we obtained the second harmonic fitting error compensation function and the first harmonic fitting error compensation function.
The first harmonic fitting error compensation function was:
δ 1 = δ 1 0 + A 1 sin ( α + φ 1 )
where φ 1 is the initial phase of the first harmonic, A1 is the first harmonic amplitude, and δ 1 0 is the first harmonic amplitude offset. Comparing Equation (22) and Equation (21), it can be seen that the first harmonic fitting error compensation function was consistent with the total error model of the circular grating angle measurement.
The second harmonic fitting error compensation function was:
δ 12 = δ 12 0 + A 12 sin ( 2 α + φ 12 )
where α is the true value of the rotation angle, φ 12 is the initial phase of the second harmonic, A12 is the second harmonic amplitude and δ 12 0 is the second harmonic amplitude offset. Then, δ = δ1 + δ12 was the error compensation function of the single reading head, and Equation (23) was the error compensation function of the double reading heads.
According to the initial phases φ 1 and φ 12 of the fitting function and the position of the shaft corresponding to the 0th side of the prism, the initial flag of the error compensation could be determined. Then, in the experiment, according to the error compensation functions, starting from the initial flag, the angle measurement error of one revolution of the shafting could be compensated. To each group of measurement data, the compensation function β1* and the residual error v1 after the compensation of reading head one were, respectively:
β 1 * = α + δ
v 1 = β 1 β 1 *
The compensation function β12* and the residual error v12 after the compensation of the double reading heads were, respectively:
β 12 * = α + δ 12
v 12 = β 12 β 12 *
where β12 is the mean value of the double reading heads.
Using the remaining 15 groups of measurement data, we could calculate the residual error v1 of reading head one and the residual error v12 of the double reading heads according to the above equations, and validate the proposed error compensation functions.

5. Results and Discussion

5.1. Experimental Results and Discussion of the Angle Measurement Error

According to Section 4.2, the experiment was repeated 40 times to obtain 40 groups of angle measurement data. In total, 25 groups of measurement data were processed according to the steps shown in Figure 8. β1 and β2 in the fifth group of data, and the corresponding Δβ1′ and Δβ12, are listed in Table 5.
After averaging 25 groups of data, the data were fitted to obtain the parameter values in the compensation function of the angle measurement error of reading head one, as shown in Table 6.
According to the fitting results in Table 6, the compensation vectors δ1, δ12, and δ could be obtained. The compensation results of the single reading head and the double reading heads are shown in Table 7.
In Table 7, the peak-to-peak error (16.92″) after the first harmonic compensation of reading head one was reduced to 17.05% of the peak-to-peak error (99.24″) before compensation, which was basically the same as the error (14.29″) of the mean value of the double reading heads. Further, the peak-to-peak error (6.19″) after the second harmonic compensation of reading head one was reduced to 6.24% of the peak-to-peak error (99.24″) before compensation, which was of the same orders of magnitude as the error (2.68″) after the second harmonic compensation of the mean value of the double reading heads. After two progressive compensations, the peak-to-peak error of reading head one was reduced by 93.76%, which was almost two orders of magnitude, and the compensation effect was very significant. The error curve of reading head one after compensation and the error curve of the average value of the double reading head are shown in Figure 9.
It can be intuitively seen in Figure 9 that the trend and amplitude of the error curve after the first harmonic compensation of reading head one and the error curve of the mean value of the double reading heads were basically the same. After the second harmonic compensation, the trend and amplitude of the error curve of reading head one were also very close to the error curve of the mean value of the double reading heads. The experimental results showed that the compensated angle measurement accuracy of the single reading head was consistent with that of the double reading heads. Moreover, comparing the data of v1 and Δβ12, we could also see that the error of the single reading head after two progressive compensations was much smaller than the error of the mean value of the double reading heads without compensation. It showed that the angle measurement accuracy of the single reading head after the secondary compensation was higher than the angle measurement accuracy of the mean value of the double reading heads without compensation.
Next, we used the remaining 15 groups of measurement data to verify the error compensation function obtained from the previous 25 groups of measurement data. The residual error v1 of reading head one after two progressive compensations is shown in Figure 10.
The peak-to-peak value and uncertainty of residual errors in 15 groups (as shown in Figure 10) could be obtained. In the calculated results, the maximum value of the peak-to-peak value was 7.88″, and the maximum value of the uncertainty was 2.08″. The results showed that the measurement data had good repeatability, and the error compensation functions obtained by the method in Figure 8 could effectively compensate the angle measurement error of the circular grating and improve the angle measurement accuracy of the shafting.

5.2. Simulation Results of the Error Compensation in the Dynamic Torque Calibration System

For dynamic torque calibration, the shafting swung sinusoidally. The swing angle was set as α, and:
  α = A sin ( ω t + φ )
where A is the swing angle amplitude, φ is the phase, ω is the angular frequency, and t is the time. Then, the angular velocity was:
  d α d t = A ω cos ( ω t + φ )
The angular acceleration was:
d 2 α d t 2 = A ω 2 sin ( ω t + φ )  
When there were eccentricity and inclination errors in the angle measurement of the shafting, according to the method in Figure 8, the angle measurement compensation function could be obtained as shown in Equation (24). Substituting Equation (22) and Equation (23) into Equation (24), we obtained:
β 1 * = α + δ 1 0 + A 1 sin ( α + φ 1 ) + δ 12 0 + A 12 sin ( 2 α + φ 12 )
The derivative of β1* was:
d β 1 * d t = d α d t ( 1 + A 1 cos ( α + φ 1 ) + 2 A 12 cos ( 2 α + φ 12 ) )
Then, the second derivative of β1* was:
d 2 β 1 * d t 2 = d 2 α d t 2 ( 1 + A 1 cos ( α + φ 1 ) + 2 A 12 cos ( 2 α + φ 12 ) ) ( d α d t ) 2 ( A 1 sin ( α + φ 1 ) + 4 A 12 sin ( 2 α + φ 12 ) )
Therefore, the error compensation function of the angular acceleration was as follows:
  Δ β ¨ = d 2 β 1 * d t 2 d 2 α d t 2 = A ω 2 sin ( ω t + φ ) ( A 1 cos ( α + φ 1 ) + 2 A 12 cos ( 2 α + φ 12 ) ) A ω cos ( ω t + φ ) ( A 1 sin ( α + φ 1 ) + 4 A 12 sin ( 2 α + φ 12 ) )
where Δ β ¨ is the error compensation value of the angular acceleration. Thus, according to Equation (1), the dynamic torque error was:
  Δ T = J Δ β ¨
In the simulation, let the swing angle amplitude be 90°, the frequency be 10 Hz, and the initial phase be 0°. Then,   α = π 2 sin ( 20 π t ) . Let the moment of inertia J be 2 kg·m2 and, using the compensation data in Table 6, we could obtain the dynamic torque compensation curve as shown in Figure 11. In Figure 11, the peak-to-peak value of the torque error compensation curve was 11.96 N·m. The simulation results showed that the application of the error compensation method shown in Figure 8 could improve the accuracy of the dynamic torque calibration system.

6. Conclusions

After analyzing the sources of the angle measurement error of the shafting, an eccentricity error model and an inclination error model were established, respectively, in this paper. Further, a total error model combining the two models was established. Through a simulation study with the models, the conditions, in which the eccentricity error or inclination error could be ignored, were discussed. The calibration and compensation methods of the angle measurement error were given, and the progressive error compensation function which integrated the first harmonic fitting and the second harmonic fitting was obtained. Then, an experiment was performed to verify the proposed calibration and compensation methods. Finally, the influence of the angle measurement error on the dynamic torque calibration system was simulated.
According to the experimental results, the peak-to-peak error of the single reading head after the first harmonic compensation was only about 17.05% of the peak-to-peak error before compensation, which was essentially the same as the mean value of the double reading heads. Further, the peak-to-peak error after the second harmonic compensation of the single reading head was only 6.24% of the peak-to-peak error before compensation, which was also very close to the error after the second harmonic compensation of the mean value of the double reading heads. After two progressive compensations, the peak-to-peak value of the compensated angle measurement error of the single reading head could be reduced by about 93.76%. In the verification experiment, the peak-to-peak value and uncertainty of residual errors in 15 groups could be obtained. In the calculated results, the maximum value of the peak-to-peak value was 7.88″ and the maximum value of the uncertainty was 2.08″. The experimental results showed that the error calibration and compensation method based on the proposed error model could effectively compensate the angle measurement error of the circular grating with a single reading head, and obtain a high-precision measurement angle.
The residual error after the second harmonic compensation also contained many other factors, mainly including the measurement error caused by the roundness and deformation of the circular grating, and the reading error caused by the reading head itself, etc. In the next work, we will conduct more in-depth research to obtain a higher angle measurement accuracy.

Author Contributions

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

Funding

This research was funded by the project of the Beijing Zhenxing Institute of Metrology and Measurement, grant number Z2018ZJ044.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Kim, J.-H. Multi-axis force-torque sensors for measuring zero-moment point in humanoid robots: A review. IEEE Sens. J. 2019, 20, 1126–1141. [Google Scholar] [CrossRef]
  2. Zhao, H. Present situation and development review of torque measurement. Appl. Mech. Mater. 2013, 422, 141–145. [Google Scholar] [CrossRef]
  3. Kai, L.; Feng, Y.; Yinghui, H. Torque measurement error analysis and compensation of electrical steering engine decelerator. Chin. J. Sci. Instrum. 2013, 34, 2271–2278. [Google Scholar]
  4. Bruns, T. Sinusoidal Torque Calibration: A Design for Traceability in Dynamic Torque Calibration. In Proceedings of the XVII IMEKO World Congress, Dubrovnik, Croatia, 22–27 June 2003; pp. 1–4. [Google Scholar]
  5. Wegener, G.; Bruns, T. Traceability of torque transducers under rotating and dynamic operating conditions. Measurement 2009, 42, 1448–1453. [Google Scholar] [CrossRef]
  6. Zhang, L.; Wang, Z.Y.; Yin, X. Research on new dynamic torque calibration system. In Proceedings of the AIP Conference Proceedings; AIP Publishing LLC: Melville, NY, USA, 2016; Volume 1740, p. 90004. [Google Scholar]
  7. Chen, X.J.; Wang, Z.H.; Zeng, Q.S. Angle measurement error and compensation for decentration rotation of circular gratings. J. Harbin Inst. Technol. 2010, 4, 536–539. [Google Scholar]
  8. Chen, X.J.; Wang, Z.H.; Wang, Z.B.; Zeng, Q.S. Angle measurement error and compensation for pitched rotation of circular grating. J. Harbin Inst. Technol. 2011, 18, 11–15. [Google Scholar]
  9. Zhao, H.H.; Ding, L.; Zhu, L.; Liu, Q.; Tan, W.H.; Shao, C.G.; Luo, P.; Yang, S.Q.; Tu, L.C.; Luo, J. Influence of the tilt error motion of the rotation axis on the test of the equivalence principle with a rotating torsion pendulum. Rev. Sci. Instrum. 2021, 92, 34503. [Google Scholar] [CrossRef]
  10. Zhang, G.; Zheng, J.; Yu, H.; Zhao, R.; Shi, W.; Wang, J. Rotation Accuracy Analysis of Aerostatic Spindle Considering Shaft’s Roundness and Cylindricity. Appl. Sci. 2021, 11, 7912. [Google Scholar] [CrossRef]
  11. Chen, D.; Zhao, Y.; Liu, J. Characterization and Evaluation of Rotation Accuracy of Hydrostatic Spindle under the Influence of Unbalance. Shock Vib. 2020, 2020, 5181453. [Google Scholar] [CrossRef]
  12. 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–131. [Google Scholar] [CrossRef]
  13. Zhang, S.Z. The Principle of Eliminating Errors of Multi-reading Head Structure in High-precision Circular Index Measuring Device. Tool Eng. 1982, 6, 42–46. [Google Scholar]
  14. Geckeler, R.D.; Link, A.; Krause, M.; Elster, C. Capabilities and limitations of the self-calibration of angle encoders. Meas. Sci. Technol. 2014, 25, 55003. [Google Scholar] [CrossRef] [Green Version]
  15. Jiao, Y.; Dong, Z.; Ding, Y.; Liu, P. Optimal arrangements of scanning heads for self-calibration of angle encoders. Meas. Sci. Technol. 2017, 28, 105013. [Google Scholar] [CrossRef] [Green Version]
  16. Xi, R.; Shengping, D.; Ke, C.; Jihong, W. Error source and spectrum analysis for angle measurement of circular grating encoder. Laser Optoelectron. Prog. 2020, 57, 171205. [Google Scholar]
  17. Xue, J.; Qiu, Z.; Fang, L.; Lu, Y.; Hu, W. Angular measurement of high precision reducer for industrial robot. IEEE Trans. Instrum. Meas. 2020, 70, 1–10. [Google Scholar]
  18. Lou, Z.-F.; Liu, L.; Zhang, J.-Y.; Fan, K.; Wang, X.-D. A self-calibration method for rotary tables’ five degrees-of-freedom error motions. Measurement 2021, 174, 109067. [Google Scholar] [CrossRef]
  19. Yu, Y.; Dai, L.; Chen, M.-S.; Kong, L.-B.; Wang, C.-Q.; Xue, Z.-P. Calibration, compensation and accuracy analysis of circular grating used in single gimbal control moment gyroscope. Sensors 2020, 20, 1458. [Google Scholar] [CrossRef] [Green Version]
  20. Geckeler, R.D.; Fricke, A.; Elster, C. Calibration of angle encoders using transfer functions. Meas. Sci. Technol. 2006, 17, 2811–2818. [Google Scholar] [CrossRef]
  21. Li, K.; Yuan, F. Measuring angle’s error analysis and compensation of circular grating sensor based on Monte Carlo method. J. Optoelectron. 2014, 27, 115011. [Google Scholar]
  22. Deng, F.; Chen, J.; Wang, Y.; Gong, K. Measurement and calibration method for an optical encoder based on adaptive differential evolution-Fourier neural networks. Meas. Sci. Technol. 2013, 24, 55007. [Google Scholar] [CrossRef]
  23. Kinnane, M.N.; Hudson, L.T.; Henins, A.; Mendenhall, M.H. A simple method for high-precision calibration of long-range errors in an angle encoder using an electronic nulling autocollimator. Metrologia 2015, 52, 244–250. [Google Scholar] [CrossRef]
  24. Cai, N.; Wei, X.; Peng, H.; Han, W.; Yang, Z.; Xin, C. A novel error compensation method for an absolute optical encoder based on empirical mode decomposition. Mech. Syst. Signal Process. 2017, 88, 81–88. [Google Scholar] [CrossRef]
  25. Chen, B.; Peng, C.; Huang, J. A new error model and compensation strategy of angle encoder in torsional characteristic measurement system. Sensors 2019, 19, 3772. [Google Scholar] [CrossRef] [Green Version]
  26. Jia, H.-K.; Yu, L.-D.; Jiang, Y.-Z.; Zhao, H.-N.; Cao, J.-M. Compensation of rotary encoders using fourier expansion-back propagation neural network optimized by genetic algorithm. Sensors 2020, 20, 2603. [Google Scholar] [CrossRef]
  27. Gao, M.; Wang, L.; Zhao, F. Research on High Precision Angle Measurement and Compensation Technology Based on Circular Grating. J. Phys. Conf. Ser. 2021, 1838, 12075. [Google Scholar] [CrossRef]
  28. Zheng, D.; Yin, S.; Luo, Z.; Zhang, J.; Zhou, T. Measurement accuracy of articulated arm CMMs with circular grating eccentricity errors. Meas. Sci. Technol. 2016, 27, 115011. [Google Scholar] [CrossRef]
  29. Li, Y.-T.; Fan, K.-C. A novel method of angular positioning error analysis of rotary stages based on the Abbe principle. Proc. Inst. Mech. Eng. Part B J. Eng. Manuf. 2018, 232, 1885–1892. [Google Scholar] [CrossRef]
  30. Chen, G. Improving the angle measurement accuracy of circular grating. Rev. Sci. Instrum. 2020, 91, 65108. [Google Scholar] [CrossRef] [PubMed]
  31. Zhao, Y.; Tang, W.; Zhang, X.; Wang, J. An identification method of moment of inertia based on torsional pendulum vibration. J. Vib. Diagn. 2014, 34, 621–624. [Google Scholar]
Figure 1. Schematic diagram of the dynamic torque calibration system.
Figure 1. Schematic diagram of the dynamic torque calibration system.
Sensors 21 07599 g001
Figure 2. Schematic diagram of the eccentricity error of angle measurement with a single reading head.
Figure 2. Schematic diagram of the eccentricity error of angle measurement with a single reading head.
Sensors 21 07599 g002
Figure 3. Schematic diagram of the inclination error of angle measurement with a single reading head. (a) Axial section of the shafting; (b) reading section of the shafting.
Figure 3. Schematic diagram of the inclination error of angle measurement with a single reading head. (a) Axial section of the shafting; (b) reading section of the shafting.
Sensors 21 07599 g003
Figure 4. The eccentricity error δe varied with the eccentric angle θe (when e = 0.1 mm).
Figure 4. The eccentricity error δe varied with the eccentric angle θe (when e = 0.1 mm).
Sensors 21 07599 g004
Figure 5. The inclination error varied with L (when θ = 0.1°).
Figure 5. The inclination error varied with L (when θ = 0.1°).
Sensors 21 07599 g005
Figure 6. The total error δ varied with θe and θL.
Figure 6. The total error δ varied with θe and θL.
Sensors 21 07599 g006
Figure 7. Experimental system for calibration and compensation of the angle measurement error of the circular grating.
Figure 7. Experimental system for calibration and compensation of the angle measurement error of the circular grating.
Sensors 21 07599 g007
Figure 8. Calibration steps of the angle measurement error of the single reading head.
Figure 8. Calibration steps of the angle measurement error of the single reading head.
Sensors 21 07599 g008
Figure 9. The error curve of reading head one and the error curve of the average value of the double reading heads.
Figure 9. The error curve of reading head one and the error curve of the average value of the double reading heads.
Sensors 21 07599 g009
Figure 10. The residual error v1 of reading head one after two progressive compensations (15 groups of measurement data).
Figure 10. The residual error v1 of reading head one after two progressive compensations (15 groups of measurement data).
Sensors 21 07599 g010
Figure 11. Error compensation curve of the dynamic torque.
Figure 11. Error compensation curve of the dynamic torque.
Sensors 21 07599 g011
Table 1. The coordinates of points before and after rotation.
Table 1. The coordinates of points before and after rotation.
FCS OriginRCS OriginMeasuring Point
Before rotationO(0, 0) O′(xO′, yO′) A(xA, yA)
After rotationO(0, 0) O″(xO″, yO″) B(xB, yB)
Table 2. Simulation data of the eccentricity error (unit: degree).
Table 2. Simulation data of the eccentricity error (unit: degree).
θe015304590180270
α
00000000
15−0.0020.0020.0060.0090.0150.002−0.015
30−0.00800.0080.0150.0290.008−0.029
45−0.017−0.0060.0060.0170.0410.017−0.041
90−0.057−0.041−0.02100.0570.057−0.057
180−0.115−0.111−0.099−0.08100.1150.000
270−0.057−0.070−0.078−0.081−0.0570.0570.057
Table 3. Simulation data of the inclination error (unit: degree).
Table 3. Simulation data of the inclination error (unit: degree).
θL015304590180270
α
00000000
15−0.0090.007−0.002−0.0050.0040.005−0.009
30−0.0180.013−0.001−0.0110.0060.013−0.018
45−0.0260.0160.002−0.0190.0060.021−0.025
90−0.0410.0120.023−0.046−0.0080.048−0.035
180−0.011−0.0370.068−0.065−0.0580.0630.002
2700.030−0.0490.045−0.019−0.0500.0150.036
Table 4. Simulation data of the total error (unit: degree).
Table 4. Simulation data of the total error (unit: degree).
θe015304590180270
α
00000000
15−0.0110.0090.0040.0040.0190.007−0.024
30−0.0260.0130.0070.0040.0350.020−0.046
45−0.0430.0100.008−0.0030.0470.038−0.065
90−0.098−0.0290.002−0.0460.0490.105−0.092
180−0.126−0.148−0.032−0.146−0.0580.1770.002
270−0.028−0.119−0.034−0.100−0.1070.0720.094
Table 5. The fifth group of angle measurement data and errors.
Table 5. The fifth group of angle measurement data and errors.
α (°) 153045607590105120
β1 (°)14.997229.994244.991859.989074.985989.9848104.9821119.9806
β2 (°) 15.004430.009345.012960.017275.019990.0194105.0207120.0209
Δβ1′ (″) −12.89−27.20−38.08−50.78−61.19−62.39−69.31−72.57
Δβ12′ (″) 2.986.338.4711.1010.457.605.042.78
α (°) 135150165180195210225240
β1 (°)134.9805149.9821164.9832179.9873194.9914209.9951224.9992240.0037
β2 (°) 135.0196150.0169165.0150180.0130195.0107210.0086225.0055240.0025
Δβ1′ (″) −70.33−62.49−57.20−46.30−34.89−24.31−11.252.03
Δβ12′ (″) 0.25−1.78−3.130.573.816.548.4911.16
α (°) 255270285300315330345360
β1 (°)255.0053270.0065285.0073300.0081315.0063330.0035345.0016360.0003
β2 (°) 255.0003269.9983284.9952299.9934314.9943329.9959344.9971359.9994
Δβ1′ (″) 9.1114.7421.7026.5021.6313.538.001.77
Δβ12′ (″) 10.078.544.562.651.10−1.10−2.31−0.55
Table 6. The parameter values in the angle measurement error compensation function of reading head one.
Table 6. The parameter values in the angle measurement error compensation function of reading head one.
Parameter φ 1   ( ° ) φ 12   ( ° ) A1 (″)A12 (″) δ 1 0 (″) δ 12 0 (″)
Value208.71119.79147.056.40−24.044.18
Table 7. Comparison of the peak-to-peak error between reading head one and the double reading heads (unit: arc second).
Table 7. Comparison of the peak-to-peak error between reading head one and the double reading heads (unit: arc second).
Peak-to-Peak Error
before Compensation
Peak-to-Peak Error after First Harmonic CompensationPeak-to-Peak Error after Second Harmonic Compensation
Reading Head OneΔβ1Δβ1δ1v1
99.2416.926.19
Double Reading HeadsΔβ12-v12
14.29-2.68
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Du, Y.; Yuan, F.; Jiang, Z.; Li, K.; Yang, S.; Zhang, Q.; Zhang, Y.; Zhao, H.; Li, Z.; Wang, S. Strategy to Decrease the Angle Measurement Error Introduced by the Use of Circular Grating in Dynamic Torque Calibration. Sensors 2021, 21, 7599. https://doi.org/10.3390/s21227599

AMA Style

Du Y, Yuan F, Jiang Z, Li K, Yang S, Zhang Q, Zhang Y, Zhao H, Li Z, Wang S. Strategy to Decrease the Angle Measurement Error Introduced by the Use of Circular Grating in Dynamic Torque Calibration. Sensors. 2021; 21(22):7599. https://doi.org/10.3390/s21227599

Chicago/Turabian Style

Du, Yongbin, Feng Yuan, Zongze Jiang, Kai Li, Shuiwang Yang, Qingbai Zhang, Yinghui Zhang, Hongliang Zhao, Zhaorui Li, and Shunli Wang. 2021. "Strategy to Decrease the Angle Measurement Error Introduced by the Use of Circular Grating in Dynamic Torque Calibration" Sensors 21, no. 22: 7599. https://doi.org/10.3390/s21227599

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