Next Article in Journal
Selectivity Enhancement in Molecularly Imprinted Polymers for Binding of Bisphenol A
Previous Article in Journal
Novel Downhole Electromagnetic Flowmeter for Oil-Water Two-Phase Flow in High-Water-Cut Oil-Producing Wells
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Temperature Compensation Method for Piezo-Resistive Pressure Sensor Utilizing Chaotic Ions Motion Algorithm Optimized Hybrid Kernel LSSVM

1
Department of Mechanical and Electrical Engineering, School of Aerospace Engineering, Xiamen University, Xiamen 361005, China
2
Fujian Wide Plus Precision Instruments Co. Ltd., Fuzhou 350015, China
3
Department of Mechatronics Engineering, School of Mechanical & Automotive Engineering, South China University of Technology, Guangzhou 510640, China
*
Author to whom correspondence should be addressed.
Sensors 2016, 16(10), 1707; https://doi.org/10.3390/s16101707
Submission received: 28 July 2016 / Revised: 14 September 2016 / Accepted: 15 September 2016 / Published: 14 October 2016
(This article belongs to the Section Physical Sensors)

Abstract

:
A piezo-resistive pressure sensor is made of silicon, the nature of which is considerably influenced by ambient temperature. The effect of temperature should be eliminated during the working period in expectation of linear output. To deal with this issue, an approach consists of a hybrid kernel Least Squares Support Vector Machine (LSSVM) optimized by a chaotic ions motion algorithm presented. To achieve the learning and generalization for excellent performance, a hybrid kernel function, constructed by a local kernel as Radial Basis Function (RBF) kernel, and a global kernel as polynomial kernel is incorporated into the Least Squares Support Vector Machine. The chaotic ions motion algorithm is introduced to find the best hyper-parameters of the Least Squares Support Vector Machine. The temperature data from a calibration experiment is conducted to validate the proposed method. With attention on algorithm robustness and engineering applications, the compensation result shows the proposed scheme outperforms other compared methods on several performance measures as maximum absolute relative error, minimum absolute relative error mean and variance of the averaged value on fifty runs. Furthermore, the proposed temperature compensation approach lays a foundation for more extensive research.

1. Introduction

Due to some unsatisfied aspects in manufacturing processes, such as the inconsistent doping concentration, mismatched thermal expansion coefficient among packaging materials, and electronics performance being sensitive to the mutation of the ambient temperature, monocrystalline silicon piezo-resistive pressure sensors suffer from nonlinear input–output characteristics as ambient temperature changes [1].
In order to eliminate the crucial disturbance by temperature, a number of techniques were presented. Among all methodologies, there are two dominant ways: hardware compensation from measuring principle viewpoint and software compensation from algorithm viewpoint. The hardware compensation regularizes circuit structure to approach the ideal input–output characteristics [2,3,4]. The limitations of debugging difficulty in the actual manufacturing process, increased cost, and limited compensation precision restrict the utilization of hardware compensation. The temperature compensation, in a certain sense, is a function approximation problem. The software compensation, in the context of which is mainly composed of conventional mathematical computation and artificial intelligence. The conventional software compensation methods of look-up table, spline interpolation and surface fitting are based on function fitting and interpolation [5,6,7,8]. The methods derived from artificial intelligence include neural networks [9,10,11,12] and support vector machines [13,14,15]. Although the conventional methods have a lower degree of difficulty when implemented in sensor circuits, they may encounter some trouble, which would arise from data collection cost with the increasing requirement of compensation precision or ill-conditioning problems in solving normal equations. Generally, the neural networks are based on an empirical risk minimum (ERM) principle and deepest gradient descent iteration, which may result in some defects such as dimension curse, local minimum, under-fitting or over-fitting, requirement of an amount of training set data, etc. Vapnik [16] invented a brand new machine learning theory known as support vector machines (SVM), which control the model complexity by the Vapnik-Chevernenkis (VC) dimension. SVM mainly aims at resolving classification and function approximation problems with relatively small samples. The structural risk minimum (SRM) principle of SVM that considers both ERM and confidence intervals has more decent learning and generalization ability than neural networks. To simplify and accelerate the solving process of SVM, Suykens [17] introduced the least squares support vector machine (LSSVM), which converts the inequality constraints in traditional SVM to linear equations in the framework of the regularization theory. Although the LSSVM can perform regression with quite high precision, the kernel function and hyper-parameters of it decide the actual outcomes. Consequently, a convex combination of different valid kernels and a chaotic ions motion algorithm are put forward to identify a proper kernel function and to customize the best hyper-parameters for LSSVM.

2. Temperature Effect on Piezoresistive Pressure Sensor

The operating principle of a piezoresistive pressure sensor is based on a piezoresistive effect that converts physical pressure signal to electrical signal. The packaging of the piezoresistive pressure sensor used in this article is shown in Figure 1. Generally, a symmetrical Wheatstone bridge consisting of four resistances (R1 = R2 = R3 = R4 = R) is the configuration of the piezoresistive pressure sensor, which is illustrated in Figure 2.
By analyzing the Wheatstone bridge in Figure 2, the output voltage can be expressed as in the following [18]:
U o u t p u t = I f × Δ R = I f R π σ ,
where I f is a constant current supplied by a steady current source, R is the value of resistance in each bridge arm, π is the piezoresistive coefficient of silicon, and σ is the stress applied on the sensor.
Ideally, U o u t p u t is linearly proportional to σ if R and π are both constants. Nevertheless, the ambient temperature has a significant influence, namely the temperature effect, on R and π in reality. The bridge arm resistance and the piezoresistive coefficient are denoted as in the following [19]:
R = R 0 ( 1 + α Δ T ) ,
π = π 0 ( 1 + β Δ T ) ,
where R 0 and π 0 are the resistance value and piezoresistive coefficient at room temperature, α and β are temperature coefficients of R and π , and Δ T is the ambient temperature variation. An additional stress will be generated between the support beam and substrate of the sensor when the ambient temperature varies. The additional stress quantity can be represented as [20]:
Δ σ = ( α s α g ) E 0 Δ T 1 + μ ,
where α s and α g are the thermal expansion coefficients of silicon and glass, respectively, and E 0 is the temperature coefficient of silicon at Kelvin temperature. Substituting Equations (2)–(4) into Equation (1), it should take an offset item θ , which depicts the error among every bridge arm resistance in fabrication process, and then the complete expression can be calculated as in the following:
U o u t p u t = I f R 0 π 0 [ 1 + ( α + β + α β Δ T ) Δ T ] [ σ + α s α g E 0 Δ T 1 + μ + θ ] .
According to the above analysis, the output voltage is not linearly scaled with the ambient temperature change. Additionally, some unavoidable reasons such as the asynchronously performance change of electronics with ambient temperature mutation and the different doping concentration in forming the bridge arm resistance, which directly determines α and β , also make the nonlinear relationship between U o u t p u t and Δ T more complicated.

