CN103176951A - Method for balancing accuracy and calculated amount of multifunctional sensor signal reconstruction - Google Patents

Method for balancing accuracy and calculated amount of multifunctional sensor signal reconstruction Download PDF

Info

Publication number
CN103176951A
CN103176951A CN201310121260XA CN201310121260A CN103176951A CN 103176951 A CN103176951 A CN 103176951A CN 201310121260X A CN201310121260X A CN 201310121260XA CN 201310121260 A CN201310121260 A CN 201310121260A CN 103176951 A CN103176951 A CN 103176951A
Authority
CN
China
Prior art keywords
fitness function
population
signal reconstruction
spline
reconstruction
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.)
Pending
Application number
CN201310121260XA
Other languages
Chinese (zh)
Inventor
王昕�
魏国
孙金玮
范贤光
许英杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen University
Original Assignee
Xiamen University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Xiamen University filed Critical Xiamen University
Priority to CN201310121260XA priority Critical patent/CN103176951A/en
Publication of CN103176951A publication Critical patent/CN103176951A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)

Abstract

The invention discloses a method for balancing the accuracy and calculated amount of multifunctional sensor signal reconstruction, which relates to sensors. The method is used for balancing the accuracy and calculated amount of the existing multifunctional sensor signal reconstruction method based on B-spline and extend kalman filtering, and designed for achieving an effect that a balanced signal reconstruction method can ensure the accuracy, and the calculated amount is relatively low. The accuracy and calculated amount of the multifunctional sensor signal reconstruction are quantified by respectively using a minimum mean square error and the number of multiplication operation times; a fitness function is designed by using the two parameters; and the structure of a B-spline is optimized by using a genetic algorithm, so that the fitness function is minimum so as to realize the balancing on the accuracy and calculated amount of the signal reconstruction. According to the invention, the calculated amount required in the process of signal reconstruction can be greatly reduced on the basis of ensuring a high accuracy, and the method disclosed by the invention also can be applied to other multifunctional sensor signal reconstruction methods.

Description

