Gas displacement control method, system, device and computer readable storage medium

By employing a real-time data-driven replacement strategy, the number of replacements is calculated based on hydrogen concentration and pressure parameters. This solves the scientific and precise issues of gas replacement in hydrogen fuel cell testing, achieving safety and resource optimization, and improving operational efficiency.

CN122474650APending Publication Date: 2026-07-28ZHONGAN ZHIYAN (WUHAN) TRANSPORTATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
ZHONGAN ZHIYAN (WUHAN) TRANSPORTATION TECHNOLOGY CO LTD
Filing Date
2026-04-29
Publication Date
2026-07-28

AI Technical Summary

Technical Problem

Existing gas replacement procedures lack scientific rigor and precision in hydrogen fuel cell testing, leading to resource waste and safety hazards, and failing to optimize the number of replacement cycles while ensuring safety.

Method used

By calculating the number of replacement cycles based on real-time hydrogen concentration, replacement gas pressure, and pipeline pressure, and combining pressure ratio and concentration parameters, the replacement process of nitrogen or hydrogen can be automatically controlled to ensure safety and resource optimization.

Benefits of technology

It improves the safety and resource utilization efficiency of the replacement operation, reduces unnecessary gas consumption, shortens equipment preparation time, and improves overall operation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122474650A_ABST
    Figure CN122474650A_ABST
Patent Text Reader

Abstract

The application discloses a gas replacement control method, system, device and computer readable storage medium, and relates to the technical field of hydrogen fuel cell testing, and specifically comprises the following steps: for a scene of replacing hydrogen with nitrogen, determining a replacement number of times based on real-time hydrogen concentration, replacement nitrogen pressure and real-time pipeline hydrogen pressure; for a scene of replacing nitrogen with hydrogen, determining the replacement number of times according to real-time pipeline nitrogen pressure, replacement hydrogen pressure and initial nitrogen concentration. The application can scientifically and accurately determine the optimal replacement number of times under the premise of ensuring replacement safety.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of hydrogen fuel cell testing technology, specifically to a gas replacement control method, system, device, and computer-readable storage medium. Background Technology

[0002] As a platform for the research and development and testing of hydrogen fuel cell components, the laboratory generally adopts a centralized gas supply mode to meet the requirements of safe, stable and continuous hydrogen supply in this process. In the hydrogen storage area, this mode is usually reflected in the fact that there are two independent hydrogen supply cells (i.e. hydrogen cylinder groups) A and B, which are managed and switched through a control system to achieve the gas supply logic of "one line in use and one line in standby".

[0003] When the hydrogen in the A (or B) gas collection chamber in use is depleted or the pressure is insufficient, the chamber must be disconnected and a new hydrogen-filled collection chamber must be connected. Because hydrogen is flammable and explosive, before connecting a new collection chamber, the residual hydrogen in the connecting pipes and empty collection chambers must be inerted and replaced. High-purity nitrogen is typically used as the replacement medium to completely eliminate the potential risk of an explosive atmosphere formed by the mixing of air (oxygen) and residual hydrogen. Furthermore, after the hydrogen collection chamber is installed, multiple hydrogen replacement operations are required to adjust the hydrogen concentration in the new collection chamber to a safe range, ensuring that the internal environment meets safety standards before being put into use.

[0004] However, existing gas replacement operations have significant limitations: the replacement process relies on fixed procedures or experience, and currently usually follows a fixed number of "fill-out" cycles or relies on the operator's experience and judgment. This "one-size-fits-all" approach lacks consideration of actual working conditions. At the same time, in order to ensure absolute safety, operators often tend to over-replace, resulting in waste of resources, increased testing costs, and extended equipment preparation time. Conversely, if insufficient replacement is carried out in order to save costs and time, it may lead to safety hazards.

[0005] Therefore, how to scientifically and accurately determine the optimal number of replacements while ensuring the safety of replacements, so as to avoid waste of resources and improve operational efficiency, is an urgent problem to be solved. Summary of the Invention