3. Hybrid Kernel LSSVM

3.1. LSSVM

Assuming a sample as (x1, y1), (xi, yi), (xm, ym) Rn × R (xi is input, yi is output) and these data pairs are all generated from an independent and identical distribution. According to the Cover theorem, inputs from a nonlinear separable space become more separable by mapping them into a higher dimensional space. LSSVM implements the work with a kernel trick as well as SVM, and the discriminant function can be depicted as in the following [21]:
F = { f | f ( x ) = ω T · φ ( x ) + b , ω R n } ,
where ω is a weight vector in hyperplane space, b is the bias and φ ( x ) is the kernel function that satisfies the Mercer condition.
The regression problem in Equation (6) can be equally described as a convex optimization by adding a regularization item:
m i n 1 2 ω T ω + 1 2 C i = 1 n e i 2 s . t .   y i = ω T · φ ( x ) + b + e i , i = 1 , 2 , , n .
Then, constructing a Lagrange function:
L ( ω , b , e i , α ) = 1 2 ω T ω + 1 2 C i = 1 n e i 2 i = 1 n α i ( ω T · φ ( x ) + b + e i y i ) .
According to the Karush-Kuhn-Tucker (KKT) conditions, taking the derivative with respect of all variables of the Lagrange function:
L ω = 0 , L b = 0 , L e i = 0 , L α i = 0 .
The results are represented as follows:
ω = i = 1 n α i φ ( x i ) , i = 1 n α i = 0 , α i = C e i , ω T · φ ( x ) + b + e i y i = 0 .
From the vector calculation perspective, Equation (10) can be translated in a form of a system of linear equations as:
| 0 I I Ω + γ 1 I | · | b α | = | 0 y | ,
where I is a column vector with each element of it equals to one, and Ω is an n × n matrix constructed by kernel mapping and data point:
Ω i j = φ ( x i ) T φ ( x j ) = K ( x i , x j ) , ( i , j = 1 , 2 , , n ) .
Because A = Ω + γ 1 I is a symmetric positive definite matrix, the solution of Equation (12) can be denoted as:
b = E T A 1 y E T A 1 E , α = A 1 ( y b E ) .
Finally, the regression model of LSSVM is:
f ( x ) = i = 1 n α i K ( x , x i ) + b .

3.2. Hybrid Kernel Function

Since the kernel function is one of the critical factors that contributes to approximation capability, a reasonable choice of kernel function is necessary. Actually, existing useful kernel functions that meet the Mercer kernel condition, namely admissible kernels, have various properties that differ from each other. Nevertheless, a majority of kernel functions belong to two types, namely local kernel function and global kernel function. Local kernel function is of desirable learning ability for it merely affects data points in the neighborhood of the test points. A typical local kernel function is the Radial Basis Function (RBF) kernel, which is defined as:
K R B F = e x p ( x x i 2 2 σ 2 ) ,
where the width σ is the only kernel parameter.
All test points in a global kernel function act as key points to determine the data points, and this property is devoted to excellent generalization ability in the context of LSSVM. The polynomial kernel function, a typical global kernel function, is defined as:
K p o l y = ( x · x i + t ) p ,
where t and p are the kernel parameters represent the bias and power of the polynomial, respectively.
Without any loss of generality, a convex combination of a radial basis function (RBF) kernel marked as KRBF and a polynomial kernel marked as Kpoly is an admissible kernel holds the Mercer kernel condition as well [22], which is defined as:
K h = λ K p o l y + ( 1 λ ) K R B F ,
where λ is a weight coefficient locates in the interval of (0, 1).

4. Chaotic Ions Motion Algorithm

4.1. Ions Motion Algorithm

Javidy [23] proposed a kind of population-based stochastic optimization methods called ions motion algorithm that achieves a balance between the confliction of diversification and intensification in the searching of optimal solution. Ions motion algorithm is inspired by the fact that ions with similar charges tend to repel, whereas ions with opposite charges attract each other. Each ion in the solution space stands for a candidate solution. The solution space is initialized randomly and divided into two groups: anions and cations. The repulsion/attraction force drives all ions moving across the solution space to find a better solution. To make the algorithm keep exploring and exploiting the solution space continuously, two stages including liquid phase (diversification) and crystal phase (intensification) are introduced.
The mathematical model of liquid phase is described as follows:
A F i , j = 1 1 + e 0.1 / A D i , j ,
C F i , j = 1 1 + e 0.1 / C D i , j ,
where A D i , j = | A i , j C b e s t j | , C D i , j = | D i , j A b e s t j | , i indicates the ion index, j is the jth dimension of an individual ion, A D i , j is the distance between the ith anion and the best cation in jth dimension, C D i , j is the distance between the ith cation and the best anion in jth dimension, and A F i , j and C F i , j denote the attraction force of anions and cations separately. The force calculation is followed by a position updating as follows:
A i , j = A i , j + A F i , j × ( C b e s t j A i , j ) ,
C i , j = C i , j + C F i , j × ( A b e s t j C i , j ) ,
where i and j also indicates the ion index and the dimension index, respectively.
According to Equations (18)–(21), ions in liquid phase always possess the exploring ability in the inherent diversity in the searching space. However, the diversity is gradually decreased along with iterations that would exactly lead the liquid phase to next phase, the crystal phase. The crystal phase is a certain way to jump out of local optima found by the liquid phase, which is depicted as follows (Algorithm 1):
Algorithm 1
if (CbestFitCworstFit/2 and AbestFitAworstFit/2)
    if rand() > 0.5
        Ai = Ai + Φ1 * (Cbest − 1)
    else
        Ai = Ai + Φ1 * Cbest
    end
    if rand() > 0.5
        Ci = Ci + Φ2 * (Abest − 1)
    else
        Ci = Ci + Φ2 * Abest
    end
    if rand() < 0.05
        Re - initialized Ai and Ci
    end
