Next Article in Journal
Impact of PCA Pre-Normalization Methods on Ground Reaction Force Estimation Accuracy
Previous Article in Journal
Analysis of the Scenarios of Use of an Innovative Technology for the Fast and Nondestructive Characterization of Viscoelastic Materials in the Tires Field
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Active Compensation Technology for the Target Measurement Error of Two-Axis Electro-Optical Measurement Equipment

1
State Key Laboratory of Intelligent Manufacturing Equipment and Technology, School of Mechanical Science and Engineering, Huazhong University of Science and Technology, Wuhan 430074, China
2
Huazhong Institute of Electro-Optics, Wuhan National Laboratory for Optoelectronics, Wuhan 430223, China
*
Author to whom correspondence should be addressed.
Sensors 2024, 24(4), 1133; https://doi.org/10.3390/s24041133
Submission received: 6 January 2024 / Revised: 2 February 2024 / Accepted: 7 February 2024 / Published: 9 February 2024
(This article belongs to the Section Intelligent Sensors)

Abstract

:
For two-axis electro-optical measurement equipment, there are many error sources in parts manufacturing, assembly, sensors, calibration, and so on, which cause some random errors in the final measurement results of the target. In order to eliminate the random measurement error as much as possible and improve the measurement accuracy, an active compensation technique for target measurement error is proposed in this paper. Firstly, the error formation mechanism and error transfer model establishment of the two-axis electro-optical measurement equipment were studied, and based on that, three error compensation and correction methods were proposed: the least square (LS)-based error compensation method, adaptive Kalman filter(AKF)-based error correction method, and radial basis function neural network (RBFNN)-based error compensation method. According to the theoretical analysis and numerical simulation comparison, the proposed RBFNN-based error compensation method was identified as the optimal error compensation method, which can approximate the random error space surface more precisely, so that a more accurate error compensation value can be obtained, and in order to improve the measurement accuracy with higher precision. Finally, the experimental results proved that the proposed active compensation technology was valid in engineering applicability and could efficiently enhance the measurement accuracy of the two-axis electro-optical measurement equipment.

1. Introduction

The two-axis electro-optical measurement equipment is extensively utilized in astronomical navigation, fire control tracking, landing guidance, and other domains. Its target measurement accuracy serves as a critical technical indicator and directly impacts navigation precision, target hit rate, aircraft landing accuracy, and more. Therefore, enhancing the equipment’s target measurement accuracy holds significant importance in achieving a higher mission success rate. Particularly in time-sensitive tasks, there is an increasing demand for improved equipment measurement accuracy. Consequently, greater attention has been devoted to research and technological advancements aiming at enhancing the measurement accuracy of the two-axis electro-optical measurement equipment.
The two-axis electro-optical measurement equipment is a sophisticated opto-mechatronics device, encompassing various error sources in parts manufacturing, assembly, sensor measurement, and equipment calibration. These error sources ultimately impact the accuracy of the measurements obtained from the equipment. Therefore, it is imperative to analyze how these error sources transfer and subsequently affect the target’s measurement accuracy in order to explore error compensation techniques. Several scholars have conducted research on system error analysis. Liu et al. developed a tracking error model of a solar dish concentrator system based on the rigid body motion theory, and analyzed the effect of the azimuth tilt error on the tracking performance [1]. Li established the position error model and motion error model of the turn-milling combined NC machine tool, and identified the important sensitive error terms by evaluating the influence weights of each error term [2]. Wang constructed the TCP error model of the 3-DOF parallel spindle head using the geometric errors, and got six critical geometric errors [3]. Fang built the geometric error model of the 6-axis welding equipment with 36 geometric error components based on Lie theory, and analyzed the sensitivity of geometric errors by numerical simulation, but no experimental proof was obtained [4]. There are also some studies on error modeling and error sensitivity analysis for five-axis machine tool. A volumetric error model with multiple geometric errors was established based on the multi-body system method, and the corresponding sensitivity analysis method to identify the vital geometric error was proposed [5,6]. In addition, a new PIGEs (position-independent geometric errors) identification model based on DMM (differential motion matrices) was constructed, and the minimum set of PIGEs can be easily found [7]. Furthermore, Yin proposed a programmable identification method to decouple the PDGEs (position dependent geometric errors) and PIGEs, which greatly optimized the error identification method [8]. Different from the above error sensitivity analysis methods, which were carried out in the global coordinate system, the quantitative interval sensitivity analysis method was presented, and the key geometric errors were identified at different intervals [9]. Furthermore, for the robot, Feng used a homogeneous transformation matrix to develop the mapping relationship between the end-effector position error and geometric source errors within the serial mechanism kinematic chains, and studied the kinematics of the spatial serial mechanism with a large number of geometric errors [10]. Li used a full matrix complete differential method to construct the error model of a cable-driven parallel robot, the results confirmed that the cable length errors and pulleys’ geometric errors should be given higher priority in design [11]. San built the error mapping model for the parallel mechanism part of the hybrid robot by using the closed-loop vector method and the first-order perturbation method, and identified the most significant factors affecting the robot’s end posture error, but no error compensation [12]. All of the above studies are based on the kinematics of serial mechanism with multiple geometric errors, and the error model is established through a hierarchical transfer relationship. The primary objective is to analyze the sensitivity of each error source and identify significant error terms with greater influence weight, in order to propose design and operational recommendations. However, there has been limited discussion on the strategy for error compensation.
For the two-axis electro-optical measurement equipment, the design or operation suggestions for some important error terms cannot meet the requirements of improving the target measurement accuracy. Therefore, it is necessary to find a method that actively compensate the measurement error in real time. Fortunately, there has been a growing body of literature on error compensation that primarily focuses on enhancing system performance. Firstly, some error compensation methods have been studied for improving the machining accuracy of parts; these methods inspired people to explore improving the accuracy for other systems [13,14,15,16]. Zhou analyzed the error model of LED chip visual localization systems by the Monte Carlo method, and found that the position acquisition error was the largest error source of the system positioning accuracy error. Then, the corresponding error compensation model was obtained by the LS method, but the number of error sources analyzed was relatively small [17]. In the optical system, increased attention has been paid to the pointing error. An error compensation model was established by analyzing the error sources of the pointing error for the shipboard photoelectric telescope, aiming at the multicollinearity of the model parameters. Moreover, a stepwise regression method was proposed to compensate the repetitive systematic errors, but the nonlinear errors were not covered [18]. A linear pointing error model of the optical communication terminal was established by reformulating the linear equations with dependent variables represented by star measurement data, and the parameter vector was determined by the LS method; however, the parameter vector has no clear physical meaning and the enhancement of pointing accuracy is limited [19]. Similarly, the distortion model of a ground-based telescope is given with no apparent reason, and the fitting coefficients are determined by a simulated annealing algorithm; moreover, the correction effect is basically the same as the physical model [20]. The pointing error of a mirror normal can greatly affect the optical axis pointing accuracy; Zhao has built a digital calibration for the mirror normal pointing error by using the quaternion mathematical method [21]. Different from the general method, the error model of 3D laser scanning is established based on BP neural networks, which links the mathematical error influencing factor and measurement deviation; the final measurement is optimized by the correction of point cloud and the global calibration optimization based on the error model [22] Researchers have proposed some error compensation algorithms for specific error sources, and achieved good results. However, limited attention has been paid to random error. In fact, system accuracy would be enhanced more efficiently if the random error is also taken into account in the error compensation method.
In this paper, both the specific and random error sources of the equipment are taken into consideration. By establishing an error model and conducting error analysis, an active error compensation technology is proposed to enhance measurement accuracy. Firstly, an error transfer model was established based on the equipment’s working principle, and the simulated target measurement error was analyzed. Subsequently, three error compensation or correction methods were proposed. According to the simulation comparison result, the RBFNN-based error compensation method was identified as the optimal approach. Finally, experimental results validated the effectiveness of the proposed active error compensation technique.

