Next Article in Journal
Smart Sensing and Adaptive Reasoning for Enabling Industrial Robots with Interactive Human-Robot Capabilities in Dynamic Environments—A Case Study
Previous Article in Journal
UAV Landing Based on the Optical Flow Videonavigation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Online Calibration Method for a Galvanometric System Based on Wavelet Kernel ELM

School of Mechanical Engineering, Xi’an University of Science and Technology, Xi’an 710054, China
*
Author to whom correspondence should be addressed.
Sensors 2019, 19(6), 1353; https://doi.org/10.3390/s19061353
Submission received: 26 January 2019 / Revised: 9 March 2019 / Accepted: 13 March 2019 / Published: 18 March 2019
(This article belongs to the Section Physical Sensors)

Abstract

:
The online calibration method of a two-dimensional (2D) galvanometer requires both high precision and better real-time performance to meet the needs of moving target position measurement, which presents some challenges for traditional calibration methods. In this paper, a new online calibration method is proposed using the wavelet kernel extreme learning machine (KELM). Firstly, a system structure is created and its experiment setup is established. The online calibration method is then analyzed based on a wavelet KELM algorithm. Finally, the acquisition methods of the training data are set, two groups of testing data sets are presented, and the verification method is described. The calibration effects of the existing methods and wavelet KELM methods are compared in terms of both accuracy and speed. The results show that, for the two testing data sets, the root mean square errors (RMSE) of the Mexican Hat wavelet KELM are reduced by 16.4% and 38.6%, respectively, which are smaller than that of the original ELM, and the standard deviations (Sd) are reduced by 19.2% and 36.6%, respectively, indicating the proposed method has better generalization and noise suppression performance for the nonlinear samples of the 2D galvanometer. Although the online operation time of KELM is longer than ELM, due to the complexity of the wavelet kernel, it still has better real-time performance.

Graphical Abstract

1. Introduction