end
The CbestFit and CworstFit are the fitness of the best and the worst cation, AbestFit and AworstFit indicates the fitness of the best and the worst anion, ϕ 1 and ϕ 2 are random numbers in the interval of [−1, 1], rand is a function that generates random numbers in [0, 1], and all random numbers used in the position updating in crystal phase obey the uniform distribution.

4.2. Chaotic Initialization and Searching

Chaos is a nonlinear random-like deterministic bounded system, which is neither period nor converging [24]. Moreover, a chaotic system depends on its initial parameter and condition sensitively. The regular, random, ergodic and unpredictable essence of chaos makes it a reliable randomness source [25]. Instead of generating random sequence from the uniform distribution, the chaotic sequence provides a more effective searching plan for heuristic optimization algorithms [26]. The logistic map adopted in this article to generate solution sequence is described as follows:
c i + 1 = μ · c i ( 1 c i ) , i = 1 , 2 , , m ,
where μ is the control parameter, μ ( 2 ,   4 ] , and i represents the iteration index. Suppose the initial value c 1 ( 0 ,   1 ) and c 1 { 0.25 ,   0.5 ,   0.75 } , thus the chaotic behavioris ensured on the premise that μ = 4 .
The basic ideas of chaotic ions motion algorithm are described as follows:
(1)
Chaotic initialization
The initialization of the ions group is one of the key points regarding whether the convergence speed is acceptable and the final solution quality is pleased. Even though the initial position of each ions is random in original ions motion algorithm, ions might be located far away from the optimal ion. Chaotic initialization is for the purpose of increasing the diversity among the population and accelerating the convergence speed.
(2)
Chaotic searching
Restart with the last ion position in the latest generation and replace all other ion positions by generating a new chaotic sequence. Continuing to generate new ion positions by chaotic sequence rather than by probability distributions could avoid stagnation and speed the convergence in the optimization searching process.

4.3. Chaotic Ions Motion Algorithm Optimized Hybrid Kernel LSSVM (CIMA-Hybrid-LSSVM)

After assigning the kernel function of LSSVM, the remaining part that determines the temperature compensation’s performance is the hyper-parameters set of C ,   t ,   p ,   σ and λ . Parameter C determines the penalty of estimation errors. A large C not only assigns more penalties to errors but also allows higher generalization, while a small C has the opposite effect. Parameters t and p control the polynomial kernel function smoothness and fitness with given data. Similarly, parameter σ is responsible for the smoothness and fitness of RBF kernel function. Parameter λ weights the contribution of each kernel of the hybrid kernel function. All parameters are set in an empirical range: C ( 0.001 ,   10000 ) ,   t ( 0.01 ,   200 ) ,   p [ 1 ,   5 ] ,   λ ( 0 ,   1 ) .
The details of the proposed temperature compensation are as follows:
(1)
Chaotic initialization
  • Chaotically distribute the seeds according to the dimension number of an ion by logistic map within the range of (0, 1).
  • Calculate the chaotic sequence with chaotic seeds until the chaotic sequence length reaches the ions population size.
  • Transform the chaotic sequence members into every parameter’s range, and take the transforming of C as an example:
    C i = C m i n + C h a o s i · ( C m a x C m i n ) ,
    where i is the index of the chaotic sequence, C m i n is the lower limitation of C, and C m a x is the upper limitation of C .
(2)
Generate the initial ion population by Equation (23) and divide it randomly into an anion group and a cation group at the same size.
(3)
Evaluate each ion in liquid phase and rank them in terms of fitness. Record the best fitness and position of anion group, cation group and the ion population. If the best fitness of the ion population can neither satisfy the predetermined estimation precision nor reach the maximum searching generation number, then go to Step 4.
(4)
Take the last seed of the chaotic sequence generated by Step 1 and repeat the procedure as in Step 1 to obtain a new chaotic sequence. Compute each ion fitness according to the rules stated in crystal phase with the new chaotic sequence. The computation comes to an end as the best fitness satisfies the predetermined estimation precision or reaches the maximum searching generation number. If the stop criterion can not be met, then take the last ion position as the chaotic seed and go back to Step 1.
The flowchart of the chaotic ions motion algorithm optimized hybrid kernel least squares support vector machine (CIMA-LSSVM) is illustrated in Figure 3.

5. Data Calibration Experiment and Result Analysis

5.1. Data Calibration