Balance method for signal reconstruction precision and calculated amount of multifunctional sensor
Technical Field
The invention relates to a sensor, in particular to a method for balancing signal reconstruction accuracy and calculated amount of a multifunctional sensor.
Background
A multifunctional sensor is a sensor capable of measuring a plurality of physical quantities simultaneously, and is one of the main development trends of modern sensing technology. With the development of multifunctional sensors, the corresponding signal reconstruction method is also a problem which must be studied. At present, although there are a number of signal reconstruction methods suitable for multifunctional sensors, there are few methods that can ensure reconstruction accuracy and can be used on an intelligent chip, and a B-spline and kalman filter-based reconstruction method is one of them. However, in the current method, the structure of the B-spline model is generally selected manually without corresponding algorithm guidance, so that a large amount of unnecessary calculation is performed in order to achieve certain precision in the reconstruction process.
At present, a certain amount of research is carried out on a balance algorithm of a sensor at home and abroad, but some problems still exist. In most documents, a balance algorithm for reconstructing a sensor signal is not studied, and for the structure of a model, a method of multiple trials or depending on experience is generally adopted, as long as a required reconstruction effect is obtained, and other problems such as the calculation amount required by modeling, the complexity of the model and the like are not considered. In the literature (Wen, Liu Jian, Sun jin valuable, et al. research on the LS-SVM-based nonlinear multifunctional sensor signal reconstruction method, in the automated science and research report 2008,34(8): 869-. However, only the influence of the optimized parameters on the signal reconstruction error is studied in this document, and the influence on the calculation amount required for parameter identification is not studied. In the literature (Michele Gubian, Anna Marconato, Andrea Boni, et al. A study on incertation-Complex Transefs for dynamic Nonlinear Sensor Compensation. IEEE transactions on analysis and analysis, 2009,58 (1): 26-32) and literature (Michele Gubian, A. Marconato, A. Boni, et al. incertation-Complex Trans-offset for Sensor Compensation Den, AMUEM2007, Italy, 2007: 127-. In this paper, the authors have studied the methods of evaluating the accuracy and computational complexity during the calibration process and have achieved a balance between the two by optimizing the structure of the support vector machine. However, this document addresses the problem of single-function sensor compensation, and the object being optimized is the support vector machine.
Disclosure of Invention
The invention aims to provide a method for balancing signal reconstruction accuracy and calculated amount of a multifunctional sensor.
First, the B-spline algorithm is briefly described. The B-spline algorithm is an important tool for constructing complex nonlinear curves or surfaces. A curve or a curved surface constructed by the B-spline has good low-order smoothness, and the multifunctional sensor inverse model established by the curve or the curved surface can effectively avoid under-fitting and over-fitting phenomena, so that the signal reconstruction precision is improved. The basic structure of the B spline model is described by taking a three-input single-output model as an example. Given a set of sample data
Figure BDA00003026501900021
And node sequences in three directions:
tx - k + 1 &le; . . . &le; tx 0 < tx 1 < . . . < tx L < tx L + 1 &le; . . . &le; tx L + k ty - k + 1 &le; . . . &le; ty 0 < ty 1 < . . . < ty M < ty M + 1 &le; . . . &le; ty M + k tz - k + 1 &le; . . . &le; tz 0 < tz 1 < . . . < tz N < tz N + 1 &le; . . . &le; tz N + k
wherein,for inputting,
Figure BDA00003026501900024
Is the output. Thus, a three-input single-output B-spline surface can be obtained:
S ( x &alpha; , y &beta; , z &gamma; ) = &Sigma; u = - k + 1 L &Sigma; v = - k + 1 M &Sigma; w = - k + 1 N [ h u , v , w B u , tx k ( x &alpha; ) B v , ty k ( y &beta; ) B w , tz k ( z &gamma; ) ]
wherein, { h }u,v,wThe control coefficient can be solved by extended Kalman filtering;
Figure BDA00003026501900026
is a B sampleThe stripe basis function can be obtained by using a DeBoor-Cox, taking the x direction as an example:
B i , tx 1 ( x ) = 1 , tx i < x &le; tx i + 1 0 , others B i , tx k ( x ) = x - tx i tx i + k - 1 - tx i B i k - 1 ( x ) + tx i + k - x tx i + k - tx i + 1 B i + 1 k - 1 ( x )
the balance algorithm provided by the invention comprises the following parts: quantizing the accuracy and the calculated amount of signal reconstruction; designing a fitness function by using the quantized parameters; and optimizing the structural parameters of the B spline model, namely the values of L, M and N by using a genetic algorithm with the aim of optimizing the fitness function.
The invention comprises the following steps:
1) determining the number of bits required for binary coding according to the value range of the node vector dimension in each input direction, and placing the node vector dimensions in all the input directions in the same binary number, wherein the binary number is an individual of a genetic algorithm;
2) randomly generating an initial population, namely an array consisting of a plurality of binary numbers;
3) let counter N =1, N representing the number of genetic algorithm cycles;
4) decoding all individuals in the population to obtain the corresponding node vector dimensions in all directions, and establishing a B spline model according to the node vector dimensions;
5) calculating the reconstruction minimum Mean Square Error (MSE) of each B spline model and the times of multiplication operations required by modeling;
6) calculating a fitness function of each individual;
7) according to the fitness function of each individual, carrying out selection, crossing and variation operations on the population to generate a new population;
8) judging whether the cycle number N reaches a preset value NmaxIf not, N = N +1 and jumps to step 3; if the set value is reached, the balance algorithm is ended, and an optimization result is given, namely the optimal individual (the individual with the minimum fitness function value) in the population at the moment.
Therefore, the optimal individual given by the balance algorithm is decoded, the node vector dimension of the obtained B-spline model in each input direction is the dimension optimized by the balance algorithm, and all the multifunctional sensors in the same batch are modeled by the B-spline model to realize signal reconstruction.
The invention respectively utilizes the minimum mean square error MSE (mean square error) and multiplication times to quantize the accuracy and the calculated amount of signal reconstruction, and the calculation formula of the MSE is as follows:
MSE = 1 n &Sigma; i = 1 n ( g i - g ^ i ) 2
in the formula, n is the number of sample data;
githe true value of the sample data;
Figure BDA00003026501900032
after signal reconstruction, estimating the sample data;
the calculation formula of the times of multiplication is as follows:
Num=Numsingle×n
in the formula, Num is the number of times of multiplication operations required for reconstructing the whole signal;
Numsingleis the number of times of multiplication operations required by single Kalman filtering;
for a three-input single-output B-spline model, the times of multiplication operations required by single Kalman filtering are as follows:
Numsingle=λ3+2λ2+9λ+120
λ=(L1+k)(L2+k)...(Lm+k)
where λ is the dimension of the Kalman filtering state vector;
m is the number of sensors being measured;
L1,L2…Lmvector dimension of the corresponding inner node for each measured quantity;
k is the order of the kalman filter.
The invention designs a fitness function by utilizing MSE and multiplication times:
Fitness=Numsingle+P=λ3+2λ2+9λ+120+P
P = 0 MSE < &epsiv; a MSE &GreaterEqual; &epsiv;
wherein, Fitness is a Fitness function;
p is a penalty factor;
ε is the threshold value;
a is a penalty constant, which is typically set to a very large integer.
Optimizing the structural parameters of the B spline model by using a genetic algorithm to minimize a fitness function, wherein the genetic algorithm comprises the following steps:
1) b spline structural parameters, namely node vector dimensions in each input direction, namely L, M and N, are subjected to binary coding, and an initial population is given;
2) calculating a fitness function of individuals in the current population and MSE after signal reconstruction by using a B spline;
3) calculating the value of the fitness function;
4) selecting, crossing and mutating the existing population by using a genetic algorithm to generate a new population;
5) calculating the fitness function of the optimal individual in the new population, if the cycle number is higher than a preset value NmaxEnding, otherwise, returning to the step 2).
The method is used for the multifunctional sensor signal reconstruction method based on the B-spline and the extended Kalman filtering. The invention needs to optimize the model structure of the B-spline on a computer in advance, and then realizes the optimized model on an intelligent chip. On the basis of ensuring the reconstruction accuracy, the optimized model requires lower calculation amount for modeling than an unoptimized model.
The invention balances the precision and the calculated amount of the traditional multifunctional sensor signal reconstruction method based on B-spline and extended Kalman filtering, and aims to ensure that the balanced signal reconstruction method can ensure the precision and the calculated amount is relatively low. The precision and the calculated amount of the signal reconstruction method are quantized by respectively utilizing the minimum mean square error and the times of multiplication; a fitness function is designed by utilizing the two parameters; and optimizing the structure of the B spline by using a genetic algorithm to minimize a fitness function so as to balance the precision and the calculated amount of the signal reconstruction method. The invention can greatly reduce the calculation amount required in the signal reconstruction process on the basis of ensuring higher precision, and meanwhile, the balance thought of the invention can also be used for other multifunctional sensor signal reconstruction methods.
Drawings
FIG. 1 is a schematic diagram of a genetic algorithm based balancing method.
Fig. 2 is a flow chart of a multifunctional sensor signal reconstruction accuracy and calculation amount balancing method.
Detailed Description
The invention aims at a multifunctional sensor signal reconstruction method based on B-spline and extended Kalman filtering to realize the balance of reconstruction precision and calculated amount. The basic principle of the balance algorithm is shown in fig. 1, and the optimized object is the node vector dimension of a B-spline model in the reconstruction algorithm. For a multi-input B-spline model, each input corresponds to a node vector, and the balance algorithm optimizes the dimensionality of all the node vectors simultaneously. When all the node vector dimensions are determined, the B spline model is determined, so that the times of multiplication operations required by the model for reconstruction and the minimum Mean Square Error (MSE) which can be obtained according to the B spline model, and the value of the fitness function can be further calculated by using the two parameters. With the fitness function, the dimensionality of the node vector can be optimized by using a genetic algorithm, so that the value of the fitness function is reduced as much as possible. The reduction of the value of the fitness function means that a better minimum mean square error is obtained by using fewer times of multiplication operation, namely the balance of the fitness function and the minimum mean square error is achieved. When the fitness function is minimum, the corresponding structural parameters of the B-spline model, namely the node vector dimension in each input direction, are the required optimization parameters of the B-spline model, and the method can be used for signal reconstruction of the multifunctional sensor.
A specific balancing method flowchart is shown in fig. 2.
1) Determining the number of bits required for binary coding according to the value range of the node vector dimension in each input direction, and placing the node vector dimensions in all the input directions in the same binary number, wherein the binary number is an individual of a genetic algorithm;
2) randomly generating an initial population, namely an array consisting of a plurality of binary numbers;
3) let counter N =1, N representing the number of genetic algorithm cycles;
4) decoding all individuals in the population to obtain the corresponding node vector dimensions in all directions, and establishing a B spline model according to the node vector dimensions;
5) calculating the reconstruction minimum Mean Square Error (MSE) of each B spline model and the times of multiplication operations required by modeling;
6) calculating a fitness function of each individual;
7) according to the fitness function of each individual, carrying out selection, crossing and variation operations on the population to generate a new population;
8) judging whether the cycle number N reaches a preset value NmaxIf not, N = N +1 and jumps to step 3; if the set value is reached, the balance algorithm is ended, and an optimization result is given, namely the optimal individual (the individual with the minimum fitness function value) in the population at the moment.
Therefore, the optimal individual given by the balance algorithm is decoded, the node vector dimension of the obtained B-spline model in each input direction is the dimension optimized by the balance algorithm, and all the multifunctional sensors in the same batch are modeled by the B-spline model to realize signal reconstruction.

