CN117990173A - Flow instant impact detection method and flowmeter - Google Patents

Flow instant impact detection method and flowmeter Download PDF

Info

Publication number
CN117990173A
CN117990173A CN202211356027.5A CN202211356027A CN117990173A CN 117990173 A CN117990173 A CN 117990173A CN 202211356027 A CN202211356027 A CN 202211356027A CN 117990173 A CN117990173 A CN 117990173A
Authority
CN
China
Prior art keywords
pressure signal
preset
pipeline
value
flow
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
CN202211356027.5A
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.)
TANCY INSTRUMENT GROUP CO Ltd
Original Assignee
TANCY INSTRUMENT GROUP 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 TANCY INSTRUMENT GROUP CO Ltd filed Critical TANCY INSTRUMENT GROUP CO Ltd
Priority to CN202211356027.5A priority Critical patent/CN117990173A/en
Publication of CN117990173A publication Critical patent/CN117990173A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measuring Volume Flow (AREA)

Abstract

According to the flow instant impact detection method and the flow meter, the first pressure signal in the pipeline is collected through the pressure sensor, and when the voltage comparator judges that the first pressure signal meets the preset early warning condition, the microcontroller is awakened; under the condition that whether the second pressure signal acquired by the pressure sensor has pressure mutation or not is judged by the microcontroller, calculating the change rate of the flow value acquired by the flowmeter, and judging whether the change rate of the flow value is larger than a threshold value of the change rate of a preset flow value or not; if the change rate of the flow value is greater than a preset threshold value of the change rate of the flow value, the microcontroller generates an early warning signal for prompting abnormal opening of the valve on the pipeline and/or triggers the valve to be closed. Compared with the prior art, the application can effectively prevent the damage of the flowmeter of the pipeline caused by larger impact force, thereby ensuring more accurate counting.

Description

Flow instant impact detection method and flowmeter
Technical Field
The application relates to the technical field of flowmeters, in particular to a flow instant impact detection method and a flowmeter.
Background
The turbine and the Roots flowmeter are a speed type flow metering device with temperature and pressure compensation functions, and belong to a speed type flowmeter, and the working principle is as follows: the power of the flowing fluid drives the turbine blades to rotate at a rotational speed approximately proportional to the volumetric flow rate, and the volumetric indication of the fluid through the meter is based on the number of turbine wheel revolutions. The turbine flowmeter has the characteristics of high measurement precision, good repeatability and stability, wide measuring range, rapid flow change reaction, strong anti-interference capability, convenient signal transmission and the like, is widely applied to the fields of petroleum, chemical industry, electric power, gas pipe networks, urban gas and the like, and is widely applied to trade billing, and the application fields of the turbine flowmeter include, but are not limited to: urban fuel gas field.
In daily life, a valve in a pipeline is usually slowly opened when people use natural gas or tap water, and when the valve is suddenly opened at a large rotation angle, the pipeline can be caused to rapidly flow a large flow in a short time, so that the pressure in the pipeline is suddenly increased, and the suddenly increased pressure can cause the rotating parts of a turbine and a roots flowmeter to be damaged or blocked, so that the turbine and the roots flowmeter of the pipeline can not accumulate the flow of the pipeline.
Disclosure of Invention
The application provides a method for detecting flow instant impact and a flowmeter, which are used for solving the problems that in the prior art, the pressure in a pipeline is increased due to abnormal opening of a valve, so that rotating parts of a turbine and a roots flowmeter in the pipeline are damaged, and the pipeline flow accumulation cannot be accurately carried out.
In a first aspect, the present application provides a method for detecting instantaneous flow shocks, the method being applied to a flow meter on a pipeline, the flow meter comprising: the device comprises a pressure sensor, a comparison voltage generator, a voltage comparator respectively connected with the pressure sensor and the comparison voltage generator, and a microcontroller respectively connected with the pressure sensor, the comparison voltage generator and the voltage comparator;
The detection method comprises the following steps:
A first pressure signal in the conduit acquired by the pressure sensor;
The voltage comparator judges whether the first pressure signal meets a preset early warning condition according to a first preset pressure signal in the comparison voltage generator and the position relation between the valve on the pipeline and the flowmeter;
if the first pressure signal meets a preset early warning condition, the voltage comparator sends a pulse signal to wake up the microcontroller;
The microcontroller calculates a difference value between a second pressure signal collected by the pressure sensor in the pipeline and a third pressure signal collected by the pressure sensor in the pipeline, and judges whether the difference value is larger than a preset difference value threshold value or not;
If the difference value is larger than a preset difference value threshold value, the microcontroller calculates the change rate of the flow value acquired by the flowmeter and judges whether the change rate of the flow value is larger than a preset threshold value of the change rate of the flow value;
if the change rate of the flow value is larger than a preset threshold value of the change rate of the flow value, the microcontroller generates an early warning signal for prompting abnormal opening of a valve on the pipeline and/or triggers closing of the valve;
The second pressure signal is a pressure signal in the pipeline collected by the microcontroller through the pressure sensor after the pulse signal is passively awakened, and the third pressure signal is a pressure signal in the pipeline collected by the microcontroller through the pressure sensor after the pulse signal is actively awakened according to preset time.
In a specific embodiment, the determining, by the voltage comparator, whether the first pressure signal meets a preset early warning condition according to a first preset pressure signal in the comparison voltage generator and a positional relationship between the valve on the pipeline and the flowmeter includes:
if the valve is positioned at the upstream end of the flowmeter and the first pressure signal is larger than the first preset pressure signal, the voltage comparator judges that the first pressure signal meets the preset early warning condition;
Or alternatively
If the valve is positioned at the downstream end of the flowmeter and the first pressure signal is smaller than the first preset pressure signal, the voltage comparator judges that the first pressure signal meets the preset early warning condition.
In a specific embodiment, the microcontroller calculates a rate of change of the flow value acquired by the flow meter, comprising:
When the microcontroller determines that the difference value is larger than a preset difference value threshold value, acquiring a first flow value acquired by the flowmeter, and recording first acquisition time when the flowmeter acquires the first flow value;
acquiring a second acquisition time adjacent to the first acquisition time and a second flow value corresponding to the second acquisition time from a flow value data table;
And calculating a first difference value between the first flow value and the second flow value and a second difference value between the first acquisition time and the second acquisition time, and calculating a ratio of the first difference value to the second difference value to obtain the change rate of the first flow value.
In a specific embodiment, the microcontroller enters the sleep state when it determines that the difference is less than or equal to a preset difference threshold, or when it determines that the rate of change of the flow value is less than or equal to a preset threshold of the rate of change of the flow value.
In a specific embodiment, the microcontroller enters the sleep state when it determines that the difference is less than or equal to a preset difference threshold, or when it determines that the rate of change of the flow value is less than or equal to a preset threshold of the rate of change of the flow value.
In a second aspect, the present application provides a flow meter comprising:
the acquisition module is used for acquiring a first pressure signal in the pipeline by the pressure sensor;
The processing module is used for judging whether the first pressure signal meets a preset early warning condition according to a first preset pressure signal in the comparison voltage generator and the position relation between the valve on the pipeline and the flowmeter by the voltage comparator;
the control module is used for controlling the voltage comparator to send a pulse signal and waking up the microcontroller if the first pressure signal meets a preset early warning condition;
The processing module is used for calculating a difference value between a second pressure signal collected by the pressure sensor and a third pressure signal collected by the pressure sensor in the pipeline, calculating the change rate of a flow value collected by the flowmeter when the difference value is judged to be larger than a preset difference value threshold, generating an early warning signal for prompting abnormal opening of a valve on the pipeline when the change rate of the flow value is judged to be larger than a preset change rate threshold of the flow value, and/or triggering to close the valve;
The second pressure signal is a pressure signal in the pipeline collected by the microcontroller through the pressure sensor after the pulse signal is passively awakened, and the third pressure signal is a pressure signal in the pipeline collected by the microcontroller through the pressure sensor after the pulse signal is actively awakened according to preset time.
In a specific embodiment, the processing module is further configured to, if the valve is located at an upstream end of the flowmeter and the first pressure signal is greater than the first preset pressure signal, determine that the first pressure signal meets the preset early warning condition by the voltage comparator, or if the valve is located at a downstream end of the flowmeter and the first pressure signal is less than the first preset pressure signal, determine that the preset early warning condition is met by the voltage comparator.
In a specific embodiment, the processing module is further configured to obtain a first flow value collected by the flow meter when the microcontroller determines that the difference is greater than a preset difference threshold, and record a first collection time when the flow meter collects the first flow value; acquiring a second acquisition time adjacent to the first acquisition time and a second flow value corresponding to the previous acquisition time from a flow value data table; and calculating a first difference value between the first flow value and the second flow value and a second difference value between the first acquisition time and the second acquisition time, and calculating a ratio of the first difference value to the second difference value to obtain the change rate of the first flow value.
In a specific embodiment, the processing module is further configured to enter a sleep state when the microcontroller determines that the difference is less than or equal to a preset difference threshold, or determines that the rate of change of the flow value is less than or equal to a threshold of a preset rate of change of the flow value.
In a specific embodiment, the processing module is further configured to update the first preset pressure signal stored in the comparison voltage generator according to the fourth pressure signal in the pipeline collected by the pressure sensor when the microcontroller detects that the valve is closed and determines that the pressure in the pipeline is stable.
The application provides a method for detecting flow instant impact and a flowmeter, wherein the method is applied to the flowmeter in a pipeline, and the flowmeter in the pipeline comprises the following steps: the device comprises a pressure sensor, a comparison voltage generator, a voltage comparator respectively connected with the pressure sensor and the comparison voltage generator, and a microcontroller respectively connected with the pressure sensor, the comparison voltage generator and the voltage comparator. A first pressure signal in the conduit acquired by the pressure sensor; the voltage comparator judges whether the first pressure signal meets a preset early warning condition according to a first preset pressure signal in the comparison voltage generator and the position relation between the valve on the pipeline and the flowmeter; if the first pressure signal meets a preset early warning condition, the voltage comparator sends a pulse signal to wake up the microcontroller; the microcontroller calculates a difference value between a second pressure signal collected by the pressure sensor in the pipeline and a third pressure signal collected by the pressure sensor in the pipeline, and judges whether the difference value is larger than a preset difference value threshold value or not; if the difference value is larger than a preset difference value threshold value, the microcontroller calculates the change rate of the flow value acquired by the flowmeter and judges whether the change rate of the flow value is larger than a preset threshold value of the change rate of the flow value; if the change rate of the flow value is larger than a preset threshold value of the change rate of the flow value, the microcontroller generates an early warning signal for prompting abnormal opening of a valve on the pipeline and/or triggers closing of the valve; the second pressure signal is a pressure signal in the pipeline collected by the microcontroller through the pressure sensor after the pulse signal is passively awakened, and the third pressure signal is a pressure signal in the pipeline collected by the microcontroller through the pressure sensor after the pulse signal is actively awakened according to preset time. The application monitors whether the pressure signal in the pipeline meets the preset early warning condition or not through the pressure sensor and the comparison voltage generator based on the voltage comparator, and wakes the microcontroller when the pressure signal in the pipeline meets the preset early warning condition, so that the microcontroller further determines whether the valve on the pipeline is abnormally opened or not based on the pressure signal and the flow value in the pipeline, and generates the early warning signal when the abnormal opening is determined, so as to close the valve, thereby avoiding the damage of the rotating parts of the turbine and the roots flowmeter, and accumulating the flow of the pipeline.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions of the prior art, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it will be obvious that the drawings in the following description are some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort to a person skilled in the art.
FIG. 1 is a schematic illustration of a flow meter structure according to the present application;
FIG. 2 is a schematic diagram of a method for detecting flow transient impact according to the present application;
FIG. 3 is a schematic diagram of a rising edge pulse signal according to the present application;
FIG. 4 is a schematic diagram of a falling edge pulse signal according to the present application;
fig. 5 is a schematic view of still another flowmeter structure according to the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which are made by a person skilled in the art based on the embodiments of the application in light of the present disclosure, are intended to be within the scope of the application.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The turbine and the Buddha flowmeter in the pipeline for transmitting living resources such as water, natural gas and the like accumulate the use flow value of the user through the internal rotating part for reference by the user.
The valve of the pipeline can be opened manually or intelligently based on the internet of things technology. When the valve is opened, the valve may be rapidly opened in a short time, so that the flow in the pipeline is rapidly circulated in a short time, the pressure in the pipeline is rapidly increased due to the larger flow, and the rotating part of the turbine flowmeter or the roots flowmeter for accumulating the used flow on the pipeline is damaged and blocked easily, so that the flow of the pipeline cannot be accumulated.
Based on the technical problems, the application concept of the application is as follows: how to solve the problem that the turbine and the roots flowmeter are damaged due to pressure surge in the pipeline and the flow can not be accurately accumulated after the turbine and the roots flowmeter are damaged.
Fig. 1 is a schematic diagram of a flow meter on a pipeline according to the present application, and as shown in fig. 1, the flow meter 10 includes: a pressure sensor 101, a comparison voltage generator 102, a voltage comparator 103 and a microcontroller 104.
It should be noted that, in this embodiment, the flow meter on the pipe may specifically be: flow meters with rotating components, such as turbine flow meters, roots flow meters, and the like, this embodiment includes but is not limited to both types of flow meters.
The technical scheme of the application is described in detail through specific embodiments. It should be noted that the following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
Fig. 2 is a schematic diagram of a method for detecting flow transient impact according to the present application, as shown in fig. 2, the method includes:
Step 201, a first pressure signal in a pipeline collected by a pressure sensor.
Specifically, in this embodiment, the first pressure signal acquired by the pressure sensor 101 may be acquired according to a certain time interval value or in real time, and correspondingly, the pressure sensor 101 may acquire the pressure value in the primary pipeline according to a preset time interval value, for example, 20s, or acquire the pressure value in the pipeline in real time.
Step 202, the voltage comparator judges whether the first pressure signal meets a preset early warning condition according to the first preset pressure signal in the voltage generator and the position relation of the valve and the flowmeter on the pipeline.
Specifically, the voltage comparator 103 has two inputs: "+ input" and "-input", provided that "+ input" is used to receive the first pressure signal from the pressure sensor 101, and "-input" is used to receive the first preset pressure signal from the comparison voltage generator 102.
Accordingly, the operating principle of the voltage comparator 103 may be embodied as: when the "+ input terminal" pressure signal of the voltage comparator 103 is higher than the "+ input terminal" pressure signal, the voltage comparator 103 outputs a rising edge pulse signal; when the "+ input" pressure signal of the voltage comparator 103 is low "-input" pressure signal, the voltage comparator outputs as a falling-edge pulse signal.
Fig. 3 is a schematic diagram of a rising edge pulse signal according to the present application, as shown in fig. 2, the abscissa indicates an input terminal, the ordinate indicates a pressure signal, and when the "+ input terminal" pressure is a relatively low value and the "-input terminal" pressure signal is a relatively high value, a rising edge pulse signal is generated in the voltage comparator.
Fig. 4 is a schematic diagram of a falling edge pulse signal provided in the present application, as shown in fig. 3, the abscissa indicates an input terminal, the ordinate indicates a pressure signal, and when the "+ input terminal" pressure is a relatively high value and the "-input terminal" pressure signal is a relatively low value, a falling edge pulse signal is generated in the voltage comparator.
More specifically, the positional relationship between the valve and the flowmeter on the pipeline may specifically be: the valve is located upstream of the flow meter and the valve is located downstream of the flow meter. Correspondingly, according to the position relation between the valve and the flowmeter, pre-storing the corresponding pre-warning condition in the embodiment.
Based on the method, the relation between the determined first pressure signal and the first preset pressure signal is compared with pre-stored early warning conditions to determine whether a valve on a pipeline is opened or not, and whether impact force in the pipeline can damage a transmission part of a flowmeter or not when the valve is opened or not is determined.
Further, when it is determined that the first pressure signal meets the preset pre-warning condition, step 203 is executed, so as to further determine whether the flowmeter on the pipeline is damaged by the instantaneous impact force.
Step 203, the voltage comparator sends a pulse signal to wake up the microcontroller.
In this embodiment, when the voltage comparator 103 determines that the first pressure signal and the first preset pressure signal meet the preset early warning condition, that is, when the valve on the pipeline is detected to be in the open state, a corresponding pulse signal is generated in the voltage comparator, such as a rising edge pulse signal or a falling edge pulse signal, so as to wake the microcontroller 104 from the sleep state to the wake-up state, thereby facilitating to further determine whether the rotating component of the flowmeter on the pipeline is damaged by the impact force due to the opening of the valve.
And 204, the microcontroller calculates a difference value between the second pressure signal collected by the pressure sensor and the third pressure signal collected by the pressure sensor, and judges whether the difference value is larger than a preset difference value threshold value.
The second pressure signal is a pressure signal in a pipeline collected by the microcontroller 104 through the pressure sensor 101 after being passively awakened by a pulse signal, and the third pressure signal is a pressure signal in a pipeline collected by the microcontroller 104 through the pressure sensor after being actively awakened according to a preset time.
It should be noted that, the microcontroller 104 in this embodiment not only can wake up through the pulse signal generated by the voltage comparator 103, that is, the microcontroller 104 is in a passive wake-up state, but also can wake up periodically according to a preset time value, so as to further confirm whether the flowmeter on the pipeline is damaged, that is, the microcontroller 104 is in an autonomous wake-up state; correspondingly, when the microcontroller 104 is in the autonomous wake-up state or the passive wake-up state, the microcontroller can acquire the voltage signal in the primary pipeline through the pressure sensor 101, and store the acquired pressure signal into a corresponding pressure signal data table, including the time value of each time the pressure sensor 101 acquires the pressure signal.
In particular, when the microcontroller 104 is in the awake state, this indicates that the rotating components of the flow meter on the pipe are being damaged by the impact forces in the pipe.
Based on this, the microcontroller 104 will acquire the second pressure signal acquired by the pressure sensor 101 in the pipeline, and at the same time, the microcontroller also needs to acquire, in the pressure signal data table, the third pressure signal acquired in the autonomous wake-up state adjacent to the time value of the second pressure signal currently acquired, and perform difference processing on the acquired second pressure signal and the third pressure signal, so as to acquire a difference value between the second pressure signal and the third pressure signal, and compare the difference value with a pre-stored threshold value of the difference value, so as to determine whether the pressure mutation condition occurs in the current pipeline.
If a mutation occurs, step 205 is performed, otherwise step 207 is performed.
It should be noted that, the pre-stored difference threshold in the microcontroller 104 is used as a criterion for judging whether the pressure abrupt change occurs, and the pre-stored difference threshold in this embodiment includes, but is not limited to: the field is set according to practical experience.
When it is determined that the difference is greater than the preset difference threshold, step 205 is performed, and otherwise step 208 is performed.
Step 205, the microcontroller calculates the rate of change of the flow value acquired by the flowmeter, and judges whether the rate of change of the flow value is greater than a preset threshold value of the rate of change of the flow value.
Specifically, to further determine whether the current flow meter on the pipeline is damaged by the instantaneous impact force, and to prevent the situation that the flow meter on the pipeline is triggered by mistake and the instantaneous impact force alarms, the microcontroller 104 needs to acquire the flow value in the current pipeline by means of the flow meter, and record the time of the current acquired flow value, so as to acquire the last acquired flow value in the flow value data table.
More specifically, based on the time and flow values of the two acquired flow values, calculating a change rate of the current acquired flow value, comparing the change rate with a pre-stored flow change rate, and if the flow change rate is greater than the pre-stored flow change rate, executing step 206; if the flow rate is less than or equal to the pre-stored flow rate, step 207 is performed.
The threshold value of the rate of change of the flow value in this embodiment is set by a technician according to the specific application location of the flow meter, and should be determined according to the actual situation, and no specific limitation is applied thereto.
Step 206, the microcontroller generates an early warning signal for prompting abnormal opening of the valve on the pipeline and/or triggers closing of the valve.
Specifically, when it is determined that the current flow value has a rate of change greater than a preset flow value threshold, and when it is indicated that the pipeline pressure suddenly changes and the flow value flowing in the pipeline suddenly increases, the valve on the pipeline is abnormally opened, so that the pressure and the flow value in the pipeline can suddenly increase in a short time, and the microcontroller 104 determines that the impact force in the pipeline is too large due to the abnormal opening of the valve of the current pipeline, and performs impact force early warning processing, such as continuous or intermittent alarm prompt sound emission.
In order to further ensure that the flowmeter is not damaged by impact force in the pipeline, the microcontroller 104 can also be enabled to send closing instruction information to trigger the valve of the pipeline to enter an automatic closing program and execute the closing instruction, so that the condition that the flowmeter is damaged by huge impact force is timely prevented.
It should be noted that, in practical application, when it is determined that the impact force in the pipeline is too large, the impact force can be processed according to the provided processing modes alone, or the two processing modes can be combined with each other to be processed, that is, after an alarm prompt tone is sent, the valve is triggered to enter an automatic closing program within a preset time.
Step 207, entering a sleep state.
Specifically, when the microcontroller 104 determines that the difference between the second pressure signal and the third pressure signal is not greater than the preset difference threshold, it indicates that no abrupt pressure change exists in the current pipeline. Or in the case that the pressure in the pipeline suddenly changes, the microcontroller 104 determines that the current flow value has a rate of change not greater than the threshold value of the rate of change of the flow value, which indicates that the flow rate does not suddenly increase although the pressure in the pipeline suddenly changes, that is, the valve on the pipeline is in a slowly opened state, and the condition that the flow meter on the pipeline is damaged does not exist, so that corresponding processing is not needed, and the flow meter on the pipeline is put into the dormant state again.
Step 208, the microcontroller is not woken up.
If the difference is not greater than the preset difference threshold, the condition that the flowmeter on the current pipeline is not damaged is indicated, and the microcontroller is not required to be awakened under the condition in consideration of energy saving.
In this embodiment, the present application provides a method for detecting flow transient impact, which uses a first pressure signal in a pipeline collected by a pressure sensor; the voltage comparator judges whether the first pressure signal meets the preset early warning condition according to the first preset pressure signal in the voltage generator and the position relation between the valve and the flowmeter on the pipeline; if the first pressure signal meets the preset early warning condition, the voltage comparator sends a pulse signal to wake up the microcontroller; the microcontroller calculates a difference value between a second pressure signal collected by the pressure sensor and a third pressure signal collected by the pressure sensor, and judges whether the difference value is larger than a preset difference value threshold value; if the difference value is larger than a preset difference value threshold value, the microcontroller calculates the change rate of the flow value acquired by the flowmeter and judges whether the change rate of the flow value is larger than a preset threshold value of the change rate of the flow value; if the change rate of the flow value is greater than a preset threshold value of the change rate of the flow value, the microcontroller generates an early warning signal for prompting abnormal opening of a valve on the pipeline and/or triggers the valve to be closed; the second pressure signal is a pressure signal in a pipeline collected by the microcontroller through the pressure sensor after being passively awakened by the pulse signal, and the third pressure signal is a pressure signal in a pipeline collected by the microcontroller through the pressure sensor after being actively awakened according to preset time. The application monitors whether the pressure signal in the pipeline meets the preset early warning condition or not through the pressure sensor and the comparison voltage generator based on the voltage comparator, and wakes the microcontroller when the pressure signal in the pipeline meets the preset early warning condition, so that the microcontroller further determines whether the valve on the pipeline is abnormally opened or not based on the pressure signal and the flow value in the pipeline, and generates the early warning signal when the abnormal opening is determined, so as to close the valve, thereby avoiding the damage of the rotating parts of the turbine and the roots flowmeter, and accumulating the flow of the pipeline.
Example two
Based on the above embodiment, based on the positional relationship between the valve and the flowmeter, the voltage comparator 103 may be embodied as follows when determining whether the first voltage signal and the first preset pressure signal meet the preset early warning condition:
Case one: if the valve is positioned at the upstream end of the flowmeter and the first pressure signal is larger than the first preset pressure signal, the voltage comparator judges that the first pressure signal meets the preset early warning condition.
Specifically, the valve is located at the upstream end of the flow meter, i.e., the valve mounting location is located at the forward end of the flow meter mounting location.
In this positional relationship, when the valve is not opened, the pressure signal value collected by the pressure sensor 101 disposed inside the flow meter is a relatively low pressure signal, that is, "+ the pressure signal at the input" is a relatively low signal, and when the valve is opened, the pressure signal collected by the flow meter pressure sensor 101 becomes a relatively high pressure signal.
Therefore, when the valve is located at the upstream end of the flowmeter, the preset pre-warning condition should be: the first pressure signal is greater than a first preset pressure signal.
That is, when the valve on the pipeline is in the open state, the microcontroller 104 may be awakened when a rising-edge pulse signal as shown in fig. 2 is generated in the voltage comparator 103.
And a second case: if the valve is positioned at the downstream end of the flowmeter and the first pressure signal is smaller than the first preset pressure signal, the voltage comparator judges that the first pressure signal meets the preset early warning condition.
Specifically, when the valve is located at the downstream end of the flow meter, i.e., the valve mounting location is located at the rear end of the flow meter mounting location.
In this positional relationship, when the valve is not opened, the pressure signal value collected by the pressure sensor 101 disposed inside the flow meter is a relatively high pressure signal, that is, "+ the pressure signal at the input" is a relatively high signal, and when the valve is opened, the pressure signal collected by the flow meter pressure sensor 101 becomes a relatively low pressure signal.
Based on this, when the valve is located at the downstream end of the flow meter, the preset pre-warning condition may be set such that the first pressure signal is less than the first preset pressure signal.
That is, when the valve on the pipeline is in the open state, the microcontroller 104 may be awakened when a falling edge pulse signal as shown in fig. 3 is generated in the voltage comparator 103.
The first preset pressure signal may be set according to a stable pressure signal in the pipeline, or may be obtained based on big data accumulation, which is applicable to any one of the specific implementations described above, but is not limited to the two implementations provided in the present embodiment.
Based on the relation between the valve and the installation position of the flowmeter, the embodiment specifically illustrates the specific application of the voltage comparator 103 under the condition of different position relations, so that the device provided by the embodiment is more comprehensive in applicable scene.
Alternatively, based on the first embodiment, the specific process of determining whether the flow rate is suddenly increased by the microcontroller 104 is as follows:
Acquiring a first flow value acquired by a flowmeter, and recording first acquisition time when the flowmeter acquires the first flow value; acquiring a second acquisition time adjacent to the first acquisition time and a second flow value corresponding to the second acquisition time from a flow value data table; and calculating a first difference value between the first flow value and the second flow value, a second difference value between the first acquisition time and the second acquisition time, and calculating a ratio of the first difference value to the second difference value to obtain the change rate of the first flow value.
Specifically, when the microcontroller 104 determines that there is a sudden pressure change in the current pipeline, it is further required to collect the first flow value in the current pipeline through the flow meter, and for convenience in subsequent processing, the first flow value needs to be stored in the flow value data table, and meanwhile, the time of the first flow value collected by the flow meter is stored in the flow value data table together.
More specifically, to more accurately determine whether a sudden flow increase occurs in the current pipeline, the microcontroller 104 calculates the rate of change of the first flow value.
Based on this, the microcontroller 104 determines, in the flow value data table, a previous acquisition time of the first acquisition time, that is, a second flow value corresponding to the second acquisition time, according to the first acquisition time corresponding to the first flow value.
Then, a first difference value between the first flow value and the second flow value and a second difference value between the first acquisition time and the second acquisition time are calculated, and a ratio of the first difference value to the second difference value is calculated, so that the change rate of the first flow value is obtained.
And then comparing the change rate of the first flow value with a threshold value of the change rate of the pre-stored flow value, and determining that the flow value in the current pipeline suddenly increases when the change rate of the first flow value is larger than the threshold value of the change rate of the pre-stored flow value.
The threshold value of the rate of change of the flow value in the embodiment is set according to the specific application scene of the flow meter, so that the application scene of the flow meter is more diversified.
Example III
On the basis of the first embodiment and the second embodiment, the voltage comparator 103 enters the sleep state when the microcontroller 104 determines that the difference is less than or equal to the preset difference threshold or the change rate of the flow rate value is less than or equal to the threshold of the change rate of the flow rate value after determining that the preset early warning condition is satisfied and waking up the microcontroller 104.
Specifically, when the microcontroller 104 determines that the second pressure signal is smaller than the preset difference threshold, that is, it is determined that no sudden increase occurs in the pressure in the current pipeline, which indicates that the valve of the pipeline is opened at this time and is not abnormal, and in order to save energy consumption, the microcontroller 104 immediately enters the sleep state.
In practical application, there may be a sudden increase phenomenon caused by the pressure value instantaneously acquired by the pressure sensor 101, but the flow speed in the pipeline is in a normal range, the pipeline does not have a problem of damage to the turbine and the rotating parts of the roots flowmeter arranged on the pipeline due to the impact force of huge flow, that is, the microcontroller 104 continues to judge the flow value in the pipeline when determining that the current pressure value of the pipeline has a sudden increase, and when determining that the flow value is smaller than a preset flow threshold, it is determined that the pipeline does not have a hidden trouble of instantaneous impact force at present, and the pipeline enters a dormant state.
In addition, when the microcontroller 104 determines that the pipeline has the potential transient impact force and performs early warning processing, the microcontroller 104 updates the first preset pressure signal stored in the comparison voltage generator 102 according to the fourth pressure signal in the pipeline acquired by the pressure sensor 101 when the microcontroller 104 monitors that the valve is closed and determines that the pressure in the pipeline is stable.
Specifically, in order to more accurately monitor the problem of the instant impact force of the flowmeter, the microcontroller 104 needs to update the first preset pressure signal pre-stored in the comparative voltage generator 102, that is, when it is detected that the valve of the pipeline is closed and the pressure signal in the pipeline is in a stable state, the first preset pressure signal of the comparative voltage generator 102 is updated.
More specifically, the relationship between the fourth pressure signal actually collected in the current pipeline and the preset difference threshold is set according to the relationship, if the pressure in the pipeline is stable while the valve is closed, the voltage amplitude output by the pressure sensor 101 is 20mV, that is, the fourth pressure signal is 20mV, if the judgment threshold of the impact force is 5 times the current pressure, that is, the preset difference threshold signal is 100mV, the microcontroller 104 configures and compares the output voltage of the voltage generator 102 to 100mV, and when the valve is opened next time, the microcontroller 104 is awakened once the signal amplitude collected by the pressure sensor 101 is greater than 100 mV.
When the updated first preset pressure signal is determined, the microcontroller 104 writes the signal into the comparison voltage 102 generator for detection of the next meter transient impact force on the pipeline.
In this embodiment, the microcontroller 104 is specifically configured to enter a sleep state when it is determined that there is no sudden increase in impact force in the pipeline, that is, when it is determined that there is no damage to the rotating component of the flowmeter due to impact; meanwhile, it is explained that the microcontroller 104 is also specifically configured to update the value of the price voltage generator after the impact force early warning. The device provided by the application can be suitable for different practical scenes, so that the impact force early warning processing in the pipeline is more perfect.
Example IV
Fig. 5 is a schematic diagram of another flow meter structure according to the present application, corresponding to the method for detecting flow transient impact of the present application. For convenience of explanation, only parts relevant to the present application are shown.
Referring to fig. 5, the flowmeter 50 includes: an acquisition module 51 for a first pressure signal in the pipeline acquired by the pressure sensor; the processing module 52 is configured to determine whether the first pressure signal meets a preset early warning condition according to the comparison between the first preset pressure signal in the voltage generator and the positional relationship between the valve and the flowmeter on the pipeline; the control module 53 is configured to control the voltage comparator to send a pulse signal and wake up the microcontroller if the first pressure signal meets a preset early warning condition; the processing module 52 is further configured to calculate a difference between the second pressure signal collected by the pressure sensor and the third pressure signal collected by the pressure sensor, calculate a rate of change of the flow value collected by the flow meter when the difference is determined to be greater than a preset difference threshold, and generate an early warning signal for prompting abnormal opening of the valve on the pipeline and/or trigger closing of the valve when the rate of change of the flow value is determined to be greater than a preset threshold of the rate of change of the flow value; the second pressure signal is a pressure signal in a pipeline collected by the microcontroller through the pressure sensor after being passively awakened by the pulse signal, and the third pressure signal is a pressure signal in a pipeline collected by the microcontroller through the pressure sensor after being actively awakened according to preset time.
Optionally, the processing module 52 is further configured to:
if the valve is positioned at the upstream end of the flowmeter and the first pressure signal is larger than the first preset pressure signal, the voltage comparator judges that the first pressure signal meets the preset early warning condition, or if the valve is positioned at the downstream end of the flowmeter and the first pressure signal is smaller than the first preset pressure signal, the voltage comparator judges that the first pressure signal meets the preset early warning condition.
Optionally, the processing module 52 is further configured to:
When the microcontroller determines that the difference value is larger than a preset difference value threshold value, acquiring a first flow value acquired by the flowmeter, and recording first acquisition time when the flowmeter acquires the first flow value; acquiring a second acquisition time adjacent to the first acquisition time and a second flow value corresponding to the previous acquisition time from a flow value data table; and calculating a first difference value between the first flow value and the second flow value, a second difference value between the first acquisition time and the second acquisition time, and calculating a ratio of the first difference value to the second difference value to obtain the change rate of the first flow value.
Optionally, the processing module 52 is further configured to:
And when the microcontroller judges that the difference value is smaller than or equal to a preset difference value threshold value or judges that the change rate of the flow rate value is smaller than or equal to a threshold value of the change rate of the preset flow rate value, entering a dormant state.
Optionally, the processing module 52 is further configured to:
And after the microcontroller monitors that the valve is closed and judges that the pressure in the pipeline is stable, updating the first preset pressure signal stored in the comparison voltage generator according to the fourth pressure signal in the pipeline acquired by the pressure sensor.
The implementation principle of the flowmeter provided by the application is similar to that of any of the above embodiments, and will not be described herein.
In this embodiment, the present application provides a flow meter for collecting a first pressure signal in a conduit via a pressure sensor; the voltage comparator judges whether the first pressure signal meets the preset early warning condition according to the first preset pressure signal in the voltage generator and the position relation between the valve and the flowmeter on the pipeline; if the first pressure signal meets the preset early warning condition, the voltage comparator sends a pulse signal to wake up the microcontroller; the microcontroller calculates a difference value between a second pressure signal collected by the pressure sensor and a third pressure signal collected by the pressure sensor, and judges whether the difference value is larger than a preset difference value threshold value; if the difference value is larger than a preset difference value threshold value, the microcontroller calculates the change rate of the flow value acquired by the flowmeter and judges whether the change rate of the flow value is larger than a preset threshold value of the change rate of the flow value; if the change rate of the flow value is greater than a preset threshold value of the change rate of the flow value, the microcontroller generates an early warning signal for prompting abnormal opening of a valve on the pipeline and/or triggers the valve to be closed; the second pressure signal is a pressure signal in a pipeline collected by the microcontroller through the pressure sensor after being passively awakened by the pulse signal, and the third pressure signal is a pressure signal in a pipeline collected by the microcontroller through the pressure sensor after being actively awakened according to preset time. The application monitors whether the pressure signal in the pipeline meets the preset early warning condition or not through the pressure sensor and the comparison voltage generator based on the voltage comparator, and wakes the microcontroller when the pressure signal in the pipeline meets the preset early warning condition, so that the microcontroller further determines whether the valve on the pipeline is abnormally opened or not based on the pressure signal and the flow value in the pipeline, and generates the early warning signal when the abnormal opening is determined, so as to close the valve, thereby avoiding the damage of the rotating parts of the turbine and the roots flowmeter, and accumulating the flow of the pipeline.
In an alternative embodiment, a computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out the method as provided by the previous embodiments is provided.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features can be replaced equivalently; such modifications and substitutions do not depart from the spirit of the application.

Claims (10)

1. A method of detecting a flow transient impact, the method being applied to a flow meter provided on a pipe, the flow meter comprising: the device comprises a pressure sensor, a comparison voltage generator, a voltage comparator respectively connected with the pressure sensor and the comparison voltage generator, and a microcontroller respectively connected with the pressure sensor, the comparison voltage generator and the voltage comparator;
The detection method comprises the following steps:
A first pressure signal in the conduit acquired by the pressure sensor;
The voltage comparator judges whether the first pressure signal meets a preset early warning condition according to a first preset pressure signal in the comparison voltage generator and the position relation between a valve on the pipeline and the flowmeter;
if the first pressure signal meets a preset early warning condition, the voltage comparator sends a pulse signal to wake up the microcontroller;
The microcontroller calculates a difference value between a second pressure signal collected by the pressure sensor in the pipeline and a third pressure signal collected by the pressure sensor in the pipeline, and judges whether the difference value is larger than a preset difference value threshold value or not;
If the difference value is larger than a preset difference value threshold value, the microcontroller calculates the change rate of the flow value acquired by the flowmeter and judges whether the change rate of the flow value is larger than a preset threshold value of the change rate of the flow value;
if the change rate of the flow value is larger than a preset threshold value of the change rate of the flow value, the microcontroller generates an early warning signal for prompting abnormal opening of a valve on the pipeline and/or triggers closing of the valve;
The second pressure signal is a pressure signal in the pipeline collected by the microcontroller through the pressure sensor after the pulse signal is passively awakened, and the third pressure signal is a pressure signal in the pipeline collected by the microcontroller through the pressure sensor after the pulse signal is actively awakened according to preset time.
2. The method of claim 1, wherein the voltage comparator determining whether the first pressure signal meets a preset pre-warning condition according to a first preset pressure signal in the comparison voltage generator and a positional relationship between the valve on the pipeline and the flowmeter comprises:
if the valve is positioned at the upstream end of the flowmeter and the first pressure signal is larger than the first preset pressure signal, the voltage comparator judges that the first pressure signal meets the preset early warning condition;
Or alternatively
If the valve is positioned at the downstream end of the flowmeter and the first pressure signal is smaller than the first preset pressure signal, the voltage comparator judges that the first pressure signal meets the preset early warning condition.
3. The method of claim 1, wherein the microcontroller calculates a rate of change of the flow value acquired by the flow meter, comprising:
When the microcontroller determines that the difference value is larger than a preset difference value threshold value, acquiring a first flow value acquired by the flowmeter, and recording first acquisition time when the flowmeter acquires the first flow value;
acquiring a second acquisition time adjacent to the first acquisition time and a second flow value corresponding to the second acquisition time from a flow value data table;
And calculating a first difference value between the first flow value and the second flow value and a second difference value between the first acquisition time and the second acquisition time, and calculating a ratio of the first difference value to the second difference value to obtain the change rate of the first flow value.
4. A method according to any one of claims 1-3, comprising:
And the microcontroller enters a dormant state when judging that the difference value is smaller than or equal to a preset difference value threshold value or judging that the change rate of the flow value is smaller than or equal to a preset threshold value of the change rate of the flow value.
5. A method according to any one of claims 1-3, further comprising:
and after the microcontroller monitors that the valve is closed and judges that the pressure in the pipeline is stable, the microcontroller updates the first preset pressure signal stored in the comparison voltage generator according to the fourth pressure signal in the pipeline acquired by the pressure sensor.
6. A flow meter, comprising:
the acquisition module is used for acquiring a first pressure signal in the pipeline by the pressure sensor;
The processing module is used for judging whether the first pressure signal meets a preset early warning condition according to a first preset pressure signal in the comparison voltage generator and the position relation between the valve on the pipeline and the flowmeter by the voltage comparator;
the control module is used for controlling the voltage comparator to send a pulse signal and waking up the microcontroller if the first pressure signal meets a preset early warning condition;
The processing module is used for calculating a difference value between a second pressure signal collected by the pressure sensor and a third pressure signal collected by the pressure sensor in the pipeline, calculating the change rate of a flow value collected by the flowmeter when the difference value is judged to be larger than a preset difference value threshold, generating an early warning signal for prompting abnormal opening of a valve on the pipeline when the change rate of the flow value is judged to be larger than a preset change rate threshold of the flow value, and/or triggering to close the valve;
The second pressure signal is a pressure signal in the pipeline collected by the microcontroller through the pressure sensor after the pulse signal is passively awakened, and the third pressure signal is a pressure signal in the pipeline collected by the microcontroller through the pressure sensor after the pulse signal is actively awakened according to preset time.
7. The flow meter of claim 6, wherein the processing module is further configured to determine that the first pressure signal meets the preset pre-warning condition if the valve is located at an upstream end of the flow meter and the first pressure signal is greater than the first preset pressure signal, or determine that the preset pre-warning condition is met if the valve is located at a downstream end of the flow meter and the first pressure signal is less than the first preset pressure signal.
8. The flowmeter of claim 6, wherein the processing module is further configured to obtain a first flow value of the flowmeter set and record a first acquisition time of the flowmeter acquiring the first flow value when the microcontroller determines that the difference is greater than a preset difference threshold; acquiring a second acquisition time adjacent to the first acquisition time and a second flow value corresponding to the previous acquisition time from a flow value data table; and calculating a first difference value between the first flow value and the second flow value and a second difference value between the first acquisition time and the second acquisition time, and calculating a ratio of the first difference value to the second difference value to obtain the change rate of the first flow value.
9. The flowmeter of any of claims 6-8, wherein the processing module is further configured to enter a dormant state when the microcontroller determines that the difference is less than or equal to a preset difference threshold, or that the rate of change of the flow value is less than or equal to a preset rate of change threshold.
10. The flowmeter of any of claims 6-8, wherein the processing module is further configured to update the first preset pressure signal stored in the comparison voltage generator according to a fourth pressure signal in the pipeline collected by the pressure sensor when the microcontroller detects that the valve is closed and determines that the pressure in the pipeline is stable.
CN202211356027.5A 2022-11-01 2022-11-01 Flow instant impact detection method and flowmeter Pending CN117990173A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211356027.5A CN117990173A (en) 2022-11-01 2022-11-01 Flow instant impact detection method and flowmeter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211356027.5A CN117990173A (en) 2022-11-01 2022-11-01 Flow instant impact detection method and flowmeter

