CN101059363A - Intelligent differential pressure flowmeter inset in industrial Ethernet interface and the measurement method - Google Patents

Intelligent differential pressure flowmeter inset in industrial Ethernet interface and the measurement method Download PDF

Info

Publication number
CN101059363A
CN101059363A CN 200710038738 CN200710038738A CN101059363A CN 101059363 A CN101059363 A CN 101059363A CN 200710038738 CN200710038738 CN 200710038738 CN 200710038738 A CN200710038738 A CN 200710038738A CN 101059363 A CN101059363 A CN 101059363A
Authority
CN
China
Prior art keywords
differential pressure
microprocessor
pressure
ethernet
temperature
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
CN 200710038738
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.)
University of Shanghai for Science and Technology
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 CN 200710038738 priority Critical patent/CN101059363A/en
Publication of CN101059363A publication Critical patent/CN101059363A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Measuring Volume Flow (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention relates to an intelligent differential pressure mass flow gage embedded into industrial Ethernet interface, and a relative measuring method. The inventive intelligent differential pressure mass flow gage comprises a multifunctional sensor for measuring differential pressure, pressure and temperature and outputting differential pressure, pressure, sensor temperature, and medium temperature signal to a microprocessor DSP, and the microprocessor DSP processes data fusion, eliminates the effects of temperature and pressure on the differential pressure, uses flux equation to calculate out instant mass flux, accumulated mass flux, and output instant mass flux, accumulated mass flux, pressure and temperature signals to a microprocessor MCU, and the microprocessor MCU packs the received signal via Ethernet format, to form an Ethernet frame. The microprocessor MCU has an Ethernet card to transmit data frame to industrial Ethernet bus. The invention realizes intelligent and network flux gage and measuring method.

Description

Embed the intelligent differential pressure mass flow gage and the measuring method of Industrial Ethernet interface
Technical field
The present invention relates to the intelligent and networked of differential pressure mass flowmeter, the compensation method of the particularly differential pressure mass rate of differential pressure flowmeter processing, differential pressure signal and embedding Industrial Ethernet communication Interface design etc.
Background technology
In commercial production and product trading, because material balance, thermal equilibrium, storage etc. all need to know the quality of medium, especially in the middle of fine chemistry industry, space industry and petroleum industry, accuracy to quality flow metering is had higher requirement, and main cause is that mass flow measurement is subjected to the influence of external condition hardly and more meets and produce and the requirement of trade.At present, the instrument of directly carrying out mass flow measurement mainly is coriolis mass flowmeters and hot mass flowmeter meter etc.Especially the appearance of Coriolis liquid mass flow meter can be referred to as the revolution of flow instrument.But when concrete the application, should carry out type selecting, the product that choice structure is simple, reliable as far as possible, cost performance is high according to technical conditions.In addition, in modern industry was produced, operational factors such as the temperature of flow working medium, pressure improved constantly, and under the situation of High Temperature High Pressure, because aspects such as material and structures, the application of driect type mass flowmeter is met difficulty.Therefore mass flowmeter also is another important directions of people's broad research indirectly.
The flowmeter that adopts differential pressure principle be develop the earliest, most widely used general, long service life, applied range and the high a kind of flowmeter of standardization level, use amount is occupied the first place always in all kinds of flow instruments.As everyone knows, Media density is along with pressure, variation of temperature and different, adopt fixing density value will bring bigger mass flow measurement error under the earthquake operating mode, so must carry out parametric compensation, temperature, pressure-compensated mass flowmeter have been developed in view of the above, detect temperature, the pressure of detected fluid, automatically converse corresponding density value by certain mathematical model then, the product that obtains density value and volume flow value just can be realized mass flow measurement, so be called temperature, pressure-compensated mass flowmeter.Temperature, pressure-compensated mass flowmeter are the special shapes of a kind of formula mass flowmeter of deriving of widespread usage on the current industrial.
Along with further developing of control system, the system requirements sensor can be formed high precision, powerful measurement and control network, to realize distributed measurement, reduces cost, and simplifies installation and maintenance.Conventional instrument in the present enterprise accounts for the overwhelming majority, can not satisfy the needs of control system, and exploitation bottom intelligence instrument makes its measuring accuracy higher, and communicating by letter more, direct convenience is the problem that urgently will solve.Fieldbus is at the commercial production scene, carries out a kind of network system of bidirectional linked list digital communication between the computerized measurement opertaing device, is the bottom-layer network of open, digitizing, multinode communication.International Electrotechnical Commission (IEC) very payes attention to the formulation of standard for Fieldbus, but various countries' suggestion is very inconsistent, the fieldbus that will pass through 8 types as a result the end of the year 1999 is as the IEC61158 international standard, three kinds of fieldbus international standards that add that IECTC17B passes through and the CAN of ISO11898, China has the EPA international standard of independent intellectual property right, amounts to 13 kinds more than.Fieldbus has the advantage that real-time is good, stability is high, but traffic rate is generally lower, and along with the development of control system, rolling up of transmitted data amount will inevitably become the factor of restriction development.And also there is compatible problem between the various various criterion fieldbus.Therefore, people consider to adopt a kind of unified standard to solve these problems.The Industrial Ethernet technology is familiar with by people gradually under such background just and is developed, and has nowadays become a focus of Industry Control.Ethernet technology is unshakable in the monopoly position of Field of Office Automation, because there is remarkable advantages its cost performance aspect, becomes one of most popular communication network.Ethernet technology is applied in the attention that industrial control field has obtained all big enterprises.The most typical application form of Industrial Ethernet is Ethernet+TCP/IP, promptly the Ethernet bottom adds the network transmission protocol TCP/IP that has almost become the universal standard flexibly, and making Industrial Ethernet can be integrated into Internet and Web technology easily is in the information network of representative.Compare with the fieldbus of developing for Industry Control specially, the advantage of Industrial Ethernet technology shows: ethernet technology is widely used, by all programming languages are supported; Software and hardware resources is abundant; Be easy to be connected, realize the seamless link of office automation network and industrial control network with Internet; The sustainable development space is big or the like.Make measuring and controlling equipment such as sensor directly possess the Industrial Ethernet interface, layer is just realized Industrial Ethernet at the scene, can realize the information networking on truly wider, the deeper degree, realizes " net on earth " of control system.
People mainly are two performances to flow measurement and instrument concern: the reliability of instrument and degree of accuracy.Reliability comprises instrument reliable in quality and maintainability.Flow instrument is a field instrument, faces bad working environment, and the energy convenient for maintaining should be an aspect of Meter Reliability when breaking down.Intelligentized flow instrument not only can improve the precision of measurement, and can simplify the operation and maintenance of instrument.
That the development of control system more and more trends towards is complicated, high precision int and intellectuality.Obtaining of information in occupation of more and more important position.It is very backward that the sensor of now also seems aspect perception information, intelligent and networked aspect very big gap in addition.If can be under the constant situation of sensitive element, promote the measuring accuracy of sensor and make it possess the network interface of Industrial Ethernet, then can improve the accuracy of control system information needed to a great extent, and information can realize sharing to a greater extent.Sensor possesses the risk that has also further reduced control system after the characteristics of intelligent and networking at the scene, has realized the self-management of instrument, and information processing is also become initiatively by passive.And, make these imaginations to come true by means of the fast development of microprocessor performance.
Summary of the invention
The objective of the invention is to deficiency, a kind of intelligent differential pressure mass flow gage and measuring method that embeds the Industrial Ethernet interface is provided, make it intelligent and networked at prior art.
For achieving the above object, design is the embedded system that makes up a differential pressure mass rate, the Multifunction Sensor that constitutes with differential pressure, pressure and temperature is an object, power by embedded microprocessor is handled the original signal of sensor again, obtain the higher aim parameter of precision, and send to the upper strata controller via the Industrial Ethernet interface.In order to realize this purpose, use two microprocessors to realize data processing and Industrial Ethernet interface respectively.Signals such as differential pressure, pressure, sensor temperature, medium temperature are provided by Multifunction Sensor, carry out Data Fusion through microprocessor 1, eliminate the influence of temperature and pressure to differential pressure, and to influence in the flow equation mass rate other parameters proofread and correct, calculate output signals such as instantaneous mass flow, mass accumulation flow, pressure and temperature afterwards by flow equation.Output signal is transferred to microprocessor 2 and is carried out the packing of ethernet format, forms ethernet frame, and it can be transmitted on Industrial Ethernet.This flowmeter not only can be measured the mass rate of liquid effectively, good stability, and energy consumption is little, measures accurately, makes convenient for installation and maintenancely, and owing to having the Industrial Ethernet interface, has made things convenient for by Ethernet directly flowmeter to be configured and to manage.
The present invention has following outstanding substantive distinguishing features and advantage compared with prior art:
1. use dual processor to form embedded system.Over-burden in order to avoid uniprocessor, and software design is complicated, influences the overall performance of system, and native system is object with the Multifunction Sensor, adopts two CPU to form embedded system, and the system global structure block diagram as shown in Figure 1.A microprocessor DSP finishes signal Processing work, receives the raw data of former Multifunction Sensor transmission and handles data such as generation mass rate.Another microprocessor MCU is responsible for systems connection and interface communication, mainly realizes the Industrial Ethernet interface.Two processors all select self memory capacity bigger, rich interface, and the model that power consumption is lower utilizes self integrated serial ports to communicate between two microprocessors.
2. multi-functional differential pressure pick-up can detect four signals such as differential pressure, pressure, sensor temperature and medium temperature simultaneously, and through obtaining the corresponding digital signal respectively after the conditioning conversion, this signal is sent into microprocessor DSP through serial ports and handled.Use data fusion method among the microprocessor DSP, eliminate the cross interference of temperature and pressure, be not subjected to the differential pressure signal of factor affecting such as temperature, pressure differential pressure signal.In order further to improve precision, the program among the microprocessor DSP also compensates the parameter in the throttle type differential pressure mass flow equation, as shown in Figure 2.Utilize pressure and medium temperature signal that fluid density is carried out real-Time Compensation, according to the relation compensation efflux coefficient of efflux coefficient and pipeline Reynolds number.Obtain instantaneous mass flow and mass accumulation flow by flow equation again.Also realized change of scale among the microprocessor DSP, the function of self check, self-correcting, self diagnosis makes sensor have intelligentized characteristics.Its configuration order can local be imported, and also can long-rangely send order by Ethernet and carry out online programming and configuration.
3. microprocessor MCU receives the mass rate data that calculated by microprocessor DSP via serial ports and sends through Ethernet.Realized embedded ICP/IP protocol stack among the microprocessor MCU.Because of being confined to the arithmetic speed and the memory size of microprocessor, also transmit the little actual conditions of data volume according to mass flow sensor, the standard ICP/IP protocol is reduced, design and simplify ICP/IP protocol subclass efficiently.Microprocessor MCU finishes function corresponding according to corresponding data frame format at each layer.Characteristics in the implementation procedure are that system overhead is less, and are separate between each layer, carry out data by a series of function and transmit; Internal memory operation is simple, and system reduces the copying data process by pointer operation, and the data in the buffer zone are transmitted up and down along protocol stack.By adding heading,, as shown in Figure 3, form complete ethernet frame in the program, send on the Ethernet via the RJ45 interface again the encapsulation of successively packing of quality data on flows.
For satisfying the application requirements of industry spot control system, on the Ethernet+TCP/IP agreement, designed application layer and client layer agreement, use the most influentially in the control field, also be the most simple and practical ModBus TCP/IP simultaneously.
Whole embedded system is mainly finished the work of field apparatus and the collection of state parameter, and communicates by network interface and upper layer network, further can also be implemented in the data of remote access flowmeter on the network and to the flowmeter configuration.
According to the foregoing invention design, the present invention adopts following technical proposals:
A kind of intelligent differential pressure mass flow gage that embeds the Industrial Ethernet interface, comprise the Multifunction Sensor that measures differential pressure, pressure and temperature, it is characterized in that described Multifunction Sensor output differential pressure, pressure, sensor temperature and medium temperature signal to a microprocessor DSP; Microprocessor DSP carries out the fusion treatment of data, eliminate the influence of temperature and pressure to differential pressure signal, calculate instantaneous instantaneous mass flow, mass accumulation flow by flow equation, export instantaneous mass flow, mass accumulation flow, pressure and temperature signal to a microprocessor MCU then; Microprocessor MCU carries out the ethernet format packing to the received signal, forms ethernet frame.Microprocessor MCU has Ethernet card, and Frame is sent to the Industrial Ethernet bus.
A kind of intelligent differential pressure mass flow measurement methods adopts the intelligent differential pressure mass flow gage of above-mentioned embedding Ethernet interface to measure, and the step that its feature is present in detection is as follows:
1) system initialization: the initialization of microprocessor DSP, microprocessor MCU and Ethernet card;
2) microprocessor DSP judges whether to receive the configuration configuration order, carries out corresponding operating, the change state;
3) microprocessor DSP receives differential pressure, pressure, sensor temperature, the medium temperature signal that Multifunction Sensor sends;
4) microprocessor DSP calls data anastomosing algorithm, eliminates the interference of temperature and pressure to differential pressure signal, obtains the differential pressure data that the calculated mass flow is used; Efflux coefficient in the throttle type differential pressure mass flow equation and fluid density parameter are carried out real-Time Compensation; According to flow equation calculated mass flow;
5) microprocessor DSP sends the mass rate data to microprocessor MCU by serial ports;
6) microprocessor MCU is according to corresponding data frame format package quality data on flows successively;
7) microprocessor MCU starts Ethernet card transmission Frame;
8) the Ethernet card Frame is to the Industrial Ethernet bus;
9) whether the Ethernet card inspection receives the long-range configuration configuration order that sends by Ethernet.Receiving orders then to extract to order sends to microprocessor MCU, and microprocessor MCU is transmitted to microprocessor DSP, goes to the 2nd) step; Do not have order and then go to the 3rd) step.
Description of drawings
Fig. 1 is a system architecture diagram of the present invention.
Fig. 2 is that mass flowmeter of the present invention calculates synoptic diagram.
Fig. 3 is data on flows ethernet frame format figure of the present invention.
Fig. 4 is system works flow process figure of the present invention.
Specific implementation method
Multifunction Sensor 1 can be measured sensor temperature (t when measuring differential pressure (dp) 1), medium temperature (t 2), pressure signal (sp), and through the conditioning and digitizing.Multifunction Sensor 1 and microprocessor DSP 2 agreement communication forms send to DSP to temperature, pressure, differential pressure signal etc. by serial ports and do further processing.Whole embedded system is an object with multi-functional differential pressure pick-up just.The circuit board that is embedded in the former multi-functional differential pressure flowmeter is connected with the analog to digital conversion circuit plate with original signal condition by serial ports, and is its power supply.Total system is encapsulated in the mass flowmeter shell.
This intelligent differential pressure mass flow measurement methods adopts above-mentioned intelligent differential pressure meter to detect, and it is as follows that it detects step:
1). system initialization.Initialization comprises the initialization of microprocessor DSP 2, microprocessor MCU 3 and network interface card 4.Wherein the configuration of DSP own resource, the initialization of interface and the environment setting and the preliminary work of mass flow calculation are finished in the initialization of microprocessor DSP 2.The initialization of microprocessor MCU 3 finish the MCU own resource configuration, interface initialization and to the initialization of network interface card 4.The initialization of network interface card 4 is mainly finished under the control of microprocessor MCU 3, carries out the preparation of transceive data frame.
2). microprocessor DSP 2 at first judges whether to receive the configuration configuration order.Configuration order is passed on by microprocessor MCU3, can be local command, also can be via the long-range MCU that sends to of Ethernet.Order can comprise allows flowmeter carry out self check, self checking and change of scale etc.; Also can carry out configuration, selective reception instantaneous mass flow, mass accumulation flow or pressure and temp etc. to output quantity.The back DSP that receives orders carries out corresponding operating, the change state.
3). microprocessor DSP 2 receives differential pressure, pressure, sensor temperature, the medium temperature signal that Multifunction Sensor sends.
4). microprocessor DSP 2 calls data anastomosing algorithm, eliminates the interference of temperature and pressure to differential pressure signal, obtains the differential pressure data that the calculated mass flow is used.Efflux coefficient and fluid density parameter in 2 pairs of throttle type differential pressures of microprocessor DSP mass flow equation are carried out real-Time Compensation.Microprocessor DSP 2 is according to flow equation calculated mass flow.
5). microprocessor DSP 2 sends the mass rate data to microprocessor MCU 3 by serial ports.Microprocessor MCU 3 receives the mass rate data that send from microprocessor DSP 2.
6). the corresponding data frame format of microprocessor MCU 3 bases is the package quality data on flows successively, as shown in Figure 3.At first before data on flows, add the heading of application layer protocol ModBus TCP, be transport layer protocol TCP heading again, following one deck is a network layer protocol IP heading, is Ethernet protocol Ethernet frame head at last, finally is created on the Frame that circulates on the Ethernet.
7). microprocessor MCU 3 starts network interface card 4 and sends Frame.
8). network interface card 4 sends Frame to the Industrial Ethernet bus.
9). network interface card 4 checks whether receive the long-range configuration configuration order bag that sends by Ethernet, and the bag that receives orders then extracts order and sends to microprocessor MCU 3, and microprocessor 3 is transmitted to microprocessor DSP 2, goes to the 2nd) step.Do not have order and then go to the 3rd) step.
For the order that will change flowmeter duty and configuration configuration, microprocessor MCU 3 triggers the reception interruption of microprocessor DSP2, and microprocessor DSP (2) is response command in time, adjusts the duty of flowmeter.