[0006] This application provides a gas replacement control method, system, device, and computer-readable storage medium, which can scientifically and accurately determine the optimal number of replacements while ensuring replacement safety.

[0007] In a first aspect, embodiments of this application provide a gas replacement control method, the gas replacement control method comprising: For scenarios where nitrogen is used to replace hydrogen, the number of replacement cycles is determined based on the real-time hydrogen concentration, the pressure of the nitrogen being replaced, and the real-time hydrogen pressure in the pipeline. For scenarios where hydrogen is used to replace nitrogen, the number of replacement cycles is determined based on the real-time pipeline nitrogen pressure, the replacement hydrogen pressure, and the initial nitrogen concentration.

[0008] In conjunction with the first aspect, in one embodiment, determining the number of replacement cycles based on real-time hydrogen concentration, replacement nitrogen pressure, and real-time pipeline hydrogen pressure includes: The single nitrogen replacement capacity was determined based on the replacement nitrogen pressure and the real-time pipeline hydrogen pressure. The number of replacements is determined based on the real-time hydrogen concentration and the single nitrogen replacement capacity.

[0009] In conjunction with the first aspect, in one implementation, the expression for the number of permutations is:

[0010] In the formula, This represents the real-time hydrogen concentration. To displace nitrogen pressure; Real-time pipeline hydrogen pressure; The number of permutations; This refers to the capacity for a single nitrogen replacement.

[0011] In conjunction with the first aspect, in one embodiment, determining the number of replacement cycles based on the real-time pipeline nitrogen pressure, the replacement hydrogen pressure, and the initial nitrogen concentration includes: The single hydrogen replacement capacity was determined based on the replacement hydrogen pressure and the real-time pipeline nitrogen pressure. The number of replacements is determined based on the initial nitrogen concentration and the single hydrogen replacement capacity.

[0012] In conjunction with the first aspect, in one implementation, the expression for the number of permutations is:

[0013] In the formula, Real-time pipeline nitrogen pressure; To displace hydrogen pressure; This represents the initial nitrogen concentration; The number of permutations; This refers to the single-cycle hydrogen replacement capacity.

[0014] In conjunction with the first aspect, in one embodiment, after the step of determining the number of replacements based on the real-time hydrogen concentration, the replacement nitrogen pressure, and the real-time pipeline hydrogen pressure, the method further includes: After performing a nitrogen replacement cycle for a certain number of consecutive replacement cycles, determine whether the real-time hydrogen concentration is less than the preset safety threshold. If so, the replacement is deemed qualified; If not, the replacement is deemed unqualified.

[0015] In conjunction with the first aspect, in one embodiment, after the step of determining the number of purging cycles based on the real-time pipeline nitrogen pressure, the purging hydrogen pressure, and the initial nitrogen concentration, the method further includes: The hydrogen replacement cycle is continuously performed a certain number of times, and the real-time nitrogen concentration is determined to be less than the preset concentration threshold. If so, the replacement is deemed qualified; If not, the replacement is deemed unqualified.

[0016] Secondly, embodiments of this application provide a gas replacement control system, the gas replacement control system comprising: The first processing module is used to determine the number of replacements for a scenario where nitrogen is used to replace hydrogen, based on the real-time hydrogen concentration, the pressure of the replacement nitrogen, and the real-time pipeline hydrogen pressure. The second processing module is used to determine the number of replacements for scenarios where hydrogen is used to replace nitrogen, based on the real-time pipeline nitrogen pressure, the replacement hydrogen pressure, and the initial nitrogen concentration.

[0017] Thirdly, embodiments of this application provide a gas replacement control device, the gas replacement control device including a processor, a memory, and a gas replacement control program stored in the memory and executable by the processor, wherein when the gas replacement control program is executed by the processor, it implements the steps of the gas replacement control method as described in any of the foregoing claims.

[0018] Fourthly, embodiments of this application provide a computer-readable storage medium storing a gas replacement control program, wherein when the gas replacement control program is executed by a processor, it implements the steps of the gas replacement control method as described in any of the preceding claims.

[0019] The beneficial effects of the technical solutions provided in this application include: For scenarios where nitrogen is used to replace hydrogen, the number of replacement cycles is determined based on real-time hydrogen concentration, replacement nitrogen pressure, and real-time pipeline hydrogen pressure to ensure reasonable replacement under actual operating conditions, thereby guaranteeing the safe disassembly of the original hydrogen pipeline. For scenarios where hydrogen is used to replace nitrogen, the number of replacement cycles is determined based on real-time pipeline nitrogen pressure, replacement hydrogen pressure, and initial nitrogen concentration, ensuring that the hydrogen purity in the pipeline after the hydrogen collector is installed meets testing requirements and can be safely put into operation. This application, through a real-time data-driven replacement strategy, not only improves the safety of replacement operations but also optimizes resource utilization efficiency, reduces unnecessary gas consumption, shortens equipment preparation time, and thus improves overall operational efficiency. Attached Figure Description

[0020] Figure 1This is a schematic flowchart of an embodiment of the gas replacement control method of this application; Figure 2 For this application Figure 1 A detailed flowchart of step S10; Figure 3 This is a schematic diagram of the laboratory gas supply system in an embodiment of the gas replacement control method of this application; Figure 4 This is a schematic diagram of the hardware structure of the gas replacement control device involved in the embodiments of this application. Detailed Implementation

[0021] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.

[0022] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0023] In a first aspect, embodiments of this application provide a gas replacement control method.

[0024] In one embodiment, reference is made to Figure 1 , Figure 1 This is a schematic flowchart illustrating an embodiment of the gas replacement control method of this application. Figure 1 As shown, the gas replacement control method includes: Step S10: For scenarios where nitrogen is used to replace hydrogen, the number of replacement cycles is determined based on the real-time hydrogen concentration, the replacement nitrogen pressure, and the real-time pipeline hydrogen pressure.

[0025] In this exemplary embodiment, the real-time hydrogen concentration characterizes the volume percentage of residual hydrogen in the pipeline and is a direct basis for determining whether the replacement has reached the safety standard; the replacement nitrogen pressure reflects the supply capacity of the replacement medium, and the real-time pipeline hydrogen pressure characterizes the hydrogen pressure of the system to be replaced. The two together constitute a pressure ratio parameter, which is used to calculate the number of replacements to estimate the dilution efficiency of a single cycle; through the dual verification mechanism of pressure and concentration parameters, it is ensured that the residual hydrogen content in the pipeline is reduced to a safe range so as to achieve safe disassembly of the pipeline.

[0026] Step S20: For scenarios where hydrogen is used to replace nitrogen, determine the number of replacements based on the real-time pipeline nitrogen pressure, the replacement hydrogen pressure, and the initial nitrogen concentration.

[0027] In an exemplary embodiment of this application, the real-time pipeline nitrogen pressure characterizes the nitrogen pressure in the system to be purged, and the purging hydrogen pressure characterizes the supply pressure of the purging medium. The two together constitute a pressure ratio parameter used to evaluate the removal efficiency of residual nitrogen in a single charge-discharge cycle. The initial nitrogen concentration characterizes the initial volume percentage of the gas to be purged in the pipeline. Through a dual calculation mechanism of pressure and concentration parameters, the purity of hydrogen in the pipeline is ensured to meet the test requirements to achieve safe operation of the system.

[0028] This application addresses scenarios where nitrogen is used to replace hydrogen. It determines the number of replacement cycles based on real-time hydrogen concentration, replacement nitrogen pressure, and real-time pipeline hydrogen pressure to ensure reasonable replacement under actual operating conditions, thereby guaranteeing the safe disassembly of the original hydrogen pipeline. For scenarios where hydrogen is used to replace nitrogen, the number of replacement cycles is determined based on real-time pipeline nitrogen pressure, replacement hydrogen pressure, and initial nitrogen concentration, ensuring that the hydrogen purity in the pipeline after the hydrogen collector is installed meets testing requirements and can be safely put into operation. This application, through a real-time data-driven replacement strategy, not only improves the safety of replacement operations but also optimizes resource utilization efficiency, reduces unnecessary gas consumption, shortens equipment preparation time, and thus improves overall operational efficiency.

