Hydrogen production power supply control system and method based on electrolytic cell

By repeatedly controlling the port voltage of the electrolytic cell in the hydrogen production power supply system using the conversion circuit and the hydrogen production power controller, the system instability problem caused by the change in the electrolytic cell port voltage is solved, the accuracy and stability of current control are achieved, and the stability of hydrogen output and system life are improved.

CN120330801APending Publication Date: 2025-07-18XIAMEN QIHANG HYDROGEN ENERGY TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510626748.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-15
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

The change in the port voltage of the existing hydrogen production power system in the electrolytic cell causes instability of the input/output power, affecting the system operation stability, especially when the temperature changes, the current tracking control is inaccurate, resulting in current fluctuations and poor hydrogen output stability.

Method used

The hydrogen production power supply control system based on the electrolytic cell is adopted, and the current is converted into DC power through the conversion circuit, and the port voltage is repeatedly controlled by the hydrogen production power controller to generate a control voltage to stabilize the power supply of the electrolytic cell, including the repeating controller and modulation unit, real-time tracking of voltage fluctuations and decoupling of current control.

Benefits of technology

Improve the accuracy and stability of current tracking control, reduce current fluctuations, improve hydrogen output stability, reduce pressure fluctuations at the outlet port, and extend system life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120330801A_ABST
    Figure CN120330801A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of new energy, in particular to a hydrogen production power supply control system and method based on an electrolytic bath, and the system is characterized in that the positive electrode and the negative electrode of a power supply are respectively connected with the first end and the second end of a conversion circuit, and the third end and the fourth end of the conversion circuit are respectively connected with the first end and the second end of the hydrogen production electrolytic bath; the third end of the hydrogen production electrolytic tank is connected with the hydrogen production power supply controller; the conversion circuit is used for converting the current input by the power supply and inputting the converted current into the hydrogen production electrolytic bath; and the hydrogen production power supply controller is used for repeatedly controlling the port voltage of the hydrogen production electrolytic tank to obtain and output control voltage to the hydrogen production electrolytic tank so as to control the hydrogen production power supply of the hydrogen production electrolytic tank. The system can improve the accuracy and stability of current tracking control, reduce the current fluctuation, improve the hydrogen production stability, reduce the pressure fluctuation of a gas outlet port and prolong the service life of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of new energy, and particularly to a hydrogen production power supply control system and method based on an electrolyzer in the technical field of new energy. Background Art

[0002] In recent years, in order to address global environmental protection issues, hydrogen production technology has been increasingly widely applied. Generally, in a conventional hydrogen production process, direct current is required, so a hydrogen production power supply usually needs to include an AC / DC conversion circuit to rectify alternating current into direct current.

[0003] For an electrolyzer, due to its internal characteristics, at the same current, changes in its own conditions including but not limited to temperature will cause changes in its port voltage, resulting in changes in input / output power, and further affecting the stability of system operation. Summary of the Invention

[0004] The purpose of the present invention is to provide a hydrogen production power supply control system and method based on an electrolyzer, and the specific technical solutions adopted are as follows:

[0005] In a first aspect, an embodiment of the present invention provides a hydrogen production power supply control system based on an electrolyzer, and the system includes:

[0006] A power supply, a conversion circuit, a hydrogen production electrolyzer, and a hydrogen production power supply controller; wherein:

[0007] The positive and negative poles of the power supply are respectively connected to the first end and the second end of the conversion circuit, the third end and the fourth end of the conversion circuit are respectively connected to the first end and the second end of the hydrogen production electrolyzer; the third end of the hydrogen production electrolyzer is connected to the hydrogen production power supply controller;

[0008] The conversion circuit is used to convert the current input by the power supply and input the converted current into the hydrogen production electrolyzer;

[0009] The hydrogen production power supply controller is used to repetitively control the port voltage of the hydrogen production electrolyzer, obtain and output a control voltage to the hydrogen production electrolyzer to control the hydrogen production power supply of the hydrogen production electrolyzer.

[0010] In some possible implementation manners, the hydrogen production power supply controller includes: a repetitive controller and a modulation unit; wherein:

[0011] The repetitive controller is connected to the input end of the hydrogen production electrolyzer, and is used to repetitively control the port voltage of the hydrogen production electrolyzer, obtain and output a control voltage; and adjust the port voltage based on the control voltage to obtain an adjusted port voltage and output it to the modulation unit; wherein, the number of repetitive controllers matches the characteristic frequency of the port voltage of the hydrogen production electrolyzer;

[0012] The modulation unit is configured to modulate the modulated port voltage to generate a control pulse for controlling the hydrogen production power supply of the hydrogen production electrolyzer.

[0013] In some possible implementation manners, the repetitive controller is further configured to adjust the number of sampling points of the port voltage of the hydrogen production electrolyzer based on the characteristic frequency point of the port voltage of the hydrogen production electrolyzer to obtain the adjusted number of sampling points; and perform repetitive control on the port voltage of the hydrogen production electrolyzer based on the adjusted number of sampling points to obtain the control voltage.

[0014] In some possible implementation manners, the hydrogen production power supply controller further includes: a constant current control unit;

[0015] The constant current control unit has its first end connected to the electrolysis current target value and its second end connected to the electrolysis current feedback value;

[0016] The constant current control unit is configured to perform proportional integration on the electrolysis current target value and the electrolysis current feedback value to obtain a first processing result; and adjust the port voltage of the hydrogen production electrolyzer based on the first processing result and the control voltage output by the repetitive controller, and output the modulated port voltage to the modulation unit.