2. The Measurement Error Model Establishment and Analysis

Figure 1 shows the target measurement principle diagram of the two-axis electro-optical measurement equipment. The target coordinate system o t x t y t z t is fixed to the target, the target vector can be expressed as 1 0 0 T , the sensor coordinate system o s x s y s z s is fixed to the sensor, the pitch coordinate system o p x p y p z p is fixed to the pitch axis, the azimuth coordinate system o a x a y a z a is fixed to the azimuth, and the base coordinate system o b x b y b z b is fixed to the base. When measuring the target, the azimuth coordinate system rotates an azimuth angle α relative to the base coordinate system, and the sensor coordinate system rotates a pitch angle β relative to the pitch axis coordinate system, so that the sensor coordinate system coincides with the target coordinate system, and the spatial position coordinates of the target are obtained under the base coordinate system. However, due to the parts machining and assembly errors, rolling bearing errors, angle measurement errors, servo control errors, target extraction errors, and other error sources, there are some errors in the measurement results, described in the following steps from the target measurement process to explore the impact of each link error on the measurement results.
Due to the target image extraction errors, the LOS does not really point to the target centroid, but has a certain error angle with the target centroid. As shown in Figure 2, the coordinate axis x t points to the target centroid, the coordinate axis x s represents the LOS, the errors Δ m d y and Δ m d z between them are random errors, and the transformation matrix from o t x t y t z t to o s x s y s z s is represented as T t s .
T t s = cos ( Δ m d y ) 0 sin ( Δ m d y ) 0 1 0 sin ( Δ m d y ) 0 cos ( Δ m d y ) · cos ( Δ m d z ) sin ( Δ m d z ) 0 sin ( Δ m d z ) cos ( Δ m d z ) 0 0 0 1
Due to the sensor assembly errors, there is a certain perpendicularity error between the LOS and the pitch axis. In Figure 3, the coordinate axis x p 1 is the ideal axis perpendicular to the pitch axis, the perpendicularity error Δ p p is uniformly distributed, and the transformation matrix from o s x s y s z s to o p 1 x p 1 y p 1 z p 1 is represented as T s p 1 .
T s p 1 = cos Δ p p sin Δ p p 0 sin Δ p p cos Δ p p 0 0 0 1
The pitch angle p a + Δ p a of the LOS relative to the pitch coordinate system is measured by the angle measuring element mounted in the pitch axis, where p a is the true pitch angle, Δ p a is the angle measuring error caused by electrical and data truncation reasons, and the error is a random distribution error. According to Figure 4, the transformation matrix from o p 1 x p 1 y p 1 z p 1 to o p x p y p z p is represented as T p 1 p :
T p 1 p = cos ( p a + Δ p a ) 0 sin ( p a + Δ p a ) 0 1 0 sin ( p a + Δ p a ) 0 cos ( p a + Δ p a )
Due to the rolling bearing clearance, assembly pre-tighten, and so on, there is a certain wobble when the pitch axis rotates. As shown in Figure 5, the coordinate axes y p and y p 2 are the actual pitch axis center and the ideal pitch axis, respectively, the wobble errors Δ p x and Δ p z are the random distribution errors, and the transformation matrix from o p x p y p z p to o p 2 x p 2 y p 2 z p 2 is represented as T p p 2 in Equation (4).
T p p 2 = 1 0 0 0 cos Δ p x sin Δ p x 0 sin Δ p x cos Δ p x cos Δ p z sin Δ p z 0 sin Δ p z cos Δ p z 0 0 0 1
The pitch angle measurement is based on the horizontal zero position. As shown in Figure 6, there is a certain electrical zero error Δ p h in the horizontal zero position obtained by calibration, and this error is a uniform distributed. The transformation matrix is represented as T p 2 p 3 :
T p 2 p 3 = cos Δ p h 0 sin Δ p h 0 1 0 sin Δ p h 0 cos Δ p h
The pitch axis and the azimuth axis are two independent rotation axes, and when assembled together, there is inevitably a uniform distributed perpendicular error Δ a p between them; as shown in Figure 7, the transformation matrix from o p 3 x p 3 y p 3 z p 3 to o a 1 x a 1 y a 1 z a 1 is represented as T p 3 a 1 :
T p 3 a 1 = 1 0 0 0 cos Δ a p sin Δ a p 0 sin Δ a p cos Δ a p
Same as the pitch axis, the azimuth rotation angle measured is a a + Δ a a , where a a is the true value, Δ a a is the angle measuring error caused by electrical and data truncation reasons, and the error is random distributed. According to Figure 8, the transformation matrix from o a 1 x a 1 y a 1 z a 1 to o a x a y a z a is represented as T a 1 a :
T a 1 a = cos ( a a + Δ a a ) sin ( a a + Δ a a ) 0 sin ( a a + Δ a a ) cos ( a a + Δ a a ) 0 0 0 1
Same as the pitch axis, due to the rolling bearing clearance, assembly pre-tighten, and so on, there is a certain wobble when the azimuth axis rotates. As shown in Figure 9, the coordinate axes z a and z a 2 are the actual azimuth axis center and the ideal azimuth axis, respectively, the wobble Δ a x and Δ a y are random distributed, and the transformation matrix from o a x a y a z a to o a 2 x a 2 y a 2 z a 2 is represented as T a a 2 :
T a a 2 = 1 0 0 0 cos Δ a x sin Δ a x 0 sin Δ a x cos Δ a x cos Δ a y 0 sin Δ a y 0 1 0 sin Δ a y 0 cos Δ a y
Same as the pitch axis, the azimuth angle measurement is based on azimuth zero position. As shown in Figure 10, there is a certain electrical zero error in the azimuth zero position obtained by calibration, and this error is uniform distributed. The transformation matrix from o a 2 x a 2 y a 2 z a 2 to o a 3 x a 3 y a 3 z a 3 is represented as T a 2 a 3 :
T a 2 a 3 = cos Δ a e sin Δ a e 0 sin Δ a e cos Δ a e 0 0 0 1
During the installation of the equipment, due to the flatness and parallelism of the base and other reasons, there is a certain perpendicular error Δ a p e between the azimuth axis and the base, and the error is uniform distributed. As shown in Figure 11, the transformation matrix from o a 3 x a 3 y a 3 z a 3 to o b x b y b z b is represented as T a 3 b :
T a 3 b = 1 0 0 0 cos Δ a p e sin Δ a p e 0 sin Δ a p e cos Δ a p e
As mentioned above, in the actual target measurement, due to the existence of multiple error sources, the measured value of the target vector after a series of coordinate transformations from the target coordinate system to the base coordinate system is represented as:
x y z = T a 3 b T a 2 a 3 T a a 2 T a 1 a T p 3 a 1 T p 2 p 3 T p p 2 T p 1 p T s p 1 T t s 1 0 0
Converting the measured values of the unit target vector above from the Cartesian coordinate system to the spherical coordinate system, the azimuth and pitch angles are represented as:
α = atan ( y x ) β = asin ( z )
If there is no serial error sources above, the theoretical measurement value of the target should be a a p a T ; then, the measurement error of the target is represented as:
Δ α = α a a Δ β = β p a
According to the errors measured during the actual design and assembly of a two-axis electro-optical measurement equipment, the statistical results are shown in Table 1.
In addition to the error sources considered above, there are still some uncertain factors causing measurement errors in actual target measurement, such as wind load, atmospheric turbulence, etc. the target measurement errors caused by these uncertain factors can be set as follows:
Δ α r = ( 0.001 α ) 2 + 0.03 sin ( 2.0 α )
Δ β r = ( 0.001 β ) 2 + 0.03 sin ( 3.0 β )
The error data in Table 1 and the errors in Equations (14) and (15) are used to simulate the target measurement errors of a two-axis electro-optical measurement equipment; the results are shown in Figure 12 and Figure 13.
As can be seen from the above simulation results, due to the existence of systematic errors and random errors, the overall target measurement errors distribution is a spatial free-form surface distribution, and the error surface presents a random distribution of convex and uneven. Eliminating or reducing this error distribution is a technical challenge.

