Gas sampling device and method for calculating amount of output substance

By using a temperature pressure sensor and a distance sensor in the gas injection device in combination with a programmable controller, the accurate measurement of the gas volume and the accurate calculation of the mass of the output gas object are achieved, and the problem of inaccurate measurement of gas volume in the prior art is solved. , improves the data accuracy and operation efficiency of chemical analysis.

CN118937547APending Publication Date: 2024-11-12贵阳市公安局 +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411050915.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The existing gas injection devices and gas volume calculation methods rely on gas flowmeters and are easily affected by ambient temperature and pressure, resulting in inaccurate gas volume measurement and material mass calculation of output gas.

Method used

Using a gas injection device including a detection table, a gas injection assembly and a programmable controller, the gas volume is monitored using a temperature pressure sensor and a distance sensor, the number of moles of gas is calculated by the ideal gas state equation, and the solenoid valve and push cylinder are realized. The precise injection and output of gas ensures accurate measurement of gas volume and accurate calculation of output gas under any ambient conditions.

Benefits of technology

It ensures accurate measurement of gas volume and accuracy of output gas mass calculation, improves the high accuracy of chemical analysis data, and reduces artificial errors through automated operations, improves operation efficiency and repeatability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118937547A_ABST
    Figure CN118937547A_ABST
Patent Text Reader

Abstract

The invention discloses a gas sampling device and a calculation method of the amount of output substance, the gas sampling device comprises an injector, a distance sensor, a first pushing piece and a temperature and pressure sensor, the first pushing piece is used for driving a piston rod of the injector to move, and the distance sensor records the moving distance of the piston rod of the injector; the temperature and pressure sensor is used for recording temperature and pressure in the injector and the pneumatic pipeline, and the electromagnetic valve is used for controlling gas to pass through the temperature and pressure sensor, then enter the injector and finally be output from the output mechanism. The mole number of the total gas injected into the injector and the mole number of the remaining gas after the injector outputs the gas are calculated according to data recorded by the temperature and pressure sensor and data of backward and forward movement of the piston rod, and the mole number of the substance amount of the gas output into the collecting bottle is obtained according to the difference value of calculation results of two ideal gas state equations. And the substance amount of the output gas is accurately obtained, and the high accuracy of chemical analysis data is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of gas volume monitoring, in particular to a gas sampling device and a method for calculating the amount of outputted substances. Background Art

[0002] Prior to conducting a gas chromatography experiment, it is generally necessary to extract the test gas from a negative pressure tank and transfer it to a gas chromatograph. In order to improve the analysis results, accurate data on the volume of the gas extracted into the gas chromatograph is required.

[0003] Existing publication number CN115201390A discloses an automatic sampling device and sampling method for chromatographic analysis of insulating oil, which precisely adjusts the sampling flow and the purge flow by arranging a mass flow controller on the carrier gas pipeline, thereby saving carrier gas and simplifying the gas path structure.

[0004] However, the existing gas sampling devices and gas volume calculation methods rely on gas flow meters to directly measure the gas volume, which is easily affected by ambient temperature and pressure, resulting in inaccurate measurement of gas volume and calculation of the amount of material in the output gas. Summary of the invention

[0005] The purpose of the present invention is to provide a gas sampling device and a method for calculating the amount of output substance, so as to solve the problem that the existing gas sampling device and gas volume calculation method rely on a gas flow meter to directly measure the gas volume, which is easily affected by the ambient temperature and pressure, resulting in inaccurate measurement of the gas volume and calculation of the amount of output gas substance.

[0006] In order to achieve the above-mentioned purpose, the present invention adopts the following technical scheme: a gas sampling device, comprising a detection platform, a gas sampling component and a programmable controller, the gas sampling component is arranged on the detection platform, the programmable controller is connected to the gas sampling component, the gas sampling component comprises a pneumatic pipeline, the pneumatic pipeline is connected with a detection mechanism for storing and measuring the volume of gas and an output mechanism for outputting gas, the detection mechanism comprises a syringe, a distance sensor, a first pusher and a temperature and pressure sensor, the syringe is connected to the pneumatic pipeline, the first pusher is connected to the piston rod of the syringe, and is used to drive the piston rod of the syringe to move, the distance sensor is arranged at the rear end of the syringe, and is used to record the moving distance of the piston rod of the syringe, the temperature and pressure sensor is connected to the pneumatic pipeline and is located at the front end of the syringe, the output mechanism is connected to the syringe, and a plurality of solenoid valves are arranged in the pneumatic pipeline, which are used to control the gas to first pass through the temperature and pressure sensor, then enter the syringe, and finally be output from the output mechanism.