[0017] In some possible implementation manners, the constant current control unit includes: a first exclusive OR module, a first superposition module, a first proportional integral controller, and a second exclusive OR module; where:

[0018] The first exclusive OR module is configured to perform exclusive OR on the electrolysis current target value and the electrolysis current feedback value to obtain a first exclusive OR result;

[0019] The first proportional integral controller is configured to perform proportional integration on the first exclusive OR result to obtain the first processing result;

[0020] The first superposition module is configured to superpose the control voltage output by the repetitive controller on the port voltage of the hydrogen production electrolyzer to obtain a superposed port voltage;

[0021] The second exclusive OR module is configured to perform exclusive OR on the superposed port voltage and the first processing result to obtain the modulated port voltage.

[0022] In some possible implementation manners, the hydrogen production power supply controller further includes: a constant power control unit;

[0023] The constant power control unit has its first end connected to the electrolysis target power, its second end connected to the electrolysis power feedback value, its third end connected to the electrolysis current target value, and its fourth end connected to the electrolysis current feedback value;

[0024] The constant power control unit is configured to process the electrolysis target power and the electrolysis power feedback value to obtain a second processing result; and adjust the port voltage of the hydrogen production electrolyzer based on the second processing result, the electrolysis current target value, the electrolysis current feedback value, and the control voltage output by the repetitive controller, and output the adjusted port voltage to the modulation unit.

[0025] In some possible implementation manners, the constant power control unit includes: a divider, a second proportional-integral controller, a third proportional-integral controller, a third exclusive-OR module, a second summing module, a fourth exclusive-OR module, a fifth exclusive-OR module, and a sixth exclusive-OR module; where:

[0026] The third exclusive-OR module is configured to perform an exclusive-OR operation on the electrolysis target power and the electrolysis power feedback value to obtain a second exclusive-OR result;

[0027] The fourth exclusive-OR module is configured to perform an exclusive-OR operation on the control voltage output by the repetitive controller and the port voltage to obtain a third exclusive-OR result;

[0028] The second proportional-integral controller is configured to perform proportional-integral control on the second exclusive-OR result to obtain the second processing result;

[0029] The divider is configured to divide the second processing result by the third exclusive-OR result to obtain a division result;

[0030] The fifth exclusive-OR module is configured to perform an exclusive-OR operation on the electrolysis current target value and the electrolysis current feedback value to obtain a fourth exclusive-OR result;

[0031] The third proportional-integral controller is configured to perform proportional-integral control on the fourth exclusive-OR result to obtain an integral result;

[0032] The second summing module is configured to sum the control voltage output by the repetitive controller, the port voltage of the hydrogen production electrolyzer, and the integral result to obtain a summed port voltage;

[0033] The sixth exclusive-OR module is configured to perform an exclusive-OR operation on the summed port voltage and the integral result to obtain the adjusted port voltage.

[0034] In a second aspect, an embodiment of the present invention provides a hydrogen production power supply control method based on an electrolyzer, the method including:

[0035] Obtain the port voltage of the hydrogen production electrolyzer;

[0036] Perform frequency domain conversion on the port voltage to obtain frequency data;

[0037] A hydrogen production power supply controller that determines control parameters to match the frequency data;

[0038] Use the hydrogen production power supply controller to perform repetitive control on the port voltage to obtain a control voltage;

[0039] Superimpose the control voltage on the port voltage to control the hydrogen production power supply of the hydrogen production electrolyzer.

[0040] In some possible implementation manners, the hydrogen production power supply controller that determines control parameters to match the frequency data includes:

[0041] Determine whether the frequency data is greater than a preset frequency threshold;

[0042] If the frequency threshold is greater than the preset frequency threshold, construct a repetitive controller in the hydrogen production power supply controller based on the frequency data.

[0043] In some possible implementation manners, the use of the hydrogen production power supply controller to perform repetitive control on the port voltage to obtain a control voltage includes:

[0044] Use the repetitive controller to perform repetitive control on the port voltage to obtain the control voltage;

[0045] The control of the hydrogen production power supply of the hydrogen production electrolyzer based on the control voltage includes:

[0046] Superimpose the control voltage on the port voltage to obtain an adjusted port voltage;

[0047] Modulate the adjusted port voltage to generate control pulses for controlling the hydrogen production power supply of the hydrogen production electrolyzer.

[0048] In a third aspect, a computer program product is provided. The computer program product includes computer program code, and when the computer program code runs on a computer, it causes the computer to execute the method in the first aspect or any one of the possible implementation manners described in the first aspect.

[0049] In a fourth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores computer program code, and when the computer program code runs on a computer, it causes the computer to execute the method in the first aspect or any one of the possible implementation manners described in the first aspect.

[0050] The present invention has the following beneficial effects: In a hydrogen production power supply control system based on an electrolytic cell, the positive and negative electrodes of the power supply are respectively connected to the first end and the second end of a conversion circuit, and the third end and the fourth end of the conversion circuit are respectively connected to the first end and the second end of the hydrogen production electrolytic cell; the third end of the hydrogen production electrolytic cell is connected to the hydrogen production power supply controller; in this way, the conversion circuit converts the current input by the power supply and inputs the converted current into the hydrogen production electrolytic cell, thereby providing a direct current to the hydrogen production electrolytic cell. Subsequently, the hydrogen production power supply controller repeatedly controls the port voltage of the hydrogen production electrolytic cell, obtains and outputs a control voltage to the hydrogen production electrolytic cell to control the hydrogen production power supply of the hydrogen production electrolytic cell; in this way, by repeatedly controlling the port voltage of the hydrogen production electrolytic cell, it is possible to achieve real-time tracking of the port voltage fluctuation and decoupling of the current control influence, improve the adaptation to the electrolytic cell voltage fluctuation; furthermore, improve the accuracy and stability of the current tracking control, reduce the current fluctuation, enhance the hydrogen production stability, reduce the pressure fluctuation at the gas outlet port, and improve the lifespan of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0052] Figure 1 is the electrolytic hydrogen production structure block diagram of the AC hydrogen production power supply provided by the embodiment of the present invention;

[0053] Figure 2 is the electrolytic hydrogen production structure block diagram of the DC hydrogen production power supply provided by the embodiment of the present invention;

[0054] Figure 3 is the composition structure schematic diagram of a hydrogen production power supply control system based on an electrolytic cell provided by the embodiment of the present invention;

[0055] Figure 4 is another composition structure schematic diagram of a hydrogen production power supply control system based on an electrolytic cell provided by the embodiment of the present invention;

[0056] Figure 5 is yet another composition structure schematic diagram of a hydrogen production power supply control system based on an electrolytic cell provided by the embodiment of the present invention;

[0057] Figure 6 is the implementation flow schematic diagram of a hydrogen production power supply control method based on an electrolytic cell provided by the embodiment of the present invention;

[0058] Figure 7It is a schematic structural diagram of a computer device provided by an embodiment of the present invention. Detailed implementation manners

[0059] In order to further elaborate on the technical means and effects adopted by the present invention to achieve the intended invention purpose, the following, in conjunction with the accompanying drawings and preferred embodiments, describes in detail a hydrogen production power supply control method based on an electrolytic cell according to the present invention, its specific implementation manners, structures, features and effects. In the following description, different "one embodiment" or "another embodiment" do not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0060] Among them, in the description of the embodiments of the present invention, unless otherwise specified, " / " means "or". For example, A / B may mean A or B. The "and / or" in the text is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present invention, "a plurality" means two or more than two.

[0061] Hereinafter, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as implying or suggesting relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features.

[0062] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which the present invention belongs.

[0063] In some embodiments, direct current is required during the hydrogen production process. Therefore, the hydrogen production power supply usually needs to include an AC / DC conversion circuit, which needs to rectify alternating current into direct current. The form of the AC hydrogen production power supply is as Figure 1 shown. The AC power supply is connected to the AC / DC conversion circuit (AC / DC); the AC / DC is connected to the DC / DC conversion circuit (DC / DC), and the output of the DC / DC is connected to the electrolytic cell to produce hydrogen through the electrolytic cell. The form of the DC hydrogen production power supply is as Figure 2 shown. The DC power supply is connected to the DC / DC conversion circuit (DC / DC), and the output of the DC / DC is connected to the electrolytic cell to produce hydrogen through the electrolytic cell.

[0064] According to the input requirements, there is also a hydrogen production power supply that processes direct current that cannot be directly matched with the electrolytic cell, including photovoltaic and batteries, through the DC / DC conversion circuit of the hydrogen production power supply and then converts it for use by the electrolytic cell. The hydrogen production power supply mainly operates in the constant current mode and the constant power mode according to requirements.

[0065] In the constant current mode, the output control loop uses the target current as the set value to perform closed-loop control on the target current. Depending on the topology and load conditions, there are options such as with and without voltage feedforward, which can perform constant current control on resistive stable loads. In the constant power mode, the output control loop uses power as the target for the outer loop, and then calculates the current set value based on the port voltage, ultimately achieving double closed-loop control of power and current.

[0066] However, for an electrolyzer, due to its internal characteristics, at the same current, changes in its own conditions including but not limited to temperature will cause changes in its port voltage, thereby resulting in changes in input / output power.

[0067] When continuous temperature fluctuations cause continuous changes in the port voltage, it will affect the tracking control of the current, affecting the stability of the current, and thus affecting the stability of the electrolyzer operation.

[0068] When continuous temperature fluctuations cause continuous changes in the port power, it will affect the power expectation of the system, thereby affecting the operation requirements of the peripheral system, and thus affecting the stability of the system operation.

[0069] When continuous temperature fluctuations cause continuous changes in the port voltage, under constant power control, since the current set value needs to be obtained by dividing the output of the power loop by the port voltage, it will cause continuous fluctuations in the current set value, affecting the stability of the system operation.

[0070] Based on this, the embodiments of the present invention provide a hydrogen production power supply control system based on an electrolyzer. According to the characteristics of the electrolyzer, a control algorithm is used to track the voltage fluctuations in real time, achieve decoupling of the influence on current control, and improve the adaptability to the voltage fluctuations of the electrolyzer. For a new energy hydrogen production power supply system, by observing the voltage fluctuations of the load, the accuracy of power tracking control is improved, and the predictability of power is ensured; for an AC hydrogen production system, by observing the voltage fluctuations of the load, the accuracy and stability of current tracking control are improved, current fluctuations are reduced, the hydrogen production stability is enhanced, the pressure fluctuations at the gas outlet port are reduced, and the service life of the system is improved.

[0071] The following specifically describes the specific solution of a hydrogen production power supply control system based on an electrolyzer provided by the present invention with reference to the accompanying drawings. Please refer to Figure 3 , which shows a schematic diagram of the composition structure of a hydrogen production power supply control system based on an electrolyzer provided by an embodiment of the present invention. The system 300 includes:

[0072] A power supply 301, a conversion circuit 302, a hydrogen production electrolyzer 303, and a hydrogen production power supply controller 304; where:

[0073] The positive and negative electrodes of the power supply are respectively connected to the first end and the second end of the conversion circuit, and the third end and the fourth end of the conversion circuit are respectively connected to the first end and the second end of the hydrogen production electrolyzer; the third end of the hydrogen production electrolyzer is connected to the hydrogen production power supply controller;

[0074] The conversion circuit 302 is used to convert the current input by the power supply and input the converted current into the hydrogen production electrolyzer.

[0075] Here, the conversion circuit is at least one conversion circuit, which can be an AC / DC conversion circuit or a DC / DC conversion circuit. The power supply 301 can be a DC power supply or an AC power supply. If the power supply 301 is a DC power supply, then the conversion circuit is a DC / DC conversion circuit, and by performing DC-DC conversion on the current input by the power supply, it can be input into the hydrogen production electrolyzer. If the power supply 301 is an AC power supply, then the conversion circuit includes: an AC / DC conversion circuit and a DC / DC conversion circuit. First, perform AC / DC conversion on the AC power supply, and then perform DC / DC conversion to input it into the hydrogen production electrolyzer.

[0076] According to the input requirements, the DC power that cannot be directly matched with the electrolyzer, including photovoltaic and batteries, is processed by the DC / DC conversion circuit 302 of the hydrogen production power supply and then converted for use by the hydrogen production power supply of the electrolyzer.

[0077] The hydrogen production power supply controller 304 is used to repeatedly control the port voltage of the hydrogen production electrolyzer, obtain and output a control voltage to the hydrogen production electrolyzer to control the hydrogen production power supply of the hydrogen production electrolyzer.

[0078] Here, the hydrogen production power supply controller 304 can operate in a constant current mode or a constant power mode to meet the requirements of the hydrogen production power supply.

[0079] In some possible implementation manners, the hydrogen production power supply controller includes: a repetitive controller and a modulation unit; where:

[0080] The repetitive controller is connected to the input end of the hydrogen production electrolyzer and is used to repeatedly control the port voltage of the hydrogen production electrolyzer, obtain and output a control voltage; and adjust the port voltage based on the control voltage to obtain an adjusted port voltage and output it to the modulation unit;

[0081] Wherein, the number of the repetitive controllers matches the characteristic frequency of the port voltage of the hydrogen production electrolyzer.

[0082] Here, in the design process of the repetitive controller, by analyzing the frequency points of the characteristic frequency of the port voltage, the number of the repetitive controllers is determined; in this way, the number of the repetitive controllers and the number of the frequency points can be one-to-one, one-to-many, etc.

[0083] In some possible implementation manners, the repetitive controller is further configured to adjust the number of sampling points of the port voltage of the hydrogen production electrolyzer based on the characteristic frequency points of the port voltage of the hydrogen production electrolyzer, to obtain the adjusted number of sampling points; and perform repetitive control on the port voltage of the hydrogen production electrolyzer based on the adjusted number of sampling points, to obtain the control voltage.

[0084] Here, the range of the characteristic frequency points of the port voltage is relatively wide. To ensure the control effect, the number of sampling points of the repetitive controller is adjusted according to the selection of the characteristic frequency points. One or more repetitive controllers can be used for repetitive control corresponding to multiple characteristic frequency points, so as to improve the accuracy of the control voltage.

[0085] In some possible implementation manners, when the hydrogen production power supply operates in the constant current mode, the hydrogen production power supply controller further includes: a constant current control unit; that is, a constant current control unit is designed on the hydrogen production power supply controller, so that a constant current control algorithm runs on the hydrogen production power supply controller.

[0086] The constant current control unit has its first end connected to the electrolysis current target value and its second end connected to the electrolysis current feedback value;

[0087] The constant current control unit is configured to perform proportional integration on the electrolysis current target value and the electrolysis current feedback value to obtain a first processing result; and adjust the port voltage of the hydrogen production electrolyzer based on the first processing result and the control voltage output by the repetitive controller, and output the adjusted port voltage to the modulation unit.

[0088] As Figure 4 shown, the constant current control unit includes: a first exclusive OR module 41, a first superposition module, a first proportional integral controller 42, and a second exclusive OR module 43; where:

[0089] The first exclusive OR module is configured to perform exclusive OR on the electrolysis current target value and the electrolysis current feedback value to obtain a first exclusive OR result;

[0090] As Figure 4 shown, the electrolysis current target value is Iref; the electrolysis current feedback value is Iout.

[0091] The first proportional integral controller (PI) is configured to perform proportional integration on the first exclusive OR result to obtain the first processing result.

[0092] Wherein, the first processing result is the output result of the first proportional integral controller (PI), and the first processing result is output to the second exclusive OR module.

[0093] The first superposition module is configured to superpose the control voltage output by the repetitive controller on the port voltage of the hydrogen production electrolyzer to obtain the superposed port voltage.

[0094] As Figure 4 shown, the repetitive controller 44 accesses the port voltage Vout of the hydrogen production electrolyzer, performs repetitive control on the port voltage to generate a control voltage, and outputs it to the first superposition module. The first superposition module superposes the control voltage output by the repetitive controller at the position of Vout in the loop, thereby changing the value of the feedforward Vout.

[0095] The second exclusive-OR module is configured to perform an exclusive-OR operation on the superposed port voltage and the first processing result to obtain the adjusted port voltage.

[0096] Here, by performing an exclusive-OR operation on the superposed port voltage and the first processing result, the adjusted port voltage is obtained and input to the modulation unit 45 as Figure 4 shown.

[0097] In some possible implementation manners, when the hydrogen production power supply operates in a constant power mode, the hydrogen production power supply controller further includes: a constant power control unit; that is, a constant power control unit is designed on the hydrogen production power supply controller, so that a constant power control algorithm runs on the hydrogen production power supply controller. The constant power control unit has a first end connected to the electrolysis target power, a second end connected to the electrolysis power feedback value, a third end connected to the electrolysis current target value, and a fourth end connected to the electrolysis current feedback value;

[0098] The constant power control unit is configured to process the electrolysis target power and the electrolysis power feedback value to obtain a second processing result; and based on the second processing result, the electrolysis current target value, the electrolysis current feedback value, and the control voltage output by the repetitive controller, adjust the port voltage of the hydrogen production electrolyzer, and output the adjusted port voltage to the modulation unit.

[0099] Here, the second processing result and the control voltage output by the repetitive controller are divided to obtain a division result; and the division result, the electrolysis current target value, and the electrolysis current feedback value are superposed on the port voltage of the hydrogen production electrolyzer, and the adjusted port voltage can be obtained and output to the modulation unit.

[0100] As Figure 5 shown, the constant power control unit includes: a divider (DIV), a second proportional-integral controller (PI), a third proportional-integral controller (PI), a third exclusive-OR module 51, a second superposition module, a fourth exclusive-OR module 52, a fifth exclusive-OR module 53, and a sixth exclusive-OR module 54; where:

[0101] The third exclusive-OR module is configured to perform an exclusive-OR operation on the electrolysis target power and the electrolysis power feedback value to obtain a second exclusive-OR result.

[0102] Here, the third exclusive-OR module 51 inputs the electrolysis target power Pref and the electrolysis power feedback value Pout.

[0103] The fourth exclusive-OR module is configured to perform an exclusive-OR operation on the control voltage output by the repetitive controller and the port voltage to obtain a third exclusive-OR result.

[0104] The second proportional-integral controller is configured to perform proportional integration on the second exclusive-OR result to obtain the second processing result.

[0105] Here, the second processing result is the output result of the second proportional-integral controller and is output to the divider, so that the divider divides the second processing result by the third exclusive-OR result.

[0106] The divider is configured to divide the second processing result by the third exclusive-OR result to obtain the division result.

[0107] Here, the division result is obtained by dividing the second processing result by the third exclusive-OR result.

[0108] The fifth exclusive-OR module is configured to perform an exclusive-OR operation on the electrolysis current target value and the electrolysis current feedback value to obtain a fourth exclusive-OR result.

[0109] Here, the fifth exclusive-OR module inputs the electrolysis current target value Iref and the electrolysis current feedback value Iout.

[0110] The third proportional-integral controller is configured to perform proportional integration on the fourth exclusive-OR result to obtain an integration result.

[0111] Here, as Figure 5 shown, the integration result is output to the sixth exclusive-OR module, so that the sixth exclusive-OR module generates a modulated port voltage and outputs it to Figure 5 the modulation unit 55 shown.

[0112] The second summing module is configured to sum the control voltage output by the repetitive controller, the port voltage of the hydrogen production electrolyzer, and the integration result to obtain the superimposed port voltage.

[0113] Here, repetitive control is performed on the port voltage Vout of the hydrogen production electrolyzer. Vout is used as the input of the repetitive controller, and the output result of the repetitive controller (i.e., the second processing result) is superimposed at the position where the output result of the power loop PI in the loop is divided by Vout, thereby changing the Vout value here.

[0114] The sixth exclusive OR module is configured to perform an exclusive OR operation on the superimposed port voltage and the integration result to obtain the modulated port voltage.

[0115] Here, the modulated port voltage is output to the modulation unit, so that the modulation unit generates a control pulse based on the modulated port voltage, thereby controlling the hydrogen production power supply of the hydrogen production electrolyzer.

[0116] The modulation unit is configured to modulate the modulated port voltage to generate a control pulse for controlling the hydrogen production power supply of the hydrogen production electrolyzer.

[0117] Here, after the modulated port voltage is output to the modulation unit, the modulation unit modulates the modulated port voltage, thereby controlling the pulse and outputting it to the hydrogen production electrolyzer to control the hydrogen production power supply of the hydrogen production electrolyzer.

[0118] In the embodiment of the present invention, the positive and negative poles of the power supply are respectively connected to the first end and the second end of the conversion circuit, and the third end and the fourth end of the conversion circuit are respectively connected to the first end and the second end of the hydrogen production electrolyzer; the third end of the hydrogen production electrolyzer is connected to the hydrogen production power supply controller; in this way, the conversion circuit converts the current input by the power supply, and inputs the converted current into the hydrogen production electrolyzer, thereby providing a direct current for the hydrogen production electrolyzer. Then, the hydrogen production power supply controller repeatedly controls the port voltage of the hydrogen production electrolyzer, obtains and outputs a control voltage to the hydrogen production electrolyzer to control the hydrogen production power supply of the hydrogen production electrolyzer; in this way, by repeatedly controlling the port voltage of the hydrogen production electrolyzer, it is possible to achieve real-time tracking of the fluctuation of the port voltage and decoupling of the influence of current control, improve the adaptation to the voltage fluctuation of the electrolyzer; thereby improve the accuracy and stability of current tracking control, reduce current fluctuation, improve the stability of hydrogen production, reduce the pressure fluctuation at the gas outlet port, and improve the service life of the system.

[0119] The embodiment of the present invention provides a method for controlling a hydrogen production power supply based on an electrolyzer, as Figure 6 shown, and the following description will be made in combination with Figure 6 the steps shown:

[0120] 601. Obtain the port voltage of the hydrogen production electrolyzer.

[0121] Here, after the hydrogen production electrolyzer enters the operating state, the port voltage of the hydrogen production electrolyzer is detected. For the electrolyzer, due to its internal characteristics, under the same current, changes in its own conditions including but not limited to temperature will cause changes in its port voltage. Considering that the sizes, materials, heat dissipation capabilities, temperature control systems and other environmental control systems of different electrolyzers are different, it is difficult to operate the modeling and principle analysis of each electrolyzer. During operation, monitor the port voltage state of the electrolyzer and store data. The data can be stored in different frequency bands.

[0122] 602. Perform a frequency-domain conversion on the port voltage to obtain frequency data.

[0123] Here, by performing a fast Fourier transform (FFT) on the port voltage, frequency points are obtained. Since the characteristic frequency range of the electrolytic cell may be very wide (from 10 kilohertz (kHz) to 0.01 Hz), considering the complexity of the fast Fourier transform, multiple sampling frequencies (f1, f2, f3) are set in the controller to record data, and the characteristic frequencies in specific frequency ranges are calculated respectively. For example, f1 corresponds to 10 kHz to 100 Hz, f2 corresponds to 100 Hz to 1 Hz, and f3 corresponds to 1 Hz to 0.01 Hz. Here, multiple characteristic frequency points can be obtained: fn1, fn2, fn3 (corresponding to 3 frequency intervals respectively); so as to use fn1, fn2, fn3 subsequently to obtain a repetitive controller for repetitive control.

[0124] 603. Determine a hydrogen production power supply controller whose control parameters match the frequency data.

[0125] Here, after confirming its characteristic frequency points through Fourier transform, due to the voltage fluctuation of the electrolytic cell caused by environmental characteristics, its frequency range is relatively wide, and it may be from the second level to the minute level. Therefore, multiple different data acquisition and analyzers are designed according to the system situation to ensure the effect; on this basis, since the characteristic frequency point range is relatively wide, to ensure the control effect, the sampling points of the repetitive controller need to be adjusted according to the selection of the characteristic frequency points, and one or more repetitive controllers can be used, corresponding to the repetitive control of multiple characteristic frequency points.

[0126] First, determine whether the frequency data is greater than a preset frequency threshold; wherein, the preset frequency threshold can be a custom threshold. Then, if the frequency threshold is greater than the preset frequency threshold, construct a repetitive controller in the hydrogen production power supply controller based on the frequency data.

[0127] In some possible implementation manners, confirm its characteristic frequency points by performing a fast Fourier transform on the port voltage. Use a repetitive controller for compensation control, and its discrete transfer function where Q(z) takes a constant value of 0.95; n is the ratio of the characteristic frequency to the control frequency.

[0128] Due to different values of the characteristic frequency and the control frequency, resulting in different values of n, different characteristic frequencies require different repetitive controllers. As exemplified above, fn1, fn2, fn3 require the use of three different repetitive controllers.

[0129] 604. Use the hydrogen production power supply controller to perform repetitive control on the port voltage to obtain a control voltage.

[0130] Here, the port voltage is repetitively controlled by the said repetitive controller to obtain the control voltage.

[0131] 605. The control voltage is superimposed on the port voltage to control the hydrogen production power supply of the hydrogen production electrolyzer.

[0132] Here, if the hydrogen production electrolyzer operates in the constant current mode, that is, for the current loop, the control voltage output by the repetitive controller is superimposed on the port voltage feedforward. If the hydrogen production electrolyzer operates in the constant power mode, that is, for the power loop, the control voltage output by the repetitive controller is superimposed on the port voltage feedforward and the given current calculation.

[0133] In the above steps 601 to 605, first, the characteristic frequency point scanning algorithm is started; second, the control system is powered on and runs stably; third, the control system operates in the constant current or constant power mode; third, it is judged whether the data capture is completed (FFT needs to collect a certain amount of data before calculation can be performed); if the data capture is completed, proceed to the next step; otherwise, continue the data capture; third, Fourier analysis is performed using FFT to obtain multiple frequency points; finally, the values of each frequency point are judged; if the value of the frequency point is greater than the threshold, the characteristic frequency point is confirmed, and the sampling frequency is determined according to the characteristic frequency point to obtain the characteristic frequency.

[0134] In some possible implementation manners, the control voltage is superimposed on the port voltage to obtain the modulated port voltage; the modulated port voltage is modulated by a modulation unit to generate a control pulse for controlling the hydrogen production power supply of the hydrogen production electrolyzer. In this way, according to the characteristics of the electrolyzer, a control algorithm is used to track the voltage fluctuation in real time, realizing the decoupling of the influence on current control and improving the adaptation to the voltage fluctuation of the electrolyzer. For the new energy hydrogen production power supply system, by observing the load voltage fluctuation, the accuracy of power tracking control is improved, and the predictability of power is ensured; moreover, for the AC hydrogen production system, by observing the load voltage fluctuation, the accuracy and stability of current tracking control are improved, the current fluctuation is reduced, the hydrogen production stability is enhanced, the outlet port pressure fluctuation is reduced, and the service life of the system is improved.