3. The Measurement Error Compensation and Correction Methods

From the theoretical derivation and simulation results presented in the previous section, it is evident that the measurement error of the equipment arises from a combination of multiple error sources and exhibits significant nonlinear variations with changes in azimuth and pitch angles. By employing the concept of least square method, an optimal error source space vector can be identified based on several sets of measurement data. Subsequently, the corresponding error value can be calculated using the measured azimuth and pitch values to compensate for measurement errors, thereby establishing an LS-based error compensation method. Similarly, by eliminating oscillating error values around the true measurement value, a more accurate measurement result can be obtained. The AKF algorithm proves effective in filtering out glitches present in measurement data; hence, an AKF-based error correction method may yield superior outcomes. Moreover, if we are able to identify this definite strong nonlinear mapping relationship and accurately determine its associated error value according to measured values, higher levels of measurement accuracy can be achieved. In theory, the RBFNN can approximate any nonlinear function with infinite accuracy, and therefore, utilizing an RBFNN-based error compensation method may lead to improved results.

3.1. LS-Based Error Compensation Method

This method takes all the above errors as unknown quantities, the LS method is used to solve the optimal error parameters, and compensates directly in the target measurement results finally. For this purpose, Equation (11) needs to be turned into a display expression. Since the error components values are relatively small, they can be considered in mathematical operation as follows:
Δ · Δ 0 , sin ( Δ ) Δ , cos ( Δ ) 1
Substitute Equation (16) into Equations (11) and (13), and then:
Δ α = x 1 + x 2 / cos β + x 3 tan β x 4 tan β cos α x 5 tan β sin α Δ β = x 4 sin α x 5 cos α + x 6
where x 1 = Δ p z + Δ a e + Δ a a , x 2 = Δ p p + Δ m d z , x 3 = Δ a p Δ p x , x 4 = Δ a x + Δ a p e , x 5 = Δ a y , and x 6 = Δ p h + Δ p a Δ m d y are the unknown parameters to be solved.
By measuring multiple targets with known position, the measured values and corresponding measurement errors can be obtained, and the overdetermined equation can be constructed to solve the unknown parameters:
1 1 / cos β 1 tan β 1 tan β 1 cos α 1 tan β 1 sin α 1 0 0 0 0 sin α 1 cos α 1 1 1 1 / cos β 2 tan β 2 tan β 2 cos α 2 tan β 2 sin α 2 0 0 0 0 sin α 2 cos α 2 1 1 1 / cos β n tan β n tan β n cos α n tan β n sin α n 0 0 0 0 sin α n cos α n 1 x 1 x 2 x 3 x 4 x 5 x 6 = Δ α 1 Δ β 1 Δ α 2 Δ β 2 Δ α n Δ β n
The equation above can be expressed as A · X = B , and using the LS method, the optimal error parameters can be obtained according to the following formulation:
X = ( A T A ) 1 A T B
By substituting the optimal error parameters into Equation (17), the measurement errors of a certain target measurement can be obtained. Then, the measurement results can be compensated by subtracting the measurement errors from the measurement values, expressed as:
α LS β L S = α β 1 0 1 / cos β 0 tan β 0 tan β cos α sin α tan β sin α cos α 0 1 T · X

