Sampling measurement method and apparatus for natural gas measurement tube, and computer device
By using components such as a three-way valve, detection tube, pressure regulating valve, and pressure-resistant sleeve in a natural gas detection device, combined with a flow meter and color detection sensor, uniform injection detection of natural gas under high pressure environment is achieved. This solves the problem of poor measurement repeatability and reproducibility caused by unstable injection volume in existing technologies, and improves the accuracy and stability of detection.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- PETROCHINA CO LTD
- Filing Date
- 2025-10-30
- Publication Date
- 2026-05-21
AI Technical Summary
Existing gas detection tube detection technology involves aspiration and sample injection analysis under atmospheric pressure, which makes the sample volume susceptible to environmental factors such as temperature and atmospheric pressure. The flow rate of the sample entering the detection tube is difficult to keep stable, resulting in poor measurement repeatability and reproducibility.
A natural gas sampling and detection method using a natural gas detection tube is proposed. This method utilizes a device consisting of a three-way valve, a detection tube, a pressure regulating valve, and a pressure-resistant sleeve. By controlling the valve and flow meter, the flow rate of natural gas in the detection tube is regulated. Combined with a color detection sensor and control equipment, this method enables uniform sampling and detection of natural gas under high pressure.
It improves the reproducibility and accuracy of natural gas detection, reduces the difficulty of detection, and eliminates the need for pressure reduction of the natural gas to be tested, thus ensuring the stability and precision of the detection.
Smart Images