A two-dimensional (2D) galvanometer is an important optical component. Due to its compact structure, small driving load, and fast response speed, it is widely used in material processing [1,2,3,4], laser projection [5,6,7], optical measurement [8,9], biomedical imaging [10,11], automatic vehicle driving [12], optical communication [13], and other aspects.
The photoelectric measurement system with a 2D galvanometer must have fast measuring speed and high measuring precision when tracking and positioning the moving target in real time. As shown in Figure 1, the measurement system is mainly composed of a 2D galvanometer and a laser rangefinder. In the three-dimensional measurement space, the maneuvering target moves along the unknown curve C to the i th position, P i ( i = 1 , 2 , , N ) , and the laser beam of the range finder is refracted by the mirrors of the galvanometer. When the laser spot is following the moving object, the system detects the rotation angles of mirrors, ( θ x , θ z ) , and the distance, D , and then obtains the measured value, M i ( D i p , θ x i p , θ z i p ) , of P i . According to the geometric relationship of the galvanometer, the position of the moving target can be calculated online. The geometric structure is analyzed with the following relations:
D i p = P a P b + P b P c + P c P = l + P b P c + P c P i ,
O P b = O P d = e ,
P b P c = P d P c .
The galvanometer detection value, M i ( D i p , θ x i p , θ z i p ) , and the corresponding position coordinates, P i ( x i p , y i p , z i p ) , in the measurement space satisfy the following nonlinear matrix equation:
[ x i p y i p z i p ] = f 1 [ D i p θ x i p θ z i p ] = ( D i p l ) [ cos 2 θ z i p sin 2 θ x i p cos 2 θ z i p cos 2 θ x i p sin 2 θ z i p ] + [ e sin 2 θ x i p e cos 2 θ x i p 0 ] .
The mathematical relationship defined in Equation (4) is called the ideal physical model of the 2D galvanometer. Obviously, there is a nonlinear relationship between the coordinates and the detection value.
Due to the influence of installation error, system control error, laser ranging error, angle measurement error, and random noise, there is usually a large error between the actual position and theoretical position calculated by the ideal physical model. Obviously, in order to measure the moving target position in real time, an online calibration method is needed, which can correct the measurement error, caused by many factors, to improve the online measurement accuracy.
Currently, the calibration methods mainly include model-driven [14,15,16] methods and data-driven methods. The model-driven methods are established on the basis of the ideal physical model method shown in Equation (4). If the working range of the 2D galvanometer is concentrated near the center of the optical axis, higher accuracy can be obtained by using the physical model calibration method [17,18]. If the working range is far away from the center of the optical axis, various errors and random noise must be considered. Alkhazur Manakov et al. [19] presented a complicated model containing up to 26 physical parameters to predict the distortions of the 2D galvanometer. Even so, not all affecting factors are involved. Too many parameters increase the complexity of modeling and lead to the risk of local minimization [20]. The modeling difficulty can be reduced by improving the hardware precision [21], but this will greatly increase the cost.
With the data-driven method, these deficiencies can be well avoided. As shown in Figure 1 and Figure 2, for the arbitrary moving target G i ( x i G , y i G , z i G ) in the measurement range, its corresponding measurement value is M i G ( D i G , θ x i G , θ z i G ) . A fixed calibration plane, O 1 x 1 z 1 , can be set in front of the galvanometer, the collinear point with O G i in O 1 x 1 z 1 is P i ( x i p , y i p , z i p ) , and its measurement value is M i P ( D i p , θ x i p , θ z i p ) . Due to θ x i p = θ x i G and θ z i p = θ z i G , the following relation can be obtained from Equation (4):
{ x i G = D i G l D i p l x i p y i G = D i G l D i p l y i p z i G = D i G l D i p l z i p .
Theoretically, if the measured values of all the position points in the calibration plane are known, the coordinates of each position in the measurement space can be obtained through Equation (5).
The data-driven calibration algorithm selects a limited number of points in the calibration plane to establish the data set { t i | i = 1 , 2 , , N } , obtains the corresponding measurement values of each point through experiments to establish the measurement data set { x i | i = 1 , 2 , , N } , and uses a machine learning algorithm to establish a nonlinear mapping model, f , between the two groups of data sets as the calibration model. For any measured value, M i , that does not belong to the { x i | i = 1 , 2 , , N } , the mapping model f is used to obtain the corresponding position P i in the O 1 X 1 Z 1 plane.
Stefan et al. [22] used artificial neural networks (ANN) to analyze the measurement data of the galvanometer and established the calibration model. In order to improve the learning effect of the artificial neural network, ridge regression and regularization coefficients [23] are introduced to avoid over-fitting of the network, and higher calibration accuracy is obtained. Tobias Wissel et al. [24] made a comparative analysis of three data-driven methods as follows: ANN, support vector regression (SVR), and Gaussian processes (GPs), and the result shows that the GPs method could obtain higher precision but slow convergence. The learning speed of ANN and SVR was faster than GPs and the accuracy of the three data-driven methods was better than that of the model-driven method. However, as ANN and SVR methods use an offline training mode to establish a calibration model, those methods often require long training time.
The extreme learning machine (ELM) is a single hidden layer neural network, which has the advantages of fewer training parameters, faster training speed, and strong generalization ability [25,26]. Its learning speed is many times faster than ANN, SVR, and least squares SVR algorithms [27] and it is helpful to the solution of the online calibration problem. However, the ELM algorithm uses linear weighted mapping to train the calibration data sets. For nonlinear samples, the accuracy of ELM is reduced [28]. In addition, the ELM algorithm randomly selects the weights and uses the trial and error method to determine the optimal number of neurons, which will affect the stability and rigor of the calibration algorithm.
For this reason, Huang, et al. [27] proposed the kernel extreme learning machine (KELM), which utilized the kernel function to replace the linear weighted mapping in ELM. Kernel function can implicitly map the nonlinear training samples to the high-dimensional feature space and use the linear function to make nonlinear training samples more easily structured. KELM replaces the inner product in the linear algorithm with a kernel function to obtain an optimal least square solution. As a result of this, it has fast training speed and strong generalization ability. Therefore, in this paper, KELM is proposed to train the calibration data of the galvanometer with nonlinear characteristics and to solve the online calibration problem. For the given calibration data, different kernel functions have different capabilities of mapping, resulting in significant differences in the generalization. Therefore, choosing the kernel function suitable for galvanometer calibration is the key to solving the problem. The original kernel functions mainly include a polynomial kernel, Sigmoid kernel, Gaussian kernel, etc. Normally, the wavelet function has better characteristics of multi-scale subdivision and noise suppression. If the kernel function could be constructed on the basis of the mother wavelet, the algorithm would have a superior performance. Due to the complex nonlinear characteristics of the calibration data, it is difficult to determine the appropriate kernel from prior knowledge. The two wavelet kernel functions of the Morlet wavelet and Mexican Hat wavelet have been proven to be the admissible ELM kernel [29,30,31]. Therefore, cross-validation will be used to verify which kernel function is best for galvanometer calibration. This article uses two groups of testing data sets to verify the training results and the results are compared and analyzed with the physical model method and the original ELM. The kernel functions with minimum error are considered to be more suitable for online calibration. On this basis, the reasons for why the wavelet KELM calibration method performs better than other methods are further analyzed from the aspects of generalization ability, noise suppression, and training time.
In this paper, a data-driven approach for the online calibration of a 2D galvanometer is presented. In Section 2, the principle of galvanometer calibration and the experimental device is described. In Section 3, the wavelet KELM algorithm is introduced, and the process of establishing the online calibration method is analyzed. In Section 4, the experimental scheme and verification method are described. Finally, the conclusion is given in Section 5 and the experimental results of existing calibration methods and wavelet KELM method are compared and analyzed.

2. System Construction and Experiment Device

2.1. System Calibration Description

The experimental device for galvanometer calibration of the photoelectric measurement system, which is composed of a 2D galvanometer measurement system, a 2D moving platform, and a photoelectric target, is shown in Figure 3. The galvanometer measurement system is composed of the galvanometer units, laser rangefinder, controller, computer, and so on. Each set of galvanometer units is composed of a motor, an encoder and a mirror. The axes of the galvanometer units are perpendicular to each other. The laser beam emitted by the rangefinder is reflected to the surface of the photoelectric target after being refracted twice by the mirrors. A part of the light is reflected by the photoelectric target and is captured by the laser range finder. The position of the laser spot can be adjusted by the rotation of mirrors that are driven by the servo system under the control of the computer.
The system takes the intersection point of the x motor rotation axis and the mirror center as the coordinate origin. When the two encoders are located at the zero position, the Y-axis is parallel to the direction of the outgoing laser beam and the vertical direction is the Z-axis. Then, the measurement coordinate system is established, which is denoted as O X Y Z . The 2D moving platform has two motions, X-axis and Z-axis, and is composed of the computer, controller, stepper motors, mechanical components, and other parts. The photoelectric target is composed of a CCD camera, projection plate, and a spot location detection module and it is installed on the table of X-axis. When the laser spot is projected on the surface of the photoelectric target, the CCD detects the spot, identifies and calculates the deviation, δ ( u p , v p ) , between the spot center and the photoelectric target center, and feeds it back to the galvanometer controller through the wireless data module. The measuring system uses the spot position deviation δ ( u p , v p ) as the feedback signals to control the galvanometer. In this way, the spot can accurately follow the movement of the photoelectric target accurately.
When the photoelectric target moves to the i th ( i = 1 , 2 , , N ) position, the coordinates of the photoelectric target, Q i ( x i q , y i q , z i q ) , and the deviation, δ i ( u i p , v i p ) , can be detected and the corresponding coordinates of the spot center, P i ( x i p , y i p , z i p ) , can be calculated by the following equation:
{ x i p = x i q + u i q y i p = y i q z i p = z i q + v i q .
The center coordinate of the spot, P i ( x i p , y i p , z i p ) , is represented as the vector t i = [ x i p , y i p , z i p ] T and the measurement value corresponding to the point P i is represented as the vector x i = [ D i p , θ x i p , θ z i p ] T , where ( θ x i p , θ z i p ) are the encoder values of mirror rotation and D i p is the laser ranging value.
Through experiments, the galvanometer calibration data set { ( x i , t i ) | i = 1 , 2 , , N } with N samples is established. The essence of the data-driven calibration method is to seek the nonlinear mapping f : x i t i from input x i to output t i . The purpose of galvanometer calibration is to use the KELM algorithm to establish the mapping model f : x i t i as the calibration model for the training data set.
For any measurement value x i , the calibration value of the spot position t i M o d e l can be calculated by the calibration model, so as to satisfy the following inequalities:
1 N i N t i M o d e l t i 2 < ε
where ε is calibration accuracy preset by the system.

2.2. Experiment Device

Figure 4 illustrates the experimental device of galvanometer calibration for the photoelectric measurement system. It uses the SKD-100D laser rangefinder (Sankoe, Xi’an, China), with a maximum measuring distance of 100 meters and a measurement accuracy of ±1 mm. The two galvanometer units of the 2D galvanometer each contain a 21-bit encoder and an AC servo motor. Both galvanometers are controlled by a MPC08D board (Leetro, Chengdu, China). The measuring range of the galvanometer is ± 16 of X-scanner and ± 14 of Z-scanner. The photoelectric target uses an MV-EM200M industrial camera (Microvision, Beijing, China) with a 1/1.8”CCD. The actual length of the projection plate corresponding to each pixel is 0.06 mm. The motion controller uses the open-loop controlling mode to control the two stepper motors dragging the moving platform. The repetitive positioning accuracy of the moving platform is less than 0.2 mm. The effective stroke of the moving platform is 1.5 m for the X-axis and 1.2 m for the Z-axis.

3. Mathematical Model and Calibration Method

3.1. Kernel Extreme Learning Machine (KELM)

For the galvanometer calibration data set { ( x i , t i ) | i = 1 , 2 , , N } with N samples, the ELM algorithm can be used to establish the mapping model f : x i t i as the calibration model. The standard single hidden layer neural network with L hidden nodes can be used to establish the mapping model f : x i t i , which can be expressed as follows:
f ( x ) = h ( x ) β = i = 1 L β i g i ( w i x j + b i ) = t j , ( j = 1 , , N )
where g ( x ) is the activation function, w i = [ w i 1 , w i 2 , w i 3 ] T is the weight vector to connect the i th hidden node and the input node, β i = [ β i 1 , β i 2 , β i 3 ] T is the weight vector to connect the i th hidden node and the output node, and b i is the threshold of the i th hidden node. The w i x j denotes the inner product of w i and x j . The above equation can be written as follows:
H β = T
where
H ( w 1 , , w L , b 1 , , b L , x 1 , , x N ) = [ g ( w 1 x 1 + b 1 ) g ( w L x 1 + b L ) g ( w 1 x N + b 1 ) g ( w L x N + b L ) ] N × L ,
β = [ β 1 T β L T ] L × 3 T = [ t 1 T t N T ] N × 3 .
According to the proof process given by Huang et al. [25,26], the least-squares solution of the general linear system can be represented as:
β = H T
where H is the Moore–Penrose generalized inverse of matrix H.
The traditional ELM algorithm is based on the empirical risk minimization criterion and there is a risk of over-fitting in the training process. Therefore, output weights β can be obtained by finding the least square solution of the following problem:
Minimize :   L P E L M = 1 2 β 2 + C 1 2 i = 1 N ξ i 2 Subject   to :   h ( x i ) β = t i ξ i i = 1 , 2 , , N .
where h ( x i ) is the i th hidden-layer output vector, ξ i is the difference between the i th sample and the output of the hidden layer. Based on the Karush–Kuhn–Tucker theorem, the solution of the above quadratic optimization problem is equivalent to solving the Lagrange function problem as follows:
L D E L M = 1 2 β 2 + C 1 2 i = 1 N ξ i 2 i = 1 N α i ( h ( x i ) β t i + ξ i ) ,
the output weight is
β ^ = H T ( 1 C + H H T ) 1 T ,
the output function is
f ( x ) = h ( x ) H T ( 1 C + H H T ) 1 T .
The linear weighted hidden output function h ( x ) is unknown and usually does not satisfy the nonlinear sample mapping. In order to improve the fitting ability of the algorithm to nonlinear samples, the kernel function κ ( u , v ) can be used to replace h ( x ) H T and H H T in Equation (16). The output function is as follows:
f ( x ) = [ κ ( x , x 1 ) κ ( x , x N ) ] T ( 1 C + Ω E L M ) 1 T
Where Ω E L M is kernel function matrix as follows:
Ω E L M = h ( x i ) h ( x j ) = κ ( x i , x j ) .
According to Equations (16)–(18), if the kernel function κ ( u , v ) and regularization coefficient C are determined, the corresponding network output can be obtained.

3.2. Translation-Invariant Kernel Theorem

The selection of kernel function has a great influence on the accuracy of KELM. With different kernel functions, the accuracy of calibration varies greatly. If a binary function κ ( u , v ) satisfies Mercer’s theorem, it is an admissible kernel function. In fact, it is difficult to prove that a binary function satisfies Mercer’s theorem. Fortunately, for the translation-invariant kernel function, the following theorem provides a necessary and sufficient condition for it become an admissible kernel function.
Theorem 1 (translation-invariant kernel theorem) [32]
A translation-invariant kernel κ ( x i , x j ) = κ ( x i x j ) is an admissible kernel, if and only if the following Fourier transform:
F [ K ] ( ω ) = ( 2 π ) D / 2 R D exp ( j ω x ) K ( x ) d x
is non-negative.
Traditional kernel functions mainly include a linear kernel, Sigmoid kernel, polynomial kernel, Gaussian kernel, etc. The commonly used translation-invariant kernel functions are Gauss kernel functions and polynomial kernel functions. Since the linear kernel and Sigmoid kernel are not suitable for the fitting of nonlinear samples, this paper focuses on the polynomial kernel function and the Gaussian kernel function. The expression of the two kernel functions can be given as follows:
Polynomial   kernel :   κ ( x i , x j ) = ( x i T x j + c ) d ,
Gaussian   kernel :   κ ( x i , x j ) = exp ( x i x j 2 2 σ 2 )
where d is an adjustable polynomial power exponent and σ is Gaussian core width.

3.3. Wavelet Kernel Function

The mapping accuracy will be affected by the noise and nonlinear characteristics of the calibration data set of the 2D galvanometer. Therefore, the performance of the kernel function is particularly important. For 2D galvanometer calibration, the kernel function is required to have both good nonlinear mapping capability and certain noise suppression capability.
In general, the wavelet function has better characteristics of multi-scale subdivision and noise suppression and, if the kernel function can be constructed by the wavelet function, it is expected to construct an ideal kernel for KELM to solve the galvanometer calibration problem. It can be proved that the Morlet wavelet kernel function and the Mexican Hat wavelet kernel function satisfy the translation-invariant kernel theorem and are admissible ELM kernel functions [29,30,31]. The proof process will not be repeated in this paper. The two wavelet kernel functions can be given as follows:
Morlet   wavelet   kernel :   κ ( x i , x j ) = cos ( a x i x j σ ) exp ( x i x j 2 2 σ 2 ) ,
Mexcian   Hat   wavelet   kernel :   κ ( x i , x j ) = ( 1 x i x j 2 σ 2 ) exp ( x i x j 2 2 σ 2 )
where a is non-negative constant coefficient and σ is non-negative wavelet parameter.
In this paper, the calibration results of the Morlet wavelet kernel and the Mexican Hat wavelet are compared with other methods in Section 5 to further investigate the performance of wavelet kernel functions.

3.4. Online Calibration Method

In this section, the algorithm flow of online galvanometer calibration is presented. For the 2D galvanometer device, the main parameters that affect the calibration accuracy are considered to be constant values. That is to say, the nonlinear characteristics of the galvanometer distortion are time-invariant. Therefore, the online calibration program can be divided into an offline training part and online calculation part. The time-consuming model training is scheduled to be completed in the offline stage and, after the training is finished, the parameters are saved. In the online calculation stage, the parameters are read in and the model is built rapidly, then the measured values can be put into the model to quickly calculate the calibrated results.
The calibration process is divided into part A and part B. Part A is the offline model training, and part B is for online calculation. The online calibration-based KELM algorithm is as follows:
Part A: Model training
Step (1): Obtain the training data set { ( x i , t i ) | i = 1 , 2 , , N } of galvanometer calibration and the testing data set { ( x i t , t i t ) | i = 1 , 2 , M } , initialize the regularization coefficient C and other parameters in the kernel function.
Step (2): Put x i into the Equations (20)–(23), and compute the kernel matrix Ω E L M .
Step (3): Calculate the output weight matrix: O w = ( 1 C + Ω E L M ) 1 t i .
Step (4): According to Equation (17), the output f ( x ) is calculated and compared with t i to obtain the training accuracy.
Step (5): Put { x i | i = 1 , 2 , , N } and { x i t | i = 1 , 2 , , M } in the Equations (20)–(23) and compute the kernel matrix Ω T e s t .
Step (6): The kernel matrix Ω T e s t and the output weight O w are substituted into Equation (17) and the output f ( x ) is calculated and compared with { t i t | i = 1 , 2 , , M } to obtain the test accuracy.
Step (7): By means of cross-validation, the regularization coefficient C and kernel function parameters are modified until the optimal training accuracy is obtained, and then the optimal output weight, regularization coefficient, and kernel function parameters are saved and the network training is completed.
Part B: Online calculation
Step (1): Read the optimal output weight matrix, regularization coefficient, and other kernel function parameters.
Step (2): Read a set of measurements value x i = [ D i , θ x i , θ z i ] T online, put them in the Equations (20)–(23), and compute the kernel matrix Ω T e s t .
Step (3): The kernel function matrix Ω T e s t and output weight O w are substituted into Equation (17) to calculate the output f ( x ) and the calibration value of the spot center position corresponding to the measured value is obtained.
Step (4): Return to Step (2) to calculate the next laser spot coordinates.

4. Experiments and Methodology

The training data set and two groups of testing data sets are collected by using the experimental device of Figure 4. The method of calibration data generation is shown in Figure 5. The 2D moving platform is set up at positions I and II, respectively. At position I (OO1 = 1.2 m), the training data set and the first testing data set are generated. At position II (OO2 = 2.4 m), the second testing data set is generated. The data generation method is described in detail in the following section.

4.1. Training Data Set Generation and Cross Validation

As shown in Figure 5, the 2D moving platform is set at position I and the platform is parallel to the coordinate plane O X Z . The plane O 1 X 1 Z 1 is called the calibration plane. In O 1 X 1 Z 1 , the 2D moving platform drives the photoelectric target along X or Z directions under the control of the computer. At the same time, the galvanometer scans the photoelectric target point by point to generate training data. For the 2D moving platform, the X-axis moves from −500 mm to 500 mm every 10 mm in sequence, with a total of 101 steps. The Z-axis position moves from 320 mm to −320 mm every 10 mm, with a total of 65 steps. The photoelectric measurement system controls the galvanometer to track photoelectric target according to the error, δ ( u p , v p ) , between the spot center and the photoelectric target center. The system synchronously records the measurement value x i = [ D i , θ x i , θ z i ] T and spot center position t i = [ x i P , y i P , z i P ] T synchronously. A total of 6565 data are collected in the whole calibration plane and the training set { ( x i , t i ) | i = 1 , 2 , , 6565 } is obtained.
According to the KELM algorithm introduced in Section 3, the appropriate regularization coefficient and the initial value of kernel function are selected and then the calibration model is established. In order to verify the calibration accuracy of the KELM algorithm, 10-fold cross validation is adopted, the training data set is divided into ten subsets, and each subset is tested once. The other nine subsets are used as training sets and a total of ten training results are obtained.
For x i = [ D i , θ x i , θ z i ] T in the testing data set { ( x i t , t i t ) | i = 1 , 2 , ...65 } , through the established calibration model, the calculation result t i M o d e l can be output and the root mean squared error (RMSE) in Equation (24) can be used to estimate the precision of calibration model as follows:
R M S E = 1 N i N ( t i M o d e l t i ) 2 .
Taking the average RMSE of ten training models as the final RMSE, the regularization coefficient and kernel function parameters are adjusted continuously until the optimal RMSE value is obtained. Obviously, the smaller the RMSE value is, the higher the training accuracy will be.

4.2. Circle Testing Data Set and Verification

4.2.1. Circle Testing Data Set

As shown in Figure 5, to verify the training effect and avoid over-fitting, the curve C 1 is designed, which is a circle in O 1 X 1 Z 1 , with a center point O 1 and a radius of 320 mm. If P a is the point on the curve C 1 , 950 points are uniformly selected on the circumference to constitute the circle testing data set. The position coordinate of P a can be represented as follows:
{ x = 320 cos α z = 320 sin α ( α = i π 250 2 π , i = 1 , 2 , , 950 ) .
The 2D moving platform is set at position I and it is controlled by the NC program to drive the photoelectric target moving along the 950 points in sequence. The measurement system can synchronously record each value, x i P a = [ D i P a , θ x i P a , θ z i P a ] T , to establish the circle test data set { ( x i cir ) | i = 1 , 2 , , 950 } .

4.2.2. Verification

For any measurement value, x i P a = [ D i P a , θ x i P a , θ z i P a ] T , in the test data set { ( x i cir ) | i = 1 , 2 , , 950 } , on the basis of the calibration model of the galvanometer, the coordinate value t i M o d e l _ P a = [ x i M _ P a , y i M _ P a , z i M _ P a ] T of point P i is calculated according to the step in Part B of Section 3.
As shown in Figure 6, the difference between the actual radius at point P i and theoretical radius of C 1 is defined as the position error ε i cir . The root mean square error (RMSE) in Equation (27), mean absolute error (MAE) in Equation (28), and the standard deviation (Sd) in Equation (28) are used to measure the accuracy of the calibration model, as follows:
ε i cir = ( x i M _ P a ) 2 + ( z i M _ P a ) 2 320 ( i = 1 , 2 , , 950 ) ,
R M S E = 1 N i = 1 N ε i cir 2 ,
M A E = 1 N i = 1 N | ε i cir | ,
S d = 1 N i = 1 N ( ε i cir ε ¯ i c i r ) 2
where ε ¯ i cir is the average of ε i cir .
The smaller the values of RMSE, MAE, and Sd are, the smaller the dispersion will be. This means that the data of the calibration result has lower noise and higher calibration accuracy.

4.2.3. Radius Error

According to the calculated value t i M o d e l _ P a = [ x i M _ P a , y i M _ P a , z i M _ P a ] T of point P i , the least squares method is used to fit the measured curve C 1 , Δ R is the difference between the radius R C 1 of curve C 1 and the theoretical radius of C 1 , and Δ R can be used as another indicator to measure the accuracy of the calibration model. If the center coordinate of C 1 is ( A , B ) , then the equation of C 1 is:
( x i M _ P a A ) 2 + ( z i M _ P a B ) 2 = R C 1 2 .
According to the least squares principle, the following equation can be obtained:
{ 2 ( x i M _ P a 2 + z i M _ P a 2 + a x i M _ P a + b z i M _ P a + c ) x i M _ P a = 0 2 ( x i M _ P a 2 + z i M _ P a 2 + a x i M _ P a + b z i M _ P a + c ) z i M _ P a = 0 2 ( x i M _ P a 2 + z i M _ P a 2 + a x i M _ P a + b z i M _ P a + c ) = 0 .
By solving the equation, the intermediate parameters a, b, and c are obtained and the radius R C 1 can be represented as follows:
R C 1 = I 2 a 2 + b 2 4 c .
The radius error can be represented as:
Δ R = R C 1 320 .

4.3. Sinc Testing Data Set and Verification

As shown in Figure 5, both the training data set and the circle testing data set are located in the calibration plane at position I. In order to verify the calibration effect of measurement data in other position, the “Sinc” is designed in the O 2 X 2 Z 2 plane. Taking into account the range of the 2D moving platform, we adjust the parameters of the Sinc and record it as C 2 . The 2D moving platform is placed at position II, the plane of O 2 X 2 Z 2 is parallel to the coordinate plane, and the Sinc testing data set can then be established. The equation of curve C 2 represented as follows:
Z = { a sin ( b x ) / x a = 35000 , b = 1 / 70 , x 0 500 , x = 0 .
If P b is the point on curve C 2 and 750 points are uniformly taken on curve C 2 , then the coordinates of P b are represented as the following:
{ x = 140 α z = { 250 sin ( 2 α ) α , α 0 500 , α = 0   ( α = i π 250 1.5 π , i = 1 , 2 , , 750 ) .
The 2D moving platform is controlled by the NC program to drive the photoelectric target moving along 750 points in sequence. The system synchronously records each coordinate x i P b = [ D i P b , θ x i P b , θ z i P b ] T to establish the Sinc testing data set { ( x i sin c ) | i = 1 , 2 , , 750 } .
In Figure 5, the projection curve of C 2 in the plane O 1 X 1 Z 1 is C 3 and the projection point corresponding to point P b is P c For any measurement value x i P b = [ D i P b , θ x i P b , θ z i P b ] T , in terms of the calibration model of the galvanometer, the coordinate value t i M o d e l _ P c = [ x i M _ P c , y i M _ P c , z i M _ P c ] T of point P c is calculated according to the steps in Part B of Section 3.
In accordance with the geometric relationship in Figure 5, given the coordinates P b ( x P b , y P b , z P b ) and P c ( x P c , y P c , z P c ) , the following relationship exists:
O O 1 O O 2 = x P c x P b = z P c z P b = 1.2 2.4 .
Therefore, the calibration value of point P b can be calculated by Equation (37) as follows:
t i M o d e l _ P b = [ x i M _ P b y i M _ P b z i M _ P b ] [ 2.0417 x i M _ P c 2.45 2.0417 z i M _ P c ] ( i = 1 , 2 , , 750 ) .
As shown in Figure 7, the difference between the calibrated and theoretical value of the P b is defined as position error ε i sin c , which is used to measure the accuracy of the calibration model of the galvanometer. The expressions for ε i sin c can be represented as follows:
ε i sin c = z i M _ P b 35000 sin ( x i M _ P b / 70 ) / x i M _ P b ( i = 1 , 2 , , 750 ) .
As with the circle testing data set, the calibration effect of the Sinc testing data set is measured by accuracy indicators such as RMSE, MAE, and Sd in Equations (27)–(29).

5. Experimental Verification

The performance of four KELM methods is analyzed and compared with the physical model method and original ELM in this section. All these algorithms are run on R2014a MATLAB software, which is installed in a personal computer with 3.2 GHz CPU and 8.0 GB RAM. The training set has 6565 points, the circle testing data set has 950 points, and the Sinc testing data set has 750 points.
After the optimization training, the optimized parameters of several data-driven methods are shown in Table 1.

5.1. Validation Results

5.1.1. Results of the Circle Testing Data Set

The four kernel functions are shown in Equations (20)–(23). They are used as the kernel functions of KELM algorithm, respectively, and the calibration accuracy is verified by using the circle testing data set. The optimal training results and the training time of each algorithm are compared with the physical model method and original ELM. The position error ε i cir is calculated according to Equation (26) and the RMSE value of each method is calculated according to Equation (27). The mean absolute error (MAE) and standard deviation (Sd) of each method are calculated by Equations (28)–(29), and the fitting radius and radius error Δ R are calculated by Equations (32)–(33). The results of the various methods are shown in Table 2.
It can be seen from Table 1 that the Mexican Hat wavelet KELM is observed to attain the most optimal results among all the models, with a radius of 320.03 mm and ΔR of 0.03 mm, RMSE value of 0.4130 and MAE of 0.3259, and supported by small standard deviation at 0.2536. This indicates that the accuracy of wavelet KELM is higher than that of other methods. Figure 8 shows the four calibrated curves of the circle. In terms of the ε i cir values of each method, the position error is shown in Figure 9. It can be seen from Figure 8 and Figure 9 that the calibrated curves are close to the theoretical circle. The calibration accuracy of the two wavelet KELM is higher than the original ELM and physical model method. In terms of the two wavelet kernel functions, the Mexican Hat wavelet KELM is slightly better than the Morlet wavelet KELM. Compared with original ELM, the calibration effect of the Mexican Hat wavelet KELM is improved. The RMSE, MAE, and Sd are reduced by 16.4%, 14.6%, and 19.2%, respectively.

5.1.2. Results of Sinc Testing Data Set

The calibrated model is verified by using the Sinc testing set and the results of four different kernel functions are obtained. As shown in Table 3, the results are compared with the physical model and the original ELM, respectively.
According to Equation (37), the positions of curves C 2 are calculated and the calibrated curves, corresponding to the four KELM, are drawn in Figure 10. The position error ε i sin c is calculated according to Equation (38), the RMSE value of each method is calculated according to Equation (27), and the mean absolute error (MAE) and standard deviation (Sd) of each method are calculated by Equations (28)–(29). The calculation results are listed in Table 3 and the position error of the four KELM are shown in Figure 11.
As can be seen from Table 3 and Figure 10 and Figure 11, the accuracy of the wavelet KELM is higher than that of other methods. It is observed to attain the best RMSE among all other models, with an RMSE value of 1.1695, MAE of 0.9777, and Sd of 0.5495. This indicates that the accuracy of the Mexican Hat wavelet KELM is slightly better than the Morlet wavelet KELM and has better results than the other methods. Compared with the original ELM, the RMSE, MAE, and Sd are reduced by 38.6%, 39.4%, and 36.6%, respectively.

5.1.3. Comparison of Calculation Speed

In terms of the calculation speed of the algorithm, the offline model training time, testing time, and online correction time are compared, respectively. Each index is tested 20 times and the average time is taken as the final value, which is listed in Table 4. According to the procedure flow in Section 3.3, Part B: Step (1) to Step (4), the online calculation time of calibration algorithm is calculated and the results are listed in the last column of Table 4.
As listed in Table 4, because of the simplicity of the algorithm and the small amount of computation, the calculation time of the physical model method is the fastest, the original ELM method is the second, and the kernel-based calibration methods are the slowest. This is due to the complexity of the kernel matrix Ω T e s t and output weight O w , which causes the calculation time to be longer and slows down the calculation speed. As a result, the offline training and testing time of KELM are both greater than original ELM. The offline training time of the Morlet wavelet KELM is the longest, which reaches 4.76 s.
In the process of online calculation of the kernel-based method, the offline model training has been completed and the output weight O w has been obtained. For this reason, the computation of the online calibration algorithm is reduced. In addition, the online measurement data is one-dimensional data, which greatly reduces the amount of calculation. This is another reason why the operation time of the online calibration algorithm is greatly shortened. Among the two wavelet KELM with high calibration accuracies, the online calibration time of the Morlet wavelet KELM is less than 0.42 ms and the Mexican Hat wavelet KELM is less than 0.39 ms.

5.2. Analysis

According to the experimental process, it can be seen that the calibration data of the galvanometer contains a variety of nonlinear factors and noises, such as installation errors, system control noise, laser ranging noise, angle measurement noise, and other random noises, etc., which is typical of a nonlinear sample set. The magnitude and characteristics of these errors and noises are unknown.
The results from Section 5.1 indicate that the accuracy of KELM algorithm with different kernel functions differs greatly. Among the four kernel functions, the error of the Gaussian kernel function is the largest, even worse than original ELM. The two wavelet KELM are higher than the original ELM and other kernel functions. The Mexican Hat wavelet kernel is slightly higher than the Morlet wavelet kernel. The smaller RMSE value means that the wavelet KELM has better generalization ability than other calibration methods for the nonlinear samples of the galvanometer.
Further analysis of the reasons for this result shows that the wavelet kernel is constructed from a wavelet function, which can form a set of primary functions of space L 2 ( R ) through stretching and translation. For any nonlinear function, it can be expressed as a linear combination of the primary functions and has a good fitting ability for nonlinear functions. Therefore, wavelet KELM has a better generalization ability for nonlinear samples than other kernel ELM methods and the original ELM.
As can be seen from Table 1 and Table 2, for the two testing data sets, the error of the physical model method has a large MAE value and Sd value, which means that the calibration result contains a large noise, while the error dispersion of ELM and wavelet KELM is greatly reduced. This means that both ELM and wavelet KELM method have a certain noise suppression ability, but the wavelet KELM has better generalization ability and noise suppression effect than other methods.
From Equation (23), it can be found that the Mexican Hat wavelet kernel κ ( x i , x j ) is a function of the distance between vector x i and vector x j . With the increase of the distance between the two vectors, the influence of x j on x i decreases. The attenuation law is determined by the Mexican Hat wavelet kernel function and is significantly affected by σ . The larger the value σ is, the faster the weaken speed of κ ( x i , x j ) is. It can also be seen from Equation (17) that the output of the calibration model is obtained by the superposition of the product of the Mexican Hat wavelet kernel κ ( x i , x j ) and the weight O w at various positions. In this process, the Mexican Hat wavelet kernel is like a low-pass filter, which weakens the influence of noise points, so that the wavelet KELM has low MAE and Sd values and a noise suppression effect.
After the wavelet KELM is adopted, the complexity of the algorithm increases and the speed of the calibration algorithm slows down. For the online calibration algorithm, the operation time of the Mexican Hat wavelet KELM is slightly faster than that of the Morlet wavelet KELM. As can be seen from the comparison between Equations (22) and (23), the independent variable of the Mexican Hat wavelet kernel only contains quadratic terms and the Morlet wavelet kernel also contains the primary term and its cosine operation. For the higher-dimensional input vector x i and x j , the calculation of x i x j requires decomposing it into the product form of multiple one-dimensional vectors, then performing the cosine calculation, which will take a certain calculation time and makes Morlet wavelet kernel functions slower than the Mexican Hat wavelet kernel functions.
Based on the above analysis, the Mexican Hat wavelet KELM has higher accuracy than other existing methods for 2D galvanometer calibration. Although the calculation speed is slower than the original ELM, it can still reach 0.39 ms, which can meet the needs of a conventional online measurement system.

6. Conclusions

In this paper, we have proposed an online calibration method that can balance calibration accuracy and calculation speed. Wavelet KELM algorithm is adopted to establish the mapping model f : x i t i between the measurement data and the spot position data. Based on this, an online calibration model is built. Through experiments, the training data set and two groups of testing data sets are obtained. The calibration effects of the physical model method, original ELM, Polynomial KELM, Gaussian KELM, Morlet wavelet KELM, and Mexican Hat wavelet KELM are compared in terms of both accuracy and speed. The results show that the accuracy of the data-driven calibration methods is higher than that of the physical model. For the KELM algorithms, the calibration effects of different kernel functions vary greatly. The calibration accuracy of the Morlet wavelet KELM and Mexican Hat wavelet KELM is obviously higher than the other four methods, with the highest calibration accuracy for the latter. In terms of algorithm speed, although the online calibration speed of the wavelet KELM is slower than that of original ELM, it can still meet certain real-time calculation requirements. The real-time computation times of the Mexican Hat wavelet KELM and Morlet wavelet KELM are less than 0.39 ms and 0.49 ms, respectively. The results show that the Mexican Hat wavelet KELM is more suitable for the online calibration of a galvanometer.

Author Contributions

W.Z. conceived and designed the experiments, W.Z. and C.Z. performed the experiments, W.G. and S.Z. analyzed the data, and W.Z. and W.G. wrote the paper.

Funding

This work is supported by the National Key Research and Development Project (Program 2017YFC0804310).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Chen, M.F.; Chen, Y.P.; Hsiao, W.T.; Wu, S.Y.; Hu, C.W. Ascribing laser marking system using DSP controller. Opt. Lasers Eng. 2008, 46, 410–418. [Google Scholar] [CrossRef]
  2. Hsiao, W.T.; Tseng, S.F.; Chung, C.K.; Chen, P.H.; Chen, M.F. Development of portable laser machining system for laser writing applications. Opt. Rev. 2013, 20, 167–172. [Google Scholar] [CrossRef]
  3. Delgado, M.A.O.; Lasagni, A.F. Reducing field distortion for galvanometer scanning system using a vision system. Opt. Lasers Eng. 2016, 86, 106–114. [Google Scholar] [CrossRef]
  4. Ai, J.; Lv, M.; Jiang, M.; Liu, J.; Zeng, X. Focused laser lithographic system for efficient and cross-scale fabrication of large-area and 3D micro-patterns. Opt. Lasers Eng. 2018, 107, 335–341. [Google Scholar] [CrossRef]
  5. Kurtz, A.F.; Kruschwitz, B.E.; Ramanujan, S. Laser Projection Display System. U.S. Patent No. 6,594,090, 15 July 2003. [Google Scholar]
  6. Johnson, T.; Gyarfas, F.; Skarbez, R.; Towles, H.; Fuchs, H. A personal surround environment: Projective display with calibration for display surface geometry and extreme lens distortion. In Proceedings of the IEEE Virtual Reality Conference (VR), Charlotte, NC, USA, 10–14 March 2007; pp. 147–154. [Google Scholar]
  7. Johnson, T.; Fuchs, H. Real-time projector tracking on complex geometry using ordinary imagery. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Minneapolis, MN, USA, 17–22 June 2007. [Google Scholar]
  8. Reiner, J.; Stankiewicz, M. Evaluation of the predictive segmentation algorithm for the laser triangulation method. Metrol. Meas. Syst. 2011, 18, 667–678. [Google Scholar] [CrossRef]
  9. Wulfo, O.; Wagner, B. Fast 3D scanning methods for laser measurement systems. In Proceedings of the International Conference on Control Systems & Computer Science, Bucharest, Romania, 2–5 July 2003. [Google Scholar]
  10. Yun, S.; Boudoux, C.; Pierce, M.; Deboer, J.; Tearney, G.; Bouma, B. Extended-cavity semiconductor wavelength-swept laser for biomedical imaging. IEEE Photonics Technol. Lett. 2004, 16, 293–295. [Google Scholar] [CrossRef]
  11. Ernst, F.; Bruder, R.; Wissel, T.; Stüber, P.; Wagner, B.; Schweikard, A. Real time contact-free and non-invasive tracking of the human skull: First light and initial validation. In Proceedings of the Applications of Digital Image Processing XXXVI, San Diego, CA, USA, 25–29 August 2013. [Google Scholar]
  12. Gong, P.; Yang, J.; Ma, C.; Sun, Y.; Yu, Y.; Hou, Y. Research on multi-point monitoring anti-collision system for vehicle auxiliary driving. Optik 2016, 127, 7121–7127. [Google Scholar] [CrossRef]
  13. Jiang, Q.; Zeng, C.; Gu, F.; Zhao, M. Dynamic spot tracking system based on 2D galvanometer in free space optical communication for short distance. Front. Optoelectron 2017, 10, 174–179. [Google Scholar] [CrossRef]
  14. Furukawa, R.; Kawasaki, H. Laser range scanner based on self-calibration techniques using coplanarities and metric constraints. Comput. Vis. Image Underst. 2009, 113, 1118–1129. [Google Scholar] [CrossRef]
  15. Winkelbach, S.; Molkenstruck, S.; Wahl, F.M. Low-cost laser range scanner and fast surface registration approach. In Joint Pattern Recognition Symposium; Springer: Berlin, Germany, 2006; Volume 4174, pp. 718–728. [Google Scholar]
  16. Cui, S.; Zhu, X.; Wang, W.; Xie, Y. Calibration of a laser galvanometric scanning system by adapting a camera model. Appl. Opt. 2009, 48, 2632–2637. [Google Scholar] [CrossRef]
  17. MartíNez-MartíNez, J.M.; Escandell-Montero, P.; Soria-Olivas, E.; MartíN-Guerrero, J.D.; Magdalena-Benedito, R.; GóMez-Sanchis, J. Regularized extreme learning machine for regression problems. Neurocomputing 2011, 74, 3716–3721. [Google Scholar] [CrossRef]
  18. Xie, J.; Huang, S.; Duan, Z.; Shi, Y.; Wen, S. Correction of the image distortion for laser galvanometrics canning system. Opt. Laser Technol. 2005, 37, 305–311. [Google Scholar] [CrossRef]
  19. Manakov, A.; Seidel, H.P.; Ihrke, I. A Mathematical Model and Calibration Procedure for Galvanometric Laser Scanning Systems. In Proceedings of the Vision, Modeling, and Visualization Workshop 2011, Berlin, Germany, 4–6 October 2011. [Google Scholar]
  20. Junchao, T.; Liyan, Z. Effective Data-Driven Calibration for a Galvanometric Laser Scanning System Using Binocular Stereo Vision. Sensors 2018, 18, 197. [Google Scholar] [Green Version]
  21. Smith, L.N.; Smith, M.L. Automatic machine vision calibration using statistical and neural network methods. Image Vis. Comput. 2005, 23, 887–899. [Google Scholar] [CrossRef]
  22. Lüdtke, S.; Wagner, B.; Bruder, R.; Stüber, P.; Ernst, F.; Schweikard, A.; Wissel, T. Calibration of Galvanometric Laser Scanners Using Statistical Learning Methods. In Bildverarbeitung für die Medizin; Springer: Berlin, Germany, 2015; pp. 467–472. [Google Scholar]
  23. Deng, W.; Zheng, Q.; Chen, L. Regularized Extreme Learning Machine. In Proceedings of the IEEE Symposium on Computational Intelligence and Data Mining, Nashville, TN, USA, 30 March–2 April 2009; pp. 389–395. [Google Scholar]
  24. Wissel, T.; Wagner, B.; Stuber, P.; Schweikard, A.; Ernst, F. Data-Driven Learning for Calibrating Galvanometric Laser Scanners. IEEE Sens. J. 2015, 15, 5709–5717. [Google Scholar] [CrossRef]
  25. Huang, G.B.; Zhu, Q.Y.; Siew, C.K. Extreme learning machine: A new learning scheme of feedforward neural networks. Neural Netw. 2004, 2, 985–990. [Google Scholar]
  26. Huang, G.B.; Zhu, Q.Y.; Siew, C.K. Extreme Learning Machine: Theory and Applications. Neurocomputing 2006, 70, 489–501. [Google Scholar] [CrossRef]
  27. Huang, G.-B.; Zhou, H.; Ding, X.; Zhang, R. Extreme learning machine for regression and multiclass classification. IEEE Trans. Syst. Man Cybern. Part B Cybern. 2012, 42, 513–529. [Google Scholar] [CrossRef]
  28. Wang, J.; Song, Y.F.; Ma, T.L. Mexican Hat Wavelet Kernel ELM for Multiclass Classification. Comput. Intell. Neurosci. 2017, 2017, 7479140. [Google Scholar] [CrossRef]
  29. Zhang, X.G.; Li, Y.M.; Ren, S.J.; Xu, J.H. Robust wavelets support vector machine estimation method for regression. In Proceedings of the International Conference on Machine Learning & Cybernetics, Guangzhou, China, 18–21 August 2005. [Google Scholar]
  30. Zhang, L.; Zhou, W.; Jiao, L. Wavelet support vector machine. IEEE Trans. Syst. Man Cybern. Part B Cybern. 2004, 34, 34–39. [Google Scholar] [CrossRef]
  31. Ding, S.; Wu, F.; Shi, Z. Wavelet twin support vector machine. Neural Comput. Appl. 2014, 25, 1241–1247. [Google Scholar] [CrossRef]
  32. Burges, C.J.C. Geometry and Invariance in Kernel Based Methods, in Advances in Kernel Methods; MIT Press: Cambridge, MA, USA, 1999. [Google Scholar]
Figure 1. Principle of a photoelectric measurement system.
Figure 1. Principle of a photoelectric measurement system.
Sensors 19 01353 g001
Figure 2. Principle of data-driven calibration.
Figure 2. Principle of data-driven calibration.
Sensors 19 01353 g002
Figure 3. Experimental system configuration.
Figure 3. Experimental system configuration.
Sensors 19 01353 g003
Figure 4. Experimental setup of galvanometer calibration (a) 2D galvanometer system; (b) 2D moving platform and photoelectric target.
Figure 4. Experimental setup of galvanometer calibration (a) 2D galvanometer system; (b) 2D moving platform and photoelectric target.
Sensors 19 01353 g004
Figure 5. Calibration data generation.
Figure 5. Calibration data generation.
Sensors 19 01353 g005
Figure 6. Position error between the actual and theoretical radius.
Figure 6. Position error between the actual and theoretical radius.
Sensors 19 01353 g006
Figure 7. Position error between the calibrated and theoretical value.
Figure 7. Position error between the calibrated and theoretical value.
Sensors 19 01353 g007
Figure 8. Calibrated circle.
Figure 8. Calibrated circle.
Sensors 19 01353 g008
Figure 9. Position error of the calibrated circle.
Figure 9. Position error of the calibrated circle.
Sensors 19 01353 g009
Figure 10. Calibrated Sinc.
Figure 10. Calibrated Sinc.
Sensors 19 01353 g010
Figure 11. Position error of calibrated Sinc.
Figure 11. Position error of calibrated Sinc.
Sensors 19 01353 g011
Table 1. Optimized parameters of the data-driven method.
Table 1. Optimized parameters of the data-driven method.
MethodOptimized ParameterTraining Data Set
Original ELM L = 600 { ( x i , t i ) | i = 1 , 2 , , 6565 }
with 6565 samples.
Polynomial-KELMC = 2 40 , c = 0.001 , d = 4
Gaussian-KELMC = 2 30 , σ = 0.022
Morlet wavelet (MW)-KELMC = 2 38 , a = 355 , σ = 14.14
Mexican Hat wavelet (MHW)-KELMC = 2 37 , σ = 9.80
Table 2. Results of the circle testing data set.
Table 2. Results of the circle testing data set.
MethodR (mm)ΔR (mm)RMSEMAESd
Physical model319.45−0.551.71091.29541.1176
Original ELM320.040.040.49410.38170.3138
Polynomial-KELM320.040.040.47940.37770.2953
Gaussian-KELM 320.050.050.61890.49560.3707
Morlet wavelet (MW)-KELM320.030.030.43710.34790.2646
Mexican Hat wavelet (MHW)-KELM 320.030.030.41300.32590.2536
Table 3. Results of Sinc testing data set.
Table 3. Results of Sinc testing data set.
MethodRMSEMAESd
Physical model10.07167.30475.9375
Original ELM1.90451.61350.8664
Polynomial-KELM1.79921.54590.7882
Gaussian-KELM 2.45891.87651.3608
Morlet wavelet (MW)-KELM1.25811.07590.5583
Mexican Hat wavelet (MHW)-KELM 1.16950.97770.5495
Table 4. Calculating time.
Table 4. Calculating time.
MethodTrainingCircleSincReal-Time (ms)
Training Time (s)Testing Time (s)Testing Time (s)
Original ELM0.81030.01430.0123<0.03
Polynomial-KELM3.82730.29440.2214<0.49
Gaussian-KELM3.31230.19410.1606<0.35
Morlet wavelet (MW)-KELM4.31450.36510.2641<0.42
Mexican Hat wavelet (MHW)-KELM 3.99920.20950.1816<0.39

Share and Cite

MDPI and ACS Style

Zhang, W.; Guo, W.; Zhang, C.; Zhao, S. An Online Calibration Method for a Galvanometric System Based on Wavelet Kernel ELM. Sensors 2019, 19, 1353. https://doi.org/10.3390/s19061353

AMA Style

Zhang W, Guo W, Zhang C, Zhao S. An Online Calibration Method for a Galvanometric System Based on Wavelet Kernel ELM. Sensors. 2019; 19(6):1353. https://doi.org/10.3390/s19061353

Chicago/Turabian Style

Zhang, Wugang, Wei Guo, Chuanwei Zhang, and Shuanfeng Zhao. 2019. "An Online Calibration Method for a Galvanometric System Based on Wavelet Kernel ELM" Sensors 19, no. 6: 1353. https://doi.org/10.3390/s19061353

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