Hydrogen filling control method of hydrogen filling machine, electronic equipment and storage medium
By adjusting the hydrogen filling parameters and flow rate through neural network models and engineering application formulas, safety hazards and efficiency issues during the hydrogen filling process are solved, and stable, safe and efficient hydrogen filling control is achieved.
Patent Information
- Application Number
- CN202411052962.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-08-02
AI Technical Summary
During the hydrogen filling process, a hydrogen filling rate that is too fast may cause safety hazards, while a filling rate that is too slow affects efficiency. It is difficult to effectively balance the two with existing technology.
By obtaining the historical filling situation of the hydrogenation machine, use the neural network model to train the preset hydrogen filling parameters and temperature, adjust the current filling parameters to meet the preset conditions, and calculate the pressure threshold that the gas cylinder can withstand based on engineering application formulas. range, real-time monitoring and adjustment of the filling flow rate to determine the maximum filling flow rate and filling rate.
It improves the stability and accuracy of the hydrogen filling control process, reduces safety hazards, and ensures the balance and safety of hydrogen filling efficiency.
Smart Images

Figure CN118602276B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of new energy technology, and in particular to a hydrogen filling control method of a hydrogen filling machine, an electronic device, and a computer-readable storage medium. Background Art
[0002] Hydrogen energy has outstanding advantages such as cleanliness, environmental protection, and scalable storage and transportation. It is currently recognized as one of the most promising new energy sources. At present, most hydrogen refueling stations on the market use gas cylinders for high-pressure hydrogen refueling and storage. During the hydrogen refueling process, the temperature inside the gas cylinder will rise. If the hydrogen refueling rate is too fast, it may cause certain safety hazards due to failure to dissipate heat in time. However, if the hydrogen refueling rate is too slow, the actual refueling efficiency cannot be guaranteed. Summary of the invention
[0003] To this end, the present invention proposes a hydrogen filling control method for a hydrogen filling machine, an electronic device, and a computer-readable storage medium, which can balance and effectively adjust the filling rate during the hydrogen filling process to improve the hydrogen filling efficiency.
[0004] In a first aspect, an embodiment of the present invention provides a hydrogen filling control method for a hydrogen refueling machine, comprising the following steps: step S1, obtaining a historical filling situation of the hydrogen refueling machine, and determining a hydrogen filling parameter of the hydrogen refueling machine within a preset historical filling period and a hydrogen filling temperature corresponding to the hydrogen filling parameter according to the historical filling situation of the hydrogen refueling machine, wherein the hydrogen filling parameter includes a gas cylinder capacity, a gas cylinder type, a gas cylinder pressure, an ambient pressure, and a gas cylinder temperature;
[0005] Step S2, inputting the obtained hydrogen filling parameters and hydrogen filling temperature within the preset historical filling period into the neural network model to train the neural network model, thereby obtaining a pre-trained neural network model; obtaining the current hydrogen filling parameters of the hydrogen filling machine, and inputting the current hydrogen filling parameters into the pre-trained neural network model, thereby obtaining the current hydrogen filling temperature;
[0006] Step S3, judging whether the current hydrogen filling parameters and hydrogen filling temperature meet the preset filling conditions, if so, executing step S4, otherwise adjusting the current hydrogen filling parameters and returning to step S2, until judging that the current hydrogen filling parameters and hydrogen filling temperature meet the preset filling conditions;
[0007] Step S4, opening the gas inlet valve of the gas cylinder, filling the gas according to the current hydrogen filling parameters and hydrogen filling temperature, and determining the change of the real-time pressure of the gas cylinder during the hydrogen filling process along with the filling flow rate according to the current hydrogen filling temperature, gas cylinder pressure, ambient pressure and gas cylinder temperature;
[0008] Step S5, determining an engineering application formula corresponding to the gas cylinder according to the gas cylinder capacity and gas cylinder type, and calculating a pressure threshold range that the gas cylinder can withstand based on the engineering application formula;
[0009] Step S6, according to the change of the real-time pressure of the gas cylinder with the filling flow rate, the target gas cylinder pressure is obtained from the pressure threshold range, and the filling flow rate corresponding to the target gas cylinder pressure is the maximum filling flow rate; the corresponding filling rate is determined according to the maximum filling flow rate, and the filling rate is adjusted based on the preset filling rate threshold condition.
[0010] Optionally, in one embodiment of the present invention, the step S4 includes the following steps: step S41, substituting the current hydrogen filling temperature, the cylinder pressure, the ambient pressure and the cylinder temperature into the pressure simulation calculation formula for calculation, and obtaining the objective function relationship between the filling flow rate and the real-time pressure of the cylinder;
[0011] The pressure simulation calculation formula is as follows:
[0012] ;
[0013] The objective function relationship is as follows:
[0014] ;
[0015] in, The real-time pressure of the gas cylinder. is the cylinder pressure, is the environmental pressure, is the surface area of the cylinder wall, is the hydrogen filling temperature, is the gas cylinder temperature, is the filling flow rate, is the first preset pressure associated parameter, It is the second preset pressure associated parameter.
[0016] Optionally, in an embodiment of the present invention, the step S5 includes the following steps: step S51, analyzing the force balance of the gas cylinder in combination with the gas cylinder capacity and the gas cylinder type to obtain an engineering application formula corresponding to the gas cylinder;
[0017] Step S52: Calculate the maximum pressure and minimum pressure that the gas cylinder can withstand based on an engineering application formula, and determine a pressure threshold range according to the maximum pressure and the minimum pressure.
[0018] Optionally, in one embodiment of the present invention, the engineering application formula in step S51 and step S52 is as follows: ;
[0019] ;
[0020] ;
[0021] in, is the actual pressure value that the gas cylinder can withstand, is the theoretical pressure value that the gas cylinder can withstand, is the initial pressure value in the gas cylinder, is the instantaneous capacity ratio of the gas cylinder, is the pressure coefficient of the gas cylinder, is the cylinder pressure, is the environmental pressure, is the initial capacity of the gas cylinder, The current available capacity of the gas cylinder.
[0022] Optionally, in one embodiment of the present invention, the step S6 includes the following steps: step S61, taking the definition domain of the objective function relationship as from the minimum pressure to the maximum pressure, and obtaining a filling flow rate-gas cylinder real-time pressure simulation curve according to the objective function relationship;
[0023] Step S62, reading the maximum filling flow rate in the filling flow rate-gas cylinder real-time pressure simulation curve diagram, and determining the target gas cylinder pressure according to the maximum filling flow rate and the objective function relationship;
[0024] Step S63: When the corresponding filling rate is determined by the maximum filling flow rate, the filling rate is adjusted according to the relative size relationship between the preset filling rate threshold condition and the filling rate.
[0025] Optionally, in one embodiment of the present invention, the preset filling rate threshold condition includes a first preset filling rate threshold and a second preset filling rate threshold, and the first preset filling rate threshold is less than the second preset filling rate threshold; the step S63 includes the following steps: step S631. When the corresponding filling rate is determined by the maximum filling flow rate, when the filling rate is greater than or equal to the first preset filling rate threshold and less than or equal to the second preset filling rate threshold, the filling rate is maintained unchanged; or, when the filling rate is less than the first preset filling rate threshold, the filling rate is increased to a preset balanced filling rate, and the balanced filling rate is between the first preset filling rate threshold and the second preset filling rate threshold; or, when the filling rate is greater than the second preset filling rate threshold, the filling rate is reduced to between the balanced filling rate and the second preset filling rate threshold.
[0026] Optionally, in one embodiment of the present invention, the preset filling conditions in step S3 include that the current hydrogen filling temperature is greater than or equal to a preset first temperature critical value, and the preset filling conditions in step S3 also include at least one of the following: the gas cylinder capacity is less than or equal to a preset target filling amount value; the gas cylinder pressure is greater than or equal to a preset pressure critical value; the gas cylinder temperature is greater than or equal to a preset second temperature critical value.
[0027] Optionally, in one embodiment of the present invention, the step S6 is followed by the following steps: step S7, monitoring the filling amount during the hydrogen filling process, and when the filling amount reaches a preset target filling amount value, closing the air inlet valve of the gas cylinder.
[0028] In a second aspect, an embodiment of the present invention provides an electronic device, including: at least one processor;
[0029] at least one memory for storing at least one program;
[0030] When at least one of the programs is executed by at least one of the processors, the hydrogen filling control method for the hydrogen filling machine as described in the first aspect is implemented.
[0031] In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, in which a program executable by a processor is stored. When the program executable by the processor is executed by the processor, it is used to implement the hydrogen filling control method of the hydrogen filling machine as described in the first aspect.
[0032] By adopting the above technical scheme, compared with the prior art, the beneficial effects of the present invention include at least: 1. The present invention trains the neural network model by presetting the hydrogen filling parameters and hydrogen filling temperature in the historical filling period, so that the pre-trained neural network model obtained has high accuracy and good robustness, and can accurately output the current hydrogen filling temperature according to the current hydrogen filling parameters, thereby providing stable and reliable background data support for the hydrogen filling process, and hydrogenation can only be carried out after judging that the current hydrogen filling parameters meet the preset filling conditions, otherwise, the current hydrogen filling parameters are adjusted and the current hydrogen filling parameters are continuously judged whether they meet the preset filling conditions, until the current hydrogen filling parameters are modified to meet the preset filling conditions before hydrogenation can be carried out, which improves the stability and accuracy of the hydrogen filling control process;
[0033] 2. The present invention can determine the change of the real-time pressure of the gas cylinder during the hydrogen filling process along with the filling flow rate through the current hydrogen filling temperature, gas cylinder pressure, ambient pressure and gas cylinder temperature, that is, it can monitor the real-time pressure of the gas cylinder during the hydrogen filling process in real time. Considering that the actual pressure in the gas cylinder will increase sharply during the filling process, once it exceeds the safety limit, leakage or explosion will occur. Therefore, the real-time monitoring of the real-time pressure of the gas cylinder during the hydrogen filling process is carried out in real time as a safety monitoring measure, which is conducive to improving the safety factor of the hydrogen filling process and reducing the probability of safety hazards.
[0034] 3. The present invention can filter out the target gas cylinder pressure from the pressure threshold range according to the situation that the real-time pressure of the gas cylinder changes with the filling flow rate. Since the filling flow rate corresponding to the target gas cylinder pressure is the maximum filling flow rate, when the corresponding filling rate is determined according to the maximum filling flow rate, the filling rate can be balanced and effectively adjusted based on the preset filling rate threshold condition, which is beneficial to improving the hydrogen filling efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 is a flow chart of a hydrogen filling control method for a hydrogen filling machine provided by an embodiment of the present invention;
[0036] Figure 2 yes Figure 1 Flow chart of step S5 in FIG.
[0037] Figure 3 yes Figure 1 Flow chart of step S6 in FIG.
[0038] Figure 4 yes Figure 3 Flow chart of step S63 in FIG.
[0039] Figure 5 yes Figure 1 The flowchart after step S6 in FIG.
[0040] Figure 6 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0041] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0042] It should be noted that although the functional modules are divided in the device schematic and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart.
[0043] like Figure 1 As shown, the hydrogen filling control method of the hydrogen filling machine may include, but is not limited to, the following steps: Step S1, obtaining the historical filling situation of the hydrogen filling machine, and determining the hydrogen filling parameters of the hydrogen filling machine within a preset historical filling period and the hydrogen filling temperature corresponding to the hydrogen filling parameters according to the historical filling situation of the hydrogen filling machine, wherein the hydrogen filling parameters include the capacity of the gas cylinder, the type of the gas cylinder, the pressure of the gas cylinder, the ambient pressure and the temperature of the gas cylinder;
[0044] Step S2, inputting the obtained hydrogen filling parameters and hydrogen filling temperature within the preset historical filling period into the neural network model to train the neural network model, thereby obtaining a pre-trained neural network model; obtaining the current hydrogen filling parameters of the hydrogen filling machine, and inputting the current hydrogen filling parameters into the pre-trained neural network model, thereby obtaining the current hydrogen filling temperature;
[0045] Step S3, judging whether the current hydrogen filling parameters and hydrogen filling temperature meet the preset filling conditions, if so, executing step S4, otherwise adjusting the current hydrogen filling parameters and returning to step S2, until judging that the current hydrogen filling parameters and hydrogen filling temperature meet the preset filling conditions;
[0046] It can be seen that the neural network model is trained by presetting the hydrogen filling parameters and hydrogen filling temperature in the historical filling period. The pre-trained neural network model thus obtained has high accuracy and good robustness, and can accurately output the current hydrogen filling temperature according to the current hydrogen filling parameters, thereby providing stable and reliable background data support for the hydrogen filling process. Moreover, hydrogenation can only be carried out after judging that the current hydrogen filling parameters meet the preset filling conditions. Otherwise, the current hydrogen filling parameters are adjusted and it is continuously judged whether the current hydrogen filling parameters meet the preset filling conditions until the current hydrogen filling parameters are modified to meet the preset filling conditions. Hydrogenation can be carried out, which improves the stability and accuracy of the hydrogen filling control process.
[0047] Step S4, open the gas inlet valve of the gas cylinder, fill the gas according to the current hydrogen filling parameters and hydrogen filling temperature, determine the change of the real-time pressure of the gas cylinder during the hydrogen filling process with the filling flow rate according to the current hydrogen filling temperature, gas cylinder pressure, ambient pressure and gas cylinder temperature, that is, the real-time pressure of the gas cylinder during the hydrogen filling process can be monitored in real time. Considering that the actual pressure in the gas cylinder will increase sharply during the filling process, once it exceeds the safety limit, leakage or explosion will occur. Therefore, the real-time pressure of the gas cylinder during the hydrogen filling process is monitored in real time as a safety monitoring measure, which is conducive to improving the safety factor of the hydrogen filling process and reducing the probability of safety hazards.
[0048] Step S5, determining the engineering application formula corresponding to the gas cylinder according to the gas cylinder capacity and gas cylinder type, and calculating the pressure threshold range that the gas cylinder can withstand based on the engineering application formula, that is, by calculating the pressure threshold range that the gas cylinder can withstand through the engineering application formula, the tolerable pressure distribution of the gas cylinder can be clearly known. In the specific hydrogen filling process, the real-time pressure of the gas cylinder can be monitored based on the tolerable pressure distribution of the gas cylinder. Once the pressure exceeds the pressure value within the corresponding distribution limit, a real-time alarm can be issued, or other similar notification or prompting means can be adopted, so that the staff can promptly know the pressure of the gas cylinder and take corresponding measures under special circumstances, thereby achieving the purpose of reducing safety hazards;
[0049] Step S6, according to the change of the real-time pressure of the gas cylinder with the filling flow rate, the target gas cylinder pressure is obtained from the pressure threshold range, and the filling flow rate corresponding to the target gas cylinder pressure is the maximum filling flow rate; the corresponding filling rate is determined according to the maximum filling flow rate, and the filling rate is adjusted based on the preset filling rate threshold condition;
[0050] It can be seen that the target gas cylinder pressure is obtained by screening from the pressure threshold range according to the change of the real-time gas cylinder pressure with the filling flow rate. Since the filling flow rate corresponding to the target gas cylinder pressure is the maximum filling flow rate, when the corresponding filling rate is determined according to the maximum filling flow rate, the filling rate can be balanced and effectively adjusted based on the preset filling rate threshold condition, which is beneficial to improving the hydrogen filling efficiency.
[0051] In one embodiment, the time span of the historical filling situation of the hydrogen filling machine can be set accordingly according to the specific application scenario, and there is no restriction here; the preset historical filling period can be a continuous period of time, then the corresponding hydrogen filling parameters and hydrogen filling temperature records during this period are also continuous, or, the preset historical filling period can be a discrete single or multiple time nodes, then the corresponding hydrogen filling parameters and hydrogen filling temperature records are also discrete. For example, the preset historical filling period is the most recent month, and each day of the month is used as the minimum time node for recording, that is, one or more groups of corresponding hydrogen filling parameters and hydrogen filling temperatures are recorded every day, and so on, and finally all hydrogen filling parameters and hydrogen filling temperatures within the preset historical filling period are obtained. If it is a discrete recording case, the hydrogen filling parameters and hydrogen filling temperatures corresponding to each time node are recorded separately. The principle is similar to that of continuous recording, and will not be repeated here.
[0052] In one embodiment, there may be multiple specific types of neural network models, and those skilled in the art may select a corresponding neural network model according to the actual application scenario, which is not limited here. There is no specific limitation on the way of training the neural network model, for example, it may be but not limited to: first, the hydrogen filling parameters and hydrogen filling temperature within a preset historical filling period are normalized, and then all the normalized input data are input into the input layer of the neural network model, and finally the trained hydrogen filling temperature, etc. are output through the output layer of the neural network model.
[0053] In one embodiment, the preset filling condition in step S3 may include, but is not limited to, the current hydrogen filling temperature being greater than or equal to the preset first temperature critical value, and the preset filling condition in step S3 may also include, but is not limited to, at least one of the following: the gas cylinder capacity is less than or equal to the preset target filling amount value; the gas cylinder pressure is greater than or equal to the preset pressure critical value; the gas cylinder temperature is greater than or equal to the preset second temperature critical value. That is to say, in the above scenario, the premise of the preset filling condition is to first meet the filling condition of the current hydrogen filling temperature, and then consider the filling condition of the current hydrogen filling parameter, but this is not the only limitation; wherein, in different application scenarios, such as different scenarios such as gas cylinder type, capacity or specification parameters, the target filling amount value, pressure critical value, first temperature critical value and second temperature critical value may be different, which is not specifically limited here, and is selected by those skilled in the art according to the specific application scenario.
[0054] In one embodiment, the specific method of adjusting the current hydrogen filling parameters in step S3 may be, but is not limited to, comparing the current hydrogen filling parameters with the hydrogen filling parameters in a preset historical filling period. For example, some of the hydrogen filling parameters in the preset historical filling period may be substituted into the preset filling conditions for judgment. If the conditions are met, it means that the substituted hydrogen filling parameters can be used as reference data. At this time, the current hydrogen filling parameters are compared with the substituted hydrogen filling parameters, and then the specific hydrogen filling parameters are adjusted according to the difference between the two. The gas cylinder pressure or gas cylinder temperature may be adjusted. The specific adjustment method may adopt existing technology. The relevant equipment in the technique is implemented, for example, when the temperature of the gas cylinder needs to be lowered, cooling and heat dissipation are carried out through the cooling heat exchange device; specifically, after each adjustment of the current hydrogen filling parameters is completed, it returns to step S2, that is, based on the adjusted hydrogen filling parameters, it is input into the pre-trained neural network model to obtain the hydrogen filling temperature corresponding to the adjusted hydrogen filling parameters, and then step S3 is executed again. If it is judged that the current hydrogen filling parameters and hydrogen filling temperature still do not meet the preset filling conditions after adjustment, the hydrogen filling parameters are adjusted again, and so on, until it is judged that the current hydrogen filling parameters and hydrogen filling temperature meet the preset filling conditions.
[0055] In one embodiment of the present invention, step S4 may include, but is not limited to, the following steps: step S41, substituting the current hydrogen filling temperature, the cylinder pressure, the ambient pressure, and the cylinder temperature into the pressure simulation calculation formula to calculate and obtain the objective function relationship between the filling flow rate and the real-time pressure of the cylinder;
[0056] The pressure simulation calculation formula is as follows:
[0057] ;
[0058] The objective function relationship is as follows:
[0059] ;
[0060] in, The real-time pressure of the gas cylinder. is the cylinder pressure, is the environmental pressure, is the surface area of the cylinder wall, is the hydrogen filling temperature, is the gas cylinder temperature, is the filling flow rate, is the first preset pressure associated parameter, It is the second preset pressure associated parameter.
[0061] In this step, by substituting the actual values of the current hydrogen filling temperature, cylinder pressure, ambient pressure and cylinder temperature into the pressure simulation calculation formula for calculation, the relationship between the real-time pressure of the cylinder and the filling flow rate can be obtained. After the relationship is equivalently transformed, the objective function relationship can be obtained. It can be seen that the changing relationship between the filling flow rate and the real-time pressure of the cylinder can be clearly known through the objective function relationship. This is conducive to convenient and reliable real-time monitoring of the real-time pressure of the cylinder during the hydrogen filling process, further improving the safety factor of the hydrogen filling process and reducing the probability of safety hazards.
[0062] In one embodiment, the first preset pressure associated parameter and the second preset pressure associated parameter can be, but are not limited to, selected by a person skilled in the art according to a specific application scenario, and can also be fine-tuned according to the size of the gas cylinder temperature. For example, when setting a specific parameter value, when the value of the gas cylinder temperature is relatively large, the first preset pressure associated parameter can be appropriately reduced and the value of the second preset pressure associated parameter can be increased; or, when the value of the gas cylinder temperature is relatively small, the first preset pressure associated parameter can be appropriately increased and the value of the second preset pressure associated parameter can be appropriately reduced, etc. There is no limitation here.
[0063] like Figure 2As shown, in one embodiment of the present invention, step S5 may include but is not limited to the following steps: step S51, analyzing the force balance of the gas cylinder in combination with the gas cylinder capacity and the gas cylinder type to obtain an engineering application formula corresponding to the gas cylinder;
[0064] Step S52: Calculate the maximum pressure and minimum pressure that the gas cylinder can withstand based on an engineering application formula, and determine a pressure threshold range according to the maximum pressure and the minimum pressure.
[0065] In this step, when the capacity and type of the gas cylinder are known, the gas cylinder can be analyzed in combination with the capacity and type of the gas cylinder and according to the stress conditions and energy conservation conditions of the gas cylinder, so as to obtain the engineering application formula corresponding to the gas cylinder, and then the maximum pressure and minimum pressure that the gas cylinder can withstand can be calculated based on the engineering application formula. The pressure threshold range can be determined by the two calculated thresholds.
[0066] In one embodiment, the engineering application formula in step S51 and step S52 is as follows: ;
[0067] ;
[0068] ;
[0069] in, is the actual pressure value that the gas cylinder can withstand, is the theoretical pressure value that the gas cylinder can withstand, is the initial pressure value in the gas cylinder, is the instantaneous capacity ratio of the gas cylinder, is the pressure coefficient of the gas cylinder, is the cylinder pressure, is the environmental pressure, is the initial capacity of the gas cylinder, The current available capacity of the gas cylinder.
[0070] In one embodiment, the stress condition of the gas cylinder needs to be specifically analyzed according to the specific scenario. For example, there are differences in the stress bases of different gas cylinder walls. When facing the same external or internal effects, such as changes in environmental pressure, changes in internal pressure of the gas cylinder, etc., the stress conditions corresponding to different gas cylinder walls are different. The specific force analysis can be, but is not limited to, based on the force balance under the influence of the inside and outside of the gas cylinder. It can also be, but is not limited to, a global analysis based on the internal and external force factors of the gas cylinder. The specific analysis method can be, but is not limited to, analysis using commonly used software such as ANSYS, SolidWorks Simulation, AutoForm, Altair, and Mentor Graphics, which will not be elaborated here.
[0071] In one embodiment, the maximum pressure and the minimum pressure that the gas cylinder can withstand are calculated based on the engineering application formula, which can be implemented in combination with the actual parameters in the engineering application formula. The specific methods can be various and are not limited here. For example, the method mentioned in the above embodiment To illustrate, , and is a constant, then The size of is more determined by other parameters in the engineering application formula. After analysis, it can be seen that in an application scenario, when = hour, =1, then Maximum, thus determining the maximum pressure the cylinder can withstand; when is the theoretical maximum value. The balance term on the right side of the engineering application formula, that is, the negative term, reaches the maximum value. Minimum, thus determining the minimum pressure the cylinder can withstand.
[0072] like Figure 3 As shown, in one embodiment of the present invention, step S6 may include but is not limited to the following steps: step S61, taking the definition domain of the objective function relationship as from the minimum pressure to the maximum pressure, and obtaining a filling flow rate-gas cylinder real-time pressure simulation curve according to the objective function relationship;
[0073] Step S62, reading the maximum filling flow rate in the filling flow rate-gas cylinder real-time pressure simulation curve diagram, and determining the target gas cylinder pressure according to the maximum filling flow rate and the objective function relationship;
[0074] Step S63: When the corresponding filling rate is determined by the maximum filling flow rate, the filling rate is adjusted according to the relative size relationship between the preset filling rate threshold condition and the filling rate.
[0075] In this step, the definition domain of the objective function relationship is limited by the minimum pressure to the maximum pressure, so that the focus range of the objective function relationship can be limited to the required interval, and the corresponding filling flow rate-gas cylinder real-time pressure simulation curve diagram is obtained. The graphical viewing and analysis is more intuitive and reliable, and the effect is better, that is, the maximum filling flow rate in the filling flow rate-gas cylinder real-time pressure simulation curve diagram can be directly read, and then the maximum filling flow rate is substituted into the objective function relationship to determine the corresponding target gas cylinder pressure. In this way, the overall accuracy of determining the target gas cylinder pressure is higher and the applicability is wider; the relative size relationship between the preset filling rate threshold condition and the filling rate can better characterize the actual threshold interval of the filling rate, and the filling rate is adjusted based on the relative size relationship, which can reduce the adjustment error to a certain extent.
[0076] In one embodiment, the corresponding filling rate is determined by the maximum filling flow rate, which can be calculated based on the fluid mechanics formula in the relevant prior art, or the filling rate can be obtained by performing fluid modeling calculations based on the maximum filling flow rate through MATLAB software. Since this part of the technical content is well known to those skilled in the art and is not the main inventive point of the present invention, it will not be elaborated here.
[0077] It should be noted that due to the possible differences between different objective function relationship equations, the specific shapes of the corresponding filling flow rate-gas cylinder real-time pressure simulation curve graphs may be multiple, that is, the specific shape of the filling flow rate-gas cylinder real-time pressure simulation curve graph is not limited, but no matter which one it is, the target gas cylinder pressure can be determined by the method of step S62, which is very convenient to apply.
[0078] like Figure 4 As shown, in one embodiment of the present invention, when the preset filling rate threshold conditions include a first preset filling rate threshold and a second preset filling rate threshold, and the first preset filling rate threshold is less than the second preset filling rate threshold, step S63 may include but is not limited to the following steps: step S631, in the case where the corresponding filling rate is determined by the maximum filling flow rate, when the filling rate is greater than or equal to the first preset filling rate threshold and less than or equal to the second preset filling rate threshold, the filling rate is maintained unchanged; or, when the filling rate is less than the first preset filling rate threshold, the filling rate is increased to a preset balanced filling rate, and the balanced filling rate is between the first preset filling rate threshold and the second preset filling rate threshold; or, when the filling rate is greater than the second preset filling rate threshold, the filling rate is reduced to between the balanced filling rate and the second preset filling rate threshold.
[0079] In this step, when the filling rate is greater than or equal to the first preset filling rate threshold and less than or equal to the second preset filling rate threshold, it means that the filling rate is within an appropriate range, so the filling rate can be maintained unchanged; when the filling rate is less than the first preset filling rate threshold, it means that the filling rate is relatively small at this time, which may affect the filling efficiency, so the filling rate is increased to the preset balanced filling rate to avoid affecting the filling efficiency; when the filling rate is greater than the second preset filling rate threshold, it means that the filling rate is relatively large at this time, which may have certain safety hazards, so the filling rate is reduced to between the balanced filling rate and the second preset filling rate threshold, which not only reduces the risk of safety hazards, but also ensures that the filling rate will not drop too low, and can still maintain good filling efficiency.
[0080] In one embodiment, specific values of the first preset filling rate threshold, the second preset filling rate threshold, and the balanced filling rate can be set accordingly according to actual application scenarios, and are not limited here.
[0081] like Figure 5 As shown, in one embodiment of the present invention, step S6 may also include but is not limited to the following steps: step S7, monitoring the filling amount during the hydrogen filling process, and when the filling amount reaches a preset target filling amount value, closing the air inlet valve of the gas cylinder.
[0082] In this step, the filling amount during the hydrogen filling process is monitored in real time to confirm whether the hydrogen filling of the gas cylinder has reached the saturation state. If the filling amount does not reach the preset target filling amount value, no other operation is performed, that is, the hydrogen filling process is kept normal. However, when the filling amount reaches the preset target filling amount value, it means that the hydrogen filling of the gas cylinder has reached the saturation state. At this time, the air inlet valve of the gas cylinder is closed to complete the hydrogen filling process, prevent the gas cylinder from being overfilled, and reduce the risk of safety hazards.
[0083] Figure 6 FIG. 1 is a schematic diagram of the structure of an electronic device 1000 provided by an embodiment of the present invention. Figure 6 As shown, the electronic device 1000 includes a memory 1100 and a processor 1200. The number of the memory 1100 and the processor 1200 may be one or more. Figure 6 In the embodiment, a memory 1100 and a processor 1200 are taken as an example; the memory 1100 and the processor 1200 in the device may be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.
[0084] The memory 1100, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the hydrogen filling control method for a hydrogen filling machine provided in any embodiment of the present invention. The processor 1200 implements the above-mentioned hydrogen filling control method for a hydrogen filling machine by running the software programs, instructions and modules stored in the memory 1100.
[0085] The memory 1100 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function. In addition, the memory 1100 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 1100 may further include a memory remotely arranged relative to the processor 1200, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0086] An embodiment of the present invention further provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the hydrogen filling control method for a hydrogen filling machine provided in any embodiment of the present invention.
[0087] An embodiment of the present invention also provides a computer program product, including a computer program or computer instructions, wherein the computer program or computer instructions are stored in a computer-readable storage medium, a processor of a computer device reads the computer program or computer instructions from the computer-readable storage medium, and the processor executes the computer program or computer instructions, so that the computer device executes the hydrogen filling control method for a hydrogen filling machine provided in any embodiment of the present invention.
[0088] The electronic devices and application scenarios described in the embodiments of the present invention are intended to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute a limitation on the technical solutions provided by the embodiments of the present invention. Those skilled in the art will appreciate that with the evolution of electronic devices and the emergence of new application scenarios, the technical solutions provided by the embodiments of the present invention are equally applicable to similar technical problems.
[0089] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0090] In hardware implementation, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transient medium). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0091] The terms "component", "module", "system", etc. used in this specification are used to represent computer-related entities, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program, or a computer. By way of illustration, both applications running on a computing device and a computing device can be components. One or more components may reside in a process or an execution thread, and a component may be located on a computer or distributed between two or more computers. In addition, these components may be executed from various computer-readable media having various data structures stored thereon. Components may, for example, communicate through a local or remote process based on a signal having one or more data packets (e.g., data from two components interacting with another component between a local system, a distributed system, or a network, such as the Internet interacting with other systems through signals).
Claims
1. A hydrogen filling control method for a hydrogen filling machine, characterized in that: The steps include: Step S1, obtaining the historical filling situation of the hydrogen filling machine, and determining the hydrogen filling parameters of the hydrogen filling machine within a preset historical filling period and the hydrogen filling temperature corresponding to the hydrogen filling parameters according to the historical filling situation of the hydrogen filling machine, wherein the hydrogen filling parameters include the capacity of the gas cylinder, the type of the gas cylinder, the pressure of the gas cylinder, the ambient pressure and the temperature of the gas cylinder; Step S2, inputting the obtained hydrogen filling parameters and hydrogen filling temperature within the preset historical filling period into the neural network model to train the neural network model, thereby obtaining a pre-trained neural network model; obtaining the current hydrogen filling parameters of the hydrogen filling machine, and inputting the current hydrogen filling parameters into the pre-trained neural network model, thereby obtaining the current hydrogen filling temperature; Step S3, judging whether the current hydrogen filling parameters and hydrogen filling temperature meet the preset filling conditions, if so, executing step S4, otherwise adjusting the current hydrogen filling parameters and returning to step S2, until judging that the current hydrogen filling parameters and hydrogen filling temperature meet the preset filling conditions; Step S4, opening the gas inlet valve of the gas cylinder, filling the gas according to the current hydrogen filling parameters and hydrogen filling temperature, and determining the change of the real-time pressure of the gas cylinder during the hydrogen filling process along with the filling flow rate according to the current hydrogen filling temperature, gas cylinder pressure, ambient pressure and gas cylinder temperature; Step S5, determining an engineering application formula corresponding to the gas cylinder according to the gas cylinder capacity and gas cylinder type, and calculating a pressure threshold range that the gas cylinder can withstand based on the engineering application formula; Step S6, according to the change of the real-time pressure of the gas cylinder with the filling flow rate, the target gas cylinder pressure is obtained from the pressure threshold range, and the filling flow rate corresponding to the target gas cylinder pressure is the maximum filling flow rate; the corresponding filling rate is determined according to the maximum filling flow rate, and the filling rate is adjusted based on the preset filling rate threshold condition; Wherein, the step S5 comprises the following steps: Step S51, analyzing the force balance of the gas cylinder in combination with the gas cylinder capacity and gas cylinder type to obtain an engineering application formula corresponding to the gas cylinder; Step S52: Calculate the maximum pressure and minimum pressure that the gas cylinder can withstand based on an engineering application formula, and determine a pressure threshold range according to the maximum pressure and the minimum pressure; The engineering application formula in step S51 and step S52 is as follows: Among them, F is the actual pressure value that the gas cylinder can withstand, F1 is the theoretical pressure value that the gas cylinder can withstand, F0 is the initial pressure value in the gas cylinder, N is the instantaneous capacity ratio of the gas cylinder, α is the pressure coefficient of the gas cylinder, P0 is the gas cylinder pressure, P1 is the ambient pressure, Q0 is the initial capacity of the gas cylinder, and Q1 is the current available capacity of the gas cylinder.
2. The hydrogen filling control method of the hydrogen filling machine according to claim 1, characterized in that: The step S4 comprises the following steps: Step S41, substituting the current hydrogen filling temperature, gas cylinder pressure, ambient pressure and gas cylinder temperature into the pressure simulation calculation formula to calculate and obtain the objective function relationship between the filling flow rate and the real-time pressure of the gas cylinder; The pressure simulation calculation formula is as follows: The objective function relationship is as follows: Among them, W is the real-time pressure of the gas cylinder, P0 is the gas cylinder pressure, P1 is the ambient pressure, S is the surface area of the gas cylinder wall, T0 is the hydrogen filling temperature, T1 is the gas cylinder temperature, U is the filling flow rate, β is the first preset pressure associated parameter, and γ is the second preset pressure associated parameter.
3. The hydrogen filling control method of the hydrogen filling machine according to claim 2, characterized in that: The step S6 comprises the following steps: Step S61, taking the definition domain of the objective function relationship as from the minimum pressure to the maximum pressure, and obtaining a filling flow rate-gas cylinder real-time pressure simulation curve according to the objective function relationship; Step S62, reading the maximum filling flow rate in the filling flow rate-gas cylinder real-time pressure simulation curve diagram, and determining the target gas cylinder pressure according to the maximum filling flow rate and the objective function relationship; Step S63: When the corresponding filling rate is determined by the maximum filling flow rate, the filling rate is adjusted according to the relative size relationship between the preset filling rate threshold condition and the filling rate.
4. The hydrogen filling control method of the hydrogen refueling machine according to claim 3, characterized in that: The preset filling rate threshold condition includes a first preset filling rate threshold and a second preset filling rate threshold, and the first preset filling rate threshold is less than the second preset filling rate threshold; the step S63 includes the following steps: Step S631: when the corresponding filling rate is determined by the maximum filling flow rate, when the filling rate is greater than or equal to the first preset filling rate threshold and less than or equal to the second preset filling rate threshold, the filling rate is maintained unchanged; Alternatively, when the filling rate is less than a first preset filling rate threshold, the filling rate is increased to a preset balanced filling rate, and the balanced filling rate is between the first preset filling rate threshold and a second preset filling rate threshold; or, when the filling rate is greater than the second preset filling rate threshold, the filling rate is reduced to between the balanced filling rate and the second preset filling rate threshold.
5. The hydrogen filling control method of a hydrogen refueling machine according to claim 1, characterized in that: The preset filling condition in step S3 includes that the current hydrogen filling temperature is greater than or equal to a preset first temperature critical value, and the preset filling condition in step S3 also includes at least one of the following: The gas cylinder capacity is less than or equal to a preset target filling amount value; the gas cylinder pressure is greater than or equal to a preset pressure critical value; the gas cylinder temperature is greater than or equal to a preset second temperature critical value.
6. The hydrogen filling control method for a hydrogen refueling machine according to any one of claims 1 to 5, characterized in that: The step S6 further includes the following steps: Step S7: monitor the filling amount of hydrogen during the filling process, and when the filling amount reaches a preset target filling amount value, close the air inlet valve of the gas cylinder.
7. An electronic device, characterized in that: include: at least one processor; at least one memory for storing at least one program; When at least one of the programs is executed by at least one of the processors, the hydrogen filling control method for the hydrogen refueling machine as described in any one of claims 1 to 6 is implemented.
8. A computer-readable storage medium, characterized in that: A program executable by a processor is stored therein, and when the program executable by the processor is executed by the processor, it is used to implement the hydrogen filling control method of the hydrogen filling machine as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Neural network-based hydrogenation adaptive control method and device
CN114509951A
Cited By
Hydrogen filling control method and equipment of hydrogen filling machine and storage medium
CN121429936A