3.2. AKF-Based Error Correction Method

The AKF can be adopted to estimate the azimuth and pitch angles of the target measurement, which can filter out some systematic errors and random errors, and the more accurate target measurement values can be obtained.
According to Newton’s kinematics theory, the discrete state space equation of the system can be expressed as:
x k = T x k 1 + I u k 1 + W k 1 z k = M x k + V k
where T = 1 Δ t 0 0 0 1 0 0 0 0 1 Δ t 0 0 0 1 , I = 0.5 Δ t 2 0 Δ t 0 0 0.5 Δ t 2 0 Δ t ; x k = α k ω k β k γ k T is the state vector of the system at k moment, which consists of azimuth angle, azimuth velocity, pitch angle, and pitch velocity; T is the state transition matrix; I is the control matrix; Δ t is the sampling interval; u k 1 = a k 1 b k 1 T is the input matrix at moment k 1 ; W k 1 is the process noise, and W k 1 N ( 0 , Q k 1 ) ; z k = θ k φ k T represents the measured value, which consists of measured azimuth and pitch angles; M is the measurement matrix; and V k is the measuring noise, and V k N ( 0 , R k ) .
The AKF method is used to estimate the measured azimuth and pitch angles; the specific algorithm steps are as follows:
Step 1: Prediction
Predicted state estimate: x ^ k = T x ^ k 1 + I u k 1 ;
Priori covariance matrix: P k = T P k 1 T T + Q k 1 .
Step 2: Correction
Kalman gain: K k = P k H T ( HP k H T + R k ) 1 ;
Measurement innovation: d k = z k M x ^ k ;
Posteriori state estimate: x ^ k = x ^ k + K k d k ;
Residual: ε k = z k M x ^ k ;
Posteriori covariance matrix: P k = P k K k HP k ;
Measurement covariance update: R ^ k = 1 m i = 0 m 1 ε k i ε k i T + H k P k H k T ;
State covariance update: Q ^ k 1 = K k 1 m i = 0 m 1 d k i d k i T K k T
After the above calculation, the optimal estimate of the system is α A C F β A C F T .

3.3. RBFNN-Based Error Compensation Method

The target measurement error distribution of the two-axis electro-optical measurement equipment is a random free-form surface. If a function can be found to fit or approximate the random free-form error surface, the measurement accuracy will be greatly improved. In theory, the RBFNN can approach any nonlinear function with infinite accuracy, so it is a better choice to use the RBFNN to approximate the error distribution. For this, the RBFNN is established as below.
As shown in Figure 14, the RBFNN consists of three layers of forward neural network, namely input layer, hidden layer, and output layer, respectively. The input layer x k is the measured value, i.e., the measured azimuth and pitch angles α β T ; the hidden layer consists of m nonlinear neuron functions, which maps the linear input layer to the nonlinear space; and the last layer is the error output layer, which is a linear combination of the output of all the hidden layer neurons. According to the RBFNN established for error estimation, the final estimate of measurement error can be expressed as:
y ^ i = W i T h k = j = 1 m w i , j h k , j
where y ^ i is the output errors estimated, y ^ 1 = Δ α and y ^ 2 = Δ β are the target measurement azimuth and pitch errors estimated, respectively; W i is the corresponding weight coefficient, W i = w i , 1 w i , 2 w i , m T ; and h k is the neuron function of the hidden layer, h k = h k , 1 h k , 2 h k , m T and h k , j = φ ( x k c j 2 ) .
A Gaussian function is selected as the neuron function of the hidden layer, expressed as:
φ ( x ) = e x σ 2
The gradient descent method is adopted to solve the network parameters. Firstly, an energy consumption function is established as:
E = 1 2 t = 1 s i = 1 n ( y i , t y ^ i , t ) 2
where y i , t is the true value, y ^ i , t is the estimated value, s is the number of samples, and n is the number of results. According to the extremum principle, the gradient of the energy consumption function is found, on the negative side of which the network parameters are traversed until the energy consumption function meets the error precision, and the optimal estimated network parameters are obtained.
Firstly, the increment of the weight factor in the direction of its negative gradient is obtained as:
Δ ω p = α ω p E = α t = 1 s i = 1 n ( y i , t y ^ i , t ) ω p y ^ i , t
where α is the learning speed of the weight factor. The gradient of the estimated value is expressed as:
ω p y ^ i , t = ω p ω i T h t = δ i p h t
δ i p = 1 i = p 0 i p
Similarly, the learning speed of the center points is set as λ , and the increment on negative gradient is expressed as:
Δ c q = λ c q E = λ t = 1 s i = 1 n ( y i , t y ^ i , t ) c q y ^ i , t
c q y ^ i , t = c q ( j = 1 m ω i , j h t , j ) = ω i , q c q h t , q
c q h t , q = c q ( e x t c q 2 σ 2 ) = 2 σ 2 e x t c q 2 σ 2 x t c q
The extended constant σ of the radial basis function is chosen as follows:
σ = d max 2 m
where d max is the maximum distance of the center points.
In summary, the training steps of RBFNN parameters by gradient descent method are as follows:
(1) Set the learning speed parameters α and λ , initialize the weight coefficient ω i = 0 , and select the central points c j randomly, where i = 1 , 2 , n , j = 1 , 2 , m
(2) Calculate the initial response:
h t , j = φ ( x t c j 2 ) t , j ;
h t = [ h t , 1 h t , 2 h t , m ] T t ;
y ^ i , t = ω i T h t i , t .
(3) Calculate the energy consumption function:
E = 1 2 t = 1 s i = 1 n ( y i , t y ^ i , t ) 2
Furthermore, let E o l d = E
(4) Update the parameters:
Δ ω i = α t = 1 s ( y i , t y ^ i , t ) h t i , t ;
ω i ω i + Δ ω i i ;
Δ c j = 2 λ σ 2 t = 1 s i = 1 n ( y i , t y ^ i , t ) ω i , j e x t c j 2 σ 2 x t c j , j ;
c j c j + Δ c j .
(5) Calculate the current response:
h t , j = e x t c j 2 σ 2 t , j ;
h t = [ h t , 1 h t , 2 h t , m ] T t ;
y ^ i , t = ω i T h t i , t .
(6) Calculate the current residual and compare:
E n o w = 1 2 t = 1 s i = 1 n ( y i , t y ^ i , t ) 2 ;
If E o l d E n o w E o l d > ε , return to step (3) and repeat;
If E o l d E n o w E o l d < ε , finish training.
Here, ε is the selected network training accuracy.
Based on a measurement result, the trained RBFNN is used to fit the measurement error, which is subtracted from the measurement result, and a more accuracy measurement result α R B F N N β R B F N N T can be obtained.
It is crucial to emphasize that the dataset used for training should cover the working range of the equipment; otherwise, the trained RBFNN will only exhibit high accuracy within a local range and its precision will decrease or even result in errors beyond that scope.