Claims (4)

1. A balance method for signal reconstruction precision and calculated quantity of a multifunctional sensor is characterized by comprising the following steps:
1) determining the number of bits required for binary coding according to the value range of the node vector dimension in each input direction, and placing the node vector dimensions in all the input directions in the same binary number, wherein the binary number is an individual of a genetic algorithm;
2) randomly generating an initial population, namely an array consisting of a plurality of binary numbers;
3) let counter N =1, N representing the number of genetic algorithm cycles;
4) decoding all individuals in the population to obtain the corresponding node vector dimensions in all directions, and establishing a B spline model according to the node vector dimensions;
5) calculating the reconstruction minimum Mean Square Error (MSE) of each B spline model and the times of multiplication operation required by modeling;
6) calculating a fitness function of each individual;
7) according to the fitness function of each individual, carrying out selection, crossing and variation operations on the population to generate a new population;
8) judging whether the cycle number N reaches a preset value NmaxIf not, N = N +1 and jumps to step 3; and if the set value is reached, ending the balance algorithm, and giving an optimization result, namely the optimal individual in the population at the moment.
2. The method for balancing reconstruction accuracy and computation workload of a multifunctional sensor signal as claimed in claim 1, wherein in step 5), the computation formula of the reconstructed minimum mean square error MSE is:
MSE = 1 n &Sigma; i = 1 n ( g i - g ^ i ) 2
in the formula, n is the number of sample data;
githe true value of the sample data;
Figure FDA00003026501800012
after signal reconstruction, estimating the sample data;
the calculation formula of the times of multiplication is as follows:
Num=Numsingle×n
in the formula, Num is the number of times of multiplication operations required for reconstructing the whole signal;
Numsingleis the number of times of multiplication operations required by single Kalman filtering;
for a three-input single-output B-spline model, the times of multiplication operations required by single Kalman filtering are as follows:
Numsingle=λ3+2λ2+9λ+120
λ=(L1+k)(L2+k)...(Lm+k)
where λ is the dimension of the Kalman filtering state vector;
m is the number of sensors being measured;
L1,L2…Lmvector dimension of the corresponding inner node for each measured quantity;
k is the order of the kalman filter.
3. The method for balancing the reconstruction accuracy and the calculation amount of the multifunctional sensor signal according to claim 1, wherein in the step 6), the formula for calculating the fitness function of each individual is as follows:
Fitness=Numsingle+P=λ3+2λ2+9λ+120+P
P = 0 MSE < &epsiv; a MSE &GreaterEqual; &epsiv;
wherein, Fitness is a Fitness function;
p is a penalty factor;
ε is the threshold value;
a is a penalty constant, which is typically set to a very large integer.
4. The method for balancing reconstruction accuracy and computational complexity of a multi-function sensor signal as claimed in claim 1, wherein the structural parameters of the B-spline model are optimized using a genetic algorithm to minimize the fitness function, the genetic algorithm comprising the steps of:
1) b spline structural parameters, namely node vector dimensions in each input direction, namely L, M and N, are subjected to binary coding, and an initial population is given;
2) calculating a fitness function of individuals in the current population and MSE after signal reconstruction by using a B spline;
3) calculating the value of the fitness function;
4) selecting, crossing and mutating the existing population by using a genetic algorithm to generate a new population;
5) calculating the fitness function of the optimal individual in the new population, if the cycle number is higher than a preset value NmaxEnding, otherwise, returning to the step 2).
CN201310121260XA 2013-04-09 2013-04-09 Method for balancing accuracy and calculated amount of multifunctional sensor signal reconstruction Pending CN103176951A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310121260XA CN103176951A (en) 2013-04-09 2013-04-09 Method for balancing accuracy and calculated amount of multifunctional sensor signal reconstruction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310121260XA CN103176951A (en) 2013-04-09 2013-04-09 Method for balancing accuracy and calculated amount of multifunctional sensor signal reconstruction

Publications (1)

Publication Number Publication Date
CN103176951A true CN103176951A (en) 2013-06-26

Family

ID=48636837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310121260XA Pending CN103176951A (en) 2013-04-09 2013-04-09 Method for balancing accuracy and calculated amount of multifunctional sensor signal reconstruction

Country Status (1)

Country Link
CN (1) CN103176951A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110764696A (en) * 2019-09-26 2020-02-07 开放智能机器(上海)有限公司 Vector information storage and updating method and device, electronic equipment and storage medium
CN112070229A (en) * 2020-10-19 2020-12-11 中国农业科学院农业信息研究所 Agricultural meteorological monitoring data processing method and system based on genetic algorithm

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040024590A1 (en) * 2002-08-01 2004-02-05 Samsung Electronics Co., Ltd. Apparatus and method for determining correlation coefficient between signals, and apparatus and method for determining signal pitch therefor
CN101458779A (en) * 2008-12-30 2009-06-17 上海理工大学 Curve and surface fairing method based on inheritance arithmetic
CN102298788A (en) * 2011-08-12 2011-12-28 山东师范大学 Interactive cartoon design realization method based on multi-target evaluation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040024590A1 (en) * 2002-08-01 2004-02-05 Samsung Electronics Co., Ltd. Apparatus and method for determining correlation coefficient between signals, and apparatus and method for determining signal pitch therefor
CN101458779A (en) * 2008-12-30 2009-06-17 上海理工大学 Curve and surface fairing method based on inheritance arithmetic
CN102298788A (en) * 2011-08-12 2011-12-28 山东师范大学 Interactive cartoon design realization method based on multi-target evaluation

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王昕: "多功能传感器信号重构若干关键技术研究", 《万方学位论文数据库》, 25 December 2012 (2012-12-25) *
魏国 等: "基于扩展卡尔曼滤波的超声波杜越时间估计", 《吉林大学学报(工学版)》, vol. 41, no. 3, 31 May 2011 (2011-05-31) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110764696A (en) * 2019-09-26 2020-02-07 开放智能机器(上海)有限公司 Vector information storage and updating method and device, electronic equipment and storage medium
CN112070229A (en) * 2020-10-19 2020-12-11 中国农业科学院农业信息研究所 Agricultural meteorological monitoring data processing method and system based on genetic algorithm

