CN110865170B - Method and device for determining sand content and storage medium - Google Patents

Method and device for determining sand content and storage medium Download PDF

Info

Publication number
CN110865170B
CN110865170B CN201810983001.0A CN201810983001A CN110865170B CN 110865170 B CN110865170 B CN 110865170B CN 201810983001 A CN201810983001 A CN 201810983001A CN 110865170 B CN110865170 B CN 110865170B
Authority
CN
China
Prior art keywords
sand
natural gas
test
pipeline
correction coefficient
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.)
Active
Application number
CN201810983001.0A
Other languages
Chinese (zh)
Other versions
CN110865170A (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.)
Petrochina Co Ltd
Original Assignee
Petrochina 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 Petrochina Co Ltd filed Critical Petrochina Co Ltd
Priority to CN201810983001.0A priority Critical patent/CN110865170B/en
Publication of CN110865170A publication Critical patent/CN110865170A/en
Application granted granted Critical
Publication of CN110865170B publication Critical patent/CN110865170B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
    • G01N33/22Fuels, explosives
    • G01N33/225Gaseous fuels, e.g. natural gas

Abstract

The invention discloses a method and a device for determining sand content and a storage medium, and belongs to the field of oil and gas field development. The method comprises the steps of detecting the sand content of natural gas in a target pipeline through a non-invasive sand measuring device based on the flow velocity of the natural gas in the target pipeline to obtain a first sand content. And selecting a correction coefficient table corresponding to the flow rate of the natural gas in the target pipeline from the plurality of stored correction coefficient tables to obtain a target correction coefficient table, selecting a target correction coefficient corresponding to the first sand content from the target correction coefficient table, and correcting the first sand content according to the target correction coefficient to obtain the real sand content of the natural gas in the target pipeline. That is, in the embodiment of the present invention, when the non-invasive sand measuring device detects the first sand content, the first sand content is corrected to improve the accuracy of the determined sand content.

Description