[0029] Furthermore, in one embodiment, reference is made to Figure 2 As shown, determining the number of replacement cycles based on real-time hydrogen concentration, replacement nitrogen pressure, and real-time pipeline hydrogen pressure includes: Step S101: Determine the single nitrogen replacement capacity based on the replacement nitrogen pressure and the real-time pipeline hydrogen pressure; Step S102: Determine the number of replacements based on the real-time hydrogen concentration and the single nitrogen replacement capacity.

[0030] As an example, in the embodiments of this application, the gas dilution efficiency in a single charge-discharge cycle is quantified by calculating the ratio of the replacement nitrogen pressure to the real-time pipeline hydrogen pressure, thereby determining the single nitrogen replacement capacity; based on the single nitrogen replacement capacity and combined with the real-time hydrogen concentration, the number of replacements that meet the safety requirements is accurately calculated, so as to optimize the replacement process while ensuring safety.

[0031] Further, in one embodiment, the expression for the number of permutations is:

[0032] In the formula, This represents the real-time hydrogen concentration. To displace nitrogen pressure; Real-time pipeline hydrogen pressure; The number of permutations; This refers to the capacity for a single nitrogen replacement.

[0033] In an exemplary embodiment of this application, when the laboratory hydrogen is depleted, it needs to be replaced with nitrogen to ensure the safe disassembly of the original hydrogen pipeline. At this time, it is necessary to ensure that the hydrogen concentration is less than a first preset hydrogen concentration threshold. The specific value can be determined according to actual needs and is not limited here; for example, the first preset hydrogen concentration threshold can preferably be 4%. Assume that the hydrogen pressure in the pipeline at this time is P. 氢 The hydrogen concentration is n H2 The pressure of the replaced nitrogen gas is After n replacements, the hydrogen concentration becomes Then the number of permutations n should satisfy the following condition: Further derivation yields:

[0034] The following is an example of nitrogen replacing hydrogen: Assume the hydrogen pressure in the pipeline is P at this time. 管 Since the pressure in the pipeline after exhaust is close to atmospheric pressure and the concentration is 100% (pure hydrogen), the pressure of the nitrogen replacement is 13.3 MPa. Therefore, the number of replacements is: n≥ln(25) / ln(13.5). It can be calculated that the number of replacements is 1.

[0035] Further, in one embodiment, determining the number of replacement cycles based on the real-time pipeline nitrogen pressure, the replacement hydrogen pressure, and the initial nitrogen concentration includes: The single hydrogen replacement capacity was determined based on the replacement hydrogen pressure and the real-time pipeline nitrogen pressure. The number of replacements is determined based on the initial nitrogen concentration and the single hydrogen replacement capacity.

[0036] In an exemplary embodiment of this application, the pressure ratio formed by the replacement hydrogen supply pressure and the initial nitrogen pressure in the pipeline is used to quantify the removal efficiency of residual nitrogen in a single charge-discharge cycle, thereby characterizing the gas dilution efficiency of a single operation; the initial nitrogen concentration is used as the baseline total amount of impurities to be eliminated, and the number of replacements required to meet the purity requirements is calculated in combination with the single hydrogen replacement capacity, thereby ensuring the purity of the supplied hydrogen while avoiding the waste of hydrogen resources.

[0037] Further, in one embodiment, the expression for the number of permutations is:

[0038] In the formula, Real-time pipeline nitrogen pressure; To displace hydrogen pressure; This represents the initial nitrogen concentration; The number of permutations; This refers to the single-cycle hydrogen replacement capacity.

