원시데이터 수집 시스템
선정목록으로

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

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Ji Li — Department of Mechanical and Electrical Engineering, School of Aerospace Engineering, Xiamen University, Xiamen 361005, China
  2. Guoqing Hu — Department of Mechanical and Electrical Engineering, School of Aerospace Engineering, Xiamen University, Xiamen 361005, China|||Department of Mechatronics Engineering, School of Mechanical & Automotive Engineering, South China University of Technology, Guangzhou 510640, China
  3. Yong-Hong Zhou — Fujian Wide Plus Precision Instruments Co. Ltd., Fuzhou 350015, China
  4. Chong Zou — Fujian Wide Plus Precision Instruments Co. Ltd., Fuzhou 350015, China
  5. Wei Peng — Department of Mechatronics Engineering, School of Mechanical & Automotive Engineering, South China University of Technology, Guangzhou 510640, China
  6. Jahangir Alam Sm — Department of Mechatronics Engineering, School of Mechanical & Automotive Engineering, South China University of Technology, Guangzhou 510640, China
DOI
10.3390/s16101707
저널
Sensors
발행년도
2016
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
26
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/s16101707
토픽
Analytical Chemistry and Sensors
OpenAlex ID
W2531372336

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

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.

본문 50,903자

본문 펼치기
# _sensors_ _Article_ ## A Temperature Compensation Method for Piezo-Resistive Pressure Sensor Utilizing Chaotic Ions Motion Algorithm Optimized Hybrid Kernel LSSVM Ji Li <sup>1</sup> , Guoqing Hu <sup>1,3,</sup> *, Yonghong Zhou <sup>2</sup> , Chong Zou <sup>2</sup> , Wei Peng <sup>3</sup> and Jahangir Alam SM <sup>3</sup> 1 Department of Mechanical and Electrical Engineering, School of Aerospace Engineering, Xiamen University, Xiamen 361005, China; 19920130154215@stu.xmu.edu.cn 2 Fujian Wide Plus Precision Instruments Co. Ltd., Fuzhou 350015, China; zyh@wideplus.com (Y.Z.); c@wideplus.com (C.Z.) 3 Department of Mechatronics Engineering, School of Mechanical & Automotive Engineering, South China University of Technology, Guangzhou 510640, China; mepeng.wei@mail.scut.edu.cn (W.P.); mejahangir@scut.edu.cn (J.A.S.) * Correspondence: gqhu@scut.edu.cn; Tel.: +86-138-2618-5229 Academic Editor: Vittorio M. N. Passaro Received: 28 July 2016; Accepted: 15 September 2016; Published: 14 October 2016 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. Keywords: piezoresistive pressure sensor; temperature compensation; hybrid kernel LSSVM; chaotic ions motion algorithm 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–4]. _Sensors_ 2016, _16_, 1707; doi:10.3390/s16101707 [www.mdpi.com/journal/sensors](http://www.mdpi.com/journal/sensors) _Sensors_ 2016, _16_, 1707 2 of 18 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–8]. The methods derived from artificial intelligence include neural networks [9–12] and support vector machines [13–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]: _Uoutput_ = _I_ _f_ _×_ ∆ _R_ = _I_ _f Rπσ_, (1) 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. Figure 1. Packaging of the piezoresistive pressure sensor. _Sensors_ 2016, _16_, 1707 3 of 18 Figure 2. Configuration of the piezoresistive pressure sensor. Ideally, _Uoutput_ 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_ ), (2) _π_ = _π_ 0 (1 + _β_ ∆ _T_ ), (3) 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]: ∆ _σ_ = - _<u>αs</u>_ _−_ _<u>αg</u>_ - _<u>E</u>_ <u>0∆</u> _<u>T</u>_ , (4) 1 + _µ_ where _αs_ and _αg_ are the thermal expansi ~~on~~ ~~coeff~~ i ~~cients~~ ~~of~~ ~~sili~~ con 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: _Uoutput_ = _I_ _f R_ 0 _π_ 0 [1 + ( _α_ + _β_ + _αβ_ ∆ _T_ ) ∆ _T_ ] - _σ_ + <sup>_<u>αs</u>_</sup> <sup>_−_</sup> <sup>_<u>αgE</u>_</sup> <sup><u>0∆</u></sup> <sup>_<u>T</u>_</sup> + _θ_ 1 + _µ_ . (5) 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 <u>different</u> <u>doping</u> concentration in forming the bridge arm resistance, which directly determines _α_ and _β_, also make the nonlinear relationship between _Uoutput_ and ∆ _T_ more complicated. 3. Hybrid Kernel LSSVM _3.1._ _LSSVM_ Assuming a sample as ( _x_ 1, _y_ 1), ( _xi_, _yi_ ), ( _xm_, _ym_ ) _∈_ _R_ <sup>_n_</sup> _×_ _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 _Sensors_ 2016, _16_, 1707 4 of 18 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]: , (6) ��� _f_ ( _x_ ) = _ωT·ϕ_ ( _x_ ) + _b_, _ω_ _∈_ _Rn_ _F_ = _f_ 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: _n_ <sup><u>1</u></sup> 2 <sup>_ωTω_</sup> <sup>+</sup> <sup><u>1</u></sup> 2 <sup>_C_</sup> ∑ _i_ =1 _min_ <sup><u>1</u></sup> 2 _ei_ <sup>2</sup> (7) _s_ . _t_ . _yi_ = _ω_ <sup>_T_</sup> _·ϕ_ ( _x_ ) + _b_ + _ei_, _i_ = 1, 2, _· · ·_, _n_ . Then, constructing a Lagrange function: _L_ ( _ω_, _b_, _ei_, _α_ ) = 2 <sup><u>1</u></sup> ### 2 1 ωTω + 1 2 C ∑ in =1 e i 2 ### i 2 − ∑ _n_ _i_ =1 <sup>_αi_</sup> <sup>(</sup> <sup>_ωT·ϕ_</sup> <sup>(</sup> <sup>_x_</sup> <sup>) +</sup> <sup>_b_</sup> <sup>+</sup> <sup>_ei −_</sup> <sup>_yi_</sup> <sup>).</sup> (8) According to the Karush-Kuhn-Tucker (KKT) conditions, taking the derivative with respect of all variables of the Lagrange function: _∂ω∂L_ <sup>= 0,</sup> <sup>_<u>∂</u>_</sup> _∂_ <sup>_<u>L</u>_</sup> _b_ <sup>_<u>∂</u>_</sup> _∂_ <sup>_<u>L</u>_</sup> _b_ <sup>= 0,</sup> _∂_ <sup>_<u>∂</u>_</sup> _e_ <sup>_<u>L</u>_</sup> _i_ _∂ei_ = 0, <sup>_<u>∂L</u>_</sup> _∂αi_ = 0. (9) The results are represented as follows: _n_ ∑ _i_ =1 _αi_ = 0, (10) _ω_ = _n_ ∑ _i_ =1 _αi_ _ϕ_ ( _xi_ ), _−_ _αi_ = _Cei_, _ω_ <sup>_T_</sup> _·ϕ_ ( _x_ ) + _b_ + _ei −_ _yi_ = 0. From the vector calculation perspective, Equation (10) can be translated in a form of a system of linear equations as: 0 _I_ _b_ 0 (11) ����� _I_ _Ω_ + _γ_ <sup>_−_</sup> <sup>1</sup> _I_ ����� _·_ ����� _α_ ����� = ����� _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: (11) �����, ����� = 0 ����� _y_ ����� _·_ _b_ ����� _α_ _Ωij_ = _ϕ_ ( _xi_ ) <sup>_T_</sup> _ϕ_ - _xj_ _j_ - = _K_ - _xi_, _xj_ -, ( _i_, _j_ = 1, 2, _· · ·_, _n_ ). (12) Because _A_ = _Ω_ + _γ_ <sup>_−_</sup> <sup>1</sup> _I_ is a symmetric positive definite matrix, the solution of Equation (12) can be denoted as: _b_ = <sup>_<u>ET</u>_</sup> <sup>_<u>A−</u>_</sup> <sup>1</sup> <sup>_<u>y</u>_</sup> _E_ <sup>_T_</sup> _A_ <sup>_−_</sup> <sup>1</sup> _E_ <sup>_<u>ET</u>_</sup> <sup>_<u>A−</u>_</sup> <sup>1</sup> <sup>_<u>y</u>_</sup> (13) _E_ <sup>_T_</sup> _A_ <sup>_−_</sup> <sup>1</sup> _E_ <sup>,</sup> <sup>_α_</sup> <sup>=</sup> <sup>_A−_</sup> <sup>1 (</sup> <sup>_y −_</sup> <sup>_bE_</sup> <sup>) .</sup> Finally, the regression model of LSSVM is: _f_ ( _x_ ) = _n_ ### ∑ _i_ =1 _αiK_ ( _x_, _xi_ ) + _b_ . (14) _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 _Sensors_ 2016, _16_, 1707 5 of 18 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: _KRBF_ = _exp_ where the width _σ_ is the only kernel parameter. _−_ <sup><u>||</u></sup> <sup>_<u>x −</u>_</sup> <sup>_<u>xi</u>_</sup> <sup><u>||2</u></sup> 2 _σ_ <sup>2</sup> , (15) 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: _Kpoly_ = ( _x·xi_ + _t_ ) <sup>_p_</sup>, (16) 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: _Kh_ = _λKpoly_ + (1 _−_ _λ_ ) _KRBF_, (17) 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: <u>1</u> _AFi_, _j_ = 1 + _e_ <sup>_−_</sup> <sup>0.1/</sup> <sup>_ADi_</sup> <sup>,</sup> <sup>_j_</sup> <sup>,</sup> (18) <u>1</u> _CFi_, _j_ = 1 + _e_ <sup>_−_</sup> <sup>0.1/</sup> <sup>_CDi_</sup> <sup>,</sup> <sup>_j_</sup> <sup>,</sup> (19) where _ADi_, _j_ = �� _Ai_, _j −_ _Cbestj_ ��, _CDi_, _j_ = �� _Di_, _j −_ _Abestj_ ��, _i_ indicates the ion index, _j_ is the _j_ th dimension of an individual ion, _ADi_, _j_ is the distance between the _i_ th anion and the best cation in _j_ th dimension, _CDi_, _j_ is the distance between the _i_ th cation and the best anion in _j_ th dimension, and _AFi_, _j_ and _CFi_, _j_ denote the attraction force of anions and cations separately. The force calculation is followed by a position updating as follows: _Ai_, _j_ = _Ai_, _j_ + _AFi_, _j ×_ _Ci_, _j_ = _Ci_, _j_ + _CFi_, _j ×_ - _Cbestj −_ _Ai_, _j_ - _Abestj −_ _Ci_, _j_ _j_ -, (20) _j_ -, (21) where _i_ and j also indicates the ion index and the dimension index, respectively. _Sensors_ 2016, _16_, 1707 6 of 18 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 (CbestFit ≥_ _CworstFit/2 and AbestFit ≥_ _AworstFit/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: _ci_ +1 = _µ·ci_ (1 _−_ _ci_ ), _i_ = 1, 2, _· · ·_, _m_, (22) 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 initializationThe 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 searchingRestart 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. _Sensors_ 2016, _16_, 1707 7 of 18 _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: _Ci_ = _Cmin_ + _Chaosi·_ ( _Cmax −_ _Cmin_ ), (23) where _i_ is the index of the chaotic sequence, _Cmin_ is the lower limitation of _C_, and _Cmax_ 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. _Sensors_ 2016, _16_, 1707 8 of 18 Figure 3. Chaotic ions algorithm optimized hybrid kernel least squares support vector machine (CIMA-LSSVM). 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 <sup>_◦_</sup> C to 70 <sup>_◦_</sup> 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 <sup>_◦_</sup> C, _−_ 10 <sup>_◦_</sup> C, 0 <sup>_◦_</sup> C, 10 <sup>_◦_</sup> C, 20 <sup>_◦_</sup> C, 27 <sup>_◦_</sup> C, 35 <sup>_◦_</sup> C, 40 <sup>_◦_</sup> C, 50 <sup>_◦_</sup> C, 60 <sup>_◦_</sup> C and 70 <sup>_◦_</sup> 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 <sup>_◦_</sup> C. The analysis consequence of calibration data, therefore, forces sensor users to develop an efficient _Sensors_ 2016, _16_, 1707 9 of 18 temperature compensation scheme, which could alleviate and even eliminate the dramatic temperature effect to satisfy the application requirement. Figure 4. Set-up of calibration experiment. Table 1. Data calibration. ~~T (~~ <sup>_<u>◦</u>_</sup> ~~C)~~ _~~−~~_ <u>20</u> _~~−~~_ <u>10</u> <u>0</u> <u>10</u> <u>20</u> <u>27</u> <u>35</u> <u>40</u> <u>50</u> <u>60</u> <u>70</u> P (Pa) <u>TAD</u> ~~46113~~ ~~45715~~ ~~45268~~ ~~44875~~ ~~44445~~ ~~44066~~ ~~43834~~ ~~43559~~ ~~43255~~ ~~42833~~ ~~42449~~ UAD _−_ 40000 225163 229882 235926 240350 245293 249365 251904 254585 257738 261883 265502 _−_ 35000 258948 263075 268467 272361 276787 280403 282638 285002 287807 291422 294694 _−_ 30000 292891 296416 301166 304587 308434 311591 313534 315581 318035 321166 324036 _−_ 25000 326975 329900 334016 336931 340227 342921 344579 346307 348415 351061 353526 _−_ 20000 361190 363517 367004 369421 372163 374394 375763 377152 378937 381095 383158 _−_ 15000 395535 397260 400131 402004 404232 406003 407086 408178 409595 411274 412937 _−_ 10000 429974 431111 433352 434705 436398 437712 438518 439281 440352 441555 442817 _−_ 5000 464508 465059 466694 467572 468680 469525 470046 470503 471221 471962 472818 0 499132 499093 500112 500490 501053 501453 501666 501827 502188 502462 502916 5000 533794 533200 533579 533466 533475 533419 533347 533205 533214 533028 533077 10000 568569 567362 567163 566524 566019 565509 565185 564690 564373 563699 563370 15000 603351 601564 600769 599619 598591 597628 597024 596217 595555 594429 593697 20000 638130 635788 634383 632731 631170 629766 628882 627762 626757 625174 624052 25000 672932 670020 668039 665862 663787 661936 660781 659345 657996 655939 654454 30000 707712 704235 701674 699016 696402 694107 692600 690934 689248 686760 684868 ~~35000~~ ~~742451~~ ~~738421~~ ~~735281~~ ~~732121~~ ~~728999~~ ~~726261~~ ~~724565~~ ~~722513~~ ~~720489~~ ~~717537~~ ~~715282~~ 40000 777129 772552 768840 765221 761560 758380 756415 754060 751701 748336 745668 _Sensors_ 2016, _16_, 1707 10 of 18 Figure 5. Pressure sensor’s output at different temperature. Figure 6. Relative error of pressure sensor with the benchmark data at 27 <sup>_◦_</sup> C. _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_ = <sup>_~~<u>xi −</u>~~_</sup> <sup>~~<u>(</u>~~</sup> <sup>_~~<u>ximax −</u>~~_</sup> <sup>_~~<u>ximin</u>~~_</sup> <sup>~~<u>) /2</u>~~</sup>, (24) ( _ximax −_ _ximin_ ) /2 where _xi_ is the ith variable of a data point, and _ximax_ and _ximin_ are the upper limitation and lower limitation of _i_ th 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. _Sensors_ 2016, _16_, 1707 11 of 18 _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]. Table 2. Parameters setting of algorithms. Parameters PSO [29] PSO [30] IMA swarm size 50 50 50 maximum iteration number 30 30 30 fitness MSE MSE MSE maximum weight 0.9 0.9 minimum weight 0.4 0.4 social factor [1, 3] 2 cognitive factor [1, 3] 2 PSO-particle swarm optimization; IMA-ions motion algorithm. 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: (25) ���� _×_ 100%, _eir_ = ���� _<u>Pi</u>_ <sup>_′_</sup> _<u>i</u>_ <sup>_′_</sup> <sup>_−_</sup> <sup>_<u>Pi</u>_</sup> _PFS_ where _i_ is the standard pressure index, _P_ <sup>_′_</sup> is the compensated pressure, _P_ is the real standard pressure, and _PFS_ is the full scale of the sensor. _Sensors_ 2016, _16_, 1707 12 of 18 ( a ) ( b ) 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). 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 Tables 3 and 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. _Sensors_ 2016, _16_, 1707 13 of 18 Table 3. Compensation results of training set by random partition. Temperature Compensation Methods eir (min) eir (max) eir (mean) eir (variance) MTT (s) SVM 4.814 _×_ 10 <sup>_−_</sup> <sup>3</sup> 5.026 _×_ 10 <sup>_−_</sup> <sup>3</sup> 4.973 _×_ 10 <sup>_−_</sup> <sup>3</sup> 2.237 _×_ 10 <sup>_−_</sup> <sup>9</sup> 1.499 _×_ 10 <sup>_−_</sup> <sup>2</sup> PSO-RBF-SVM 5.550 _×_ 10 <sup>_−_</sup> <sup>4</sup> 1.334 _×_ 10 <sup>_−_</sup> <sup>3</sup> 9.673 _×_ 10 <sup>_−_</sup> <sup>4</sup> 3.385 _×_ 10 <sup>_−_</sup> <sup>9</sup> 2.107 _×_ 10 <sup>2</sup> PSO-RBF-LSSVM 2.199 _×_ 10 <sup>_−_</sup> <sup>4</sup> 3.556 _×_ 10 <sup>_−_</sup> <sup>4</sup> 2.703 _×_ 10 <sup>_−_</sup> <sup>4</sup> 1.080 _×_ 10 <sup>_−_</sup> <sup>9</sup> 1.200 _×_ 10 <sup>_−_</sup> <sup>2</sup> PSO-Hybrid-LSSVM 2.586 _×_ 10 <sup>_−_</sup> <sup>4</sup> 3.588 _×_ 10 <sup>_−_</sup> <sup>4</sup> 3.126 _×_ 10 <sup>_−_</sup> <sup>4</sup> 4.996 _×_ 10 <sup>_−_</sup> <sup>10</sup> 1.478 _×_ 10 <sup>_−_</sup> <sup>2</sup> IMA-Hybrid-LSSVM 1.593 _×_ 10 <sup>_−_</sup> <sup>4</sup> 2.401 _×_ 10 <sup>_−_</sup> <sup>4</sup> 1.933 _×_ 10 <sup>_−_</sup> <sup>4</sup> 3.776 _×_ 10 <sup>_−_</sup> <sup>10</sup> 1.418 _×_ 10 <sup>_−_</sup> <sup>2</sup> CIMA-Hybrid-LSSVM 1.353 _×_ 10 <sup>_−_</sup> <sup>5</sup> 4.413 _×_ 10 <sup>_−_</sup> <sup>5</sup> 2.497 _×_ 10 <sup>_−_</sup> <sup>5</sup> 5.258 _×_ 10 <sup>_−_</sup> <sup>11</sup> 1.392 _×_ 10 <sup>_−_</sup> <sup>2</sup> Table 4. Compensation results of testing set by random partition. Temperature Compensation Methods eir (min) eir (max) eir (mean) eir (variance) SVM 2.106 _×_ 10 <sup>_−_</sup> <sup>1</sup> 3.197 _×_ 10 <sup>_−_</sup> <sup>1</sup> 2.648 _×_ 10 <sup>_−_</sup> <sup>1</sup> 5.562 _×_ 10 <sup>_−_</sup> <sup>4</sup> PSO-RBF-SVM 5.924 _×_ 10 <sup>_−_</sup> <sup>4</sup> 2.187 _×_ 10 <sup>_−_</sup> <sup>3</sup> 1.235 _×_ 10 <sup>_−_</sup> <sup>3</sup> 1.085 _×_ 10 <sup>_−_</sup> <sup>7</sup> PSO-RBF-LSSVM 2.422 _×_ 10 <sup>_−_</sup> <sup>4</sup> 6.706 _×_ 10 <sup>_−_</sup> <sup>4</sup> 4.011 _×_ 10 <sup>_−_</sup> <sup>4</sup> 6.286 _×_ 10 <sup>_−_</sup> <sup>9</sup> PSO-Hybrid-LSSVM 2.733 _×_ 10 <sup>_−_</sup> <sup>4</sup> 5.165 _×_ 10 <sup>_−_</sup> <sup>4</sup> 3.687 _×_ 10 <sup>_−_</sup> <sup>4</sup> 1.494 _×_ 10 <sup>_−_</sup> <sup>9</sup> IMA-Hybrid-LSSVM 1.841 _×_ 10 <sup>_−_</sup> <sup>4</sup> 3.424 _×_ 10 <sup>_−_</sup> <sup>4</sup> 2.517 _×_ 10 <sup>_−_</sup> <sup>4</sup> 9.659 _×_ 10 <sup>_−_</sup> <sup>10</sup> CIMA-Hybrid-LSSVM 1.155 _×_ 10 <sup>_−_</sup> <sup>4</sup> 2.559 _×_ 10 <sup>_−_</sup> <sup>4</sup> 1.770 _×_ 10 <sup>_−_</sup> <sup>4</sup> 1.104 _×_ 10 <sup>_−_</sup> <sup>9</sup> 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 <sup>_◦_</sup> C, 10 <sup>_◦_</sup> C, 40 <sup>_◦_</sup> C and 70 <sup>_◦_</sup> 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. Table 5. Compensation results of training set by fixed partition. Temperature Compensation Methods eir (min) eir (max) eir (mean) eir (variance) MTT (s) SVM 3.272 _×_ 10 <sup>_−_</sup> <sup>4</sup> 5.220 _×_ 10 <sup>_−_</sup> <sup>3</sup> 4.722 _×_ 10 <sup>_−_</sup> <sup>3</sup> 1.227 _×_ 10 <sup>_−_</sup> <sup>6</sup> 1.507 _×_ 10 <sup>_−_</sup> <sup>2</sup> PSO-RBF-SVM 4.343 _×_ 10 <sup>_−_</sup> <sup>5</sup> 3.248 _×_ 10 <sup>_−_</sup> <sup>4</sup> 1.850 _×_ 10 <sup>_−_</sup> <sup>4</sup> 5.467 _×_ 10 <sup>_−_</sup> <sup>9</sup> 10.71 _×_ 10 <sup>1</sup> PSO-RBF-LSSVM 8.946 _×_ 10 <sup>_−_</sup> <sup>6</sup> 1.111 _×_ 10 <sup>_−_</sup> <sup>3</sup> 1.927 _×_ 10 <sup>_−_</sup> <sup>4</sup> 3.692 _×_ 10 <sup>_−_</sup> <sup>8</sup> 2.448 _×_ 10 <sup>_−_</sup> <sup>2</sup> PSO-Hybrid-LSSVM 1.085 _×_ 10 <sup>_−_</sup> <sup>4</sup> 1.564 _×_ 10 <sup>_−_</sup> <sup>4</sup> 1.251 _×_ 10 <sup>_−_</sup> <sup>4</sup> 1.159 _×_ 10 <sup>_−_</sup> <sup>10</sup> 2.549 _×_ 10 <sup>_−_</sup> <sup>2</sup> IMA-Hybrid-LSSVM 4.095 _×_ 10 <sup>_−_</sup> <sup>7</sup> 6.063 _×_ 10 <sup>_−_</sup> <sup>5</sup> 1.444 _×_ 10 <sup>_−_</sup> <sup>5</sup> 1.844 _×_ 10 <sup>_−_</sup> <sup>10</sup> 2.641 _×_ 10 <sup>_−_</sup> <sup>2</sup> CIMA-Hybrid-LSSVM 9.921 _×_ 10 <sup>_−_</sup> <sup>6</sup> 6.401 _×_ 10 <sup>_−_</sup> <sup>5</sup> 2.029 _×_ 10 <sup>_−_</sup> <sup>5</sup> 1.210 _×_ 10 <sup>_−_</sup> <sup>10</sup> 2.568 _×_ 10 <sup>_−_</sup> <sup>2</sup> 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. _Sensors_ 2016, _16_, 1707 14 of 18 Table 6. Compensation results of testing set by fixed partition. Temperature Compensation Methods eir (min) eir (max) eir (mean) eir (variance) SVM 3.414 _×_ 10 <sup>_−_</sup> <sup>4</sup> 5.003 _×_ 10 <sup>_−_</sup> <sup>1</sup> 2.647 _×_ 10 <sup>_−_</sup> <sup>1</sup> 2.387 _×_ 10 <sup>_−_</sup> <sup>2</sup> PSO-RBF-SVM 7.647 _×_ 10 <sup>_−_</sup> <sup>5</sup> 1.154 _×_ 10 <sup>_−_</sup> <sup>3</sup> 3.290 _×_ 10 <sup>_−_</sup> <sup>4</sup> 6.368 _×_ 10 <sup>_−_</sup> <sup>8</sup> PSO-RBF-LSSVM 1.953 _×_ 10 <sup>_−_</sup> <sup>5</sup> 1.338 _×_ 10 <sup>_−_</sup> <sup>3</sup> 3.549 _×_ 10 <sup>_−_</sup> <sup>4</sup> 7.548 _×_ 10 <sup>_−_</sup> <sup>8</sup> PSO-Hybrid-LSSVM 1.082 _×_ 10 <sup>_−_</sup> <sup>4</sup> 1.074 _×_ 10 <sup>_−_</sup> <sup>3</sup> 3.555 _×_ 10 <sup>_−_</sup> <sup>4</sup> 5.374 _×_ 10 <sup>_−_</sup> <sup>8</sup> IMA-Hybrid-LSSVM 1.831 _×_ 10 <sup>_−_</sup> <sup>6</sup> 1.038 _×_ 10 <sup>_−_</sup> <sup>3</sup> 3.007 _×_ 10 <sup>_−_</sup> <sup>4</sup> 6.565 _×_ 10 <sup>_−_</sup> <sup>8</sup> CIMA-Hybrid-LSSVM 1.224 _×_ 10 <sup>_−_</sup> <sup>5</sup> 1.066 _×_ 10 <sup>_−_</sup> <sup>3</sup> 3.056 _×_ 10 <sup>_−_</sup> <sup>4</sup> 6.427 _×_ 10 <sup>_−_</sup> <sup>8</sup> ( a ) ( b ) 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). The compensation results of all averaged testing data, marked as _er_, 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 <sup>_◦_</sup> C, as low temperature makes the characteristics of the packaged sensor more complex. Except for the maximum _er_ of the presented compensation method being slightly higher than that of _Sensors_ 2016, _16_, 1707 15 of 18 the IMA-Hybrid-LSSVM, the absolute relative errors ( _er_ ) 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. ( a ) ( b ) ( c ) Figure 9. _Cont._ _Sensors_ 2016, _16_, 1707 16 of 18 ( d ) ( e ) ( f ) 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. 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 _Sensors_ 2016, _16_, 1707 17 of 18 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. [[CrossRef] [PubMed]](http://dx.doi.org/10.3390/s140712174) 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. [[CrossRef]](http://dx.doi.org/10.4028/www.scientific.net/AMM.43.371) 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. [[CrossRef] [PubMed]](http://dx.doi.org/10.3390/s130100611) 4. Aryafar, M.; Hamedi, M.; Ganjeh, M.M. A novel temperature compensated piezoresistive pressure sensor. _Measurement_ 2015, _63_, 25–29. [[CrossRef]](http://dx.doi.org/10.1016/j.measurement.2014.11.032) 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. 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. [[CrossRef]](http://dx.doi.org/10.1016/j.sna.2014.07.015) 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. [[CrossRef]](http://dx.doi.org/10.1109/JSEN.2012.2185690) 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. 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. [[CrossRef]](http://dx.doi.org/10.1080/10739149.2013.816965) 10. Ding, J.C.; Zhang, J.; Huang, W.Q.; Chen, S. Laser Gyro Temperature Compensation Using Modified RBFNN. _Sensors_ 2014, _14_, 18711–18727. [[CrossRef] [PubMed]](http://dx.doi.org/10.3390/s141018711) 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. [[CrossRef] [PubMed]](http://dx.doi.org/10.3390/s150511189) 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. [[CrossRef]](http://dx.doi.org/10.4028/www.scientific.net/AMM.151.213) 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. 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. 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. 16. Vapnik, V.N. _Statistical Learning Theory_ ; John Wiley & Sons Inc.: New York, NY, USA, 1998. 17. Suykens, J.A.K.; Vandewalle, J. Least squares support vector machine classifiers. _Neural Process._ _Lett._ 1999, _9_, 293–300. [[CrossRef]](http://dx.doi.org/10.1023/A:1018628609742) 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. 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. [[CrossRef] [PubMed]](http://dx.doi.org/10.3390/s91008349) 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. _Sensors_ 2016, _16_, 1707 18 of 18 21. Hu, J.; Wang, J.; Ma, K. A hybrid technique for short-term wind speed prediction. _Energy_ 2015, _81_, 563–574. [[CrossRef]](http://dx.doi.org/10.1016/j.energy.2014.12.074) 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. 23. Javidy, B.; Hatamlou, A.; Mirjalili, S. Ions motion algorithm for solving optimization problems. _Appl. Soft Comp._ 2015, _32_, 72–79. [[CrossRef]](http://dx.doi.org/10.1016/j.asoc.2015.03.035) 24. Guo, Z.L.; Wang, S.; Zhuang, J. A novel immune evolutionary algorithm incorporating chaos optimization. _Pattern Recognit._ _Lett._ 2006, _27_, 2–8. 25. Chahkandi, V.; Yaghoobi, M.; Veisi, G. CABC-CSA: A new chaotic hybrid algorithm for solving optimization problems. _Nonlinear Dyn._ 2013, _73_, 475–484. [[CrossRef]](http://dx.doi.org/10.1007/s11071-013-0802-2) 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. [[CrossRef]](http://dx.doi.org/10.1016/j.eswa.2007.02.002) 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_YAuvQ5obgVAq NKPCYcEj KensW4ggI8Fm4gTkoUKaID8j8gFw (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. [[CrossRef]](http://dx.doi.org/10.1016/j.measurement.2012.02.001) 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. [[CrossRef]](http://dx.doi.org/10.1016/j.measurement.2014.05.013) 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. [[CrossRef]](http://dx.doi.org/10.1109/JSEN.2015.2485258) 31. Chang, C.C.; Lin, C.J. LIBSVM: A Library for Support Vector Machines. _ACM Trans._ _Intell._ _Syst._ _Technol._ 2011, _2_, 27. [[CrossRef]](http://dx.doi.org/10.1145/1961189.1961199) 32. _LS-SVMlab_ . version 1.8. Available online: [http://www.esat.kuleuven.be/sista/lssvmlab/](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. [[CrossRef]](http://dx.doi.org/10.1016/S0893-6080%0x2898%0x2900010-0) © 2016 by the authors; licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution [(CC-BY) license (http://creativecommons.org/licenses/by/4.0/).](http://creativecommons.org/licenses/by/4.0/.)

