Control method for photovoltaic hydrogen production unit with adaptive DC bus voltage regulation
By predicting the photovoltaic power supply and adaptively adjusting the DC bus voltage, the problem of power instability in photovoltaic hydrogen production systems during grid fluctuations was solved, achieving stable operation of the device and efficient hydrogen production.
Patent Information
- Application Number
- CN202311706845.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-13
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2043-12-13
AI Technical Summary
Existing photovoltaic hydrogen production systems cannot maintain constant power output of the water electrolysis hydrogen production unit when the external power grid voltage fluctuates, affecting hydrogen production and quality.
By collecting photovoltaic power source characteristic data, using a recurrent neural network model to predict future power output, adaptively adjusting the DC bus voltage, setting a power-voltage mapping table, generating voltage change commands, and smoothing the DC bus voltage to maintain stability.
This technology enables stable operation of the photovoltaic hydrogen production unit under varying power conditions, improves power matching and hydrogen production efficiency, and avoids instability and damage to the unit caused by voltage surges.
Smart Images

Figure CN117713063B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of adaptive DC bus voltage regulation technology, and more specifically, to a control method for a photovoltaic hydrogen production device with adaptive DC bus voltage regulation. Background Technology
[0002] Photovoltaic power generation is a clean and environmentally friendly renewable energy source. Photovoltaic hydrogen production technology can realize the direct storage and utilization of hydrogen gas by converting solar energy. The core equipment of a photovoltaic hydrogen production system is a photovoltaic power source and an electrolysis unit. The output voltage and current of the photovoltaic power source fluctuate with changes in solar irradiance conditions. However, the input voltage and power of the electrolysis unit need to be relatively stable to ensure normal operation. Therefore, there is a contradiction between the output characteristics of the photovoltaic power source and the load characteristics of the electrolysis unit. In order to improve the efficiency of photovoltaic hydrogen production, it is necessary to solve the matching problem between the output characteristics of the photovoltaic power source and the load characteristics of the electrolysis unit.
[0003] Currently, a common solution is to set up a DC-DC converter and perform maximum power point tracking between the photovoltaic power source and the electrolysis device to achieve the maximum power output of the photovoltaic power source. Chinese patent application publication number CN113629731A discloses a stable water electrolysis hydrogen production system combining wind and solar power. It connects the wind power generation unit to the wind turbine-side grid rectifier unit and the photovoltaic power generation unit to the photovoltaic-side grid rectifier unit through a DC bus. By adjusting the voltage across the grid rectifier unit, it ensures that the electrolysis hydrogen production device obtains a constant DC bus voltage, thereby maintaining a constant power output and a constant hydrogen production efficiency during the operation of the water electrolysis hydrogen production device.
[0004] While the aforementioned technologies can maintain a constant power output during the operation of a water electrolysis hydrogen production device, they require connection to an external power grid and cannot rely on the device itself to maintain a constant power output. When voltage fluctuations or faults occur in the external power grid, they will affect the power output of the water electrolysis hydrogen production device. Combining the aforementioned technologies with existing technologies, there is a lack of a method that can maintain a constant power output during the operation of a water electrolysis hydrogen production device by changing its own parameters in real time, thereby ensuring the production and quality of hydrogen.
[0005] In view of this, the present invention proposes a control method for photovoltaic hydrogen production devices with adaptive DC bus voltage regulation to solve the above problems. Summary of the Invention
[0006] To overcome the aforementioned deficiencies of the prior art and to achieve the above objectives, the present invention provides the following technical solution: a control method for a photovoltaic hydrogen production device with adaptive DC bus voltage regulation, comprising:
[0007] S1: Collect n sets of photovoltaic power source characteristic data;
[0008] S2: Calculate the power of n power sources based on n sets of photovoltaic power source characteristic data;
[0009] S3: Input n power sources into the trained power prediction model to predict the power sources at future times;
[0010] S4: Set up a power-voltage mapping table and obtain the corresponding DC bus voltage based on the predicted power output at future times;
[0011] S5: Based on the predicted power output at future times, determine whether to generate a first voltage change command; mark the time corresponding to the first voltage change command as the first processing time, calculate the first DC bus voltage change at the first processing time, add the first DC bus voltage change to the DC bus voltage at the first processing time as the new DC bus voltage at the first processing time, and adjust the DC bus voltage.
[0012] S6: After determining whether a first voltage change command is generated for the predicted power at each future moment, determine whether a second voltage change command is generated. Mark the moment corresponding to the second voltage change command as the second processing moment. Calculate the second DC bus voltage change amount at the second processing moment. Subtract the second processing moment DC bus voltage change amount from the second processing moment DC bus voltage to obtain the new DC bus voltage at the second processing moment, and adjust the DC bus voltage.
[0013] Furthermore, photovoltaic power source characteristic data includes power supply current and power supply voltage.
[0014] Furthermore, the power supply capacity is calculated as follows:
[0015] P i =U i ×I i ;
[0016] In the formula, P i For the i-th power supply, U i Let I be the voltage of the i-th power supply group. i Let be the current of the i-th power supply group, i∈n.
[0017] Furthermore, the training methods for the power prediction model include:
[0018] Construct a time series of power supply power from the calculated n power supplies, and train a power prediction model to predict the power supply power at future times based on the time series of power supply power.
[0019] The system presets a sliding step size L and a sliding window length; it transforms the power supply power within the power supply power time series into multiple training samples using the sliding window method, uses the training samples as input to the power prediction model, and outputs the predicted power supply power after the sliding step size L. The subsequent power supply power of each training sample is used as the prediction target, and the prediction accuracy is used as the training objective to train the power prediction model; a power prediction model is generated that predicts the power supply power at future times based on the power supply power. The power prediction model is a recurrent neural network model, which can be an RNN neural network model.
[0020] Furthermore, the method for determining whether to generate a first voltage change command includes:
[0021] Compare and analyze the power of the power source at q future moments with the preset power, where q is an integer greater than 1;
[0022] If the power supply at the j-th moment is greater than or equal to the preset power, then the first voltage change instruction will not be generated.
[0023] If the power supply at the j-th moment is less than the preset power, then generate the first voltage change command;
[0024] The change in the voltage of the first DC bus is calculated as follows:
[0025] GBE j =ω1×(PY-P j )-B;
[0026] In the formula, GBE j Let PY be the change in the first DC bus voltage at the j-th future time, and P be the preset power. j Let ω1 be the power supply at the j-th future moment, ω1 be a preset proportional coefficient, and B be a preset constant. The j-th future moment is any moment among the q first processing moments, where j∈q.
[0027] Furthermore, the method for determining whether to generate a second voltage change command includes:
[0028] The difference is obtained by subtracting the power of the power at the m-th future time from the power at the (m-1)-th future time, where the (m-1)-th future time is the time before the m-th future time.
[0029] If the difference is equal to 0, then no second voltage change command is generated;
[0030] If the difference is not equal to 0, a second voltage change command is generated;
[0031] The calculation of the change in the second DC bus voltage is as follows:
[0032] GBL m =ω2×(Pm -P m-1 )-C;
[0033] In the formula, GBL m Let P be the change in the second DC bus voltage at the m-th future time. m Let P be the power supply at the m-th future moment. m-1 Let ω2 be the power supply at the (m-1)th time, ω2 be a preset proportional coefficient, C be a preset constant, and the mth future time be any one of the e second processing times, where e is greater than q and m∈e.
[0034] Furthermore, the smoothing process for the DC bus voltage includes:
[0035] Step 1: Mark both the first and second processing times as processing times, and mark the new DC bus voltage at the processing time as the target voltage;
[0036] Step 2: Preset the smoothing coefficient α, α∈(0,1);
[0037] Step 3: Smooth the target voltage to obtain the DC bus voltage at the next moment. Adjust the DC bus voltage according to the DC bus voltage at the next moment until the DC bus voltage reaches the target voltage.
[0038] Furthermore, the method for setting the smoothing coefficient α includes:
[0039] The difference Δt is obtained by subtracting the previous processing time from the subsequent processing time. The difference Δt = 3τ, where τ is the time constant, the response time tr = 4τ, and the smoothing coefficient is... Therefore, the smoothing coefficient
[0040] The voltage smoothing calculation method in step 3 is as follows:
[0041] U V+1 =α×U V +(1-α)×UM V ;
[0042] In the formula, U V+1 U is the smoothed DC bus voltage at the V-th time point and the voltage at the next time point. V Let UM be the DC bus voltage at time V. V Let V be the target voltage at time V, where time V is any time in the processing time.
[0043] An electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement a photovoltaic hydrogen production device control method for adaptive regulation of the DC bus voltage.
[0044] A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, a control method for a photovoltaic hydrogen production device that adaptively adjusts the DC bus voltage is disclosed.
[0045] The technical effects and advantages of the photovoltaic hydrogen production device control method with adaptive DC bus voltage regulation of the present invention are as follows:
[0046] 1. By predicting the power supply at future moments and calculating the change in DC bus voltage, the DC bus voltage can be adaptively adjusted, realizing optimized tracking of the operating conditions of the photovoltaic hydrogen production unit. This allows the DC bus voltage to adapt to changes in power supply, effectively improving the power matching effect, operational stability, and hydrogen production efficiency of the photovoltaic hydrogen production unit.
[0047] 2. By smoothing the DC bus voltage, the problem of voltage surges caused by directly changing the DC bus voltage to the calculated new voltage is avoided, which can lead to instability in the photovoltaic hydrogen production unit or even damage to it. This improves the energy efficiency of the photovoltaic hydrogen production unit and extends its lifespan. Attached Figure Description
[0048] Figure 1 This is a schematic diagram of the control method for a photovoltaic hydrogen production device with adaptive DC bus voltage regulation according to Embodiment 1 of the present invention;
[0049] Figure 2 This is a schematic diagram of the control method for a photovoltaic hydrogen production device with adaptive DC bus voltage regulation according to Embodiment 2 of the present invention;
[0050] Figure 3 This is a schematic diagram of the electronic device according to Embodiment 3 of the present invention;
[0051] Figure 4 This is a schematic diagram of the storage medium in Embodiment 4 of the present invention. Detailed Implementation
[0052] 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 without creative effort are within the scope of protection of the present invention.
[0053] Example 1
[0054] Please see Figure 1 As shown in this embodiment, the control method for a photovoltaic hydrogen production device with adaptive DC bus voltage regulation includes:
[0055] Collect n sets of photovoltaic power source characteristic data, where n is an integer greater than 1, and the collection frequency is t seconds. The photovoltaic power source characteristic data includes power source current and power source voltage. The power source current is the output current of the photovoltaic power source, which is obtained by a current sensor installed on the output cable of the photovoltaic cell array. The power source voltage is the output voltage of the photovoltaic power source, which is obtained by a voltage sensor installed on the output cable of the photovoltaic cell array.
[0056] It should be noted that the reason for the sampling frequency of t seconds is that during the photovoltaic hydrogen production process, the photovoltaic power source characteristic data is affected by external environmental factors, such as: sunlight conditions, stronger sunlight will lead to higher photovoltaic power source characteristic data output; shadows and shading will reduce the light intensity received by the photovoltaic power source, thereby reducing the photovoltaic power source characteristic data output; ambient temperature will affect the temperature of the photovoltaic power source, and the photovoltaic power source will usually produce lower photovoltaic power source characteristic data at higher temperatures, etc. Therefore, it is necessary to collect photovoltaic power source characteristic data every t seconds to ensure the reliability of the photovoltaic power source characteristic data.
[0057] Calculate the power of n photovoltaic power sources based on n sets of photovoltaic power source characteristic data. The power of each power source is the output power of the photovoltaic cell array. The calculation of the power of each power source is as follows:
[0058] Pi = Ui × Ii;
[0059] In the formula, Pi is the power of the i-th power source, Ui is the voltage of the i-th power source, Ii is the current of the i-th power source, and i∈n;
[0060] Input n power sources into a trained power prediction model to predict the power sources at future times; the specific training methods for the power prediction model include:
[0061] Construct a time series of power supply power from the calculated n power supplies, and train a power prediction model to predict the power supply power at future times based on the time series of power supply power.
[0062] Based on the actual experience of the staff, the sliding step size L and the sliding window length are preset; the power supply power in the power supply power time series is converted into multiple training samples using the sliding window method. The training samples are used as the input of the power prediction model, and the power supply power after the sliding step size L is predicted as the output. The subsequent power supply power of each training sample is used as the prediction target, and the prediction accuracy is used as the training target to train the power prediction model; a power prediction model that predicts the power supply power at future times based on the power supply power is generated; wherein, the power prediction model is a recurrent neural network model, and the recurrent neural network model can be an RNN neural network model;
[0063] For example, suppose the power supply time series A contains 10 power supply data sets, A = {A1, A2, A3, ..., A...} 10},Ak For the k-th power supply group, multiple training samples are constructed using a sliding window. The length of the sliding window is defined as 4, and the sliding step size L is 1. Each training sample contains 4 consecutive power supplies, and the next power supply in the sequence of these 4 consecutive power supplies is used as the prediction target. For example:
[0064] {A1,A2,A3,A4} are used as training data, and the prediction target corresponding to {A1,A2,A3,A4} is A5;
[0065] {A2, A3, A4, A5} are used as training data, and the prediction target corresponding to {A2, A3, A4, A5} is A6; and so on, for training the power prediction model;
[0066] It should be noted that predicting the power output in the future allows for advance control of the DC bus voltage, enabling variable power operation of the photovoltaic hydrogen production unit, reducing electromagnetic interference and noise, minimizing the impact of real-time changes in the DC bus voltage, and improving the stability of the photovoltaic hydrogen production unit.
[0067] Set up a power-voltage mapping table to obtain the corresponding DC bus voltage based on the predicted power output at future times;
[0068] The power-voltage mapping table is stored in the database and can be a two-dimensional mapping table, which includes the power supply and the corresponding DC bus voltage. By predicting the power supply at a future time, the corresponding DC bus voltage can be queried for subsequent operations.
[0069] The method for setting up the power-voltage mapping table is as follows: Under experimental conditions, staff collect the corresponding DC bus voltages under multiple sets of the same photovoltaic power source characteristic data through long-term practical work, calculate the average DC bus voltage, and use the average DC bus voltage as the DC bus voltage corresponding to the photovoltaic power source characteristic data; in this way, the DC bus voltages corresponding to different photovoltaic power source characteristic data are obtained, and the photovoltaic power source characteristic data and the DC bus voltage are in one-to-one correspondence; and a power-voltage mapping table is constructed by combining the different photovoltaic power source characteristic data and the corresponding DC bus voltages.
[0070] Based on the predicted power output at future times, determine whether to generate a first voltage change command; mark the time corresponding to the first voltage change command as the first processing time; calculate the first DC bus voltage change at the first processing time; add the first DC bus voltage change to the DC bus voltage at the first processing time to obtain the new DC bus voltage at the first processing time; and adjust the DC bus voltage.
[0071] Methods for determining whether a first voltage change command has been generated include:
[0072] Compare and analyze the power of the power source at q future moments with the preset power, where q is an integer greater than 1;
[0073] If the power supply at time j is greater than or equal to the preset power, then no first voltage change command is generated; this indicates that the power supply at that time meets the required power level and there is no need to change the DC bus voltage.
[0074] If the power supply at time j is less than the preset power, a first voltage change command is generated. This indicates that the power supply at that time does not meet the required power level, which will lead to a decrease in hydrogen production efficiency, a longer production cycle, an increased load, and affect the lifespan and stability of the photovoltaic hydrogen production device. Furthermore, there is a certain probability that the produced hydrogen will not meet the quality requirements. Therefore, it is necessary to change the DC bus voltage to change the operating power of the photovoltaic hydrogen production device to achieve the required power level. The operating power of the photovoltaic hydrogen production device is the power consumed during the hydrogen production process.
[0075] The preset power is set by the staff based on experience as a percentage R of the rated power of the photovoltaic hydrogen production device, where R is a value greater than 0. In this embodiment, R is preferably 30. The rated power of the photovoltaic hydrogen production device is obtained from the technical parameter table of the photovoltaic hydrogen production device.
[0076] The calculation of the change in voltage of the first DC bus is as follows:
[0077] GBE j =ω1×(PY-P j )-B;
[0078] In the formula, GBE j Let PY be the change in the first DC bus voltage at the j-th future time, and P be the preset power. j Let ω1 be the power supply at the j-th future moment, ω1 be a preset proportional coefficient, B be a preset constant, and the j-th future moment be any moment among the q first processing moments, j∈q;
[0079] After determining whether a first voltage change command is generated for each predicted future time, it is determined whether a second voltage change command is generated. The time corresponding to the second voltage change command is marked as the second processing time. The change amount of the second DC bus voltage at the second processing time is calculated. The DC bus voltage at the second processing time is subtracted from the DC bus voltage at the second processing time to obtain the new DC bus voltage at the second processing time. The DC bus voltage is then adjusted.
[0080] Methods for determining whether a second voltage change command has been generated include:
[0081] The difference is obtained by subtracting the power of the power at the (m-1)th future time from the power at the m-th future time; the (m-1)th future time is the time before the m-th future time.
[0082] If the difference is 0, no second voltage change command will be generated, indicating that the power supply at this moment has not changed compared to the previous moment, and there is no need to change the DC bus voltage at this moment.
[0083] If the difference is not equal to 0, a second voltage change command is generated, indicating that the power supply at this moment has changed compared to the previous moment, and the DC bus voltage at this moment needs to be changed to stabilize the operating power of the photovoltaic hydrogen production unit.
[0084] The calculation of the voltage change of the second DC bus is as follows:
[0085] GBL m =ω2×(P m -P m-1 )-C;
[0086] In the formula, GBL m Let P be the change in the second DC bus voltage at the m-th future time. m Let P be the power supply at the m-th future moment. m-1 Let ω2 be the power supply at the (m-1)th future time, ω2 be a preset proportional coefficient, C be a preset constant, and the mth future time be any one of the e second processing times, where e is greater than q and m∈e.
[0087] Power supply affects DC bus voltage. An increase in power supply will raise the DC bus voltage, and a decrease in power supply will lower the DC bus voltage. Therefore, the change in DC bus voltage is affected by the change in power supply. In order to ensure that the hydrogen production process receives sufficient power, it is necessary to ensure that the operating power of the photovoltaic hydrogen production device remains stable. By changing the DC bus voltage, the operating conditions of the photovoltaic hydrogen production device can be made to follow the changes in power supply over a large time scale.
[0088] It should be noted that the second voltage change command is generated only after determining whether the first voltage change command will be generated at each of the predicted future times. That is, the DC bus voltage at the first processing time is changed before the DC bus voltage at the second processing time is changed, to ensure that the photovoltaic hydrogen production device operates at the required power level and remains stable.
[0089] It should be noted that the purpose of generating the first voltage change command is to adjust the power supply, which is lower than the preset power, to the preset power by adjusting the DC bus voltage; the purpose of generating the second voltage change command is that during the operation of the photovoltaic hydrogen production device, the power supply changes, and the operating power of the photovoltaic hydrogen production device will change accordingly, resulting in changes in the hydrogen production efficiency and instability in the operation of the photovoltaic hydrogen production device. By adjusting the DC bus voltage, the operating power of the photovoltaic hydrogen production device is kept constant, thereby stabilizing the hydrogen production efficiency and the operating effect of the photovoltaic hydrogen production device.
[0090] The reason for subtracting the change in the second DC bus voltage from the DC bus voltage at the second processing moment to obtain the new DC bus voltage at the second processing moment is that when the power supply increases at the next moment, the calculated change in the second DC bus voltage is positive. The increase in power supply will lead to an increase in the operating power of the photovoltaic hydrogen production device. In order to maintain a constant operating power of the photovoltaic hydrogen production device, it is necessary to reduce the operating power of the photovoltaic hydrogen production device, so it is necessary to reduce the DC bus voltage. For example, when the power supply is 10KW at the third moment and 15KW at the fourth moment, since 15-10=5 is greater than 0, the change in the second DC bus voltage is also greater than 0. Because the power supply has increased, the operating power of the photovoltaic hydrogen production device will rise from 20KW at the third moment to 22KW at the fourth moment. In order to ensure that the operating power of the photovoltaic hydrogen production device is also 20KW at the fourth moment, it is necessary to reduce the DC bus voltage. Therefore, it is necessary to subtract the change in the second DC bus voltage from the DC bus voltage at the second processing moment to obtain the new DC bus voltage at the second processing moment.
[0091] This embodiment predicts the power supply at future moments and calculates the change in DC bus voltage, enabling adaptive adjustment of the DC bus voltage. This achieves optimized tracking of the photovoltaic hydrogen production unit's operating conditions, keeping the DC bus voltage stable under power supply variations, and effectively improving the power matching effect, operational stability, and hydrogen production efficiency of the photovoltaic hydrogen production unit.
[0092] Example 2
[0093] Please see Figure 2 As shown, this embodiment further improves the design based on embodiment 1. When changing the DC bus voltage, directly changing the DC bus voltage to the calculated new voltage will cause instability in the photovoltaic hydrogen production device, generate voltage surges, damage the photovoltaic hydrogen production device, reduce energy efficiency, and lead to energy waste. Therefore, this embodiment provides a control method for photovoltaic hydrogen production device with adaptive adjustment of DC bus voltage, and also includes smoothing the DC bus voltage under the premise of ensuring safety and stability.
[0094] The smoothing steps for DC bus voltage include:
[0095] Step 1: Mark both the first and second processing times as processing times, and mark the new DC bus voltage at the processing time as the target voltage;
[0096] Step 2: Preset the smoothing coefficient α, α∈(0,1);
[0097] Step 3: Smooth the target voltage to obtain the voltage of the DC bus at the next moment. Adjust the DC bus voltage according to the voltage of the DC bus at the next moment until the DC bus voltage reaches the target voltage.
[0098] The DC bus voltage is adjusted based on voltage smoothing calculations to bring it up to the target voltage.
[0099] Specifically, the smoothing coefficient α in step 2 is automatically set by the photovoltaic hydrogen production device based on the difference between two adjacent processing times. The reason is that the larger the smoothing coefficient α is, the more stable the DC bus voltage adjustment is, and the smaller the smoothing coefficient α is, the faster the DC bus voltage adjustment is. The DC bus voltage at the processing time needs to be changed before the next processing time arrives, so it needs to be set based on the difference between two adjacent processing times.
[0100] The methods for setting the smoothing coefficient α include:
[0101] The difference Δt is obtained by subtracting the previous processing time from the subsequent processing time. The difference Δt = 3τ, where τ is the time constant, the response time tr = 4τ, and the smoothing coefficient is... Therefore, the smoothing coefficient For example, if the difference Δt is 10s, then α is set to 0.075;
[0102] Specifically, the voltage smoothing calculation method in step 3 is as follows:
[0103] U V+1 =α×U V +(1-α)×UM V ;
[0104] In the formula, U V+1 U is the smoothed DC bus voltage at the V-th time point and the voltage at the next time point. V Let UM be the DC bus voltage at time V. V Let V be the target voltage at time V, where time V is any time within the processing time.
[0105] This embodiment smooths the DC bus voltage, avoiding the problem of voltage surges caused by directly changing the DC bus voltage to the calculated new voltage, which could lead to instability or even damage to the photovoltaic hydrogen production device. This improves the energy efficiency and extends the lifespan of the photovoltaic hydrogen production device.
[0106] Example 3
[0107] Please see Figure 3As shown, this embodiment discloses an electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the photovoltaic hydrogen production device control method for adaptive DC bus voltage regulation provided by any of the above methods.
[0108] Since the electronic device described in this embodiment is the electronic device used to implement the photovoltaic hydrogen production device control method with adaptive DC bus voltage regulation in the embodiments of this application, those skilled in the art can understand the specific implementation and various variations of the electronic device in this embodiment based on the photovoltaic hydrogen production device control method with adaptive DC bus voltage regulation described in the embodiments of this application. Therefore, how the electronic device implements the method in the embodiments of this application will not be described in detail here. Any electronic device used by those skilled in the art to implement the photovoltaic hydrogen production device control method with adaptive DC bus voltage regulation in the embodiments of this application falls within the scope of protection of this application.
[0109] Example 4
[0110] Please see Figure 4 The diagram illustrates a computer-readable storage medium 600 according to one embodiment of this application. The computer-readable storage medium 600 stores computer-readable instructions. When executed by a processor, the computer-readable instructions can perform a control method for a photovoltaic hydrogen production device with adaptive DC bus voltage regulation according to an embodiment of this application, as described above with reference to the accompanying drawings. The storage medium 600 includes, but is not limited to, volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and cache memory. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc.
[0111] Furthermore, according to embodiments of this application, the processes described in the above-referenced flowcharts can be implemented as computer software programs. For example, this application provides a non-transitory machine-readable storage medium storing machine-readable instructions that can be executed by a processor to perform instructions corresponding to the method steps provided in this application, such as a photovoltaic hydrogen production device control method with adaptive DC bus voltage regulation. When this computer program is executed by a central processing unit (CPU), it performs the functions defined in the method of this application.
[0112] The above formulas are all dimensionless calculations. The formulas are derived from software simulations based on a large amount of collected data to obtain the most recent real-world results. The preset proportional coefficients and preset constants in the formulas are set by those skilled in the art according to the actual situation.
[0113] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
[0114] In conclusion, the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A control method for a photovoltaic hydrogen production unit with adaptive DC bus voltage regulation, characterized in that, include: S1: Collection Group photovoltaic power source characteristic data; S2: According to Calculation of photovoltaic power source characteristic data Power supply capacity; S3: Will A power prediction model trained with a power input is used to predict the power output at future times. S4: Set up a power-voltage mapping table and obtain the corresponding DC bus voltage based on the predicted power output at future times; S5: Based on the predicted power output at future times, determine whether to generate a first voltage change command; mark the time corresponding to the first voltage change command as the first processing time, calculate the change in the first DC bus voltage at the first processing time, add the change in the first DC bus voltage to the DC bus voltage at the first processing time as the new DC bus voltage at the first processing time, and adjust the DC bus voltage; wherein, the power output at each of the q future times is compared with the preset power output, where q is an integer greater than 1; if the power output at the j-th time is greater than or equal to the preset power output, then no first voltage change command is generated; if the power output at the j-th time is less than the preset power output, then a first voltage change command is generated. S6: After determining whether a first voltage change command is generated for each predicted future power moment, determine whether a second voltage change command is generated. Mark the time corresponding to the second voltage change command as the second processing time. Calculate the second DC bus voltage change amount at the second processing time. Subtract the second processing time DC bus voltage change amount from the second processing time DC bus voltage to obtain the new DC bus voltage at the second processing time, and adjust the DC bus voltage. The second voltage change command is generated after determining whether a first voltage change command is generated for each predicted future time moment and after the DC bus voltage at the first processing time moment has been changed. The power at the m-th future time moment is subtracted from the power at the (m-1)-th future time moment to obtain the difference, where the (m-1)-th future time moment is the previous moment of the m-th future time moment. If the difference is 0, no second voltage change command is generated; if the difference is not 0, a second voltage change command is generated.
2. The control method for a photovoltaic hydrogen production device with adaptive DC bus voltage regulation according to claim 1, characterized in that, The photovoltaic power source characteristic data includes power supply current and power supply voltage.
3. The control method for a photovoltaic hydrogen production device with adaptive DC bus voltage regulation according to claim 2, characterized in that, The power supply is calculated as follows: ; In the formula, For the first Power supply capacity, For the first Group power supply voltage, For the first Group power supply current, .
4. The control method for a photovoltaic hydrogen production device with adaptive DC bus voltage regulation according to claim 3, characterized in that, The training method for the power prediction model includes: Calculated A power supply power time series is constructed from each power supply power. Based on the power supply power time series, a power prediction model is trained to predict the power supply power at future times. The system presets a sliding step size L and a sliding window length; it transforms the power supply power within the power supply power time series into multiple training samples using the sliding window method, uses the training samples as input to the power prediction model, and outputs the predicted power supply power after the sliding step size L. The subsequent power supply power of each training sample is used as the prediction target, and the prediction accuracy is used as the training objective to train the power prediction model; a power prediction model is generated that predicts the power supply power at future times based on the power supply power. The power prediction model is a recurrent neural network model, which can be an RNN neural network model.
5. The control method for a photovoltaic hydrogen production device with adaptive DC bus voltage regulation according to claim 4, characterized in that, The change in the voltage of the first DC bus is calculated as follows: ; In the formula, For the first The change in the first DC bus voltage at a future moment. For preset power, For the first Power supply at a future moment This is a preset proportional coefficient. As a preset constant, the first The q future moments are any of the q first processing moments. ∈q.
6. The control method for a photovoltaic hydrogen production device with adaptive DC bus voltage regulation according to claim 5, characterized in that, The calculation of the change in the second DC bus voltage is as follows: ; In the formula, For the first The change in the second DC bus voltage at a future moment. For the first Power supply at a future moment For the first Power consumption at any given moment This is a preset proportional coefficient. As a preset constant, the first The future time is any one of the e second processing times, where e is greater than q and m ∈ e.
7. The control method for a photovoltaic hydrogen production device with adaptive DC bus voltage regulation according to claim 6, characterized in that, The smoothing process for the DC bus voltage includes: Step 1: Mark both the first and second processing times as processing times, and mark the new DC bus voltage at the processing time as the target voltage; Step 2: Preset smoothing coefficient , ; Step 3: Smooth the target voltage to obtain the DC bus voltage at the next moment. Adjust the DC bus voltage according to the DC bus voltage at the next moment until the DC bus voltage reaches the target voltage.
8. The control method for a photovoltaic hydrogen production device with adaptive DC bus voltage regulation according to claim 7, characterized in that, The smoothness coefficient The setup methods include: Subtract the previous processing time from the next processing time to obtain the difference. Difference , The time constant is the response time. Smoothing coefficient Therefore, the smoothing coefficient ; The voltage smoothing calculation method in step 3 is as follows: ; In the formula, For the first The smoothed DC bus voltage at the next time step. For the first DC bus voltage at any given moment For the first The target voltage at the nth moment, the nth Each time point is any time point within the processing time.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the photovoltaic hydrogen production device control method with adaptive DC bus voltage regulation as described in any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the photovoltaic hydrogen production device control method for adaptive DC bus voltage regulation as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Wind-solar combined stable water electrolysis hydrogen production system
CN113629731A
Fan power smoothing method based on DC bus voltage
CN113411022A
Hydrogen production system and hydrogen production power supply
CN113765085A
Photovoltaic power station dynamic modeling method based on data driving and storage device
CN114123200A
Layered cooperative control method for distributed photovoltaic off-grid hydrogen production
CN115693784A
