CN102914623A - Fusing method of temperature compensation of humidity sensor - Google Patents
Fusing method of temperature compensation of humidity sensor Download PDFInfo
- Publication number
- CN102914623A CN102914623A CN2012104016334A CN201210401633A CN102914623A CN 102914623 A CN102914623 A CN 102914623A CN 2012104016334 A CN2012104016334 A CN 2012104016334A CN 201210401633 A CN201210401633 A CN 201210401633A CN 102914623 A CN102914623 A CN 102914623A
- Authority
- CN
- China
- Prior art keywords
- humidity sensor
- temperature
- compensation
- output
- function
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Investigating Or Analyzing Materials By The Use Of Electric Means (AREA)
- Investigating Or Analyzing Materials By The Use Of Fluid Adsorption Or Reactions (AREA)
Abstract
The invention relates to a fusing method of temperature compensation of a humidity sensor. A characteristic function y=f(x) of the humidity sensor is given, wherein y represents the output of the humidity sensor, x represents the input of the humidity sensor, a temperature parameter is provided additionally, when t0<t1<t2<t3, according to the characteristics that a characteristic curve of the humidity sensor is linear in the middle and is nonlinear at two ends under the influence of the temperature, through a linear least square method, a linear equation f2(x, t) influenced by the temperature within a range of [t1, t2] is obtained; and when t0<t<t1 or t2<t<t3, error compensation caused by the temperature influence is carried out on f1(x, t) and f3 (x, t) through an RBF (Radial Basis Function) neutral network. The fusing method has the beneficial effect that an actual value which is closer to an output value of the humidity sensor is finally obtained.
Description
Technical field
The invention belongs to the soft compensation technique of sensor field, be specifically related to the application of method for self-adaption amalgamation in the humidity sensor temperature compensation that combine with least square of a kind of RBF neural network.
Background technology
Air humidity is an important parameter in the meteorological observation, and meteorological department has dropped into the automatic weather station of service operation at present, and the warm and humid integrated transducer of the HMP45D that mostly adopts Finland Vaisala company to produce is measured air humidity.The HMP45D Temperature Humidity Sensor is the thin polymer film capacitive transducer of new generation with HUMICAP technology, in the process of using, calculate the relative humidity size by linear relationship, yet in the practical business process, the measurement of humidity under high/low temperature condition occurs, can not satisfy the problem of measuring accuracy and reliability.Therefore, the non-linear effects that compensation temperature produces becomes the problem that sensor research staff and worker in meteorology are concerned about the most.The non-linear effects that humidity sensor is produced in order to eliminate temperature, the researcher is mainly round hardware compensating and two kinds of methods of software compensation both at home and abroad.The hardware compensating method causes whole measuring system poor reliability and precision low owing to be subject to the impact of the factor such as electronic devices and components drift in the circuit, can't accomplish omnidistance compensation, uses in the actual use procedure to be restricted.Software compensation method has the multivariate regression analytic approach, yet when application multivariate regression analytic approach is carried out Data Fusion, need to find the solution large-scale matrix equation, even equation is ill-condition equation sometimes, can't find the solution, and fitting precision is lower, often can not satisfies application request; Utilize the non-linear mapping capability of BP neural network also can realize the temperature compensation of humidity sensor, but there are some problems in the method in application process, be absorbed in easily local extremum, make failure to train, and when data volume was larger, pace of learning was slower, and fitting precision is lower.
Summary of the invention
The object of the invention is to overcome the deficiency of above prior art, and the fusion method of the less humidity sensor temperature compensation of a kind of error is provided, and specifically has following technical scheme to realize:
The fusion method of described humidity sensor temperature compensation, the characteristic function of establishing humidity sensor are y=f (x), x ∈ [δ
0, δ
h], wherein y is the output of sensor, and x is the input of sensor, and input reference signal is δ
h-δ
0, it is characterized in that set up temperature parameters t, linear in the middle of the family curve under the temperature effect presents according to humidity sensor, the nonlinear characteristics in two ends make t0<t1<t2<t3, obtain formula (1),
Wherein, the characteristic function curve of humidity sensor is to be the function of continuous monotone variation in the input signal range ability; As t1<t<t2, obtain f by linear least square
2(x, t) is at the linear equation of [t1, t2] interior temperature influence; As t0<t<t1 or t2<t<t3, by the RBF neural network to f
1(x, t) and f
3(x, t) carries out the error compensation brought by temperature effect.
The further design of the fusion method of described humidity sensor temperature compensation is, as t1<t<t2, add that in the described linear equation of finally trying to achieve parametric coefficients ξ compensation temperature produces minor impact, directly try to achieve corresponding input signal x with straight-line equation according to the output after the A/D conversion, simplify the processing mode of output signal.
The further design of the fusion method of described humidity sensor temperature compensation is that described error compensation of being undertaken by the RBF neural network comprises the steps:
1) netinit is chosen n training sample at random as cluster centre c
i(i=1,2 ..., n);
2) grouping of arest neighbors rule is pressed in the training sample set of input, then readjust cluster centre, the c that obtains at last
iCenter for network function;
3) find the solution the variance of network function when being Gaussian function
I=1,2 ..., n, wherein c
MaxBe the ultimate range between the selected center;
5). by formula
Then calculation of performance indicators J carries out the weights adjustment, wherein, and y
kDesirable output,
Be reality output, k=1,2 ... L, L, M are empirical values;
6). judge the performance index J≤ζ that whether satisfies condition, ζ is empirical value, if satisfy, finishes training, otherwise makes J=0 return step 2, repeats above-mentioned training process, until satisfy condition.
The present invention is according to the family curve of humidity sensor under the impact of temperature, one section presents linearity, two ends present nonlinear characteristics, for the less linearity range of temperature effect, utilize the method for least square to simulate straight-line equation, add corresponding parametric coefficients, the impact of compensation temperature, make the input input be good linear relationship, for the larger characteristic two ends of temperature effect, utilize the RBF neural network model to realize the temperature compensation of humidity sensor, so that input and output also are good linear relationship, finally obtain the output valve of humidity sensor more near actual value.
Description of drawings
Fig. 1 is the humidity sensor temperature compensation principle;
Fig. 2 is that temperature is on humidity sensor measurement result's impact;
Fig. 3 is linear least square fitting a straight line synoptic diagram;
Fig. 4 is the humidity sensor input-output curve after the temperature compensation.
Embodiment
Below in conjunction with accompanying drawing the present invention program is elaborated.
The fusion method of described humidity sensor temperature compensation, the characteristic function of establishing humidity sensor are y=f (x), x ∈ [δ
0, δ
h], wherein y is the output of sensor, and x is the input of sensor, and input reference signal is δ
h-δ
0, it is characterized in that set up temperature parameters t, linear in the middle of the family curve under the temperature effect presents according to humidity sensor, the nonlinear characteristics in two ends make t0<t1<t2<t3, obtain formula (1),
Wherein, the characteristic function curve of humidity sensor is to be the function of continuous monotone variation in the input signal range ability; As t1<t<t2, obtain f by linear least square
2(x, t) is at the linear equation of [t1, t2] interior temperature influence; As t0<t<t1 or t2<t<t3, by the RBF neural network to f
1(x, t) and f
3(x, t) carries out the error compensation brought by temperature effect.
As t1<t<t2, add that in the described linear equation of finally trying to achieve parametric coefficients ξ compensation temperature produces minor impact, directly try to achieve corresponding input signal x with straight-line equation according to the output after the A/D conversion, simplify the processing mode of output signal.
Error compensation by the RBF neural network is carried out comprises the steps:
1) netinit is chosen n training sample at random as cluster centre c
i(i=1,2 ..., n);
2) grouping of arest neighbors rule is pressed in the training sample set of input, then readjust cluster centre, the c that obtains at last
iCenter for network function;
3) find the solution the variance of network function when being Gaussian function
I=1,2 ..., n, wherein c
MaxBe the ultimate range between the selected center;
5). by formula
y
kDesirable output,
Be reality output, k=1,2 ... L, L, M are empirical values, then calculation of performance indicators J carries out the weights adjustment, wherein, y
kDesirable output,
Be reality output, k=1,2 ... L, L, M are empirical values;
6). judge the performance index J≤ζ that whether satisfies condition, ζ is empirical value, if satisfy, finishes training, otherwise makes J=0 return step 2, repeats above-mentioned training process, until satisfy condition.
Table 1 is the experimental data of actual measurement gained, and the measurement error value under the condition of different temperatures is that measured value deducts standard value, and the measurement error value in the different temperatures situation is depicted as smooth curve, and then analysis temperature is on the impact of humidity sensor.Resulting under different temperatures and different humidity condition the Curve of the Measuring Error of humidity sensor, as shown in Figure 2.
Table 1
Fig. 3 utilizes the linear least square method that linearity range is preferably carried out fitting a straight line, and the straight-line equation that obtains is that y=1.0293*x-1.6659 adds minor impact error amount 0.8, and the input and output behind over-fitting present good linear relationship.Certainly need to choose different values for different sensor model numbers in the actual application process, then just can calculate actual humidity value in this segment according to the straight-line equation of match, compensation precision is higher.
Fig. 4 utilizes the method for RBF neural network to carrying out temperature Compensation Study between inelastic region, temperature range two ends, the part sample in the experimental data as training sample, the part sample is as test sample book, as the data in the input vector, the relative humidity standard value is as desired output temperature value and relative humidity measurement value.Sample value is imported neural network, and the input node gets 4, and the hidden neuron number gets 10, and hidden neuron adopts Gaussian function, and the output layer neuron adopts purelin Linear function, and the humidity value of humidity sensor in the nonlinear temperature interval carried out temperature compensation.The input and output that can obtain after the neural networks compensate present good linear relationship, can access more the humidity value near actual value.
In order to check the effect of the blending algorithm that the present invention proposes, this algorithm and least square polynomial fit and BP neural net method are compared analysis and research.In the experiment simulation process, we find when temperature range larger samples number is more, single BP neural net method learning training speed is obviously slack-off, it is large that error of fitting also becomes, be absorbed in easily local minimum, affect compensation effect, and in the process of least square polynomial solving, when the highest power item of polynomial expression value was larger, fitting precision was relatively high, but two ends present oscillatory occurences, and along with the change of data volume is large, speed is slack-off gradually, and it is large that error also becomes gradually, and it is undesirable that fitting effect becomes.The method that the present invention proposes is owing to be that match is carried out respectively in the by stages, and compensation effect can reach satisfied precision.
Table 2 has provided the humidity match value after the compensation in employing BP neural network and the p-30 ° of C ~ 0 ° C of least square polynomial method and the 20 ° of C ~ 50 ° C temperature ranges, the effect temperature compensation of contrast this paper method, can draw, present in obvious linearity and the nonlinear situation at temperature characteristics, the model of temperature compensation that the algorithm that utilizes least square and RBF neural network to combine is set up, simple, precision is higher, and network learning and training speed is fast.
Table 2
The self-adaptation blending algorithm that the present invention utilizes the RBF neural network to combine with least square, effectively compensation temperature is on the impact of humidity sensor generation, the outstanding advantages of the method is simple simultaneously, the match training speed is fast, compensation precision is high, can be used for the temperature compensation of business humidity sensor, greatly improve accuracy of measurement and the reliability of sensor.
Claims (3)
1. the fusion method of a humidity sensor temperature compensation, the characteristic function of establishing humidity sensor is y=f (x), x ∈ [δ
0, δ
h], wherein y is the output of sensor, and x is the input of sensor, and input reference signal is δ
h-δ
0, it is characterized in that, set up temperature parameters t, according to the family curve of humidity sensor under temperature effect, make t0<t1<t2<t3, obtain formula (1),
Wherein, the characteristic function curve of humidity sensor is to be the function of continuous monotone variation in the input signal range ability; As t1<t<t2, obtain f by linear least square
2(x, t) is at the linear equation of [t1, t2] interior temperature influence; As t0<t<t1 or t2<t<t3, by the RBF neural network to f
1(x, t) and f
3(x, t) carries out the error compensation brought by temperature effect.
2. the fusion method of humidity sensor temperature compensation according to claim 1, it is characterized in that, as t1<t<t2, in the described linear equation of finally trying to achieve, add parametric coefficients ξ compensation temperature, directly try to achieve corresponding input signal x with straight-line equation according to the output after the A/D conversion.
3. the fusion method of humidity sensor temperature compensation according to claim 1 is characterized in that, described error compensation of being undertaken by the RBF neural network comprises the steps:
1). netinit, choose at random n training sample as cluster centre c
i(i=1,2 ..., n);
2). the grouping of arest neighbors rule is pressed in the training sample set of input, then readjust cluster centre, the c that obtains at last
iCenter for network function;
3). find the solution the variance of network function when being Gaussian function
I=1,2 ..., n, wherein c
MaxBe the ultimate range between the selected center;
4). calculate the weights between hidden layer and the output layer
(p=1,2 ..., P; I=1,2 ..., n);
5). by formula
Then calculation of performance indicators J carries out the weights adjustment, wherein, and y
kDesirable output,
Be reality output, k=1,2 ... L, L, M are empirical values;
6). judge the performance index J≤ζ that whether satisfies condition, ζ is empirical value, if satisfy, finishes training, otherwise makes J=0 return step 2, repeats above-mentioned training process, until satisfy condition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210401633.4A CN102914623B (en) | 2012-10-19 | 2012-10-19 | Fusing method of temperature compensation of humidity sensor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210401633.4A CN102914623B (en) | 2012-10-19 | 2012-10-19 | Fusing method of temperature compensation of humidity sensor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102914623A true CN102914623A (en) | 2013-02-06 |
CN102914623B CN102914623B (en) | 2014-12-10 |
Family
ID=47613080
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210401633.4A Expired - Fee Related CN102914623B (en) | 2012-10-19 | 2012-10-19 | Fusing method of temperature compensation of humidity sensor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102914623B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104067120A (en) * | 2014-06-27 | 2014-09-24 | 深圳华盛昌机械实业有限公司 | Humidity sensor numerical value compensation method, device, and air quality detector |
CN105223241A (en) * | 2015-09-18 | 2016-01-06 | 南京信息工程大学 | A kind of compensation method of humidity sensor |
CN105445344A (en) * | 2015-12-30 | 2016-03-30 | 桂林电子科技大学 | Temperature compensation method of system for detecting heavy metals in water environment |
CN106908082A (en) * | 2017-02-28 | 2017-06-30 | 百度在线网络技术(北京)有限公司 | Method, apparatus and system for the gyroscope in calibrating terminal |
CN107330510A (en) * | 2017-06-30 | 2017-11-07 | 南京信息工程大学 | Humidity sensor temperature compensation method based on AFSA BP neural networks |
CN109405884A (en) * | 2018-12-03 | 2019-03-01 | 无锡华润矽科微电子有限公司 | The system and method for realization humidity calibration function based on Temperature Humidity Sensor |
CN109567767A (en) * | 2018-11-14 | 2019-04-05 | 山东中医药大学 | A kind of intelligence infant nursing automatic reminding system and method |
CN110017572A (en) * | 2019-04-01 | 2019-07-16 | 中建二局安装工程有限公司 | A kind of air-conditioning system and control method suitable for High aititude region |
CN110262582A (en) * | 2019-07-30 | 2019-09-20 | 中原工学院 | A kind of barotor temprature control method based on improvement RBF neural |
CN110338796A (en) * | 2019-06-26 | 2019-10-18 | 歌尔股份有限公司 | Breathing detection method, apparatus and wearable device |
CN114046802A (en) * | 2021-09-28 | 2022-02-15 | 中国船舶重工集团公司第七0七研究所 | Step-by-step temperature compensation method for fiber-optic gyroscope |
CN117686555A (en) * | 2024-02-04 | 2024-03-12 | 南京邮电大学 | LC humidity sensor drift compensation method based on machine learning |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102095756A (en) * | 2009-12-15 | 2011-06-15 | 台达电子工业股份有限公司 | Humidity sensing circuit with temperature compensation function |
CN202433334U (en) * | 2011-12-29 | 2012-09-12 | 东南大学 | Piezoresistive type humidity sensor with low temperature drift |
-
2012
- 2012-10-19 CN CN201210401633.4A patent/CN102914623B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102095756A (en) * | 2009-12-15 | 2011-06-15 | 台达电子工业股份有限公司 | Humidity sensing circuit with temperature compensation function |
CN202433334U (en) * | 2011-12-29 | 2012-09-12 | 东南大学 | Piezoresistive type humidity sensor with low temperature drift |
Non-Patent Citations (3)
Title |
---|
伊晓光等: "湿敏电容式传感器测量SF6气体湿度方法的研究", 《电力建设》 * |
朱庆保等: "神经网络与回归相结合实现传感器特性线性化", 《仪器仪表学报》 * |
王化冰等: "基于 RBF 神经网络的高分子湿度传感器的研究", 《微计算机信息》 * |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104067120A (en) * | 2014-06-27 | 2014-09-24 | 深圳华盛昌机械实业有限公司 | Humidity sensor numerical value compensation method, device, and air quality detector |
WO2015196475A1 (en) * | 2014-06-27 | 2015-12-30 | 深圳华盛昌机械实业有限公司 | Method and device for humidity sensor value compensation and air quality detector |
CN104067120B (en) * | 2014-06-27 | 2016-05-25 | 深圳华盛昌机械实业有限公司 | A kind of humidity sensor numerical compensation method, device and air quality detector |
CN105223241A (en) * | 2015-09-18 | 2016-01-06 | 南京信息工程大学 | A kind of compensation method of humidity sensor |
CN105445344A (en) * | 2015-12-30 | 2016-03-30 | 桂林电子科技大学 | Temperature compensation method of system for detecting heavy metals in water environment |
CN106908082A (en) * | 2017-02-28 | 2017-06-30 | 百度在线网络技术(北京)有限公司 | Method, apparatus and system for the gyroscope in calibrating terminal |
CN107330510A (en) * | 2017-06-30 | 2017-11-07 | 南京信息工程大学 | Humidity sensor temperature compensation method based on AFSA BP neural networks |
CN109567767A (en) * | 2018-11-14 | 2019-04-05 | 山东中医药大学 | A kind of intelligence infant nursing automatic reminding system and method |
CN109405884A (en) * | 2018-12-03 | 2019-03-01 | 无锡华润矽科微电子有限公司 | The system and method for realization humidity calibration function based on Temperature Humidity Sensor |
CN109405884B (en) * | 2018-12-03 | 2024-02-27 | 华润微集成电路(无锡)有限公司 | System and method for realizing humidity calibration function based on temperature and humidity sensor |
CN110017572A (en) * | 2019-04-01 | 2019-07-16 | 中建二局安装工程有限公司 | A kind of air-conditioning system and control method suitable for High aititude region |
CN110338796A (en) * | 2019-06-26 | 2019-10-18 | 歌尔股份有限公司 | Breathing detection method, apparatus and wearable device |
CN110262582A (en) * | 2019-07-30 | 2019-09-20 | 中原工学院 | A kind of barotor temprature control method based on improvement RBF neural |
CN114046802A (en) * | 2021-09-28 | 2022-02-15 | 中国船舶重工集团公司第七0七研究所 | Step-by-step temperature compensation method for fiber-optic gyroscope |
CN114046802B (en) * | 2021-09-28 | 2023-05-02 | 中国船舶重工集团公司第七0七研究所 | Step-by-step temperature compensation method of fiber optic gyroscope |
CN117686555A (en) * | 2024-02-04 | 2024-03-12 | 南京邮电大学 | LC humidity sensor drift compensation method based on machine learning |
CN117686555B (en) * | 2024-02-04 | 2024-05-14 | 南京邮电大学 | LC humidity sensor drift compensation method based on machine learning |
Also Published As
Publication number | Publication date |
---|---|
CN102914623B (en) | 2014-12-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102914623B (en) | Fusing method of temperature compensation of humidity sensor | |
Conte et al. | Bootstrap Pettitt test for detecting change points in hydroclimatological data: Case study of Itaipu Hydroelectric Plant, Brazil | |
Lee et al. | Analysis of dynamic interaction between catenary and pantograph with experimental verification and performance evaluation in new high-speed line | |
Rodrigues et al. | A temperature-dependent battery model for wireless sensor networks | |
Sanchez-Sutil et al. | Development and calibration of an open source, low-cost power smart meter prototype for PV household-prosumers | |
Olatomiwa et al. | RETRACTED ARTICLE: Potential of support vector regression for solar radiation prediction in Nigeria | |
CN104778298A (en) | Gaussian process regression soft measurement modeling method based on EGMM (Error Gaussian Mixture Model) | |
Schneider et al. | Toward a unified terminology of processing levels for low-cost air-quality sensors | |
Pozo et al. | Supercapacitor electro-mathematical and machine learning modelling for low power applications | |
CN102759430A (en) | BP (Back Propagation) neural network based high-precision correction and test method for resonance cylinder pressure sensor | |
Li et al. | Assessing MODIS carbon and water fluxes in grasslands and shrublands in semiarid regions using eddy covariance tower data | |
CN105095989B (en) | It is a kind of based on Fourier space while inscribe wind power probability distribution approximating method | |
Liu et al. | MJO change with A1B global warming estimated by the 40-km ECHAM5 | |
CN105737881A (en) | Acceleration reliability growth test method for electronic equipment | |
van Beek et al. | Sensitivity and uncertainty of the floris model applied on the lillgrund wind farm | |
Song et al. | Online prediction of vehicular fuel cell residual lifetime based on adaptive extended Kalman filter | |
Rakhmatova et al. | Three-day forecasting of greenhouse gas CH 4 in the atmosphere of the Arctic Belyy Island using discrete wavelet transform and artificial neural networks | |
CN109405884B (en) | System and method for realizing humidity calibration function based on temperature and humidity sensor | |
Rezaei et al. | A robust kalman filter-based approach for soc estimation of lithium-ion batteries in smart homes | |
Deng et al. | Analysis of the spectral induction and hierarchical transmissibility for railway vehicles’ measurement vibration environment | |
Huang et al. | Gap-filling of surface fluxes using machine learning algorithms in various ecosystems | |
Zhang et al. | Short-term forecasting of daily crop evapotranspiration using the ‘Kc-ETo’approach and public weather forecasts | |
Qi et al. | Impact of assimilating ground-based microwave radiometer data on the precipitation bifurcation forecast: A case study in Beijing | |
Tian et al. | Smart soil water sensor with soil impedance detected via edge electromagnetic field induction | |
Rossi et al. | Coupling different road traffic noise models with a multilinear regressive model: a measurements-independent technique for urban road traffic noise prediction |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C41 | Transfer of patent application or patent right or utility model | ||
TR01 | Transfer of patent right |
Effective date of registration: 20161101 Address after: 205 C1 building 15, Jiangpu street, Pukou District, Nanjing District, Jiangsu, Wanshou Road 211899, China Patentee after: Clouds Nanjing Environmental Monitoring Technology Development Co. Ltd. Address before: Nanjing City, Jiangsu province 210019 Olympic Avenue No. 69 Patentee before: Nanjing University of Information Science and Technology |
|
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20141210 Termination date: 20171019 |
|
CF01 | Termination of patent right due to non-payment of annual fee |