A calibration experiment was performed on a grade of 0.065% pressure sensor without compensation [27] to provide data for modeling LSSVM. The measurement range of the pressure sensor used in this calibration is from −40 kPa to 40 kPa, and the working temperature range is from −20 °C to 70 °C. The measured temperature and the sensor output are converted by an analog-digital (A/D) converter, which were marked as TAD and UAD. The standard input pressure denoted as P is specified with a step of 5 kPa from −40 kPa to 40 kPa and exerted by a CPC6000 pressure calibrator. Data calibration is made of eleven different temperature preservation processes at different temperature levels of −20 °C, −10 °C, 0 °C, 10 °C, 20 °C, 27 °C, 35 °C, 40 °C, 50 °C, 60 °C and 70 °C. Each temperature preservation process includes a temperature regulation process in temperature control chamber from present temperature to specified temperature and a thermal equilibrium process in the packaged sensor. Every temperature preservation process lasts about 3 h. One of six packaged sensors is chosen to accomplish the temperature compensation modeling. The experiment setup is demonstrated in Figure 4.
The calibration data obtained from the experiment is tabulated as Table 1. As shown in Figure 5, the sensor’s output performance without compensation varies notably, since it is influenced obviously by temperature variation. Furthermore, the maximum value of all relative errors (Err) are depicted in Figure 6, which reaches 4.75% with respect to the sensor’s output at the benchmark temperature of 27 °C. The analysis consequence of calibration data, therefore, forces sensor users to develop an efficient temperature compensation scheme, which could alleviate and even eliminate the dramatic temperature effect to satisfy the application requirement.

5.2. Data Preprocessing

Features in the calibration experiment have mismatched levels of magnitude, which would give rise to difficulties in modeling and generate an undesirable result. Thus, the experiment sample should be normalized into [−1, 1] according to the form as:
x ^ i = x i ( x i m a x x i m i n ) / 2 ( x i m a x x i m i n ) / 2 ,
where x i is the ith variable of a data point, and x i m a x and x i m i n are the upper limitation and lower limitation of ith variable, respectively. After normalizing the experiment data, a training set and a testing set should be partitioned before modeling. From the algorithm robustness viewpoint, a training set should be comprised of one-third of data points that are randomly selected from the sample, and the rest of the sample should construct the corresponding testing set. In the context of engineering, a training set may consist of all standard pressure values at several temperature levels and rest of the sample forming the testing set. These two sample partition strategies are both discussed in this article.

5.3. Modeling Temperature Compensation and Result Analysis

In order to validate the effectiveness of the proposed algorithm, several methods include SVM with RBF kernel [28], particle swarm optimization optimized RBF kernel SVM (PSO-RBF-SVM) [29], particle swarm optimization optimized RBF kernel LSSVM (PSO-RBF-LSSVM) [30], particle swarm optimization optimized hybrid kernel LSSVM (PSO-Hybrid-LSSVM), and ions motion algorithm optimized hybrid kernel LSSVM (IMA-Hybrid-LSSVM) are investigated. Because optimization techniques discussed in this article are all population-based algorithms, the hyper-parameters set ( C , t , p , σ , λ ) is defined as an individual in any population. The fitness of each algorithm is the mean squared error (MSE) of all fitting errors between the ideal pressure values and the compensated pressure values. The parameters of each algorithm are demonstrated in Table 2. The whole coding is implemented by developing the LS-SVMlab toolbox and libsvm toolbox on the MATLAB (2015b) platform (The Mathworks, Inc., Natick, MA, USA) [31,32]. Each algorithm is performed on 50 runs to avoid compensation results of chance and cross validation is adopted to prevent overfitting [33].

5.3.1. Random Partition of the Sample

A training set and a testing set are obtained on the basis of the random partition strategy. A typical searching process of the best population fitness (Fitnessb) during the training period is demonstrated in Figure 7. Some conclusions can be drawn from the observation of Figure 7; firstly, the PSO-RBF-SVM algorithm converges faster than PSO-RBF-LSSVM, but the latter has a more desirable final best fitness than the former. This phenomenon indicates that, even with the same kernel function and identical optimization algorithm, the simplicity of LSSVM still provides more searching operations than SVM within the same time limit; secondly, it can be noted that the comprehensive advantage of hybrid kernel enables PSO-Hybrid-LSSVM to have a better final best fitness than PSO-RBF-LSSVM; thirdly, the performance of PSO-Hybrid-LSSVM and IMA-Hybrid-LSSVM is similar to each other whether on the convergence speed or the achieved final best fitness, this seems that any optimization algorithm devotes almost equally to the searching ability when employed the identical kernel function and fitting model. The randomness and the ergodic quality of the chaotic searching process guarantee the exploring and exploiting ability in the chaotic ions motion algorithm optimized hybrid kernel LSSVM (CIMA-Hybrid-LSSVM); thus, it can achieve the most satisfied searching performance; lastly, the best fitness at first iteration shows that the compensation model with hybrid kernel function offers a more elegant performance than those without it.
The validation standard of the compensation algorithm is the absolute relative error, which takes the form of:
e i r = | P i P i P F S | × 100 % ,
where i is the standard pressure index, P is the compensated pressure, P is the real standard pressure, and PFS is the full scale of the sensor.
Because the optimal hyper-parameters obtained on every run are different from each other, averaged values of training set error and testing set error are considered to balance the compensation results over all runs. Five performance indices as minimum (min), maximum (max), mean (mean), variance (var) of the averaged training set errors (eir), and the mean training time during training period (MTT) are presented to evaluate the averaged performance of every approach, and the details are summarized in Table 3. As the compensation results, the first four indices of testing errors are summarized in Table 4. By analyzing the data in Table 3 and Table 4, it can be inferred that SVM and PSO-RBF-SVM can only provide a really limited improvement of the sensor performance; however, by utilizing algorithms within the framework of LSSVM, the compensation model can achieve a more satisfactory performance. Furthermore, optimization methods with hybrid kernel hold both good learning and generalization ability. The presented method takes full advantage of chaotic searching, hybrid kernel and LSSVM framework to achieve the most desirable compensation results at the lowest time cost.

5.3.2. Fixed Partition of the Sample