[0007] Furthermore, the output mechanism includes a second pushing member and an injection tube. The injection tube is disposed on the second pushing member and is used for injecting the sample gas. The second pushing member is used to drive the injection tube to move.

[0008] Furthermore, the pneumatic pipeline is also connected to an air exhaust pump, and the air exhaust pump is connected to the syringe, the temperature and pressure sensor and the injection tube through the pneumatic pipeline for exhausting the internal gas.

[0009] Furthermore, an air intake duct is provided at the front end of the temperature and pressure sensor.

[0010] Furthermore, the solenoid valve includes a first solenoid valve, a second solenoid valve, a third solenoid valve and a fourth solenoid valve, the first solenoid valve is connected to the air intake pipe for controlling the inflow of gas at the air intake pipe, the second solenoid valve is connected to the syringe for controlling the input of gas into the syringe and the output of gas from the syringe, the third solenoid valve is connected to the injection pipe for controlling the injection of gas into the sample bottle, and the fourth solenoid valve is connected to the exhaust air pump for controlling the exhaust of gas from the exhaust air pump.

[0011] Furthermore, the pneumatic pipeline also includes a three-way measuring box, which is connected to the first solenoid valve. The temperature and pressure sensor is arranged in the three-way measuring tube. At the same time, the three-way measuring tube is also connected to the fourth solenoid valve.

[0012] Furthermore, the pneumatic pipeline also includes a three-way pipe, and the three-way pipe is connected to the three-way measuring box and the second and third solenoid valves respectively.

[0013] Furthermore, the first pushing member includes a first pushing cylinder fixedly arranged at one side of the detection platform, the first pushing cylinder is provided with a first sliding block, and the first sliding block is fixedly connected to the piston rod of the syringe.

[0014] Furthermore, the second pushing member includes a second pushing cylinder fixedly arranged at the other side of the detection platform, the second pushing cylinder is provided with a sliding second slider, and the second slider is fixedly connected to the injection pipe.

[0015] A method for calculating the amount of a substance output by a gas, applicable to the above-mentioned gas sampling device, comprises the following steps:

[0016] Step 1: exhaust the gas, close the first solenoid valve, control the third to fourth solenoid valves to open, and start the exhaust air pump to exhaust the gas in the syringe and the pneumatic pipeline. After the gas is exhausted for H, close the fourth solenoid valve and the exhaust air pump;

[0017] Step 2, injection and metering of sample gas, the air intake pipe is connected to the sample gas source, the first and third solenoid valves are controlled to open, the sample gas is input from the air intake pipe through the first solenoid valve, the three-way measuring box, the three-way pipe and the second solenoid valve into the syringe, the target gas in the gas source is allowed to fill the pipe and the syringe cavity, and the solenoid valve at the injection port is closed after the gas is balanced, and the current volume, temperature and pressure of the gas in the syringe are recorded, and the number of moles of the total gas injected into the syringe n0 is calculated according to the ideal gas state equation based on the volume, temperature and pressure, wherein the current volume of the gas in the syringe is calculated by bringing the distance recorded by the distance sensor that the syringe piston rod moves backward into the volume calculation formula;

[0018] Step three, output and metering of sample gas, control the third solenoid valve and the fourth solenoid valve to open, and drive the first push cylinder and the second push cylinder at the same time, the first push cylinder drives the piston rod of the syringe to move forward, so that the sample gas in the syringe is output through the third solenoid valve and the fourth solenoid valve, and is injected into the sample bottle from the injection tube, and the volume of the remaining gas in the cavity after the current syringe outputs the gas is recorded, and according to the volume, temperature and pressure of the remaining gas, the number of moles n1 of the remaining gas in the syringe after the syringe outputs part of the gas is calculated by the ideal gas state equation, wherein the current volume of the gas in the syringe is calculated by substituting the distance recorded by the distance sensor that the piston rod of the syringe moves forward into the volume calculation formula;

[0019] Step 4, calculate the molar number of gas output, subtract the molar number n1 of the remaining gas in the syringe after outputting part of the gas in step 3 from the molar number n0 of the total gas injected into the syringe obtained in step 2, to obtain the molar number n2 of the amount of gas output to the collection bottle.

[0020] Compared with the prior art, the beneficial effects of the present invention are:

[0021] In view of the limitations of existing gas sampling devices and gas volume calculation methods that rely on gas flow meters to directly measure gas volume and are easily affected by fluctuations in ambient temperature, pressure and humidity, the present invention proposes a gas sampling device and a method for calculating the amount of output substance, thereby ensuring that accurate measurement of gas volume can be achieved under any environmental conditions and that the amount of substance in the output gas can be accurately calculated.

[0022] 1. The present invention continuously monitors the temperature and pressure of the gas in the pneumatic pipeline and the syringe and records the data through the temperature and pressure sensor located at the rear end of the air intake pipe, so as to ensure the real-time collection and recording of all data, and then controls the solenoid valve to open the pipeline for injecting the syringe, and the sample gas is firstly guided into the syringe. When the gas enters the syringe, the piston rod is forced to retreat, and at the same time, the distance sensor records the distance the piston rod moves backward, and the distance moved backward is brought into the volume calculation formula to calculate the volume injected into the syringe, and the ideal gas state equation is used to calculate the amount of substance of the total gas injected into the syringe according to the volume, temperature and pressure, and the molar number n0 of the total gas injected into the syringe is calculated. When the sample gas needs to be transferred to the sample bottle, the solenoid valve is reconfigured to open the pipeline for injecting the sample bottle, and the first pusher and the second pusher are driven at the same time. The piston rod moves forward under the action of the first pusher to release the gas To the sample bottle, and the second pusher synchronously drives the injection tube deep into the bottle to ensure the complete transfer of the gas. During this process, the distance sensor located at the rear end of the syringe will record the distance the piston rod is pushed forward, and record it. The distance moved forward is substituted into the volume calculation formula to calculate the volume of the syringe after the gas is output, and according to the volume of the gas in the syringe after the output and the real-time data temperature and pressure recorded by the temperature and pressure sensor, the amount of the substance of the residual gas after the syringe outputs the gas is calculated by the ideal gas state equation, and the molar number n1 of the gas residual after the syringe outputs the gas is calculated. Finally, the molar number n0 of the total gas is subtracted from the molar number n1 of the gas residual to obtain the molar number n2 of the amount of gas output to the collection bottle. The method of obtaining the difference through the ideal gas state equation of the present invention can accurately obtain the amount of the substance of the output gas in the current environment, thereby ensuring the high accuracy of the chemical analysis data.

[0023] 2. The present invention adopts a programmable controller to coordinate key components such as solenoid valves and push cylinders to achieve full automation of the gas injection process, which not only greatly improves the operating efficiency, but also reduces the errors of human operation and ensures the accuracy and repeatability of the gas injection process. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The present invention will be further described below in conjunction with the accompanying drawings:

[0025] Figure 1 A three-dimensional diagram of a gas sampling device of the present invention;

[0026] Figure 2 It is a schematic diagram of the structure of the gas sampling assembly of the present invention;

[0027] Figure 3 It is a structural schematic diagram of the detection mechanism of the present invention;

[0028] Figure 4 It is a schematic diagram of the overall structure of a gas sampling device of the present invention;

[0029] Figure 5 It is a schematic diagram of the pneumatic principle structure of the pneumatic pipeline of the present invention.

[0030] In the figure: 1 detection table, 2 gas sampling assembly, 21 pneumatic pipeline, 22 detection mechanism, 221 syringe, 222 distance sensor, 223 first pusher, 2231 first push cylinder, 2232 first slider, 224 temperature and pressure sensor, 225 exhaust air pump, 226 intake pipe, 23 output mechanism, 231 second pusher, 2311 second push cylinder, 2312 second slider, 232 injection pipe, 24 solenoid valve, 241 first solenoid valve, 242 second solenoid valve, 243 third solenoid valve, 245 fourth solenoid valve, 25 three-way measuring box, 26 three-way pipe. DETAILED DESCRIPTION

[0031] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.

[0032] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined or replaced with each other according to actual conditions, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0033] like Figures 1 to 5As shown, the present invention provides a gas sampling device, which is carried by a detection table 1 and has a stable structure. It integrates a door-type bracket, a support plate and a sample bottle fixing frame. These components are either welded or integrally formed to ensure the overall rigidity and durability. The fixing hole on the support plate cooperates with the positioning hole on the sample bottle fixing frame. The former is used to fix the syringe 221, and the latter is used to accurately align the sample bottle to ensure the accuracy of the operation. A gas injection assembly 2 is provided on the test platform 1 on the sample bottle fixing frame. The gas injection assembly 2 includes a pneumatic pipeline 21. The pneumatic pipeline 21 is connected with a detection mechanism 22 for storing and measuring the volume of gas and an output mechanism 23 for outputting gas. The detection mechanism 22 includes a syringe 221, a distance sensor 222, a first pusher 223 and a temperature and pressure sensor 224. The syringe 221 is connected to the pneumatic pipeline 21. The first pusher 223 is horizontally installed on the right side of the test platform 1. The first pusher 223 adopts an oil pump, a cylinder or a screw that can move in parallel as a driving member. The driving direction of the first pusher 223 is parallel to the test platform 1. The syringe 221 is fixed on the fixing hole on the support plate. The syringe 221 consists of a hollow cylinder, a piston, and a piston rod. The front end of the syringe has a nipple. The syringe 221 is located at the first pusher 223. At the top, the rear end of the piston rod is connected to the output shaft of the first pusher 223, and the piston rod is driven to move by the first pusher 223. The distance sensor 222 is installed on the support plate for fixing the syringe 221 and is located at the rear end of the syringe 221, which is used to measure the moving distance of the piston rod and record the distance value; the second pusher 231 is vertically installed on the left side of the detection platform 1 and is aligned with the sample bottle fixing frame on the detection platform 1. The second pusher 231 adopts the same driving member as the first pusher 223. The injection tube 232 is a needle structure, which is vertically installed at the output end of the second pusher 231 and is aligned with the center of the positioning hole on the sample bottle fixing frame to ensure that the injection tube 232 can accurately extend into the sample bottle. A plurality of solenoid valves 24 serve as valves of each pneumatic pipeline 21, wherein the syringe 221 and the injection tube 232 are connected through the pneumatic pipeline 21, which is the second pipeline, and the air intake pipe 226 is connected to the syringe 221 as the first pipeline. The solenoid valve 24 controls the opening and closing of the valve point through a programmable controller (PLC).

[0034] Working principle: The present invention continuously monitors the temperature and pressure of the gas in the pneumatic pipeline 21 and the syringe 221 and records the data through the temperature and pressure sensor 224 located at the rear end of the air inlet pipe 226, so as to ensure the real-time collection and recording of all data, and then controls the solenoid valve 24 to open the pipeline for injecting the syringe 221, and the sample gas is firstly guided into the syringe 221. When the gas enters the syringe 221, the piston rod is forced to retreat, and at the same time, the distance sensor 222 records the distance the piston rod moves backward, and substitutes the distance moved backward into the volume calculation formula to calculate the total volume injected into the syringe 221, and calculates the amount of substance in the total gas injected into the syringe 221 by the ideal gas state equation according to the total volume, temperature and pressure, and calculates the molar number n0 of the total gas injected into the syringe 221. When the sample gas needs to be transferred to the sample bottle, the solenoid valve 21 is reconfigured to open the pipeline for injecting the sample bottle, and at the same time drives the first pusher 223 and the second pusher 231, and the piston rod moves in the first The pusher 223 moves forward under the action of releasing gas into the sample bottle, and the second pusher 231 synchronously drives the injection tube 232 deep into the bottle to ensure the complete transfer of the gas. During this process, the distance sensor 222 located at the rear end of the syringe 221 will record the distance the piston rod is pushed forward, and record it. The distance moved forward is substituted into the volume calculation formula to calculate the volume after the syringe 221 outputs the gas, and the ideal gas state equation is used to calculate the amount of substance of the remaining gas after the syringe 221 outputs the gas according to the volume of the remaining amount in the syringe after the output and the real-time data temperature and pressure recorded by the temperature and pressure sensor, and the molar number n1 of the gas remaining after the syringe 221 outputs the gas is calculated. Finally, the molar number n2 of the amount of substance of the gas output to the collection bottle is obtained by subtracting the molar number n1 of the gas remaining from the molar number n0 of the total gas. The method of obtaining the difference through the ideal gas state equation of the present invention can accurately obtain the output volume of the gas in the current environment, thereby ensuring the high accuracy of the chemical analysis data.

[0035] In order to further improve the measurement accuracy of gas volume, such as Figure 2 and Figure 5As shown, an air exhaust pump 225 is installed on the door-shaped bracket on the test bench 1, and the air exhaust pump 225 is connected to the pneumatic pipeline 21 to form a third pipeline, wherein the first pipeline, the second pipeline and the third pipeline are connected by the electromagnetic valve 24 to control the connection relationship. Each time the gas injection operation is performed, the PLC will first drive the air exhaust pump 225, and at the same time control to open all valve points on the electromagnetic valve 24, so that the first, second and third pipelines are connected, and then the gas remaining in the pipeline is emptied by the air exhaust pump 225. When the value on the temperature and pressure sensor 224 is displayed as zero, it means that the gas in all pipelines, the syringe 221 and the injection tube 232 has been completely emptied. Through the pre-emptying step, the potential gas residue in the gas injection equipment is effectively removed, and the influence of the gas left over from the previous operation on the new experiment is avoided, ensuring that each measurement is based on the "zero point" state, which greatly improves the accuracy of the measurement and the credibility of the experimental results.

[0036] In order to achieve precise control of the gas flow path and reduce maintenance costs, the solenoid valve 24 adopts a first solenoid valve 241, a second solenoid valve 242, a third solenoid valve 243 and a fourth solenoid valve 244. The first to fourth solenoid valves are arranged and installed on a door-shaped bracket respectively. At the same time, the three-way measuring box 25 and the three-way pipe 26 are also used in conjunction with the first to fourth solenoid valves. The above components are combined into a complete pneumatic pipeline 21 system. In the above-mentioned solenoid valves 24, straight-through solenoid valves 24 are adopted. The first solenoid valve 241 is installed on the door-shaped bracket, and its input end is used to connect the air intake pipe 226, and the air intake pipe 226 is used to connect to an external air source. The output end of the first solenoid valve 241 is connected to the input end of the three-way measuring box 25, and the output end of the three-way measuring box 25 is respectively connected to the three-way pipe 26 and the input end of the fourth solenoid valve 244. The output end of the fourth solenoid valve 244 is connected to the exhaust air pump 225, and the other two pipelines of the three-way pipe 26 are respectively connected to the second solenoid valve 242 and the third solenoid valve The output end of the second solenoid valve 242 is connected to the nipple of the syringe 221, and the output end of the third solenoid valve 243 is connected to the input end of the injection tube 232. That is, the pneumatic pipeline 21 connected above controls the valve points of the first to fourth solenoid valves 244 through the PLC to form three connected pipelines, that is, the first solenoid valve 241 and the second solenoid valve 242 are opened, and the gas enters from the intake pipe 226, passes through the first solenoid valve 241, the three-way measuring box 25, the three-way pipe 26, and the second solenoid valve 243. Valve 242 finally reaches the syringe 221, which is the first pipeline system; the second solenoid valve 242 and the third solenoid valve 243 are opened, the first solenoid valve 241 and the fourth solenoid valve 244 are closed, the gas comes out of the syringe 221, passes through the second solenoid valve 242, the three-way pipe 26, the third solenoid valve 243, and is finally input into the sample bottle through the injection pipe 232, which is the second pipeline system; when the first to fourth solenoid valves 244 are all opened, the exhaust air pump 225 is driven to open at the same time to form the third pipeline system.

[0037] The method for calculating the amount of substance output by gas, the specific steps are as follows;

[0038] S1; the third pipeline is opened by the PLC program to pre-empty the gas pneumatic pipeline 21 and the syringe 221 to ensure the accuracy of the calculated gas volume;

[0039] S2; When the PLC controls the first pipeline to open, the gas will be injected into the syringe 221 first. At this time, the temperature and pressure sensor 224 located in the three-way measuring box 25 will record the temperature T0 and pressure P0 of the sample gas input from the external gas source in the current environment and record them. When the gas is injected into the syringe 221, the piston rod of the syringe 221 will be pushed backward. The distance moved backward is brought into the volume calculation formula to calculate the total gas volume V0 injected into the syringe 221, and the ideal gas state equation is used to calculate the amount of the total gas injected into the syringe 221 according to the volume V0, temperature T0 and pressure P0, and the molar number n0 of the total gas injected into the syringe 221 is calculated; the gas volume calculation formula is;

[0040] V0=S×H 后 ;