Similar Documents

Publication Publication Date Title
Cirak et al. Integrated modeling, finite-element analysis, and engineering design for thin-shell structures using subdivision
CN107784180B (en) Design method of time-varying convex quadratic programming solver
CN108959686A (en) A kind of correction method for finite element model based on sensitivity analysis
Meerbergen The solution of parametrized symmetric linear systems
CN109961147B (en) Automatic model compression method based on Q-Learning algorithm
CN109977460A (en) A kind of multi-objective optimization design of power method based on vehicle body section parameter
CN109298351A (en) A kind of new energy on-vehicle battery remaining life estimation method based on model learning
Ştefănescu et al. Efficient approximation of Sparse Jacobians for time‐implicit reduced order models
Gao et al. An exact block-based reanalysis method for local modifications
CN107958124A (en) A kind of mixed-scale coupling process based on distribution mode of contact stresses optimization
CN103176951A (en) Method for balancing accuracy and calculated amount of multifunctional sensor signal reconstruction
CN101608994B (en) Dense medium suspension liquid coal slurry content determination method by using principal component analysis and support vector machine
Guo et al. Uniqueness of iterative positive solutions for the singular infinite-point p-Laplacian fractional differential system via sequential technique
Ponçot et al. Variational assimilation for xenon dynamical forecasts in neutronic using advanced background error covariance matrix modelling
CN103065015B (en) A kind of bearing structure low-carbon (LC) material-saving method for designing based on internal force path geometry form
CN109034497A (en) Prediction technique, system, medium and the equipment of polycrystalline reduction process energy consumption value
Parvin et al. A new framework to construct third‐order weighted essentially nonoscillatory weights using weight limiter functions
CN112528869A (en) Phase-free data imaging method based on complex neural network
CN117238410A (en) Material parameter unknown sheet deflection estimation method based on physical information network
Zhang et al. A moving mesh finite difference method for non-monotone solutions of non-equilibrium equations in porous media
Paronesso et al. Recursive evaluation of interaction forces and property matrices from unit‐impulse response functions of unbounded medium based on balancing approximation
Nasika et al. Discrete empirical interpolation for hyper‐reduction of hydro‐mechanical problems in groundwater flow through soil
Wang et al. A uniform estimate for the MMOC for two‐dimensional advection‐diffusion equations
Huynh High-order methods by correction procedures using reconstructions
Moallem et al. Compensation of capacitive differential pressure sensor using multi layer perceptron neural network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130626