CN101398314A - Differential pressure transmitter data fusion device and method based on DSP - Google Patents

Differential pressure transmitter data fusion device and method based on DSP Download PDF

Info

Publication number
CN101398314A
CN101398314A CNA2008102019736A CN200810201973A CN101398314A CN 101398314 A CN101398314 A CN 101398314A CN A2008102019736 A CNA2008102019736 A CN A2008102019736A CN 200810201973 A CN200810201973 A CN 200810201973A CN 101398314 A CN101398314 A CN 101398314A
Authority
CN
China
Prior art keywords
differential pressure
dsp
pressure transmitter
parameter
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
CNA2008102019736A
Other languages
Chinese (zh)
Other versions
CN101398314B (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.)
NANTONG TAILIPU ELECTRICAL CO., LTD.
Original Assignee
University of Shanghai for Science and Technology
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 University of Shanghai for Science and Technology filed Critical University of Shanghai for Science and Technology
Priority to CN2008102019736A priority Critical patent/CN101398314B/en
Publication of CN101398314A publication Critical patent/CN101398314A/en
Application granted granted Critical
Publication of CN101398314B publication Critical patent/CN101398314B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measuring Fluid Pressure (AREA)
  • Feedback Control In General (AREA)

Abstract

The invention provides a data melting device and a method used for measured quantity and output value of a differential pressure transmitter on the basis of DSP; the device comprises a micro-processor DSP, a E<2>PROM, a signal conditioning module, an AD converter and a power module; the device is characterized in that the output of the differential pressure transmitter is connected to the micro-processor DSP by the signal conditioning module and the AD converter; the micro-processor DSP is connected with the E<2>PROM; the output of the micro-processor DSP is connected with a serial port; the power module provides working power for all devices; the method adopts the device and completes the disposal of arithmetic by the DSP, improves the measurement precision and intelligentizes the differential pressure transmitter. The device has high integration, small volume and good real-time performance and disposal capability.

Description