[0135] Optionally, the transmission medium may be a wired link (such as but not limited to, coaxial cable, optical fiber, and Digital Subscriber Line (DSL), etc.) or a wireless link (such as but not limited to, Wireless Fidelity (WIFI), Bluetooth, and mobile device network, etc.). It should be noted that: For the system provided in the above embodiments, only the division of the above functional modules is used for illustration. In practical applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the functions described above. In addition, the method embodiments provided in the above embodiments belong to the same concept. For the specific implementation process, please refer to the method embodiments, and details are not described here again.

[0136] Figure 7 This is a schematic structural diagram of a computer device provided by an embodiment of the present invention. Exemplarily, as Figure 7 shown, the computer device 700 includes: a memory 701, a processor 702, and a computer program 703 stored in the memory 701 and running on the processor 702. When the processor 702 executes the computer program 703, the computer device can execute any one of the aforementioned hydrogen production power supply control methods based on an electrolytic cell.

[0137] In addition, an embodiment of the present invention also protects a system. The system may include a memory and a processor. Among them, an executable program code is stored in the memory, and the processor is used to call and execute the executable program code to execute a hydrogen production power supply control method based on an electrolytic cell provided by an embodiment of the present invention. In this embodiment, the system can be divided into functional modules according to the above method examples. For example, it can correspond to each functional module, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is illustrative, only a logical function division, and there may be other division methods in actual implementation. It should be noted that all relevant contents of each step involved in the above method embodiments can be cited in the function description of the corresponding functional modules, and details are not described here again.

[0138] It should be understood that the system provided in this embodiment is used to execute the above-mentioned hydrogen production power supply control method based on an electrolytic cell, so the same effects as those of the above implementation method can be achieved. In the case of adopting an integrated unit, the system may include a processing module and a storage module. Among them, when the system is applied to a device, the processing module can be used to control and manage the actions of the device. The storage module can be used to support the device to execute mutual program codes, etc. Among them, the processing module can be a processor or a controller, which can implement or execute various exemplary logic blocks, modules and circuits described in combination with the disclosure of the present invention. The processor can also be a combination that realizes computing functions, such as including a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module can be a memory.

[0139] In addition, the system provided in the embodiment of the present invention can specifically be a chip, a component or a module. The chip may include a connected processor and a memory. Among them, the memory is used to store instructions. When the processor calls and executes the instructions, the chip can execute the above-mentioned hydrogen production power supply control method based on an electrolytic cell provided in the above embodiment. This embodiment also provides a computer-readable storage medium. The computer-readable storage medium stores computer program codes. When the computer program codes run on a computer, the computer is enabled to execute the above-mentioned relevant method steps to implement the above-mentioned hydrogen production power supply control method based on an electrolytic cell provided in the above embodiment.

[0140] This embodiment also provides a computer program product. When the computer program product runs on a computer, it causes the computer to execute the above-related steps to implement a hydrogen production power supply control method based on an electrolytic cell provided in the above embodiment. Among them, the system, computer-readable storage medium, computer program product, or chip provided in this embodiment are all used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be elaborated here. Through the description of the above embodiments, those skilled in the art can understand that for the convenience and conciseness of description, only the above division of each functional module is used as an example. In actual applications, the above functions can be assigned to different functional modules according to needs, that is, the internal structure of the system is divided into different functional modules to complete all or part of the functions described above. In the embodiments provided by the present invention, it should be understood that the disclosed system and method can be implemented in other ways. For example, the system embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection can be through some interfaces. The indirect coupling or communication connection of the system or unit can be in an electrical, mechanical or other form.

[0141] It should be noted that the above sequence of the embodiments of the present invention is only for description and does not represent the superiority or inferiority of the embodiments. The processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multi-task processing and parallel processing are also possible or may be advantageous. Each embodiment in this specification is described in a progressive manner. The same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. The above content is only the specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of changes or substitutions, which should all be covered by the protection scope of the present invention.

Claims

1. A hydrogen production power supply control system based on an electrolytic cell, characterized in that, The hydrogen production power supply control system based on an electrolytic cell includes: a power supply, a conversion circuit, a hydrogen production electrolytic cell, and a hydrogen production power supply controller; where: The positive and negative poles of the power supply are respectively connected to the first end and the second end of the conversion circuit, and the third end and the fourth end of the conversion circuit are respectively connected to the first end and the second end of the hydrogen production electrolytic cell; the third end of the hydrogen production electrolytic cell is connected to the hydrogen production power supply controller; The conversion circuit is configured to convert the current input by the power supply and input the converted current into the hydrogen production electrolytic cell; The hydrogen production power supply controller is configured to repetitively control the port voltage of the hydrogen production electrolytic cell, obtain and output a control voltage to the hydrogen production electrolytic cell to control the hydrogen production power supply of the hydrogen production electrolytic cell.

2. The hydrogen production power supply control system based on an electrolytic cell according to claim 1, wherein The hydrogen production power supply controller includes: a repetitive controller and a modulation unit; where: The repetitive controller is connected to the input end of the hydrogen production electrolytic cell and is configured to repetitively control the port voltage of the hydrogen production electrolytic cell, obtain and output a control voltage; and adjust the port voltage based on the control voltage to obtain an adjusted port voltage and output it to the modulation unit; where the number of the repetitive controllers matches the characteristic frequency of the port voltage of the hydrogen production electrolytic cell; The modulation unit is configured to modulate the adjusted port voltage to generate control pulses for controlling the hydrogen production power supply of the hydrogen production electrolytic cell.

3. The hydrogen production power supply control system based on an electrolytic cell according to claim 2, characterized in that, The repetitive controller is further configured to adjust the sampling points of the port voltage of the hydrogen production electrolytic cell based on the characteristic frequency point of the port voltage of the hydrogen production electrolytic cell to obtain adjusted sampling points; and repetitively control the port voltage of the hydrogen production electrolytic cell based on the adjusted sampling points to obtain the control voltage.

4. The hydrogen production power supply control system based on an electrolytic cell according to claim 1, wherein The hydrogen production power supply controller further includes: a constant current control unit; The first end of the constant current control unit is connected to the electrolysis current target value, and the second end is connected to the electrolysis current feedback value; The constant current control unit is configured to perform proportional integration on the electrolysis current target value and the electrolysis current feedback value to obtain a first processing result; and adjust the port voltage of the hydrogen production electrolytic cell based on the first processing result and the control voltage output by the repetitive controller, and output the adjusted port voltage to the modulation unit.

5. The hydrogen production power supply control system based on an electrolytic cell according to claim 4, characterized in that, The constant current control unit includes: a first exclusive-OR module, a first superposition module, a first proportional-integral controller, and a second exclusive-OR module; where: The first exclusive-OR module is configured to perform exclusive-OR on the electrolysis current target value and the electrolysis current feedback value to obtain a first exclusive-OR result; The first proportional-integral controller is configured to perform proportional integration on the first exclusive-OR result to obtain the first processing result; The first superposition module is configured to superimpose the control voltage output by the repetitive controller on the port voltage of the hydrogen production electrolytic cell to obtain a superimposed port voltage; The second exclusive-OR module is configured to perform exclusive-OR on the superimposed port voltage and the first processing result to obtain the adjusted port voltage.

6. The hydrogen production power supply control system based on an electrolytic cell according to claim 1, characterized in that, The hydrogen production power supply controller further includes: a constant power control unit; The constant power control unit has its first terminal connected to the electrolysis target power, its second terminal connected to the electrolysis power feedback value, its third terminal connected to the electrolysis current target value, and its fourth terminal connected to the electrolysis current feedback value; The constant power control unit is used to process the electrolysis target power and the electrolysis power feedback value to obtain a second processing result; and based on the second processing result, the electrolysis current target value, the electrolysis current feedback value, and the control voltage output by the repetitive controller, adjust the port voltage of the hydrogen production electrolyzer and output the adjusted port voltage to the modulation unit.

7. The hydrogen production power supply control system based on an electrolytic cell according to claim 6, characterized in that, The constant power control unit includes: a divider, a second proportional-integral controller, a third proportional-integral controller, a third exclusive-OR module, a second summing module, a fourth exclusive-OR module, a fifth exclusive-OR module, and a sixth exclusive-OR module; where: The third exclusive-OR module is used to perform an exclusive-OR operation on the electrolysis target power and the electrolysis power feedback value to obtain a second exclusive-OR result; The fourth exclusive-OR module is used to perform an exclusive-OR operation on the control voltage output by the repetitive controller and the port voltage to obtain a third exclusive-OR result; The second proportional-integral controller is used to perform proportional-integration on the second exclusive-OR result to obtain the second processing result; The divider is used to divide the second processing result by the third exclusive-OR result to obtain a division result; The fifth exclusive-OR module is used to perform an exclusive-OR operation on the electrolysis current target value and the electrolysis current feedback value to obtain a fourth exclusive-OR result; The third proportional-integral controller is used to perform proportional-integration on the fourth exclusive-OR result to obtain an integration result; The second summing module is used to sum the control voltage output by the repetitive controller, the port voltage of the hydrogen production electrolyzer, and the integration result to obtain a superimposed port voltage; The sixth exclusive-OR module is used to perform an exclusive-OR operation on the superimposed port voltage and the integration result to obtain the adjusted port voltage.

8. A hydrogen production power supply control method based on an electrolytic cell, characterized in that, The method includes: Obtaining the port voltage of the hydrogen production electrolyzer; Performing frequency domain conversion on the port voltage to obtain frequency data; Determining a hydrogen production power controller whose control parameters match the frequency data; Using the hydrogen production power controller to perform repetitive control on the port voltage to obtain a control voltage; Superimposing the control voltage on the port voltage to control the hydrogen production power source of the hydrogen production electrolyzer.

9. A hydrogen production power supply control method based on an electrolytic cell according to claim 8, characterized in that, The determining a hydrogen production power controller whose control parameters match the frequency data includes: Determining whether the frequency data is greater than a preset frequency threshold; If the frequency threshold is greater than the preset frequency threshold, constructing a repetitive controller in the hydrogen production power controller based on the frequency data.

10. A hydrogen production power supply control method based on an electrolytic cell according to claim 9, characterized in that, The using the hydrogen production power controller to perform repetitive control on the port voltage to obtain a control voltage includes: Using the repetitive controller to perform repetitive control on the port voltage to obtain the control voltage; The controlling the hydrogen production power source of the hydrogen production electrolyzer based on the control voltage includes: Superimposing the control voltage on the port voltage to obtain an adjusted port voltage; Modulating the adjusted port voltage to generate control pulses for controlling the hydrogen production power source of the hydrogen production electrolyzer.