In-situ occurrence detection method, device and equipment for natural hydrogen in rock

By acquiring scanning data from rock samples and calculating pore characteristics, the problem of quantifying the degree of natural hydrogen occurrence in rocks has been solved, enabling quantitative evaluation of natural hydrogen occurrence and geological environment simulation.

CN121453818APending Publication Date: 2026-02-03CHINA UNIV OF MINING & TECH (BEIJING)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511436946.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-09
Publication Date
2026-02-03

AI Technical Summary

Technical Problem

Existing technologies make it difficult to quantitatively evaluate the extent of natural hydrogen occurrence in rocks.

Method used

By acquiring scanning data of rock samples at preset temperatures and pressures, the pore geometry is determined, and the effective hydrogen storage pore volume, pore connectivity index, and shape complexity are calculated. Based on these data, the in-situ storage information of natural hydrogen in the rock samples is determined.

Benefits of technology

It enables a quantitative evaluation of the abundance of natural hydrogen, and can simulate the underground environment and provide geological reference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121453818A_ABST
    Figure CN121453818A_ABST
Patent Text Reader

Abstract

The invention provides an in-situ occurrence detection method, device and equipment for natural hydrogen in rock, and relates to the technical field of hydrogen detection. The method comprises the following steps: acquiring scanning data of a pre-prepared rock sample; wherein the scanning data is obtained by scanning a pre-prepared rock sample under a preset temperature value and a preset pressure value; determining the pore geometric characteristics of the rock sample according to the scanning data, and calculating the effective hydrogen occurrence pore volume, pore connectivity index and shape complexity of the rock sample based on the pore geometric characteristics; and on the basis of the effective hydrogen occurrence pore volume, the pore connectivity index and the shape complexity, determining in-situ occurrence information of natural hydrogen of the rock of the corresponding type of the rock sample under the preset temperature value and the preset pressure value. According to the method, the natural hydrogen occurrence degree can be quantitatively evaluated through the effective hydrogen occurrence pore volume, the pore connectivity index and the shape complexity.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of hydrogen detection, and in particular to a method and device for in-situ detection of natural hydrogen in rocks. BACKGROUND

[0002] The non-renewability of traditional fossil fuels and the constraints of carbon emissions have promoted the use of clean energy. Natural hydrogen is the only clean energy with zero carbon emissions, high heat value and multi-scene application characteristics. The occurrence of hydrogen in the ground depends on the pore and fracture system of the rock reservoir. Understanding and mastering the pore structure change characteristics of the rock reservoir under different temperatures and different pressure conditions can provide a reference basis for studying the hydrogen occurrence mechanism in complex geological environment rocks.

[0003] Due to the relatively special reaction and occurrence conditions of natural hydrogen in rocks, although relevant research has been conducted on the occurrence state of hydrogen in underground hydrogen storage, the research target is not natural hydrogen, and no quantitative evaluation technology and method related to the occurrence degree of natural hydrogen has been proposed. SUMMARY

[0004] The embodiments of the present application provide a method and device for in-situ detection of natural hydrogen in rocks to solve the problem that the occurrence degree of natural hydrogen cannot be quantitatively evaluated in the prior art.

[0005] In a first aspect, the embodiments of the present application provide a method for in-situ detection of natural hydrogen in rocks, comprising: obtaining scanning data of a rock sample prepared in advance, wherein the scanning data is obtained by scanning the rock sample prepared in advance under a preset temperature value and a preset pressure value; determining the pore geometry characteristics of the rock sample according to the scanning data, and calculating the effective hydrogen occurrence pore volume, pore connectivity index and shape complexity of the rock sample based on the pore geometry characteristics; determining the in-situ occurrence information of natural hydrogen of the rock sample corresponding to the type of rock under the preset temperature value and the preset pressure value based on the effective hydrogen occurrence pore volume, the pore connectivity index and the shape complexity.

[0006] In a second aspect, the embodiments of the present application provide a device for in-situ detection of natural hydrogen in rocks, comprising a sample loading holder, a temperature control unit, an X-ray scanning ray source and a pressure control unit. The pressure control unit is in communication with the sample loading holder, the temperature control unit is arranged around the sample loading holder, the X-ray scanning ray source is located on one side of the sample loading holder, and the X-rays emitted by the X-ray scanning ray source can directly irradiate the sample loading holder.

[0007] In a third aspect, an electronic device is provided, which comprises a memory and a processor. The memory stores a computer program. The processor implements the method according to the first aspect or any possible implementation of the first aspect when executing the computer program.

[0008] In the embodiment of the present application, the scanning data of the rock sample under the preset temperature value and pressure value is obtained, and the pore geometric characteristics of the rock sample are further determined according to the scanning data. Then, the effective hydrogen gas storage pore volume, pore connectivity index and shape complexity of the rock sample are calculated according to the pore geometric characteristics. The in-situ storage information of natural hydrogen gas of the rock corresponding to the rock sample under the preset temperature value and pressure value is determined by using these data. Since the temperature value and pressure value at different depths of the underground are different, the temperature value and pressure value will affect the pores of the rock. Therefore, by setting the temperature value and pressure value, the simulation of the underground environment where the rock is located can be realized. The quantitative evaluation of the storage degree of natural hydrogen gas is realized by using the effective hydrogen gas storage pore volume, pore connectivity index and shape complexity. BRIEF DESCRIPTION OF DRAWINGS

[0009] Figure 1 is an implementation flowchart of the in-situ storage detection method of natural hydrogen gas in a rock provided by the embodiment of the present application; Figure 2 is an implementation flowchart of step S120 of the in-situ storage detection method of natural hydrogen gas in a rock provided by the embodiment of the present application; Figure 3a is a side view of the in-situ storage detection device of natural hydrogen gas in a rock provided by the embodiment of the present application; Figure 3b is a top view of the X-ray scanning radiation source, the bearing-equipped object table and the silica gel heating plate of the in-situ storage detection device of natural hydrogen gas in a rock provided by the embodiment of the present application; Figure 4 is a schematic diagram of the electronic device provided by the embodiment of the present application. DETAILED DESCRIPTION

[0010] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0011] Reference is made to Figure 1 which shows an implementation flowchart of the in-situ storage detection method of natural hydrogen gas in a rock provided by the embodiment of the present application, and is described in detail as follows: In step S110, the scanning data of the rock sample prepared in advance is obtained. The scanning data is obtained by scanning the rock sample prepared in advance under a preset temperature value and a preset pressure value.

[0012] In some embodiments, the preset temperature value can be 20℃, 80℃, 150℃, 200℃, which is set to cover the common temperature steps of the earth's crust, while avoiding metamorphism of most sedimentary rock mineral samples in this temperature range. The preset pressure value can be 1MPa, 5MPa, 10MPa, 15MPa, 20MPa, 30MPa, which is set to simulate the conventional pressure range of shallow to deep reservoirs. The pre-prepared rock sample is a cylinder with a diameter of 25mm and a height of 4-5cm. When preparing, the rock sample needs to be dried in a forced air drying oven for 24 hours until the sample weight is constant. Then the sample is placed in the holder and the rock sample is pressurized and watered at 7MPa for 24h using a ZR-Ⅲ piston container. When pressurized and watered, the solution is saturated potassium iodide solution, which makes the sample more clear after water retention in X-ray scanning.

[0013] In a possible implementation, the specific processing manner of step S110 is: after the pre-prepared rock sample is stored at the preset temperature value and the preset pressure value for a preset length of time, the rock sample is scanned to obtain scanning data of the rock sample.

[0014] In some embodiments, since the heat conduction balance needs time, the longest conduction time of the sandstone sample is about 1.8 hours to reach thermal equilibrium, therefore, the constant temperature time can be set to 2 hours per step to ensure that the sample reaches thermal equilibrium. In addition, the error needs to be controlled within ±0.5℃. After setting the preset temperature value, the pore space of the sample can be detected as a whole every 45 minutes. When setting the pressure value, a stagnation point needs to be added at 15Mpa, which is set because hydrogen will undergo a supercritical transformation in the underground environment. The pressurization rate is set to 0.5MPa / min, which is the critical value calculated by Darcy's law. If the pressurization rate exceeds this value, it may cause stress mutation transient flow distortion. The constant pressure time of a single pressure point is set to 1 hour. The rock sample is stored at the preset temperature value and the preset pressure value for a preset length of time, so that the rock sample realizes thermal conduction balance and pressure change. The scanning data is obtained by scanning the rock sample with X-ray.

[0015] Step S120, determining the pore geometric characteristics of the rock sample according to the scanning data, and calculating the effective hydrogen occurrence pore volume, pore connectivity index and shape complexity of the rock sample based on the pore geometric characteristics.

[0016] In some embodiments, the scanning data needs to be reconstructed by FDK projection algorithm to obtain a two-dimensional pore structure image or a three-dimensional pore structure image with a resolution of 1μm, and the pore geometric characteristics are extracted from the two-dimensional pore structure image or the three-dimensional pore structure image.

[0017] It should be noted that the pore geometry includes pore shape factor, pore fractal dimension, apparent porosity of rock, volume sum of all pores in the rock sample, number of connected pores, total number of pores, pore area and further pore perimeter.

[0018] Referring to Figure 2 The specific processing mode of the step S120 includes steps S1201-S1203, and specific contents are as shown below. In step S1201, based on the pore shape factor, the pore fractal dimension, the apparent porosity of rock and the volume sum of all pores in the rock sample, the effective hydrogen storage pore volume of the rock sample is calculated.

[0019] In some embodiments, the effective hydrogen storage pore volume is used to quantify the coupling effect of pressure and pore morphology on the effective hydrogen storage space.

[0020] In a possible implementation, the specific processing mode of the step S1201 is that the pore shape factor, the pore fractal dimension, the apparent porosity of rock and the volume sum of all pores in the rock sample are input into an effective hydrogen storage pore volume calculation formula to obtain the effective hydrogen storage pore volume of the rock sample; and the effective hydrogen storage pore volume calculation formula is as follows:

[0021] wherein, Veff is the effective hydrogen storage pore volume, f is the pore shape factor, Pc is the capillary pressure threshold, Pexp is the experimental pressure, D is the fractal dimension, φ is the apparent porosity of rock, Vtot is the volume sum of all pores in the rock sample.

[0022] In some embodiments, the unit of the effective hydrogen storage pore volume is cubic microns. When the pore is a spherical pore, the pore shape factor is 1; and when the pore is a sheet-shaped pore, the pore shape factor is 0.6. The units of the capillary pressure threshold and the experimental pressure are both megapascals. The fractal dimension can be extracted from a two-dimensional pore structure image or a three-dimensional pore structure image by a box technique. The volume sum of all pores in the rock sample is cubic microns.

[0023] In step S1202, the ratio of the number of connected pores to the total number of pores is determined as the pore connectivity index of the rock sample.

[0024] In some embodiments, the calculation formula of the pore connectivity index of the rock sample is as follows:

[0025] wherein, is a pore connectivity index, in percentage, is a number of connected pores in the two-dimensional pore structure image or the three-dimensional pore structure image, is a total number of pores in the two-dimensional pore structure image or the three-dimensional pore structure image.

[0026] In step S1203, the shape complexity of the rock sample is calculated based on the pore area and the pore perimeter.

[0027] In some embodiments, the shape complexity is used to evaluate the regularity of the pores in the rock sample.

[0028] In a possible implementation, the specific processing manner of step S1203 is that the pore area and the pore perimeter are input into a shape complexity calculation formula to calculate the shape complexity of the rock sample. The shape complexity calculation formula is:

[0029] wherein, is the shape complexity, is the pore area, is the pore perimeter.

[0030] In some embodiments, the unit of the pore area is square micrometers, and the unit of the pore perimeter is micrometers.

[0031] In step S130, the in-situ occurrence information of the natural hydrogen at the preset temperature value and the preset pressure value of the rock corresponding to the rock sample is determined based on the effective hydrogen occurrence pore volume, the pore connectivity index, and the shape complexity.

[0032] In some embodiments, the larger the effective hydrogen occurrence volume, the larger the occurrence space of the natural hydrogen in the rock reservoir of the rock corresponding to the rock sample. The larger the pore connectivity index, the better the occurrence condition of the natural hydrogen in the rock reservoir of the rock corresponding to the rock sample. The larger the value of the shape complexity, the better the regularity of the pores in the rock reservoir of the rock corresponding to the rock sample. When judging the in-situ occurrence information of the natural hydrogen, the effective hydrogen occurrence pore volume is the most important index.

[0033] In a possible implementation, the specific processing manner of step S130 is that a first interval range to which the effective hydrogen occurrence pore volume belongs, a second interval range to which the pore connectivity index belongs, and a third interval range to which the shape complexity belongs are determined. Based on the first interval range, the second interval range, and the third interval range, the corresponding in-situ occurrence grade of the rock sample is determined. According to the geological significance corresponding to the in-situ occurrence grade, the in-situ occurrence information of the natural hydrogen at the preset temperature value and the preset pressure value of the rock corresponding to the rock sample is determined.

[0034] In some embodiments, the first interval range can be: 0.1 or less, 0.1-1, 1-10, 10-50, 50 or more. The second interval range can be: 10 or less, 10-25, 25-50, 50-75, 75 or more. The third interval range can be: 0.3 or less, 0.3-0.6, 0.6-0.7, 0.7-0.8, 0.8 or more. Different first interval ranges, second interval ranges and third interval ranges correspond to different geological meanings. The in-situ occurrence grade is divided into five grades. When the in-situ occurrence grade is invalid reservoir, the corresponding first interval range is 0.1 or less, the second interval range is 10 or less, and the third interval range is 0.3 or less; when the in-situ occurrence grade is marginal reservoir, the corresponding first interval range is 0.1-1, the second interval range is 10-25, and the third interval range is 0.3-0.6; when the in-situ occurrence grade is effective reservoir, the corresponding first interval range is 1-10, the second interval range is 25-50, and the third interval range is 0.6-0.7; when the in-situ occurrence grade is high-quality reservoir, the corresponding first interval range is 10-50, the second interval range is 50-75, and the third interval range is 0.7-0.8; and when the in-situ occurrence grade is super-quality reservoir, the corresponding first interval range is 50 or more, the second interval range is 75 or more, and the third interval range is 0.8 or more. When the first interval range, the second interval range and the third interval range do not belong to the same in-situ occurrence grade, the in-situ occurrence grade to which the first interval range belongs is used as the reference. The geological meaning corresponding to the invalid reservoir is that the pores are too small or the connectivity is too poor, and hydrogen cannot be effectively stored; the geological meaning corresponding to the marginal reservoir is that the diffusion resistance is large due to the dominance of micro-pores, and artificial permeation is required; the geological meaning corresponding to the effective reservoir is that the molecular free path is met, and the storage effect is obvious; the geological meaning corresponding to the high-quality reservoir is that the network of medium-large pores is developed, and the seepage velocity is greater than 10 - 1 m / s (20Mpa); and the geological meaning corresponding to the super-quality reservoir is that the fracture-pore composite system has a hydrogen loss rate of less than 2%, and Table 1 is the effective hydrogen storage pore volume classification standard and the corresponding geological meaning.

[0035] Table 1 Effective hydrogen storage pore volume classification standard

[0036] By acquiring the scanning data of the rock sample after being placed at a preset temperature value and pressure value for a period of time, and further determining the pore geometric characteristics of the rock sample according to the scanning data, and then calculating the effective hydrogen gas occurrence pore volume, pore connectivity index and shape complexity of the rock sample according to the pore geometric characteristics, the in-situ occurrence information of natural hydrogen gas of the rock corresponding to the rock sample at the preset temperature value and the preset pressure value is determined. Since the temperature value and the pressure value at different depths of the underground are different, the temperature value and the pressure value will affect the pores of the rock. Therefore, by setting the temperature value and the pressure value, the underground environment in which the rock is located can be simulated. The corresponding geological significance is determined by the effective hydrogen gas occurrence pore volume, the pore connectivity index and the shape complexity, which can effectively realize the quantitative evaluation of the occurrence degree of natural hydrogen gas.

[0037] It should be understood that the size of the serial number of each step in the above embodiment does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.

[0038] The following is the device embodiment of the present application. For details not described in detail, please refer to the corresponding method embodiments described above.

[0039] Figure 3a And Figure 3b The structure schematic diagram of the rock natural hydrogen gas in-situ occurrence detection device provided by the embodiment of the present application is shown. For the convenience of description, only the part related to the embodiment of the present application is shown, and the details are as follows: As Figure 3a And Figure 3b The rock natural hydrogen gas in-situ occurrence detection device 3 includes a sample loading holder 31, a temperature control unit 32, an X-ray scanning ray source 33 and a pressure control unit 34. The pressure control unit 34 is in communication with the sample loading holder 31. The temperature control unit 32 is arranged around the sample loading holder 31. The X-ray scanning ray source 33 is located on one side of the sample loading holder 31, and the X-ray emitted by the X-ray scanning ray source 33 can directly irradiate the sample loading holder 31.

[0040] In a possible implementation, referring to Figure 3a And Figure 3b The temperature control unit 32 includes a first silica gel heating plate 321, a second silica gel heating plate 322 and a temperature sensor 323. The first silica gel heating plate 321 and the second silica gel heating plate 322 are arranged around the sample loading holder 31. The temperature sensor 323 is arranged inside the sample loading holder 31.

[0041] In a possible implementation, referring to Figure 3a And Figure 3bThe pressure control unit 34 comprises a gas cylinder 341 and a pressure control module 342; the gas cylinder 341 is in communication with the pressure control module 342; the pressure control module 342 is in communication with the sample loading holder 31.

[0042] In some embodiments, referring to Figure 3a and Figure 3b The in-situ detection device of natural hydrogen in rocks further comprises a first valve 35, a second valve 36, a bearing-equipped stage 37, and an O-shaped rubber sealing ring 38. The first silica gel heating plate 321 and the second silica gel heating plate 322 are composed of a high-temperature-resistant sealing device 3211 and a silica gel heating strip 3212. The bearing-equipped stage 37 is provided with a rolling bearing 371 and a holder fixing knob 372.

[0043] The process of detecting the pre-prepared rock sample by using the in-situ detection device of natural hydrogen in rocks 3 is as follows: First step: turn on the X-ray scanning ray source 33, select the ray source, start the scanning software of the X-ray scanning ray source 33, stabilize the voltage and current, correct the parallel plates in the bearing-equipped stage 37, perform scanning, and obtain the background state during the experiment.

[0044] Second step: after the sample saturation treatment, remove the residual liquid in the sample loading holder 31, ensure that the sample loading holder 31 is filled with air, fix the lower end of the sample loading holder 31 on the sample loading holder 31 fixing knob of the bearing-equipped stage 37 at this time, connect the pressure control module 342 with the temperature control unit 32, and inject hydrogen into the sample loading holder 31 to empty the air in the sample loading holder 31.

[0045] Third step: turn on the real-time image processing software, rotate the stage by 90°, 180°, -90°, and -180° through software operation, and record the left and right edges of the rock sample in the sample loading holder 31 respectively and analyze to obtain the center position of the rock sample, move the X and Y axes of the stage, and move the rock sample to the center position of the bearing-equipped stage 37, so that the X-ray is aligned with the center position of the rock sample.

[0046] Fourth step: start scanning, and set the sample acquisition frame number to 1800FPS to reduce the precision reduction caused by sensor errors.

[0047] Fifth step: set different temperature states by the temperature control unit 32 to cover the common temperature stages of the crust, while avoiding metamorphism of most sedimentary rock mineral samples in this temperature range. The constant temperature time is 2 hours per stage to ensure thermal equilibrium, and the error is controlled within ±0.5℃. The purpose is that the heat conduction balance needs time, and the sandstone sample with the longest conduction time needs about 1.8 hours to reach thermal equilibrium; the whole sample pore space is detected every 45 minutes.

[0048] Step 6: Turn on the pressure control unit 34, open the gas cylinder 341 and the first valve 35 between the gas cylinder 341 and the pressure control unit 34, and the second valve 36 between the pressure control unit 34 and the sample loading holder 31. Simulate the conventional pressure range of shallow to deep reservoir, increase the retention point at 15 MPa, simulate the supercritical transition of hydrogen in the underground environment; the pressure increasing rate is set to 0.5 MPa / min; the constant pressure time of single pressure point is set to 1 hour.

[0049] The sample loading holder used by the in-situ occurrence detection device of natural hydrogen in rock is made of special aluminum alloy material, which is not corroded by saturated potassium iodide solution, resistant to high pressure and high temperature, and easy to be penetrated by X-rays, so that the detection accuracy can be improved. In addition, in the prior art, when the sample slice image is scanned in the plane 360° range using X-rays, the silicone heating plate and the sample loading holder rotate at the same time, and the test accuracy is reduced due to the penetration of X-rays through the silicone heating plate. The bearing-equipped sample loading holder at the bottom of the in-situ occurrence detection device of natural hydrogen in rock in the present application can control the X-ray scanning source to scan the sample slice image in the plane 360° range, and avoid the simultaneous rotation of the silicone heating plate and the sample loading holder. X-rays do not need to penetrate the silicone heating plate, which can avoid the problem of test accuracy reduction caused by X-rays penetrating the silicone heating plate during sample rotation.

[0050] Figure 4 is a schematic diagram of an electronic device provided by an embodiment of the present application. As shown in Figure 4 The electronic device 4 of this embodiment includes a processor 40 and a memory 41. The memory 41 stores a computer program 42. The processor 40 implements the steps in each of the method embodiments described above when executing the computer program 42. Alternatively, the processor 40 implements the functions of each module / unit in each of the device embodiments described above when executing the computer program 42.

[0051] For example, the computer program 42 can be divided into one or more modules / units, which are stored in the memory 41 and executed by the processor 40 to complete the present application. The one or more modules / units can be a series of computer program instruction segments capable of completing a specific function, which are used to describe the execution process of the computer program 42 in the electronic device 4.

[0052] The electronic device 4 can include, but is not limited to, the processor 40 and the memory 41. Those skilled in the art can understand, Figure 4 The electronic device 4 is only an example and does not constitute a limitation on the electronic device 4, which can include more or fewer components than shown, or combine certain components, or different components, for example, the electronic device 4 can also include an input / output device, a network access device, a bus, etc.

[0053] For the convenience and brevity of description, only the above-mentioned division of each functional module / unit is exemplified, and in actual application, the above-mentioned functions can be completed by different functional modules / units according to needs. The above-mentioned modules / units can be realized in the form of hardware, software or a combination of hardware and software.

[0054] In the above embodiments, the description of each embodiment has its own emphasis, and the parts not described or recorded in a certain embodiment can be referred to the related description of other embodiments. If there is no special description and logical conflict, the terms and / or descriptions of different embodiments are consistent and can be mutually referenced, and the technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationship.

[0055] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that the technical solutions recorded in the foregoing embodiments can still be modified, or some technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.

Claims

1. A method for detecting in situ occurrence of natural hydrogen in a rock, characterized by, The method comprises: acquiring scanning data of a prepared rock sample, wherein the scanning data is obtained by scanning the prepared rock sample under a preset temperature value and a preset pressure value; determining pore geometric characteristics of the rock sample according to the scanning data, and calculating effective hydrogen-occurring pore volume, pore connectivity index and shape complexity of the rock sample based on the pore geometric characteristics; determining in-situ occurrence information of natural hydrogen of a rock corresponding to the rock sample under the preset temperature value and the preset pressure value based on the effective hydrogen-occurring pore volume, the pore connectivity index and the shape complexity.

2. The method of claim 1, wherein the method is characterized by: The pore geometric characteristics include pore shape factor, pore fractal dimension, apparent porosity of the rock, volume sum of all pores in the rock sample, number of connected pores, total number of pores, pore area and pore perimeter. The calculation of the effective hydrogen-occurring pore volume, the pore connectivity index and the shape complexity of the rock sample based on the pore geometric characteristics comprises: calculating the effective hydrogen-occurring pore volume of the rock sample based on the pore shape factor, the pore fractal dimension, the apparent porosity of the rock and the volume sum of all pores in the rock sample; determining the pore connectivity index of the rock sample as a ratio of the number of connected pores to the total number of pores; calculating the shape complexity of the rock sample based on the pore area and the pore perimeter.

3. The method of claim 2, wherein the method is characterized by: The calculation of the effective hydrogen-occurring pore volume of the rock sample based on the pore shape factor, the pore fractal dimension, the apparent porosity of the rock and the volume sum of all pores in the rock sample comprises: inputting the pore shape factor, the pore fractal dimension, the apparent porosity of the rock and the volume sum of all pores in the rock sample into an effective hydrogen-occurring pore volume calculation formula to obtain the effective hydrogen-occurring pore volume of the rock sample; the effective hydrogen-occurring pore volume calculation formula is: wherein, is the effective hydrogen gas hosting pore volume, is the pore shape factor, is the capillary pressure threshold, is the experimental pressure, is the fractal dimension, is the apparent porosity of the rock, is the volume sum of all pores in the rock sample.

4. The method of claim 2, wherein the method is characterized by, The calculation of the shape complexity of the rock sample based on the pore area and the pore perimeter comprises: inputting the pore area and the pore perimeter into a shape complexity calculation formula to obtain the shape complexity of the rock sample; the shape complexity calculation formula is: wherein, is the shape complexity, is the pore area, is the pore perimeter.

5. The method of claim 1, wherein, The determination of the in-situ occurrence information of natural hydrogen of the rock corresponding to the rock sample under the preset temperature value and the preset pressure value based on the effective hydrogen-occurring pore volume, the pore connectivity index and the shape complexity comprises: determining a first interval range to which the effective hydrogen-occurring pore volume belongs, a second interval range to which the pore connectivity index belongs, and a third interval range to which the shape complexity belongs; determining a corresponding in-situ occurrence grade of the rock sample based on the first interval range, the second interval range and the third interval range; determining the in-situ occurrence information of natural hydrogen of the rock corresponding to the rock sample under the preset temperature value and the preset pressure value according to geological significance corresponding to the in-situ occurrence grade.

6. The method of claim 1, wherein, The scanning data of the rock sample is obtained, including: The rock sample is stored at a preset temperature value and a preset pressure value for a preset length of time, and then scanned to obtain the scanning data of the rock sample.

7. An apparatus for detecting in situ occurrence of natural hydrogen in a rock, characterized by The device comprises a sample loading holder, a temperature control unit, an X-ray scanning source and a pressure control unit. The pressure control unit is in communication with the sample loading holder, and the temperature control unit is arranged around the sample loading holder.

8. The apparatus for in-situ detection of occurrence of natural hydrogen in rock according to claim 7, characterized by, The X-ray scanning source is located on one side of the sample loading holder, and the X-ray emitted by the X-ray scanning source can directly irradiate the sample loading holder. The temperature control unit comprises a first silica gel heating plate, a second silica gel heating plate and a temperature sensor.

9. The apparatus for in-situ detection of occurrence of natural hydrogen in rock according to claim 7, characterized by, The first silica gel heating plate and the second silica gel heating plate are arranged around the sample loading holder, and the temperature sensor is arranged inside the sample loading holder. The pressure control unit comprises a gas cylinder and a pressure control module.

10. An electronic device, comprising: The gas cylinder is in communication with the pressure control module, and the pressure control module is in communication with the sample loading holder. The device comprises a memory and a processor, and the memory stores a computer program. The processor executes the computer program to realize the method of any one of claims 1 to 6.