Claims (2)

1, a kind of intelligent differential pressure mass flow gage that embeds the Industrial Ethernet interface, comprise the Multifunction Sensor (1) that measures differential pressure, pressure and temperature, it is characterized in that described Multifunction Sensor (1) output differential pressure, pressure, sensor temperature and medium temperature signal to a microprocessor DSP (2); Microprocessor DSP (2) carries out the fusion treatment of data, eliminate the influence of temperature and pressure to differential pressure signal, calculate instantaneous instantaneous mass flow, mass accumulation flow by flow equation, export instantaneous mass flow, mass accumulation flow, pressure and temperature signal to a microprocessor MCU (3) then; Microprocessor MCU (3) carries out the ethernet format packing to the received signal, forms ethernet frame.Microprocessor MCU (3) has Ethernet card (4), and Frame is sent to Industrial Ethernet bus (5).
2, a kind of intelligent differential pressure mass flow measurement methods adopts the intelligent differential pressure mass flow gage of the described embedding Ethernet interface of claim 1 to measure, and the step that its feature is present in detection is as follows:
The initialization of 1) system initialization: microprocessor DSP (2), microprocessor MCU (3) and Ethernet card (4);
2) microprocessor DSP (2) judges whether to receive the configuration configuration order, carries out corresponding operating, the change state;
3) microprocessor DSP (2) receives differential pressure, pressure, sensor temperature, the medium temperature signal that Multifunction Sensor (1) sends;
4) microprocessor DSP (2) calls data anastomosing algorithm, eliminates the interference of temperature and pressure to differential pressure signal, obtains the differential pressure data that the calculated mass flow is used; Efflux coefficient in the throttle type differential pressure mass flow equation and fluid density parameter are carried out real-Time Compensation; According to flow equation calculated mass flow;
5) microprocessor DSP sends the mass rate data to microprocessor MCU (3) by serial ports;
6) microprocessor MCU (3) is according to corresponding data frame format package quality data on flows successively;
7) microprocessor MCU (3) starts Ethernet card (4) transmission Frame;
8) Ethernet card (4) Frame is to Industrial Ethernet bus (5);
9) whether Ethernet card (4) inspection receives the long-range configuration configuration order that sends by Ethernet.Receiving orders then to extract to order sends to microprocessor MCU (3), and microprocessor MCU (3) is transmitted to microprocessor DSP (2), goes to the 2nd) step; Do not have order and then go to the 3rd) step.
CN 200710038738 2007-03-29 2007-03-29 Intelligent differential pressure flowmeter inset in industrial Ethernet interface and the measurement method Pending CN101059363A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710038738 CN101059363A (en) 2007-03-29 2007-03-29 Intelligent differential pressure flowmeter inset in industrial Ethernet interface and the measurement method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710038738 CN101059363A (en) 2007-03-29 2007-03-29 Intelligent differential pressure flowmeter inset in industrial Ethernet interface and the measurement method

