Method and device for adjusting anode output current and computer program product
By monitoring and calculating the target anode output current in real time and adjusting the output current of the ICCP system, the problem of uneven current distribution and inability to adjust in real time in traditional ICCP systems is solved, and the corrosion protection efficiency of underwater metal structures is improved.
Patent Information
- Application Number
- CN202411478866.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-22
- Publication Date
- 2025-02-14
AI Technical Summary
The current distribution of traditional ICCP systems is uneven and cannot be adjusted in real time according to changes in the marine environment, resulting in poor corrosion protection effect of underwater metal structures.
By obtaining monitoring data of the underwater metal structure, including potential, current and environmental parameters, the target anode output current is calculated using the objective function, and the output current is adjusted so that the current anode output current is equal to the target anode output current.
It realizes more uniform and efficient electrochemical corrosion protection of the underwater metal structure, and improves protection efficiency.
Smart Images

Figure CN119433543A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electrochemical technology, and in particular to a method, device and computer program product for adjusting an anode output current. Background Art
[0002] In offshore wind power projects, underwater metal structures such as wind power monopile foundations, ship hulls, and submarine pipelines are in the marine environment for a long time and are easily subject to electrochemical corrosion, which affects the safety and service life of the structure. In the prior art, an external current is usually applied through an ICCP (Impressed Current Cathodic Protection) system to reduce the surface potential of the protected metal to a certain level to prevent corrosion of the metal structure. However, the current distribution of the traditional ICCP system is uneven, and the use of a fixed current output leads to local current concentration or insufficient protection, and the current output cannot be adjusted in real time according to environmental changes such as water temperature and salinity, resulting in poor protection of underwater metal structures.
[0003] Therefore, in the related art, there is a problem of how to improve the protection efficiency of underwater metal structures in the impressed current cathodic protection system.
[0004] With regard to the problem of how to improve the protection efficiency of underwater metal structures in impressed current cathodic protection systems in related technologies, no effective solution has been proposed so far.
[0005] Therefore, it is necessary to improve the related technology to overcome the above-mentioned defects in the related technology. Summary of the invention
[0006] The embodiments of the present application provide a method, device and computer program product for adjusting the anode output current, so as to at least solve the problem in the related art of how to improve the protection efficiency of underwater metal structures in an impressed current cathodic protection system.
[0007] According to one aspect of an embodiment of the present application, a method for adjusting an anode output current is provided and applied to an underwater metal structure connected to an external power supply, wherein the underwater metal structure is connected to an output end of the external power supply, and the method comprises: obtaining monitoring data monitored by a monitoring node arranged on the underwater metal structure, wherein the monitoring data comprises a monitoring potential and a current anode output current; calculating the monitoring data using an objective function to obtain a target anode output current, wherein the target anode output current satisfies a target constraint condition and the target anode output current has the lowest output current cost under the target constraint condition; and adjusting the output current of the output end to control the current value of the current anode output current to be equal to the current value of the target anode output current.
[0008] In an exemplary embodiment, the monitoring data also includes environmental parameters, which include temperature, salinity, and pH. Acquiring the monitoring data monitored by the monitoring nodes set at the underwater metal structure includes: setting a plurality of monitoring nodes on the surface of the underwater metal structure; installing a plurality of sensors at each monitoring node, wherein the plurality of sensors include a potential sensor, a current sensor, a temperature sensor, a salinity sensor, and a pH sensor; acquiring the potential, current, and environmental parameters of each monitoring node through the plurality of sensors to obtain the monitoring data.
[0009] In an exemplary embodiment, the objective function is constructed by the following formula:
[0010]
[0011] Among them, V i Represents the potential of the ith monitoring node. V ref represents the protection potential set for the i-th monitoring node. i , S i , pH i ) represents the weight function of temperature, salinity, and pH in the environmental parameters, and Ii represents the anode output current of the i-th monitoring node. i ) represents the output current cost function of the i-th monitoring node, n represents the number of monitoring nodes, and λ represents the regularization coefficient.
[0012] In an exemplary embodiment, the weight function of the temperature, the salinity and the pH is determined by the following formula:
[0013]
[0014] Wherein, f1 represents the weight function of the temperature, f2 represents the weight function of the salinity, f3 represents the weight function of the pH, T ref Indicates the standard temperature at which the underwater metal structure undergoes corrosion reaction, pH neutral Indicates neutral pH.
[0015] In an exemplary embodiment, the output current cost function is determined by the following formula:
[0016] C(I)=G(I)+L(I);
[0017] Wherein, C(I) represents the output current cost function, G(I) represents the power consumption function, and C(I) represents the equipment loss function.
[0018] In an exemplary embodiment, the anode output current of the monitoring node is adjusted by the following formula:
[0019] I j (t+1)=I j (t)+ΔI j ;
[0020]
[0021] Among them, I j (t+1) represents the anode output current of the jth monitoring node at time t+1, I j (t) represents the anode output current of the jth monitoring node at time t, ΔI j is the current adjustment, k p Representation coefficient, k i Indicates the integral coefficient, k d represents the differential coefficient.
[0022] According to another aspect of an embodiment of the present application, there is also provided an anode output current adjustment device, including: an acquisition module, used to acquire monitoring data monitored by a monitoring node arranged on the underwater metal structure, wherein the monitoring data includes a monitoring potential and a current anode output current; a calculation module, used to calculate the monitoring data using an objective function to obtain a target anode output current, wherein the target anode output current satisfies a target constraint condition and the target anode output current has the lowest output current cost under the target constraint condition; an adjustment module, used to adjust the output current of the output end to control the current value of the current anode output current to be equal to the current value of the target anode output current.
[0023] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned method for adjusting the anode output current when running.
[0024] According to another aspect of an embodiment of the present application, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the anode output current adjustment method through the computer program.
[0025] According to another aspect of the embodiments of the present application, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps of the method described in each embodiment of the present application are implemented.
[0026] Through the present application, the monitoring data set on the underwater metal structure can be obtained, and then the monitoring data can be calculated using the objective function to obtain the target anode output current, and then the output current of the external power supply output end can be adjusted to control the current value of the current anode output current to be equal to the current value of the target anode output current. Thus, the problem of how to improve the protection efficiency of underwater metal structures in the impressed current cathodic protection system in the related art is solved, and the effect of improving the protection efficiency of underwater metal structures in the impressed current cathodic protection system is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0028] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0029] Figure 1 It is a hardware structure block diagram of a computer terminal of an anode output current adjustment method according to an embodiment of the present application;
[0030] Figure 2 is a flow chart of a method for adjusting an anode output current according to an embodiment of the present application;
[0031] Figure 3 It is a structural block diagram of an anode output current adjustment device according to an embodiment of the present application. DETAILED DESCRIPTION
[0032] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0034] The method embodiments provided in the embodiments of the present application can be executed in a computer terminal or a similar computing device. Taking running on a computer terminal as an example, Figure 1 FIG. 1 is a hardware structure block diagram of a computer terminal of a method for adjusting an anode output current according to an embodiment of the present application. Figure 1 As shown, the computer terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor (Central Processing Unit, MCU) or a programmable logic device (Field Programmable Gate Array, FPGA)) and a memory 104 for storing data, wherein the above-mentioned computer terminal may also include a transmission device 106 and an input and output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above-mentioned computer terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0035] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the method for adjusting the anode output current in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0036] A wireless network provided by a communication provider of a computer terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (Radio Frequency, referred to as RF) module, which is used to communicate with the Internet wirelessly.
[0037] In this embodiment, a method for adjusting the anode output current is provided. Figure 2 is a flow chart of a method for adjusting an anode output current according to an embodiment of the present application, such as Figure 2 As shown, the process includes the following steps:
[0038] Step S202, acquiring monitoring data monitored by a monitoring node set at the underwater metal structure, wherein the monitoring data includes monitoring potential and current anode output current;
[0039] Step S204, using an objective function to calculate the monitoring data to obtain a target anode output current, wherein the target anode output current satisfies a target constraint condition, and the target anode output current has the lowest output current cost under the target constraint condition;
[0040] Step S206, adjusting the output current of the output terminal to control the current value of the current anode output current to be equal to the current value of the target anode output current.
[0041] Optionally, in the above steps, the underwater metal structure refers to a metal structure to which an impressed current cathodic protection method is applied, that is, the underwater metal structure acts as a protected cathode connected to the negative electrode of an external power source, an auxiliary anode (such as an inert metal) is connected to the positive electrode of the external power source, and the current flows from the positive electrode of the external power source to the anode, the electrolyte, and the underwater metal structure in sequence. The current value of the output of the anode is controlled by adjusting the current value output from the entire machine by the external power source.
[0042] Through the above steps, the monitoring data set on the underwater metal structure can be obtained, and then the monitoring data can be calculated using the objective function to obtain the target anode output current, and then the output current of the external power supply output end can be adjusted to control the current value of the current anode output current to be equal to the current value of the target anode output current. This solves the problem of how to improve the protection efficiency of underwater metal structures in the impressed current cathodic protection system in the related art, and achieves the effect of improving the protection efficiency of underwater metal structures in the impressed current cathodic protection system.
[0043] In an exemplary embodiment, the monitoring data also includes environmental parameters, which include temperature, salinity, and pH. Acquiring the monitoring data monitored by the monitoring nodes set at the underwater metal structure includes: setting a plurality of monitoring nodes on the surface of the underwater metal structure; installing a plurality of sensors at each monitoring node, wherein the plurality of sensors include a potential sensor, a current sensor, a temperature sensor, a salinity sensor, and a pH sensor; acquiring the potential, current, and environmental parameters of each monitoring node through the plurality of sensors to obtain the monitoring data.
[0044] Optionally, in the above embodiment, multiple monitoring nodes are set on the surface of the protected underwater metal structure, and each node is installed with multiple sensors to form a sensor network for real-time collection of potential, current density and environmental parameters (such as temperature, pH value, salinity and flow rate, etc.). After completing the data collection, the data can also be sent to the central control unit to construct a potential distribution map of the metal surface and analyze the corrosion risk of the local area.
[0045] In an exemplary embodiment, the objective function is constructed by the following formula:
[0046]
[0047] Among them, V i Represents the potential of the ith monitoring node. V ref represents the protection potential set for the i-th monitoring node. i , S i , pH i) represents the weight function of temperature, salinity, and pH in the environmental parameters, and Ii represents the anode output current of the i-th monitoring node. i ) represents the output current cost function of the i-th monitoring node, n represents the number of monitoring nodes, and λ represents the regularization coefficient.
[0048] Optionally, in the above embodiment, the protection potential refers to the potential at which the metal surface can form an electrochemically stable state, thereby maximizing the reduction of the metal corrosion rate. The potential of the monitoring node depends on the output current of the anode, and the above objective function is used to obtain the current value of the anode output current when the difference between the monitoring node potential and the protection potential is within a certain range and the current cost function is the lowest. The above regularization coefficient is used to balance the accuracy of the protection potential and the output current cost.
[0049] Optionally, during the calculation of the above objective function, the anode output current may be adjusted in real time by a genetic algorithm or a particle swarm optimization algorithm so that the potential of each monitoring node is maintained within a target range and the output current cost is minimized.
[0050] In an exemplary embodiment, the weight function of the temperature, the salinity and the pH is determined by the following formula:
[0051]
[0052] Wherein, f1 represents the weight function of the temperature, f2 represents the weight function of the salinity, f3 represents the weight function of the pH, T ref Indicates the standard temperature at which the underwater metal structure undergoes corrosion reaction, pH neutral Indicates neutral pH.
[0053] Optionally, in the above embodiment, the corrosion rate of the underwater metal structure is also related to the environmental parameters of the monitoring node (such as temperature, salinity, pH, etc.). Therefore, when the environmental parameters change, the weight values of the environmental parameters in the objective function need to be adjusted accordingly.
[0054] In an exemplary embodiment, the output current cost function is determined by the following formula:
[0055] C(I)=G(I)+L(I);
[0056] Wherein, C(I) represents the output current cost function, G(I) represents the power consumption function, and C(I) represents the equipment loss function.
[0057] Optionally, in the above embodiment, the power consumption function is determined by the current magnitude and duration, and can be calculated by the following formula:
[0058]
[0059] Where P(t) is power, which is equal to the square of the current multiplied by the resistance, I is the current, and R is the resistance of the system.
[0060] Optionally, in the above embodiment, the device loss function mainly considers the loss of the anode and the power supply device caused by long-term high current output, and can be calculated by the following formula:
[0061] L(I)=β1I 2 +β2I 4 ;
[0062] Among them, β1 and β2 are weight coefficients.
[0063] In an exemplary embodiment, the anode output current of the monitoring node is adjusted by the following formula:
[0064] I j (t+1)=I j (t)+ΔI j ;
[0065]
[0066] Among them, I j (t+1) represents the anode output current of the jth monitoring node at time t+1, I j (t) represents the anode output current of the jth monitoring node at time t, ΔI j is the current adjustment, k p Representation coefficient, k i Indicates the integral coefficient, k d represents the differential coefficient.
[0067] Optionally, in the above embodiment, a feedback regulation mechanism can be used to adjust the current output in real time through an intelligent algorithm, and the current can be redistributed according to the monitored potential changes to ensure that all areas of the metal structure are evenly protected.
[0068] Through the above embodiments, the effectiveness of the underwater metal overall protection current is maximized based on the optimization function, while the energy consumption is minimized. Environmental parameters and potential distribution are incorporated into the optimization process, which improves the adaptability of the current control strategy and the protection efficiency of the metal structure.
[0069] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.
[0070] In this embodiment, a device for adjusting the anode output current is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0071] Figure 3 : is a structural block diagram of an anode output current adjustment device according to an embodiment of the present application, the device comprising:
[0072] An acquisition module 32 is used to acquire monitoring data monitored by a monitoring node arranged on the underwater metal structure, wherein the monitoring data includes monitoring potential and current anode output current;
[0073] A calculation module 34, configured to calculate the monitoring data using an objective function to obtain a target anode output current, wherein the target anode output current satisfies a target constraint condition and the target anode output current has the lowest output current cost under the target constraint condition;
[0074] The adjustment module 36 is used to adjust the output current of the output terminal to control the current value of the current anode output current to be equal to the current value of the target anode output current.
[0075] Through the above device, the monitoring data set on the underwater metal structure can be obtained, and then the monitoring data can be calculated using the objective function to obtain the target anode output current, and then the output current of the external power supply output end can be adjusted to control the current value of the current anode output current to be equal to the current value of the target anode output current. This solves the problem of how to improve the protection efficiency of underwater metal structures in the impressed current cathodic protection system in the related art, and achieves the effect of improving the protection efficiency of underwater metal structures in the impressed current cathodic protection system.
[0076] In an exemplary embodiment, the monitoring data also includes environmental parameters, which include temperature, salinity, and pH. The above-mentioned acquisition module 32 is also used to: set up multiple monitoring nodes on the surface of the underwater metal structure; install multiple sensors at each monitoring node, wherein the multiple sensors include potential sensors, current sensors, temperature sensors, salinity sensors, and pH sensors; obtain the potential, current, and environmental parameters of each monitoring node through the multiple sensors to obtain the monitoring data.
[0077] In an exemplary embodiment, the calculation module 34 is further configured to construct the objective function using the following formula:
[0078]
[0079] Among them, V i Represents the potential of the ith monitoring node. V ref represents the protection potential set for the i-th monitoring node. i , S i , pH i ) represents the weight function of temperature, salinity, and pH in the environmental parameters, and Ii represents the anode output current of the i-th monitoring node. i ) represents the output current cost function of the i-th monitoring node, n represents the number of monitoring nodes, and λ represents the regularization coefficient.
[0080] In an exemplary embodiment, the calculation module 34 is further used to determine the weight function of the temperature, the salinity and the pH by the following formula:
[0081]
[0082] Wherein, f1 represents the weight function of the temperature, f2 represents the weight function of the salinity, f3 represents the weight function of the pH, T ref Indicates the standard temperature at which the underwater metal structure undergoes corrosion reaction, pH neutral Indicates neutral pH.
[0083] In an exemplary embodiment, the calculation module 34 is further configured to determine the output current cost function by the following formula:
[0084] C(I)=G(I)+L(I);
[0085] Wherein, C(I) represents the output current cost function, G(I) represents the power consumption function, and C(I) represents the equipment loss function.
[0086] In an exemplary embodiment, the adjustment module 36 is further configured to adjust the anode output current of the monitoring node by using the following formula:
[0087] I j (t+1)=I j (t)+ΔI j ;
[0088]
[0089] Among them, I j (t+1) represents the anode output current of the jth monitoring node at time t+1, I j (t) represents the anode output current of the jth monitoring node at time t, ΔI j is the current adjustment, k p Representation coefficient, k i Indicates the integral coefficient, k d represents the differential coefficient.
[0090] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0091] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:
[0092] S1, obtaining monitoring data monitored by a monitoring node arranged on the underwater metal structure, wherein the monitoring data includes monitoring potential and current anode output current;
[0093] S2, using an objective function to calculate the monitoring data to obtain a target anode output current, wherein the target anode output current satisfies a target constraint condition and the target anode output current has the lowest output current cost under the target constraint condition;
[0094] S3, adjusting the output current of the output end to control the current value of the current anode output current to be equal to the current value of the target anode output current.
[0095] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.
[0096] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.
[0097] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0098] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0099] S1, obtaining monitoring data monitored by a monitoring node arranged on the underwater metal structure, wherein the monitoring data includes monitoring potential and current anode output current;
[0100] S2, using an objective function to calculate the monitoring data to obtain a target anode output current, wherein the target anode output current satisfies a target constraint condition and the target anode output current has the lowest output current cost under the target constraint condition;
[0101] S3, adjusting the output current of the output end to control the current value of the current anode output current to be equal to the current value of the target anode output current.
[0102] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0103] An embodiment of the present application further provides a computer program product, comprising a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program product, and when the computer program is executed by a processor, the steps of the method described in each embodiment of the present application are implemented.
[0104] Optionally, in this embodiment, the above computer program may be configured to implement the following steps when executed by a processor:
[0105] S1, obtaining monitoring data monitored by a monitoring node arranged on the underwater metal structure, wherein the monitoring data includes monitoring potential and current anode output current;
[0106] S2, using an objective function to calculate the monitoring data to obtain a target anode output current, wherein the target anode output current satisfies a target constraint condition and the target anode output current has the lowest output current cost under the target constraint condition;
[0107] S3, adjusting the output current of the output end to control the current value of the current anode output current to be equal to the current value of the target anode output current.
[0108] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.
[0109] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
[0110] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for adjusting an anode output current, characterized in that: The method is applied to an underwater metal structure connected to an external power source, wherein the underwater metal structure is connected to an output end of the external power source, and comprises: Acquire monitoring data monitored by a monitoring node arranged on the underwater metal structure, wherein the monitoring data includes monitoring potential and current anode output current; Calculating the monitoring data using an objective function to obtain a target anode output current, wherein the target anode output current satisfies a target constraint condition and the target anode output current has the lowest output current cost under the target constraint condition; The output current of the output terminal is adjusted to control the current value of the current anode output current to be equal to the current value of the target anode output current.
2. The method according to claim 1, characterized in that The monitoring data also includes environmental parameters, which include temperature, salinity, and pH. Acquiring the monitoring data monitored by the monitoring node set on the underwater metal structure includes: Setting a plurality of monitoring nodes on the surface of the underwater metal structure; Install multiple sensors at each monitoring node, wherein the multiple sensors include a potential sensor, a current sensor, a temperature sensor, a salinity sensor, and a pH sensor; The potential, current, and environmental parameters of each monitoring node are acquired through the multiple sensors to obtain the monitoring data.
3. The method according to claim 1, characterized in that The objective function is constructed by the following formula: Among them, V i represents the potential of the ith monitoring node, V ref represents the protection potential set for the i-th monitoring node, f(T i , S i , pH i ) represents the weight function of temperature, salinity, and pH in environmental parameters, Ii represents the anode output current of the i-th monitoring node, C(I i ) represents the output current cost function of the i-th monitoring node, n represents the number of monitoring nodes, and λ represents the regularization coefficient.
4. The method according to claim 3, characterized in that The weighting function of the temperature, the salinity and the pH is determined by the following formula: Wherein, f1 represents the weight function of the temperature, f2 represents the weight function of the salinity, f3 represents the weight function of the pH, T ref Indicates the standard temperature at which the underwater metal structure undergoes corrosion reaction, pH neutral Indicates neutral pH.
5. The method according to claim 3, characterized in that: The output current cost function is determined by the following formula: C(I)=G(I)+L(I); Wherein, C(I) represents the output current cost function, G(I) represents the power consumption function, and C(I) represents the equipment loss function.
6. The method according to claim 1, characterized in that The anode output current of the monitoring node is adjusted by the following formula: I j (t+1)=I j (t)+ΔI j ; Among them, I j (t+1) represents the anode output current of the jth monitoring node at time t+1, I j (t) represents the anode output current of the jth monitoring node at time t, ΔI j is the current adjustment, k p Representation coefficient, k i Indicates the integral coefficient, k d represents the differential coefficient.
7. An anode output current adjustment device, characterized in that: include: An acquisition module, used for acquiring monitoring data monitored by a monitoring node arranged on the underwater metal structure, wherein the monitoring data includes monitoring potential and current anode output current; A calculation module, used to calculate the monitoring data using an objective function to obtain a target anode output current, wherein the target anode output current satisfies a target constraint condition and the target anode output current has the lowest output current cost under the target constraint condition; The adjustment module is used to adjust the output current of the output end to control the current value of the current anode output current to be equal to the current value of the target anode output current.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method according to any one of claims 1 to 6 when executed.
9. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 6 through the computer program.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.