[0039] In an exemplary embodiment of this application, after the hydrogen gas collector is installed, multiple hydrogen replacement operations are required to raise the hydrogen concentration in the pipeline to above a second preset hydrogen concentration threshold. The specific value can be determined according to actual needs and is not limited here; for example, the second preset hydrogen concentration threshold can preferably be 99.7%. Assume that the nitrogen pressure in the pipeline at this time is P. 氮 Real-time pipeline nitrogen pressure is The initial nitrogen concentration in the pipeline is n N2 After n replacements, the hydrogen concentration becomes Then, the number of permutations n should satisfy the following condition: Further derivation yields:

[0040] The following is an example of hydrogen replacing nitrogen: After the hydrogen gas collector is installed, multiple hydrogen purging operations are required to raise the hydrogen concentration in the pipeline to over 99.7%. Assuming the nitrogen pressure in the pipeline is close to atmospheric pressure, the purging hydrogen pressure is 20 MPa, and the initial nitrogen concentration is 100%, then the number of purging operations must meet the following requirements: Calculating the above formula, we can see that the number of permutations is 2.

[0041] Furthermore, in one embodiment, after determining the number of replacement cycles based on the real-time hydrogen concentration, the replacement nitrogen pressure, and the real-time pipeline hydrogen pressure, the method further includes: After performing a nitrogen replacement cycle for a certain number of consecutive replacement cycles, determine whether the real-time hydrogen concentration is less than the preset safety threshold. If so, the replacement is deemed qualified; If not, the replacement is deemed unqualified.

[0042] As an example, in the embodiments of this application, the specific value of the preset safety threshold can be determined according to actual needs and is not limited here. For example, the preset safety threshold can preferably be 25% of the lower limit of hydrogen explosion concentration. After a nitrogen replacement cycle of a certain number of replacements, it is determined whether the real-time hydrogen concentration is less than the preset safety threshold. If the real-time hydrogen concentration is less than the preset safety threshold, it means that the residual hydrogen in the pipeline has been effectively diluted to below the safe range, meeting the conditions for safe disassembly or subsequent operation, and the replacement is deemed qualified. If the real-time hydrogen concentration is not less than the preset safety threshold, it means that the residual hydrogen concentration in the pipeline is still higher than the safety limit, there is an explosion risk and the replacement has not achieved the expected effect, and the replacement is deemed unqualified.

[0043] It should be noted that once the replacement is deemed satisfactory, the control system will immediately and automatically close the nitrogen replacement inlet valve and exhaust valve, terminate the replacement process, and issue a prompt that "replacement is complete, ready to connect to a new hydrogen source"; if the standard is not met within the preset maximum number of safe replacements, the system will alarm and forcibly terminate the replacement, prompting a manual inspection.

[0044] Furthermore, in one embodiment, after determining the number of purging cycles based on the real-time pipeline nitrogen pressure, the purging hydrogen pressure, and the initial nitrogen concentration, the method further includes: The hydrogen replacement cycle is continuously performed a certain number of times, and the real-time nitrogen concentration is determined to be less than the preset concentration threshold. If so, the replacement is deemed qualified; If not, the replacement is deemed unqualified.

[0045] As an example, in this embodiment, the specific value of the preset concentration threshold can be determined according to actual needs and is not limited here. A hydrogen replacement cycle is performed continuously for a specified number of replacement cycles, and it is determined whether the real-time nitrogen concentration is less than the preset concentration threshold. If the real-time nitrogen concentration is less than the preset concentration threshold, it indicates that the residual nitrogen in the pipeline has been sufficiently replaced, the hydrogen purity meets the fuel cell testing requirements, and the system has safe operating conditions; therefore, the replacement is deemed qualified. If the real-time nitrogen concentration is not less than the preset concentration threshold, it indicates that the residual nitrogen content in the pipeline exceeds the standard, the hydrogen purity does not meet the preset standard, and there is a risk of affecting test performance or equipment safety; therefore, the replacement is deemed unqualified.

[0046] It should be understood that, with reference Figure 3 As shown, the hardware architecture of the laboratory gas supply system is designed specifically to support intelligent optimization control of the gas replacement process, encompassing key components such as the gas supply area, gas path, sensor detection module, control execution module, and gas consumption end. The laboratory gas supply area serves as the gas supply source, delivering hydrogen to the gas consumption end via two independent pipelines, A and B, and includes an independent nitrogen replacement pipeline. Each pipeline has multiple equipment connection points and control valves. The system is equipped with multiple pressure sensors and online concentration sensors to monitor the hydrogen pressure in pipeline A, hydrogen pressure in pipeline B, nitrogen replacement pressure, and gas concentration within the pipelines in real time, transmitting the signals to the controller. Pressure reducing valves and replacement valves are installed on the gas path to regulate gas pressure and control the on / off state of replacement.

[0047] It should be noted that after receiving the sensor signal, the controller dynamically calculates the optimal number of replacements and controls the valve action based on the preset gas replacement safety criterion model. In addition, the controller also has the function of detecting and alarming abnormal replacements. The host computer, as the monitoring and management center, communicates with the controller. Operators can use it to set replacement safety thresholds, monitor replacement curves, and receive alarm information. When the system is running, the sensor continuously monitors pressure and concentration data and transmits it to the controller. The controller then executes an intelligent replacement strategy to determine the replacement endpoint. The host computer displays the status in real time and alerts the operator when there is an abnormality, thereby ensuring the safety and efficiency of gas replacement in the laboratory during gas switching and maintenance.

[0048] Secondly, embodiments of this application also provide a gas replacement control system, the gas replacement control system comprising: The first processing module is used to determine the number of replacements for a scenario where nitrogen is used to replace hydrogen, based on the real-time hydrogen concentration, the pressure of the replacement nitrogen, and the real-time pipeline hydrogen pressure. The second processing module is used to determine the number of replacements for scenarios where hydrogen is used to replace nitrogen, based on the real-time pipeline nitrogen pressure, the replacement hydrogen pressure, and the initial nitrogen concentration.

[0049] Furthermore, in one embodiment, the first processing module is specifically used for: The single nitrogen replacement capacity was determined based on the replacement nitrogen pressure and the real-time pipeline hydrogen pressure. The number of replacements is determined based on the real-time hydrogen concentration and the single nitrogen replacement capacity.

[0050] Furthermore, in one embodiment, the first processing module is specifically used for: The expression for the number of permutations is:

[0051] In the formula, This represents the real-time hydrogen concentration. To displace nitrogen pressure; Real-time pipeline hydrogen pressure; The number of permutations; This refers to the capacity for a single nitrogen replacement.

[0052] Furthermore, in one embodiment, the second processing module is specifically used for: The single hydrogen replacement capacity was determined based on the replacement hydrogen pressure and the real-time pipeline nitrogen pressure. The number of replacements is determined based on the initial nitrogen concentration and the single hydrogen replacement capacity.

[0053] Furthermore, in one embodiment, the second processing module is specifically used for: The expression for the number of permutations is:

[0054] In the formula, Real-time pipeline nitrogen pressure; To displace hydrogen pressure; This represents the initial nitrogen concentration; The number of permutations; This refers to the single-cycle hydrogen replacement capacity.

[0055] Furthermore, in one embodiment, the first processing module is specifically used for: After performing a nitrogen replacement cycle for a certain number of consecutive replacement cycles, determine whether the real-time hydrogen concentration is less than the preset safety threshold. If so, the replacement is deemed qualified; If not, the replacement is deemed unqualified.

[0056] Furthermore, in one embodiment, the second processing module is specifically used for: The hydrogen replacement cycle is continuously performed a certain number of times, and the real-time nitrogen concentration is determined to be less than the preset concentration threshold. If so, the replacement is deemed qualified; If not, the replacement is deemed unqualified.

[0057] It should be noted that the gas replacement control system also includes a detection and sensing module, a control execution module, a data processing and decision-making module, and a human-machine interaction and alarm module. The detection and sensing module includes pressure sensor groups and online concentration sensors installed in the gas supply pipeline and venting end, used to collect real-time data on pipeline hydrogen pressure, replacement nitrogen pressure, and gas concentration, providing data support for replacement calculations. The data processing and decision-making module uses a PLC or industrial computer with a built-in safety criterion model to receive sensor data and execute dynamic endpoint judgment logic based on a pressure ratio dilution model and concentration threshold criteria to calculate the optimal number of replacements, and then outputs instructions to the control execution module. The control execution module includes multiple sets of pneumatic valves or solenoid valves for controlling the on / off of hydrogen and nitrogen and path switching, responding to instructions to accurately execute replacement actions. The human-machine interaction and alarm module is used to set safety thresholds, display real-time replacement curves and system status, and issue audible and visual alerts when replacement is complete or abnormal. All modules work together to achieve intelligent optimization control of the replacement process based on real-time data, ensuring the safety and efficiency of hydrogen supply.

[0058] The functions of each module in the above-mentioned gas replacement control system correspond to the steps in the above-mentioned gas replacement control method embodiment, and their functions and implementation processes will not be described in detail here.

[0059] Thirdly, embodiments of this application provide a gas replacement control device, which can be a personal computer (PC), laptop computer, server, or other device with data processing capabilities.

[0060] Reference Figure 4 , Figure 4 This is a schematic diagram of the hardware structure of the gas replacement control device involved in the embodiments of this application. In the embodiments of this application, the gas replacement control device may include a processor, a memory, a communication interface, and a communication bus.

[0061] The communication bus can be of any type and is used to interconnect the processor, memory, and communication interface.

[0062] The communication interface includes input / output (I / O) interfaces, physical interfaces, and logical interfaces used for interconnecting devices within the gas replacement control equipment, as well as interfaces used for interconnecting the gas replacement control equipment with other devices (such as other computing devices or user equipment). Physical interfaces can be Ethernet interfaces, fiber optic interfaces, ATM interfaces, etc.; user equipment can be displays, keyboards, etc.

[0063] Memory can be various types of storage media, such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), flash memory, optical storage, hard disk, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), etc.

[0064] The processor can be a general-purpose processor, which can call the gas replacement control program stored in the memory and execute the gas replacement control method provided in the embodiments of this application. For example, the general-purpose processor can be a central processing unit (CPU). The method executed when the gas replacement control program is called can be referred to in the various embodiments of the gas replacement control method of this application, and will not be repeated here.

[0065] Those skilled in the art will understand that Figure 4 The hardware structure shown does not constitute a limitation of this application and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0066] Fourthly, embodiments of this application also provide a readable storage medium.

[0067] The present application has a readable storage medium storing a gas replacement control program, wherein when the gas replacement control program is executed by a processor, it implements the steps of the gas replacement control method as described above.

[0068] The method implemented when the gas replacement control procedure is executed can be referred to in various embodiments of the gas replacement control method of this application, and will not be repeated here.

[0069] The terms "comprising" and "having," and any variations thereof, in the specification, claims, and accompanying drawings of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to such process, method, product, or apparatus. The terms "first," "second," and "third," etc., are used to distinguish different objects, etc., and do not indicate a sequence, nor do they limit "first," "second," and "third" to different types.

[0070] In the description of the embodiments of this application, terms such as "exemplary," "for example," or "for instance" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplary," "for example," or "for instance" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary," "for example," or "for instance" is intended to present the relevant concepts in a concrete manner.

[0071] In the description of the embodiments of this application, unless otherwise stated, " / " means "or". For example, A / B can mean A or B. The "and / or" in the text is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of this application, "multiple" means two or more.

[0072] In some processes described in the embodiments of this application, multiple operations or steps are included in a specific order. However, it should be understood that these operations or steps may not be executed in the order they appear in the embodiments of this application, or they may be executed in parallel. The sequence number of the operation is only used to distinguish different operations, and the sequence number itself does not represent any execution order. In addition, these processes may include more or fewer operations, and these operations or steps may be executed sequentially or in parallel, and these operations or steps may be combined.