In order to reduce the considerable engineering calibration time cost, data at four temperature levels including −20 °C, 10 °C, 40 °C and 70 °C are adopted as training sets in fixed partition strategy. The parameter settings of all algorithms are the same as the random partition strategy. A typical searching process of the best population fitness (Fitnessb) of all compensation methods during the training period is demonstrated in Figure 8. It may be observed that the characteristics of compensation performance among all six algorithms are similar to the analysis mentioned in random partition strategy, but the convergence values of the best fitness are improved to a certain extent for the fixed partition strategy may provide more topology information about the training set.
The relative errors of the fixed partitioned training set and testing set are also averaged after 50 runs. The training results are summarized in Table 5. By comparing with the data in Table 3, it can be seen that all indices of compensation approaches in the framework of LSSVM with hybrid kernel do not change a lot, while other compensation approaches appear to have an obvious mutation, which proves the robustness of LSSVM. It can be also noted that the mean training time of PSO-RBF-SVM reduces from 210.7 s to 10.71 s for the training data topology formed by fixed partition is more suitable for PSO-RBF-SVM than by random partition.
The testing data compensation results are listed in Table 6. The reason for the difference between the compensation results of two partition strategies is that random partition intrinsically acquires more prior knowledge about the model by covering sample space more uniformly than fixed partition does. It also confirms that the formation of the training set is critical for the modeling in comparison with random partition strategy.
The compensation results of all averaged testing data, marked as e r , are illustrated in Figure 9. The temperature compensation errors of algorithms with hyper-parameter optimization show some randomness, which means that these compensation approaches fit the actual input–output model of the piezoresistive pressure sensor appropriately. The maximum compensation error occurs at −10 °C, as low temperature makes the characteristics of the packaged sensor more complex. Except for the maximum e r of the presented compensation method being slightly higher than that of the IMA-Hybrid-LSSVM, the absolute relative errors ( e r ) on the rest points in the test set are the smallest. The modeling results of the experiment data with either random partition or fixed partition sufficiently prove the superiority of the proposed compensation method and also its satisfactory engineering capability.

6. Conclusions

A temperature compensation approach within the framework of LSSVM is presented in this research. Taking the full advantage of both local kernel and global kernel, a hybrid kernel function is constructed to balance the learning ability and generalization ability. The chaotic ions motion inspired algorithm is applied to search for the optimal hyper-parameters of LSSVM. Sample data for modeling LSSVM is acquired through a calibration experiment. The presented temperature compensation scheme avoids the restricted character of the single kernel function and refines the hyper-parameter searching procedure. The compensation results indicate that it is a highly effective compensation method both in the context of the algorithm robustness and engineering.

Acknowledgments

This research work is supported by the National High Technology Research and Development Program of China (“863” Program), Program No. 2014AA042001. The authors would like to express their thanks to all the editors and anonymous reviewers for improving this article.

Author Contributions

