CN112949212A - Pressure sensor temperature compensation method and computer readable storage medium - Google Patents

Pressure sensor temperature compensation method and computer readable storage medium Download PDF

Info

Publication number
CN112949212A
CN112949212A CN202110386532.3A CN202110386532A CN112949212A CN 112949212 A CN112949212 A CN 112949212A CN 202110386532 A CN202110386532 A CN 202110386532A CN 112949212 A CN112949212 A CN 112949212A
Authority
CN
China
Prior art keywords
pressure
pressure sensor
temperature compensation
population
value
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
Application number
CN202110386532.3A
Other languages
Chinese (zh)
Other versions
CN112949212B (en
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.)
Hefei University of Technology
State Grid Anhui Electric Power Co Ltd
Original Assignee
Hefei University of Technology
State Grid Anhui Electric Power Co Ltd
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 Hefei University of Technology, State Grid Anhui Electric Power Co Ltd filed Critical Hefei University of Technology
Priority to CN202110386532.3A priority Critical patent/CN112949212B/en
Publication of CN112949212A publication Critical patent/CN112949212A/en
Application granted granted Critical
Publication of CN112949212B publication Critical patent/CN112949212B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • G06F30/27Design optimisation, verification or simulation using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01LMEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE
    • G01L19/00Details of, or accessories for, apparatus for measuring steady or quasi-steady pressure of a fluent medium insofar as such details or accessories are not special to particular types of pressure gauges
    • G01L19/04Means for compensating for effects of changes of temperature, i.e. other than electric compensation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • G06N20/10Machine learning using kernel methods, e.g. support vector machines [SVM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/004Artificial life, i.e. computing arrangements simulating life
    • G06N3/006Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/08Thermal analysis or thermal optimisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/14Force analysis or force optimisation, e.g. static or dynamic forces

Abstract

The invention discloses a temperature compensation method for a pressure sensor, which comprises the following steps: (1) acquiring a corresponding relation between pressure deviation and temperature change under different output voltages, and taking the corresponding relation as a training sample; (2) obtaining a DCQPSO-MKRVM model by using the training sample; (3) inputting the training sample into a DCQPSO-MKRVM model to obtain a pressure deviation estimation model of a corresponding pressure sensor; (4) and calculating the estimated pressure deviation value by combining the theoretical pressure value under the corresponding voltage to complete the temperature compensation of the pressure sensor and obtain the real pressure-voltage response curve of the pressure sensor under different temperatures. The invention also discloses a computer readable storage medium including the pressure sensor temperature compensation method. The invention can effectively improve the estimation precision, improve the temperature compensation precision after estimation, simultaneously reserve the output characteristic of the pressure sensor and ensure the stable and reliable work of the pressure sensor.

Description

Pressure sensor temperature compensation method and computer readable storage medium
Technical Field
The invention belongs to the field of temperature compensation of pressure sensors, and particularly relates to a temperature compensation method of a pressure sensor and a computer readable storage medium.
Background
In weather and environmental science, pressure plays an important role in activities such as weather forecasting, climate analysis, environmental evolution analysis, aerospace applications, and the like. Due to the characteristics of low cost, good precision, high sensitivity, good linearity, small volume, mature manufacturing technology and the like, silicon piezoresistive pressure sensors have become the most common micro-electromechanical system devices and widely used flexible pressure sensors in the fields of medical treatment, automobile industry and the like. However, due to the nature of the materials, many piezoresistive pressure sensors limit the temperature range in which they can be used due to their excessively high temperature sensitivity. Therefore, temperature compensation must be performed, and in current research, there are several methods for implementing temperature compensation, including hardware compensation, software compensation, and software and hardware hybrid compensation.
In contrast, although the hardware compensation method is easier to implement and takes less time, it has the defects of low compensation precision and no online compensation, and has higher cost and larger equipment volume.
As software compensation methods, there are two basic methods: analytical methods and artificial intelligence methods. Analytical methods including look-up tables, interpolation and surface fitting are relatively easy to implement in sensor circuits, but these methods may face the following dilemma: along with the increase of the fitting order, the number of interpolation nodes is increased sharply; as the measurement accuracy increases, the ill-posed problem of solving the normal equation increases.
The artificial intelligence method comprises an artificial neural network, a support vector machine and a correlation vector machine.
Empirical risk minimization principles and gradient descent iterations are the basis of artificial neural networks, which may lead to defects in the modeling process such as dimensionality, local minima, under-fitting, or over-fitting.
The relevance vector machine is a Bayesian rule-based machine learning algorithm, and has a sparser framework and fewer kernel function constraints, so that the estimation time is shorter. Meanwhile, the performance of the correlation vector machine is greatly influenced by the kernel function, and the generalization performance of the single-core correlation vector machine is easy to fall into a suboptimal state, so that estimation errors are caused, and the estimation precision is reduced.
Disclosure of Invention
The technical problem to be solved by the present invention is to overcome the deficiencies of the prior art, and to provide a temperature compensation method for a pressure sensor and a computer-readable storage medium, which have a good temperature compensation effect and can maintain the output characteristics of the pressure sensor while compensating for temperature differences.
The technical scheme adopted by the invention for solving the technical problem is that the temperature compensation method of the pressure sensor comprises the following steps:
s1: obtaining the corresponding relation between pressure deviation and temperature change under different output voltages through a temperature-pressure stress test, and taking the corresponding relation as a training sample;
s2: optimizing a multi-core related vector machine based on a dynamic chaotic quantum particle swarm algorithm by using a training sample to obtain a DCQPSO-MKRVM model; the DCQPSO-MKRVM is an abbreviation of a dynamic chaotic quantum particle swarm optimization multi-core related vector machine;
s3: inputting the training sample into a DCQPSO-MKRVM model to obtain a pressure deviation estimation model of a corresponding pressure sensor;
s4: and calculating the estimated pressure deviation value by combining the theoretical pressure value under the corresponding voltage to complete the temperature compensation of the pressure sensor and obtain the real pressure-voltage response curve of the pressure sensor under different temperatures.
Further, S1 includes:
by Δ P ═ Pmeasured-PratedObtaining a pressure deviation value, wherein PmeasuredRepresenting input pressure values, P, measured at different temperatures and at different output voltagesratedAnd represents the input pressure value corresponding to the output voltage under the rated condition.
Further, S2 includes the steps of:
s2-1: initializing a dynamic chaotic quantum particle swarm algorithm by using a random particle swarm, and mapping the weight of a multi-core function in a multi-core related vector machine to a particle position to participate in the optimization process;
s2-2: generating a new population array by the fitness value and the dynamic parameter value Lambda of each particle
Figure BDA0003015253170000031
Dividing the population into two populations of a traditional quantum particle swarm and a dynamic chaotic particle swarm;
s2-3: calculating coefficient in the iterative process of t being more than 0.5I and less than 0.9I
Figure BDA0003015253170000032
Judging whether the algorithm is premature convergence, wherein I is a set region iteration value, t is the current iteration frequency, if the algorithm is premature convergence, the local optimal dilemma is escaped by using additional I-time chaotic search, and after a better fitness value is found, the global optimal position is replaced, and corresponding positions are respectively set;
s2-4: continuously calculating a next population position matrix, performing traditional quantum particle swarm search on the first M-Lambda particles, searching all the remaining particles in a chaotic space, and updating the positions of the particles;
s2.5, repeatedly executing the steps S2-1-S2-4 until an iteration stop condition is met, and taking the finally obtained global optimal position of the population as the weight of the multi-core function in the multi-core correlation vector machine.
Further, S2-1 includes the steps of:
s2-1-1: the multi-core function expression in the multi-core correlation vector machine is
Figure BDA0003015253170000033
Wherein, KG(x,xi) Is a kernel of Gaussian function, Kp(x,xi) Is a polynomial nucleus, vjAnd vrWeight coefficients of a Gaussian function kernel and a polynomial kernel, respectively, and are satisfied in the method
Figure BDA0003015253170000041
S2-1-2: by
Figure BDA0003015253170000042
Determining a chaotic population solution space variable Y', wherein Y belongs to [0,1 ]],a=0.5,Y'=(Xmax-Xmin)·Y+XminWherein Y' is E [ X ]min,Xmax],XminAnd XmaxRespectively, represent the boundaries of the population variable solution space in the method.
Further, S2-2 includes the steps of:
s2-2-1: by
Figure BDA0003015253170000043
Obtaining the fitness value of each particle in the population, wherein M is the size of the population, Delta Pi is the actual pressure deviation value of the pressure sensor at different temperatures,
Figure BDA0003015253170000044
is the pressure deviation value estimated by the model under different temperatures of the pressure sensor.
S2-2-2: by
Figure BDA0003015253170000045
And updating dynamic parameters in the algorithm, wherein M is the population size and j is the particle dimension.
S2-2-3: generating new population arrays
Figure BDA0003015253170000046
The first M-Lambda populations are populations in a traditional quantum particle swarm optimization algorithm, and the rest particle swarms are chaotic populations in the method.
And, the chaotic population is defined as follows:
Figure BDA0003015253170000051
wherein xi is the weight of chaos factor and m is the weight of chaos factorbestjIs a global optimum position.
Further, step S2.3 comprises the steps of:
s2-3-1, prepared from
Figure BDA0003015253170000052
Calculating coefficients
Figure BDA0003015253170000053
Wherein f isiAll fitness values for an already existing population, fmeanIs the average of fitness values of the presence population,
Figure BDA0003015253170000054
s2-3-2. mixing
Figure BDA0003015253170000055
Comparing with the expected coefficient delta set in the method to judge whether the premature convergence occurs or not, if so, judging whether the premature convergence occurs or not
Figure BDA0003015253170000056
And t is more than 0.5I and less than 0.9I, the algorithm is judged to be premature and converged at the moment;
s2-3-3, if it is judged to be premature convergence, the formula
Figure BDA0003015253170000057
Jumping out of local optimum, where xi (t) ═ 0.1 Xxi (t-1), and t is in [1, I ∈]When a better fitness value is obtained
Figure BDA0003015253170000058
And then updating the global optimal position.
Further, S4 includes:
by
Figure BDA0003015253170000059
Obtaining a real pressure-voltage response curve after temperature compensation, wherein PrealRepresenting the true pressure value, P, after temperature compensationratedIndicating the pressure value corresponding to the output voltage under nominal conditions,
Figure BDA00030152531700000510
indicating the estimated pressure deviation value.
A computer readable storage medium having stored thereon program instructions which, when executed by a processor, implement the pressure sensor temperature compensation method.
The temperature compensation method is software compensation, realizes on-line compensation, has low cost, obtains the relation between the pressure deviation value and the temperature change value under different output voltages through the measured pressure-voltage response under different temperatures, adopts a dynamic chaotic quantum particle swarm algorithm to optimize the multi-core correlation vector machine as a training sample, effectively improves the estimation precision, improves the temperature compensation precision after estimation, simultaneously reserves the output characteristic of the pressure sensor, and ensures the stable and reliable work of the pressure sensor.
Drawings
FIG. 1 is a schematic flow diagram of an embodiment of the present invention;
FIG. 2 is a schematic illustration of a pressure deviation calculation according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an equivalent model of a pressure sensor in an embodiment of the invention;
FIG. 4 is a schematic structural diagram of a stress test in an embodiment of the present invention;
FIG. 5 is a graph comparing the estimation error of an embodiment of the present invention with different methods.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
The invention will be described in further detail below with reference to the accompanying figures 1-5 and examples.
Embodiments of a method for temperature compensation of a pressure sensor
Referring to fig. 1, the present embodiment includes the steps of:
the method comprises the following steps: the input pressure values at different temperatures and different output voltages are collected through a thermostat, a barometer and an oscilloscope. Referring to fig. 2, when the output voltage is constant, the input pressure value varies with the temperature, where Δ P is equal to Pmeasured-PratedObtaining a pressure deviation value of the method, and then obtaining a training sample by normalizing the pressure deviation value delta P;
step two: constructing a multi-core related vector machine, wherein the kernel function is as follows:
Figure BDA0003015253170000071
in this embodiment, J ═ 3 and R ═ 4 are selected, that is, a kernel function of the multi-core correlation vector machine in the embodiment of the present invention is formed by three gaussian kernels and four polynomial kernels;
step three: training and optimizing weight coefficient { v ] of kernel function of multi-core correlation vector machine by adopting dynamic chaotic quantum particle swarm algorithm through training samplesj,vrIn which are overlappedThe generation optimizing steps are as follows:
1) initializing a dynamic chaotic quantum particle swarm algorithm by using a random particle swarm, and mapping the weight of a multi-core function in a multi-core related vector machine to a particle position to participate in the optimization process;
2) generating a new population array by the fitness value and the dynamic parameter value Lambda of each particle
Figure BDA0003015253170000072
Dividing the population into two populations of a traditional quantum particle swarm and a dynamic chaotic particle swarm;
the fitness function formula is as follows:
Figure BDA0003015253170000073
wherein M is the population size, Δ PiIs the actual pressure deviation value of the pressure sensor at different temperatures,
Figure BDA0003015253170000074
the estimated pressure deviation values of the models under different temperatures of the pressure sensor are obtained;
the dynamic parameter value lambda is selected as follows:
Figure BDA0003015253170000075
wherein M is the population size and j is the particle dimension;
the group array is composed as follows:
Figure BDA0003015253170000081
the first M-Lambda populations are populations in a traditional quantum particle swarm optimization algorithm, and the rest particle swarms are chaotic populations in the method;
the chaotic population definition formula is as follows:
Figure BDA0003015253170000082
Y'=(Xmax-Xmin)·Y+Xmin
Figure BDA0003015253170000083
wherein Y is ∈ [0,1 ]],a=0.5,Y'∈[Xmin,Xmax],XminAnd XmaxRespectively representing the boundary of a population variable solution space in the method, xi is the weight of a chaotic factor, and m is the weight of a chaotic factorbestjIs a global optimal position;
3) calculating coefficient in the iterative process of t being more than 0.5I and less than 0.9I
Figure BDA0003015253170000084
Judging whether the algorithm is premature convergence, wherein I is a set region iteration value, t is the current iteration frequency, if the algorithm is premature convergence, the local optimal dilemma is escaped by using additional I-time chaotic search, and after a better fitness value is found, the global optimal position is replaced, and corresponding positions are respectively set;
coefficient of performance
Figure BDA0003015253170000085
The calculation formula is as follows:
Figure BDA0003015253170000091
wherein f isiAll fitness values for an already existing population, fmeanIs the average of fitness values of the presence population,
Figure BDA0003015253170000092
if it is
Figure BDA0003015253170000093
And t is more than 0.5I and less than 0.9I, thenBreaking into premature convergence, the jump-out local optimum formula is as follows:
Figure BDA0003015253170000094
where xi (t) is 0.1 Xxi (t-1), and t is in [1, I ]]When a better fitness value is obtained
Figure BDA0003015253170000095
And then updating the global optimal position.
4) Continuously calculating a next population position matrix, performing traditional quantum particle swarm search on the first M-Lambda particles, searching all the remaining particles in a chaotic space, and updating the positions of the particles;
5) and (4) repeatedly executing the steps 1) to 4) until an iteration stop condition is met, and taking the finally obtained population global optimal position as the weight of the multi-core function in the multi-core correlation vector machine.
Step four: obtaining a multi-core correlation vector machine model determined by pressure deviation values when the temperature changes under different output voltages, and substituting a training sample into the optimized multi-core correlation vector machine model for training to obtain an estimated pressure deviation value;
step five: substituting the estimated pressure deviation value into the following formula to obtain a final temperature compensation result,
Figure BDA0003015253170000096
wherein, PrealRepresenting the true pressure value, P, after temperature compensationratedIndicating the pressure value corresponding to the output voltage under nominal conditions,
Figure BDA0003015253170000097
indicating the estimated pressure deviation value.
The temperature compensation method for the pressure sensor provided by the embodiment of the invention comprises the following steps:
(1) the data processing module is used for respectively acquiring pressure deviation values under different output voltages at different temperatures, and normalizing the deviation values to form a training sample;
(2) the training module is used for training and optimizing weight coefficients of kernel functions of the multi-core related vector machine by adopting a dynamic chaotic quantum particle swarm optimization method to obtain an optimized multi-core related vector machine model so as to carry out pressure deviation estimation through the optimized multi-core related vector machine;
(3) and the temperature compensation module is used for calculating by adopting the estimated pressure deviation value and a pressure value corresponding to the output voltage under the rated condition to obtain a real pressure input value so as to complete temperature compensation.
Analysis of Experimental results
The piezoresistive pressure sensor adopted in the embodiment of the invention is an MPX2000 series pressure sensor, and the equivalent model of the piezoresistive pressure sensor is shown in the attached figure 3. In the experiment, the temperature was stepped from-50 ℃ to 150 ℃ every 2 ℃ by a plurality of sets of pressure sensors, the external pressure was controlled at each temperature, the fixed values of 10mV,15mV,20mV,25mV,30mV,35mV, and 40mV of input voltage were kept constant, and the relationship between the pressure deviation and the temperature change in each output voltage was obtained, 10 sets of data were taken at each output voltage, 5 sets were taken as training data, 5 sets were taken as control data, and the experimental structure was as shown in fig. 4.
After normalization processing is carried out on the obtained experimental data, a multi-core correlation vector machine is optimized by adopting a dynamic chaotic quantum particle swarm algorithm as a training sample, and the optimized multi-core correlation vector machine is substituted for training to obtain pressure deviation values estimated under different output voltages, errors of three different estimation methods under the condition that the output voltage is 10mV are shown in a figure 4, and the precision of estimation results under all the output voltages is shown in a table 1, wherein MAE represents an average absolute error, and MRA represents average correlation accuracy.
TABLE 1 pressure deviation estimation error at all output voltages
Output voltage (mV) MAE MRA
5 0.0043 98.2%
10 0.0018 99.5%
15 0.0046 98.1%
20 0.0079 97.3%
25 0.0018 99.4%
30 0.0035 98.6%
35 0.0104 96.5%
40 0.0102 96.7%
As can be seen from fig. 4 and table 1, the overall comparison shows that the estimation error of MKRVM is smaller, and the estimation accuracy of the MKRVM is as high as 99.5%, which indicates that the piezoresistive pressure sensor temperature compensation method based on the dynamic chaotic quantum particle swarm optimization multi-core correlation vector machine provided by the invention obtains a better temperature compensation effect, and provides a new idea and method for the pressure sensor temperature compensation method.
It should be noted that, according to the implementation requirement, each step/component described in the present application can be divided into more steps/components, and two or more steps/components or partial operations of the steps/components can be combined into new steps/components to achieve the purpose of the present invention.
Embodiments of a computer-readable storage medium having a method for pressure sensor temperature compensation
The computer-readable storage medium of the present embodiment has stored thereon program instructions that, when executed by a processor, implement the pressure sensor temperature compensation method of the above-described embodiment.
The pressure sensor temperature compensation method of the present invention can be implemented in hardware, firmware, or as software or computer code storable in a recording medium such as a CD, ROM, RAM, floppy disk, hard disk, or magneto-optical disk, or as computer code originally stored in a remote recording medium or a non-transitory machine-readable medium downloaded through a network and to be stored in a local recording medium, so that the method described herein can be stored in such software processing on a recording medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware such as ASIC or FPGA. It will be appreciated that the computer, processor, microprocessor controller or programmable hardware includes memory components (e.g., RAM, ROM, flash memory, etc.) that can store or receive software or computer code that, when accessed and executed by the computer, processor or hardware, implements the processing methods described herein. Further, when a general-purpose computer accesses code for implementing the processes shown herein, execution of the code transforms the general-purpose computer into a special-purpose computer for performing the processes shown herein.
It will be understood by those skilled in the art that the foregoing is merely a preferred embodiment of the present invention, and is not intended to limit the invention, and that any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included within the scope of the present invention.

Claims (8)

1. A method of temperature compensation for a pressure sensor, comprising the steps of:
s1: obtaining the corresponding relation between pressure deviation and temperature change under different output voltages through a temperature-pressure stress test, and taking the corresponding relation as a training sample;
s2: optimizing a multi-core related vector machine based on a dynamic chaotic quantum particle swarm algorithm by using a training sample to obtain a DCQPSO-MKRVM model;
s3: inputting the training sample into a DCQPSO-MKRVM model to obtain a pressure deviation estimation model of a corresponding pressure sensor;
s4: and calculating the estimated pressure deviation value by combining the theoretical pressure value under the corresponding voltage to complete the temperature compensation of the pressure sensor and obtain the real pressure-voltage response curve of the pressure sensor under different temperatures.
2. The pressure sensor temperature compensation method of claim 1, wherein S1 includes:
by Δ P ═ Pmeasured-PratedObtaining a pressure deviation value, wherein PmeasuredRepresenting input pressure values, P, measured at different temperatures and at different output voltagesratedAnd represents the input pressure value corresponding to the output voltage under the rated condition.
3. The method for temperature compensation of piezoresistive pressure sensors based on dynamic chaotic quanta according to claim 1, wherein S2 comprises the following steps:
s2-1: initializing a dynamic chaotic quantum particle swarm algorithm by using a random particle swarm, and mapping the weight of a multi-core function in a multi-core related vector machine to a particle position to participate in the optimization process;
s2-2: generating a new population array by the fitness value and the dynamic parameter value Lambda of each particle
Figure FDA0003015253160000011
Dividing the population into two populations of a traditional quantum particle swarm and a dynamic chaotic particle swarm;
s2-3: calculating coefficient in the iterative process of t being more than 0.5I and less than 0.9I
Figure FDA0003015253160000021
Judging whether the algorithm is premature convergence, wherein I is a set region iteration value, t is the current iteration frequency, if the algorithm is premature convergence, the local optimal dilemma is escaped by using additional I-time chaotic search, and after a better fitness value is found, the global optimal position is replaced, and corresponding positions are respectively set;
s2-4: continuously calculating a next population position matrix, performing traditional quantum particle swarm search on the first M-Lambda particles, searching all the remaining particles in a chaotic space, and updating the positions of the particles;
s2.5, repeatedly executing the steps S2-1-S2-4 until an iteration stop condition is met, and taking the finally obtained global optimal position of the population as the weight of the multi-core function in the multi-core correlation vector machine.
4. The pressure sensor temperature compensation method of claim 3, wherein S2-1 includes the steps of:
s2-1-1: the multi-core function expression in the multi-core correlation vector machine is
Figure FDA0003015253160000022
Wherein, KG(x,xi) Is a kernel of Gaussian function, Kp(x,xi) Is a polynomial nucleus, vjAnd vrWeight coefficients of a Gaussian function kernel and a polynomial kernel, respectively, and are satisfied in the method
Figure FDA0003015253160000023
S2-1-2: by
Figure FDA0003015253160000024
Determining a chaotic population solution space variable Y', wherein Y belongs to [0,1 ]],a=0.5,Y'=(Xmax-Xmin)·Y+XminWherein Y' is E [ X ]min,Xmax],XminAnd XmaxRespectively, represent the boundaries of the population variable solution space in the method.
5. The pressure sensor temperature compensation method of claim 3, wherein S2-2 includes the steps of:
s2-2-1: by
Figure FDA0003015253160000031
Obtaining the fitness value of each particle in the population, wherein M is the size of the population and delta PiIs the actual pressure deviation value of the pressure sensor at different temperatures,
Figure FDA0003015253160000032
is the pressure deviation value estimated by the model under different temperatures of the pressure sensor.
S2-2-2: by
Figure FDA0003015253160000033
And updating dynamic parameters in the algorithm, wherein M is the population size and j is the particle dimension.
S2-2-3: generating new population arrays
Figure FDA0003015253160000034
The first M-Lambda populations are populations in a traditional quantum particle swarm optimization algorithm, and the rest particle swarms are chaotic populations in the method.
And, the chaotic population is defined as follows:
Figure FDA0003015253160000035
wherein xi is the weight of chaos factor and m is the weight of chaos factorbestjIs a global optimum position.
6. A method for temperature compensation of a pressure sensor according to claim 3, characterised in that step S2.3 comprises the steps of:
s2-3-1, prepared from
Figure FDA0003015253160000041
Calculating coefficients
Figure FDA0003015253160000042
Wherein f isiAll fitness values for an already existing population, fmeanIs the average of fitness values of the presence population,
Figure FDA0003015253160000043
s2-3-2. mixing
Figure FDA0003015253160000044
Comparing with the expected coefficient delta set in the method to judge whether the premature convergence occurs or not, if so, judging whether the premature convergence occurs or not
Figure FDA0003015253160000045
And t is more than 0.5I and less than 0.9I, the algorithm is judged to be premature and converged at the moment;
s2-3-3, if it is judged to be premature convergence, the formula
Figure FDA0003015253160000046
Jumping out of local optimum, where xi (t) ═ 0.1 Xxi (t-1), and t is in [1, I ∈]When a better fitness value is obtained
Figure FDA0003015253160000047
Then, the global is updatedThe optimal position.
7. The pressure sensor temperature compensation method of claim 1, wherein S4 includes:
by
Figure FDA0003015253160000048
Obtaining a real pressure-voltage response curve after temperature compensation, wherein PrealRepresenting the true pressure value, P, after temperature compensationratedIndicating the pressure value corresponding to the output voltage under nominal conditions,
Figure FDA0003015253160000049
indicating the estimated pressure deviation value.
8. A computer readable storage medium having stored thereon program instructions which, when executed by a processor, carry out the pressure sensor temperature compensation method of any of claims 1 to 7.
CN202110386532.3A 2021-04-12 2021-04-12 Pressure sensor temperature compensation method and computer readable storage medium Active CN112949212B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110386532.3A CN112949212B (en) 2021-04-12 2021-04-12 Pressure sensor temperature compensation method and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110386532.3A CN112949212B (en) 2021-04-12 2021-04-12 Pressure sensor temperature compensation method and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112949212A true CN112949212A (en) 2021-06-11
CN112949212B CN112949212B (en) 2022-09-27

Family

ID=76231661

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110386532.3A Active CN112949212B (en) 2021-04-12 2021-04-12 Pressure sensor temperature compensation method and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112949212B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114791334A (en) * 2022-04-20 2022-07-26 浙江大学 Calibration simplification method for pressure sensor
CN116296047A (en) * 2023-04-03 2023-06-23 淮阴工学院 Temperature compensation improvement method of monocrystalline silicon pressure transmitter

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060052968A1 (en) * 2004-08-10 2006-03-09 Ranco Incorporated Of Delaware Pressure and temperature compensation algorithm for use with a piezo-resistive strain gauge type pressure sensor
US20100288468A1 (en) * 2009-05-12 2010-11-18 Georgia Tech Research Corporation Motion Detecting Device, Method of Providing the Same, and Method of Detecting Movement
CN105258839A (en) * 2015-10-30 2016-01-20 南京信息工程大学 Array type air pressure measurement compensation device and method based on quantum particle swarm wavelet neural network
CN105469138A (en) * 2015-11-10 2016-04-06 南京航空航天大学 Control system performer fault diagnosis method based on particle swarms and support vector machine
CN110779597A (en) * 2019-11-13 2020-02-11 国网甘肃省电力公司检修公司 High-precision measuring device and method for liquid level of transformer oil tank based on pressure sensor
CN111380649A (en) * 2020-03-30 2020-07-07 金陵科技学院 Vehicle multi-dimensional force sensor decoupling method based on PSO (particle swarm optimization) optimization LSSVM (least squares support vector machine)
CN112085146A (en) * 2020-09-10 2020-12-15 武汉大学 Service life prediction method of MKRVM (multi-level read-only memory) to RF-MEMS (radio frequency-micro-electromechanical systems) switch based on DE-QPSO (Degrees-Quadrature-time-delay Quadrature-time-of-use mechanism)

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060052968A1 (en) * 2004-08-10 2006-03-09 Ranco Incorporated Of Delaware Pressure and temperature compensation algorithm for use with a piezo-resistive strain gauge type pressure sensor
US20100288468A1 (en) * 2009-05-12 2010-11-18 Georgia Tech Research Corporation Motion Detecting Device, Method of Providing the Same, and Method of Detecting Movement
CN105258839A (en) * 2015-10-30 2016-01-20 南京信息工程大学 Array type air pressure measurement compensation device and method based on quantum particle swarm wavelet neural network
CN105469138A (en) * 2015-11-10 2016-04-06 南京航空航天大学 Control system performer fault diagnosis method based on particle swarms and support vector machine
CN110779597A (en) * 2019-11-13 2020-02-11 国网甘肃省电力公司检修公司 High-precision measuring device and method for liquid level of transformer oil tank based on pressure sensor
CN111380649A (en) * 2020-03-30 2020-07-07 金陵科技学院 Vehicle multi-dimensional force sensor decoupling method based on PSO (particle swarm optimization) optimization LSSVM (least squares support vector machine)
CN112085146A (en) * 2020-09-10 2020-12-15 武汉大学 Service life prediction method of MKRVM (multi-level read-only memory) to RF-MEMS (radio frequency-micro-electromechanical systems) switch based on DE-QPSO (Degrees-Quadrature-time-delay Quadrature-time-of-use mechanism)

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
CHUN-SIK CHAE .ETAL: "A Study of Compensation for Temporal and Spatial Physical Temperature Variation in Total Power Radiometers", 《IEEE SENSORS JOURNAL》 *
李冀 等: "基于QPSO稀疏化LSSVM的压力传感器温度补偿研究", 《传感技术学报》 *
杨遂军 等: "基于最小二乘支持向量机的硅压阻式传感器温度补偿", 《传感技术学报》 *
郁鹏 等: "基于优化相关向量机的化工装备故障预测方法", 《现代化工》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114791334A (en) * 2022-04-20 2022-07-26 浙江大学 Calibration simplification method for pressure sensor
CN114791334B (en) * 2022-04-20 2023-09-05 浙江大学 Calibration simplifying method of pressure sensor
CN116296047A (en) * 2023-04-03 2023-06-23 淮阴工学院 Temperature compensation improvement method of monocrystalline silicon pressure transmitter
CN116296047B (en) * 2023-04-03 2023-09-29 淮阴工学院 Temperature compensation improvement method of monocrystalline silicon pressure transmitter

Also Published As

Publication number Publication date
CN112949212B (en) 2022-09-27

Similar Documents

Publication Publication Date Title
CN112949212B (en) Pressure sensor temperature compensation method and computer readable storage medium
CN110659722B (en) Electric vehicle lithium ion battery health state estimation method based on AdaBoost-CBP neural network
CN112101530B (en) Neural network training method, device, equipment and storage medium
CN110543929B (en) Wind speed interval prediction method and system based on Lorenz system
CN110888059B (en) Charge state estimation algorithm based on improved random forest combined volume Kalman
CN110874502B (en) Aerospace product reliability assessment method based on multi-stage test data reduction
CN111353631A (en) Thermal power plant condenser vacuum degree prediction method based on multilayer LSTM
CN111414977A (en) Weighted integration temperature sensitive point combination selection method for machine tool spindle thermal error modeling
Huang et al. Advanced mean-field theory of the restricted Boltzmann machine
CN111638034B (en) Strain balance temperature gradient error compensation method and system based on deep learning
CN113505534B (en) Load prediction method considering demand response
CN112016253A (en) High-fidelity chaotic polynomial correction method suitable for CFD uncertainty quantification
CN112414668B (en) Wind tunnel test data static bomb correction method, device, equipment and medium
CN112733435A (en) Whole vehicle size matching deviation prediction method based on multi-model fusion
CN114964313A (en) RVM-based fiber optic gyroscope temperature compensation method
CN112580855A (en) Cable group steady-state temperature rise prediction method based on self-adaptive variation PSO-BP neural network
CN109599866B (en) Prediction-assisted power system state estimation method
CN112016242A (en) Distributed parameter thermal process temperature prediction method based on data driving
CN113804833B (en) Universal electronic nose drift calibration method based on convex set projection and extreme learning machine
CN114155354B (en) Method and device for reconstructing capacitance tomography based on graph convolution network
CN113688465B (en) Aircraft structural strength digital twin method based on combination of load and state
CN115659750A (en) Physical structure system numerical modeling parameter identification method based on SMA-aSCE
CN115327385A (en) Power battery SOC value estimation method and system
CN114964571A (en) Pressure sensor temperature compensation method based on improved wolf algorithm
CN112001035B (en) Wing structure deformation reconstruction method based on feature engineering and ridge regression

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant