Method and system for realizing automatic detection of meter disassembly behavior by utilizing ultrasonic gas meter
1. A method for realizing automatic detection of meter disassembly by utilizing an ultrasonic gas meter is characterized by comprising the following steps: the method comprises the following steps: acquiring the current temperature T in the pipeline, starting an ultrasonic signal, and calculating the propagation speed of the ultrasonic signal in the pipeline; and judging whether the pipeline has the behavior of detaching the gas meter according to the propagation speed of the ultrasonic signal in the pipeline.
2. The method for realizing automatic detection of the meter disassembly behavior by using the ultrasonic gas meter according to claim 1, characterized in that: the step of starting the ultrasonic signal and calculating the propagation speed of the ultrasonic signal in the pipeline comprises the following steps:
periodically starting an ultrasonic device arranged in the pipeline, so that an ultrasonic signal emitted by the ultrasonic device is reflected back to the ultrasonic device from the inner wall of the pipeline after being transmitted for a certain distance;
and calculating the propagation speed of the ultrasonic signal in the pipeline according to the time of the ultrasonic signal transmitted by the ultrasonic device, the time of the ultrasonic signal returning and the propagation distance of the ultrasonic signal in the pipeline.
3. The method for realizing automatic detection of the meter disassembly behavior by using the ultrasonic gas meter according to claim 1, characterized in that: the step of judging whether the pipeline has a behavior of detaching the gas meter according to the propagation speed of the ultrasonic signal in the pipeline comprises the following steps: at the current temperature, the closer the propagation velocity of the ultrasonic signal in the pipeline is to the propagation velocity of the ultrasonic signal in the air, the higher the probability that the pipeline has a behavior of detaching the gas meter.
4. The method for realizing automatic detection of the meter disassembly behavior by using the ultrasonic gas meter according to claim 1, characterized in that: the step of judging whether the pipeline has a behavior of detaching the gas meter according to the propagation speed of the ultrasonic signal in the pipeline comprises the following steps: at the current temperature, if the propagation speed of the ultrasonic signal in the pipeline is within the air propagation speed range, the pipeline has the behavior of detaching the gas meter; the air propagation speed range is [90%,110% ] or [95%,105% ] of the propagation speed of the ultrasonic signal in the air.
5. The method for realizing automatic detection of the meter disassembly behavior by using the ultrasonic gas meter according to claim 1, characterized in that: before the step of obtaining the current temperature T in the pipeline, the method further comprises the following steps: and setting different temperatures, and acquiring the propagation speed of the ultrasonic signal in the air at different temperatures.
6. The utility model provides an utilize ultrasonic wave gas table to realize tearing open table action automatic check out system which characterized in that: the method comprises the following steps:
the processor is used for controlling the ultrasonic device to be turned on or off, and calculating the propagation speed of the ultrasonic signal in the pipeline after the ultrasonic device is turned on; judging whether the pipeline has a gas meter disassembly behavior according to the propagation speed of the ultrasonic signal in the pipeline;
an ultrasonic device for emitting an ultrasonic signal according to the control of the processor;
and the temperature sensor is used for acquiring the current temperature and sending the current temperature data to the processor.
7. The system for realizing automatic detection of the meter disassembly behavior by using the ultrasonic gas meter according to claim 6, is characterized in that: the processor calculates that the propagation speed of the ultrasonic signal in the pipeline is within the air propagation speed range, and then judges that the pipeline has a gas meter disassembly behavior; the air propagation speed range is [90%,110% ] or [95%,105% ] of the propagation speed of the ultrasonic signal in the air.
8. The system for realizing automatic detection of the meter disassembly behavior by using the ultrasonic gas meter according to claim 6, is characterized in that: the processor is connected with a timing unit, and the timing unit is used for periodically sending pulse signals to the processor, so that the processor periodically starts the ultrasonic device arranged in the pipeline.
9. The system for realizing automatic detection of the meter disassembly behavior by using the ultrasonic gas meter according to claim 6, is characterized in that: the processor is also used for acquiring the propagation speed of the ultrasonic signals in the air at different temperatures in advance.
10. The system for realizing automatic detection of the meter disassembly behavior by using the ultrasonic gas meter according to claim 6, is characterized in that: the processor is also connected with an alarm unit, and when the processor judges that the gas meter disassembly behavior exists, the alarm unit is controlled to initiate an alarm signal.
Background
Natural gas is used as clean and environment-friendly energy and occupies an increasingly important position in urban production and life, and with the gradual construction of an urban gas transmission and distribution system, an urban gas pipe network becomes important content of urban infrastructure construction. At present, after a gas meter is installed, individual users privately detach the gas meter and directly connect a pipeline to convey gas, which is a gas stealing behavior, and can cause great economic loss for a gas company, and meanwhile, great potential safety hazards exist when the gas meter is detached and the pipeline is connected, so that gas leakage and even explosion are easily caused.
At present, whether gas company has the action of stealing gas for the monitoring, sets up angle sensor on the gas involucra table, when detecting involucra table angle and change, then sends alarm information, but this kind of scheme can make the detection inaccurate inadequately, for example when dismantling the involucra table in order to overhaul, the angle also can change, then can lead to the mistake to report an emergency and ask for help or increased vigilance this moment.
Disclosure of Invention
The invention aims to obtain the propagation speed of an ultrasonic signal in a pipeline according to the principle that the propagation speed of the ultrasonic signal in gas is higher than that in air, so as to judge whether a gas meter of the pipeline has a meter detaching action, and provides a method and a system for realizing automatic detection of the meter detaching action by using the ultrasonic gas meter.
In order to achieve the above object, the embodiments of the present invention provide the following technical solutions:
a method for realizing automatic detection of meter disassembly by utilizing an ultrasonic gas meter comprises the following steps: acquiring the current temperature T in the pipeline, starting an ultrasonic signal, and calculating the propagation speed of the ultrasonic signal in the pipeline; and judging whether the pipeline has the behavior of detaching the gas meter according to the propagation speed of the ultrasonic signal in the pipeline.
In the scheme, by utilizing the principle that the propagation speed of the ultrasonic signal in the gas is higher than that in the air at the same temperature, the propagation speed of the ultrasonic signal in the pipeline at the current temperature is obtained, and then the propagation speed of the ultrasonic signal in the air at the same temperature is compared, so that whether the gas meter of the pipeline has meter detaching behavior or not can be judged.
The step of starting the ultrasonic signal and calculating the propagation speed of the ultrasonic signal in the pipeline comprises the following steps:
periodically starting an ultrasonic device arranged in the pipeline, so that an ultrasonic signal emitted by the ultrasonic device is reflected back to the ultrasonic device from the inner wall of the pipeline after being transmitted for a certain distance;
and calculating the propagation speed of the ultrasonic signal in the pipeline according to the time of the ultrasonic signal transmitted by the ultrasonic device, the time of the ultrasonic signal returning and the propagation distance of the ultrasonic signal in the pipeline.
In the scheme, the ultrasonic device is periodically started to transmit the ultrasonic signal, and the ultrasonic device is closed at other time, so that the power consumption of the ultrasonic device can be greatly saved.
The step of judging whether the pipeline has a behavior of detaching the gas meter according to the propagation speed of the ultrasonic signal in the pipeline comprises the following steps: at the current temperature, the closer the propagation velocity of the ultrasonic signal in the pipeline is to the propagation velocity of the ultrasonic signal in the air, the higher the probability that the pipeline has a behavior of detaching the gas meter.
In the above-described aspect, according to the principle that the propagation speed of the ultrasonic signal in the gas is faster than the propagation speed in the air, the closer the propagation speed of the ultrasonic signal in the pipe is to the propagation speed in the air, the greater the probability that the gas meter of the pipe is detached is.
The step of judging whether the pipeline has a behavior of detaching the gas meter according to the propagation speed of the ultrasonic signal in the pipeline comprises the following steps: at the current temperature, if the propagation speed of the ultrasonic signal in the pipeline is within the air propagation speed range, the pipeline has the behavior of detaching the gas meter; the air propagation speed range is [90%,110% ] or [95%,105% ] of the propagation speed of the ultrasonic signal in the air.
Before the step of obtaining the current temperature T in the pipeline, the method further comprises the following steps: and setting different temperatures, and acquiring the propagation speed of the ultrasonic signal in the air at different temperatures.
In the above solution, a temperature-dependent speed comparison table of the ultrasonic signal propagating in the air is prepared, different temperature values are set in the table, and the propagation speed of the ultrasonic signal in the air is measured at the different temperatures respectively.
The utility model provides an utilize ultrasonic wave gas table to realize tearing open table action automatic check out system includes:
the processor is used for controlling the ultrasonic device to be turned on or off, and calculating the propagation speed of the ultrasonic signal in the pipeline after the ultrasonic device is turned on; judging whether the pipeline has a gas meter disassembly behavior according to the propagation speed of the ultrasonic signal in the pipeline;
an ultrasonic device for emitting an ultrasonic signal according to the control of the processor;
and the temperature sensor is used for acquiring the current temperature and sending the current temperature data to the processor.
The processor calculates that the propagation speed of the ultrasonic signal in the pipeline is within the air propagation speed range, and then judges that the pipeline has a gas meter disassembly behavior; the air propagation speed range is [90%,110% ] or [95%,105% ] of the propagation speed of the ultrasonic signal in the air.
The processor is connected with a timing unit, and the timing unit is used for periodically sending pulse signals to the processor, so that the processor periodically starts the ultrasonic device arranged in the pipeline.
The processor is also used for acquiring the propagation speed of the ultrasonic signals in the air at different temperatures in advance.
The processor is also connected with an alarm unit, and when the processor judges that the gas meter disassembly behavior exists, the alarm unit is controlled to initiate an alarm signal.
Compared with the prior art, the invention has the beneficial effects that:
the invention aims to obtain the propagation speed of an ultrasonic signal in a pipeline according to the principle that the propagation speed of the ultrasonic signal in gas is higher than that in air so as to judge whether a gas meter of the pipeline has meter disassembly.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a flow chart of the detection method of the present invention;
FIG. 2 is a schematic view of an ultrasonic device installation according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a detection system according to the present invention;
FIG. 4 is a graph showing the propagation time of ultrasonic signals at different temperatures according to example 2 of the present invention.
Reference numerals
1-ultrasonic device, 2-pipeline, 3-gas meter.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
Example 1:
the invention is realized by the following technical scheme, as shown in figure 1, a method for realizing automatic detection of meter detaching behavior by using an ultrasonic gas meter comprises the following steps:
step S1: and setting different temperatures, and acquiring the propagation speed of the ultrasonic signal in the air at different temperatures.
Because the gas pipeline 2 is in the external natural environment, the propagation speed of the ultrasonic signal in the air is different when the gas pipeline is at different temperatures. Therefore, before the scheme is implemented, a temperature-dependent comparison table of the speed of the ultrasonic signal propagating in the air needs to be prepared in advance. Different temperature values are set in the table, and the propagation speed of the ultrasonic signal in the air is measured at the different temperatures.
Step S2: and acquiring the current temperature T in the pipeline 2, starting the ultrasonic signal, and calculating the propagation speed of the ultrasonic signal in the pipeline 2.
The ultrasonic device 1 arranged in the pipeline 2 can be periodically started, so that the power consumption of the ultrasonic device 1 can be saved, and an ultrasonic signal emitted by the ultrasonic device 1 is reflected back to the ultrasonic device 1 from the inner wall of the pipeline 2 after being transmitted for a certain distance. Referring to fig. 2, the ultrasonic device 1 is disposed on the inner wall of the pipeline 2, and after the ultrasonic device 1 is turned on, an ultrasonic signal emitted from the ultrasonic device 1 is emitted to the inner wall of the pipeline 2 and then reflected by the inner wall. Therefore, based on the time t1 when the ultrasonic device 1 emits the ultrasonic signal and the time t2 when the ultrasonic signal returns, and the distance S that the ultrasonic signal travels in the pipe 2, the traveling speed of the ultrasonic signal in the pipe 2 can be calculated:
v=S/(t2-t1)
the ultrasonic device 1 may be set anywhere in the pipe 2, and is not limited to the arrangement shown in fig. 1 of the present embodiment, as long as the distance S of the ultrasonic signal propagating in the pipe 2 is obtained in advance at the time of installation.
Step S3: and judging whether the pipeline 2 has the behavior of detaching the gas meter 3 according to the propagation speed of the ultrasonic signal in the pipeline 2.
The propagation velocity v of the ultrasonic signal in the air at the time of acquiring the temperature T in the table prepared in step S10The closer the propagation velocity v of the ultrasonic signal in the pipe 2 is to v0The greater the probability that the pipeline 2 has the behavior of detaching the gas meter 3. Because if the user does not use the gas only in the current time period, the gas is filled in the pipeline 2, but if the gas meter 3 is removed, the gas meter is additionally connectedThe pipe 2, and then the original pipe 2, will have less and less gas in the pipe 2 after a long time until it is occupied by air.
Therefore, it can be set that, at the current temperature T, if the propagation velocity v of the ultrasonic signal in the pipe 2 is within the air propagation velocity range, it is determined that the gas meter 3 is detached from the pipe 2. The air propagation velocity range can be set to [ v ]0×90%,v0×110%]Or [ v ]0×95%,v0×105%]Of course, the air propagation speed range may be set according to actual conditions.
When the propagation velocity v of the ultrasonic signal in the pipe 2 is already very close to the propagation velocity v in air0At this time, it is described that the gas meter 3 at the pipeline 2 has a meter detaching action, and then an alarm needs to be given to inform a worker to check before.
The scheme also provides a system for realizing automatic detection of meter disassembly by using the ultrasonic gas meter, please refer to fig. 3, and the system comprises a processor, an ultrasonic device 1, a temperature sensor, a timing unit and an alarm unit.
The temperature sensor is arranged in the pipeline 2 and used for acquiring temperature in real time and sending current temperature data to the processor. The processor is used for controlling the ultrasonic device 1 to be opened or closed, and calculating the propagation speed of the ultrasonic signal in the pipeline 2 after the ultrasonic device 1 is opened; and according to the propagation speed of the ultrasonic signal in the pipeline 2, whether the pipeline 2 has the behavior of detaching the gas meter 3 is judged. The ultrasonic device 1 is used for emitting an ultrasonic signal according to the control of a processor. The timing unit is used for periodically sending a pulse signal to the processor, so that the processor periodically starts the ultrasonic device 1 arranged in the pipeline 2.
The processor is further used for acquiring propagation speeds of the ultrasonic signals in the air at different temperatures in advance, and if the processor calculates that the propagation speed of the ultrasonic signals in the pipeline 2 is within an air propagation speed range, it is determined that a gas meter 3 detaching behavior exists in the pipeline 2, and the alarm unit is controlled to initiate an alarm signal, wherein the air propagation speed range is [90%,110% ] or [95%,105% ] of the propagation speed of the ultrasonic signals in the air.
Example 2:
this example is supported by the results of the experiments based on example 1, which are shown in Table 1 as the speed of the ultrasonic signal propagating in air and the speed of the ultrasonic signal propagating in gas, which are shown at-30 ℃ and 60 ℃, respectively.
As can be seen from table 1, the propagation time of the ultrasonic signal in the air is longer than that in the gas at the same distance and the same temperature, and therefore the propagation speed of the ultrasonic signal in the air is slower than that in the gas. Referring to fig. 4, the abscissa is a temperature value, the ordinate is a propagation time of the ultrasonic signal, a line segment of a diamond shape indicates a propagation time of the ultrasonic signal in air, and a line segment of a square shape indicates a propagation time of the ultrasonic signal in gas.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.