4. Simulations and Experiments

4.1. Simulations

The LS-based error compensation method need a certain number of error samples to construct overdetermined equation to solve the error parameters, the RBFNN-based error compensation method also need a certain number of error samples to train the approximation network. In order to verify the superiority of the different compensation methods, the same sample space is selected for the two methods. The azimuth and pitch rotation ranges of the equipment are 90 , 90 and 20 , 80 , respectively. Starting from 90 and 20 , an azimuth value and a pitch value are selected at every 5 interval, resulting in a total of 37 × 21 values being chosen, which serve as measurement or input values. The error values obtained from the corresponding 37 × 21 values of simulation results in Figure 12 and Figure 13 are utilized as measurement errors or target values, so a common sample is established. It can be observed that the selected sample covers the operational range of the equipment and the corresponding errors are also randomly distributed, so the selected sample space is universal.
When training the RBFNN with the above sample, the initial weight coefficient vector ω i = 0 , and the initial center points are taken as azimuth and pitch values of 37 × 21 of the sample. The extended constant is set to the maximum distance between center points, σ = 5.22 . The LS-based error compensation method does not need to set any parameters when calculating the optimal error parameters with the above sample.
The AKF-based method to correct the measurement error does not require sample space, the initial process noise and measurement noise are set as 0.1 and 0.012, respectively, and the window smoothing parameter is set as m = 3 . The three error compensation methods above are used for simulation comparison, and the results are shown in Figure 15 and Figure 16.
As can be seen from the simulation results in Figure 15 and Figure 16, the AKF filtering algorithm filtered the burr part of the measured data and did not filter the absolute error of the measurement data, the measured data become relatively smooth, and the variation trend of the modified error is consistent with the original error. The LS-based error compensation method is a linear regression of the nonlinear error. As can be seen from the simulation results, the error after regression is distributed symmetrically on both sides of the coordinate axis x, but the fluctuation of the errors is still relatively large. The RBFNN-based error compensation method mapped the linear input into the nonlinear space, the error variation was better fitted, and the error is a narrow band after compensation.
Table 2 shows the statistical results of the three methods. The standard deviations of the results of the LS-based method and the AKF-based method are basically the same, and the standard deviations of the azimuth and pitch errors are about 0 . 02 . The resulting mean of the LS method is better than that of the AKF method, and for the azimuth error mean, the result of the LS method is better than that of the AKF method by one order of magnitude. In the error compensation results based on RBFNN, the mean and standard deviation are more than one order of magnitude better than the results of other two methods, in which the azimuth error standard deviation is 0 . 005 and the pitch error standard deviation is 0 . 001 .
The accuracy of the error compensation method based on RBFNN depends on the number of neurons. Two additional samples were selected for comparison, one with a sample size of 66 ( 18 equal spacing for azimuth and 20 equal spacing for pitch, and the corresponding error values) and the other with a sample size of 209 ( 10 equal spacing for azimuth and pitch, and the corresponding error values). This two new samples were used to train a new RBFNN, respectively, and the error compensation were carried out with the corresponding new RBFNN. The results are compared as follows.
It can be seen from Figure 17 and Figure 18 that the errors after compensation by three new RBFNN are distributed symmetrically on both sides of the coordinate axis x, and the error fluctuation is larger as the number of neurons decreases. Table 3 shows the statistical results of three new RBFNN, the results of the 777-node RBFNN are better than those of the 209-node RBFNN, but both the mean and standard deviation are in the same order of magnitude and the difference is not large. The pitch error standard deviation of the 66-node RBFNN is the same order of magnitude as the other two, but the azimuth error standard deviation is one order of magnitude larger than the two other. Considering the convenience and economy of engineering application, the 209-node RBFNN is recommended for measuring error compensation.
On the other hand, the three methods of error compensation or correction have different requirements for computational power. Clearly, the AKF-based method requires the minimum computational power, followed by LS-based method, while the RBFNN-based method has the highest demand for computational power and it increases significantly with an increase in the number of neurons. Fortunately, RBFNN training can be conducted on a host computer and then transfered to an embedded system to achieve real-time error compensation.