Ji Li and Guoqing Hu conceived and designed the experiments; Wei Peng performed the experiments; Yonghong Zhou and Chong Zou analyzed the data; Ji Li wrote the paper; and Jahangir Alam SM revised the English language and technical coherence.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Zhou, G.; Zhao, Y.; Guo, F.; Xu, W. A smart high accuracy silicon piezoresistive pressure sensor temperature compensation system. Sensors 2014, 14, 12174–12190. [Google Scholar] [CrossRef] [PubMed]
  2. Wang, Q.; Zhang, J.; Hu, R.; Sun, G.Q. Transistor Compensation Technology of Pressure Sensor Sensitivity Temperature Coefficient. Adv. Mechatron. Technol. 2011, 43, 371–375. [Google Scholar] [CrossRef]
  3. Yoo, S.K.; Shin, K.Y.; Lee, T.B.; Jin, S.O.; Kim, J.U. Development of a Radial Pulse Tonometric (RPT) Sensor with a Temperature Compensation Mechanism. Sensors 2013, 13, 611–625. [Google Scholar] [CrossRef] [PubMed]
  4. Aryafar, M.; Hamedi, M.; Ganjeh, M.M. A novel temperature compensated piezoresistive pressure sensor. Measurement 2015, 63, 25–29. [Google Scholar] [CrossRef]
  5. Mozek, M.; Vrtacnik, D.; Resnik, D.; Pecar, B.; Amon, S. Compensation and Signal Conditioning of Capacitive Pressure Sensors. Inf. Midem 2011, 41, 272–278. [Google Scholar]
  6. Luo, Y.; Yang, K.; Shi, Y.B.; Shang, C.X. Research of radiosonde humidity sensor with temperature compensation function and experimental verification. Sens. Actuators A Phys. 2014, 218, 49–59. [Google Scholar] [CrossRef]
  7. Chae, C.S.; Kwon, J.H.; Kim, Y.H. A Study of Compensation for Temporal and Spatial Physical Temperature Variation in Total Power Radiometers. IEEE Sens. J. 2012, 12, 2306–2312. [Google Scholar] [CrossRef]
  8. Fan, S.; Zhang, Q.; Qin, J. Temperature compensation of pressure sensor based on the interpolation of splines. J. Beijing Univ. Aeronaut. Astronaut. 2006, 32, 684–686. [Google Scholar]
  9. Wang, H.R.; Zhang, W.; You, L.D.; Yuan, G.Y.; Zhao, Y.L.; Jiang, Z.D. Back propagation neural network model for temperature and humidity compensation of a non dispersive infrared methane sensor. Instrum. Sci. Technol. 2013, 41, 608–618. [Google Scholar] [CrossRef]
  10. Ding, J.C.; Zhang, J.; Huang, W.Q.; Chen, S. Laser Gyro Temperature Compensation Using Modified RBFNN. Sensors 2014, 14, 18711–18727. [Google Scholar] [CrossRef] [PubMed]
  11. Cheng, J.; Qi, B.; Chen, D.; Landry, R.,Jr. Modification of an RBF ANN-Based Temperature Compensation Model of Interferometric Fiber Optical Gyroscopes. Sensors 2015, 15, 11189–11207. [Google Scholar] [CrossRef] [PubMed]
  12. Sun, Y.M.; Liu, S.D.; Miao, F.J.; Tao, B.R. Research on Pressure Sensor Temperature Compensation by WNN Based on FA. New Trends Mechatron. Mater. Eng. 2012, 151, 213–217. [Google Scholar] [CrossRef]
  13. Xing, H.; Wu, X.; Lv, W.; Xu, W. Environmental temperature compensation for the temperature channel of data-acquisition unit in automatic weather station. Chin. J. Sci. Instrum. 2012, 33, 1868–1875. [Google Scholar]
  14. Xu, Z.; Liu, Y.-F.; Dong, J.-X. Thermal drift prognosis and compensation model of MEMS accelerometer. J. Chin. Inert. Technol. 2012, 5, 21. [Google Scholar]
  15. Qiu, H.-M.; Chen, D.; Li, G.-Y.; Huang, Y.; Chen, Z.-C.; Liang, J.-T. Temperature compensation of light addressable potentiometric sensor based on support vector machine. J. Optoelectron. Laser 2015, 26, 2272–2277. [Google Scholar]
  16. Vapnik, V.N. Statistical Learning Theory; John Wiley & Sons Inc.: New York, NY, USA, 1998. [Google Scholar]
  17. Suykens, J.A.K.; Vandewalle, J. Least squares support vector machine classifiers. Neural Process. Lett. 1999, 9, 293–300. [Google Scholar] [CrossRef]
  18. Zhao, Y.L.; Zhao, L.B.; Jiang, Z.D. A novel high temperature pressure sensor on the basis SOI layers. Sens. Actuator A Phys. 2003, 108, 108–111. [Google Scholar]
  19. Xia, D.Z.; Chen, S.L.; Wang, S.R.; Li, H.S. Microgyroscope Temperature Effects and Compensation-Control Methods. Sensors 2009, 9, 8349–8376. [Google Scholar] [CrossRef] [PubMed]
  20. Lee, Y.-T.; Seo, H.-D.; Kawamura, A.; Yamada, T.; Matsumoto, Y.; Ishida, M.; Nakamura, T. Compensation method of offset and its temperature drift in silicon piezoresistive pressure sensor using double wheatstone-bridge configuration. In Proceedings of the 1995 8th International Conference on Solid-State Sensors and Actuators and Eurosensors IX, Stockholm, Sweden, 25–29 June 1995; pp. 570–573.
  21. Hu, J.; Wang, J.; Ma, K. A hybrid technique for short-term wind speed prediction. Energy 2015, 81, 563–574. [Google Scholar] [CrossRef]
  22. Yu, L.; Chen, H.; Wang, S.; Lai, K.K. Evolving Least Squares Support Vector Machines for Stock Market Trend Mining. IEEE Trans. Evolut. Comp. 2009, 13, 87–102. [Google Scholar]
  23. Javidy, B.; Hatamlou, A.; Mirjalili, S. Ions motion algorithm for solving optimization problems. Appl. Soft Comp. 2015, 32, 72–79. [Google Scholar] [CrossRef]
  24. Guo, Z.L.; Wang, S.; Zhuang, J. A novel immune evolutionary algorithm incorporating chaos optimization. Pattern Recognit. Lett. 2006, 27, 2–8. [Google Scholar]
  25. Chahkandi, V.; Yaghoobi, M.; Veisi, G. CABC-CSA: A new chaotic hybrid algorithm for solving optimization problems. Nonlinear Dyn. 2013, 73, 475–484. [Google Scholar] [CrossRef]
  26. Coelho, L.D.S.; Mariani, V.C. Use of chaotic sequences in a biologically inspired algorithm for engineering design optimization. Expert Syst. Appl. 2008, 34, 1905–1913. [Google Scholar] [CrossRef]
  27. Pressure/Differential-Pressure Transmitter for Use in Industrial-Process Measure and Control Systems—Part 1: General Specification. Available online: http://dbpub.cnki.net/grid2008/dbpub/detail.aspx?QueryID=31&CurRec=6&dbcode=SCHF&dbname=SCSF&filename=SCSF00038855&urlid=&yx=&uid=WEEvREcwSlJHSldRa1FhdkJkdjFtWWtTRkFDSFVtVnR6NTdKV1M5eE5IVT0=$9A4hF_YAuvQ5obgVAqNKPCYcEjKensW4ggI8Fm4gTkoUKaID8j8gFw (accessed on 14 September 2016).
  28. Zhang, Y.-S.; Yang, T. Modeling and compensation of MEMS gyroscope output data based on support vector machine. Measurement 2012, 45, 922–926. [Google Scholar] [CrossRef]
  29. Cheng, J.; Fang, J.; Wu, W.; Li, J. Temperature drift modeling and compensation of RLG based on PSO tuning SVM. Measurement 2014, 55, 246–254. [Google Scholar] [CrossRef]
  30. Sun, Y.J.; Liu, Y.W.; Liu, H. Temperature Compensation for a Six-Axis Force/Torque Sensor Based on the Particle Swarm Optimization Least Square Support Vector Machine for Space Manipulator. IEEE Sens. J. 2016, 16, 798–805. [Google Scholar] [CrossRef]
  31. Chang, C.C.; Lin, C.J. LIBSVM: A Library for Support Vector Machines. ACM Trans. Intell. Syst. Technol. 2011, 2, 27. [Google Scholar] [CrossRef]
  32. LS-SVMlab, version 1.8; Available online: http://www.esat.kuleuven.be/sista/lssvmlab/ (accessed on 14 September 2016).
  33. Prechelt, L. Automatic early stopping using cross validation: Quantifying the criteria. Neural Netw. 1998, 11, 761–767. [Google Scholar] [CrossRef]