Publications (1)

Publication Number Publication Date
CN117990173A true CN117990173A (en) 2024-05-07

Family

ID=90900386

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211356027.5A Pending CN117990173A (en) 2022-11-01 2022-11-01 Flow instant impact detection method and flowmeter

Country Status (1)

Country Link
CN (1) CN117990173A (en)

Similar Documents

Publication Publication Date Title
US8219330B2 (en) Gas appliance judgment apparatus and method
WO2020006892A1 (en) On-line monitoring method for metering performance of diaphragm gas meter
CN106680637A (en) Monitoring method of non-invasive household load switching event in real time
CN106351820A (en) Water supply control method for water pump
CN103452829B (en) A kind of frequency-conversion water supply system operational efficiency online test method
CN109238379B (en) Method and system for preventing pipeline vibration of vortex shedding flowmeter by combining frequency variance calculation and amplitude calculation
CN104296795B (en) Automatic sensor detection control device and method
Bijker et al. Active power residential non-intrusive appliance load monitoring system
CN110175353A (en) Elevator operating index trend analysis
CN104729591A (en) Signal processing method for vortex shedding flowmeter for resisting low-frequency strong transient impact vibration based on data replacement
CN116907727B (en) Method and device for detecting fault of pressure sensor before vortex, vehicle and storage medium
CN103148903A (en) Electronic gas meter with gas theft preventing device and gas theft preventing device and gas theft preventing method thereof
CN108595376A (en) A kind of non-intruding load discrimination method for distinguishing fixed frequency air conditioner and impact drill
CN203310908U (en) Electric energy detection device for air conditioner
CN114595123A (en) Big data based intelligent application software monitoring system and method
CN117990173A (en) Flow instant impact detection method and flowmeter
CN113050522A (en) Valve state detection method based on safety monitoring function Internet of things intelligent gas meter
US20140109654A1 (en) Method and Apparatus for Assessing the Consumption of a Medium in a Supply System
CN103487095A (en) Detection method of small flow based on parameter association
CN115792708A (en) SPD online aging monitoring system and method
CN102564681A (en) Method for determining flowing state of medium in pipeline for ultrasonic gas meter
CN113915043A (en) Water pump hydroelectric generating set working condition judging method, efficiency monitoring method and system
CN111623246B (en) Flange type flow and water pressure monitoring system and monitoring method thereof
CN111174842B (en) Random number sampling method for electronic meter
CN114063003A (en) Electric energy meter measurement error detection method and system based on cell, and storage medium

Legal Events

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