Gas transmission system
By using multi-tank coordinated transmission and PID control algorithms in the gas transmission system, the problem of unstable gas transmission pressure is solved, achieving stable control and uniformity of gas pressure, which is suitable for industrial and medical equipment.
Patent Information
- Application Number
- CN202510826477.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-19
- Publication Date
- 2025-10-28
AI Technical Summary
Existing gas transmission systems are inadequate in terms of pressure stability, resulting in uneven gas transmission and affecting the efficiency and safety of industrial production and medical equipment.
A gas transmission system is adopted, including a gas source, a primary buffer tank, a secondary buffer tank, and control equipment. The opening degree of the regulating valve and the gas supply are adjusted by proportional-integral-derivative (PID) control algorithm. Combined with multi-tank collaborative transmission, the pressure between tanks is balanced. Predictive models are used to predict operating data and react in advance.
It achieves stable control of gas pressure, avoids pressure fluctuations, ensures the uniformity and stability of gas transmission, and meets the needs of industrial and medical equipment.
Smart Images

Figure CN120845674A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of gas transport technology, and in particular to a gas transport system. Background Technology
[0002] Industrial production, medical equipment, scientific research, and other technological fields all have high requirements for the pressure stability of gas transmission. For example, chemical vapor deposition is a key process in chip manufacturing, and fluctuations in the pressure of the reactant gas can directly lead to uneven film deposition thickness on the substrate surface, thus affecting chip yield. As another example, in the medical field, the stability of gas pressure in ventilators is directly related to the patient's life safety.
[0003] Therefore, there is an urgent need for a gas transmission system that can stably control the pressure during gas transmission. Summary of the Invention
[0004] The purpose of this invention is to provide a gas transmission system that enables stable control of gas pressure during gas transmission. The specific technical solution is as follows:
[0005] This invention provides a gas transmission system, including: a gas source, a primary buffer tank, a secondary buffer tank, and a control device. The secondary buffer tank includes at least one buffer tank group, each buffer tank group includes at least two parallel tanks. The gas source is connected to the primary buffer tank, the primary buffer tank is connected to the secondary buffer tank, and the secondary buffer tank is connected to the gas-using equipment.
[0006] The control device is used to adjust the opening degree of the regulating valves of the primary buffer tank and the secondary buffer tank and control the gas source to replenish the primary buffer tank according to the pressure and flow rate of the gas required by the gas-using equipment through a proportional-integral-derivative (PID) control algorithm.
[0007] The control device is also used to adjust the opening degree of the regulating valve of each parallel tank in the buffer tank group and / or open the pressure equalization pipe between each parallel tank in the buffer tank group for each buffer tank group, so that the pressure difference between each parallel tank in the buffer tank is less than a preset pressure difference threshold.
[0008] Optional,
[0009] The control device is further configured to input the first operating data of the primary buffer tank within a first preset time period before the current time into a pre-trained first prediction model, and output the second operating data of the primary buffer tank within a second preset time period after the current time through the first prediction model;
[0010] The operational data includes flow rate, pressure, and temperature. The first prediction model is trained based on the operational data of the primary buffer tank within a first preset time period before each historical moment and the operational data of the primary buffer tank within a second preset time period after each historical moment.
[0011] Optionally, the system may also include a backup tank;
[0012] The control device is also used to calculate the effective capacity of the primary buffer tank according to the following formula, and to determine whether the effective capacity is greater than the design capacity of the primary buffer tank. If it is greater, the device controls the backup tank to connect with the primary buffer tank so that the backup tank replenishes the primary buffer tank with gas and / or increases the power of the gas source to replenish the primary buffer tank with gas.
[0013]
[0014] Among them, v eff Q is the effective capacity of the primary buffer tank. peak The peak flow rate of the primary buffer tank within a second preset time period after the current moment, k is the gas compressibility correction factor, and P max and P min These are the maximum and minimum working pressures of the primary buffer tank, respectively, where α is the coefficient of thermal expansion, and T0 is Q. peak The corresponding temperature, ΔT is the difference between T0 and the current temperature, t response This refers to the time required from the detection that the pressure difference between the primary buffer tank and the target pressure exceeds a preset threshold, to the time required for the pressure of the primary buffer tank to recover to the target pressure through gas replenishment, when the gas source replenishes the primary buffer tank at the rated replenishment flow rate.
[0015] Optional,
[0016] The control device is further configured to determine, based on the second operating data, whether there is a target moment within a second preset time period after the current moment when the flow rate change rate of the primary buffer tank is greater than the first change rate threshold; if so, at a time period three preset time away from the target moment, control the backup tank to connect with the primary buffer tank, and determine the amount of supplementary gas that the backup tank needs to provide to the primary buffer tank according to the following formula.
[0017]
[0018] Where, ΔV pre The gas replenishment amount is given, t0 is the target time, Δt is the fourth preset duration, and Q(t) is the flow rate of the primary buffer tank at time t.
[0019] Optional,
[0020] The control device is also used to adjust the parameters of the PID control algorithm according to the following formula within a second preset time period after the current moment;
[0021] K p = 0.5 + 0.1 · |dP / dt|;
[0022] T i = 1.0 / (0.2+0.05·|dP / dt|);
[0023] T d = 0.1·|dP / dt|;
[0024] Among them, K p T is the proportionality coefficient. i Let T be the integration time. d For the differential time.
[0025] Optionally, the system also includes a backup tank.
[0026] The control device is further configured to control the backup tank to maintain a first pressure when the primary buffer tank meets the stability conditions within a fifth preset time period before the current moment, and to control the backup tank to maintain a second pressure when it is determined from the second operating data that the primary buffer tank meets the gas replenishment conditions within a sixth preset time period after the current moment.
[0027] Wherein, the first pressure is less than the second pressure, the stability condition is: the pressure of the primary buffer tank is within a preset pressure range, and the flow rate of the primary buffer tank is less than a first flow rate threshold, and the air replenishment condition is: the pressure change rate of the primary buffer tank is less than a second change rate threshold or the flow rate of the primary buffer tank is greater than a second flow rate threshold.
[0028] Optional,
[0029] The control device is also used to construct a pipeline resistance model for each segment of the gas transmission system according to the following formula, and to calculate the pressure loss of the segment based on the pipeline resistance model of the segment.
[0030]
[0031] Where, ΔP segment Let f be the pressure loss of the segment, f be the friction coefficient of the segment, L be the length of the segment, D be the inner diameter of the segment, ρ be the density of the gas in the segment, v be the velocity of the gas in the segment, and K be the pressure loss of the segment. local The local drag coefficient for each segment;
[0032] The control device is specifically used to adjust the opening degree of the regulating valves of the primary buffer tank and the secondary buffer tank, and to control the gas source to replenish the primary buffer tank, based on the gas pressure and flow rate required by the gas-using equipment and the pressure loss of each segment in the gas transmission system, using a proportional-integral-derivative (PID) control algorithm.
[0033] Optional,
[0034] The control device is also used to construct a pipeline pressure wave model of the gas transmission system according to the following formula, predict flow rate changes based on the pressure gradient data detected at each node of the gas transmission system and the pipeline pressure wave model, and adjust the opening degree of the regulating valves of the primary buffer tank and the secondary buffer tank according to the flow rate changes.
[0035]
[0036] Where α is the sound wave attenuation coefficient, which is determined by the pipe material / gas viscosity, and the measured formula is: f is the frequency, c is the speed of sound, and D is the pipe diameter. The rate of change of pressure over time. This represents the rate of change of flow with spatial location.
[0037] Optional,
[0038] The control device is also used to input the pressure data collected by the pressure sensor in the gas transmission system and the vibration data collected by the vibration sensor in the gas transmission system into a pre-trained second prediction model, determine the probability of the gas transmission system failing through the second prediction model, and output a warning message when the predicted probability is greater than a preset probability threshold.
[0039] The second prediction model is trained based on pressure and vibration data within a seventh preset time period before the gas transmission system malfunctions, and pressure and vibration data within a seventh preset time period before the gas transmission system malfunctions.
[0040] Optional,
[0041] The control device is also used to close the inlet regulating valve and outlet regulating valve of the target tank when a fault is detected in the target tank of each buffer tank group, wherein the target tank is any one of the tanks included in the buffer tank group.
[0042] Beneficial effects of the embodiments of the present invention:
[0043] In the solution provided by this invention, the gas transmission system includes: a gas source, a primary buffer tank, a secondary buffer tank, and a control device. The secondary buffer tank includes at least one buffer tank group, each buffer tank group including at least two parallel tanks. The gas source is connected to the primary buffer tank, the primary buffer tank is connected to the secondary buffer tank, and the secondary buffer tank is connected to the gas-consuming equipment. The control device is used to adjust the opening degree of the regulating valves of the primary and secondary buffer tanks and control the gas source to replenish the primary buffer tank with gas according to the pressure and flow rate of the gas required by the gas-consuming equipment, using a proportional-integral-derivative (PID) control algorithm. The control device is also used to adjust the opening degree of the regulating valves of each parallel tank in the buffer tank group and / or open the pressure equalization pipe between each parallel tank in the buffer tank group for each buffer tank group, so that the pressure difference between each parallel tank in the buffer tank is less than a preset pressure difference threshold.
[0044] In the aforementioned gas transmission system, on the one hand, the primary buffer tank initially buffers the pressure fluctuations of the gas output from the gas source, while the parallel tank group of the secondary buffer tank further expands the buffer volume. Thus, by transmitting gas through multiple tanks in tandem, the problem of large pressure change rates when transmitting gas through a single tank is avoided. On the other hand, the control equipment uses a PID algorithm to quickly calculate and adjust the opening of the regulating valve and control the gas supply, which can accurately match the pressure and flow requirements of the gas-using equipment. Furthermore, for the multiple parallel tanks included in the secondary buffer tank, by balancing the pressure between the tanks, pressure fluctuations caused by uneven gas pressure between the parallel tanks are avoided, ensuring that the overall pressure of the secondary buffer tank is uniform and stable.
[0045] Of course, implementing any product or method of the present invention does not necessarily require achieving all of the advantages described above at the same time. Attached Figure Description
[0046] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other embodiments can be obtained based on these drawings.
[0047] Figure 1 A schematic diagram of a gas transmission system provided in an embodiment of the present invention;
[0048] Figure 2 Based on Figure 1 The illustrated embodiment is a schematic flowchart of a method for replenishing air to a primary buffer tank.
[0049] Figure 3 For based on Figure 1 A schematic diagram of a specific structure of the gas transmission system shown in the embodiment;
[0050] Figure 4 For based on Figure 1 A schematic diagram of another method for replenishing air to the primary buffer tank in the embodiment shown.
[0051] Figure 5 For based on Figure 1 Another specific structural schematic diagram of the gas transmission system shown in the embodiment;
[0052] Figure 6 This is a schematic diagram of a control device provided in an embodiment of the present invention. Detailed Implementation
[0053] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art based on the present invention are within the scope of protection of the present invention.
[0054] In order to achieve stable pressure control during gas transmission, embodiments of the present invention provide a gas transmission system, a control device, a computer-readable storage medium, and a computer program product. The gas transmission system provided by the embodiments of the present invention will be described first.
[0055] like Figure 1 As shown, a gas transmission system includes: a gas source 101, a primary buffer tank 102, a secondary buffer tank 103, and a control device 104. The secondary buffer tank 103 includes at least one buffer tank group 1031, and each buffer tank group 1031 includes at least two parallel tank bodies 10311. The gas source 101 is connected to the primary buffer tank 102, the primary buffer tank 102 is connected to the secondary buffer tank 103, and the secondary buffer tank 103 is connected to the gas-using equipment 105. The control device 104 has communication connections with the regulating valves of each buffer tank and the gas source 101. Figure 1 (Not shown in the image), the control device 104 can send control commands to each regulating valve and air source 101 via a communication connection.
[0056] The control device 104 is used to adjust the opening degree of the regulating valves of the primary buffer tank 102 and the secondary buffer tank 103 and control the gas source 101 to replenish the primary buffer tank 102 with gas according to the pressure and flow rate of the gas required by the gas-using device 105 through a proportional-integral-derivative (PID) control algorithm.
[0057] The control device 104 is also used to adjust the opening degree of the regulating valve of each parallel tank 10311 in the buffer tank group 1031 and / or open the pressure equalization pipe 10312 between each parallel tank 10311 in the buffer tank group 1031, so that the pressure difference between each parallel tank 10311 in the buffer tank group 1031 is less than a preset pressure difference threshold.
[0058] In the gas transmission system provided by this invention, on the one hand, the primary buffer tank initially buffers the pressure fluctuations of the gas output from the gas source, and the parallel tank group of the secondary buffer tank further expands the buffer volume. Thus, by transmitting gas through multiple tanks in coordination, the problem of large pressure change rate when transmitting gas through a single tank is avoided. On the other hand, the control equipment uses a PID algorithm to quickly calculate and adjust the opening of the regulating valve and control the gas supply, which can accurately match the pressure and flow requirements of the gas-using equipment. Furthermore, for the multiple parallel tanks included in the secondary buffer tank, by balancing the pressure between the tanks, pressure fluctuations caused by uneven gas pressure between the parallel tanks are avoided, ensuring that the overall pressure of the secondary buffer tank is uniform and stable.
[0059] Pressure sensors and flow sensors can be installed on the primary buffer tank, the secondary buffer tank (each tank body, each buffer tank group, and the total secondary buffer tank), as well as the inlet and / or outlet of the gas-using equipment, to collect the pressure and flow of the buffer tank and the gas-using equipment in real time.
[0060] Based on this, the control equipment can adjust the opening degree of the regulating valve of the secondary buffer tank according to the gas pressure and flow rate required by the gas-using equipment, so that the gas output of the secondary buffer tank can match the gas pressure and flow rate required by the gas-using equipment. Then, according to the pressure and flow rate of the secondary buffer tank, the PID control algorithm can adjust the opening degree of the regulating valve of the primary buffer tank, so that the gas output of the primary buffer tank can maintain the stability of the pressure and flow rate of the secondary buffer tank. Finally, according to the pressure and flow rate of the primary buffer tank, the PID control algorithm can control the gas source to replenish the primary buffer tank, so as to maintain the stability of the pressure and flow rate of the primary buffer tank.
[0061] It should be noted that the above description of adjusting the valve opening and controlling the gas supply process based on the PID control algorithm is only a general explanation of the system's operating principle. For the specific implementation of the PID control algorithm in pressure-flow regulation, including technical details such as parameter tuning, control logic, and hardware drivers, please refer to existing PID control methods, which will not be elaborated here.
[0062] In addition to controlling the overall gas path of the gas transmission system, the control equipment can also perform pressure equalization control on the parallel tanks included in the secondary buffer tank. Specifically:
[0063] As mentioned above, for each parallel tank in the secondary buffer tank group, a pressure sensor is installed at the inlet and / or outlet of each tank. Based on this, the control equipment can determine the pressure of each parallel tank in real time through the pressure sensors corresponding to each parallel tank in the buffer tank group. Then, it can determine whether the pressure difference between the associated tanks is greater than a preset pressure difference threshold. If it is greater, the pressure difference between the parallel tanks in the buffer tank group can be reduced to less than the preset pressure difference threshold by adjusting the opening degree of the regulating valve of the tank and / or opening the pressure equalization pipe between the tanks. The specific value of the preset pressure difference threshold can be set according to the specific application scenario. This embodiment of the invention does not specifically limit this value; for example, the preset pressure difference threshold can be 2% of standard atmospheres.
[0064] In one embodiment, the control device can adjust the opening degree of the regulating valve of the tank according to the principle of giving priority to taking gas from the high-pressure tank and / or giving priority to replenishing gas to the low-pressure tank, so as to make the pressure difference between the parallel tanks in the buffer tank group less than a preset pressure difference threshold.
[0065] For example, the first buffer tank group includes tanks 1, 2, 3, and 4 connected in parallel. Assuming that tank 1 has the highest pressure and tank 3 has the lowest pressure, and the pressure difference between tank 1 and tank 3 is greater than a preset pressure difference threshold, the control equipment can increase the opening degree of the regulating valve at the outlet of tank 1 and / or decrease the opening degree of the regulating valve at the inlet of tank 1 to prioritize gas intake from the high-pressure tank. The control equipment can also increase the opening degree of the regulating valve at the inlet of tank 3 and / or decrease the opening degree of the regulating valve at the outlet of tank 3 to prioritize gas replenishment to the low-pressure tank. Of course, the control equipment can also combine the above two methods and simultaneously adjust the opening degree of the regulating valves of tank 1 and tank 3 to quickly achieve pressure equalization.
[0066] In another embodiment, the control device can open the equalizing pipe between two tanks whose pressure difference is greater than a preset pressure difference threshold, so that the pressure difference between the parallel tanks in the buffer tank group is less than the preset pressure difference threshold.
[0067] For example, the first buffer tank group includes tank 1, tank 2, tank 3 and tank 4 connected in parallel. Assuming that the pressure of tank 1 is the highest and the pressure of tank 3 is the lowest, and the pressure difference between tank 1 and tank 3 is greater than a preset pressure difference threshold, the control device can choose to open the pressure equalization pipe between tank 1 and tank 3 so that the gas can flow naturally between tank 1 and tank 3 through the pressure equalization pipe until the pressure difference between tank 1 and tank 3 is reduced to less than the preset pressure difference threshold. At this time, the pressure equalization pipe between tank 1 and tank 3 can be closed.
[0068] In another embodiment, the control device can simultaneously perform the adjustment of the regulating valve and the opening of the pressure equalization pipe to quickly achieve pressure equalization.
[0069] In addition to providing pressure equalization control for the parallel tanks within the secondary buffer tank system, the control equipment can also isolate any malfunctioning tanks. Specifically:
[0070] For each buffer tank group, when the control equipment detects a fault in any tank within the group, it can treat the faulty tank as the target tank. It can then close the inlet and outlet regulating valves of the target tank, thereby isolating it and preventing it from affecting gas transmission. A tank fault can be defined as: the tank's pressure being significantly lower than the pressures of other tanks in the same buffer tank group, or the tank's pressure change rate exceeding a preset threshold. This embodiment of the invention does not specifically limit these possibilities.
[0071] It should be noted that, although Figure 1 The illustration only shows a secondary buffer tank comprising two buffer tank groups, each group consisting of two parallel tanks. However, the number of buffer tank groups and the number of parallel tanks within each group can be adjusted according to specific usage requirements, and this embodiment of the invention does not impose specific limitations on this. Furthermore, regarding the specific locations of the regulating valves for the primary and secondary buffer tanks, those skilled in the art can choose to install regulating valves at the air inlet and / or outlet of the primary buffer tank, and at the air inlet and / or outlet of each parallel tank in the secondary buffer tank, depending on the usage requirements of the specific scenario. This embodiment of the invention also does not impose specific limitations on this.
[0072] In the gas transmission system provided by this invention, on the one hand, the primary buffer tank initially buffers the pressure fluctuations of the gas output from the gas source, and the parallel tank group of the secondary buffer tank further expands the buffer volume. Thus, by transmitting gas through multiple tanks in coordination, the problem of large pressure change rate when transmitting gas through a single tank is avoided. On the other hand, the control equipment uses a PID algorithm to quickly calculate and adjust the opening of the regulating valve and control the gas supply, which can accurately match the pressure and flow requirements of the gas-using equipment. Furthermore, for the multiple parallel tanks included in the secondary buffer tank, by balancing the pressure between the tanks, pressure fluctuations caused by uneven gas pressure between the parallel tanks are avoided, ensuring that the overall pressure of the secondary buffer tank is uniform and stable.
[0073] As one embodiment of the present invention, in order to anticipate potential situations in the gas transmission system, the control device can predict the operating data after the current moment based on the operating data before the current moment. Specifically:
[0074] First, the first prediction model for predicting running data can be trained in the following way.
[0075] During the normal operation of the gas transmission system, historical operating data of the primary buffer tank is recorded. Then, based on each historical moment, the recorded historical operating data is divided into two categories: operating data of the primary buffer tank within a first preset time period before the historical moment (input data) and operating data of the primary buffer tank within a second preset time period after the historical moment (target data). Input data and target data corresponding to the same historical moment are used as a training sample pair. The operating data includes flow rate, pressure, and temperature.
[0076] Taking the operation data of the primary buffer tank from 00:00:00 to 00:01:00 as an example, assuming the first preset duration is 10s and the second preset duration is 30s, then the operation data from 00:00:00 to 00:00:10 can be used as the first input data, and the operation data from 00:00:10 to 00:00:40 can be used as the first target data, with the two forming the first training sample pair. The operation data from 00:00:10 to 00:00:20 can be used as the second input data, and the operation data from 00:00:20 to 00:00:50 can be used as the second target data, with the two forming the second training sample pair. The operation data from 00:00:20 to 00:00:30 can be used as the third input data, and the operation data from 00:00:30 to 00:01:00 can be used as the third target data, with the two forming the third training sample pair.
[0077] After obtaining the input data and target data, the input data is fed into the prediction model to be trained. The prediction model predicts the operating data (output data) of the primary buffer tank within a second preset time period after the historical moment based on the input data. Then, based on the difference between the output data and the target data, the parameters of the model are adjusted through the backpropagation algorithm until convergence, and the first prediction model is obtained.
[0078] Continuing the example above, the runtime data from 00:00:00 to 00:00:10 is input into the prediction model to be trained. Then, the runtime data predicted by the model from 00:00:10 to 00:00:40 is compared with the runtime data from 00:00:10 to 00:00:40 included in the first training sample pair. Based on the differences, the model parameters are adjusted using the backpropagation algorithm. This step can also be performed for other training sample pairs, ultimately training the first prediction model.
[0079] It should be noted that the above model training process can be executed by the control device in the embodiment of the present invention, or it can be executed by other devices and then the trained first prediction model is deployed to the control device in the embodiment of the present invention.
[0080] Secondly, after obtaining the first prediction model, the control device can predict the operating data based on the first prediction model.
[0081] The control device can input the first operating data of the primary buffer tank within a first preset time period before the current moment into the first prediction model, and predict the second operating data of the primary buffer tank within a second preset time period after the current moment through the first prediction model.
[0082] Continuing with the example above, assuming the current time is 12:30:00, the control device can use the operating data of the primary buffer tank from 12:29:50 to 12:30:00 as the first operating data, and then input the first operating data into the first prediction model. The first prediction model can output the operating data of the primary buffer tank from 12:30:00 to 12:30:30, which is the second operating data.
[0083] The control device can execute steps based on the first prediction model to predict operating data according to a preset time interval, thereby realizing real-time prediction of the future operating data of the primary buffer tank. The specific value of the prediction time interval can be set according to the specific usage scenario, the first preset duration and the second preset duration. This embodiment of the invention does not make specific limitations on this. For example, the preset time interval can be 1s, 3s, etc.
[0084] In addition, during the process of using the first prediction model to predict the operating data of the primary buffer tank, the control equipment can also re-execute the above model training steps based on the historical operating data generated in real time by the primary buffer tank, thereby updating the parameters of the first prediction model in real time and improving the accuracy of prediction based on the first prediction model.
[0085] In the solution provided by the embodiments of the present invention, a first prediction model for predicting the future operation data of the primary buffer tank can be trained based on the historical operation data of the primary buffer tank. In this way, the control device can predict the operation data of the primary buffer tank after the current moment based on the first prediction model and the operation data before the current moment, thereby reacting in advance to possible situations in the gas transmission system.
[0086] The following will combine Figures 2-5 This invention describes a specific method for reacting in advance based on predicted operational data after the current moment in an embodiment of the invention.
[0087] The first method, such as Figure 2 As shown, the control equipment can determine whether the design capacity of the primary buffer tank can meet future flow demands based on predicted operating data after the current moment. If it cannot meet the demand, it can then preemptively replenish the primary buffer tank with additional gas. Specifically:
[0088] S201, Calculate the effective capacity of the primary buffer tank.
[0089] After obtaining the second operating data based on the first prediction model, the control equipment can determine the peak flow rate Q of the primary buffer tank within a second preset time period after the current moment, based on the flow rate and temperature included in the second operating data at each moment. peak And determine Q peak The corresponding temperature is T0.
[0090] The control device obtains Q peak After T0, the effective capacity of the primary buffer tank can be calculated using the following formula:
[0091]
[0092] v eff Q is the effective capacity of the primary buffer tank. peak The peak flow rate of the primary buffer tank within the second preset time period after the current moment, k is the gas compressibility correction factor, and P max and P min These represent the maximum and minimum working pressures of the primary buffer tank, respectively; α is the coefficient of thermal expansion; and T0 is Q. peak The corresponding temperature, ΔT is the difference between T0 and the current temperature, t response This refers to the time required from the detection that the pressure difference between the primary buffer tank and the target pressure exceeds a preset threshold, to the time required for the pressure of the primary buffer tank to recover to the target pressure through gas replenishment, when the gas source replenishes the primary buffer tank at the rated replenishment flow rate.
[0093] The target pressure is a pre-set pressure value that the primary buffer tank is expected to maintain. It is a standard pressure parameter that ensures the stability and safety of the gas transmission system and meets process requirements (such as stable gas supply pressure and normal operating pressure conditions of equipment). It can be set according to the usage requirements in specific scenarios, and this embodiment of the invention does not impose specific limitations on it.
[0094] S202, determine whether the effective capacity of the primary buffer tank is greater than the design capacity of the primary buffer tank. If the determination result is yes, then proceed to step S203.
[0095] During the design phase of the gas transmission system, when determining the design capacity of the primary buffer tank, the applicant followed the principle that "the design capacity of the primary buffer tank can guarantee that the primary buffer tank can operate at the rated replenishment flow rate of the gas source and the aforementioned replenishment delay (i.e., t)". response The design is based on the principle that "when gas is replenished, a specific flow rate of gas can be maintained within the replenishment delay".
[0096] The effective capacity of the primary buffer tank calculated in step S201 reflects "the ability to maintain Q within the replenishment delay when the primary buffer tank is replenished by the gas source at the rated replenishment flow rate and the aforementioned replenishment delay". peak The calculation of the effective capacity of the primary buffer tank takes into account the nonlinear effects of gas compressibility (such as the differences in gas volume change patterns under different temperatures and pressures), making it more consistent with real gas transmission scenarios.
[0097] Therefore, after obtaining the effective capacity of the primary buffer tank, the control equipment can determine whether the effective capacity of the primary buffer tank is greater than its design capacity, in order to determine whether the primary buffer tank itself can meet the flow rate Q. peak If the gas delivery requirement is met, and the judgment result is yes (i.e., the effective capacity is greater than the design capacity), the control equipment can execute step S203 to replenish the primary buffer tank with additional gas in advance. If the judgment result is no (i.e., the effective capacity is less than or equal to the design capacity), then there is no need to replenish the primary buffer tank with additional gas, that is, the control equipment can not perform additional gas replenishment action.
[0098] S203, control the connection between the standby tank and the primary buffer tank so that the standby tank can replenish the primary buffer tank with gas and / or increase the power of the gas source to replenish the primary buffer tank with gas.
[0099] In one implementation, such as Figure 3 As shown, the gas transmission system may also include a backup tank 106, which is connected to the primary buffer tank. Based on this, when the judgment result of step S202 is yes, the control device can open the regulating valve of the backup tank to connect the backup tank with the primary buffer tank, and adjust the opening degree of the regulating valve of the backup tank so that the backup tank provides additional gas to the primary buffer tank according to the difference between the design capacity and the effective capacity.
[0100] In another implementation, when the judgment result of step S202 is yes, the control device can increase the power of the gas source to replenish the primary buffer tank, so that the flow rate of the primary buffer tank reaches Q. peak Previously, the gas supply was controlled in advance to provide additional gas to the primary buffer tank.
[0101] In another embodiment, when the determination result of step S202 is yes, the control device can also simultaneously control the backup tank and the gas source to provide additional gas to the primary buffer tank.
[0102] In addition, after the control device starts to replenish the primary buffer tank with additional gas by controlling the backup tank and / or the gas source, it can return to steps S201-S203 to correct the capacity of the primary buffer tank and / or adjust the amount of additional gas replenishment in real time at various times.
[0103] The second method, such as Figure 4 As shown, the control equipment can determine whether a sudden change in flow will occur in the primary buffer tank based on predicted operating data after the current moment, and then provide additional gas to the primary buffer tank before the moment of the sudden change. Specifically:
[0104] S401, based on the second operating data, determine whether there is a target time within a second preset time period after the current time when the flow rate change rate of the primary buffer tank is greater than the first change rate threshold. If the determination result is yes, then proceed to step S402.
[0105] After the control device obtains the second operating data based on the first prediction model, it can determine the flow rate change rate at each moment based on the flow rate at each moment included in the second operating data, and then determine whether there is a target moment within the second preset time period after the current moment when the flow rate change rate of the primary buffer tank is greater than the first change rate threshold.
[0106] If the judgment result is yes, it means that a sudden increase in flow will occur within the second preset time period after the current moment. In this case, the control device can execute step S402 to replenish the primary buffer tank with gas in advance. If the judgment result is no, it means that a sudden increase in flow will not occur within the second preset time period after the current moment. In this case, the control device may not perform the action of replenishing the primary buffer tank with gas in advance.
[0107] S402, at the third preset time interval from the target time, control the backup tank to connect with the primary buffer tank so that the backup tank can replenish the primary buffer tank.
[0108] In order to enable the primary buffer tank to adapt to the situation of a sudden increase in flow rate in advance, the control equipment can connect the backup tank to the primary buffer tank three preset time intervals before the target time, so that the backup tank can replenish the primary buffer tank with gas in advance before the sudden increase in flow rate.
[0109] In one embodiment, when the control device opens the regulating valve of the backup tank to connect the backup tank with the primary tank, it can first determine the amount of air replenishment that the backup tank needs to provide to the primary buffer tank according to the following formula, and then determine the degree of opening of the regulating valve when opening the regulating valve of the backup tank based on the correspondence between the amount of air replenishment and the degree of opening of the regulating valve.
[0110]
[0111] Where, ΔV pre The gas replenishment volume is given by t0, the target time is given by Δt, the fourth preset duration is given by Q(t), and the flow rate of the primary buffer tank at time t is given by Q(t).
[0112] In the third method, the control device can adjust the parameters of the PID control algorithm in real time according to the following formula at each moment within the second preset time period after the current moment, based on the pressure change rate at that moment, according to the second operating data predicted for the second preset time period after the current moment.
[0113] K p = 0.5 + 0.1 · |dP / dt|;
[0114] T i = 1.0 / (0.2+0.05·|dP / dt|);
[0115] T d = 0.1·|dP / dt|;
[0116] Among them, K p T is the proportionality coefficient. i Let T be the integration time. d For the differential time.
[0117] The fourth method, such as Figure 3 As shown, the gas transmission system may also include a backup tank 106, which is connected to the primary buffer tank. Based on this, the control equipment can control the backup tank to be in a dormant or awake state based on operating data prior to the current moment and predicted operating data after the current moment. Specifically:
[0118] If the pressure in the primary buffer tank is within the preset pressure range and the flow rate in the primary buffer tank is less than the first flow rate threshold, it indicates that the pressure in the primary buffer tank is relatively stable and the flow rate is relatively low. Under these circumstances, the operation of the primary buffer tank can be considered relatively stable, and the demand for the backup tank is relatively small. Therefore, if the primary buffer tank meets the above stability conditions (i.e., the pressure in the primary buffer tank is within the preset pressure range and the flow rate in the primary buffer tank is less than the first flow rate threshold) within the fifth preset time period prior to the current moment, the control equipment can control the backup tank to maintain the first pressure.
[0119] If it is predicted that the pressure change rate of the primary buffer tank will be less than the second rate of change threshold (the second rate of change threshold is a negative number, and "the pressure change rate of the primary buffer tank will be less than the second rate of change threshold" indicates that the pressure of the primary buffer tank will drop sharply) or the flow rate of the primary buffer tank will be greater than the second flow rate threshold, it indicates that the primary buffer tank will have a relatively large demand for the backup tank in the future. Therefore, if it is determined from the second operating data that the primary buffer tank meets the gas replenishment conditions (i.e., the pressure change rate of the primary buffer tank is less than the second rate of change threshold or the flow rate of the primary buffer tank is greater than the second flow rate threshold) within the sixth preset time period after the current time, the control equipment can control the backup tank to maintain the second pressure.
[0120] The first pressure is lower than the second pressure. This means that when historical operating data indicates a low demand from the backup tank on the primary buffer tank, the control equipment can maintain a lower pressure in the backup tank. Conversely, when predicted future operating data indicates a high demand from the primary buffer tank, the control equipment can maintain a higher pressure in the backup tank. This avoids excessive energy consumption caused by the backup tank constantly maintaining a high pressure, while also ensuring that the backup tank's pressure remains high when the primary buffer tank needs to be connected, guaranteeing proper gas replenishment from the backup tank to the primary buffer tank.
[0121] For example, if the pressure in the primary buffer tank remained at [0.4P] for the five minutes preceding the current moment. max 0.6P max Within the range of ], and the flow rate of the primary buffer tank is consistently less than 0.3Q. max (Q max If the maximum operating flow rate of the primary buffer tank is given, then the control equipment can maintain the pressure of the backup tank at a level slightly higher than the current pressure of the primary buffer tank, let's say 0.7P. max If, based on the second operating data, the flow rate of the primary buffer tank is determined to be higher than 0.8Q within the next 10 seconds... max Alternatively, if the pressure change rate of the primary buffer tank is less than -0.5% of standard atmospheres / s, then the control equipment can maintain the pressure of the backup tank at a higher level, say 1.2P. max .
[0122] It should be noted that if historical operating data determines that the backup tank needs to be put into hibernation, while future operating data determines that the backup tank needs to be woken up, and there is a conflict between the two, the control equipment can prioritize keeping the backup tank in the woken up state.
[0123] As one embodiment of the present invention, in order to further improve the accuracy of gas transmission control, the control device can further consider pipeline resistance and pressure waves when adjusting the opening degree of the regulating valves of the primary buffer tank and the secondary buffer tank. Specifically:
[0124] For gas transmission systems, they can be divided into multiple segments according to certain rules. For example, the gas source and the primary buffer tank, the primary buffer tank and the first buffer tank group in the secondary buffer tank, every two adjacent buffer tank groups in the secondary buffer tank, and the last buffer tank group in the secondary buffer tank and the gas-consuming equipment are each considered as a segment.
[0125] I. Pipeline resistance.
[0126] For each segment, a pipeline resistance model for that segment can be pre-built. In this way, during the operation of the gas transmission system, the control equipment can calculate the pressure loss of that segment based on the pipeline resistance model.
[0127]
[0128] Where, ΔP segment Let f be the pressure loss of the segment, f be the friction coefficient of the segment, L be the length of the segment, D be the inner diameter of the segment, ρ be the density of the gas in the segment, v be the velocity of the gas in the segment, and K be the pressure loss of the segment. local The local drag coefficient for each segment;
[0129] Furthermore, when the control equipment adjusts the opening degree of the regulating valve and controls the gas supply based on the PID algorithm, it can take into account the pressure loss of each segment. Specifically, the control equipment can adjust the opening degree of the regulating valve of the secondary buffer tank according to the gas pressure and flow rate required by the gas-consuming equipment and the pressure loss between the gas-consuming equipment and the last buffer tank group of the secondary buffer tank, so that the gas output of the secondary buffer tank can match the gas pressure and flow rate required by the gas-consuming equipment. Then, according to the pressure and flow rate of the secondary buffer tank and the pressure loss between the primary and secondary buffer tanks, the control equipment can adjust the opening degree of the regulating valve of the primary buffer tank according to the PID control algorithm, so that the gas output of the primary buffer tank can maintain the stability of the pressure and flow rate of the secondary buffer tank. Finally, according to the pressure and flow rate of the primary buffer tank and the pressure loss between the primary buffer tank and the gas source, the control equipment can control the gas source to supply gas to the primary buffer tank according to the PID control algorithm, so as to maintain the stability of the pressure and flow rate of the primary buffer tank.
[0130] II. Pressure Wave.
[0131] The control equipment constructs a pipeline pressure wave model of the gas transmission system according to the following formula:
[0132]
[0133] Where α is the sound wave attenuation coefficient, which is determined by the pipe material / gas viscosity, and the measured formula is: f is the frequency, c is the speed of sound, and D is the pipe diameter. The rate of change of pressure over time. This represents the rate of change of flow with spatial location.
[0134] In terms of boundary condition handling, different boundary types have different physical constraints and mathematical expressions:
[0135] Buffer tank inlet: It has a volumetric buffering effect, and its mathematical expression is: Valve equation Among them, C vΔP is the valve flow coefficient, and ΔP is the pressure difference across the valve.
[0136] When the valve is closed, water hammer will occur, as expressed mathematically: Where A is the cross-sectional area of the pipe (corresponding to the cross-sectional area of the segment in this invention), L is the length of the pipe (corresponding to the length of the segment in this invention), and P... up and P down These refer to the upstream and downstream pressures of the pipeline.
[0137] Pipeline branch points: Following the principles of pressure continuity and flow conservation, the mathematical expression is: P j =P k ,∑Q in =∑Q out , where P j and P k ∑Q represents the pressure at each branch point. in and ∑Q out These represent the sum of the input flow of each branch and the sum of the output flow of each branch, respectively.
[0138] Based on the above, the control equipment can ensure that the pressure of the gas transmission system is within a safe range in the following ways.
[0139] 1. Real-time data acquisition: Pressure data is acquired in real time through pressure sensors at each node, and flow data is obtained using flow sensors.
[0140] 2. Fluctuation propagation prediction: When a sudden change in valve opening is detected (i.e., the valve opening is greater than the preset opening threshold Δu), the control equipment starts the pressure wave simulation program. Based on the real-time collected pressure and flow data, the current operating state of the system is determined. Then, based on the current operating state, the feature line mesh is initialized, and the pressure distribution in the pipeline within the next 10 seconds is predicted through iterative calculation.
[0141] 3. Active suppression control: If the inlet pressure amplitude ΔP of a certain buffer tank is predicted... pred If the pressure exceeds the preset safety threshold, the control equipment can adjust the upstream valve in advance, for example, by increasing the opening by 5% to counteract the upcoming pressure peak by changing the fluid flow rate; or activate the pressure relief valve to release the excess pressure energy, thereby absorbing the impact energy and ensuring that the pressure of the gas transmission system is within a safe range.
[0142] In the solution provided by the embodiments of the present invention, the control device can further consider pipeline resistance and pressure waves when adjusting the opening degree of the regulating valves of the primary buffer tank and the secondary buffer tank, thereby further improving the stability of gas pressure control during gas transmission.
[0143] As one embodiment of the present invention, the control device can not only predict the operating data of the primary buffer tank after the current moment, but also predict whether a fault will occur in the gas transmission system. Specifically:
[0144] First, a second prediction model for predicting faults can be trained in the following manner.
[0145] Part 1: Multi-dimensional data collection and synchronization.
[0146] 1. Vibration data acquisition.
[0147] High-frequency vibration sensors (sampling rate ≥10kHz) are deployed in key parts of rotating equipment (compressors, pump bearings, etc.) to capture microscopic anomalies in the mechanical structure (such as shock waves caused by wear and cracks). The high-frequency vibration sensor can be a triaxial accelerometer, thereby acquiring multidimensional vibration data that covers the radial, axial, and tangential vibration energy distribution.
[0148] 2. Pressure data acquisition.
[0149] Parameters such as pressure rise / fall rate, peak-to-peak fluctuation, and settling time are determined by data collected from pressure sensors installed at the inlet and / or outlet of the primary buffer tank, secondary buffer tank (each tank body, each buffer tank group, and the overall secondary buffer tank), and at the inlet of the gas-using equipment.
[0150] 3. Data synchronization and preprocessing.
[0151] Vibration and pressure data are aligned to the same time base using timestamp alignment (e.g., PTP protocol). Since vibration data is collected at a higher frequency, it can be downsampled (e.g., RMS value calculated every 10 seconds) to match the frequency of the pressure data.
[0152] Part Two: Feature Extraction from Raw Data
[0153] 1. Feature extraction from vibration data.
[0154] Time-domain analysis: Calculate kurtosis and crease factor – sensitively capture impact faults.
[0155] Frequency domain analysis: Fast Fourier Transform (FFT) extracts characteristic frequencies of bearing / gear faults (such as BPFI, BPFO); Envelope Demodulation detects early weak impact signals. Time-frequency domain analysis: Wavelet Transform locates the occurrence time of transient anomalies.
[0156] 2. Feature extraction of stress data.
[0157] Short-term volatility: Calculate standard deviation and volatility.
[0158] Long-term drift: The slope of the linearly fitted pressure curve (reflecting the decay of charging / discharging efficiency); analysis of the change in pressure stabilization time (a valve performance degradation index).
[0159] 3. Cross-sensor feature fusion.
[0160] Construct vibration-pressure correlation features (e.g., vibration envelope energy / pressure fluctuation amplitude) to amplify fault sensitivity. For multi-stage buffer tank systems, add inter-stage pressure gradient stability as a unique feature (e.g., gradient variance).
[0161] The above method can be used to extract sensitive features that can identify fault modes from the original vibration and pressure data.
[0162] Part Three: Model Training.
[0163] Using the above method, pressure and vibration data are collected within a seventh preset time period (e.g., 24 hours) before the gas transmission system malfunctions, and features of the collected pressure and vibration data are extracted as positive samples for model training. Similarly, pressure and vibration data are collected within the same seventh preset time period (e.g., 24 hours) before the gas transmission system malfunctions, and features of the collected pressure and vibration data are extracted as negative samples for model training. Finally, the prediction model (LSTM network, XGBoost ensemble model, etc.) to be trained is used to obtain the second prediction model.
[0164] It should be noted that the above model training process can be executed by the control device in the embodiment of the present invention or by other devices, and then the trained first prediction model is deployed to the control device in the embodiment of the present invention.
[0165] Secondly, after obtaining the second prediction model, the control device can predict faults based on the second prediction model.
[0166] During the operation of the gas transmission system, the control device can acquire pressure data collected by the pressure sensor within the seventh preset time period before the current time and vibration data collected by the vibration sensor within the seventh preset time period before the current time. It can also extract the features of the collected pressure and vibration data and input them into a pre-trained second prediction model. The second prediction model determines the probability of a failure in the gas transmission system and outputs a warning message when the predicted probability is greater than a preset probability threshold.
[0167] In the solution provided by the embodiments of the present invention, a second prediction model for predicting faults can be trained based on the pressure data and vibration data between the time before and before the gas transmission system fails. In this way, the control device can predict whether the gas transmission system will fail based on the second prediction model and the pressure data and vibration data before the current time, thereby reminding the staff to take precautions to prevent the gas transmission system from causing significant losses.
[0168] As one embodiment of the present invention, such as Figure 5 As shown, the gas transmission system may further include a three-stage buffer tank 107. The end buffer tank group of the two-stage buffer tank is connected to the three-stage buffer tank 107, and the three-stage buffer tank 107 is connected to the gas-consuming device 105. By adding a three-stage buffer tank 107 at the gas-consuming device end, the pressure fluctuations of the gas can be further buffered, thereby further improving the stability of the gas pressure in the gas transmission system.
[0169] The following will introduce the application of the gas transmission system in several specific scenarios according to the embodiments of the present invention:
[0170] I. Gas Supply System for Industrial Production Lines
[0171] (1) Scene parameters
[0172] Air source: Variable frequency air compressor (power 45kW, displacement 6.8m³) 3 / min, pressure 0.8MPa);
[0173] Pipe length: 120 meters, pipe diameter DN10;
[0174] Gas-using equipment: Chemical vapor deposition furnace, peak flow rate 1m³ / h 3 / min.
[0175] (2) System Configuration
[0176] Primary buffer tank: 0.3 m³ / h 3 Withstands pressure of 1.2 MPa;
[0177] Secondary buffer tank group: one group is deployed every 40 meters (3 groups in total), each group has 2 × 80L tanks;
[0178] End buffer tank: 60L capacity, equipped with a proportional valve (control accuracy ±0.5%).
[0179] (3) Control parameters
[0180] Dynamic capacity correction cycle: 1 second;
[0181] MPC (Model Predictive Control) rolling optimization frequency: 5Hz;
[0182] Backup tank wake-up delay: ≤0.2s.
[0183] (4) Effect verification
[0184] Pressure fluctuations: reduced from ±8% in the traditional approach to ±1.5%;
[0185] Energy consumption: 22% lower year-on-year (15% savings from the standby tank hibernation strategy);
[0186] Fault switching time: 0.15s (meets ISO13849-1PLd level safety requirements).
[0187] II. Medical Center Oxygen Supply System
[0188] (1) Scene parameters
[0189] Gas source: Medical liquid oxygen storage tank (output pressure 0.4MPa);
[0190] Pipeline length: 300 meters (multiple branches in ICU and operating room);
[0191] Gas-using equipment: ventilator, anesthesia machine (flow rate fluctuates from 0.5 to 30 L / min).
[0192] (2) System Configuration
[0193] Primary buffer tank: 200L medical-grade stainless steel tank, pressure resistant to 0.6MPa;
[0194] Secondary buffer tank group: 2×50L tanks are deployed on each floor, with built-in sterile filters;
[0195] Precision adjustment at the end: piezoelectric ceramic micro-adjustment valve (accuracy ±0.05%).
[0196] (3) Special design
[0197] Dual-circuit redundant gas supply: oxygen supply interruption time <0.1s in the event of any single point of failure;
[0198] Purification module: Real-time monitoring of oxygen purity (≥99.5%), automatically switching gas sources in case of abnormalities.
[0199] (4) Effect verification
[0200] End pressure stability: ±0.25% (better than YY0732-2018 standard);
[0201] Energy consumption for pressure maintenance in the backup tank: reduced by 65%;
[0202] Bacterial filter replacement cycle: extended from 3 months to 6 months (due to stable pressure reducing droplet carryover).
[0203] III. Long-distance natural gas transportation
[0204] (1) Scene parameters
[0205] Pipeline length: 50 km, pipe diameter DN300;
[0206] Design pressure: 4.0 MPa, with allowable fluctuation of ±2%;
[0207] Gas source: Compressor station (power 2MW, flow rate 12000m³) 3 / h).
[0208] (2) System Configuration
[0209] Primary buffer tank: 200 m³ 3 Withstands pressure of 6MPa;
[0210] Secondary buffer tank group: 4 x 50m units deployed every 5 kilometers 3 Tank body;
[0211] Intelligent booster station: Automatic start and stop based on pressure prediction, replacing traditional timed booster.
[0212] (3) Core Algorithm
[0213] Pipeline pressure wave propagation model:
[0214]
[0215] Distributed MPC collaboration: Each node synchronizes pressure gradient data every 10 seconds to optimize the global compensation strategy.
[0216] (4) Effect verification
[0217] End-point pressure fluctuation: reduced from ±5% to ±0.8%;
[0218] Number of booster station start-ups and shutdowns: reduced by 70%, annual maintenance costs reduced by 40%;
[0219] Leak detection sensitivity: can identify 0.1% of flow anomalies (compared to 1% in traditional solutions).
[0220] This invention also provides a control device, such as... Figure 6 As shown, it includes a processor 601, a communication interface 602, a memory 603, and a communication bus 604, wherein the processor 601, the communication interface 602, and the memory 603 communicate with each other through the communication bus 604.
[0221] Memory 603 is used to store computer programs;
[0222] The processor 601, when executing the program stored in the memory 603, implements the control method for other devices (regulating valves, gas sources, equalizing pipes, etc.) in the gas transmission system described above.
[0223] The communication bus mentioned in the control device above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not indicate that there is only one bus or one type of bus.
[0224] The communication interface is used for communication between the aforementioned control device and other devices.
[0225] The memory may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.
[0226] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0227] In another embodiment of the present invention, a computer-readable storage medium is also provided, which stores a computer program that, when executed by a processor, implements the control method for other devices (regulating valves, gas sources, equalizing pipes, etc.) in the gas transmission system described above.
[0228] In another embodiment of the present invention, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to execute the control method for other devices (regulating valves, gas sources, equalizing pipes, etc.) in the gas transmission system described above.
[0229] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (SSD)).
[0230] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0231] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the embodiments for control devices, computer-readable storage media, and computer program products are basically similar to the method embodiments, and therefore the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0232] The above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention are included within the scope of protection of the present invention.
Claims
1. A gas transmission system, characterized in that, The system includes: a gas source, a primary buffer tank, a secondary buffer tank, and control equipment. The secondary buffer tank includes at least one buffer tank group, and each buffer tank group includes at least two parallel tanks. The gas source is connected to the primary buffer tank, the primary buffer tank is connected to the secondary buffer tank, and the secondary buffer tank is connected to the gas-consuming equipment. The control device is used to adjust the opening degree of the regulating valves of the primary buffer tank and the secondary buffer tank and control the gas source to replenish the primary buffer tank according to the pressure and flow rate of the gas required by the gas-using equipment through a proportional-integral-derivative (PID) control algorithm. The control device is also used to adjust the opening degree of the regulating valve of each parallel tank in the buffer tank group and / or open the pressure equalization pipe between each parallel tank in the buffer tank group for each buffer tank group, so that the pressure difference between each parallel tank in the buffer tank is less than a preset pressure difference threshold.
2. The system according to claim 1, wherein: The control device is further configured to input the first operating data of the primary buffer tank within a first preset time period before the current time into a pre-trained first prediction model, and output the second operating data of the primary buffer tank within a second preset time period after the current time through the first prediction model; The operational data includes flow rate, pressure, and temperature. The first prediction model is trained based on the operational data of the primary buffer tank within a first preset time period before each historical moment and the operational data of the primary buffer tank within a second preset time period after each historical moment.
3. The system according to claim 2, characterized in that, The system also includes a backup tank; The control device is also used to calculate the effective capacity of the primary buffer tank according to the following formula, and to determine whether the effective capacity is greater than the design capacity of the primary buffer tank. If it is greater, the device controls the backup tank to connect with the primary buffer tank so that the backup tank replenishes the primary buffer tank with gas and / or increases the power of the gas source to replenish the primary buffer tank with gas. Among them, v eff Q is the effective capacity of the primary buffer tank. peak The peak flow rate of the primary buffer tank within a second preset time period after the current moment, k is the gas compressibility correction factor, and P max and P min These are the maximum and minimum working pressures of the primary buffer tank, respectively, where α is the coefficient of thermal expansion, and T0 is Q. peak The corresponding temperature, ΔT is the difference between T0 and the current temperature, t response This refers to the time required from the detection that the pressure difference between the primary buffer tank and the target pressure exceeds a preset threshold, to the time required for the pressure of the primary buffer tank to recover to the target pressure through gas replenishment, when the gas source replenishes the primary buffer tank at the rated replenishment flow rate.
4. The system according to claim 2, characterized in that, The control device is further configured to determine, based on the second operating data, whether there is a target moment within a second preset time period after the current moment when the flow rate change rate of the primary buffer tank is greater than the first change rate threshold; if so, at a time period three preset time away from the target moment, control the backup tank to connect with the primary buffer tank, and determine the amount of supplementary gas that the backup tank needs to provide to the primary buffer tank according to the following formula. Where, ΔV pre The gas replenishment amount is given, t0 is the target time, Δt is the fourth preset duration, and Q(t) is the flow rate of the primary buffer tank at time t.
5. The system according to claim 2, characterized in that, The control device is also used to adjust the parameters of the PID control algorithm according to the following formula within a second preset time period after the current moment; K p =0.5+0.1·|dP / dt|; T i =1.0 / (0.2+0.05·|dP / dt|); T d =0.1·|dP / dt|; Among them, K p T is the proportionality coefficient. i Let T be the integration time. d For the differential time.
6. The system according to claim 2, characterized in that, The system also includes a backup tank. The control device is further configured to control the backup tank to maintain a first pressure when the primary buffer tank meets the stability conditions within a fifth preset time period before the current moment, and to control the backup tank to maintain a second pressure when it is determined from the second operating data that the primary buffer tank meets the gas replenishment conditions within a sixth preset time period after the current moment. Wherein, the first pressure is less than the second pressure, the stability condition is: the pressure of the primary buffer tank is within a preset pressure range, and the flow rate of the primary buffer tank is less than a first flow rate threshold, and the air replenishment condition is: the pressure change rate of the primary buffer tank is less than a second change rate threshold or the flow rate of the primary buffer tank is greater than a second flow rate threshold.
7. The system according to any one of claims 1-6, characterized in that, The control device is also used to construct a pipeline resistance model for each segment of the gas transmission system according to the following formula, and to calculate the pressure loss of the segment based on the pipeline resistance model of the segment. Where, ΔP segment Let f be the pressure loss of the segment, f be the friction coefficient of the segment, L be the length of the segment, D be the inner diameter of the segment, ρ be the density of the gas in the segment, v be the velocity of the gas in the segment, and K be the pressure loss of the segment. local The local drag coefficient for each segment; The control device is specifically used to adjust the opening degree of the regulating valves of the primary buffer tank and the secondary buffer tank, and to control the gas source to replenish the primary buffer tank, based on the gas pressure and flow rate required by the gas-using equipment and the pressure loss of each segment in the gas transmission system, using a proportional-integral-derivative (PID) control algorithm.
8. The system according to any one of claims 1-6, characterized in that, The control device is also used to construct a pipeline pressure wave model of the gas transmission system according to the following formula, predict flow rate changes based on the pressure gradient data detected at each node of the gas transmission system and the pipeline pressure wave model, and adjust the opening degree of the regulating valves of the primary buffer tank and the secondary buffer tank according to the flow rate changes. Where α is the sound wave attenuation coefficient, which is determined by the pipe material / gas viscosity, and the measured formula is: f is the frequency, c is the speed of sound, and D is the pipe diameter. The rate of change of pressure over time. This represents the rate of change of flow with spatial location.
9. The system according to any one of claims 1-6, characterized in that, The control device is also used to input the pressure data collected by the pressure sensor in the gas transmission system and the vibration data collected by the vibration sensor in the gas transmission system into a pre-trained second prediction model, determine the probability of the gas transmission system failing through the second prediction model, and output a warning message when the predicted probability is greater than a preset probability threshold. The second prediction model is trained based on pressure and vibration data within a seventh preset time period before the gas transmission system malfunctions, and pressure and vibration data within a seventh preset time period before the gas transmission system malfunctions.
10. The system according to any one of claims 1-6, characterized in that, The control device is also used to close the inlet regulating valve and outlet regulating valve of the target tank when a fault is detected in the target tank of each buffer tank group, wherein the target tank is any one of the tanks included in the buffer tank group.