Figure 1. Packaging of the piezoresistive pressure sensor.
Figure 1. Packaging of the piezoresistive pressure sensor.
Sensors 16 01707 g001
Figure 2. Configuration of the piezoresistive pressure sensor.
Figure 2. Configuration of the piezoresistive pressure sensor.
Sensors 16 01707 g002
Figure 3. Chaotic ions algorithm optimized hybrid kernel least squares support vector machine (CIMA-LSSVM).
Figure 3. Chaotic ions algorithm optimized hybrid kernel least squares support vector machine (CIMA-LSSVM).
Sensors 16 01707 g003
Figure 4. Set-up of calibration experiment.
Figure 4. Set-up of calibration experiment.
Sensors 16 01707 g004
Figure 5. Pressure sensor’s output at different temperature.
Figure 5. Pressure sensor’s output at different temperature.
Sensors 16 01707 g005
Figure 6. Relative error of pressure sensor with the benchmark data at 27 °C.
Figure 6. Relative error of pressure sensor with the benchmark data at 27 °C.
Sensors 16 01707 g006
Figure 7. Best fitness of training set by random partition in 30 generations. (a) Best fitness obtained by particle swarm optimization optimized RBF kernel SVM (PSO-RBF-SVM), particle swarm optimization optimized RBF kernel LSSVM (PSO-RBF-LSSVM) and particle swarm optimization optimized hybrid kernel LSSVM (PSO-Hybrid-LSSVM); and (b) best fitness obtained by particle swarm optimization optimized hybrid kernel LSSVM (PSO-Hybrid-LSSVM), ions motion algorithm optimized hybrid kernel LSSVM (IMA-Hybrid-LSSVM) and chaotic ions motion algorithm optimized hybrid kernel LSSVM (CIMA-Hybrid-LSSVM).
Figure 7. Best fitness of training set by random partition in 30 generations. (a) Best fitness obtained by particle swarm optimization optimized RBF kernel SVM (PSO-RBF-SVM), particle swarm optimization optimized RBF kernel LSSVM (PSO-RBF-LSSVM) and particle swarm optimization optimized hybrid kernel LSSVM (PSO-Hybrid-LSSVM); and (b) best fitness obtained by particle swarm optimization optimized hybrid kernel LSSVM (PSO-Hybrid-LSSVM), ions motion algorithm optimized hybrid kernel LSSVM (IMA-Hybrid-LSSVM) and chaotic ions motion algorithm optimized hybrid kernel LSSVM (CIMA-Hybrid-LSSVM).
Sensors 16 01707 g007
Figure 8. Best fitness of training set by fixed partition in 30 generations. (a) Best fitness obtained by particle swarm optimization optimized RBF kernel SVM (PSO-RBF-SVM), particle swarm optimization optimized RBF kernel LSSVM (PSO-RBF-LSSVM) and particle swarm optimization optimized hybrid kernel LSSVM (PSO-Hybrid-LSSVM); and (b) best fitness obtained by particle swarm optimization optimized hybrid kernel LSSVM (PSO-Hybrid-LSSVM), ions motion algorithm optimized hybrid kernel LSSVM (IMA-Hybrid-LSSVM) and chaotic ions motion algorithm optimized hybrid kernel LSSVM (CIMA-Hybrid-LSSVM).
Figure 8. Best fitness of training set by fixed partition in 30 generations. (a) Best fitness obtained by particle swarm optimization optimized RBF kernel SVM (PSO-RBF-SVM), particle swarm optimization optimized RBF kernel LSSVM (PSO-RBF-LSSVM) and particle swarm optimization optimized hybrid kernel LSSVM (PSO-Hybrid-LSSVM); and (b) best fitness obtained by particle swarm optimization optimized hybrid kernel LSSVM (PSO-Hybrid-LSSVM), ions motion algorithm optimized hybrid kernel LSSVM (IMA-Hybrid-LSSVM) and chaotic ions motion algorithm optimized hybrid kernel LSSVM (CIMA-Hybrid-LSSVM).
Sensors 16 01707 g008aSensors 16 01707 g008b
Figure 9. Compensation results on averaged testing set by fixed partition. (a) Compensation results obtained by SVM; (b) compensation results obtained by PSO-RBF-SVM; (c) compensation results obtained by PSO-RBF-LSSVM; (d) compensation results obtained by PSO-Hybrid-LSSVM; (e) compensation results obtained by IMA-Hybrid-LSSVM; and (f) compensation results obtained by CIMA-Hybrid-LSSVM.
Figure 9. Compensation results on averaged testing set by fixed partition. (a) Compensation results obtained by SVM; (b) compensation results obtained by PSO-RBF-SVM; (c) compensation results obtained by PSO-RBF-LSSVM; (d) compensation results obtained by PSO-Hybrid-LSSVM; (e) compensation results obtained by IMA-Hybrid-LSSVM; and (f) compensation results obtained by CIMA-Hybrid-LSSVM.
Sensors 16 01707 g009aSensors 16 01707 g009b
Table 1. Data calibration.
Table 1. Data calibration.
P (Pa)T (°C)
−20−1001020273540506070
TAD
4611345715452684487544445440664383443559432554283342449
UAD
−40000225163229882235926240350245293249365251904254585257738261883265502
−35000258948263075268467272361276787280403282638285002287807291422294694
−30000292891296416301166304587308434311591313534315581318035321166324036
−25000326975329900334016336931340227342921344579346307348415351061353526
−20000361190363517367004369421372163374394375763377152378937381095383158
−15000395535397260400131402004404232406003407086408178409595411274412937
−10000429974431111433352434705436398437712438518439281440352441555442817
−5000464508465059466694467572468680469525470046470503471221471962472818
0499132499093500112500490501053501453501666501827502188502462502916
5000533794533200533579533466533475533419533347533205533214533028533077
10000568569567362567163566524566019565509565185564690564373563699563370
15000603351601564600769599619598591597628597024596217595555594429593697
20000638130635788634383632731631170629766628882627762626757625174624052
25000672932670020668039665862663787661936660781659345657996655939654454
30000707712704235701674699016696402694107692600690934689248686760684868
35000742451738421735281732121728999726261724565722513720489717537715282
40000777129772552768840765221761560758380756415754060751701748336745668
Table 2. Parameters setting of algorithms.
Table 2. Parameters setting of algorithms.
ParametersPSO [29]PSO [30]IMA
swarm size505050
maximum iteration number303030
fitnessMSEMSEMSE
maximum weight0.90.9
minimum weight0.40.4
social factor[1, 3]2
cognitive factor[1, 3]2
PSO-particle swarm optimization; IMA-ions motion algorithm.
Table 3. Compensation results of training set by random partition.
Table 3. Compensation results of training set by random partition.
Temperature Compensation Methodseir (min)eir (max)eir (mean)eir (variance)MTT (s)
SVM4.814 × 10−35.026 × 10−34.973 × 10−32.237 × 10−91.499 × 10−2
PSO-RBF-SVM5.550 × 10−41.334 × 10−39.673 × 10−43.385 × 10−92.107 × 102
PSO-RBF-LSSVM2.199 × 10−43.556 × 10−42.703 × 10−41.080 × 10−91.200 × 10−2
PSO-Hybrid-LSSVM2.586 × 10−43.588 × 10−43.126 × 10−44.996 × 10−101.478 × 10−2
IMA-Hybrid-LSSVM1.593 × 10−42.401 × 10−41.933 × 10−43.776 × 10−101.418 × 10−2
CIMA-Hybrid-LSSVM1.353 × 10−54.413 × 10−52.497 × 10−55.258 × 10−111.392 × 10−2
Table 4. Compensation results of testing set by random partition.
Table 4. Compensation results of testing set by random partition.
Temperature Compensation Methodseir (min)eir (max)eir (mean)eir (variance)
SVM2.106 × 10−13.197 × 10−12.648 × 10−15.562 × 10−4
PSO-RBF-SVM5.924 × 10−42.187 × 10−31.235 × 10−31.085 × 10−7
PSO-RBF-LSSVM2.422 × 10−46.706 × 10−44.011 × 10−46.286 × 10−9
PSO-Hybrid-LSSVM2.733 × 10−45.165 × 10−43.687 × 10−41.494 × 10−9
IMA-Hybrid-LSSVM1.841 × 10−43.424 × 10−42.517 × 10−49.659 × 10−10
CIMA-Hybrid-LSSVM1.155 × 10−42.559 × 10−41.770 × 10−41.104 × 10−9
Table 5. Compensation results of training set by fixed partition.
Table 5. Compensation results of training set by fixed partition.
Temperature Compensation Methodseir (min)eir (max)eir (mean)eir (variance)MTT (s)
SVM3.272 × 10−45.220 × 10−34.722 × 10−31.227 × 10−61.507 × 10−2
PSO-RBF-SVM4.343 × 10−53.248 × 10−41.850 × 10−45.467 × 10−910.71 × 101
PSO-RBF-LSSVM8.946 × 10−61.111 × 10−31.927 × 10−43.692 × 10−82.448 × 10−2
PSO-Hybrid-LSSVM1.085 × 10−41.564 × 10−41.251 × 10−41.159 × 10−102.549 × 10−2
IMA-Hybrid-LSSVM4.095 × 10−76.063 × 10−51.444 × 10−51.844 × 10−102.641 × 10−2
CIMA-Hybrid-LSSVM9.921 × 10−66.401 × 10−52.029 × 10−51.210 × 10−102.568 × 10−2
Table 6. Compensation results of testing set by fixed partition.
Table 6. Compensation results of testing set by fixed partition.
Temperature Compensation Methodseir (min)eir (max)eir (mean)eir (variance)
SVM3.414 × 10−45.003 × 10−12.647 × 10−12.387 × 10−2
PSO-RBF-SVM7.647 × 10−51.154 × 10−33.290 × 10−46.368 × 10−8
PSO-RBF-LSSVM1.953 × 10−51.338 × 10−33.549 × 10−47.548 × 10−8
PSO-Hybrid-LSSVM1.082 × 10−41.074 × 10−33.555 × 10−45.374 × 10−8
IMA-Hybrid-LSSVM1.831 × 10−61.038 × 10−33.007 × 10−46.565 × 10−8
CIMA-Hybrid-LSSVM1.224 × 10−51.066 × 10−33.056 × 10−46.427 × 10−8

Share and Cite

MDPI and ACS Style

Li, J.; Hu, G.; Zhou, Y.; Zou, C.; Peng, W.; Alam SM, J. A Temperature Compensation Method for Piezo-Resistive Pressure Sensor Utilizing Chaotic Ions Motion Algorithm Optimized Hybrid Kernel LSSVM. Sensors 2016, 16, 1707. https://doi.org/10.3390/s16101707

AMA Style

Li J, Hu G, Zhou Y, Zou C, Peng W, Alam SM J. A Temperature Compensation Method for Piezo-Resistive Pressure Sensor Utilizing Chaotic Ions Motion Algorithm Optimized Hybrid Kernel LSSVM. Sensors. 2016; 16(10):1707. https://doi.org/10.3390/s16101707

Chicago/Turabian Style

Li, Ji, Guoqing Hu, Yonghong Zhou, Chong Zou, Wei Peng, and Jahangir Alam SM. 2016. "A Temperature Compensation Method for Piezo-Resistive Pressure Sensor Utilizing Chaotic Ions Motion Algorithm Optimized Hybrid Kernel LSSVM" Sensors 16, no. 10: 1707. https://doi.org/10.3390/s16101707

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