[0041] Wherein, V0 is the total volume of gas injected into the syringe 221, S is the cross-sectional area of ​​the syringe 221, H 后 is the distance the piston moves backwards, the ideal gas state equation formula for the amount of total gas is;

[0042]

[0043] Where P is the pressure of the gas, V is the volume of the gas, n is the amount of substance in the gas, R is the ideal gas constant, and T is the absolute temperature of the gas.

[0044] S3: At this time, the PLC controls the closing of the first pipeline and the opening of the second pipeline. The PLC controls the driving of the first pusher 223 and the second pusher 231. The plug rod moves forward under the action of the first pusher 223 to release gas to the sample bottle, and the second pusher 231 synchronously drives the injection tube 232 to penetrate into the bottle. During this process, the distance sensor 222 located at the rear end of the syringe 221 records the distance the piston rod pushes forward, and records it. The distance moved forward is substituted into the volume calculation formula to calculate the volume V1 of the remaining gas in the cavity after the syringe outputs the gas, and the ideal gas state equation is used to calculate the amount of the substance of the remaining gas injected into the syringe according to the volume V1, temperature T1 and pressure P1, and the number of moles n1 of the remaining gas in the syringe is calculated; the gas volume calculation formula is:

[0045] V1=S×H 前 ;

[0046] Wherein, V1 is the residual volume of gas after the injector 221 outputs gas, S is the cross-sectional area of ​​the injector 221, H 前 is the distance the piston moves forward, and the ideal gas state equation for the amount of excess gas is;

[0047]

[0048] Where P is the pressure of the gas, V is the volume of the gas, n is the amount of substance in the gas, R is the ideal gas constant, and T is the absolute temperature of the gas.

[0049] S4; Calculate the molar number of gas output. Subtract the molar number n1 of the remaining gas in the syringe 221 after outputting part of the gas in step 3 from the molar number n0 of the total gas injected into the syringe 221 obtained in step 2, that is, the molar number n2 of the gas output is obtained. The calculation formula is; n2 = n0-n1. The method of obtaining the difference through the ideal gas state equation is used to obtain the molar number n2 of the amount of gas output to the collection bottle. The amount of gas output in the current environment can be accurately obtained, ensuring the high accuracy of the chemical analysis data.

[0050] The first pusher 223 and the second pusher 231 of the present invention both adopt the same rodless cylinder, model CY3B, the first pusher 223 comprises a first pusher cylinder 2231 and a first slider 2232 matched with the first pusher cylinder 2231, the first pusher cylinder 2231 is mounted on a support plate and is located below the syringe 221, the first slider 2232 is fixedly connected to the tail of the piston rod of the syringe 221, and the first pusher cylinder 2231 is connected to a programmable control system PLC, the PLC drives the first pusher cylinder 2231, and the first slider 2232 carries The second pusher 231 includes a second push cylinder 2311 and a second slider 2312 matched with the second push cylinder 2311. The second push cylinder 2311 is vertically installed on one side of the sample bottle fixing frame and is aligned with the sample bottle fixing frame. The injection tube 232 is connected to the second slider 2312. The second push cylinder 2311 is used to control the vertical movement of the injection tube 232 to ensure that the injection tube 232 can be accurately aligned and inserted into the sample bottle.

[0051] The above contents are some specific implementation modes of the present invention and do not limit the protection scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A gas sampling device, comprising a detection platform, a gas sampling component and a programmable controller, wherein the gas sampling component is arranged on the detection platform, and the programmable controller is connected to the gas sampling component, characterized in that: The gas sampling assembly includes a pneumatic pipeline, which is connected with a detection mechanism for storing and measuring the volume of gas and an output mechanism for outputting gas. The detection mechanism includes a syringe, a distance sensor, a first pusher and a temperature and pressure sensor. The syringe is connected to the pneumatic pipeline. The first pusher is connected to the piston rod of the syringe and is used to drive the piston rod of the syringe to move. The distance sensor is arranged at the rear end of the syringe and is used to record the movement distance of the piston rod of the syringe. The temperature and pressure sensor is connected to the pneumatic pipeline and is located at the front end of the syringe. The output mechanism is connected to the syringe. A plurality of solenoid valves are arranged in the pneumatic pipeline to control the gas to first pass through the temperature and pressure sensor, then enter the syringe, and finally be output from the output mechanism.

2. The gas sampling device according to claim 1, characterized in that: The output mechanism includes a second pushing member and an injection tube. The injection tube is arranged on the second pushing member and is used for injecting sample gas. The second pushing member is used to drive the injection tube to move.

3. The gas sampling device according to claim 2, characterized in that: The pneumatic pipeline is also connected to an air exhaust pump, which is connected to the syringe, the temperature and pressure sensor and the injection tube through the pneumatic pipeline for exhausting the internal gas.

4. The gas sampling device according to claim 3, characterized in that: An air intake pipe is arranged at the front end of the temperature and pressure sensor.

5. The gas sampling device according to claim 4, characterized in that: The solenoid valve includes a first solenoid valve, a second solenoid valve, a third solenoid valve and a fourth solenoid valve. The first solenoid valve is connected to the air intake pipe for controlling the inflow of gas at the air intake pipe. The second solenoid valve is connected to the syringe for controlling the input of gas into the syringe and the output of gas from the syringe. The third solenoid valve is connected to the injection tube for controlling the injection of gas into the sample bottle. The fourth solenoid valve is connected to the exhaust air pump for controlling the exhaust of gas from the exhaust air pump.

6. The gas sampling device according to claim 5, characterized in that: The pneumatic pipeline also includes a three-way measuring box, which is connected to the first solenoid valve. The temperature and pressure sensor is arranged in the three-way measuring tube. Meanwhile, the three-way measuring tube is also connected to the fourth solenoid valve.

7. The gas sampling device according to claim 6, characterized in that: The pneumatic pipeline also includes a three-way pipe, and the three-way pipe is connected to the three-way measuring box and the second and third solenoid valves respectively.

8. The gas sampling device according to claim 2, characterized in that: The first pushing member comprises a first pushing cylinder fixedly arranged at one side of the detection platform, the first pushing cylinder is provided with a first sliding block, and the first sliding block is fixedly connected to the piston rod of the syringe.

9. The gas sampling device according to claim 8, characterized in that: The second pushing member includes a second pushing cylinder fixed to the other side of the detection platform, the second pushing cylinder is provided with a second sliding block, and the second sliding block is fixedly connected to the injection pipe.

10. A method for calculating the amount of a substance output by a gas, applicable to the gas sampling device according to any one of claims 1 to 8, characterized in that: The following steps are involved: Step 1: exhaust the gas, close the first solenoid valve, control the third to fourth solenoid valves to open, and start the exhaust air pump to exhaust the gas in the syringe and the pneumatic pipeline. After the gas is exhausted for H, close the fourth solenoid valve and the exhaust air pump; Step 2, injection and metering of sample gas, the air intake pipe is connected to the sample gas source, the first and third solenoid valves are controlled to open, the sample gas is input from the air intake pipe through the first solenoid valve, the three-way measuring box, the three-way pipe and the second solenoid valve into the syringe, the target gas in the gas source is allowed to fill the pipe and the syringe cavity, and the solenoid valve at the injection port is closed after the gas is balanced, and the current volume, temperature and pressure of the gas in the syringe are recorded, and the number of moles of the total gas injected into the syringe n0 is calculated according to the ideal gas state equation based on the volume, temperature and pressure, wherein the current volume of the gas in the syringe is calculated by bringing the distance recorded by the distance sensor that the syringe piston rod moves backward into the volume calculation formula; Step three, output and metering of sample gas, control the third solenoid valve and the fourth solenoid valve to open, and drive the first push cylinder and the second push cylinder at the same time, the first push cylinder drives the piston rod of the syringe to move forward, so that the sample gas in the syringe is output through the third solenoid valve and the fourth solenoid valve, and is injected into the sample bottle from the injection tube, and the volume of the remaining gas in the cavity after the current syringe outputs the gas is recorded, and according to the volume, temperature and pressure of the remaining gas, the number of moles n1 of the remaining gas in the syringe after the syringe outputs part of the gas is calculated by the ideal gas state equation, wherein the current volume of the gas in the syringe is calculated by substituting the distance recorded by the distance sensor that the piston rod of the syringe moves forward into the volume calculation formula; Step 4: Calculate the molar number of gas output. Subtract the molar number of gas remaining in the syringe after outputting part of the gas in step 3 from the total molar number of gas injected into the syringe obtained in step 2, n0. 1, That is, the molar number n2 of the amount of gas output to the collecting bottle is obtained.