섹션 본문 70문단 · 38,715자

(제목 없음)

1A 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.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-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.

Introduction

2Due 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].

3In 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].

Temperature Effect on Piezoresistive Pressure Sensor

4The 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 (R 1 = R 2 = R 3 = R 4 = R) is the configuration of the piezoresistive pressure sensor, which is illustrated in Figure 2.

5By analyzing the Wheatstone bridge in Figure 2, the output voltage can be expressed as in the following [18]:

6where 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. 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.

7The 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.

8By analyzing the Wheatstone bridge in Figure 2, the output voltage can be expressed as in the following [18]:

9where is a constant current supplied by a steady current source, is the value of resistance in each bridge arm, is the piezoresistive coefficient of silicon, and is the stress applied on the sensor. Ideally, is linearly proportional to if and are both constants. Nevertheless, the ambient temperature has a significant influence, namely the temperature effect, on and in reality. The bridge arm resistance and the piezoresistive coefficient are denoted as in the following [19]:

10where and are the resistance value and piezoresistive coefficient at room temperature, and are temperature coefficients of and , and ∆ 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]:

11where and are the thermal expansion coefficients of silicon and glass, respectively, and 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:

12According 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 and Δ more complicated.

LSSVM

13Assuming a sample as (x1, y1), (xi, yi), (xm, ym) ∈ R n × 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 Ideally, U output 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]:

14where 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]:

15where α 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:

16According 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 output and ∆T more complicated.

17Assuming a sample as (x 1 , y 1 ), (x i , y i ), (x m , y m ) ∈ R n × R (x i is input, y i 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]:

18where ω 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:

19Then, constructing a Lagrange function:

20According to the Karush-Kuhn-Tucker (KKT) conditions, taking the derivative with respect of all variables of the Lagrange function:

21The results are represented as follows:

22From the vector calculation perspective, Equation (10) can be translated in a form of a system of linear equations as:

23where 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:

24Because A = Ω + γ −1 I is a symmetric positive definite matrix, the solution of Equation (12) can be denoted as:

25Finally, the regression model of LSSVM is:

Hybrid Kernel Function

26Since 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:

27where 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:

28where 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 K RBF and a polynomial kernel marked as K poly is an admissible kernel holds the Mercer kernel condition as well [22], which is defined as:

29where λ is a weight coefficient locates in the interval of (0, 1).

Ions Motion Algorithm

30Javidy [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.

31The mathematical model of liquid phase is described as follows:

32where

33indicates the ion index, j is the jth dimension of an individual ion, AD i,j is the distance between the ith anion and the best cation in jth dimension, CD i,j is the distance between the ith cation and the best anion in jth dimension, and AF i,j and CF i,j denote the attraction force of anions and cations separately. The force calculation is followed by a position updating as follows:

34where 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):

35Re -initialized Ai and Ci end end

36The 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.

Chaotic Initialization and Searching

37Chaos 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:

38where µ 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

39The basic ideas of chaotic ions motion algorithm are described as follows:

40(1) Chaotic initializationThe 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 searchingRestart 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.

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

41After 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:

42The details of the proposed temperature compensation are as follows:

43Chaotically distribute the seeds according to the dimension number of an ion by logistic map within the range of (0, 1).

•

44Calculate the chaotic sequence with chaotic seeds until the chaotic sequence length reaches the ions population size.

45Transform the chaotic sequence members into every parameter's range, and take the transforming of C as an example:

46where i is the index of the chaotic sequence, C min is the lower limitation of C, and C max is the upper limitation of C.

47(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

48Step 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.

49The flowchart of the chaotic ions motion algorithm optimized hybrid kernel least squares support vector machine (CIMA-LSSVM) is illustrated in Figure 3.

Data Calibration

50A 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.

51The 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

52A 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 T AD and U AD . 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.

53The 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 develop an efficient temperature compensation scheme, which could alleviate and even eliminate the dramatic temperature effect to satisfy the application requirement.

Data Preprocessing

54Features 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:

55where is the ith variable of a data point, and and 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.

56Features 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:

57where is the ith variable of a data point, and and 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.

58Features 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:

59where x i is the ith variable of a data point, and x imax and x imin 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.

Modeling Temperature Compensation and Result Analysis

60In 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].

Random Partition of the Sample

61A 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 (Fitness b ) 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.

62The validation standard of the compensation algorithm is the absolute relative error, which takes the form of:

63where i is the standard pressure index, P is the compensated pressure, P is the real standard pressure, and P FS is the full scale of the sensor. The validation standard of the compensation algorithm is the absolute relative error, which takes the form of:

64where i is the standard pressure index, is the compensated pressure, P is the real standard pressure, and PFS is the full scale of the sensor.

65Because 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 Tables 3 and 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 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 (e ir ), 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 Tables 3 and 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.

Fixed Partition of the Sample

66In 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 (Fitness b ) 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.

67The 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. 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 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.

68The compensation results of all averaged testing data, marked as , 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 of the presented compensation method being slightly higher than that of the IMA-Hybrid-LSSVM, the absolute relative errors ( ) 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.

Conclusions

69A 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.

70A 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.

참고문헌 27건

  1. Least Squares Support Vector Machine Classifiers Neural Processing Letters · Springer Science+Business Media · 1999 10.1023/a:1018628609742
  2. Modification of an RBF ANN-Based Temperature Compensation Model of Interferometric Fiber Optical Gyroscopes Sensors · Multidisciplinary Digital Publishing Institute · 2015 10.3390/s150511189
  3. Microgyroscope Temperature Effects and Compensation-Control Methods Sensors · Multidisciplinary Digital Publishing Institute · 2009 10.3390/s91008349
  4. A Study of Compensation for Temporal and Spatial Physical Temperature Variation in Total Power Radiometers IEEE Sensors Journal · IEEE Sensors Council · 2012 10.1109/jsen.2012.2185690
  5. A hybrid technique for short-term wind speed prediction Energy · Elsevier BV · 2015 10.1016/j.energy.2014.12.074
  6. BACK PROPAGATION NEURAL NETWORK MODEL FOR TEMPERATURE AND HUMIDITY COMPENSATION OF A NON DISPERSIVE INFRARED METHANE SENSOR Instrumentation Science & Technology · Taylor & Francis · 2013 10.1080/10739149.2013.816965
  7. CABC–CSA: a new chaotic hybrid algorithm for solving optimization problems Nonlinear Dynamics · Springer Science+Business Media · 2013 10.1007/s11071-013-0802-2
  8. A novel high temperature pressure sensor on the basis of SOI layers Sensors and Actuators A Physical · Elsevier BV · 2003 10.1016/j.sna.2003.07.011
  9. Research on Pressure Sensor Temperature Compensation by WNN Based on FA Applied Mechanics and Materials · Trans Tech Publications · 2012 10.4028/www.scientific.net/amm.151.213
  10. Automatic early stopping using cross validation: quantifying the criteria Neural Networks · Elsevier BV · 1998 10.1016/s0893-6080(98)00010-0
  11. Modeling and compensation of MEMS gyroscope output data based on support vector machine Measurement · Elsevier BV · 2012 10.1016/j.measurement.2012.02.001
  12. Ions motion algorithm for solving optimization problems Applied Soft Computing · Elsevier BV · 2015 10.1016/j.asoc.2015.03.035
  13. Transistor Compensation Technology of Pressure Sensor Sensitivity Temperature Coefficient Applied Mechanics and Materials · Trans Tech Publications · 2010 10.4028/www.scientific.net/amm.43.371
  14. Development of a Radial Pulse Tonometric (RPT) Sensor with a Temperature Compensation Mechanism Sensors · Multidisciplinary Digital Publishing Institute · 2013 10.3390/s130100611
  15. A novel immune evolutionary algorithm incorporating chaos optimization Pattern Recognition Letters · Elsevier BV · 2005 10.1016/j.patrec.2005.06.014
  16. A novel temperature compensated piezoresistive pressure sensor Measurement · Elsevier BV · 2014 10.1016/j.measurement.2014.11.032
  17. Temperature drift modeling and compensation of RLG based on PSO tuning SVM Measurement · Elsevier BV · 2014 10.1016/j.measurement.2014.05.013
  18. Use of chaotic sequences in a biologically inspired algorithm for engineering design optimization Expert Systems with Applications · Elsevier BV · 2007 10.1016/j.eswa.2007.02.002
  19. Research of radiosonde humidity sensor with temperature compensation function and experimental verification Sensors and Actuators A Physical · Elsevier BV · 2014 10.1016/j.sna.2014.07.015
  20. Evolving Least Squares Support Vector Machines for Stock Market Trend Mining IEEE Transactions on Evolutionary Computation · Institute of Electrical and Electronics Engineers · 2008 10.1109/tevc.2008.928176
  21. LIBSVM ACM Transactions on Intelligent Systems and Technology · Association for Computing Machinery · 2011 10.1145/1961189.1961199
  22. A Smart High Accuracy Silicon Piezoresistive Pressure Sensor Temperature Compensation System Sensors · Multidisciplinary Digital Publishing Institute · 2014 10.3390/s140712174
  23. Laser Gyro Temperature Compensation Using Modified RBFNN Sensors · Multidisciplinary Digital Publishing Institute · 2014 10.3390/s141018711
  24. Temperature Compensation for a Six-Axis Force/Torque Sensor Based on the Particle Swarm Optimization Least Square Support Vector Machine for Space Manipulator IEEE Sensors Journal · IEEE Sensors Council · 2015 10.1109/jsen.2015.2485258
  25. Thermal drift prognosis and compensation model of MEMS accelerometer Journal of Chinese Inertial Technology · Chinnes Society of Inertial Technology · 2012
  26. COMPENSATION AND SIGNAL CONDITIONING OF CAPACITIVE PRESSURE SENSORS 2011
  27. Temperature compensation of pressure sensor based on the interpolation of splines Beijing Hangkong Hangtian Daxue xuebao · Beijing University of Aeronautics and Astronautics (BUAA) · 2006