Figure CN2025131398_21052026_PF_FP_ABST
Abstract
Description
A method, apparatus, and computer device for natural gas sampling and testing via a natural gas testing tube.
[0001] Related applications
[0002] This application claims priority to Chinese Patent Application No. 202411630130.3, filed on November 14, 2024, and incorporates the entire contents of the aforementioned patent application as part of this application. Technical Field
[0003] This disclosure relates to the field of natural gas detection technology, and in particular to a method, apparatus, and computer equipment for natural gas detection tube sampling detection. Background Technology
[0004] Hydrogen sulfide, carbon dioxide, and water content are the most common detection indicators in natural gas development, purification, storage, and transportation, with high demand. Currently, gas detection tube technology is commonly used for detection. Gas detection tubes, also known as direct-reading detection tubes, are filled with a silica gel or alumina carrier with a detection reagent attached. The outer surface of the glass tube is printed with graduations indicating gas concentration. When the gas being tested passes through the carrier with the detection reagent, it reacts chemically with the reagent, causing a color change. By observing the length of the discolored layer and reading the graduations, the gas concentration can be determined instantly. This method is simple, fast, and low-cost.
[0005] However, existing gas detection tube detection technology involves sampling and analysis under atmospheric pressure conditions, which makes the sample volume susceptible to environmental factors such as temperature and atmospheric pressure. Furthermore, the flow rate of the sample entering the detection tube is difficult to keep stable, resulting in poor measurement repeatability and reproducibility, which adversely affects the measurement precision.
[0006] In view of this, the present disclosure aims to provide a method, apparatus and computer equipment for natural gas detection tube sampling detection. Summary of the Invention
[0007] In view of the above-mentioned problems in the prior art, the purpose of this disclosure is to provide a solution to the problems in the prior art.
[0008] To solve the above-mentioned technical problems, the specific technical solutions of this disclosure are as follows:
[0009] In a first aspect, embodiments of this disclosure provide a method for sampling and detecting natural gas through a detection tube. The method is applicable to a natural gas detection device, which includes a three-way valve, a first vent valve, a detection tube, a pressure regulating valve, and a pressure-resistant sleeve. The first end of the three-way valve is connected to the natural gas to be detected; the second end of the three-way valve is connected to the first end of the pressure-resistant sleeve via an inlet pipe; and the third end of the three-way valve is connected to the second end of the pressure-resistant sleeve via an inlet bypass. The detection tube is located inside the pressure-resistant sleeve and is used to detect natural gas. The first vent valve is connected to the first end of the pressure-resistant sleeve, and the pressure regulating valve is connected to the second end of the pressure-resistant sleeve.
[0010] The methods include:
[0011] The second and third ends of the three-way valve are opened to transfer the natural gas to be tested to the first and second ends of the pressure-resistant bushing;
[0012] Control the opening of the first vent valve to clean the intake pipe;
[0013] The first vent valve is closed, the third end of the three-way valve is closed, and the pressure regulating valve is opened, so that the natural gas to be tested flows in the test pipe at a predetermined flow rate and is tested.
[0014] Specifically, the natural gas detection device also includes a flow meter connected to the end of the pressure regulating valve away from the pressure-resistant sleeve;
[0015] The method also includes:
[0016] The flow meter is activated to detect the flow rate and regulate the pressure of the natural gas to be tested flowing through the self-pressure-resistant bushing and pressure regulating valve.
[0017] Furthermore, the natural gas detection device also includes a color detection sensor and a control device. The color detection sensor and the flow meter are connected to the control device. The color detection sensor is used to detect the color change when the detection tube reacts with the natural gas to be detected. The control device is used to receive the color change information fed back by the color detection sensor and the flow rate fed back by the flow meter.
[0018] The method also includes:
[0019] The flow meter controls the collection of flow data of the natural gas to be detected when the color detection sensor detects a color change; and
[0020] The control equipment acquires data based on color changes and flow rates to detect the natural gas to be tested.
[0021] Specifically, the natural gas detection device also includes a moving component, which is used to move the color detection sensor relative to the pressure-resistant bushing;
[0022] To allow the natural gas to be tested to flow through the detection tube at a predetermined flow rate and be tested, further includes:
[0023] The control moving component operates to move the color detection sensor relative to the pressure-resistant sleeve to a predetermined detection position, and detects the color change of the pressure-resistant sleeve at the predetermined detection position.
[0024] Optionally, the natural gas detection device further includes a second vent valve, one end of which is connected to a pipeline between the third end of the three-way valve and the second end of the pressure-resistant sleeve via a three-way fitting; the other end of the second vent valve is connected to a recovery device, which is used to recover the natural gas to be detected in the pressure-resistant sleeve.
[0025] The method also includes:
[0026] Once the natural gas to be tested has been tested, the three-way valve is closed, the pressure regulating valve is closed, and the second vent valve is opened to recover the natural gas to be tested from the pressure-resistant bushing.
[0027] Furthermore, the natural gas detection device also includes a control valve, one end of which is connected to the pipeline between the third end of the three-way valve and the second end of the pressure-resistant sleeve via a three-way fitting; the other end of the control valve is connected to an air pumping device.
[0028] After the testing of the natural gas to be tested is completed, the method also includes:
[0029] The control valve and air pump are opened to pump air into the pressure-resistant bushing.
[0030] Furthermore, after the control valve and air pump are opened to pump air into the pressure-resistant bushing, the method further includes:
[0031] Repeatedly open the second vent valve and control valve multiple times to complete the cleaning of the pressure-resistant bushing.
[0032] Secondly, embodiments of this disclosure provide a natural gas detection tube sampling detection device, comprising:
[0033] The first control module is used to control the opening of the second and third ends of the three-way valve to transmit the natural gas to be tested to the first and second ends of the pressure-resistant casing.
[0034] The second control module is used to control the opening of the first vent valve to clean the intake pipe;
[0035] The third control module is used to control the first vent valve to close, the third end of the three-way valve to close, and the pressure regulating valve to open, so that the natural gas to be tested can flow in the detection pipe at a predetermined flow rate and be detected.
[0036] Thirdly, embodiments of this disclosure provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method provided by the above-described technical solution.
[0037] Fourthly, embodiments of this disclosure provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the method provided by the above-described technical solution.
[0038] Fifthly, embodiments of this disclosure provide a computer program product, including at least one instruction or at least one program segment, wherein the at least one instruction or at least one program segment is loaded and executed by a processor to implement the method provided by the above-described technical solution.
[0039] By adopting the above technical solution, the natural gas detection tube injection detection method, device and computer equipment provided in this disclosure embodiment can realize uniform injection detection of natural gas under high pressure environment, improve the reproducibility and accuracy of natural gas detection, and eliminate the need for pressure reduction treatment of the natural gas to be detected, thus reducing the detection difficulty.
[0040] To make the above and other objects, features and advantages of the embodiments of this disclosure more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0041] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0042] Figure 1 shows a schematic diagram of the steps of a natural gas detection tube sampling and detection method provided in an embodiment of this disclosure;
[0043] Figure 2 shows a schematic diagram of the natural gas detection device in an embodiment of this disclosure;
[0044] Figure 3 shows a schematic diagram of a natural gas detection device in an embodiment of this disclosure;
[0045] Figure 4 shows a schematic diagram of a natural gas detection tube sampling detection device provided in an embodiment of this disclosure;
[0046] Figure 5 shows a schematic diagram of the structure of a computer device provided in an embodiment of this disclosure.
[0047] Explanation of symbols in the attached diagram: 1. Three-way valve; 2. First vent valve; 3. Detection tube; 4. Pressure regulating valve; 5. Pressure-resistant sleeve; 6. Flow meter; 7. Second vent valve; 8. Control valve; 9. Color detection sensor; 91. Laser emitter; 92. Laser receiver; 10. Control device; 41. First control module; 42. Second control module; 43. Third control module; 502. Computer equipment; 504. Processor; 506. Memory; 508. Drive mechanism; 510. Input / output module; 512. Input device; 514. Output device; 516. Presentation device; 518. Graphical user interface; 520. Network interface; 522. Communication link; 524. Communication bus. Detailed Implementation
[0048] The technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this disclosure.
[0049] It should be noted that the terms "first," "second," etc., used in this disclosure, the claims, and the foregoing drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, apparatus, product, or device that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.
[0050] To address the aforementioned issues, this disclosure provides a method, apparatus, and computer device for natural gas detection tube sampling and detection. Existing gas detection tube technologies, which perform sampling and analysis under atmospheric pressure conditions, are susceptible to variations in sample volume due to environmental factors such as temperature and atmospheric pressure. Furthermore, the flow rate of the sample entering the detection tube is difficult to maintain, resulting in poor measurement repeatability and reproducibility.
[0051] Figure 1 is a schematic diagram of the steps of a natural gas detection tube sampling detection method provided in an embodiment of this disclosure. This disclosure provides the method operation steps as shown in the embodiment or flowchart, but based on conventional or non-inventive labor, more or fewer operation steps may be included. The order of steps listed in the embodiment is merely one possible execution order among many steps and does not represent the only execution order. In actual system or device products, the method can be executed sequentially or in parallel according to the embodiment or the accompanying drawings. Specifically, as shown in Figure 1, the method may include:
[0052] S110: Control the opening of the second and third ends of the three-way valve 1 to transmit the natural gas to be tested to the first and second ends of the pressure-resistant sleeve 5;
[0053] S120: Control the opening of the first vent valve 2 to clean the intake pipe;
[0054] S130: Control the first vent valve 2 to close, the third end of the three-way valve 1 to close, and the pressure regulating valve 4 to open, so that the natural gas to be tested flows in the detection pipe 3 at a predetermined flow rate and is tested.
[0055] The natural gas detection tube sampling and detection method provided in this disclosure is applicable to natural gas detection devices. Figures 2 and 3 are a structural schematic diagram and a model schematic diagram of the natural gas detection device, respectively. As shown in Figures 2 and 3, the device includes a three-way valve 1, a first vent valve 2, a detection tube 3, a pressure regulating valve 4, and a pressure-resistant sleeve 5.
[0056] The first end of the three-way valve 1 is connected to the natural gas to be tested. The second end of the three-way valve 1 is connected to the first end of the pressure-resistant sleeve 5 via the inlet pipe. The third end of the three-way valve 1 is connected to the second end of the pressure-resistant sleeve 5 via the inlet bypass. That is, the three-way valve 1 includes an inlet end connected to the natural gas to be tested and two outlet ends respectively connected to the two ends of the pressure-resistant sleeve.
[0057] The detection tube 3 is located inside the pressure-resistant sleeve 5. The detection tube 3 contains a natural gas component detection reagent, which can detect a specific component (including but not limited to hydrogen sulfide, carbon dioxide, etc.) in the natural gas to be tested. One end of the detection tube 3 is detachably connected to the inside of the first end of the pressure-resistant sleeve 5, ensuring airtightness during connection; the other end of the detection tube 3 is located within the cavity of the pressure-resistant sleeve 5; the second end of the pressure-resistant sleeve 5 is connected to the pressure regulating valve 4.
[0058] When the second and third ends of the three-way valve 1 are opened in step S110, the natural gas to be tested will be transmitted to both ends of the pressure-resistant sleeve 5 through the inlet pipeline and the inlet bypass, respectively, so that the pressure at both ends of the pressure-resistant sleeve 5 remains balanced. Therefore, the natural gas sampling and testing method and the natural gas testing device applicable to this method provided in this embodiment of the invention can directly analyze the natural gas feedstock without depressurizing it, which helps to ensure the accuracy of natural gas testing.
[0059] The first vent valve 2 is connected to the first end of the pressure-resistant sleeve 5. When the first vent valve 2 is opened and maintained for a certain period of time in step S120, the gas in the original intake pipeline will be displaced by the natural gas to be tested, thereby cleaning the intake pipeline and preventing contamination of the natural gas to be tested by the original gas in the intake pipeline, ensuring the accuracy of the subsequent detection pipe 3 in detecting the natural gas to be tested. It should be noted that the other end of the first vent valve can be connected to a collection device to recover and collect the original gas in the displaced intake pipeline.
[0060] The pressure regulating valve 4 is connected to the second end of the pressure-resistant sleeve 5, and is used to regulate the pressure at the second end of the pressure-resistant sleeve 5. When the first vent valve 2 is closed, the third end of the three-way valve 1 is closed, and the pressure regulating valve 4 is opened in step S130, the natural gas to be tested is transmitted to the first end of the pressure-resistant sleeve 5 through the second end of the three-way valve 1. Under the control of the pressure regulating valve 4, a small pressure difference appears between the first and second ends of the pressure-resistant sleeve 5 (i.e., the pressure at the second end of the pressure-resistant sleeve 5 is less than the pressure at the first end, and the pressure difference between the two is a preset fixed value). With the continuous air intake at the second end of the three-way valve 1, the natural gas to be tested in the pressure-resistant sleeve 5 will be released from the pressure regulating valve 4 at a controllable flow rate, thereby ensuring the stability of the air intake rate during natural gas testing and thus ensuring the testing accuracy.
[0061] The present invention discloses a natural gas sampling and detection method for a natural gas detection tube, which enables uniform sampling and detection of natural gas under high pressure, improves the reproducibility and accuracy of natural gas detection, and eliminates the need for depressurization of the natural gas to be tested, thus reducing the difficulty of detection.
[0062] As shown in Figures 2 and 3, in this embodiment of the present disclosure, the natural gas detection device further includes a flow meter 6, which is connected to the end of the pressure regulating valve 4 away from the pressure-resistant sleeve 5.
[0063] In step S130, when the natural gas to be tested flows through the detection tube 3 at a predetermined flow rate and is detected, the method further includes:
[0064] The flow meter 6 is turned on to detect the flow rate and regulate the pressure of the natural gas to be tested flowing through the self-pressure-resistant sleeve 5 and the pressure regulating valve 4.
[0065] The flow meter 6 in this embodiment not only has flow measurement function but also flow regulation function. When the natural gas to be tested is transmitted from the second end of the three-way valve 1 to the first end of the pressure-resistant sleeve 5, and then released to the flow meter 6 through the second section of the pressure-resistant sleeve 5 and the pressure regulating valve 4, the flow meter 6 can measure the volume of the natural gas to be tested flowing through it. Furthermore, the flow meter 6 and the pressure regulating valve 4 constitute a two-stage flow regulation system, enabling precise regulation of the flow rate of the natural gas to be tested when it enters the detection tube, ensuring that the natural gas to be tested reacts fully with the detection reagent in the detection tube 3, and improving the accuracy of natural gas detection.
[0066] Furthermore, as shown in Figures 2 and 3, the natural gas detection device in this embodiment of the present disclosure further includes a color detection sensor 9 and a control device 10. The control device 10 is connected to the color detection sensor 9 and the flow meter 6. The color detection sensor 9 is used to detect the color change when the detection tube 3 reacts with the natural gas to be detected. The control device 10 is used to receive the color change information fed back by the color detection sensor 9 and the flow rate fed back by the flow meter 6. The color change information may include, but is not limited to, analog signals. It is understood that the control device can convert analog signals to obtain digital signals.
[0067] The method also includes:
[0068] The flow meter 6 controls the flow rate data of the natural gas to be detected when the color detection sensor 9 detects a color change; and
[0069] The control device 10 detects the natural gas to be tested based on color changes and flow data.
[0070] When the color detection sensor 9 detects a change in the color of the reagent in the detection tube 3, the volume of natural gas detected by the flow meter 6 at this time is the volume of natural gas that reacted with the reagent in the detection tube 3. Thus, the component that reacted with the reagent in the natural gas to be tested can be detected based on this volume (i.e., the concentration of the component can be calculated based on the length of the color change in the detection tube and the volume detected by the flow meter).
[0071] Specifically, the control device 10 detects the natural gas to be tested based on color changes and flow data, including:
[0072] The concentration of the analyte is calculated from the color change length of the detection tube and the volume of natural gas detected by flow meter 6, including:
[0073] Based on the color change length and color change chemical reaction in detection tube 3, calculate the amount of substance or molar mass of the component to be tested in natural gas.
[0074] Then, based on the mass of the component to be measured and the flow data fed back by the flow meter 6, the concentration of the component to be measured is calculated.
[0075] As shown in Figure 2, in a specific embodiment of this disclosure, the color detection sensor 9 further includes a laser emitter 91 and a laser receiver 92.
[0076] The laser emitter 91 is located on one side of the pressure-resistant sleeve 5 and is used to emit laser signals;
[0077] The laser receiver 92 is located on the other side of the pressure-resistant sleeve 5 and is opposite to the laser transmitter 91, and is used to receive laser signals;
[0078] The laser receiver 92 is connected to the control device 10, and the control device 10 can determine whether the detection tube 3 has changed color based on the laser signal fed back by the laser receiver 92.
[0079] In this embodiment of the disclosure, the natural gas detection device further includes a moving component (not shown in the figure), which is used to move the color detection sensor 9 relative to the pressure-resistant sleeve 5;
[0080] Step S130, in order to allow the natural gas to be tested to flow through the detection tube 3 at a predetermined flow rate and to perform the detection, further includes:
[0081] The control moving component operates to move the color detection sensor 9 relative to the pressure-resistant sleeve 5 to a predetermined detection position, and detects the color change of the pressure-resistant sleeve 5 at the predetermined detection position.
[0082] It should be noted that when different components in the natural gas to be tested are detected, the areas where they react with the detection tube and produce color changes may be different (the detection reagents in the detection tubes used to detect different components are different). Therefore, for different components to be tested, the predetermined detection position that the color detection sensor 9 needs to move to may also be different.
[0083] In some feasible embodiments, the mobile device can be manually controlled, i.e., the operator determines the detection location based on the component to be tested and manually moves the mobile device to that detection location.
[0084] In other feasible embodiments, the mobile device can be controlled by a computer, which controls the drive components (e.g., motors) in the mobile device through a control device, and the motor drives the slider to move along the track to a predetermined detection position, thereby moving the color detection sensor fixedly connected to the slider to the predetermined detection position.
[0085] The embodiments disclosed herein do not specifically limit the implementation of the mobile device, as long as the color detection sensor can move relative to the detection tube inside the pressure-resistant sleeve.
[0086] Furthermore, as shown in Figures 2 and 3, the natural gas detection device in this embodiment of the present disclosure further includes a second vent valve 7. One end of the second vent valve 7 is connected to the pipeline between the third end of the three-way valve 1 and the second end of the pressure-resistant sleeve 5 via a three-way fitting. The other end of the second vent valve 7 is connected to a recovery device, which is used to recover the natural gas to be detected in the pressure-resistant sleeve 5.
[0087] The method also includes:
[0088] After the natural gas to be tested is tested, the three-way valve 1 is closed, the pressure regulating valve 4 is closed, and the second vent valve 7 is opened to recover the natural gas to be tested from the pressure-resistant bushing 5.
[0089] After the current test of the natural gas to be tested is completed and before the next test, the detection tube 3 inside the pressure-resistant sleeve 5 needs to be disassembled and replaced. However, if the natural gas being tested contains harmful components (e.g., hydrogen sulfide), the pressure-resistant sleeve 5 cannot be opened directly. In this embodiment of the natural gas testing device, a second vent valve 7 connected to a recovery device is also provided. After the current test is completed, the three-way valve 1 is controlled to close the inlet of the natural gas to be tested, and the second vent valve 7 is controlled to open, thereby recovering the natural gas to be tested from the pressure-resistant sleeve 5, and opening the pressure-resistant sleeve 5 to disassemble and replace the detection tube 3.
[0090] In this embodiment of the disclosure, as shown in Figures 2 and 3, the natural gas detection device further includes a control valve 8. One end of the control valve 8 is connected to the pipeline between the third end of the three-way valve 1 and the second end of the pressure-resistant sleeve 5 via a three-way fitting; the other end of the control valve 8 is connected to an air pumping device.
[0091] After the testing of the natural gas to be tested is completed, the method also includes:
[0092] The control valve 8 and the air pumping device are opened to pump air into the pressure-resistant sleeve 5.
[0093] Furthermore, after the control valve 8 and the air pumping device are opened to pump air into the pressure-resistant sleeve 5, the method further includes:
[0094] The second vent valve 7 and control valve 8 are repeatedly opened multiple times to complete the cleaning of the pressure-resistant sleeve 5.
[0095] That is, after recovering the natural gas detected in the pressure-resistant bushing 5 using the second vent valve 7, air or other gases can be introduced into the pressure-resistant bushing 5 using the control valve 8; thereafter, the gas in the pressure-resistant bushing 5 is recovered again using the second vent valve 7 and the gas is introduced again using the control valve 8, and this process is repeated multiple times to improve the extraction efficiency of the natural gas detected in the pressure-resistant bushing and to avoid the residual natural gas sample in the pressure-resistant bushing 5 from having an adverse effect on the next test.
[0096] The natural gas detection device to which the natural gas detection tube injection detection method provided in this embodiment is applicable also includes a power supply device (not shown in the figure) to supply power to the control equipment, flow meter, and color detection sensor.
[0097] The natural gas sampling and testing method provided in this embodiment of the invention, by setting a three-way valve, a detection tube, a pressure-resistant sleeve, and a pressure regulating valve in a natural gas detection device, wherein the detection tube contains natural gas component detection reagents; the first end of the pressure-resistant sleeve is used to fix the detection tube and is connected to the natural gas to be tested through the second end of the three-way valve; the second end of the pressure-resistant sleeve is used to connect to the natural gas to be tested through the third end of the three-way valve and is connected to a flow meter through the pressure regulating valve, which enables automatic and uniform sampling of natural gas under high pressure conditions, improves the repeatability and accuracy of natural gas detection, and reduces the operational difficulty of natural gas sampling and testing and its adverse environmental impact.
[0098] To more clearly illustrate the technical solution of this disclosure, the principles and features of this disclosure are described through the following two embodiments. The examples are only used to explain this disclosure and are not intended to limit the scope of this disclosure.
[0099] Example 1: Rapid and accurate detection of hydrogen sulfide in natural gas
[0100] The natural gas detection device is shown in Figures 2 and 3. The detection tube 3 used for hydrogen sulfide detection is a Guangming Beichuan type 120U detection tube (0.1-6.0ppm).
[0101] Samples were taken from the pressure gauge interface of the external pipeline of a natural gas purification plant for analysis. In order to compare the differences between the sampling and detection method provided in this embodiment and the existing detection tube method, the hydrogen sulfide content was determined by the detection method provided in this embodiment, the traditional detection tube method and the iodometric method in the same time period.
[0102] (1) The detection method provided in the embodiments of this disclosure
[0103] The color detection sensor is set at the midpoint (2.25cm) of the detection tube. At this time, the color change length of the detection tube is 2.25cm. The natural gas to be tested (3.2MPa) is connected to the natural gas detection device shown in Figures 2 and 3 using a silanized pipeline.
[0104] After opening the second and third ends of the three-way valve to fill the pressure-resistant sleeve with the natural gas to be tested and maintaining pressure balance at both ends of the sleeve, open the first vent valve to thoroughly flush the sample inlet pipeline. Close the first vent valve and the third end of the three-way valve, and open the pressure reducing valve to adjust the sample inlet flow rate of the natural gas to be tested to 10 ml / min. Turn on the color detection sensor and flow meter to start the sample injection. After about 7 minutes, the color detection sensor detects a color change, the flow meter valve automatically closes, and the flow rate data at this time is recorded as 66.67 ml. Before the field test, a bottle of hydrogen sulfide gas standard material (6 ppm, relative expanded uncertainty of 2%, k=2) was used in the laboratory for calibration testing under the same test equipment and the same batch of the same model of detection tubes under the same test parameters. The recorded flow rate was 33.05 ml. Therefore, the hydrogen sulfide content in the natural gas (product gas) of the natural gas purification plant's external pipeline is 2.97 ppm.
[0105] (2) Traditional test tube measurement method
[0106] According to GB / T 11060.11-2014 "Determination of sulfur compounds in natural gas - Part 11: Determination of hydrogen sulfide content by dyed length detection tube method", Guangming Beichuan AP-20CT manual sampling pump and Guangming Beichuan 120U detection tube (0.1-6.0ppm) were used to take samples for analysis at the pressure gauge interface of the external pipeline of the same natural gas purification plant.
[0107] A 50ml sample was manually and slowly drawn. The length of the discoloration in the test tube, from pale yellow to peach, was estimated to be approximately 2.1 ppm. The atmospheric pressure at the time of measurement was 98.6 kPa, and the temperature was 21.3℃. According to the test tube's instruction manual, the measured value = reading × 2 × 101.325 kPa / atmospheric pressure at the measurement point × temperature correction factor. The temperature correction factor at 21.3℃ was found to be 1.0 from a table. Therefore, the calculated measured value was 4.32 ppm.
[0108] (3) Iodometric method
[0109] According to GB / T 11060.1-2023 "Determination of Sulfur Compounds in Natural Gas - Part 1: Determination of Hydrogen Sulfide Content by Iodometric Method", the original data and calculation results for sampling and calculation are as follows:
[0110] Connect a hydrogen sulfide sampling absorber to the pressure gauge interface of the external pipeline of the same natural gas purification plant. Add 50 mL of zinc acetate solution to the absorber. Gently agitate the absorber inlet with a bulb syringe to allow some solution to enter the space below the glass orifice plate. Connect all parts tightly with a short section of tubing. Fully open the screw clamp and slowly open the sampling valve to fully displace the gas in the sampling conduit with the gas to be analyzed through the vent pipe. Record the flow meter reading as the initial reading for sampling. Adjust the screw clamp to allow the gas to pass through the absorber at a flow rate of 430 mL / min. The sampling volumes for two parallel tests were 150.000 L and 153.000 L, respectively. Record the gas temperature as 27.0℃ and the atmospheric pressure as 98.60 kPa. Remove the absorber and add 10 mL (or 20 mL) of iodine solution (2.5 g / L) and 10 mL of hydrochloric acid solution using a pipette. Attach the absorber head and gently agitate the solution at the absorber inlet with a bulb syringe to mix thoroughly. After reacting for 3 minutes, the solution was transferred to a 250 mL iodine flask and titrated with sodium thiosulfate standard solution (0.01006 mol / L). A blank test was performed following the same procedure. The titrant volumes used in the two tests were 3.0 mL and 3.05 mL, respectively. The calculated hydrogen sulfide concentrations for the two tests were 3.73 mg / mL. 3 and 3.67 mg / m 3 The average value was 3.70 mg / m³. 3 This translates to a volume fraction of 2.62 ppm.
[0111] A comparison of the three measurement methods shows that the detection method provided in this embodiment yields a hydrogen sulfide concentration of 2.97 ppm, a deviation of 0.35 ppm compared to the iodometric titration result (2.62 ppm). In contrast, the conventional detection tube method yields a hydrogen sulfide concentration of 4.32 ppm, a deviation of 1.7 ppm compared to the iodometric titration result (2.62 ppm). It is evident that at the 2.62 ppm measurement point, the deviation is reduced from 1.7 ppm by the conventional method to 0.35 ppm. Therefore, the natural gas detection tube injection method provided in this embodiment significantly improves accuracy.
[0112] Example 2: Rapid and accurate detection of carbon dioxide in natural gas
[0113] The natural gas detection device is shown in Figures 2 and 3. The detection tube is a Guangming Beichuan type 126SA detection tube (0.1-5.2%).
[0114] Samples were taken from the pressure gauge interface of the external transmission pipeline of a natural gas purification plant for analysis. In order to compare the measurement results with the differences of existing measurement methods, carbon dioxide content was determined by the detection method provided in this embodiment, the traditional detection tube method, and the gas chromatography method in the same time period.
[0115] (1) Detection method provided in the embodiments of this disclosure
[0116] The color detection sensor is set at the midpoint (4.0 cm) of the detection tube, at which point the color change length of the detection tube is 4.0 cm. The natural gas to be tested (3.2 MPa) is connected to the natural gas detection device applicable to the detection method provided in this embodiment.
[0117] After opening the second and third ends of the three-way valve to fill the pressure-resistant sleeve with the natural gas to be tested and maintaining pressure balance at both ends of the sleeve, open the first vent valve to thoroughly flush the sample inlet pipeline; close the first vent valve and the third end of the three-way valve, and open the pressure reducing valve to adjust the sample inlet flow rate of the natural gas to be tested to 10 ml / min. Start the sample inlet by turning on the color detection sensor and flow meter. After approximately 10 minutes, the color detection sensor detects a color change, the flow meter valve automatically closes, and the flow rate is recorded as 100.12 ml. Before the field test, calibration tests were conducted in the laboratory using a calibration gas mixture GBW(E)061322 with the components listed in Table 1, the same test apparatus, and the same batch of the same model of test tubes under the same test parameters. The recorded flow rate was 44.56 ml. Therefore, the carbon dioxide content in the natural gas exported from the natural gas purification plant (product gas) is 1.30%.
[0118] Table 1. Composition of Standard Gas
[0119] (2) Traditional test tube measurement method
[0120] According to ASTM D4984–2020, "Test Method for Carbon Dioxide in Natural Gas Using Colored Length Test Tubes," a Guangming Beichuan AP-20CT manual sampling pump and a Guangming Beichuan 126SA test tube (0.1-5.2%) were used. Samples were taken from the pressure gauge interface of the external pipeline of the same natural gas purification plant. 100 ml of sample was manually and slowly drawn. The estimated length of the test tube changing from bluish-purple to light peach was approximately 0.91%. The atmospheric pressure at the time of measurement was 98.6 kPa and the temperature was 21.3℃. According to the test tube's instruction manual, the measured value = reading × 101.325 kPa / atmospheric pressure at the measurement point; therefore, the calculated measured value was 0.93%.
[0121] (3) Gas chromatography
[0122] Sampling was performed according to GB / T 13609-2017 "Guidelines for Natural Gas Sampling" and brought back to the laboratory for chromatographic analysis according to GB / T 13610-2020. The result was 1.34%.
[0123] A comparison of the three measurement methods shows that the carbon dioxide measurement result obtained using the detection method provided in the embodiments of the specification is 1.30%, with a deviation of 0.04% compared to the result determined by chromatography (1.34%). In contrast, the carbon dioxide measurement value obtained using the conventional detection tube method is 0.93%, with a deviation of 0.41% compared to the result determined by chromatography (1.34%). It is evident that at the 1.34% measurement point, the deviation is reduced from 0.41% by the conventional method to 0.04%. Therefore, the natural gas detection tube injection detection method provided in this embodiment can significantly improve accuracy.
[0124] Based on the above-described method for detecting natural gas samples entering a testing tube, this disclosure also provides a corresponding device for detecting natural gas samples entering a testing tube. The device may include a system (including a distributed system), software (application), module, component, server, client, etc., using the method of this disclosure, combined with necessary hardware implementation. Based on the same innovative concept, the devices in one or more embodiments provided in this specification are as described in the following embodiments. Since the implementation schemes and methods for solving the problem are similar, the implementation of specific devices in this disclosure can refer to the implementation of the aforementioned method, and repeated details will not be repeated. As used below, the terms "unit" or "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0125] As shown in Figure 4, the natural gas detection tube sampling and detection device includes:
[0126] The first control module 41 is used to control the opening of the second and third ends of the three-way valve to transmit the natural gas to be tested to the first and second ends of the pressure-resistant casing.
[0127] The second control module 42 is used to control the opening of the first vent valve to clean the intake pipe;
[0128] The third control module 43 is used to control the first vent valve to close, the third end of the three-way valve to close, and the pressure regulating valve to open, so that the natural gas to be tested can flow in the detection pipe at a predetermined flow rate and be detected.
[0129] The beneficial effects obtained by the apparatus provided in this disclosure are consistent with the beneficial effects obtained by the method described above, and will not be repeated here.
[0130] As shown in Figure 5, a computer device is provided according to an embodiment of this disclosure. The natural gas detection tube sampling detection device in this disclosure can be the computer device in this embodiment, executing the methods described above. The computer device 502 may include one or more processors 504, such as one or more central processing units (CPUs), each of which can implement one or more hardware threads. The computer device 502 may also include any memory 506 for storing information of any kind, such as code, settings, data, etc. Non-limitingly, for example, the memory 506 may include any type of RAM, any type of ROM, flash memory, hard disk, optical disk, etc. More generally, any memory can use any technology to store information. Further, any memory can provide volatile or non-volatile retention of information. Further, any memory can represent a fixed or removable component of the computer device 502. In one case, when the processor 504 executes associated instructions stored in any memory or combination of memories, the computer device 502 can perform any operation of the associated instructions. Computer device 502 also includes one or more drive mechanisms 508 for interacting with any memory, such as hard disk drive mechanism, optical disk drive mechanism, etc.
[0131] Computer device 502 may also include an input / output module 510 (I / O) for receiving various inputs (via input device 512) and providing various outputs (via output device 514). A specific output mechanism may include a presentation device 516 and an associated graphical user interface (GUI) 518. In other embodiments, the input / output module 510 (I / O), input device 512, and output device 514 may be omitted, and the device may function solely as a computer device within a network. Computer device 502 may also include one or more network interfaces 520 for exchanging data with other devices via one or more communication links 522. One or more communication buses 524 couple the components described above together.
[0132] Communication link 522 can be implemented in any way, such as via a local area network, a wide area network (e.g., the Internet), a point-to-point connection, or any combination thereof. Communication link 522 may include any combination of hardwired links, wireless links, routers, gateway functions, name servers, etc., governed by any protocol or combination of protocols.
[0133] Corresponding to the method shown in FIG1, this disclosure also provides a computer-readable storage medium storing a computer program, which is executed by a processor to perform the steps of the above method.
[0134] This disclosure also provides a computer-readable instruction, wherein when a processor executes the instruction, the program therein causes the processor to perform the method shown in FIG1.
[0135] This disclosure also provides a computer program product, including at least one instruction or at least one program segment, wherein the at least one instruction or at least one program segment is loaded and executed by a processor to implement the method shown in FIG1.
[0136] It should be understood that in the various embodiments of this disclosure, the sequence number of each process does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this disclosure.
[0137] It should also be understood that, in the embodiments of this disclosure, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, the character " / " in this disclosure generally indicates that the preceding and following related objects have an "or" relationship.
[0138] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed in this disclosure can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this disclosure.
[0139] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0140] In the embodiments provided in this disclosure, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the couplings or direct couplings or communication connections shown or discussed may be indirect couplings or communication connections through some interfaces, apparatuses, or units, or they may be electrical, mechanical, or other forms of connection.
[0141] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of the embodiments of this disclosure, depending on actual needs.
[0142] Furthermore, the functional units in the various embodiments of this disclosure can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0143] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this disclosure. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0144] This disclosure uses specific embodiments to illustrate the principles and implementation methods of this disclosure. The description of the above embodiments is only for the purpose of helping to understand the methods and core ideas of this disclosure. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this disclosure. Therefore, the content of this disclosure should not be construed as a limitation of this disclosure.
Claims
1. A method for sampling and detecting in a natural gas detection tube, characterized by, The method is applicable to a natural gas detection device, which includes a three-way valve (1), a first vent valve (2), a detection tube (3), a pressure regulating valve (4), and a pressure-resistant sleeve (5). The first end of the three-way valve (1) is connected to the natural gas to be detected, the second end of the three-way valve (1) is connected to the first end of the pressure-resistant sleeve (5) via an inlet pipe, and the third end of the three-way valve (1) is connected to the second end of the pressure-resistant sleeve (5) via an inlet bypass. The detection tube (3) is located inside the pressure-resistant sleeve (5) and is used to detect natural gas. The first vent valve (2) is connected to the first end of the pressure-resistant sleeve (5), and the pressure regulating valve (4) is connected to the second end of the pressure-resistant sleeve (5). The method includes: The second and third ends of the three-way valve (1) are opened to transmit the natural gas to be tested to the first and second ends of the pressure-resistant sleeve (5); Control the first vent valve (2) to open, so as to clean the intake pipe; The first vent valve (2) is closed, the third end of the three-way valve (1) is closed, and the pressure regulating valve (4) is opened, so that the natural gas to be tested flows in the detection tube (3) at a predetermined flow rate and is detected.
2. The method of claim 1, wherein, The natural gas detection device also includes a flow meter (6), which is connected to the end of the pressure regulating valve (4) away from the pressure-resistant sleeve (5); The method further includes: The flow meter (6) is turned on to detect the flow rate and regulate the pressure of the natural gas to be tested flowing from the pressure-resistant sleeve (5) and the pressure regulating valve (4) through the flow meter (6).
3. The method of claim 2, wherein, The natural gas detection device also includes a color detection sensor (9) and a control device (10). The color detection sensor (9) and the flow meter (6) are connected to the control device (10). The color detection sensor (9) is used to detect the color change when the detection tube (3) reacts with the natural gas to be detected. The control device (10) is used to receive the color change information fed back by the color detection sensor (9) and the flow rate fed back by the flow meter (6). The method further includes: The flow meter (6) is controlled to collect flow data of the natural gas to be detected when the color detection sensor (9) detects the color change; and The control device (10) is controlled to detect the natural gas to be tested based on the color change and the flow rate data.
4. The method of claim 3, wherein, The natural gas detection device also includes a moving component, which is used to move the color detection sensor (9) relative to the pressure-resistant sleeve (5); To allow the natural gas to be tested to flow through the detection tube (3) at a predetermined flow rate and to perform the test, the method further includes: The moving component is controlled to move the color detection sensor (9) relative to the pressure-resistant sleeve (5) to a predetermined detection position, and the color change of the pressure-resistant sleeve (5) at the predetermined detection position is detected.
5. The method of claim 1, wherein, The natural gas detection device also includes a second vent valve (7), one end of which is connected to the pipeline between the third end of the three-way valve (1) and the second end of the pressure-resistant sleeve (5) via a three-way fitting; the other end of the second vent valve (7) is connected to a recovery device, which is used to recover the natural gas to be detected in the pressure-resistant sleeve (5); The method further includes: After the natural gas to be tested is tested, the three-way valve (1) is closed, the pressure regulating valve (4) is closed and the second vent valve (7) is opened to recover the natural gas to be tested in the pressure-resistant sleeve (5).
6. The method of claim 5, wherein, The natural gas detection device also includes a control valve (8), one end of which is connected to the pipeline between the third end of the three-way valve (1) and the second end of the pressure-resistant sleeve (5) via a three-way fitting; The other end of the control valve (8) is connected to an air pump; After the testing of the natural gas to be tested is completed, the method further includes: The control valve (8) and the air pumping device are opened to pump air into the pressure-resistant sleeve (5).
7. The method of claim 6, wherein, After controlling the control valve (8) and the air pumping device to open and pump air into the pressure-resistant sleeve (5), the method further includes: The second vent valve (7) and the control valve (8) are opened repeatedly to complete the cleaning of the pressure-resistant sleeve (5).
8. A natural gas detector tube sampling detection device, comprising: The device includes: The first control module is used to control the opening of the second and third ends of the three-way valve to transmit the natural gas to be tested to the first and second ends of the pressure-resistant casing. The second control module is used to control the opening of the first vent valve to clean the intake pipe; The third control module is used to control the first vent valve to close, the third end of the three-way valve to close, and the pressure regulating valve to open, so that the natural gas to be tested can flow in the detection pipe at a predetermined flow rate and be detected.
9. A computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method as described in any one of claims 1 to 7.
11. A computer program product, characterised in that, It includes at least one instruction or at least one program segment, said at least one instruction or said at least one program segment being loaded and executed by a processor to implement the method as claimed in any one of claims 1 to 7.