Data fusion device and method based on the differential pressure transmitter of DSP
Technical field
The present invention relates to the data fusion device and the method for measured and output valve in the intelligent field, particularly differential pressure transmitter of differential pressure transmitter.
Background technology
Differential pressure transmitter is the isoparametric field instrument of flow, differential pressure that is used for detecting production run fluid in service.From low, the heavy big displacement mercury float-type differential pressure gauge of early stage precision, to big, the poor reliability of volume the 1950's, force balance type differential pressure transmitter that precision is low.To the seventies in 20th century, along with the development of technology, occurred the 3rd generation micrometric displacement electronic type transmitter.Passed through the development course of decades, differential pressure transmitter of new generation is simple in structure, volume is little, precision is high, good reliability.Since the nineties in 20th century, because electronic technology, the high speed development of computer technology and the appearance of micro-electronic mechanical skill (MicroElectro Mechanical Technology is called for short MEMT) make sensor do littler and littler, function is also more and more stronger.
Along with further developing of control system, that the development of control system more and more trends towards is complicated, high precision int and intellectuality, and the system requirements sensor can be formed high precision, powerful measurement and control network.Sensor is to realize measuring and the primary link of controlling, it is the sensing unit that non electrical quantity is become electric weight, making the intellectuality of low layer instrument, making its measuring accuracy higher is the problem that urgently will solve, the sensor of now also has very big gap aspect intelligent, if can be under the constant situation of sensitive element, promote the measuring accuracy of sensor, then can improve the accuracy of control system information needed to a great extent.By means of the fast development of microprocessor performance, make these imaginations to come true.
Differential pressure transmitter directly contacts with measured medium, moves in the rugged surroundings of being everlasting, and therefore the degree of accuracy to transmitter has very high requirement.And the main cause that influences the differential pressure transmitter measuring accuracy is: the output-input characteristics of sensor has nonlinear characteristic and drifts about along with the variation of time; Differential pressure signal is subjected to the variation of environment temperature, static pressure etc. easily and produces drift.The most traditional linearizing method of nonlinear transducer characteristic is the hardware compensating method, and this method is difficult to accomplish full compensation, and the drift of compensation hardware can influence the complete machine precision.
Modeling method to the sensor input-output characteristic has the earliest: least-squares line method, separate straight lines method etc., but can not satisfy high-precision requirement, and too complicated again with the high order curve match, can not satisfy request for utilization.Development along with neural network, methods such as BP neural network, Elman neural network all have been used in the modeling of sensor input-output characteristic, but they have shortcomings such as being absorbed in local minimum, generalization ability difference easily, along with improving constantly of accuracy requirement, need seek better modeling method.
Summary of the invention
The object of the present invention is to provide a kind of differential pressure transmitter data fusion device and method based on DSP, for differential pressure transmitter provides a kind of embeddable data fusion device based on support vector machine, carry out the processing and the realization of algorithm by DSP, improve the precision of measuring and make the differential pressure transmitter intellectuality.
For achieving the above object, the present invention adopts following technical proposals:
A kind of differential pressure transmitter data fusion device based on DSP comprises microprocessor DSP, E 2PROM, signal condition module, AD converter, power module is characterized in that the output of differential pressure transmitter is connected to microprocessor DSP through signal condition module and AD converter, and microprocessor DSP connects E 2PROM, the output of microprocessor DSP is connected to a serial ports, provides working power by power module for each device.
A kind of differential pressure transmitter data fusion method based on DSP adopts said apparatus to carry out data fusion, it is characterized in that the step of moving is as follows:
1) initialization of system: E 2The initialization of PROM and microprocessor DSP;
2) reception of signal: the data of differential pressure transmitter output are input among the microprocessor DSP through signal condition module, AD converter;
3) microprocessor DSP sets up and the setting initialization model according to support vector machine is theoretical, comprise the parameter of initialization model and the kernel function of initialization model, according to the data that received initialization model is trained, obtain the support vector machine and the parameter of training pattern, eliminate the interference of temperature, pressure etc., improved the precision of differential pressure value.The step of whole process is as follows:
1. set up and initialization model: comprise the parameter of initialization model, selected kernel function and parameter thereof;
2. given input value of normalization and desired destination value.Formula is as follows:
u i &OverBar; = 2 &times; u i - u min u max - u min - 1
In the formula:
Figure A200810201973D00052
Differential pressure pick-up output voltage after the-normalization; u i-differential pressure pick-up output voltage; u Min-differential pressure pick-up output voltage minimum value; u Max-differential pressure pick-up output voltage maximal value;
3. the initialization model of usefulness foundation and sample data are according to formula f * ( x ) = &Sigma; i = 1 k &beta; i k ( x i , x ) + b Calculate differential pressure value; In the formula: β i:-kernel function coefficient; B :-threshold value; K (x i, x) :-kernel function; X :-input quantity; x i:-support vector; f *(x) :-regression function; K :-support vector machine number;
4. obtain the deviation that calculates differential pressure value and expectation differential pressure value;
5. the parameter in Model parameter and the kernel function is learnt;
Return 2. double counting of step, till error meets the demands;
6. determine parameter, kernel function and the parameter thereof of training pattern;
4) microprocessor DSP receives new data, utilizes step 3) to set up training pattern and calculates differential pressure value;
5) the DSP microprocessor deposits the data of handling well in E 2Export among the PROM and through serial ports; And to step 4).
The present invention has following conspicuous outstanding substantive distinguishing features and remarkable advantage compared with prior art:
1. based on the modeling method of support vector machine theory, can under the situation of existing information, obtain optimum solution and need not experimental knowledge and the internal mechanism of understanding differential pressure transmitter in depth, only need to use the input and output data just can realize the data fusion of differential pressure transmitter; The fitting precision height, generalization ability is strong, does not have the study phenomenon.
2. based on the differential pressure transmitter support vector machine data fusion device of DSP, the software and hardware encapsulation is complete, the integrated level height, and volume is little, and real-time, processing power are good.
Description of drawings
Fig. 1 has provided the general study block diagram of neural network.
Fig. 2 has provided based on support vector machine gamma correction process.
Fig. 3 has provided the hardware block diagram of system.
Fig. 4 has provided the process flow diagram based on the data fusion method of support vector machine.
Fig. 5 has provided the workflow diagram of system.
Embodiment
A preferred embodiment of the present invention accompanying drawings is as follows:
Referring to Fig. 3, this differential pressure transmitter support vector machine data fusion device based on DSP comprises microprocessor DSP 6, E 2PROM 4, signal condition module 2, AD converter 3, power module 5, the output of described differential pressure transmitter 1 is connected to microprocessor DSP 6 through signal condition module 2 and AD converter 3, and microprocessor DSP6 connects E 2PROM 4 also outputs to a serial ports 7.Provide working power by power module 5 for each device.
Referring to Fig. 4 and Fig. 5, this adopts said apparatus to carry out data fusion based on the differential pressure transmitter support vector machine data fusion method of DSP, and the step of its operation is:
1) initialization of system: E 2The initialization of PROM 4 and microprocessor DSP 6;
2) reception of signal: the data of differential pressure transmitter 1 output are input among the microprocessor DSP 6 through signal condition module 2, AD converter 3;
3) microprocessor DSP 6 sets up and the setting initialization model according to support vector machine is theoretical, comprise the parameter of initialization model and the kernel function of initialization model, according to the data that received initialization model is trained, obtain the support vector machine and the parameter of training pattern, eliminate the interference of temperature, pressure etc., improved the precision of differential pressure value.The step of whole process is as follows:
1. set up and initialization model: comprise the parameter of initialization model, selected kernel function and parameter thereof;
2. given input value of normalization and desired destination value.Formula is as follows:
u i &OverBar; = 2 &times; u i - u min u max - u min - 1 &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; ( 1 )
In the formula:
Figure A200810201973D00072
Differential pressure pick-up output voltage after the normalization; u i-differential pressure pick-up output voltage; u Min-differential pressure pick-up output voltage minimum value; u Max-differential pressure pick-up output voltage maximal value;
3. calculate differential pressure value with initialization model of setting up and sample data according to formula (9);
4. obtain the deviation that calculates differential pressure value and expectation differential pressure value;
5. the parameter in Model parameter and the kernel function is learnt;
Return 2. double counting of step, till error meets the demands;
6. determine parameter, kernel function and the parameter thereof of training pattern;
4) microprocessor DSP 6 receives new data, utilizes step 3) to set up training pattern and calculates differential pressure value;
5) DSP microprocessor 6 deposits the data of handling well in E 2Among the PROM 4 and through serial ports 7 outputs; And to step 4).
Be described further below:
Data fusion method based on support vector machine
Support vector machine is a kind of learning model, and Fig. 1 has provided the model of neural network learning generally speaking.The basic thought of support vector machine is with the method for nuclear mapping nonlinear problem to be converted into the feature space of higher-dimension, and the structure linear discriminant function is realized the Nonlinear Discriminant Function in the former space in high-dimensional feature space, as shown in Figure 2.
The differential pressure transmitter input/output relation can be expressed as:
q=f(x),x∈(a,b)……(2)
Wherein x is the input quantity of differential pressure transmitter, and q is an output quantity, and a and b are the scope of input signal.The input sample is: D={ (x 1, q 1), (x 2, q 2) ..., (x k, q k).
At first, the x territory with a nonlinear transformation x → φ (x), is mapped to the feature space of a higher-dimension with the input space, in the feature space of this higher-dimension, carries out linear regression then, that is:
f *(x)=ω·φ(x)+b……(3)
The dot product of " " expression vector in the formula, ω is the support vector machine coefficient, b is a threshold value.According to the structural risk minimization criterion, under the situation of permissible error, optimization problem is converted into objective function:
min 1 2 | | &omega; | | 2 + c &Sigma; i = 1 k ( &xi; i + &xi; i * ) &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; ( 4 )
Wherein, c is a given constant, ξ i *, ξ iIt is slack variable.Adopt ε-insensitive loss function, minimized constraint condition is: f *(x i)-y i≤ ξ i *+ ε, y i-f *(x i)≤ξ i+ ε, ξ i *, ξ i〉=0.Introduce Lagrangian function:
Figure A200810201973D00081
In the formula, a i, a i *, r i, r i *〉=0, be all coefficient.Make ω in the formula (5), b, ξ i, ξ i *Partial derivative all equal zero, with local derviation as a result substitution formula (4) obtain the antithesis optimization problem.Its a i, a i *The maximization objective function is:
max &omega; ( a i , a i * ) = &Sigma; i = 1 k y i ( a i - a i * ) - 1 2 &Sigma; i , j = 1 k ( a i - a i * ) ( a j - a j * ) [ &phi; ( x i ) &phi; ( x j ) ] - &Sigma; i = 1 k ( a i + a i * ) &epsiv; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; ( 6 )
Its constraint condition is &Sigma; i = 1 k ( a i - a i * ) = 0 , a i, a i *φ (x among the ∈ [0, c], formula (5) i) φ (x j) be the dot-product operation of high-dimensional feature space, make kernel function K (x, x i)=φ (x i) φ (x j), therefore, objective function becomes
&omega; ( a i , a i * ) = &Sigma; i = 1 k y i ( a i - a i * ) - 1 2 &Sigma; i , j = 1 k ( a i - a i * ) ( a j - a j * ) K ( x , x i ) - &Sigma; i = 1 k ( a i + a i * ) &epsiv; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; ( 7 )
Separating formula earlier in constraint condition obtains
&omega; = &Sigma; i = 1 k ( a i - a i * ) &phi; ( x i ) &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; ( 8 )
Make β=a i-a i *, β ≠ 0 is corresponding to support vector machine.Regression function becomes
f * ( x ) = &Sigma; i = 1 k &beta; i k ( x i , x ) + b &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; &CenterDot; ( 9 )

Claims (3)

1. the differential pressure transmitter data fusion device based on DSP comprises microprocessor DSP (6), E 2PROM (4), signal condition module (2), AD converter (3), power module (5), it is characterized in that: the output of differential pressure transmitter (1) is connected to microprocessor DSP (6) through signal condition module (2) and AD converter (3), and microprocessor DSP (6) connects E 2PROM (4), microprocessor DSP (6) output is connected to a serial ports (7), provides working power by power module (5) for each device.
2. the differential pressure transmitter data fusion method based on DSP adopts claims 1 described differential pressure transmitter data fusion device based on DSP to carry out data fusion, it is characterized in that the step of moving is as follows:
1) initialization of system: E 2The initialization of PROM (4) and microprocessor DSP (6);
2) reception of signal: the data of differential pressure transmitter (1) output are input among the microprocessor DSP (6) through signal condition module (2), AD converter (3);
3) microprocessor DSP (6) sets initialization model, initialization model parameter according to theoretical foundation of support vector machine, carry out the training of model according to the data that received, obtain the support vector machine and the parameter of training pattern, eliminate temperature, pressure interference, improve the precision of measured value;
4) microprocessor DSP (6) receives new data, and the training pattern of utilizing step 3) to set up is calculated output valve;
5) microprocessor DSP (6) deposits the data of handling well in E 2Export among the PROM (4) and through serial ports (7); And to step 4).
3. according to the differential pressure transmitter data fusion method of claims 2 described DSP, it is characterized in that the concrete operations step of described step 3) is:
1. set up and initialization model: comprise the parameter of initialization model, selected kernel function and parameter thereof;
2. given input value of normalization and desired destination value, formula is as follows:
u i &OverBar; = 2 &times; u i - u min u max - u min - 1
In the formula:
Figure A200810201973C0002160344QIETU
: the differential pressure pick-up output voltage the after-normalization; u i-differential pressure pick-up output voltage; u Min-differential pressure pick-up output voltage minimum value; u Max-differential pressure pick-up output voltage maximal value;
3. the initialization model of usefulness foundation and sample data are according to formula f * ( x ) = &Sigma; i = 1 k &beta; i k ( x i , x ) + b Calculate differential pressure value;
In the formula:
β i:-kernel function coefficient; B :-threshold value; K (x i, x) :-kernel function; X :-input value; x i:-support vector; f *(x) :-regression function; K: a support vector machine number;
4. obtain the deviation that calculates differential pressure value and expectation differential pressure value;
5. the parameter in Model parameter and the kernel function is learnt;
Return 2. double counting of step, till error meets the demands;
6. determine parameter, kernel function and the parameter thereof of training pattern.
CN2008102019736A 2008-10-30 2008-10-30 Differential pressure transmitter data fusion device and method based on DSP Expired - Fee Related CN101398314B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008102019736A CN101398314B (en) 2008-10-30 2008-10-30 Differential pressure transmitter data fusion device and method based on DSP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102019736A CN101398314B (en) 2008-10-30 2008-10-30 Differential pressure transmitter data fusion device and method based on DSP