4.2. Experiments

A two-axis electro-optical measurement equipment and a helicopter with GPS were used to build a test environment. The equipment consists of a spherical pitch package and a cylindrical azimuth mechanism, with dimensions of 1.2 m in height, 0.4 m in diameter, and the total weight is 125 kg. Moreover, the visible light camera, infrared camera, laser range finder, laser sensor, and fiber optic gyroscopes are integrated in the pitch package using inertial stabilization principle for LOS stability. The visible and infrared sensors enable imaging, tracking, and angle measurement of the target during both day and night conditions, while the laser range finder allows for radial distance measurement of the target. Under favorable weather conditions, the equipment has an integrated range exceeding 12 km. The helicopter, acting as the target, is capable of hovering or flying along a prescribed path. A GPS positioning device was installed on the helicopter, and the positioning accuracy of the GPS positioning device is millimeter accuracy level. During the test, the designed radial distance between the helicopter and the equipment is more than 3 km, so the angle value obtained by GPS conversion is of the order of 10 5 , which can be used as the true value of the test. In the experiments, the spatial azimuth and pitch of the helicopter were measured by the two-axis electro-optical measurement equipment, and they are taken as measured value; the azimuth and pitch angles relative to the two-axis electro-optical measurement equipment were calculated by using the GPS of the helicopter, and they are taken as the true value.
The target is tracked and measured by the method of target image extraction, but the movement of the target makes its image characteristics change, which leads to the instability of the tracking point and brings unnecessary errors to the measurement results. In order to keep the tracking point fixed, an optical cooperative target was installed on the helicopter landing gear and was taken as a fixed tracking measurement point, as shown in Figure 19.
The visible camera of the equipment was used to capture the helicopter, when the helicopter was tracked steadily by the visible light image, the laser sensor emitted the laser pulses to the helicopter, and the laser echo was imaged as a bright spot by the short-wave infrared sensor, and then it was converted into tracking and measurement of the bright spot, as shown in Figure 20. It can be seen that the short-wave infrared sensor only images the laser reflected back by the optical cooperative target, and the image was a bright spot; thus, the problem of unstable tracking points was solved.
For the equipment, the azimuth rotation range is 90 , 90 , the pitch rotation range is 20 , 80 , and the output frequency of the measured data is 20 Hz. Within the rotation range of azimuth and pitch, the flight path of the helicopter is planned to cover the measuring range of the equipment as much as possible. At the beginning of the experiment, the equipment and the helicopter were time-matched, and the true value was calculated at a rate of 20 Hz by using the GPS, so the measured value and the true value are obtained at the same time. It should be noted that there was a fixed installation distance between the optical cooperative target and the helicopter GPS antenna, considering this installation distance, the GPS measurement value was converted to the installation position of the optical cooperative target.
According to the above experiment method, a large number of measured values and true values are obtained. If it was used to train the RBFNN directly, it will not only require a large amount of computation, but also may cause the calculation not converge. Thus, the values were obtained at an equal interval of 8 in the range of azimuth and pitch, respectively, and a total of 21 × 11 azimuth and pitch values are obtained. In the vicinity of each azimuth and pitch value obtained, the nearest measurement values were found, and the true values were selected at the corresponding time, a total of 231 samples are obtained. Based on the selected samples, a new RBFNN was trained by the above training method.
Using the obtained RBFNN, the measured value of the equipment was output after error compensation in real time. For the flight experiment of the helicopter, the measured value after error compensation by the RBFNN and the measured value without error compensation were compared with the true value, respectively, and the measured errors of the azimuth and pitch are shown in Figure 21 and Figure 22.
It can be seen from Figure 21 and Figure 22, the measurement errors without error compensation deviate greatly from 0 , while the measurement errors after error compensation by RBFNN oscillate around 0 with relative small error band, the measurement accuracy is significantly improved. As shown in Table 4, after adopting the RBFNN-based error compensation method, the average values of the azimuth measurement errors and the pitch measurement errors are 0 . 0003 and 0 . 00003 , and the standard deviations are 0 . 006 and 0 . 003 , respectively. With 95 % confidence, the corresponding error confidence intervals are 0 . 0004 , 0 . 0002 and 0 . 00003 , 0 . 00009 , respectively. However, without the RBFNN-based error compensation method, the average values of the azimuth and pitch errors measured are 0 . 04 and 0 . 06 , the standard deviations are 0 . 04 and 0 . 02 . With 95 % confidence, the corresponding error confidence intervals are 0 . 043 , 0 . 041 and 0 . 0604 , 0 . 0596 , respectively. The application of the RBFNN-based error compensation method significantly enhanced the accuracy of the target measurement.

5. Conclusions

In order to enhance the target measurement accuracy of two-axis electro-optical measurement equipment, an active compensation technology for target measurement error was proposed. Firstly, various error sources that affect the target measurement accuracy were analyzed, and an error transfer model was established. Through simulation analysis, it was found that the target measurement errors exhibit a spatial free-form surface with random irregularities. Subsequently, three methods for error compensation or correction were proposed: the LS-based error compensation method, AKF-based error compensation method, and RBFNN-based error compensation method. Simulation analysis revealed that the RBFNN-based error compensation method can accurately approximate the error distribution and achieve more precise error correction, thereby significantly improving the target measurement accuracy. In addition, the influence of the number of neurons on the accuracy of the RBFNN-based error compensation method was analyzed and discussed. Finally, the experimental results demonstrated the engineering usability of the proposed method, and it greatly improved the target measurement accuracy of the two-axis electro-optical measurement equipment.
Although the proposed active error compensation technology improved the target measurement accuracy of a specific electro-optical measurement equipment, it did not consider the influence on the error sources in temperature changes, usage scenario changes, and so on, so there may be some limitations in the application of this method. Based on this, it will be a future research direction to propose an error compensation technique that can adapt to temperature changes, usage scenario changes, and so on.

Author Contributions

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

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
LOSLine of sight
RBFNNRadial basis function neural network
LSLeast square
AKFAdpative Kalman filter

References

  1. Liu, Y.; Peng, Y.; Yan, J. Effect of the Azimuth Axis Tilt Error on the Tracking Performance of a Solar Dish Concentrator System. Energies 2022, 15, 3261. [Google Scholar] [CrossRef]
  2. Li, P.; Zhao, R.; Luo, L. A Geometric Accuracy Error Analysis Method for Turn-Milling Combined NC Machine Tool. Symmetry 2020, 12, 1622. [Google Scholar] [CrossRef]
  3. Wang, L.; Li, M.; Yu, G. A Novel Error Sensitivity Analysis Method for a Parallel Spindle Head. Robotics 2023, 12, 129. [Google Scholar] [CrossRef]
  4. Fang, W.; Tian, X. Geometric error sensitivity analysis for a 6-axis welding equipment based on Lie theory. Int. J. Adv. Manuf. Technol. 2021, 113, 1045–1056. [Google Scholar] [CrossRef]
  5. Li, Q.; Wang, W.; Jiang, Y.; Li, H.; Zhang, J.; Jiang, Z. A sensitivity method to analyze the volumetric error of five-axis machine tool. Int. J. Adv. Manuf. Technol. 2018, 98, 1791–1805. [Google Scholar] [CrossRef]
  6. Zhou, B.; Wang, S.; Fang, C.; Sun, S.; Dai, H. Geometric error modeling and compensation for five-axis CNC gear profile grinding machine tools. Int. J. Adv. Manuf. Technol. 2017, 92, 2639–2652. [Google Scholar] [CrossRef]
  7. Yang, J.; Ding, H. A new position independent geometric errors identification model of five-axis serial machine tools based on differential motion matrices. Int. J. Mach. Tools Manuf. 2016, 104, 68–77. [Google Scholar] [CrossRef]
  8. Yin, S.; Zhou, H.; Peng, Y.; Ju, X. Dual quaternion-based kinematic modeling for decoupling identification of geometric errors of rotary axes in five-axis platforms. Precis. Eng. 2023, 81, 93–103. [Google Scholar] [CrossRef]
  9. Fan, J.; Tao, H.; Pan, R.; Chen, D. An approach for accuracy enhancement of five-axis machine tools based on quantitative interval sensitivity analysis. Mech. Mach. Theory 2020, 148, 103806. [Google Scholar] [CrossRef]
  10. Feng, X.; Sun, H.; Lv, T.; Zhang, Y. Kinematic analysis of a PPPR spatial serial mechanism with geometric errors. Proc. Inst. Mech. Eng. Part C J. Mech. Eng. Sci. 2018, 234, 225–240. [Google Scholar] [CrossRef]
  11. Li, J.; Zhao, Y.; Tang, Q.; Sun, W.; Yuan, F.; Lu, X. Conceptual design and error analysis of a cable-driven parallel robot. Robotica 2021, 40, 2152–2167. [Google Scholar] [CrossRef]
  12. San, H.; Ding, L.; Zhang, H.; Wu, X. Error Analysis of a New Five-Degree-of-Freedom Hybrid Robot. Actuators 2023, 12, 324. [Google Scholar] [CrossRef]
  13. Guo, S.; Mei, X.; Jiang, G. Geometric accuracy enhancement of five-axis machine tool based on error analysis. Int. J. Adv. Manuf. Technol. 2019, 105, 137–153. [Google Scholar] [CrossRef]
  14. Guo, S.; Jiang, G.; Mei, X. Investigation of sensitivity analysis and compensation parameter optimization of geometric error for five-axis machine tool. Int. J. Adv. Manuf. Technol. 2017, 93, 3229–3243. [Google Scholar] [CrossRef]
  15. Ding, S.; Huang, X.; Yu, C.; Wang, W. Actual inverse kinematics for position-independent and position-dependent geometric error compensation of five-axis machine tools. Int. J. Mach. Tools Manuf. 2016, 111, 55–62. [Google Scholar] [CrossRef]
  16. Wu, C.; Fan, J.; Wang, Q.; Chen, D. Machining accuracy improvement of non-orthogonal five-axis machine tools by a new iterative compensation methodology based on the relative motion constraint equation. Int. J. Mach. Tools Manuf. 2018, 124, 80–98. [Google Scholar] [CrossRef]
  17. Zhou, D.; Gong, S.; Wang, Z.; Li, D.; Lu, H. Error analysis based on error transfer theory and compensation strategy for LED chip visual localization systems. J. Intell. Manuf. 2020, 32, 1345–1359. [Google Scholar] [CrossRef]
  18. He, Y.; Zhang, Y.; Feng, X.; Deng, S.; Wang, Z. Pointing Error Correction for a Moving-Platform Electro-Optical Telescope Using an Optimized Parameter Model. Sensors 2023, 23, 4121. [Google Scholar] [CrossRef] [PubMed]
  19. Peng, C.; He, D.; Wang, Y.; Wang, Z.; Huang, Y.; Zhang, T.; Liu, X.; Wang, Q.; Ma, H. Pointing-error correction of optical communication terminals on motion platforms using a parameter model and kernel weight function estimation. Appl. Opt. 2023, 62, 1777–1784. [Google Scholar] [CrossRef]
  20. Liang, X.; Zhou, J.; Ma, W. Method of distortion and pointing correction of a ground-based telescope. Appl. Opt. 2019, 58, 5136–5142. [Google Scholar] [CrossRef]
  21. Zhao, H.; Li, S.; Jiang, T.; Hong, Y.; Ma, Z. Modeling and digital calibration for the mirror normal pointing error of the 2D scanning reflector. Appl. Opt. 2023, 62, 2642–2650. [Google Scholar] [CrossRef] [PubMed]
  22. Wan, M.; Zheng, R.; Zhao, H.; Yu, L. Accuracy improvement of multi-view 3D laser scanning measurements based on point cloud error correction and global calibration optimization. Opt. Express 2023, 31, 42926–42944. [Google Scholar] [CrossRef] [PubMed]
Figure 1. The structure schematic diagram of two-axis electro-optical measurement equipment.
Figure 1. The structure schematic diagram of two-axis electro-optical measurement equipment.
Sensors 24 01133 g001
Figure 2. The target extraction errors.
Figure 2. The target extraction errors.
Sensors 24 01133 g002
Figure 3. The perpendicularity error of the sensor installation.
Figure 3. The perpendicularity error of the sensor installation.
Sensors 24 01133 g003
Figure 4. The pitch angle measurement error.
Figure 4. The pitch angle measurement error.
Sensors 24 01133 g004
Figure 5. The pitch axis wobble errors.
Figure 5. The pitch axis wobble errors.
Sensors 24 01133 g005
Figure 6. The pitch horizontal zero error.
Figure 6. The pitch horizontal zero error.
Sensors 24 01133 g006
Figure 7. The perpendicular error between the pitch and the azimuth axes.
Figure 7. The perpendicular error between the pitch and the azimuth axes.
Sensors 24 01133 g007
Figure 8. The azimuth angle measurement error.
Figure 8. The azimuth angle measurement error.
Sensors 24 01133 g008
Figure 9. The azimuth axis wobble errors.
Figure 9. The azimuth axis wobble errors.
Sensors 24 01133 g009
Figure 10. The azimuth zero position error.
Figure 10. The azimuth zero position error.
Sensors 24 01133 g010
Figure 11. The equipment installation perpendicular error.
Figure 11. The equipment installation perpendicular error.
Sensors 24 01133 g011
Figure 12. The azimuth measurement error distribution.
Figure 12. The azimuth measurement error distribution.
Sensors 24 01133 g012
Figure 13. The pitch measurement error distribution.
Figure 13. The pitch measurement error distribution.
Sensors 24 01133 g013
Figure 14. The RBFNN for approximating the error distribution.
Figure 14. The RBFNN for approximating the error distribution.
Sensors 24 01133 g014
Figure 15. The comparison of the azimuth measurement accuracy for the three methods.
Figure 15. The comparison of the azimuth measurement accuracy for the three methods.
Sensors 24 01133 g015
Figure 16. The comparison of the pitch measurement accuracy for the three methods.
Figure 16. The comparison of the pitch measurement accuracy for the three methods.
Sensors 24 01133 g016
Figure 17. The azimuth error after compensation under RBFNN with different nodes.
Figure 17. The azimuth error after compensation under RBFNN with different nodes.
Sensors 24 01133 g017
Figure 18. The pitch error after compensation under RBFNN with different nodes.
Figure 18. The pitch error after compensation under RBFNN with different nodes.
Sensors 24 01133 g018
Figure 19. The helicopter fitted with the cooperative target.
Figure 19. The helicopter fitted with the cooperative target.
Sensors 24 01133 g019
Figure 20. Flight test and target image point.
Figure 20. Flight test and target image point.
Sensors 24 01133 g020
Figure 21. The azimuth errors in the experiment.
Figure 21. The azimuth errors in the experiment.
Sensors 24 01133 g021
Figure 22. The pitch errors in experiment.
Figure 22. The pitch errors in experiment.
Sensors 24 01133 g022
Table 1. The statistical errors of the two-axis electro-optical measurement equipment.
Table 1. The statistical errors of the two-axis electro-optical measurement equipment.
NumberItemsValue / Comment
1Target image extraction error Δ m d y 2 + Δ m d z 2 0.006Random distribution
2Perpendicular error of the sensor installation Δ p p 0.005Uniform distribution
3Pitch angle measurement error Δ p a 0.002Random distribution
4Pitch axis wobble Δ p x 2 + Δ p z 2 0.004Random distribution
5Pitch horizontal zero error Δ p h 0.009Uniform distribution
6Perpendicular error between pitch and azimuth axes Δ a p 0.0075Uniform distribution
7Azimuth angle measurement error Δ a a 0.002Random distribution
8Azimuth axis wobble Δ a x 2 + Δ a y 2 0.002Random distribution
9Azimuth aero error Δ a e 0.0063Uniform distribution
10Perpendicular error of equipment installation Δ a p e 0.0085Uniform distribution
Table 2. The error compensation results.
Table 2. The error compensation results.
ItemsAzimuthPitch
Average / Standard Deviation / Average / Standard Deviation /
Uncorrected0.0189830.0234540.0161610.019025
LS0.0035270.0193220.0057620.018193
AKF0.0136410.0211850.0081870.017594
RBFNN0.0002620.0049240.0000280.001173
Table 3. The measurement error compensation results under RBFNN with different nodes.
Table 3. The measurement error compensation results under RBFNN with different nodes.
ItemsAzimuthPitch
Average / Standard Deviation / Average / Standard Deviation /
66 Nodes0.0003870.0110740.0000690.001376
209 Nodes0.0005530.0075100.0001250.001218
777 Nodes0.0002620.0049240.0000280.001173
Table 4. The experiment results.
Table 4. The experiment results.
ItemsAzimuthPitch
Average / Standard Deviation / Average / Standard Deviation /
Uncorrected−0.0420480.035604−0.0600480.020439
RBFNN−0.0002660.0057310.0000340.002516
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Lan, L.; Hua, F.; Fang, F.; Jiang, W. Active Compensation Technology for the Target Measurement Error of Two-Axis Electro-Optical Measurement Equipment. Sensors 2024, 24, 1133. https://doi.org/10.3390/s24041133

AMA Style

Lan L, Hua F, Fang F, Jiang W. Active Compensation Technology for the Target Measurement Error of Two-Axis Electro-Optical Measurement Equipment. Sensors. 2024; 24(4):1133. https://doi.org/10.3390/s24041133

Chicago/Turabian Style

Lan, Lintao, Fangwu Hua, Fang Fang, and Wei Jiang. 2024. "Active Compensation Technology for the Target Measurement Error of Two-Axis Electro-Optical Measurement Equipment" Sensors 24, no. 4: 1133. https://doi.org/10.3390/s24041133

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