Method and device for determining sand content and storage medium
Technical Field
The invention relates to the field of oil and gas field development, in particular to a method and a device for determining sand content and a storage medium.
Background
The fracturing technology is needed in the natural gas exploitation process, namely, the sand-carrying liquid is pumped into a natural gas well to fracture the stratum, and sand in the sand-carrying liquid enters fractured stratum cracks to support the fractured stratum, so that the natural gas exploitation is performed subsequently. However, in the natural gas exploitation process, sand can be taken away along with the natural gas, and the sand in the natural gas can impact a pipeline to erode the pipeline, so that the sand content in the natural gas needs to be determined.
At present, the sand content in natural gas is mainly determined by a non-invasive sand measuring device in the related technology. Wherein, the theory of operation of non-invasive survey sand device does: when sand in natural gas impacts pipelines, acoustic signals within a certain frequency range are generated, the acoustic signals are captured in a non-invasive sand measuring device, and the sand content in the natural gas is calculated according to the acoustic signals. The natural gas can impact the pipeline when flowing in the pipeline, so that a signal threshold value needs to be set when the non-invasive sand measuring device calculates the sand content in the natural gas according to the acoustic signals, the captured acoustic signals are removed from signals represented by the signal threshold value to obtain effective acoustic signals, and then the sand content in the natural gas is determined according to the effective acoustic signals.
The non-invasive sand measuring device determines the sand content by an acoustic signal generated by impacting the pipeline with sand in the natural gas, and when the sand content of the natural gas in the pipeline is large, some sand may not impact the pipeline, and the sand content directly measured by the non-invasive sand measuring device may be inaccurate.
Disclosure of Invention
The embodiment of the invention provides a method, a device and a storage medium for determining the sand content, which can improve the accuracy of a non-invasive sand measuring device for measuring the sand content of natural gas in a pipeline. The technical scheme is as follows:
in a first aspect, there is provided a method of determining sand content, the method comprising:
detecting the sand content of the natural gas in the target pipeline through a non-invasive sand measuring device to obtain a first sand content;
selecting a correction coefficient table corresponding to the flow rate of the natural gas in the target pipeline from a plurality of correction coefficient tables to obtain a target correction coefficient table, and selecting a target correction coefficient corresponding to the first sand content from the target correction coefficient table, wherein each correction coefficient table corresponds to one flow rate and comprises a plurality of correction coefficients, and each correction coefficient corresponds to one sand content;
and correcting the first sand content according to the target correction coefficient to obtain the real sand content of the natural gas in the target pipeline.
Optionally, the correcting the first sand content according to the target correction coefficient to obtain a true sand content of the natural gas in the target pipeline includes:
and multiplying the target correction coefficient by the first sand content, and taking the obtained product as the real sand content of the natural gas in the target pipeline.
Optionally, the detecting, by a non-intrusive sand measuring device, the sand content of the natural gas in the target pipeline based on the flow speed of the natural gas in the target pipeline to obtain a first sand content includes:
determining a flow rate of natural gas within the target pipeline;
determining a target signal threshold value according to the flow rate of the natural gas based on the stored corresponding relation between the flow rate and the signal threshold value;
and based on the target signal threshold value, measuring and determining the sand content of the natural gas in the target pipeline through a non-invasive sand measuring device to obtain the first sand content.
Optionally, the method further comprises:
determining a plurality of test flow rates;
setting the flow rate of the natural gas in the test pipeline as any one test flow rate A in the plurality of test flow rates, and gradually increasing the sand content of the natural gas in the test pipeline;
after the sand content of the natural gas in the test pipeline is increased each time, respectively testing the sand content of the natural gas through a non-invasive sand testing device and an invasive sand testing device which are arranged at a first position of the test pipeline to obtain a first test value and a second test value;
and if the difference value between the ratio of the second test value to the first test and 1 is larger than a numerical threshold, setting the ratio of the second test value to the first test value as a correction coefficient corresponding to the first test value, and adding the determined correction coefficient into a correction coefficient table corresponding to the test flow rate A.
Optionally, after the testing of the sand content in the natural gas by the non-intrusive sand testing device and the intrusive sand testing device arranged at the first position of the test pipeline, the method further comprises:
respectively testing the sand content in the natural gas through a non-invasive sand testing device and an invasive sand testing device which are arranged at a second position of the test pipeline to obtain a third test value and a fourth test value, wherein a desander is arranged in the test pipeline, and the natural gas in the test pipeline enters the desander after flowing through the first position and flows through the second position after entering the desander;
and if the difference value between the ratio of the fourth test value to the third test value and 1 is larger than a numerical threshold, setting the ratio of the fourth test value to the third test value as a correction coefficient corresponding to the third test value, and adding the determined correction coefficient to a correction coefficient table corresponding to the test flow rate A.
Optionally, before the sand content in the natural gas is respectively tested by the non-intrusive sand testing device and the intrusive sand testing device which are arranged at the first position of the test pipeline, the method further comprises the following steps:
and determining a signal threshold corresponding to the test flow rate A based on a non-invasive sand measuring device and an invasive sand measuring device which are arranged at a second position of the test pipeline.
In a second aspect, there is provided an apparatus for determining sand content, the apparatus comprising:
the detection module is used for detecting the sand content of the natural gas in the target pipeline through a non-invasive sand measuring device to obtain a first sand content;
the selection module is used for selecting a correction coefficient table corresponding to the flow rate of the natural gas in the target pipeline from a plurality of correction coefficient tables to obtain a target correction coefficient table, and selecting a target correction coefficient corresponding to the first sand content from the target correction coefficient table, wherein each correction coefficient table corresponds to one flow rate, each correction coefficient table comprises a plurality of correction coefficients, and each correction coefficient corresponds to one sand content;
and the correction module is used for correcting the first sand content according to the target correction coefficient to obtain the real sand content of the natural gas in the target pipeline.
Optionally, the correction module is specifically configured to:
and multiplying the target correction coefficient by the first sand content, and taking the obtained product as the real sand content of the natural gas in the target pipeline.
Optionally, the detection module is specifically configured to:
determining a flow rate of natural gas within the target pipeline;
determining a target signal threshold value according to the flow rate of the natural gas based on the stored corresponding relation between the flow rate and the signal threshold value;
and based on the target signal threshold value, measuring and determining the sand content of the natural gas in the target pipeline through a non-invasive sand measuring device to obtain the first sand content.
Optionally, the apparatus further comprises:
a first determination module to determine a plurality of test flow rates;
the first setting module is used for setting the flow rate of the natural gas in the test pipeline to be any one test flow rate A in the plurality of test flow rates and gradually increasing the sand content of the natural gas in the test pipeline;
the first testing module is used for respectively testing the sand content in the natural gas through a non-intrusive sand testing device and an intrusive sand testing device which are arranged at a first position of the testing pipeline after the sand content of the natural gas in the testing pipeline is increased every time, so that a first testing value and a second testing value are obtained;
and the second setting module is used for setting the ratio between the second test value and the first test value as the correction coefficient corresponding to the first test value if the difference value between the ratio of the second test value to the first test value and 1 is greater than a numerical threshold, and adding the determined correction coefficient into the correction coefficient table corresponding to the test flow rate A.
Optionally, the apparatus further comprises:
the second testing module is used for respectively testing the sand content in the natural gas through a non-intrusive sand testing device and an intrusive sand testing device which are arranged at a second position of the testing pipeline to obtain a third testing value and a fourth testing value, a sand remover is arranged in the testing pipeline, and the natural gas in the testing pipeline enters the sand remover after flowing through the first position and flows through the second position after entering the sand remover;
and the third setting module is used for setting the ratio of the fourth test value to the third test value as a correction coefficient corresponding to the third test value if the difference value between the ratio of the fourth test value to the third test value and 1 is greater than a numerical threshold, and adding the determined correction coefficient into a correction coefficient table corresponding to the test flow rate A.
Optionally, the apparatus further comprises:
and the second determination module is used for determining a signal threshold corresponding to the test flow speed A based on the non-invasive sand measuring device and the invasive sand measuring device which are arranged at the second position of the test pipeline.
In a third aspect, an apparatus for determining sand content, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of any of the methods of the first aspect described above.
In a fourth aspect, a computer-readable storage medium has stored thereon instructions which, when executed by a processor, implement the steps of any of the methods of the first aspect described above.
In a fifth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the steps of any of the methods of the first aspect described above.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, the sand content of the natural gas in the target pipeline is detected by the non-invasive sand measuring device based on the flow velocity of the natural gas in the target pipeline, so that the first sand content is obtained. And selecting a correction coefficient table corresponding to the flow rate of the natural gas in the target pipeline from the plurality of stored correction coefficient tables to obtain a target correction coefficient table, selecting a target correction coefficient corresponding to the first sand content from the target correction coefficient table, and correcting the first sand content according to the target correction coefficient to obtain the real sand content of the natural gas in the target pipeline. That is, in the embodiment of the present invention, when the non-invasive sand measuring device detects the first sand content, the first sand content is corrected to improve the accuracy of the determined sand content.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flow chart of a method for determining sand content according to an embodiment of the present invention;
fig. 2 is a schematic position diagram of an invasive sand measuring device and a non-invasive sand measuring device provided by an embodiment of the invention;
FIG. 3 is a schematic structural diagram of an apparatus for determining sand content according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of another device for determining sand content according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of another device for determining sand content according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of another device for determining sand content according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
At present, two devices for detecting the sand content of natural gas in a pipeline are provided, namely an intrusive sand measuring device and a non-intrusive sand measuring device. The following respectively describes the principle of the invasive sand measuring device and the non-invasive sand measuring device:
the intrusive sand measuring device comprises a sampling probe, a valve, a catcher, a drying pipe and a dry gas flowmeter. Inside mainly deepening the pipeline through sampling probe, having the natural gas to flow through in the pipeline, the natural gas can enter into the trap through sampling probe, and the trap is arranged in carrying out the entrapment to the sand in the natural gas, and the natural gas can get into the drying tube after flowing through the trap, and the natural gas can pass through dry-type gas flowmeter at last. And weighing the sand collected by the catcher to obtain the weight of the sand, measuring the flow of the natural gas by using the dry-type gas flowmeter, and determining the sand content of the natural gas in the pipeline according to the flow of the natural gas measured by using the dry-type gas flowmeter and the weight of the sand obtained by weighing.
Since the sand content in the natural gas measured by the sand intrusion measuring device can be represented by the real sand content in the natural gas in the pipeline, the sand intrusion measuring device can be directly contacted with the natural gas in the pipeline, and sand grains in the natural gas can be completely captured by the collector. However, in the application of the construction site, the intrusive sand measuring device needs to be opened on the pipeline and then is inserted into the pipeline by using the sampling probe, which affects the sealing performance of the pipeline and the like, so the intrusive sand measuring device is rarely applied to the construction site.
The principle of the non-invasive sand measuring device is as follows: when sand in natural gas in the pipeline impacts the pipeline, acoustic signals within a certain frequency range are generated, the acoustic signals are captured by the non-invasive sand measuring device, and the sand content in the natural gas is calculated according to the acoustic signals.
The non-invasive sand measuring device does not need a sampling probe to go deep into the pipeline, so that the sealing performance of the pipeline cannot be influenced, and the non-invasive sand measuring device is widely applied to field construction. But since the non-intrusive sand measuring device determines the sand content of the natural gas by the captured acoustic signals, the result of the non-intrusive sand measuring device measurement may be inaccurate. The method for determining the sand content is used for improving the accuracy of the determined sand content.
Fig. 1 is a flowchart of a method for determining sand content according to an embodiment of the present invention, and as shown in fig. 1, the method includes the following steps:
step 101: and detecting the sand content of the natural gas in the target pipeline through a non-invasive sand measuring device to obtain a first sand content.
In a possible implementation manner, step 101 may specifically be: the method comprises the steps of determining the flow rate of natural gas in a target pipeline, determining a target signal threshold value according to the flow rate of the natural gas based on the corresponding relation between the stored flow rate and the signal threshold value, and measuring and determining the sand content of the natural gas in the target pipeline through a non-invasive sand measuring device based on the target signal threshold value to obtain a first sand content.
The implementation manner of determining the flow rate of the natural gas in the target pipeline may be: the flow of the natural gas in a certain time can be obtained through the flowmeter, the cross section area of the target pipeline can be obtained through the inner diameter of the target pipeline, and the flow speed of the natural gas in the target pipeline can be determined according to the flow of the natural gas and the cross section area of the target pipeline.
In addition, when natural gas flows in the target pipeline, the natural gas can impact the target pipeline and also generate acoustic signals with certain frequency, so that the acoustic signals generated by the natural gas impacting the pipeline are excluded from all detected acoustic signals by adopting a signal threshold value. Moreover, when the natural gas flow rates in the target pipeline are different, the frequency of the acoustic signal generated by the natural gas impacting the target pipeline is also different, so that in the embodiment of the invention, each flow rate corresponds to one signal threshold value.
In one possible implementation, the corresponding relation between the flow rate and the signal threshold is stored in advance,when the target signal threshold is determined according to the corresponding relationship, the signal threshold of the non-invasive sand measuring device can be set as the target signal threshold, so that the non-invasive sand measuring device can measure the sand content in the natural gas based on the target signal threshold. For example, the natural gas flow speed in the target pipeline is 20m/s, the target signal threshold value is found to be 40 from the corresponding relation between the flow speed and the signal threshold value, the signal threshold value of the non-invasive sand measuring device is set to be 40, then the natural gas in the target pipeline is measured through the non-invasive sand measuring device, and if the measured sand content is 50mg/m 3 When it is used, 50mg/m can be added 3 As the first sand content.
Step 102: selecting a correction coefficient table corresponding to the flow rate of the natural gas in the target pipeline from the plurality of correction coefficient tables to obtain a target correction coefficient table, and selecting a target correction coefficient corresponding to the first sand content from the target correction coefficient table, wherein each correction coefficient table corresponds to one flow rate, each correction coefficient table comprises a plurality of correction coefficients, and each correction coefficient corresponds to one sand content.
In the embodiment of the present invention, in order to quickly correct the first sand content, a plurality of correction coefficient tables are stored in advance, so that the target correction coefficient is found through step 102.
Table 1 is a table of correction coefficients provided in an embodiment of the present invention, and as shown in table 1, for the flow rate V, when the sand content is W1, the corresponding correction coefficient is M1, when the sand content is W2, the corresponding correction coefficient is M2, and when the sand content is W3, the corresponding correction coefficient is M3. For example, if the first sand content measured by the non-intrusive sand measuring device is W2 when the natural gas flow rate in the target pipeline is V, the target correction coefficient may be found to be M2 from table 1.
It should be noted that table 1 only provides one flow rate corresponding correction coefficient table, and other flow rate corresponding correction coefficient tables may refer to table 1, and will not be described in detail here.
TABLE 1
Figure BDA0001779051230000081
In which a plurality of correction coefficient tables are determined and stored in advance, and for the sake of convenience of description to follow, how to determine the plurality of correction coefficient tables will be explained herein.
In one possible implementation, determining the plurality of correction coefficient tables may be: determining a plurality of test flow rates, setting the flow rate of the natural gas in the test pipeline as any one test flow rate A in the plurality of test flow rates, gradually increasing the sand content of the natural gas in the test pipeline, respectively testing the sand content of the natural gas through a non-invasive sand testing device and an invasive sand testing device which are arranged at a first position of the test pipeline after the sand content of the natural gas in the test pipeline is increased each time to obtain a first test value and a second test value, setting the ratio between the second test value and the first test value as a correction coefficient corresponding to the first test value if the difference between the ratio of the second test value to the first test value and 1 is greater than a numerical threshold, and adding the determined correction coefficient into a correction coefficient table corresponding to the test flow rate A.
The sand content of the natural gas in the pipeline is determined by the weight of the sand and the flow of the natural gas, so that the result of measurement of the sand content measuring device is accurate and can represent the real sand content of the natural gas in the pipeline. Therefore, in the embodiment of the invention, the correction coefficient is determined by using the result of the measurement by the sand intrusion measuring device and the result of the measurement by the sand non-intrusion measuring device. That is, in an embodiment of the present invention, the correction coefficient table may be determined based on an intrusive sand measuring device and a non-intrusive sand measuring device at a first position of the measurement pipe, where the first position may be any position of the measurement pipe.
The following description is given by way of example of how to determine the table of correction coefficients corresponding to the test flow rate a:
after the flow rate of the natural gas in the test pipe is set to a, the sand content in the natural gas in the test pipe is gradually increased. For example, after the sand content in the natural gas is increased for a certain time, the second test value measured by the intrusive sand measuring device is H1, the first test value measured by the non-intrusive sand measuring device is Y1, and if the difference between the ratio of H1 to Y1 and 1 is greater than the set numerical threshold, it indicates that the difference between the sand content measured by the intrusive sand measuring device and the sand content measured by the non-intrusive sand measuring device is large, and at this time, the ratio of H1 to Y1 may be used as the correction coefficient corresponding to Y1 in the correction coefficient table. After the sand content of the natural gas in the test pipeline is continuously increased, the second test value obtained by measurement of the intrusive sand measuring device is H2, the first test value obtained by measurement of the non-intrusive sand measuring device is Y2, if the difference value between the ratio of H2 to Y2 and 1 is larger than a set numerical threshold value, it is indicated that the difference between the sand content obtained by measurement of the intrusive sand measuring device and the sand content obtained by measurement of the non-intrusive sand measuring device is large, and at this time, the ratio of H2 to Y2 can be used as a correction coefficient corresponding to Y2 in the correction coefficient table. By analogy, for the correction coefficient table corresponding to the flow rate a, a plurality of correction coefficients corresponding to a plurality of sand contents one to one can be obtained.
In addition, after the sand content of the natural gas in the test pipeline is increased each time, if the difference value between the ratio of the second test value obtained by measurement to the first test value and 1 is smaller than or equal to the numerical threshold, it indicates that the sand content obtained by measurement by the non-invasive sand measuring device is very close to the sand content obtained by measurement by the invasive sand measuring device, and in this case, the correction coefficient corresponding to the first test value is set to 1. At this time, a correction factor is obtained each time the sand content of the natural gas in the test pipeline is increased.
In addition, after the sand content of the natural gas in the test pipeline is increased every time, if the difference value between the ratio of the second test value to the first test value and 1 is smaller than or equal to the numerical threshold, in this case, the correction coefficient corresponding to the first test value is not set first. Since the sand content of the natural gas in the test pipeline is gradually increased in the implementation manner, if the sand content measured by the non-invasive sand measuring device is very close to the sand content measured by the invasive sand measuring device before the sand content of the natural gas in the test pipeline is increased for a certain time, but after the sand content of the natural gas in the test pipeline is increased for the certain time, the difference between the sand content measured by the non-invasive sand measuring device and the sand content measured by the invasive sand measuring device is larger. At this time, the sand content measured by the non-invasive sand measuring device after the sand content of the natural gas in the test pipeline is increased for the last time may be used as a sand content critical value, and the critical value is added to the correction coefficient table, and the correction coefficient corresponding to the critical value in the correction coefficient table is 1.
At this time, the correction coefficient table may be a correction coefficient table shown in table 2 below. As shown in table 2, for the flow velocity V, when the sand content is the critical value W0, the corresponding correction coefficient is 1, when the sand content is greater than the critical value W0, when the sand content is W1, the corresponding correction coefficient is M1, when the sand content is W2, the corresponding correction coefficient is M2, and when the sand content is W3, the corresponding correction coefficient is M3.
TABLE 2
Figure BDA0001779051230000091
Figure BDA0001779051230000101
In addition, in the process of measuring the sand content of the natural gas in the test pipeline through the intrusive sand measuring device and the non-intrusive sand measuring device, when the sampling probe of the intrusive sand measuring device goes deep into the test pipeline, the flow state of the natural gas in the test pipeline can be changed, and the frequency of the sand carried in the natural gas impacting the test pipeline can be changed, so that when the non-intrusive sand measuring device is used for measuring the sand content of the natural gas in the test pipeline, the sand content of the natural gas in the test pipeline is ensured to be measured through the non-intrusive sand measuring device, and then the sand content of the natural gas in the test pipeline is measured through the intrusive sand measuring device.
Further, after the sand content of the natural gas in the test pipeline is increased each time, the sand content of the natural gas can be respectively tested through a non-intrusive sand testing device and an intrusive sand testing device which are arranged at a second position of the test pipeline, and a third test value and a fourth test value are obtained. And if the difference value between the ratio of the fourth test value to the third test value and 1 is larger than the numerical threshold, setting the ratio of the fourth test value to the third test value as a correction coefficient corresponding to the third test value, and adding the determined correction coefficient into a correction coefficient table corresponding to the test flow rate A. The natural gas in the test pipeline enters the desander after flowing through the first position and flows through the second position after entering the desander.
In the construction site, a desander is usually installed in the pipeline for transmitting natural gas, and therefore, when the desander is also installed in the measurement pipeline, the sand content of the natural gas on both sides of the desander of the measurement pipeline is different, at this time, two positions, namely a first position and a second position, can be set on the test pipeline, the first position is set to be the position in the measurement pipeline before the desander, and the second position is set to be the position in the measurement pipeline after the desander, that is, the natural gas in the test pipeline enters the desander after flowing through the first position, and flows through the second position after entering the desander. In this way, after the sand content of the natural gas in the test pipeline is increased each time, one correction coefficient is obtained according to the non-invasive sand measuring device and the invasive sand measuring device at the first position, and the other correction coefficient is obtained according to the non-invasive sand measuring device and the invasive sand measuring device at the second position. That is, after each increase in the sand content of the natural gas in the test pipeline, two correction coefficients can be obtained.
For example, as shown in fig. 2, the measuring pipe is provided with a desander, and the natural gas flows through the measuring pipe at a first position, then enters the desander and then flows through the measuring pipe at a second position. The sand content of the natural gas may be measured at a first location based on a non-intrusive sand measuring device and an intrusive sand measuring device, and at a second location based on the non-intrusive sand measuring device and the intrusive sand measuring device. When the flow speed of the natural gas in the test pipeline is a, the result measured by the non-invasive sand measuring device at the first position is a first test value Y3, the result measured by the invasive sand measuring device is a second test value H3, the result measured by the non-invasive sand measuring device at the second position is a third test value Y4, and the result measured by the invasive sand measuring device is a fourth test value H4. If the difference between H3/Y3 and 1 is greater than a specified value, the ratio of H3 to Y3 may be used as the correction coefficient corresponding to Y3 in the correction coefficient table, and if the difference between H4/Y4 and 1 is greater than a specified value, the ratio of H4 to Y4 may be used as the correction coefficient corresponding to Y4 in the correction coefficient table. After the sand content of the natural gas in the test pipeline is increased, the result measured by the non-invasive sand measuring device at the first position is a first test value Y5, the result measured by the invasive sand measuring device is a second test value H5, the result measured by the non-invasive sand measuring device at the second position is a third test value Y6, and the result measured by the invasive sand measuring device is a fourth test value H6. If the difference between H5/Y5 and 1 is greater than a specified value, the ratio of H5 to Y5 may be used as the correction coefficient corresponding to Y5 in the correction coefficient table, and if the difference between H6/Y6 and 1 is greater than a specified value, the ratio of H6 to Y6 may be used as the correction coefficient corresponding to Y6 in the correction coefficient table. The correction coefficients corresponding to the sand content of the natural gas at a certain flow speed of the natural gas in the pipeline are obtained in such a way, and the correction coefficients can be obtained at the first position and the second position respectively, namely two correction coefficients can be obtained for testing the sand content of the natural gas in the pipeline.
The sand content measuring sequence of the non-intrusive sand measuring device and the intrusive sand measuring device to the natural gas in the test pipeline is the same as the measuring sequence of the first position, the sand content of the natural gas in the test pipeline is measured through the non-intrusive sand measuring device, and then the sand content of the natural gas in the test pipeline is measured through the intrusive sand measuring device.
In addition, when the relationship between the first test value and the second test value, and the relationship between the third test value and the fourth test value are determined, the relationship is not limited to the second test value divided by the first test value, and the fourth test value divided by the third test value, and other determinations may be made, for example, subtracting the first test value from the second test value, subtracting the third test value from the fourth test value, and the like, and the present invention is not limited herein. For example, when the first test value is H1, the second test value is Y1, the third test value is H2, and the fourth test value is Y2, and the relationship between the first test value and the second test value, and the relationship between the third test value and the fourth test value are determined, the relationship between the first test value and the second test value, and the relationship between the third test value and the fourth test value may be determined by subtracting the first test value H1 from the second test value Y1, and subtracting the third test value H2 from the fourth test value Y2, i.e., Y1-H1, and Y2-H2 from the second test value Y1.
In addition, the correction coefficient is determined according to a ratio between the first test value and the second test value, or according to a ratio between the third test value and the fourth test value. Alternatively, the correction factor may also be determined from other relationships between the first test value and the second test value, or between the third test value and the fourth test value. For example, the correction factor is determined based on the difference between the second test value and the first test value, or based on the difference between the fourth test value and the third test value. Of course, the selection of the correction coefficient may be in other manners, and the invention is not limited herein.
In addition, in the process of determining the correction coefficient table corresponding to the test flow rate a, before the sand content in the natural gas is tested by the non-intrusive sand measuring device, a signal threshold of the non-intrusive sand measuring device needs to be determined, and then the correction coefficient table corresponding to the flow rate a needs to be determined based on the determined signal threshold.
In the embodiment of the present invention, the implementation manner of determining the signal threshold of the non-invasive sand measuring device may be the following two types:
(1) in a first implementation, the signal threshold corresponding to the test flow rate a is determined based on a non-intrusive sand measuring device and an intrusive sand measuring device that are disposed at a second location of the test pipeline.
The signal threshold is used for eliminating acoustic signals with certain frequency generated by natural gas in the test pipeline impacting the test pipeline. For the natural gas at the second position of the test pipeline, the natural gas in the test pipeline is desanded through the desander at the moment, so that the sand content of the natural gas in the test pipeline is reduced, and then the sand in the natural gas at the second position can be considered to be completely impacted on the test pipeline. In this case, after the measurement by the non-invasive sand measuring device and the invasive sand measuring device at the second position, if the two sand contents measured by the non-invasive sand measuring device and the invasive sand measuring device at the second position are the same, it indicates that the signal threshold set in the non-invasive sand measuring device at this time is correct. However, for natural gas at the first location of the test line, some of the sand in the natural gas in the test line may not impinge on the test line because the natural gas in the test line has not passed through the desander at this time. In this case, when the two sand contents measured by the sand intrusion measuring device and the sand non-intrusion measuring device at the first position are the same, the signal threshold value set in the sand non-intrusion measuring device may be incorrect. Therefore, in the embodiment of the present invention, it is necessary to determine the signal threshold corresponding to the test flow rate a based on the non-invasive sand measuring device and the invasive sand measuring device disposed at the second position of the test pipeline.
Specifically, based on the non-invasive sand measuring device and the invasive sand measuring device disposed at the second position of the test pipeline, the following two implementation manners may be used to determine the signal threshold corresponding to the test flow rate a:
in a possible implementation manner, when the sand content of the natural gas in the test pipeline is measured, assuming that the result measured by the sand intrusion type measuring device at the first position is H7, the result measured by the sand non-intrusion type measuring device is Y7, and the signal threshold value of the sand non-intrusion type measuring device is adjusted to be L1, so that the result measured by the sand non-intrusion type measuring device, Y7, is equal to the result measured by the sand intrusion type measuring device, H7. At the second position, the signal threshold value of the non-invasive sand measuring device is also set to be L1, the result measured by the non-invasive sand measuring device is Y8, the result measured by the invasive sand measuring device is H8, and if the difference between H8/Y8 and 1 is smaller than a preset value, the signal threshold value of the non-invasive sand measuring device at the first position is set to be L1 correctly, and at this time, the signal threshold value corresponding to the flow rate A can be set to be L1. If the difference between H8/Y8 and 1 is greater than the preset value, it indicates that the signal threshold L1 of the non-invasive sand measuring device at the first position is incorrect, and the signal threshold of the non-invasive sand measuring device at the first position needs to be reset, and the reset signal threshold is determined as the signal threshold corresponding to the flow rate a. The implementation manner of resetting the signal threshold of the non-invasive sand measuring device at the first position is as follows: and adjusting the signal threshold of the non-invasive sand measuring device at the second position to be L2 so that the result Y8 measured by the non-invasive sand measuring device is equal to the result H8 measured by the invasive sand measuring device, and at the moment, adjusting the signal threshold of the non-invasive sand measuring device at the first position to be L2.
The possible implementation manner is that the signal threshold of the non-invasive sand measuring device at the first position is adjusted, the measurement results of the non-invasive sand measuring device and the invasive sand measuring device at the second position are used for verifying the signal threshold of the non-invasive sand measuring device at the first position, and if the signal adjustment of the non-invasive sand measuring device at the first position is incorrect, the signal threshold of the non-invasive sand measuring device at the second position is used for readjusting the signal threshold of the non-invasive sand measuring device at the first position. The signal threshold for the non-invasive sand measuring device at the first position may be set correctly for the first time, and this signal threshold may be directly determined as the signal threshold corresponding to the flow rate a without readjustment. But if the signal threshold value set by the non-invasive sand measuring device at the first position is incorrect for the first time, the signal threshold value of the non-invasive sand measuring device at the second position is used for adjustment, and the readjusted signal threshold value of the non-invasive sand measuring device at the second position is determined as the signal threshold value corresponding to the flow rate A. Such an adjustment process makes the step of adjusting the signal threshold cumbersome.
In another possible implementation manner, after the flow rate of the natural gas in the test pipeline is determined to be a, when the sand content in the test pipeline is measured, the non-invasive sand measuring device and the invasive sand measuring device at the second position are directly used for determining the signal threshold corresponding to the flow rate a. Specifically, the signal threshold of the non-intrusive sand measuring device at the second position is set to L3, the result measured by the non-intrusive sand measuring device is Y9, and the result measured by the intrusive sand measuring device is H9. If H9/Y9 is close to 1, the signal threshold for flow rate A is set to L3. And if the difference between H9/Y9 and 1 is larger than a preset value, adjusting the signal threshold value at the second position to be L4, enabling the result H9/Y9 measured by the non-invasive sand measuring device at the second position to be close to 1, and at the moment, adjusting the signal threshold value of the non-invasive sand measuring device at the first position to be L4 as the signal threshold value corresponding to the flow rate A.
This possible implementation is to adjust the signal threshold of the non-intrusive sand measuring device at the first location directly according to the signal threshold of the non-intrusive sand measuring device at the second location. The possible implementation mode does not need to set the signal threshold of the non-invasive sand measuring device at the first position, and the operation is simple.
(2) In a second implementation manner, when the non-invasive sand measuring device leaves the factory, a nameplate is arranged on the non-invasive sand measuring device, a corresponding relation between the flow rate and the signal threshold value is arranged on the nameplate, and the signal threshold value corresponding to the flow rate can be directly selected from the nameplate on the non-invasive sand measuring device.
However, since the corresponding relationship between the flow rate and the signal threshold value set on the nameplate may not be accurate, in the embodiment of the present invention, the signal threshold value corresponding to the flow rate a may be determined through the above-mentioned first implementation manner.
In addition, in practical applications, the correspondence relationship between the flow rate and the signal threshold value may be added to the correction coefficient table to obtain the correction coefficient table shown in table 3 below. As shown in table 3, when the flow rate of the natural gas in the test pipeline is V, the signal threshold corresponding to the flow rate V is L. The correction for sand content W1 was M1, the correction for sand content W2 was M2, and the correction for sand content W3 was M3.
TABLE 3
Figure BDA0001779051230000141
Step 103: and correcting the first sand content according to the target correction coefficient to obtain the real sand content of the natural gas in the target pipeline.
When the first sand content in the target pipeline is corrected, in a possible implementation manner, the target correction coefficient is multiplied by the first sand content, and the obtained product is used as the real sand content of the natural gas in the target pipeline.
Of course, there may be other ways to correct the first sand content, for example, adding a target correction coefficient to the first sand content, because the correction coefficient in step 102 is obtained according to the difference between the result measured by the sand intrusion measuring device and the result measured by the sand non-sand intrusion measuring device, and the invention is not limited thereto.
For example, when the sand content of the natural gas in the target pipeline is measured by using the non-invasive sand measuring device, the flow speed of the natural gas in the target pipeline is determined to be V, the signal threshold value of the non-invasive sand measuring device is set to be L according to the correction coefficient table 3, when the sand content measured by the non-invasive sand measuring device is W1, W1 is corrected by using a correction coefficient M1 to obtain an accurate value of the sand content of the natural gas in the target pipeline, when the sand content measured by the non-invasive sand measuring device is W2, W1 is corrected by using a correction coefficient M2, and when the sand content measured by the non-invasive sand measuring device is W3, W3 is corrected by using a correction coefficient M3.
For example, when the measured flow velocity of the natural gas in the target pipeline is 30m/s, the signal threshold corresponding to the flow velocity of 30m/s is 40, the signal threshold of the non-invasive sand measuring device is set to be 40, and the result measured by the non-invasive sand measuring device is 50mg/m 3 Then the sand content of 50mg/m is searched in a correction coefficient table with the flow rate of 30m/s 3 Corresponding to a correction factor of 1.3, 1.3 to 50mg/m 3 Multiplying, the sand content in the natural gas in the target pipeline can be obtained to be 65mg/m 3 . When the measured flow velocity of the natural gas in the target pipeline is 40m/s and the signal threshold corresponding to the flow velocity of 40m/s is 50, the signal threshold of the non-invasive sand measuring device is set to be 50, and the result of the non-invasive sand measuring transposition measurement is obtainedIs 70mg/m 3 Then the sand content of 70mg/m is found in a correction coefficient table with the flow rate of 40m/s 3 Corresponding to a correction factor of 1.2, 1.2 to 70mg/m 3 Multiplying, the sand content in the natural gas in the target pipeline is 84mg/m 3
In the embodiment of the invention, the sand content of the natural gas in the target pipeline is detected by the non-invasive sand measuring device based on the flow velocity of the natural gas in the target pipeline, so that the first sand content is obtained. And selecting a correction coefficient table corresponding to the flow rate of the natural gas in the target pipeline from the plurality of stored correction coefficient tables to obtain a target correction coefficient table, selecting a target correction coefficient corresponding to the first sand content from the target correction coefficient table, and correcting the first sand content according to the target correction coefficient to obtain the real sand content of the natural gas in the target pipeline. That is, in the embodiment of the present invention, when the non-invasive sand measuring device detects the first sand content, the first sand content is corrected to improve the accuracy of the determined sand content.
Fig. 3 is a schematic view of an apparatus for determining sand content according to an embodiment of the present invention, and as shown in fig. 3, the apparatus includes:
the detection module 301 is configured to detect the sand content of the natural gas in the target pipeline through a non-intrusive sand measurement device based on the flow velocity of the natural gas in the target pipeline, so as to obtain a first sand content;
a selecting module 302, configured to select a correction coefficient table corresponding to a flow rate of natural gas in a target pipeline from a plurality of correction coefficient tables to obtain a target correction coefficient table, and select a target correction coefficient corresponding to a first sand content from the target correction coefficient table, where each correction coefficient table corresponds to one flow rate, and each correction coefficient table includes a plurality of correction coefficients, and each correction coefficient corresponds to one sand content;
and the correcting module 303 is configured to correct the first sand content according to the target correction coefficient to obtain a real sand content of the natural gas in the target pipeline.
Optionally, the correcting module 303 is specifically configured to:
and multiplying the target correction coefficient by the first sand content, and taking the obtained product as the real sand content of the natural gas in the target pipeline.
Optionally, the detecting module 301 is specifically configured to:
determining a flow rate of natural gas within the target pipeline;
determining a target signal threshold value according to the flow rate of the natural gas based on the stored corresponding relation between the flow rate and the signal threshold value;
and based on the target signal threshold value, measuring and determining the sand content of the natural gas in the target pipeline through a non-invasive sand measuring device to obtain a first sand content.
Optionally, as shown in fig. 4, the apparatus 300 further includes:
a first determination module 304 for determining a plurality of test flow rates;
a first setting module 305, configured to set the flow rate of the natural gas in the test pipeline to any one test flow rate a of a plurality of test flow rates, and gradually increase the sand content of the natural gas in the test pipeline;
the first testing module 306 is configured to, after the sand content of the natural gas in the testing pipeline is increased each time, respectively test the sand content in the natural gas through a non-intrusive sand testing device and an intrusive sand testing device that are arranged at a first position of the testing pipeline, so as to obtain a first testing value and a second testing value;
and a second setting module 307, configured to set the ratio between the second test value and the first test value as the correction coefficient corresponding to the first test value if the difference between the ratio of the second test value and the first test value and 1 is greater than the numerical threshold, and add the determined correction coefficient to the correction coefficient table corresponding to the test flow rate a.
Optionally, as shown in fig. 5, the apparatus 300 further includes:
a second testing module 308, configured to respectively test sand content in the natural gas through a non-intrusive sand measuring device and an intrusive sand measuring device that are disposed at a second position of the testing pipeline, so as to obtain a third testing value and a fourth testing value, where a desander is disposed in the testing pipeline, and the natural gas in the testing pipeline enters the desander after flowing through the first position, and flows through the second position after entering the desander;
and a third setting module 309, configured to set the ratio between the fourth test value and the third test value as a correction coefficient corresponding to the third test value if the difference between the ratio of the fourth test value and the third test value and 1 is greater than the numerical threshold, and add the determined correction coefficient to the correction coefficient table corresponding to the test flow rate a.
Optionally, as shown in fig. 6, the apparatus further comprises:
a second determining module 310, configured to determine a signal threshold corresponding to the test flow rate a based on the non-intrusive sand testing device and the intrusive sand testing device disposed at the second location of the test pipeline.
In the embodiment of the invention, the sand content of the natural gas in the target pipeline is detected by the non-invasive sand measuring device based on the flow velocity of the natural gas in the target pipeline, so that the first sand content is obtained. And selecting a correction coefficient table corresponding to the flow rate of the natural gas in the target pipeline from the plurality of stored correction coefficient tables to obtain a target correction coefficient table, selecting a target correction coefficient corresponding to the first sand content from the target correction coefficient table, and correcting the first sand content according to the target correction coefficient to obtain the real sand content of the natural gas in the target pipeline. That is, in the embodiment of the present invention, when the non-invasive sand measuring device detects the first sand content, the first sand content is corrected to improve the accuracy of the determined sand content.
It should be noted that: in the device for determining sand content provided in the above embodiment, when the sand content is measured, only the division of the above functional modules is taken as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the equipment is divided into different functional modules to complete all or part of the above described functions. In addition, the device for determining sand content and the method for determining sand content provided by the above embodiments belong to the same concept, and the specific implementation process is detailed in the method embodiments and will not be described herein again.
Fig. 7 is a block diagram illustrating a terminal 700 according to an exemplary embodiment of the present invention. The terminal 700 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 700 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and so on.
In general, terminal 700 includes: a processor 701 and a memory 702.
The processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 701 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 701 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 701 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 701 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 702 may include one or more computer-readable storage media, which may be non-transitory. Memory 702 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 702 is used to store at least one instruction for execution by processor 701 to implement the method of determining sand content provided by the method embodiments herein.
In some embodiments, the terminal 700 may further optionally include: a peripheral interface 703 and at least one peripheral. The processor 701, the memory 702, and the peripheral interface 703 may be connected by buses or signal lines. Various peripheral devices may be connected to peripheral interface 703 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 704, touch screen display 705, camera assembly 706, audio circuitry 707, positioning assembly 708, and power source 709.
The peripheral interface 703 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 701 and the memory 702. In some embodiments, processor 701, memory 702, and peripheral interface 703 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 701, the memory 702, and the peripheral interface 703 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 704 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 704 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 704 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 704 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 704 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 705 is used to display a UI (user interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 705 is a touch display screen, the display screen 705 also has the ability to capture touch signals on or over the surface of the display screen 705. The touch signal may be input to the processor 701 as a control signal for processing. At this point, the display 705 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 705 may be one, providing the front panel of the terminal 700; in other embodiments, the display 705 can be at least two, respectively disposed on different surfaces of the terminal 700 or in a folded design; in still other embodiments, the display 705 may be a flexible display disposed on a curved surface or on a folded surface of the terminal 700. Even more, the display 705 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The Display 705 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or the like.
The camera assembly 706 is used to capture images or video. Optionally, camera assembly 706 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each of the rear cameras is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (virtual reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 706 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 707 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 701 for processing or inputting the electric signals to the radio frequency circuit 704 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal 700. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 701 or the radio frequency circuit 704 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 707 may also include a headphone jack.
The positioning component 708 is used to locate the current geographic Location of the terminal 700 for navigation or LBS (Location Based Service). The Positioning component 708 can be a Positioning component based on the GPS (Global Positioning System) in the united states, the beidou System in china, the graves System in russia, or the galileo System in the european union.
Power supply 709 is provided to supply power to various components of terminal 700. The power source 709 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When power source 709 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 700 also includes one or more sensors 710. The one or more sensors 710 include, but are not limited to: acceleration sensor 711, gyro sensor 712, pressure sensor 713, fingerprint sensor 714, optical sensor 715, and proximity sensor 716.
The acceleration sensor 711 can detect the magnitude of acceleration in three coordinate axes of a coordinate system established with the terminal 700. For example, the acceleration sensor 711 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 701 may control the touch screen 705 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 711. The acceleration sensor 711 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 712 may detect a body direction and a rotation angle of the terminal 700, and the gyro sensor 712 may acquire a 3D motion of the user on the terminal 700 in cooperation with the acceleration sensor 711. From the data collected by the gyro sensor 712, the processor 701 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 713 may be disposed on a side bezel of terminal 700 and/or an underlying layer of touch display 705. When the pressure sensor 713 is disposed on a side frame of the terminal 700, a user's grip signal on the terminal 700 may be detected, and the processor 701 performs right-left hand recognition or shortcut operation according to the grip signal collected by the pressure sensor 713. When the pressure sensor 713 is disposed at a lower layer of the touch display 705, the processor 701 controls the operability control on the UI interface according to the pressure operation of the user on the touch display 705. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 714 is used for collecting a fingerprint of a user, and the processor 701 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 714, or the fingerprint sensor 714 identifies the identity of the user according to the collected fingerprint. When the user identity is identified as a trusted identity, the processor 701 authorizes the user to perform relevant sensitive operations, including unlocking a screen, viewing encrypted information, downloading software, paying, changing settings, and the like. The fingerprint sensor 714 may be disposed on the front, back, or side of the terminal 700. When a physical button or a vendor Logo is provided on the terminal 700, the fingerprint sensor 714 may be integrated with the physical button or the vendor Logo.
The optical sensor 715 is used to collect the ambient light intensity. In one embodiment, the processor 701 may control the display brightness of the touch display 705 based on the ambient light intensity collected by the optical sensor 715. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 705 is increased; when the ambient light intensity is low, the display brightness of the touch display 705 is turned down. In another embodiment, processor 701 may also dynamically adjust the shooting parameters of camera assembly 706 based on the ambient light intensity collected by optical sensor 715.
A proximity sensor 716, also referred to as a distance sensor, is typically disposed on a front panel of the terminal 700. The proximity sensor 716 is used to collect the distance between the user and the front surface of the terminal 700. In one embodiment, when the proximity sensor 716 detects that the distance between the user and the front surface of the terminal 700 gradually decreases, the processor 701 controls the touch display 705 to switch from the bright screen state to the dark screen state; when the proximity sensor 716 detects that the distance between the user and the front surface of the terminal 700 gradually becomes larger, the processor 701 controls the touch display 705 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 7 is not intended to be limiting of terminal 700 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
Embodiments of the present application further provide a non-transitory computer-readable storage medium, where instructions in the storage medium, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the method for determining sand content provided in the embodiment shown in fig. 1.
Embodiments of the present application further provide a computer program product containing instructions, which when run on a computer, cause the computer to perform the method for determining sand content provided in the embodiment shown in fig. 1.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
In summary, the present invention is only a preferred embodiment, and not intended to limit the present invention, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. A method of determining sand content, the method comprising:
determining a flow rate of natural gas within the target pipeline;
determining a target signal threshold corresponding to the flow rate of the natural gas based on a stored corresponding relation between the flow rate and a signal threshold, wherein the signal threshold is used for excluding an acoustic signal generated by the natural gas impacting the target pipeline from all acoustic signals acquired by a non-invasive sand measuring device, the signal threshold is related to the frequency range of the acoustic signal generated by the natural gas impacting the target pipeline, and a sampling probe of the non-invasive sand measuring device does not penetrate into the target pipeline;
acquiring all acoustic signals generated when natural gas and sand in the target pipeline impact the target pipeline and the frequency range of all the acoustic signals through the non-invasive sand measuring device;
calculating an acoustic signal generated when the sand in the target pipeline impacts the target pipeline and a frequency range of the acoustic signal according to the target signal threshold, the all acoustic signals and the frequency range of the all acoustic signals so as to obtain a first sand content of the natural gas in the target pipeline;
selecting a target correction coefficient table corresponding to the flow rate of the natural gas in the target pipeline from a plurality of predetermined and stored correction coefficient tables, wherein each correction coefficient table in the plurality of predetermined and stored correction coefficient tables corresponds to one flow rate and each correction coefficient table comprises a plurality of correction coefficients, and each correction coefficient corresponds to one sand content;
correcting the first sand content according to the target correction coefficient to obtain the real sand content of the natural gas in the target pipeline;
wherein the method of determining the plurality of correction coefficient tables includes:
determining a plurality of test flow rates;
setting the flow rate of natural gas in a test pipeline as any one test flow rate A of the plurality of test flow rates, and gradually increasing the sand content of the natural gas in the test pipeline, wherein a desander is arranged in the test pipeline, a non-invasive sand measuring device and an invasive sand measuring device are arranged at a first position of the test pipeline, a non-invasive sand measuring device and an invasive sand measuring device are arranged at a second position of the test pipeline, and the natural gas sequentially passes through the first position, the desander and the second position in the transmission direction;
determining a signal threshold corresponding to the test flow rate A based on a non-invasive sand measuring device and an invasive sand measuring device which are arranged at the second position;
after the sand content of the natural gas in the test pipeline is increased each time, respectively testing the sand content of the natural gas through a non-intrusive sand testing device and an intrusive sand testing device which are arranged at the first position to obtain a first test value and a second test value;
if the difference value between the ratio of the second test value to the first test and 1 is larger than a numerical threshold, determining the correction coefficient corresponding to the first test value as the ratio of the second test value to the first test value; if the difference value between the ratio of the second test value to the first test value and 1 is less than or equal to the numerical threshold, determining the correction coefficient corresponding to the first test value as 1;
and adding the determined correction coefficient to a correction coefficient table corresponding to the test flow rate A.
2. The method of claim 1, wherein the correcting the first sand content according to the target correction factor to obtain the true sand content of the natural gas in the target pipeline comprises:
and multiplying the target correction coefficient by the first sand content, and taking the obtained product as the real sand content of the natural gas in the target pipeline.
3. The method of claim 1, wherein after testing the sand content in the natural gas with a non-intrusive sand testing device and an intrusive sand testing device disposed at the first location of the test pipeline, respectively, the method further comprises:
respectively testing the sand content in the natural gas through a non-invasive sand testing device and an invasive sand testing device which are arranged at a second position of the test pipeline to obtain a third test value and a fourth test value, wherein a desander is arranged in the test pipeline, and the natural gas in the test pipeline enters the desander after flowing through the first position and flows through the second position after entering the desander;
and if the difference value between the ratio of the fourth test value to the third test value and 1 is larger than a numerical threshold, setting the ratio of the fourth test value to the third test value as a correction coefficient corresponding to the third test value, and adding the determined correction coefficient to a correction coefficient table corresponding to the test flow rate A.
4. An apparatus for determining sand content, the apparatus comprising:
the detection module is used for determining the flow rate of the natural gas in the target pipeline; determining a target signal threshold corresponding to the flow rate of the natural gas based on a stored corresponding relation between the flow rate and a signal threshold, wherein the signal threshold is used for excluding an acoustic signal generated by the natural gas impacting the target pipeline from all acoustic signals acquired by a non-invasive sand measuring device, the signal threshold is related to the frequency range of the acoustic signal generated by the natural gas impacting the target pipeline, and a sampling probe of the non-invasive sand measuring device does not penetrate into the target pipeline; acquiring all acoustic signals and frequency ranges of all acoustic signals generated when natural gas and sand in the target pipeline impact the pipe wall of the target pipeline through the non-invasive sand measuring device, and calculating the acoustic signals and the frequency ranges of the acoustic signals generated when the sand in the target pipeline impacts the target pipeline according to the target signal threshold, the all acoustic signals and the frequency ranges of all acoustic signals so as to obtain a first sand content of the natural gas in the target pipeline;
a selection module for selecting a target correction coefficient table corresponding to the flow rate of the natural gas in the target pipeline from a plurality of predetermined and stored correction coefficient tables, each of which corresponds to one flow rate and includes a plurality of correction coefficients, and selecting a target correction coefficient corresponding to the first sand content from the target correction coefficient table;
the correction module is used for correcting the first sand content according to the target correction coefficient to obtain the real sand content of the natural gas in the target pipeline;
the device further comprises:
a first determination module to determine a plurality of test flow rates;
the device comprises a first setting module, a second setting module and a third setting module, wherein the first setting module is used for setting the flow velocity of natural gas in a test pipeline to be any one of a plurality of test flow velocities A and gradually increasing the sand content of the natural gas in the test pipeline, a desander is arranged in the test pipeline, a non-invasive sand measuring device and an invasive sand measuring device are arranged at a first position of the test pipeline, a non-invasive sand measuring device and an invasive sand measuring device are arranged at a second position of the test pipeline, and the natural gas sequentially passes through the first position, the desander and the second position in the transmission direction;
the second determination module is used for determining a signal threshold corresponding to the test flow speed A based on a non-invasive sand measuring device and an invasive sand measuring device which are arranged at the second position;
the first testing module is used for respectively testing the sand content in the natural gas through a non-intrusive sand testing device and an intrusive sand testing device which are arranged at the first position after the sand content of the natural gas in the testing pipeline is increased every time, so that a first testing value and a second testing value are obtained;
the second setting module is used for determining the correction coefficient corresponding to the first test value as the ratio between the second test value and the first test value if the difference value between the ratio of the second test value to the first test value and 1 is greater than a numerical threshold; if the difference value between the ratio of the second test value to the first test value and 1 is less than or equal to the numerical threshold, determining the correction coefficient corresponding to the first test value as 1; and adding the determined correction coefficient to a correction coefficient table corresponding to the test flow rate A.
5. The apparatus of claim 4, wherein the correction module is specifically configured to:
and multiplying the target correction coefficient by the first sand content, and taking the obtained product as the real sand content of the natural gas in the target pipeline.
6. The apparatus of claim 4, wherein the apparatus further comprises:
the second testing module is used for respectively testing the sand content in the natural gas through a non-intrusive sand testing device and an intrusive sand testing device which are arranged at a second position of the testing pipeline to obtain a third testing value and a fourth testing value, a sand remover is arranged in the testing pipeline, and the natural gas in the testing pipeline enters the sand remover after flowing through the first position and flows through the second position after entering the sand remover;
and the third setting module is used for setting the ratio of the fourth test value to the third test value as a correction coefficient corresponding to the third test value if the difference value between the ratio of the fourth test value to the third test value and 1 is greater than a numerical threshold, and adding the determined correction coefficient into a correction coefficient table corresponding to the test flow rate A.
7. An apparatus for determining sand content, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of the method of any one of claim 1 to claim 3.
8. A computer readable storage medium having stored thereon instructions which, when executed by a processor, carry out the steps of the method of any one of claims 1 to 3.
CN201810983001.0A 2018-08-27 2018-08-27 Method and device for determining sand content and storage medium Active CN110865170B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810983001.0A CN110865170B (en) 2018-08-27 2018-08-27 Method and device for determining sand content and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810983001.0A CN110865170B (en) 2018-08-27 2018-08-27 Method and device for determining sand content and storage medium

Publications (2)

Publication Number Publication Date
CN110865170A CN110865170A (en) 2020-03-06
CN110865170B true CN110865170B (en) 2022-08-05

Family

ID=69651663

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810983001.0A Active CN110865170B (en) 2018-08-27 2018-08-27 Method and device for determining sand content and storage medium

Country Status (1)

Country Link
CN (1) CN110865170B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112362151B (en) * 2020-10-27 2022-09-09 四川共享铸造有限公司 Sand amount monitoring method of sand treatment system
CN114459783A (en) * 2020-11-09 2022-05-10 中国石油天然气股份有限公司 Online testing device and method for desander

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2591745A1 (en) * 1985-12-12 1987-06-19 Beauvais Inst Sup Agricole Apparatus for determining the grain size of soils
CN103353537A (en) * 2013-06-18 2013-10-16 西北农林科技大学 Shallow layer water flow velocity measurement apparatus
CN104019805A (en) * 2014-06-13 2014-09-03 华北水利水电大学 High-sand-content turbid water density current detection method
CN107727355A (en) * 2017-09-27 2018-02-23 中国科学院、水利部成都山地灾害与环境研究所 A kind of fluid chooses horizontal range measuring method and its application

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
NO166379C (en) * 1987-12-18 1991-07-10 Sensorteknikk As PROCEDURE FOR REGISTERING MULTIPHASE FLOWS THROUGH A TRANSPORT SYSTEM.
NO321752B1 (en) * 2004-06-07 2006-06-26 Roxar Flow Measurement As System for sand detection in constrictions or currents in rudder

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2591745A1 (en) * 1985-12-12 1987-06-19 Beauvais Inst Sup Agricole Apparatus for determining the grain size of soils
CN103353537A (en) * 2013-06-18 2013-10-16 西北农林科技大学 Shallow layer water flow velocity measurement apparatus
CN104019805A (en) * 2014-06-13 2014-09-03 华北水利水电大学 High-sand-content turbid water density current detection method
CN107727355A (en) * 2017-09-27 2018-02-23 中国科学院、水利部成都山地灾害与环境研究所 A kind of fluid chooses horizontal range measuring method and its application

Also Published As

Publication number Publication date
CN110865170A (en) 2020-03-06

Similar Documents

Publication Publication Date Title
CN111005715B (en) Method and device for determining yield of gas well and storage medium
CN109166150B (en) Pose acquisition method and device storage medium
CN110931053B (en) Method, device, terminal and storage medium for detecting recording time delay and recording audio
CN110174699B (en) Method, device and storage medium for determining fault closure
CN109192223B (en) Audio alignment method and device
CN111982305A (en) Temperature measuring method, device and computer storage medium
CN110865170B (en) Method and device for determining sand content and storage medium
CN111255434B (en) Well testing method, device and computer storage medium for gas well
CN111753606A (en) Intelligent model upgrading method and device
CN111354378B (en) Voice endpoint detection method, device, equipment and computer storage medium
CN108733902B (en) Method and device for determining permeability of oil reservoir and storage medium
CN112882094B (en) First-arrival wave acquisition method and device, computer equipment and storage medium
CN110673214B (en) Method and device for predicting depths of inlet target point and end point of horizontal well
CN110263695B (en) Face position acquisition method and device, electronic equipment and storage medium
CN210716984U (en) Pipeline detection device
CN110443841B (en) Method, device and system for measuring ground depth
CN114544473A (en) Method and device for determining corrosion rate of pipeline and computer storage medium
CN113931621A (en) Method and device for determining gas well accumulated liquid information and storage medium
CN112132472A (en) Resource management method and device, electronic equipment and computer readable storage medium
CN111723615A (en) Method and device for carrying out detection object matching judgment on detection object image
CN112050088B (en) Pipeline detection method and device and computer storage medium
CN109886226B (en) Method and device for determining characteristic data of image, electronic equipment and storage medium
CN112329355B (en) Method and device for determining single-well control area, computer equipment and storage medium
CN112182986B (en) Method, device, equipment and storage medium for determining area sweep information
CN110633335B (en) Method, terminal and readable storage medium for acquiring POI data

Legal Events

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