Publications (1)

Publication Number Publication Date
CN101059363A true CN101059363A (en) 2007-10-24

Family

ID=38865582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710038738 Pending CN101059363A (en) 2007-03-29 2007-03-29 Intelligent differential pressure flowmeter inset in industrial Ethernet interface and the measurement method

Country Status (1)

Country Link
CN (1) CN101059363A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102109853A (en) * 2010-11-23 2011-06-29 北京七星华创电子股份有限公司 Gas mass flow rate controller based on double CPUs (central processing units)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102109853A (en) * 2010-11-23 2011-06-29 北京七星华创电子股份有限公司 Gas mass flow rate controller based on double CPUs (central processing units)

Similar Documents

Publication Publication Date Title
CN201331406Y (en) Intelligent pressure transmitter
CN110284872B (en) Virtual flow calculation method and system for underwater acquisition system of offshore gas field group
CN101832960B (en) Measuring method for on-site detection of thermal resistance of enclosing structure
CN109916366A (en) A kind of system and method for the deformation of real-time monitoring pipeline and posture
CN106767697A (en) Dual axis inclinometer and scaling method
CN103200254A (en) Water conservation Internet of things oriented multi-source heterogeneous data obtaining and transmitting method
CN102997887A (en) Method and device for multi-dimensional detection of angle sensor
CN201075248Y (en) USB interface real-time data acquisition controller
CN206469934U (en) A kind of device of on-line measurement fluid density and liquid level
CN104344811B (en) A kind of gas chamber piston gradient on-line detecting system and method
CN101059363A (en) Intelligent differential pressure flowmeter inset in industrial Ethernet interface and the measurement method
US7188200B2 (en) Method for data exchange between an operating and monitoring program and a field device
CN108153266B (en) Calibration method of pump station information intelligent monitoring terminal based on power detection
CN114165216A (en) Single-well continuous multiphase flow metering system, storage medium and computer equipment
JP2005516270A (en) Data exchange method between operation monitoring program and field device
CN105763170B (en) A kind of electric power signal digital filtering method
CN201935707U (en) Differential pressure type natural gas flow metering device with constant value pore plate
CN104481499A (en) Electrical parameter based rod pumped well daily fluid production capacity measuring method
CN104135284B (en) Phase discrimination method and device as well as phase locking method and phase-locked loop
CN110346082A (en) Scaling method of the beam pumping unit suspension point by force measuring system
CN105115998A (en) Method for determining powder diffraction preferred orientation parameter
CN109990823A (en) For detecting the detection device and detection method of photoelectric encoder precision
CN201974212U (en) Capacitive radio frequency admittance level transmitter
CN201945599U (en) Motor speed detection sensor
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
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication