CN104331624A - Flowmeter-based energy flow value processing method and flowmeter-based energy flow value processing device - Google Patents

Flowmeter-based energy flow value processing method and flowmeter-based energy flow value processing device Download PDF

Info

Publication number
CN104331624A
CN104331624A CN201410632876.8A CN201410632876A CN104331624A CN 104331624 A CN104331624 A CN 104331624A CN 201410632876 A CN201410632876 A CN 201410632876A CN 104331624 A CN104331624 A CN 104331624A
Authority
CN
China
Prior art keywords
value
flowmeter
analog value
analog
energy usage
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
CN201410632876.8A
Other languages
Chinese (zh)
Other versions
CN104331624B (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.)
Laiwu Iron and Steel Group Electronic Co Ltd
Original Assignee
Laiwu Iron and Steel Group Electronic 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 Laiwu Iron and Steel Group Electronic Co Ltd filed Critical Laiwu Iron and Steel Group Electronic Co Ltd
Priority to CN201410632876.8A priority Critical patent/CN104331624B/en
Publication of CN104331624A publication Critical patent/CN104331624A/en
Application granted granted Critical
Publication of CN104331624B publication Critical patent/CN104331624B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a flowmeter-based energy flow value processing method and a flowmeter-based energy flow value processing device. The method includes the following steps: analog values acquired by a flowmeter are obtained according to an obtainment cycle; each time after an analog value is obtained, whether the number of the stored analog values reaches a set number is determined; if the number of the stored analog values reaches the set number, the analog value obtained at the earliest time among the analog values is deleted, and the obtained analog value is stored; if the number of the stored analog values does not reach the set number, the obtained analog value is stored; the mean value of the stored analog values is calculated; a conversion model corresponding to the type of the flowmeter is used for converting the mean value, so that an energy flow value within the corresponding obtainment cycle is obtained. According to the solution, the accuracy of the finally obtained energy flow value can be increased and errors can be reduced; moreover, manual conversion does not need to be carried out according to flowmeter types any more, and thereby the efficiency of processing energy flow values can be increased.

Description

A kind of energy flow value disposal route based on flowmeter and device
Technical field
The present invention relates to technical field of automation, particularly relate to a kind of energy flow value disposal route based on flowmeter and device.
Background technology
At metallurgy industry, often needing to use a lot of energy, such as oxygen, water etc., in order to realize energy-saving and emission-reduction, consumption reduction synergy, needing to carry out energy management and control.In the process of energy management and control, very important point is exactly the consumption of the statistics energy, and the flow value processing the energy is exactly the basis of statistics energy usage.
At present, usual use traffic meter processes the flow value of the energy, the type of flowmeter has a variety of, the method of dissimilar flowmeter to the flow value process of the energy is also different, such as, when flow counts electromagnetic flowmeter, after flowmeter collects the analog value of pipeline, can calculate the flow value of the energy further according to this analog value, because electromagnetic flowmeter itself is easily interfered, this just causes the flow value error of the energy finally obtained very large; When flow counts differential pressure flowmeter, after flowmeter collects the analog value of pipeline, what obtain is differential flow value, related personnel also needs to change the flow value that just can obtain the energy to this differential flow value, when the quantity of flowmeter is very many, the workload of conversion is very large, thus can not obtain the flow value of the energy in time.Visible, the energy flow value disposal route at present based on flowmeter can not obtain energy flow value accurately and efficiently, therefore, needs badly and a kind ofly goes for various flowmeter and the flow value disposal route of precise and high efficiency.
Summary of the invention
The embodiment of the present invention provides a kind of energy flow value disposal route based on flowmeter and device, in order to solve the problem that can not obtain the flow value of the energy accurately and efficiently existed in prior art.
According to embodiment of the present invention example, a kind of energy flow value disposal route based on flowmeter is provided, comprises:
To obtain the analog value that the cycle obtains flowmeter collection;
After getting analog value, determine whether the number of the analog value preserved reaches setting number at every turn;
If the number of the analog value preserved reaches described setting number, delete acquisition time analog value the earliest in the analog value preserved, and preserve the analog value obtained; If the number of the analog value preserved does not reach described setting number, preserve the analog value obtained;
Calculate the mean value of the analog value preserved;
Use transformation model corresponding to the type of described flowmeter to transform described mean value, obtain the energy flow value within the correspondence acquisition cycle.
Concrete, calculate the mean value of the analog value preserved, specifically comprise:
Determine the maximal value in the analog value preserved and minimum value;
Calculate in the analog value preserved the mean value after removing described maximal value and described minimum value.
Concrete, use transformation model corresponding to the type of described flowmeter to transform described mean value, obtain the energy flow value within the correspondence acquisition cycle, specifically comprise:
Determine the type of described flowmeter;
Obtain the transformation model that the type of described flowmeter is corresponding;
Described mean value is brought in transformation model corresponding to the type of described flowmeter, obtain the energy flow value within the correspondence acquisition cycle.
Concrete, obtain the transformation model that the type of described flowmeter is corresponding, specifically comprise:
If the type of described flowmeter is electromagnetic flowmeter, then the transformation model that electromagnetic flowmeter is corresponding is wherein, F outfor the energy flow value after conversion, T is the mean value of the analog value preserved, V maxfor the maximum range of described flowmeter, V minfor the minimum range of described flowmeter;
If the type of described flowmeter is difference flowmeter, then the transformation model that difference flowmeter is corresponding is wherein, k is the intrinsic coefficient of described flowmeter, F outfor the energy flow value after conversion, T is the mean value of the analog value preserved, V maxfor the maximum range of described flowmeter.
Optionally, also comprise:
After getting analog value, the analog value of acquisition and max-thresholds and minimum threshold are compared at every turn;
If the analog value obtained exceedes described max-thresholds, then send analog value superelevation and report to the police;
If the analog value obtained is less than described minimum threshold, then send the ultralow warning of analog value.
Optionally, also comprise:
Whether monitor current integration periods to expire, described current integration periods comprises the acquisition cycle described at least one;
If described current integration periods is not yet due, the energy usage energy usage shown in first display module added up in the described current acquisition cycle, and show at described first display module, the energy usage in the second display module in display in an integration periods;
If described current integration periods expires, the energy usage in the first display module is presented in the second display module, and the energy usage in described first display module resets.
Concrete, the energy usage energy usage shown in the first display module added up in the described current acquisition cycle, specifically comprises:
After energy flow value in the described current acquisition cycle is carried out unit conversion, be multiplied with the described current acquisition cycle, obtain the energy usage in the described current acquisition cycle;
The fractional value of energy usage in the described current acquisition cycle with the energy usage in the upper acquisition cycle is added;
Using obtain with the fraction part of the value fractional value as the energy usage in the described current acquisition cycle, by being added with the energy usage shown in described first display module with the integral part of value of obtaining.
According to the embodiment of the present invention, also a kind of energy flow value treating apparatus based on flowmeter, comprising:
Acquiring unit, for the analog value to obtain the collection of cycle acquisition flowmeter;
Determining unit, after getting analog value, determines whether the number of the analog value preserved reaches setting number at every turn;
Storage unit, if reach described setting number for the number of the analog value preserved, deletes acquisition time analog value the earliest in the analog value preserved, and preserves the analog value obtained; If the number of the analog value preserved does not reach described setting number, preserve the analog value obtained;
Computing unit, for calculating the mean value of the analog value preserved;
Conversion unit, for using transformation model corresponding to the type of described flowmeter to transform described mean value, obtains the energy flow value within the correspondence acquisition cycle.
Concrete, described computing unit, specifically for:
Determine the maximal value in the analog value preserved and minimum value;
Calculate in the analog value preserved the mean value after removing described maximal value and described minimum value.
Concrete, described conversion unit, specifically for:
Determine the type of described flowmeter;
Obtain the transformation model that the type of described flowmeter is corresponding;
Described mean value is brought in transformation model corresponding to the type of described flowmeter, obtain the energy flow value within the correspondence acquisition cycle.
Concrete, described conversion unit, specifically for:
If the type of described flowmeter is electromagnetic flowmeter, then the transformation model that electromagnetic flowmeter is corresponding is wherein, F outfor the energy flow value after conversion, T is the mean value of the analog value preserved, V maxfor the maximum range of described flowmeter, V minfor the minimum range of described flowmeter;
If the type of described flowmeter is difference flowmeter, then the transformation model that difference flowmeter is corresponding is wherein, k is the intrinsic coefficient of described flowmeter, F outfor the energy flow value after conversion, T is the mean value of the analog value preserved, V maxfor the maximum range of described flowmeter.
Optionally, also comprise alarm unit, for:
After getting analog value, the analog value of acquisition and max-thresholds and minimum threshold are compared at every turn;
If the analog value obtained exceedes described max-thresholds, then send analog value superelevation and report to the police;
If the analog value obtained is less than described minimum threshold, then send the ultralow warning of analog value.
Optionally, also comprise accumulated unit, for:
Whether monitor current integration periods to expire, described current integration periods comprises the acquisition cycle described at least one;
If described current integration periods is not yet due, the energy usage energy usage shown in first display module added up in the described current acquisition cycle, and show at described first display module, the energy usage in the second display module in display in an integration periods;
If described current integration periods expires, the energy usage in the first display module is presented in the second display module, and the energy usage in described first display module resets.
Concrete, described accumulated unit, specifically for:
After energy flow value in the described current acquisition cycle is carried out unit conversion, be multiplied with the described current acquisition cycle, obtain the energy usage in the described current acquisition cycle;
The fractional value of energy usage in the described current acquisition cycle with the energy usage in the upper acquisition cycle is added;
Using obtain with the fraction part of the value fractional value as the energy usage in the described current acquisition cycle, by being added with the energy usage shown in described first display module with the integral part of value of obtaining.
Beneficial effect of the present invention is as follows:
The energy flow value disposal route based on flowmeter that the embodiment of the present invention provides and device, to obtain the analog value that the cycle obtains flowmeter collection; After getting analog value, determine whether the number of the analog value preserved reaches setting number at every turn; If the number of the analog value preserved reaches described setting number, delete acquisition time analog value the earliest in the analog value preserved, and preserve the analog value obtained; If the number of the analog value preserved does not reach described setting number, preserve the analog value obtained; Calculate the mean value of the analog value preserved; Use transformation model corresponding to the type of described flowmeter to transform described mean value, obtain the energy flow value within the correspondence acquisition cycle.In the program, owing to can calculate the mean value of the analog value preserved when processing energy flow value, thus the accuracy of the energy flow value finally obtained can be improved, reducing error; Further, this mean value can also being transformed the transformation model corresponding according to the type of flowmeter, obtain the energy flow value within the correspondence acquisition cycle, without the need to again by manually changing according to flow meter type, the efficiency of process energy flow value can be improved.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, for those of ordinary skills, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of energy flow value disposal route based on flowmeter in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the method for a kind of accumulative energy usage in the embodiment of the present invention;
Fig. 3 is the structural representation of a kind of energy flow value treating apparatus based on flowmeter in the embodiment of the present invention;
Fig. 4 is the another kind of structural representation based on the energy flow value treating apparatus of flowmeter in the embodiment of the present invention;
Fig. 5 be in the embodiment of the present invention another based on the structural representation of the energy flow value treating apparatus of flowmeter.
Embodiment
For the problem that can not obtain the flow value of the energy accurately and efficiently existed in prior art, the embodiment of the present invention provides a kind of energy flow value disposal route based on flowmeter, and the flow process of the method as shown in Figure 1, performs step as follows:
S11: to obtain the analog value that the cycle obtains flowmeter collection.
At present, flowmeter normally gathers ducted analog value with the natural period of self, and when carrying out the process of energy flow value, can obtain the analog value that flowmeter gathers as required, such as can set the acquisition cycle, then obtain the analog value of flowmeter collection with the acquisition cycle.The acquisition cycle can set according to actual needs, such as, be set as 10 milliseconds, 15 milliseconds, 20 milliseconds etc.
S12: after at every turn getting analog value, determines whether the number of the analog value preserved reaches setting number, if the number of the analog value preserved reaches setting number, performs S13; If the number of the analog value preserved does not reach setting number, perform S14.
After getting analog value, first can determine whether the number of the analog value preserved reaches setting number, setting number can set according to actual needs at every turn, such as 8,9,10,11,12 etc., preferably 12.
S13: delete acquisition time analog value the earliest in the analog value preserved, and preserve the analog value obtained, perform S15.
If the number of the analog value preserved reaches setting number, so can delete the analog value obtained the earliest, then preserve the analog value obtained in S12.
S14: preserve the analog value obtained, performs S15.
If the number of the analog value preserved does not reach setting number, so can directly preserve the analog value obtained in S12.
S15: the mean value calculating the analog value preserved.
S16: the transformation model that the type of use traffic meter is corresponding transforms mean value, obtains the energy flow value within the correspondence acquisition cycle.
When processing the energy flow value in each acquisition cycle, not only calculate according to the analog value in this acquisition cycle, but the mean value comprising the analog value that acquisition cycle that this acquisition cycle and acquisition cycle before thereof set number altogether obtains will be calculated, the transformation model that then type of use traffic meter is corresponding transforms this mean value and just can obtain.Because flowmeter is when gathering analog value, certain interference and error may be there is, by the mode of averaging, effectively can reduce error, improving the accuracy of the energy flow value obtained; And, the transformation model corresponding according to the type of flowmeter transforms this mean value, obtain the energy flow value within the correspondence acquisition cycle, without the need to again by manually changing according to flow meter type, even if the quantity of flowmeter is a lot, also can obtain corresponding energy flow value in time, thus improve the efficiency of process energy flow value.
Concrete, the mean value of the analog value that the calculating in above-mentioned S15 has been preserved, specifically comprises:
Determine the maximal value in the analog value preserved and minimum value;
Calculate in the analog value preserved the mean value after removing maximal value and minimum value.
In the installation environment residing for flowmeter reality, various interference may be there is, the analog value of flowmeter collection is caused to be not the situation of the energy in real pipeline, such as, even if when there is no flow, also may there is certain force value in pipe interior, cause flowmeter also can collect analog value, and this analog value is not real energy flow value; Again such as, also may there is transient fluctuation in the analog value of flowmeter collection, is exactly " the signal burr " often said.In order to improve the degree of accuracy of calculating mean value, first can determine the maximal value in the analog value preserved and minimum value, then from the analog value preserved, removing maximal value and minimum value, then calculating the mean value of remaining analog value.
Concrete, the transformation model that the type of the use traffic meter in above-mentioned S16 is corresponding transforms mean value, obtains the energy flow value within the correspondence acquisition cycle, comprising:
Determine the type of flowmeter;
Obtain the transformation model that the type of flowmeter is corresponding;
Mean value is brought in transformation model corresponding to the type of flowmeter, obtain the energy flow value within the correspondence acquisition cycle.
At present, the type of flowmeter has a lot: electromagnetic flowmeter, differential pressure flowmeter etc., the disposal route of the energy flow value that often kind of flowmeter is corresponding is different, therefore, need the type first determining flowmeter, then obtain the transformation model that the type of this flowmeter is corresponding, this mean value is brought in transformation model corresponding to the type of flowmeter, obtain the energy flow value within the correspondence acquisition cycle.Without the need to again by manually carrying out being converted to energy flow value, thus can the processing time be reduced, improving treatment effeciency.
Concrete, the transformation model that the type of above-mentioned acquisition flowmeter is corresponding can comprise various ways, enumerates two kinds of transformation models below and is described:
The first, if the type of flowmeter is electromagnetic flowmeter, then the transformation model that electromagnetic flowmeter is corresponding is F out = T 27648 ( V max - V min ) .
Wherein, F outfor the energy flow value after conversion, T is the mean value of the analog value preserved, V maxfor the maximum range of flowmeter, V minfor the minimum range of flowmeter.
The second, if the type of flowmeter is difference flowmeter, then the transformation model that difference flowmeter is corresponding is F out = k V max T 27648 .
Wherein, k is the intrinsic coefficient of flowmeter, F outfor the energy flow value after conversion, T is the mean value of the analog value preserved, V maxfor the maximum range of flowmeter.
Optionally, the above-mentioned energy flow value disposal route based on flowmeter also comprises:
After getting analog value, the analog value of acquisition and max-thresholds and minimum threshold are compared at every turn;
If the analog value obtained exceedes max-thresholds, then send analog value superelevation and report to the police;
If the analog value obtained is less than minimum threshold, then send the ultralow warning of analog value.
When flowmeter gather analog value excessive or too small time, may cause due to the fault of flowmeter own, therefore, analog value superelevation can be arranged report to the police and the ultralow warning of analog value, thus person skilled flow meter can be reminded in time to carry out maintenance process, ensure carrying out smoothly of whole production run.
Concrete, max-thresholds and minimum threshold can be set, when the analog value obtained exceedes max-thresholds, analog value superelevation can be sent and report to the police, when the analog value obtained exceedes minimum threshold, the ultralow warning of analog value can be sent.Max-thresholds and minimum threshold can set according to actual needs.
Optionally, the above-mentioned energy flow value disposal route based on flowmeter also comprises the process added up energy usage, in each integration periods, the integrating method of energy usage is identical, be described for the integrating method of energy usage in current integration periods below, as shown in Figure 2, specifically can comprise the following steps:
S21: monitor current integration periods and whether expire, if current integration periods is not yet due, performs S22; If current integration periods expires, perform S23.
Integration periods can set according to actual needs, 30 minutes, 1 hour, 5 hours, 1 day, 1 week, January, 1 year etc. can be set as, can comprise multiple acquisition cycle in an integration periods, the integration periods that current time is corresponding is current integration periods.The number of integration periods can be arranged flexibly, can monitor multiple integration periods simultaneously, such as monitor simultaneously every day, weekly, monthly, annual energy usage, then carry out Instructing manufacture according to this energy usage and settle accounts for the end of the year.
S22: the energy usage that the energy usage shown in the first display module was added up in the current acquisition cycle, and show at the first display module, the energy usage in the second display module in display in an integration periods.
For each integration periods, two display modules can be set, i.e. the first display module and the second display module, can be, but not limited to can to show with the first display module the energy usage in current integration periods, can show the energy usage in a upper integration periods with the second display module.If current integration periods is not yet due, the energy usage that the energy usage shown in the first display module can be added up in the current acquisition cycle, then shows in the first display module.Wherein, the acquisition cycle that current cumulative energy usage is corresponding is the current acquisition cycle.
S23: the energy usage in the first display module is presented in the second display module, and the energy usage in the first display module resets.
If current integration periods expires, the energy usage that then can terminate in current integration periods adds up, then the energy usage in the first display module is presented in the second display module, energy usage in first display module is reset, such as, if integration periods is 1 day, during every day 0, one day terminates, new daystart, energy usage in first display module can be presented in the second display module, then the energy usage in the first module be reset, the accumulative new energy usage of a day.
Concrete, the above-mentioned energy usage energy usage shown in first display module added up in the current acquisition cycle, specifically comprises:
After energy flow value in the current acquisition cycle is carried out unit conversion, be multiplied with the current acquisition cycle, obtain the energy usage in the current acquisition cycle;
The fractional value of energy usage in the current acquisition cycle with the energy usage in the upper acquisition cycle is added;
Using obtain with the fraction part of the value fractional value as the energy usage in the current acquisition cycle, by being added with the energy usage shown in the first display module with the integral part of value of obtaining.
Carrying out energy usage accumulative based on the energy flow value after above-mentioned process is a very important link in enterprise practical production run, due in prior art, this link is easy to the phenomenon having occurred leaking meter, error count, accumulative energy usage and actual amount have deviation, the energy usage added up will be caused accurate instruction enterprise not produce, even make company interest impaired.
In order to avoid the problems referred to above, first unit conversion can be carried out to the energy flow value in the current acquisition cycle, unit due to existing flowmeter normally adopt cubic meter/time, this unit particle size is larger, cubic meter/millisecond that granularity is less can be optimized to, thus be added statistical precision, after carrying out unit conversion, energy flow value in the current acquisition cycle was multiplied with the current acquisition cycle, just can obtains the energy usage in the current acquisition cycle.
During energy usage in cumulative each acquisition cycle, can only cumulative integral part, and preserve fraction part, fraction part is placed on the next acquisition cycle and adds up, and to doing so avoids in prior art the problem of the leakage meter that only accumulative integral part causes.
By as above method, achieve the accurately accumulative of energy usage, overcome the drawback in existing integrating method, can enterprise be instructed better to produce.
Based on same inventive concept, the embodiment of the present invention provides a kind of energy flow value treating apparatus based on flowmeter, and this device can be arranged in flowmeter or flow control device, and structure as shown in Figure 3, comprising:
Acquiring unit 31, for the analog value to obtain the collection of cycle acquisition flowmeter.
Determining unit 32, after getting analog value, determines whether the number of the analog value preserved reaches setting number at every turn.
Storage unit 33, if reach setting number for the number of the analog value preserved, deletes acquisition time analog value the earliest in the analog value preserved, and preserves the analog value obtained; If the number of the analog value preserved does not reach setting number, preserve the analog value obtained.
Computing unit 34, for calculating the mean value of the analog value preserved.
Conversion unit 35, transformation model corresponding to the type for use traffic meter transforms mean value, obtains the energy flow value within the correspondence acquisition cycle.
In the program, owing to can calculate the mean value of the analog value preserved when processing energy flow value, thus the accuracy of the energy flow value finally obtained can be improved, reducing error; Further, this mean value can also being transformed the transformation model corresponding according to the type of flowmeter, obtain the energy flow value within the correspondence acquisition cycle, without the need to again by manually changing according to flow meter type, the efficiency of process energy flow value can be improved.
Concrete, above-mentioned computing unit 34, specifically for:
Determine the maximal value in the analog value preserved and minimum value;
Calculate in the analog value preserved the mean value after removing maximal value and minimum value.
Concrete, above-mentioned conversion unit 35, specifically for:
Determine the type of flowmeter;
Obtain the transformation model that the type of flowmeter is corresponding;
Mean value is brought in transformation model corresponding to the type of flowmeter, obtain the energy flow value within the correspondence acquisition cycle.
Concrete, above-mentioned conversion unit 35, specifically for:
If the type of flowmeter is electromagnetic flowmeter, then the transformation model that electromagnetic flowmeter is corresponding is wherein, F outfor the energy flow value after conversion, T is the mean value of the analog value preserved, V maxfor the maximum range of flowmeter, V minfor the minimum range of flowmeter;
If the type of flowmeter is difference flowmeter, then the transformation model that difference flowmeter is corresponding is wherein, k is the intrinsic coefficient of flowmeter, F outfor the energy flow value after conversion, T is the mean value of the analog value preserved, V maxfor the maximum range of flowmeter.
Be illustrated in figure 4 the another kind of energy flow value treating apparatus based on flowmeter, on the basis of device as shown in Figure 3, also comprise alarm unit 36, for:
After getting analog value, the analog value of acquisition and max-thresholds and minimum threshold are compared at every turn;
If the analog value obtained exceedes max-thresholds, then send analog value superelevation and report to the police;
If the analog value obtained is less than minimum threshold, then send the ultralow warning of analog value.
Be illustrated in figure 5 another energy flow value treating apparatus based on flowmeter, on the basis of device as shown in Figure 3, also comprise accumulated unit 37, for:
Whether monitor current integration periods to expire, current integration periods comprises at least one acquisition cycle;
If current integration periods is not yet due, the energy usage that the energy usage shown in the first display module was added up in the current acquisition cycle, and show at the first display module, the energy usage in the second display module in display in an integration periods;
If current integration periods expires, the energy usage in the first display module is presented in the second display module, and the energy usage in the first display module resets.
Concrete, above-mentioned accumulated unit 37, specifically for:
After energy flow value in the current acquisition cycle is carried out unit conversion, be multiplied with the current acquisition cycle, obtain the energy usage in the current acquisition cycle;
The fractional value of energy usage in the current acquisition cycle with the energy usage in the upper acquisition cycle is added;
Using obtain with the fraction part of the value fractional value as the energy usage in the current acquisition cycle, by being added with the energy usage shown in the first display module with the integral part of value of obtaining.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Although describe optional embodiment of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the embodiment of the present invention and not depart from the spirit and scope of the embodiment of the present invention.Like this, if these amendments of the embodiment of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (14)

1., based on an energy flow value disposal route for flowmeter, it is characterized in that, comprising:
To obtain the analog value that the cycle obtains flowmeter collection;
After getting analog value, determine whether the number of the analog value preserved reaches setting number at every turn;
If the number of the analog value preserved reaches described setting number, delete acquisition time analog value the earliest in the analog value preserved, and preserve the analog value obtained; If the number of the analog value preserved does not reach described setting number, preserve the analog value obtained;
Calculate the mean value of the analog value preserved;
Use transformation model corresponding to the type of described flowmeter to transform described mean value, obtain the energy flow value within the correspondence acquisition cycle.
2. the method for claim 1, is characterized in that, calculates the mean value of the analog value preserved, specifically comprises:
Determine the maximal value in the analog value preserved and minimum value;
Calculate in the analog value preserved the mean value after removing described maximal value and described minimum value.
3. the method for claim 1, is characterized in that, uses transformation model corresponding to the type of described flowmeter to transform described mean value, obtains the energy flow value within the correspondence acquisition cycle, specifically comprise:
Determine the type of described flowmeter;
Obtain the transformation model that the type of described flowmeter is corresponding;
Described mean value is brought in transformation model corresponding to the type of described flowmeter, obtain the energy flow value within the correspondence acquisition cycle.
4. method as claimed in claim 3, is characterized in that, obtain the transformation model that the type of described flowmeter is corresponding, specifically comprise:
If the type of described flowmeter is electromagnetic flowmeter, then the transformation model that electromagnetic flowmeter is corresponding is wherein, F outfor the energy flow value after conversion, T is the mean value of the analog value preserved, V maxfor the maximum range of described flowmeter, V minfor the minimum range of described flowmeter;
If the type of described flowmeter is difference flowmeter, then the transformation model that difference flowmeter is corresponding is wherein, k is the intrinsic coefficient of described flowmeter, F outfor the energy flow value after conversion, T is the mean value of the analog value preserved, V maxfor the maximum range of described flowmeter.
5. the method for claim 1, is characterized in that, also comprises:
After getting analog value, the analog value of acquisition and max-thresholds and minimum threshold are compared at every turn;
If the analog value obtained exceedes described max-thresholds, then send analog value superelevation and report to the police;
If the analog value obtained is less than described minimum threshold, then send the ultralow warning of analog value.
6. the method as described in as arbitrary in claim 1-5, is characterized in that, also comprise:
Whether monitor current integration periods to expire, described current integration periods comprises the acquisition cycle described at least one;
If described current integration periods is not yet due, the energy usage energy usage shown in first display module added up in the described current acquisition cycle, and show at described first display module, the energy usage in the second display module in display in an integration periods;
If described current integration periods expires, the energy usage in the first display module is presented in the second display module, and the energy usage in described first display module resets.
7. method as claimed in claim 6, it is characterized in that, the energy usage energy usage shown in the first display module added up in the described current acquisition cycle, specifically comprises:
After energy flow value in the described current acquisition cycle is carried out unit conversion, be multiplied with the described current acquisition cycle, obtain the energy usage in the described current acquisition cycle;
The fractional value of energy usage in the described current acquisition cycle with the energy usage in the upper acquisition cycle is added;
Using obtain with the fraction part of the value fractional value as the energy usage in the described current acquisition cycle, by being added with the energy usage shown in described first display module with the integral part of value of obtaining.
8., based on an energy flow value treating apparatus for flowmeter, it is characterized in that, comprising:
Acquiring unit, for the analog value to obtain the collection of cycle acquisition flowmeter;
Determining unit, after getting analog value, determines whether the number of the analog value preserved reaches setting number at every turn;
Storage unit, if reach described setting number for the number of the analog value preserved, deletes acquisition time analog value the earliest in the analog value preserved, and preserves the analog value obtained; If the number of the analog value preserved does not reach described setting number, preserve the analog value obtained;
Computing unit, for calculating the mean value of the analog value preserved;
Conversion unit, for using transformation model corresponding to the type of described flowmeter to transform described mean value, obtains the energy flow value within the correspondence acquisition cycle.
9. device as claimed in claim 8, is characterized in that, described computing unit, specifically for:
Determine the maximal value in the analog value preserved and minimum value;
Calculate in the analog value preserved the mean value after removing described maximal value and described minimum value.
10. device as claimed in claim 8, is characterized in that, described conversion unit, specifically for:
Determine the type of described flowmeter;
Obtain the transformation model that the type of described flowmeter is corresponding;
Described mean value is brought in transformation model corresponding to the type of described flowmeter, obtain the energy flow value within the correspondence acquisition cycle.
11. devices as claimed in claim 10, is characterized in that, described conversion unit, specifically for:
If the type of described flowmeter is electromagnetic flowmeter, then the transformation model that electromagnetic flowmeter is corresponding is wherein, F outfor the energy flow value after conversion, T is the mean value of the analog value preserved, V maxfor the maximum range of described flowmeter, V minfor the minimum range of described flowmeter;
If the type of described flowmeter is difference flowmeter, then the transformation model that difference flowmeter is corresponding is wherein, k is the intrinsic coefficient of described flowmeter, F outfor the energy flow value after conversion, T is the mean value of the analog value preserved, V maxfor the maximum range of described flowmeter.
12. devices as claimed in claim 8, is characterized in that, also comprise alarm unit, for:
After getting analog value, the analog value of acquisition and max-thresholds and minimum threshold are compared at every turn;
If the analog value obtained exceedes described max-thresholds, then send analog value superelevation and report to the police;
If the analog value obtained is less than described minimum threshold, then send the ultralow warning of analog value.
13. as arbitrary in claim 8-12 as described in device, it is characterized in that, also comprise accumulated unit, for:
Whether monitor current integration periods to expire, described current integration periods comprises the acquisition cycle described at least one;
If described current integration periods is not yet due, the energy usage energy usage shown in first display module added up in the described current acquisition cycle, and show at described first display module, the energy usage in the second display module in display in an integration periods;
If described current integration periods expires, the energy usage in the first display module is presented in the second display module, and the energy usage in described first display module resets.
14. devices as claimed in claim 13, is characterized in that, described accumulated unit, specifically for:
After energy flow value in the described current acquisition cycle is carried out unit conversion, be multiplied with the described current acquisition cycle, obtain the energy usage in the described current acquisition cycle;
The fractional value of energy usage in the described current acquisition cycle with the energy usage in the upper acquisition cycle is added;
Using obtain with the fraction part of the value fractional value as the energy usage in the described current acquisition cycle, by being added with the energy usage shown in described first display module with the integral part of value of obtaining.
CN201410632876.8A 2014-11-11 2014-11-11 A kind of energy flow value processing method and processing device based on flowmeter Active CN104331624B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410632876.8A CN104331624B (en) 2014-11-11 2014-11-11 A kind of energy flow value processing method and processing device based on flowmeter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410632876.8A CN104331624B (en) 2014-11-11 2014-11-11 A kind of energy flow value processing method and processing device based on flowmeter

Publications (2)

Publication Number Publication Date
CN104331624A true CN104331624A (en) 2015-02-04
CN104331624B CN104331624B (en) 2017-06-06

Family

ID=52406347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410632876.8A Active CN104331624B (en) 2014-11-11 2014-11-11 A kind of energy flow value processing method and processing device based on flowmeter

Country Status (1)

Country Link
CN (1) CN104331624B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108801320A (en) * 2017-04-28 2018-11-13 中国石油天然气股份有限公司 A kind of diagnostic method of natural gas metering system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1108385A (en) * 1993-07-09 1995-09-13 株式会社东芝 Electromagnetic flowmeter
JPH0915006A (en) * 1995-06-26 1997-01-17 Toho Gas Co Ltd Gas flow meter
CN1908592A (en) * 2005-08-03 2007-02-07 侯安亮 Ultrasonic flowmeter and its theory and technique
CN1975349A (en) * 1999-06-24 2007-06-06 松下电器产业株式会社 Flowmeter
CN102607653A (en) * 2012-04-06 2012-07-25 清华大学 Pipeline flow-velocity imaging and flow measuring method based on ultrasonic

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1108385A (en) * 1993-07-09 1995-09-13 株式会社东芝 Electromagnetic flowmeter
JPH0915006A (en) * 1995-06-26 1997-01-17 Toho Gas Co Ltd Gas flow meter
CN1975349A (en) * 1999-06-24 2007-06-06 松下电器产业株式会社 Flowmeter
CN1908592A (en) * 2005-08-03 2007-02-07 侯安亮 Ultrasonic flowmeter and its theory and technique
CN102607653A (en) * 2012-04-06 2012-07-25 清华大学 Pipeline flow-velocity imaging and flow measuring method based on ultrasonic

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108801320A (en) * 2017-04-28 2018-11-13 中国石油天然气股份有限公司 A kind of diagnostic method of natural gas metering system
CN108801320B (en) * 2017-04-28 2020-12-01 中国石油天然气股份有限公司 Diagnosis method of natural gas measurement system

Also Published As

Publication number Publication date
CN104331624B (en) 2017-06-06

Similar Documents

Publication Publication Date Title
CN104219315B (en) A kind of operation monitoring system of power information acquisition system and method for supervising thereof
CN102223264B (en) Alarm processing method and alarm processing system for monitoring system
CN103020754A (en) Line loss analysis management system and line loss analysis management method
CN103310294A (en) Energy performance contracting system
CN110502719A (en) Edge calculations model management system and method
CN105137928A (en) Full-automatic production line data collection method and system thereof
CN202758232U (en) Distributed real-time data acquisition and monitoring system
CN104331624A (en) Flowmeter-based energy flow value processing method and flowmeter-based energy flow value processing device
CN204557190U (en) Based on the wheat processing process energy-consumption monitoring system of technology of Internet of things
CN106227181A (en) A kind of quick lime production line energy consumption intelligent monitor system
CN103499969A (en) Control system common-mode and series-mode rejection ratio testing method
CN104573366A (en) Method for verifying electric quantity data based on calculation of electric power load integrals
CN104281140A (en) Manufacturing enterprise energy monitoring system
CN116307886A (en) Method and device for monitoring production state of enterprise in real time
CN106849346A (en) A kind of system for testing power distribution automation equipment time adjustment function and timekeeping performance
CN103631232A (en) Data monitoring control method and data monitoring control device
CN104765348A (en) Energy amount measuring system
CN204165598U (en) There is the gas intelligent metering system of real time alarm function
CN204205594U (en) Limit for tonnage circuit breaker at times
CN102542415A (en) State analysis method for power system equipment and system
CN203786788U (en) Intelligent timing and counting system
CN112107977A (en) Automatic pH value adjusting method, system and device based on desulfurization system
CN205016061U (en) Belt feeder system ton consumes supervisory equipment and system
CN203250203U (en) Operator-based field statistical process control (SPC) execution unit
CN215956115U (en) Early warning system based on digital power distribution network model

Legal Events

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