Publications (2)

Publication Number Publication Date
CN101398314A true CN101398314A (en) 2009-04-01
CN101398314B CN101398314B (en) 2010-08-18

Family

ID=40517027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102019736A Expired - Fee Related CN101398314B (en) 2008-10-30 2008-10-30 Differential pressure transmitter data fusion device and method based on DSP

Country Status (1)

Country Link
CN (1) CN101398314B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102269972A (en) * 2011-03-29 2011-12-07 东北大学 Method and device for compensating pipeline pressure missing data based on genetic neural network
CN102299672A (en) * 2011-09-08 2011-12-28 中国航天科技集团公司第四研究院四○一所 Direct voltage sinusoidal wave drive method for direct-current brushless motor
CN117131469A (en) * 2023-10-23 2023-11-28 宝鸡市兴宇腾测控设备有限公司 Error checking method of intelligent differential pressure transmitter

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102269972A (en) * 2011-03-29 2011-12-07 东北大学 Method and device for compensating pipeline pressure missing data based on genetic neural network
CN102269972B (en) * 2011-03-29 2012-12-19 东北大学 Method and device for compensating pipeline pressure missing data based on genetic neural network
CN102299672A (en) * 2011-09-08 2011-12-28 中国航天科技集团公司第四研究院四○一所 Direct voltage sinusoidal wave drive method for direct-current brushless motor
CN117131469A (en) * 2023-10-23 2023-11-28 宝鸡市兴宇腾测控设备有限公司 Error checking method of intelligent differential pressure transmitter
CN117131469B (en) * 2023-10-23 2023-12-26 宝鸡市兴宇腾测控设备有限公司 Error checking method of intelligent differential pressure transmitter

