Next Article in Journal
Catalytic and Inhibitory Kinetic Behavior of Horseradish Peroxidase on the Electrode Surface
Previous Article in Journal
Study on Decomposition of Indoor Air Contaminants by Pulsed Atmospheric Microplasma
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Robust Static Decoupling Algorithm for 3-Axis Force Sensors Based on Coupling Error Model and ε-SVR

1
Jiangsu Key Lab of Remote Measurement and Control, School of Instrument Science and Engineering, Southeast University, Nanjing 210096, China
2
IMI Lab, Department of Computer Science, The University of North Carolina at Charlotte, Charlotte, NC 28223, USA
*
Author to whom correspondence should be addressed.
Sensors 2012, 12(11), 14537-14555; https://doi.org/10.3390/s121114537
Submission received: 14 August 2012 / Revised: 22 October 2012 / Accepted: 22 October 2012 / Published: 29 October 2012
(This article belongs to the Section Physical Sensors)

Abstract

: Coupling errors are major threats to the accuracy of 3-axis force sensors. Design of decoupling algorithms is a challenging topic due to the uncertainty of coupling errors. The conventional nonlinear decoupling algorithms by a standard Neural Network (NN) are sometimes unstable due to overfitting. In order to avoid overfitting and minimize the negative effect of random noises and gross errors in calibration data, we propose a novel nonlinear static decoupling algorithm based on the establishment of a coupling error model. Instead of regarding the whole system as a black box in conventional algorithm, the coupling error model is designed by the principle of coupling errors, in which the nonlinear relationships between forces and coupling errors in each dimension are calculated separately. Six separate Support Vector Regressions (SVRs) are employed for their ability to perform adaptive, nonlinear data fitting. The decoupling performance of the proposed algorithm is compared with the conventional method by utilizing obtained data from the static calibration experiment of a 3-axis force sensor. Experimental results show that the proposed decoupling algorithm gives more robust performance with high efficiency and decoupling accuracy, and can thus be potentially applied to the decoupling application of 3-axis force sensors.

1. Introduction

Force sensing is crucial for on-line perception and feedback in interactions between intelligent robotic manipulators and environments. Multi-axis force sensors are used to perceive generalized force information and convert input force signals to voltage signals [1]. They are usually mounted on the tips of robot arms for automatic contact recognition, motion planning, and force control tasks [24]. Force sensors are widely used in assembly robots, polishing robots, rehabilitation robots, etc. [57].

The accuracy of multi-axis force sensors has a great impact on force-perception based tasks with high precision requirements. This motivates the need to improve measurement precision. For a multi-axis force sensor, a key issue is that input force in one dimension may affect not only output of this dimension but also those of the other dimensions. Errors caused in this way, called the coupling errors, are major threats to the accuracy of multi-axis force sensors. Coupling errors occur for various reasons, such as mechanical structures, limitation of machining accuracy, transverse effect of strain gauges, etc. Song et al. in [8] developed a self-decoupled 4-axis force/torque sensor to reduce coupling errors by improving hardware design. However, in most cases, it is costly and sometimes infeasible to avoid coupling errors by improving the hardware design and machining accuracy. Decoupling algorithms are always used to reduce coupling errors.

The common static decoupling algorithm calculates the pseudo-inverse matrix of calibration data based on the Least Square Method (LSM) [911]. This algorithm is based on the assumption that relationships between input forces and output voltages in all dimensions are linear. Afterwards, the transfer matrix between input forces and output voltages are calculated. The obtained transfer matrix is called calibration matrix. Voyles et al. in [12] proposed a fast linear decoupling technique called shape from motion in which the motion of the force vector and the calibration matrix are simultaneously extracted by singular value decomposition from raw sensor signals. Cao et al. in [13] explored a linear static decoupling method using an NN to increase the accuracy of decoupling. However, large amounts of experiment data indicate the nonlinearity in relationships between forces and coupling errors. Thus, the precision of linear decoupling algorithms is limited and unsatisfactory. Other approaches [14,15] employed a feed-forward NN with back propagation (BP) training algorithms to realize the nonlinear Multiple Input Multiple Output (MIMO) mapping of a multi-axis force sensor. In [15], the authors also used a standard radial basis function (RBF) NN for decoupling. Engineering applications show that decoupling algorithms with a standard NN model can sometimes reduce coupling error significantly, but sometimes generate worse results than without decoupling due to overfitting.

Support Vector Machine (SVM) is a powerful candidate for decoupling algorithms due to its ability to perform adaptive and nonlinear data fitting. SVM starts from solving problems of classification. With the introduction of Vapnik's ε-insensitive loss function, it also extends to be a regression prediction tool that uses machine learning theory to maximize predictive accuracy while not subject to local minimal and overfitting [16]. Support Vector Machine for regression, called Support Vector Regression, gradually becomes a powerful tool for nonlinear correcting and compensation in the field of sensors. Guo et al. in [17] established a model based on SVR to correct the nonlinear error of photoelectric displacement sensor. Wang in [18] used SVR to make nonlinear estimation and temperature compensation of capacitor pressure sensors.

The design of decoupling algorithms of 3-axis force sensors presents several challenges. First, a 3-axis force sensor is usually used in on-line force perception tasks. This requires the sensor to show quick response to variations of input forces. Thus, the decoupling algorithms should have high time efficiency. Second, inevitable noises in calibration data may result in overfitting such that decoupling precision will be reduced. Also, due to improper operations of laboratory technicians or environment disturbances, occasionally there may be gross errors in calibration data. Gross errors are outliers that strongly deviate from the majority of experiment data. Gross errors may result in unexpected decoupling results such that decoupling precision will be reduced. A reliable decoupling algorithm should be designed to minimize the negative effects of noises and gross errors. Third, because the hardware causes of coupling errors such as the mechanical structures and the limitations of machining accuracy are complex and uncertain, it is difficult to model the coupling errors by polynomials. Thus, a decoupling algorithm should have a high generalization ability.

Motivated by the above challenges, this paper proposes a precise and fast decoupling algorithm with high reliability. Instead of referring to the whole sensor system as a black box using one standard NN [14,15], the proposed decoupling algorithm is designed using the principle of coupling errors, in which the relationships between each input and output are mapped separately in the proposed coupling error model to make the algorithm more reliable. The proposed coupling error model consists of six SVRs and three linear fitting functions, which is more conformable to calibration data structure. Our method is compared with the standard NN method, as they are applied to the same data from a calibration experiment, and our method gives better reliability and higher efficiency.

The remainder of the paper is organized as follows. Section 2 introduces a novel model of coupling error and its notations. ε-SVR is described as the nonlinear approximation tool of the model. A decoupling process based on the model is proposed. Section 3 briefly describes the principle of a 3-axis sensor designed in our lab, the calibration experiment process and the structure of the calibration data. Section 4 discusses the implementation details of the decoupling method using a set of experimental data obtained from a calibration experiment. In order to demonstrate that our decoupling algorithm is robust to gross errors, gross errors were artificially introduced into the calibration data and the decoupling accuracy with the gross errors were calculated. Finally, in Section 5 some conclusions are provided.

2. Nonlinear Static Decoupling

2.1. Coupling Error Model and Notations

We first establish an appropriate coupling error model to capture the relationships between input forces and corresponding coupling errors. In the model, the input forces and output voltages of a 3-axis force sensor in X, Y, Z directions are defined as fx, fy, fz and ux, uy, uz, respectively.

For each dimension, output voltages are partitioned into two categories. One category includes the voltages corresponding to input forces in the same dimension, called prime voltages. The other category includes the voltages corresponding to the input forces in the other two dimensions, called coupling errors. We use uxx, uyy, uzz to denote prime voltages and ex, ey, ez to denote coupling errors in X, Y, Z directions, respectively. Prime voltages account for the majority of output voltages. Next, coupling errors are separated into two coupling error elements caused by input forces of different dimensions. Let (exy, exz) represent the coupling error element in X direction, where exy refers to the coupling error element caused by fy, and exz refers to the coupling error element caused by fz. Similarly, we split the coupling error in Y direction into eyx and eyz, and split the coupling error in Z direction into ezx and ezy. We can get:

{ u x = u xx + e xy + e x z u y = u y y + e yx + e yz u z = u z z + e zx + e zy

Based on the observation of calibration data of multi-axis force sensors in our lab, we make the following assumptions about coupling errors.

  • The relationship between the prime force and the prime voltage in every dimension is linear;

  • Relationships between disturbing force and their corresponding coupling error elements in every dimension are nonlinear;

  • The above relationships are independent and time-invariant.

From the above assumptions and the principle of superposition for stress, we propose a coupling error model as shown in Figure 1.

In Figure 1, there are three layers in the coupling error model: the input layer, the output layer, and the middle layer. Nine nodes in the middle layer are parallel and separated from each other. Functions ωx(), ωy() and ωz(), are non-coupling functions, linearly relating prime force to prime voltage in each dimension as shown in Equation (2).

{ u xx = ω x ( f x ) = k xx f x u y y = ω y ( f y ) = k y y f y u z z = ω z ( f z ) = k z z f z

In calibration experiments, only one-dimensional force is applied to a 3-axis force sensor each time, while the output voltages of all directions are recorded simultaneously. Detailed calibration experiment process will be described in Section 3. Consequently, as for calibration data, no coupling error exists in the output voltage corresponding to the direction of the input force and no prime force exists in the output voltages of other directions. In other words, the output voltage equals the prime voltage when the direction of the output voltage is the same as the direction of the input force, and the output voltage equals the corresponding coupling error elements when the direction of the output voltage is different from the direction of the input force. For instance, during calibration experiment of X direction, a set of standard fx(c) are applied to the force sensor while fy(c) and fz(c) remain zero (the subscript c represents “calibration data”). Thus we can get ux(c) = uxx(c), uy(c) = eyx(c), uz(c) = ezx(c). Similarly, for calibration data in Y direction, ux(c) = exy(c), uy(c) = uyy(c), uz(c) = ezy(c); for calibration data in Z direction, uz(c) = exz(c), uy(c) = eyz(c), uz(c) = uzz(c).Thus, coefficients kxx, kyy, and kzz in Equation (2) can be calculated by linear fitting of prime forces and prime voltages of calibration data using LSM.

Functions respecting nonlinear relationships between disturbing forces and corresponding coupling error elements in every dimension are φyx(), φzx(), φxy(), φzy(), φxz(), φyz(), called coupling functions as shown in Equation (3).

{ e yx = φ yx ( f x ) ; e zx = φ zx ( f x ) ; e xy = φ xy ( f y ) ; e zy = φ zy ( f y ) ; e x z = φ x z ( f z ) ; e yz = φ yz ( f z ) ;

Then, corrected coupling functions χ() can be obtained from Equations (2) and (3):

{ e yx = φ yx ( f x ) = φ yx ( ω x 1 ( u xx ) ) = χ yx ( u xx ) e zx = φ zx ( f x ) = φ zx ( ω x 1 ( u xx ) ) = χ zx ( u xx ) e xy = φ xy ( f y ) = φ xy ( ω y 1 ( u y y ) ) = χ xy ( u y y ) e zy = φ zy ( f y ) = φ zy ( ω y 1 ( u y y ) ) = χ zy ( u y y ) e x z = φ x z ( f z ) = φ x z ( ω z 1 ( u z z ) ) = χ x z ( u z z ) e yz = φ yz ( f z ) = φ yz ( ω z 1 ( u z z ) ) = χ yz ( u z z )

During a decoupling process of an actual force perception task, one can hardly obtain the exact value of prime voltages uxx, uyy, uzz for Equation (4), because the data obtained in a force perception task (called task data) are different from calibration data. The input forces in all directions are always non-zero, so the output voltages in all directions contain coupling errors and the output voltages no longer equal the prime voltages. However, a large number of experiment data show that, in most cases, coupling errors take up less than 5% of the full scale (F.S.) output voltages and the absolute values of the slopes of the corrected coupling functions are no more than 0.05. Thus, the output voltages of task data ux(t), uy(t), uz(t) approximately equal the prime voltages uxx(t), uyy(t), uzz(t) (the subscript t represents “task data”), and can be used as substitutions of the prime voltages ux(t), uy(t), uz(t) as independent variables of Equation (4). This approximate substitution may induce second-order coupling errors. Take eyx for example: the measured coupling error element eyx(m) = χyx(ux(t)) is calculated instead of the actual coupling error element eyx(a) = χyx(uxx(t))(the subscript m represents “measured”; the subscript a represents “actual”). The second-order coupling error Eeyx can be expressed in Equation (5),

E e yx = | e y x ( m ) e y x ( a ) | u x ( F . S . ) = | χ yx ( u x ( t ) ) χ yx ( u x x ( t ) ) | u x ( F . S . )
where ux(F.S.) represents the full scale value of output voltages in X direction.

According to the Lagrange mean value theorem, ∃ξ ∈ (uxx(t), ux(t)) such that

E e yx = | χ yx ( ξ ) | | ( u x ( t ) u x x ( t ) ) | u x ( F . S . ) 0.05 ( 5 % u x ( F . S . ) ) u x ( F . S . ) = 0.25 %

As a result, the rate of second-order coupling errors is less than 0.25% and can be neglected in most industrial applications.

We choose ε-SVR for nonlinear approximations for the corrected coupling functions, which is much less likely to subject to overfitting problems. Also, the fitting processes of those functions are independent from one dimension to another, hence the fitting result of one dimension does not affect that of another dimensions.

2.2. Approximation of Corrected Coupling Functions Using ε-SVR

Six ε-SVRs are utilized to approximate six corrected coupling functions for its generalization ability. ε-SVR learns the relationship between the input (i.e., prime voltages) and the output (i.e., corresponding coupling error elements) by adjusting the structure and parameters of a flexible model directly from training data to minimize the prediction error.

The basic idea for the case of nonlinear regression by ε-SVR is to project the input space xi to a higher dimensional feature space by a map Φ. Then, the ε-SVR defines a linear prediction model over the mapped samples in the feature space. A nonlinear function is learned by this model while the capacity of the model is controlled by a parameter that does not depend on the dimensionality of the space [16]. As calculation with the map Φ can easily become computationally infeasible (because it is too complex), a kernel function k is introduced as the dot product of Φ, as expressed in Equation (7).

< Φ ( x i ) , Φ ( x j ) > = k ( x i , x j )

Typical kernels include the linear k ( x i , x j ) = x i T = x j, the polynomial k ( x i , x j ) = ( x i T x j + 1 ) d, and the Gaussian Function(RBF) k(xi, xj) = exp(−‖xixj2/2δ2). The RBF kernel is most frequently used and it is also the one used in our implementation.

Briefly, the ε-SVR is to solve a convex optimization problem:

minimize 1 2 w 2 + C i = 1 Q ( ξ i + ξ i )
subject to { y i w Φ ( x i ) b ɛ + ξ i w Φ ( x i ) + b y i ɛ + ξ i ξ i , ξ i 0
where i = 1,2, … , Q are training data points, the parameter w indicates the flatness of regression function f due to the fact that kernels can be associated with flatness properties via regularization operators [19]. ξi, ξ i are slack variables introduced by Vapnik's ε-insensitive loss function [20], in which errors up to ε are not penalized, and all further deviations will incur a linear penalization [21]. C > 0 is the regularization parameter determining the trade-off between the flatness of regression function f ( i . e . , 1 2 w 2 ) and the total tolerance on deviations larger than ε ( i . e . , i = 1 Q ( ξ i + ξ i ) ). A graphical description of ε-SVR model is shown in Figure 2. Points on the boundaries and outside the boundaries are called Support Vectors.

To solve the optimization problem of Equation (8), a Lagrange function is constructed by introducing Lagrange multipliers ai and a i . Partial derivatives of the Lagrange function with respect to the primal variables (w, b, ξi, ξ i ) are calculated. Finally, the dual optimization problem can be derived by partial derivation of the Lagrange function and taking into account that ξ i ξ i = 0:

maximize 1 2 i , j = 1 Q ( a i a i ) ( a j a j ) k ( x i x j ) ε i = 1 Q ( a i + a i ) + i = 1 Q ( a i a i )
subject to i = 1 Q ( a i a i ) = 0 and a i , a i ε [ 0 , C ]

Note that Support Vectors correspond to training data whose Lagrange multipliers ai's are non-zero in Equation (9). Training data for which ai = C are called Bounded Support Vectors, and they are located on the two boundaries in Figure 2. Training data with 0 < ai < C are called Free Support Vectors and they are outside the boundaries [22]. Only Support Vectors contribute to the penalization in Equation (8a). Equation (9) can be solved by optimization algorithms such as Sequential Minimal Optimal, Chunking and Decomposing. The Sequential Minimal Optimal [23] is most frequently used due to its fast calculation speed. Solving the quadratic problems of Equation (9) yields the final solution of ε-SVR:

f ( x ) = i = 1 Q ( a i a i ) k ( x i , x ) + b

It is shown that ε-SVR has properties of robustness to noises and gross errors even though the gross errors are part of the set of Support Vectors [24,25]. This is because the Lagrange Multipliers solved in the objective function of Equation (9) are upper bounded by the constraint of Equation (9). All Support Vectors, including the gross errors, will have Lagrange Multipliers with absolute value no more than the upper bound C. From aspect of Equation (8), as C searches for trade-off between flatness and empirical risk, if necessary, ε-SVR will sacrifice the tolerance to get a good flatness. ε-SVR also has many other advantages such as global minima and reduced likelihood of overfitting.

2.3. Decoupling Process

The whole decoupling process consists of two stages. The first stage is for establishment of the coupling error functions. The second stage is in an actual on-line force perception task. During the task, the output voltages of all directions are obtained and the coupling error model is utilized to eliminate coupling errors and calculate measured forces. Our decoupling process is described as follows:

  • Conduct the static calibration experiment of a 3-axis force sensor and get the calibration data, which contain sets of input forces and output voltages (fx(c), fy(c), fz(c) and ux(c), uy(c), uz(c)).

  • Do linear fitting of fx(c) and ux(c) from calibration data in X direction using LSM, to get the slope kxx in Equation (2). In the same way, get coefficients kyy and kzz in Equation (2) from the calibration data in Y direction and Z direction respectively. In this way, three non-coupling functions ωx(),ωy() and ωz() and three inverse functions of the non-coupling functions ω x 1 ( ), ω y 1 ( ) and ω z 1 ( ) are obtained.

  • Do nonlinear function approximation for ux(c) and uy(c) from the calibration data in X direction by ε-SVR to get the corrected coupling function χyx(), do nonlinear function approximation for ux(c) and uz(c) from the calibration data in X direction by ε-SVR to get the corrected coupling function χzx().

  • Calculate the corrected coupling functions χxy() and χzy() from calibration data in Y direction and χxz() and χyz() from calibration data in Z direction respectively in the same way as in step 3.

The above steps establish the entire coupling error model. The following steps are designed for decoupling based on the model using a 3-axis force sensor in an actual force perception task.

  • Obtain task data, namely, a set of output voltages (ux(t), uy(t), uz(t)) of a 3-axis force sensor, during an actual force perception task. Compute each coupling error elements of measured data using the corrected coupling functions.

  • Subtract the coupling errors from the output voltages to get prime voltages as shown in Equation (1). Then calculate prime forces of measured data, namely, the measured three dimensional forces by ω x 1 ( ), ω y 1 ( ) and ω z 1 ( ). The measured forces fx(m),fy(m),fz(m) can also be expressed in Equation (11).

    { f x ( m ) = w x 1 [ u x ( t ) χ xy ( u y ( t ) ) χ x z ( u z ( t ) ) ] f y ( m ) = w y 1 [ u y ( t ) χ yx ( u x ( t ) ) χ yz ( u z ( t ) ) ] f z ( m ) = w z 1 [ u z ( t ) χ zx ( u x ( t ) ) χ zy ( u y ( t ) ) ]

Figure 3 shows the flow chart of the whole decoupling process. The blue arrows indicate off-line process of the establishment of the coupling error model with calibration data. The red arrows indicate on-line process of decoupling in an actual force perception task. Note that the coupling error model and decoupling process are proposed with respect to a predefined frame based on the structural characteristics of the sensor. During an actual force perception task, if the orientation of the predefined frame is different from that of the reference frame used for force perception, the measured forces after decoupling with respect to the predefined frame should be transformed by a rotation matrix in order to align with the reference frame.

3. Calibration Experiment

As an example 3-axis force sensor, we consider a 3-axis force sensor designed and fabricated in our lab. The force measurement range in both X direction and Y direction is −100 N to +100 N, and the force measurement range in Z direction is −150 N to 0 N. The corresponding output voltages range in X direction and Y direction is −1.4 V to +1.4 V, and the output voltages range in Z direction is −1.2 V to +1.2 V.

The key component of the 3-axis force sensor is composed of a cross-beam elastic body with strain gauges, Wheatstone bridges, and a sampling circuit [26]. The principle of the 3-axis force sensor can be briefly described as follows: under the effect of loading forces, the cross-beam elastic body begins to deform measurably. Strain gauges that are pasted firmly on the surface of the cross-beam elastic body can sense the strains and transform them to changes in resistance. Resistance changes of strain gauges are measured by Wheatstone bridges and transformed to voltages. Finally, the sampling circuit amplifies the output voltages of Wheatstone bridges and transmits the amplified voltage signals to the robot controller.

The common calibration method for medium range multi-axis force sensors [2730] are utilized. A series of standard input forces in three directions are loaded on the sensor separately, and output voltages in all three directions are recorded simultaneously. The diagram of the static calibration experiment setup is shown in Figure 4, which consists of a loading plate, a calibration shaft, a 3-axis force sensor, an indexing plate, a pulley block, weights and a base.

The force sensor is fixed on a horizontally rotatable indexing plate with scale to ensure the direction of loading forces. The maximum error of the weights is ±5 mg. Loading forces in X direction and Y direction are generated by pulley block and weights while indexing plate is rotated by laboratory technicians to ensure the loading direction. During force loading process in Z direction, a series of standard weights are put directly on the loading plate. All loading forces are transferred from weights to force sensors through the calibration shaft. The experiment platform of static calibration experiment is shown in Figure 5.

The calibration range is from −100 N to +100 N with an increment step of 10 N in X direction and Y direction. The calibration range in Z direction is from −150 N to 0 N with an increment step of 5 N. The whole calibration experiment is carefully repeated six times. Six sets of calibration data are obtained and zero-corrected. No gross errors are tested in the zero-corrected data.

4. Results

4.1. Decoupling by a Standard RBF

Cross validation is used to estimate the performance of decoupling by a standard MIMO RBF NN. The cross validation is repeated three times while each two sets of the zero-corrected calibration, named as “test data I” and “test data II”, are used for verification and the other four sets are used as training data. Matlab Neural Network Toolbox is used for simulations. The variance is set to 1, the maximum MSE error tolerance is set to 2.4 × 10−6.

The maximum MSE error tolerance is chosen to be small enough to ensure that all training data be selected as centers of the MIMO RBF NN.

In order to test the decoupling accuracy, interference errors γ are calculated. Taking calibration data in X direction for example, the interference error γx is calculated in Equation (12),

γ x = max | f y ( m ) | + max | f z ( m ) | f x ( F S )
where fx(FS) denotes the full scale value of loaded force in X direction. The interference error γx accounts for maximum coupling errors in Y direction and Z direction induced by loaded force in X direction. γy and γz are calculated in the same way. Interference errors of initial data and data after decoupling by a standard MIMO RBF NN are shown in Table 1.

Table 1 shows that the decoupling algorithm by a standard MIMO RBF is unreliable, because although some interference errors are reduced to less than 1%, some interference errors are even worse than initial data (in boldface). This is because compared with the number of training data, there are too many parameters in the MIMO RBF NN. Also, different coupling error elements are not well related. For example, there is little relationship between exy and exz. However, decoupling by a standard MIMO RBF NN means all the relationships are regarded as the same in the training process. The standard MIMO RBF NN does not have a good conformability with the calibration data shape. As a result, random noise in the training data may easily contribute to overfitting.

4.2. Decoupling by the Coupling Error Model and ε-SVR

We also use cross validation to test the performance of our proposed decoupling algorithm. Here we take the first round of cross validation for example. To quantify the strong linearity of non-coupling functions, linear fittings are performed on the training data (plotted as blue points) to determine the slopes and strength of the correlations (plotted as black lines) as shown in Figure 6.

The linear correlation coefficients for all three directions are calculated to be more than 0.99, which correspond to assumption 1 (see Section 2). The inverse functions of non-coupling functions are obtained as:

{ f x = ω x 1 ( u x ) = 75.065 u x f y = ω y 1 ( u y ) = 77.788 u y f z = ω z 1 ( u z ) = 125.17 u z

The six corrected coupling functions are approximated by ε-SVRs. Each corrected coupling function is fitted by a separate ε-SVR, where the pre-specified parameters are set as the same value. The ε-SVR based approximations of corrected coupling functions are carried out using MATLAB and LIBSVM [31] software applications. LIBSVM [31] is an integrated software for support vector classification, distribution estimation and regression. It implements an SMO-type optimization algorithm [32] and provides an efficient interface for MATLAB. The initial parameters used to train the ε-SVR model by LIBSVM tool are listed in Table 2.

Here we also employ six separate Single Input Single Output(SISO) RBF NNs to do nonlinear approximations of the corrected coupling error functions to make a comparison with ε-SVRs. Parameters of the SISO RBF NNs are defined the same as the MIMO RBF NN, which is mentioned in Section 4.1.

Figure 7 shows the fitting results of the six corrected coupling functions.The blue points represent training data, the red points and magenta points represent two groups of test data respectively, the black curves represent fitted corrected coupling functions using ε-SVR and the red curves represent fitted corrected coupling functions using SISO RBF NN. Relationships between disturbing forces and related coupling error elements are nonlinear and distinct from one another, which correspond to assumption 2 and assumption 3 (see Section 2.1). In Figures 7(a) and 7(d), obvious overfittings happen in the fitting results of χxy and χyz using SISO RBF NNs, but the ε-SVR provides a good generalization ability to approximate different kinds of nonlinear functions without overfitting.

In the same fashion, the other two rounds of cross validation are calculated and interference errors are listed in Table 3. In Table 3, all interference errors are reduced to less than 1.6% FS. after decoupling by ε-SVR. Compared with Table 1, the decoupling accuracy is much more stable because no overfitting happens. Therefore, the proposed decoupling algorithm based on our coupling error model and ε-SVR is more robust.

4.3. Processing Time

Besides decoupling accuracy, another crucial criterion for a successful decoupling algorithm is the processing speed of both model establishment and decoupling an output voltage vector in an actual force perception task, especially the latter for on-line task purposes. To evaluate the processing speed, the elapsed time of the above two stages is recorded and the whole process is repeated 10 times. All calculations are done on a Windows XP Inter(R) Xeon(TM) 2 QUAD CPU, 3.0 GHz processor with 3.00 GB RAM. An overview of the averaged elapsed time is shown in Table 4. Table 4 shows that the elapsed time of the proposed algorithm in both the model establishment and the decoupling of an output voltage vector is less than decoupling by a standard RBF NN. ε-SVR proves to be fast regressions. The elapsed time of decoupling a certain output voltage vector using a coupling error model based on ε-SVR is less than 0.001 s. This means that the decoupling frequency is higher than 1,000 Hz. The speed of testing process based on ε-SVR is fast.

Summarizing, the calculation results of the decoupling methods demonstrate that our decoupling method based on our coupling error model and ε-SVRs has high reliability and fast running speed when no gross errors exist in the calibration data. In the next section, we will artificially add gross errors to the calibration data and analyze the decoupling method's robustness to gross errors.

4.4. Robustness to Gross Errors

Now we simulate the decoupling algorithm's reaction to gross errors. The gross errors in calibration data are also called outliers. As the quantity of gross errors in calibration data is always small, in our research, only one gross error is generated in one dimension while the calibration data of other dimensions remain the same. Here we take the first round of cross validation for example. The decoupling process is the same as Section 4.2. We artificially generate a gross error into the calibration data in X direction to test the gross error's effect on the decoupling accuracy in all dimensions. The gross error is added artificially by arbitrarily moving a point away from its initial location.

As no gross errors are introduced into the calibration data of other dimensions, the fitting results of functions in Y direction and Z direction will remain the same as shown in Figures 6 and 7. The fitting results of the non-coupling function ωx() and corrected-coupling functions χxy() and χxz() in X direction with the gross error (plotted with red circles) are shown in Figures 8 and 9. The inverse function of ωx() is obtained as:

f x = ω x 1 ( u x ) = 74.193 u x

Comparing Figure 9 with Figure 7, when the obtained calibration data contain a gross error (outlier), the ε-SVR is not sensitive to the gross error and performs with high reliability, which correspond to the analysis in Section 2.2.2. Consequently, the proposed decoupling algorithm based on ε-SVR displays a strong robustness to the gross error. The calculated interference errors of test data I and test data II under the gross error's effect are listed in Table 5. Comparing Table 5 with Table 3, when the gross error is artificially introduced, γx, γy and γz after decoupling by ε-SVR of both test data I and test data II seem almost unchanged. The comparison of interference errors also confirms that ε-SVR is robust to gross errors.

5. Conclusions

In this paper, a robust decoupling algorithm to efficiently reduce coupling errors for 3-axis force sensors is presented. The decoupling algorithm is based on the establishment of a novel coupling error model and ε-SVR. In the coupling error model, input forces are partitioned into prime forces and disturbing forces, and the corresponding output voltages are partitioned into prime voltages and coupling error elements. The structure of the coupling error model makes the decoupling process in one dimension separated from other dimensions. Linear relationships between prime forces and prime voltages in every dimension are fitted by LSM. Nonlinear relationships between disturbing forces and corresponding coupling error elements are fitted by ε-SVR.

The experimental results show the effectiveness of the decoupling method. All interference errors are reduced to less than 1.6%. Compared with decoupling algorithm using one standard MIMO RBF NN, the proposed decoupling algorithm demonstrates a better tolerance to noises and faster calculation speed (with the decoupling frequency higher than 1,000 Hz). It also shows robustness to gross errors. As a result, compared with existing decoupling methods, the decoupling algorithm based on the proposed coupling error model and ε-SVR is much more reliable in complex scenarios.

Acknowledgments

This work was supported in part by the National Natural High Technology Research and Development Program of China (863 Program) (No. 2008AA040202), Natural Science Foundation Project of Jiangsu Province (No. DK2010063), Scientific and Technological Research Project of Changzhou (No. CE20100022).

References

  1. Perry, D. Multi-axis force and torque sensing. Sens. Rev. 1997, 17, 117–120. [Google Scholar]
  2. Lefebvre, T.; Xiao, J.; Bruyninckx, H.; De Gersem, G. Active compliant motion: A survey. Adv. Robot. 2005, 19, 479–499. [Google Scholar]
  3. Siciliano, B.; Villani, L. Robot Force Control; Springer: Napoli, Italy, 1999; Volume 540. [Google Scholar]
  4. Siciliano, B.; Khatib, O. Force Control. In Springer Handbook of Robotics; Springer-Verlag New York Inc: New York, NY, USA, 2008; pp. 161–185. [Google Scholar]
  5. Xu, G.; Song, A.; Li, H. Adaptive impedance control for upper-limb rehabilitation robot using evolutionary dynamic recurrent fuzzy neural network. J. Intell. Robot. Syst. 2011, 62, 501–525. [Google Scholar]
  6. Nagata, F.; Kusumoto, Y.; Watanabe, K.; Tsuda, K.; Yasuda, K.; Yokoyama, K.; Omoto, M.; Miyako, H. Polishing Robot for PET Bottle Molds Using a Learning-Based Hybrid Position/Force Controller. Proceedings of the 5th Asian Control Conference, Melbourne, Australia, June 2004; pp. 914–921.
  7. Lee, S.; Asada, H. A perturbation/correlation method for force guided robot assembly. IEEE Trans. Robot. Autom. 1999, 15, 764–773. [Google Scholar]
  8. Song, A.; Wu, J.; Qin, G.; Huang, W. A novel self-decoupled four degree-of-freedom wrist force/torque sensor. Measurement 2007, 40, 883–891. [Google Scholar]
  9. Beyeler, F.; Muntwyler, S.; Nelson, B. Design and Calibration of a Microfabricated 6-Axis Force-Torque Sensor for Microrobotic Applications. Proceedings of the International Conference on Robotics and Automation, Zurich, Switzerland, May 2009; pp. 520–525.
  10. Kim, K.; Sun, Y.; Voyles, R.; Nelson, B. Calibration of multi-axis MEMS force sensors using the shape-from-motion method. IEEE Sens. J. 2007, 7, 344–351. [Google Scholar]
  11. Oddo, C.; Valdastri, P.; Beccai, L.; Roccella, S.; Carrozza, M.; Dario, P. Investigation on calibration methods for multi-axis, linear and redundant force sensors. Meas. Sci. Technol. 2007, 18, 623–631. [Google Scholar]
  12. Voyles, R.; Morrow, J.; Khosla, P. Shape from Motion Approach to Rapid and Precise Force/Torque Sensor Calibration. Proceedings of the International Mechanical Engineering Congress and Exposition, San Francisco, USA, November 1995; pp. 67–73.
  13. Cao, H.; Yu, Y.; Ge, Y. A Research of Multi-Axis Force Sensor Static Decoupling Method Based on Neural Network. Proceedings of the International Conference on Automation and Logistics, Shenyang, China, August 2009; pp. 875–879.
  14. Lei, J.; Qiu, L.; Liu, M.; Song, Q.; Ge, Y. Application of Neural Network to Nonlinear Static Decoupling of Robot Wrist Force Sensor. Proceedings of the 6th World Congress on Intelligent Control and Automation, Dalian, China, October 2006; pp. 5282–5285.
  15. Ming, D.; Zhang, X.; Liu, X.; Wan, B.; Hu, Y.; Luk, K. Nonlinear Static Decoupling of Six-Dimension Force Sensor for Walker Dynamometer System Based on Artificial Neural Network. Proceedings of the International Conference on Computational Intelligence for Measurement Systems and Applications, Hong Kong, May 2009; pp. 14–17.
  16. Cristianini, N.; Shawe-Taylor, J. An Introduction to Support Vector Machines: And Other Kernel-Based Learning Methods; Cambridge Univ. Press: Cambridge, UK, 2000. [Google Scholar]
  17. Guo, J.; He, Y.; Liu, C. Nonlinear correction of photoelectric displacement sensor based on least square support vector machine. J. Cent. S. Univ. Technol. 2011, 18, 1614–1618. [Google Scholar]
  18. Wang, X. Non-Linearity Estimation and Temperature Compensation of Capacitor Pressure Sensors Using Least Square Support Vector Regression. Proceedings of the International Symposium on Knowledge Acquisition and Modeling Workshop, Wuhan, China, December 2008; pp. 1161–1164.
  19. Smola, A.; Schölkopf, B. A tutorial on support vector regression. Stat. Comput. 2004, 14, 199–222. [Google Scholar]
  20. Vapnik, V. Statistical Learning Theory; Wiley: New York, NY, USA, 1998. [Google Scholar]
  21. Verrelst, J.; Muñoz, J.; Alonso, L.; Delegido, J.; Rivera, J.; Camps-Valls, G.; Moreno, J. Machine learning regression algorithms for biophysical parameter retrieval: Opportunities for sentinel-2 and-3. Remote Sens. Environ. 2012, 118, 127–139. [Google Scholar]
  22. Wang, L. Support Vector Machines: Theory and Applications; Springer Verlag: Singapore, 2005; Volume 177. [Google Scholar]
  23. Platt, J.C. Fast Training of Support Vector Machines Using Sequential Minimal Optimization. In Advances in Kernel Methods: Support Vector Machines; MIT Press: Cambridge, MA, USA, 1998; pp. 185–208. [Google Scholar]
  24. Dahai, L.; Tianshi, L. On-Line Robust Modeling of Nonlinear Systems Using Support Vector Regression. Proceedings of the 2nd International Conference on Advanced Computer Control, Shenyang, China, March 2010; pp. 204–208.
  25. Chuang, C.; Su, S.; Jeng, J.; Hsiao, C. Robust support vector regression networks for function approximation with outliers. IEEE Trans. Neural Netw. 2002, 13, 1322–1330. [Google Scholar]
  26. Ma, J.; Song, A. Development of a novel two-axis force sensor for chinese massage robot. Appl. Mech. Mater. 2012, 103, 299–304. [Google Scholar]
  27. Berkelman, P.; Whitcomb, L.; Taylor, R.; Jensen, P. A miniature microsurgical instrument tip force sensor for enhanced force feedback during robot-assisted manipulation. IEEE Trans. Robot. Autom. 2003, 19, 917–921. [Google Scholar]
  28. Chao, L.; Yin, C. The six-component force sensor for measuring the loading of the feet in locomotion. Mater. Des. 1999, 20, 237–244. [Google Scholar]
  29. Chen, L.; Song, A. A Novel Three Degree-of-Freedom Force Sensor. Proceedings of the International Conference on Measuring Technology and Mechatronics Automation, Zhangjiajie, China, April 2009; pp. 77–80.
  30. Xu, K.; Li, C.; Zhu, Z. Dynamic modeling and compensation of robot six-axis wrist force/torque sensor. IEEE Trans. Instrum. Meas. 2007, 56, 2094–2100. [Google Scholar]
  31. Chang, C.C.; Lin, C.J. LIBSVM: A library for support vector machines. ACM Trans. Intell. Syst. Technol. 2011, 2, 1–27. [Google Scholar]
  32. Fan, R.; Chen, P.; Lin, C. Working set selection using second order information for training support vector machines. J. Mach. Learn. Res. 2005, 6, 1889–1918. [Google Scholar]
Figure 1. A coupling error model of 3-axis force sensors.
Figure 1. A coupling error model of 3-axis force sensors.
Sensors 12 14537f1 1024
Figure 2. Graphic description of the ε-SVR model for a linear case.
Figure 2. Graphic description of the ε-SVR model for a linear case.
Sensors 12 14537f2 1024
Figure 3. The flow chart of the whole decoupling process.
Figure 3. The flow chart of the whole decoupling process.
Sensors 12 14537f3 1024
Figure 4. Diagram of static calibration experiment setup: (1) loading plate, (2) calibration shaft, (3) three-axis force sensor, (4) indexing plate, (5) pulley block, (6) weights, (7) base.
Figure 4. Diagram of static calibration experiment setup: (1) loading plate, (2) calibration shaft, (3) three-axis force sensor, (4) indexing plate, (5) pulley block, (6) weights, (7) base.
Sensors 12 14537f4 1024
Figure 5. The static calibration experiment setup.
Figure 5. The static calibration experiment setup.
Sensors 12 14537f5 1024
Figure 6. Linear fittings of non-coupling functions.
Figure 6. Linear fittings of non-coupling functions.
Sensors 12 14537f6 1024
Figure 7. Approximation of corrected coupling functions by ε-SVR vs. by RBF NN.
Figure 7. Approximation of corrected coupling functions by ε-SVR vs. by RBF NN.
Sensors 12 14537f7 1024
Figure 8. The fitting result of the ωx for calibration data with gross error.
Figure 8. The fitting result of the ωx for calibration data with gross error.
Sensors 12 14537f8 1024
Figure 9. The fitting results of χxy() and χxz for calibration data with the gross error.
Figure 9. The fitting results of χxy() and χxz for calibration data with the gross error.
Sensors 12 14537f9 1024
Table 1. Error analysis of initial data and decoupling by a standard MIMO RBF.
Table 1. Error analysis of initial data and decoupling by a standard MIMO RBF.
γxγyγz

initial datadecoupled by RBFinitial datadecoupled by RBFinitial datadecoupled by RBF
the firsttest I2.54%0.42%2.57%3.73%2.36%0.17%
cross-validationtest II2.37%0.61%2.52%7.99%2.55%0.23%
the secondtest I2.31%1.02%2.59%2.32%2.98%0.71%
cross-validationtest II2.73%3.45%2.65%0.74%2.81%0.69%
the thirdtest I2.40%0.49%2.68%0.31%2.57%0.34%
cross-validationtest II2.32%0.26%2.71%0.31%2.14%0.32%
Table 2. Initial parameters used by the LIBSVM train tool.
Table 2. Initial parameters used by the LIBSVM train tool.
ParameterValue
SVM type3(ε-SVR)
Kernel function2(RBF)
δ2 (Standard deviation of kernel function)1
C (Regularization parameter)1000
ε (Deviation)0.0001
Tolerance0.001
Table 3. Error analysis of decoupling algorithm by ε-SVRs.
Table 3. Error analysis of decoupling algorithm by ε-SVRs.
γxγyγz
the firsttest I1.69%1.33%0.82%
cross-validationtest II1.45%1.28%0.59%
the secondtest I1.30%1.47%0.86%
cross-validationtest II1.56%1.24%0.76%
the thirdtest I1.43%1.52%0.67%
cross-validationtest II1.48%1.57%0.83%
Table 4. Mean elapsed time (in seconds) of the training process and the testing process.
Table 4. Mean elapsed time (in seconds) of the training process and the testing process.
a RBF NNε-SVRs
Establishment of the model80.56033.3702
Decoupling of an output voltage vector0.14040.00093
Table 5. Error analysis of decoupling by ε-SVRs when a gross error is introduced.
Table 5. Error analysis of decoupling by ε-SVRs when a gross error is introduced.
γxγyγz
the firsttest I1.41%1.51%0.71%
cross-validationtest II1.44%1.56%0.87%

Share and Cite

MDPI and ACS Style

Ma, J.; Song, A.; Xiao, J. A Robust Static Decoupling Algorithm for 3-Axis Force Sensors Based on Coupling Error Model and ε-SVR. Sensors 2012, 12, 14537-14555. https://doi.org/10.3390/s121114537

AMA Style

Ma J, Song A, Xiao J. A Robust Static Decoupling Algorithm for 3-Axis Force Sensors Based on Coupling Error Model and ε-SVR. Sensors. 2012; 12(11):14537-14555. https://doi.org/10.3390/s121114537

Chicago/Turabian Style

Ma, Junqing, Aiguo Song, and Jing Xiao. 2012. "A Robust Static Decoupling Algorithm for 3-Axis Force Sensors Based on Coupling Error Model and ε-SVR" Sensors 12, no. 11: 14537-14555. https://doi.org/10.3390/s121114537

Article Metrics

Back to TopTop