[0073] It should be noted that the sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0074] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device to execute the methods described in the various embodiments of this application.

[0075] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.

Claims

1. A gas displacement control method, characterized in that, The gas replacement control method includes: For scenarios where nitrogen is used to replace hydrogen, the number of replacement cycles is determined based on the real-time hydrogen concentration, the pressure of the nitrogen being replaced, and the real-time hydrogen pressure in the pipeline. For scenarios where hydrogen is used to replace nitrogen, the number of replacement cycles is determined based on the real-time pipeline nitrogen pressure, the replacement hydrogen pressure, and the initial nitrogen concentration.

2. The gas replacement control method as described in claim 1, characterized in that, The determination of the number of replacement cycles based on real-time hydrogen concentration, replacement nitrogen pressure, and real-time pipeline hydrogen pressure includes: The single nitrogen replacement capacity was determined based on the replacement nitrogen pressure and the real-time pipeline hydrogen pressure. The number of replacements is determined based on the real-time hydrogen concentration and the single nitrogen replacement capacity.

3. The gas replacement control method as described in claim 2, characterized in that, The expression for the number of permutations is: In the formula, This represents the real-time hydrogen concentration. To displace nitrogen pressure; Real-time pipeline hydrogen pressure; The number of permutations; This refers to the capacity for a single nitrogen replacement.

4. The gas replacement control method as described in claim 1, characterized in that, The determination of the number of replacement cycles based on real-time pipeline nitrogen pressure, replacement hydrogen pressure, and initial nitrogen concentration includes: The single hydrogen replacement capacity was determined based on the replacement hydrogen pressure and the real-time pipeline nitrogen pressure. The number of replacements is determined based on the initial nitrogen concentration and the single hydrogen replacement capacity.

5. The gas replacement control method as described in claim 4, characterized in that, The expression for the number of permutations is: In the formula, Real-time pipeline nitrogen pressure; To displace hydrogen pressure; This represents the initial nitrogen concentration. The number of permutations; This refers to the single-cycle hydrogen replacement capacity.

6. The gas replacement control method as described in claim 1, characterized in that, After determining the number of replacement cycles based on the real-time hydrogen concentration, the replacement nitrogen pressure, and the real-time pipeline hydrogen pressure, the method further includes: After performing a nitrogen replacement cycle for a certain number of consecutive replacement cycles, determine whether the real-time hydrogen concentration is less than the preset safety threshold. If so, the replacement is deemed qualified; If not, the replacement is deemed unqualified.

7. The gas replacement control method as described in claim 1, characterized in that, After determining the number of purging cycles based on the real-time pipeline nitrogen pressure, the purging hydrogen pressure, and the initial nitrogen concentration, the method further includes: The hydrogen replacement cycle is continuously performed a certain number of times, and the real-time nitrogen concentration is determined to be less than the preset concentration threshold. If so, the replacement is deemed qualified; If not, the replacement is deemed unqualified.

8. A gas displacement control system, characterized in that, The gas replacement control system includes: The first processing module is used to determine the number of replacements for a scenario where nitrogen is used to replace hydrogen, based on the real-time hydrogen concentration, the pressure of the replacement nitrogen, and the real-time pipeline hydrogen pressure. The second processing module is used to determine the number of replacements for scenarios where hydrogen is used to replace nitrogen, based on the real-time pipeline nitrogen pressure, the replacement hydrogen pressure, and the initial nitrogen concentration.

9. A gas replacement control device, characterized in that, The gas replacement control device includes a processor, a memory, and a gas replacement control program stored in the memory and executable by the processor, wherein when the gas replacement control program is executed by the processor, it implements the steps of the gas replacement control 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 gas replacement control program, wherein when the gas replacement control program is executed by a processor, it implements the steps of the gas replacement control method as described in any one of claims 1 to 7.