Also Published As

Publication number Publication date
CN101398314B (en) 2010-08-18

Similar Documents

Publication Publication Date Title
CN102032974B (en) Temperature compensation method for pressure sensor
CN101936791B (en) Digital pressure gauge
CN104697497B (en) A kind of digital obliquity sensor and its nonlinear temperature compensation method
CN102047089A (en) Improved temperature compensation of a multivariable pressure transmitter
CN104533382A (en) Method for determining indicator diagram of electrical parameters of rod-pumped well
CN102141455B (en) Non-intrusive pressure measurement method
CN101858811A (en) Method for compensating signal of high-precision pressure sensor
CN101398314B (en) Differential pressure transmitter data fusion device and method based on DSP
CN102003172A (en) Logging depth correction computation method in logging system
CN102644787A (en) Fluid control device and pressure control device
Huang et al. Nonintrusive pressure measurement with capacitance method based on FLANN
CN202903415U (en) Process variable transmitter system provided with analog communication
CN107391851A (en) A kind of glutamic acid fermentation process soft-measuring modeling method based on core ridge regression
CN103063321A (en) Platinum resistance temperature measuring equipment and temperature measuring method thereof
CN108759652B (en) A kind of curvature measurement method based on favour stone full-bridge principle
CN101925936B (en) Measurement instrument
CN102168994B (en) Silicon capacitance differential pressure transducer with multi-parameter and compensation method of static pressure influence
CN109828323A (en) A kind of rainfall measurement system based on pressure sensor
CN203011594U (en) Micro-power-consumption integrated indicator based on wireless Internet of Things
CN101561361A (en) Model-based method for electro-hydraulic proportional loading
CN101761325B (en) Method for measuring three-phase flow rate of producing wellhead oil transportation pipeline and daily fluid production rate of single well
CN106895929A (en) Improve the temperature pressure compensation method of embedded pressure sensor output accuracy
CN113932765B (en) High-precision static level based on temperature compensation and temperature compensation method thereof
CN203053529U (en) Weighting device
CN204536249U (en) Based on the oil-water two-phase flow moisture content meter of frequency sweep complex impedance measurement

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
ASS Succession or assignment of patent right

Owner name: NANTONG TAILIPU ELECTRIC CO., LTD.

Free format text: FORMER OWNER: SHANGHAI UNIVERSITY

Effective date: 20140516

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 200444 BAOSHAN, SHANGHAI TO: 226600 NANTONG, JIANGSU PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20140516

Address after: 226600, Jiangsu province Nantong Haian County town of Sun Village, a group of bridge

Patentee after: NANTONG TAILIPU ELECTRICAL CO., LTD.

Address before: 200444 Baoshan District Road, Shanghai, No. 99

Patentee before: Shanghai University

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100818

Termination date: 20191030