Grid-connected peak load shifting control method, device and system for energy storage battery
By adding sliding average and dynamic droop control to the voltage and current loop control, the problem of the state of charge boundary of energy storage batteries in ship power systems caused by long-term deviation from the expected output power of diesel engines was solved, achieving stable peak shaving and valley filling under various operating conditions and extending battery life.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-14
- Publication Date
- 2026-03-27
AI Technical Summary
In ship electrical systems, when the energy storage battery deviates from the expected output power of the diesel engine for an extended period of time, the state of charge reaches the boundary of the operating range, resulting in the loss of peak shaving and valley filling capabilities and affecting battery life.
By adding sliding average and dynamic droop control processes to the voltage loop and current loop control, the droop curve of the energy storage battery DC/DC converter is dynamically adjusted to achieve peak shaving and valley filling functions for various operating conditions.
Under various operating conditions, energy storage batteries can effectively and stably achieve peak shaving and valley filling functions, reduce the deep discharge of batteries, and extend battery life.
Smart Images

Figure CN121749092A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power system energy storage technology, and more specifically, to a method, device and system for controlling peak shaving and valley filling of energy storage batteries connected to the grid. Background Technology
[0002] In related technologies, in new energy ship hybrid power systems, the grid-connected charging and discharging power of the energy storage battery is regulated by a DC / DC converter. This technical solution uses the DC bus voltage as the control target. When the system load power changes, the reference value and the measured value of the bus voltage deviate. After the deviation is adjusted by the voltage outer loop and the current inner loop, the duty cycle of the power devices in the DC / DC converter is changed, thereby changing the output current of the energy storage battery. This allows the energy storage battery to bear the changing load power in the system, achieving the purpose of peak shaving and valley filling for the output power of the diesel generator set, and stabilizing the output power of the diesel generator set near the expected power.
[0003] However, in reality, the ship's electrical load often deviates from the set expected output power of the diesel engine for a long time. This is due to situations such as the start-up of ship's workload and prolonged use, or the continuous high-power operation of the propeller under the influence of sudden and severe sea conditions during ship dynamic positioning. In these situations, the energy storage battery will bear the extra power for a long time, causing the state of charge (SOC) of the energy storage battery to reach the boundary of the working range after a period of operation, thus losing its peak shaving and valley filling capabilities, and also affecting the lifespan of the energy storage battery. Summary of the Invention
[0004] This application provides a method, device, and system for controlling peak shaving and valley filling of energy storage batteries connected to the grid, in order to solve the problem in related technologies that when the ship's power load deviates from the set expected output power of the diesel engine for a long time, the energy storage battery will bear the extra power for a long time, which will cause the state of charge of the energy storage battery to reach the boundary of the working range after a period of operation, thus losing the ability to shave and valley fill and also affecting the life of the energy storage battery.
[0005] In a first aspect, embodiments of this application provide a method for controlling peak shaving and valley filling of energy storage batteries connected to the grid, including:
[0006] Obtain the real-time sampled value of the DC-DC converter output current on the energy storage battery side;
[0007] The real-time sampled value of the DC-DC converter output current is subjected to a moving average process to obtain the output value after moving average processing.
[0008] Based on the output value after sliding average processing and the reference value of the output current of the rectifier on the generator side, a first current value is obtained. Based on the first current value and the real-time sampled value of the DC converter output current, the dynamic output voltage reference value of the energy storage battery is obtained through dynamic droop control.
[0009] The dynamic output voltage reference value is used as the input of the voltage loop. Through the adjustment of the voltage loop and the current loop, the duty cycle of the power devices in the DC-DC converter is controlled.
[0010] In the above technical solution, by adding a sliding average process and a dynamic droop control process on the basis of voltage loop and current loop control, the droop curve of the energy storage battery DC / DC converter can be dynamically and automatically adjusted, which solves the problem that existing technical solutions cannot enable energy storage batteries to undertake peak shaving and valley filling work under various operating conditions, and enables energy storage batteries to effectively and stably achieve peak shaving and valley filling functions under various operating conditions.
[0011] According to one embodiment of this application, the step of performing a moving average process on the real-time sampled value of the DC-DC converter output current to obtain the output value after moving average processing includes:
[0012] The output value after moving average processing is calculated based on the given attenuation rate of the moving average process, the output value after moving average processing corresponding to the previous moment, and the real-time sampled value of the DC-DC converter output current.
[0013] In the above technical solution, by adding a moving average process on the basis of voltage loop and current loop control, the control accuracy can be improved, enabling the energy storage battery to effectively and stably achieve peak shaving and valley filling functions under various operating conditions.
[0014] According to one embodiment of this application, obtaining the first current value based on the output value after moving average processing and the reference value of the output current of the rectifier on the generator side includes:
[0015] The first current value is obtained by summing the output value after the moving average processing with the reference value of the rectifier's output current.
[0016] According to one embodiment of this application, obtaining a dynamic output voltage reference value of the energy storage battery through dynamic droop control based on the first current value and the real-time sampled value of the DC-DC converter output current includes:
[0017] Obtain the rated voltage of the DC bus, the droop rate of the voltage-current characteristic curve of the rectifier, the droop rate of the voltage-current characteristic curve of the DC converter, and the upper limit values of the charging current and discharging current of the energy storage battery;
[0018] The first current value and the real-time sampled value of the DC-DC converter output current are used as inputs to the dynamic droop controller. Combined with the rated voltage of the DC bus, the droop rate of the voltage-current characteristic curve of the rectifier, the droop rate of the voltage-current characteristic curve of the DC-DC converter, and the upper limit values of the charging current and discharging current of the energy storage battery, the dynamic output voltage reference value of the energy storage battery is obtained.
[0019] In the above technical solution, a dynamic droop control process is added on the basis of voltage loop and current loop control, so that the energy storage battery can effectively and stably achieve peak shaving and valley filling functions under various operating conditions.
[0020] According to one embodiment of this application, the voltage-current characteristic curve of the DC-DC converter includes a charge-discharge dead zone.
[0021] According to one embodiment of this application, obtaining a dynamic output voltage reference value of the energy storage battery through dynamic droop control based on the first current value and the real-time sampled value of the DC-DC converter output current includes:
[0022] Obtain the rated voltage of the DC bus, the droop rate of the voltage-current characteristic curve of the rectifier, the droop rate of the voltage-current characteristic curve of the DC converter, and the upper limit values of the charging current and discharging current of the energy storage battery;
[0023] The first current value and the real-time sampled value of the DC-DC converter output current are used as inputs to the dynamic droop controller. Combined with the rated voltage of the DC bus, the droop rate of the voltage-current characteristic curve of the rectifier, the droop rate of the voltage-current characteristic curve of the DC-DC converter, the voltage corresponding to the charge-discharge dead zone of the DC-DC converter, and the upper limit values of the charging current and discharging current of the energy storage battery, the dynamic output voltage reference value of the energy storage battery is obtained.
[0024] In the above technical solution, a dynamic droop control process with charging and discharging dead zone is added on the basis of voltage loop and current loop control. When the actual load power fluctuates slightly near the expected output power of the generator, that is, when the bus voltage fluctuation is within the DC / DC dead zone of the energy storage battery, the energy storage battery will not charge or discharge, which can reduce the DC / DC switching loss of the energy storage battery and increase the battery life.
[0025] According to one embodiment of this application, the step of using the dynamic output voltage reference value as the input of the voltage loop, and controlling the duty cycle of the power devices in the DC-DC converter by adjusting the voltage loop and the current loop, includes:
[0026] Obtain the real-time sampled value of the DC bus voltage;
[0027] The dynamic output voltage reference value and the real-time sampled value of the DC bus voltage are used as inputs to the voltage loop. By adjusting the voltage loop, the inductor current reference value of the DC converter is obtained.
[0028] The reference value of the inductor current of the DC-DC converter and the measured actual inductor current are used as the input of the current loop. The duty cycle of the modulation wave is obtained by adjusting the current loop.
[0029] Based on the duty cycle of the modulation wave, a modulation wave is generated to control the on and off of the power devices in the DC-DC converter.
[0030] In the above technical solution, by controlling the voltage and current loops to generate modulation waves for controlling the on and off states of power devices in the DC-DC converter, the droop curve of the energy storage battery DC / DC converter can be dynamically and automatically adjusted, enabling the energy storage battery to effectively and stably achieve peak shaving and valley filling functions under various operating conditions.
[0031] Secondly, embodiments of this application provide a grid-connected peak shaving and valley filling control device for energy storage batteries, comprising:
[0032] The acquisition unit is used to acquire the real-time sampled value of the DC-DC converter output current on the energy storage battery side;
[0033] The moving average processing unit is used to perform moving average processing on the real-time sampled value of the DC converter output current to obtain the output value after moving average processing.
[0034] The dynamic droop control unit is used to obtain a first current value based on the output value after sliding average processing and the output current reference value of the rectifier on the generator side, and to obtain the dynamic output voltage reference value of the energy storage battery through dynamic droop control based on the first current value and the real-time sampled value of the DC converter output current.
[0035] The control unit is used to take the dynamic output voltage reference value as the input of the voltage loop, and through the adjustment of the voltage loop and the current loop, control the duty cycle of the power devices in the DC-DC converter.
[0036] In the above technical solution, by adding a sliding average process and a dynamic droop control process on the basis of voltage loop and current loop control, the droop curve of the energy storage battery DC / DC converter can be dynamically and automatically adjusted, which solves the problem that existing technical solutions cannot enable energy storage batteries to undertake peak shaving and valley filling work under various operating conditions, and enables energy storage batteries to effectively and stably achieve peak shaving and valley filling functions under various operating conditions.
[0037] Thirdly, this application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements the energy storage battery grid-connected peak shaving and valley filling control method as described in the first aspect above.
[0038] Fourthly, this application provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the energy storage battery grid-connected peak shaving and valley filling control method as described in the first aspect above.
[0039] Fifthly, this application provides a new energy ship hybrid power system, including: a generator, an energy storage battery, and a grid-connected peak shaving and valley filling control device for the energy storage battery as described in the second aspect.
[0040] In a sixth aspect, this application provides a chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the energy storage battery grid-connected peak shaving and valley filling control method as described in the first aspect.
[0041] In a seventh aspect, this application provides a computer program product, including a computer program that, when executed by a processor, implements the energy storage battery grid-connected peak shaving and valley filling control method as described in the first aspect above.
[0042] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0043] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0044] Figure 1 This is a control block diagram of a DC / DC converter in related technologies;
[0045] Figure 2 This is one of the flowcharts illustrating the grid-connected peak shaving and valley filling control method for energy storage batteries provided in some embodiments of this application;
[0046] Figure 3 This is a control block diagram of the energy storage battery grid-connected peak shaving and valley filling control method provided in the embodiments of this application;
[0047] Figure 4A schematic diagram illustrating dynamic droop control provided in some embodiments of this application;
[0048] Figure 5 A schematic diagram illustrating dynamic droop control with charge / discharge dead zone provided for some embodiments of this application;
[0049] Figure 6 The second schematic flowchart illustrates the grid-connected peak shaving and valley filling control method for energy storage batteries provided in some embodiments of this application.
[0050] Figure 7 Schematic diagrams of the structure of a new energy ship DC power system provided in some embodiments of this application;
[0051] Figure 8 Control block diagrams of energy storage battery DC / DC converters provided in some embodiments of this application;
[0052] Figure 9 One of the schematic diagrams illustrating the effect of the energy storage battery grid-connected peak shaving and valley filling control method provided in some embodiments of this application.
[0053] Figure 10 A second schematic diagram illustrating the effect of the energy storage battery grid-connected peak shaving and valley filling control method provided in some embodiments of this application;
[0054] Figure 11 This is a schematic diagram of the structure of a grid-connected peak shaving and valley filling control device for energy storage batteries provided in some embodiments of this application;
[0055] Figure 12 The diagram shows the structure of an electronic device provided in some embodiments of this application. Detailed Implementation
[0056] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0057] Unless otherwise defined, all technical and scientific terms used in this application have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used in the description of this application is for the purpose of describing particular embodiments only and is not intended to limit the application; the terms "comprising" and "having," and any variations thereof, in the description, claims, and accompanying drawings of this application are intended to cover non-exclusive inclusion. The terms "first," "second," etc., in the description, claims, or accompanying drawings of this application are used to distinguish different objects, not to describe a specific order or hierarchy.
[0058] In this application, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a mutually exclusive, independent, or alternative embodiment. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described in this application can be combined with other embodiments.
[0059] In this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, in this application, the character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0060] The battery mentioned in the embodiments of this application refers to a single physical module comprising one or more battery cells to provide higher voltage and capacity. For example, the battery mentioned in this application may include a battery module or a battery pack. A battery generally includes a housing for encapsulating one or more battery cells or multiple battery modules. The housing can prevent liquids or other foreign matter from affecting the charging or discharging of the battery cells.
[0061] The battery cells mentioned in the embodiments of this application may include lithium-ion secondary battery cells, lithium-ion primary battery cells, lithium-sulfur battery cells, sodium-lithium-ion battery cells, sodium-ion battery cells, or magnesium-ion battery cells, etc., and the embodiments of this application are not limited to these. Battery cells may be cylindrical, flat, cuboid, or other shapes, etc., and the embodiments of this application are not limited to these shapes either. Battery cells are generally classified into three types according to their packaging method: cylindrical battery cells, square battery cells, and pouch battery cells, and the embodiments of this application are not limited to these types either.
[0062] To meet different power needs, a battery can include multiple battery cells, which can be connected in series, parallel, or in a mixed manner. A mixed manner refers to a combination of series and parallel connections.
[0063] In new energy ship hybrid power systems, the grid-connected charging and discharging power of the energy storage battery is regulated by a DC / DC converter. Figure 1 This is a control block diagram of a DC / DC converter in related technologies, consisting of an outer voltage loop and an inner current loop. This technical solution uses the DC bus voltage as the control target. When the system load power changes, a deviation occurs between the reference and measured values of the bus voltage. This deviation, after adjustment by the outer voltage loop and the inner current loop, changes the duty cycle of the power devices in the DC / DC converter, thereby altering the output current of the energy storage battery. This allows the energy storage battery to handle the changing load power in the system, achieving the purpose of peak shaving and valley filling for the output power of the diesel generator set.
[0064] The above technical solution is applicable to situations where the total power of the ship's electrical load fluctuates around the set expected output power of the diesel generator set (usually the power corresponding to the higher energy efficiency of the generator set). The energy storage battery outputs a portion of the power that deviates between the actual load power and the expected output power of the diesel engine, thereby stabilizing the output power of the diesel generator near the expected power.
[0065] However, in reality, the ship's electrical load often deviates from the set expected output power of the diesel engine for a long time. This is due to situations such as the start-up of ship's workload and prolonged use, or the continuous high-power operation of the propeller under the influence of sudden and severe sea conditions during ship dynamic positioning. In such cases, the energy storage battery will bear the extra power for a long time, causing the state of charge (SOC) of the energy storage battery to reach the boundary of the working range after a period of operation, thus losing its peak shaving and valley filling capabilities.
[0066] To address the aforementioned issues, embodiments of this application propose a method, apparatus, and system for controlling peak shaving and valley filling of energy storage batteries connected to the grid. Figure 2 This is one of the flowcharts illustrating a grid-connected peak shaving and valley filling control method for energy storage batteries provided in some embodiments of this application. For example... Figure 2 As shown, the peak shaving and valley filling control method for grid-connected energy storage batteries includes steps 110, 120, 130 and 140.
[0067] Step 110: Obtain the real-time sampled value of the DC-DC converter output current on the energy storage battery side;
[0068] Step 120: Perform a moving average process on the real-time sampled value of the DC-DC converter output current to obtain the output value after moving average processing;
[0069] Step 130: Based on the output value after sliding average processing and the reference value of the output current of the rectifier on the generator side, obtain the first current value. Based on the first current value and the real-time sampled value of the DC converter output current, obtain the dynamic output voltage reference value of the energy storage battery through dynamic droop control.
[0070] Step 140: Use the dynamic output voltage reference value as the input of the voltage loop, and control the duty cycle of the power devices in the DC-DC converter through the adjustment of the voltage loop and the current loop.
[0071] It should be noted that the energy storage battery grid-connected peak shaving and valley filling control method provided in this application embodiment is applicable to controlling the energy storage battery in a new energy ship hybrid power system, enabling the energy storage battery to effectively and stably achieve peak shaving and valley filling functions under various ship operating conditions. However, this does not limit the energy storage battery grid-connected peak shaving and valley filling control method provided in this application embodiment to only be applied to new energy ship hybrid power systems. The energy storage battery grid-connected peak shaving and valley filling control method provided in this application embodiment can also be applied to other electrical devices with energy storage batteries, such as vehicles or aircraft.
[0072] Figure 3 This is a control block diagram of the energy storage battery grid-connected peak shaving and valley filling control method provided in an embodiment of this application. Figure 3 As shown in the embodiments of this application, the energy storage battery grid-connected peak shaving and valley filling control method, compared with the traditional control method, adds a moving average process and a dynamic droop control process on the basis of voltage loop and current loop control.
[0073] refer to Figure 3 First, obtain the real-time sampled value i of the DC-DC converter output current on the energy storage battery side. o i o After moving average processing, the output value i is obtained. Ma Based on the output value i after moving average processing Ma and the reference value I of the output current of the rectifier on the generator side set The first current value I1 is obtained. Based on the first current value I1 and the real-time sampled value i of the DC-DC converter output current... o By using dynamic droop control, the dynamic output voltage reference value U of the energy storage battery is obtained. * The dynamic output voltage reference value U * As the input to the voltage loop, the duty cycle of the power devices in the DC-DC converter is controlled by the voltage loop PID and the current loop PID.
[0074] It should be noted that the DC converter on the energy storage battery side in the embodiments of this application can be a DC / DC converter on the energy storage battery side, or it can also be called an energy storage converter or a DC converter, and the rectifier on the generator side can be an AC / DC rectifier on the generator side.
[0075] The energy storage battery grid-connected peak shaving and valley filling control method provided in this application adds a sliding average process and a dynamic droop control process to the voltage loop and current loop control. It can dynamically and automatically adjust the droop curve of the energy storage battery DC / DC converter, solving the problem that existing technical solutions cannot enable energy storage batteries to undertake peak shaving and valley filling work under various operating conditions. This allows energy storage batteries to effectively and stably achieve peak shaving and valley filling functions under various operating conditions.
[0076] After applying the technical solution of this application embodiment, when a short-term load fluctuation occurs in the ship's power grid, the energy storage battery will bear most of the load fluctuation, keeping the generator's output power relatively stable; when a sudden increase or decrease in load occurs in the ship's power grid and is maintained for a long time, the energy storage battery will first bear most of the changed load, and then gradually transfer the load to the generator. After a period of time, the generator's output power will gradually shift towards the current actual load power, and eventually bear most of the load power, preventing the battery from experiencing large-scale charging / discharging.
[0077] After applying this technical solution, the energy storage battery will actively transfer the load to the generator after bearing the changing load for a period of time, which helps to reduce the depth of discharge (DOD) of the battery during a single peak shaving and valley filling process, thereby increasing the battery life.
[0078] In some embodiments, a moving average is performed on the real-time sampled value of the DC-DC converter output current to obtain the output value after moving average processing, including:
[0079] The output value after moving average processing is calculated based on the given attenuation rate of the moving average process, the output value after moving average processing at the previous moment, and the real-time sampled value of the DC converter output current.
[0080] Specifically, the real-time sampled value i of the DC-DC converter output current on the energy storage battery side. o The following formula can be used to perform a moving average:
[0081] i MA (t i ) = i MA (t i-1 )×β+(1-β)×i o (t i )
[0082] Among them, i MA (t i ) represents the output value of the moving average process at the current time; i MA (t i-1 ) represents the output value of the moving average process at the previous time step; i o(t i (i) represents the current time i o The sampled value; β is the decay rate of the moving average process.
[0083] It should be noted that the smaller the attenuation rate β, the faster the moving average process responds to changes in input, and the more easily the generator fluctuates with load power; the larger the β value, the slower the moving average process responds to changes in input, and the more easily the generator maintains power operation near the reference value.
[0084] The energy storage battery grid-connected peak shaving and valley filling control method provided in this application improves control accuracy by adding a moving average process on the basis of voltage loop and current loop control, enabling the energy storage battery to effectively and stably achieve peak shaving and valley filling functions under various operating conditions.
[0085] In some embodiments, the first current value is obtained based on the output value after moving average processing and the reference value of the output current of the rectifier on the generator side, including:
[0086] The first current value is obtained by summing the output value after moving average processing with the rectifier's output current reference value.
[0087] refer to Figure 3 The sum of the output value after sliding average processing and the rectifier's output current reference value is used as one of the inputs for dynamic droop control.
[0088] In some embodiments, based on a first current value and a real-time sampled value of the DC-DC converter output current, a dynamic output voltage reference value for the energy storage battery is obtained through dynamic droop control, including:
[0089] Obtain the rated voltage of the DC bus, the droop rate of the voltage-current characteristic curve of the rectifier, the droop rate of the voltage-current characteristic curve of the DC converter, and the upper limit values of the charging current and discharging current of the energy storage battery.
[0090] The first current value and the real-time sampled value of the DC-DC converter output current are used as inputs to the dynamic droop controller. Combined with the rated voltage of the DC bus, the droop rate of the voltage-current characteristic curve of the rectifier, the droop rate of the voltage-current characteristic curve of the DC-DC converter, and the upper limit values of the charging current and discharging current of the energy storage battery, the dynamic output voltage reference value of the energy storage battery is obtained.
[0091] It should be noted that the dynamic droop control in this embodiment is based on the concept of voltage-current droop control, which is a control method that controls the voltage and current or voltage and power of the converter to operate on a droop curve.
[0092] Figure 4 This is a schematic diagram illustrating dynamic droop control provided in some embodiments of this application. (Reference) Figure 4 Based on the first current value, the rated voltage of the DC bus, and the droop rate of the rectifier's voltage-current characteristic curve (i.e., the droop rate of the generator's AC / DC characteristic curve), the following can be determined: Figure 4 Based on U1, the droop rate of the voltage-current characteristic curve of the DC-DC converter, the upper limit of the charging current and the upper limit of the discharging current of the energy storage battery, and the real-time sampled value of the output current of the DC-DC converter, the dynamic output voltage reference value of the energy storage battery is obtained.
[0093] The energy storage battery grid-connected peak shaving and valley filling control method provided in this application adds a dynamic droop control process on the basis of voltage loop and current loop control, so that the energy storage battery can effectively and stably achieve peak shaving and valley filling functions under various operating conditions.
[0094] In some embodiments, the voltage-current characteristic curves of the DC-DC converter include a charge-discharge dead zone.
[0095] The charge / discharge dead zone refers to a threshold range of voltage or current set during battery charging and discharging. Charging or discharging will only be triggered when the battery voltage (or current) exceeds or falls below this range.
[0096] Optionally, setting a charge / discharge dead zone for the DC / DC converter on the energy storage battery side can be achieved by setting a voltage comparator and a corresponding reference voltage. When the battery voltage is detected to exceed the set dead zone range, a corresponding charging or discharging action is triggered. Alternatively, this can be implemented in a microcontroller or digital signal processor (DSP) programmatically, by reading the battery voltage, comparing it with a preset dead zone threshold, and controlling the operating state of the DC / DC converter based on the comparison result.
[0097] It is understandable that setting a charge / discharge dead zone for the DC / DC converter on the energy storage battery side means that when the actual load power fluctuates slightly near the generator's expected output power (bus voltage fluctuations are within the energy storage battery's DC / DC dead zone), the energy storage battery will not charge or discharge, reducing the energy storage battery's DC / DC switching losses and increasing battery life.
[0098] In some embodiments, based on a first current value and a real-time sampled value of the DC-DC converter output current, a dynamic output voltage reference value for the energy storage battery is obtained through dynamic droop control, including:
[0099] Obtain the rated voltage of the DC bus, the droop rate of the voltage-current characteristic curve of the rectifier, the droop rate of the voltage-current characteristic curve of the DC converter, and the upper limit values of the charging current and discharging current of the energy storage battery;
[0100] The first current value and the real-time sampled value of the DC-DC converter output current are used as inputs to the dynamic droop controller. Combined with the rated voltage of the DC bus, the droop rate of the voltage-current characteristic curve of the rectifier, the droop rate of the voltage-current characteristic curve of the DC-DC converter, the voltage corresponding to the charge-discharge dead zone of the DC-DC converter, and the upper limit values of the charging current and discharging current of the energy storage battery, the dynamic output voltage reference value of the energy storage battery is obtained.
[0101] Figure 5 This is a schematic diagram illustrating dynamic droop control with charge / discharge dead zones, provided for some embodiments of this application. (See reference...) Figure 5 Based on the first current value, the rated voltage of the DC bus, and the droop rate of the rectifier's voltage-current characteristic curve (i.e., the droop rate of the generator's AC / DC characteristic curve), the following can be determined: Figure 5 Based on U1, the droop rate of the DC-DC converter's voltage-current characteristic curve, and the upper limit of the charging current of the energy storage battery, the charging portion of the DC-DC converter's voltage-current characteristic curve can be determined. Based on the voltage corresponding to the charging / discharging dead zone of the DC-DC converter, the droop rate of the DC-DC converter's voltage-current characteristic curve, and the upper limit of the discharging current, the discharging portion of the DC-DC converter's voltage-current characteristic curve can be determined. Thus, based on the real-time sampling value of the DC-DC converter's output current, the dynamic output voltage reference value of the energy storage battery can be obtained.
[0102] The energy storage battery grid-connected peak shaving and valley filling control method provided in this application adds a dynamic droop control process with charging and discharging dead zone to the voltage loop and current loop control. When the actual load power fluctuates slightly near the expected output power of the generator, that is, when the bus voltage fluctuation is within the DC / DC dead zone of the energy storage battery, the energy storage battery will not charge or discharge, which can reduce the DC / DC switching loss of the energy storage battery and increase the battery life.
[0103] In some embodiments, a dynamic output voltage reference value is used as the input to the voltage loop, and the duty cycle of the power devices in the DC-DC converter is controlled by adjusting the voltage loop and the current loop, including:
[0104] Obtain the real-time sampled value of the DC bus voltage;
[0105] The dynamic output voltage reference value and the real-time sampled value of the DC bus voltage are used as inputs to the voltage loop. By adjusting the voltage loop, the inductor current reference value of the DC converter is obtained.
[0106] The reference value of the inductor current of the DC-DC converter and the measured actual inductor current are used as the input of the current loop. The duty cycle of the modulation wave is obtained by adjusting the current loop.
[0107] Based on the duty cycle of the modulation wave, a modulation wave is generated to control the on and off of power devices in the DC-DC converter.
[0108] refer to Figure 3 Obtain the real-time sampled value u of the DC bus voltage, and dynamically output the voltage reference value U. * The real-time sampled value u of the DC bus voltage is used as the input to the voltage loop. Through proportional-integral-derivative (PID) regulation of the voltage loop, the reference value i of the inductor current of the DC converter is obtained. * The inductor current reference value i of the DC converter * The measured actual inductor current i is used as the input of the current loop. The duty cycle of the modulation wave is obtained through PID regulation of the current loop. Based on the duty cycle of the modulation wave, a modulation wave is generated to control the turn-on and turn-off of the power devices in the DC-DC converter.
[0109] The energy storage battery grid-connected peak shaving and valley filling control method provided in this application generates modulation waves for controlling the conduction and shutdown of power devices in the DC-DC converter through voltage and current loop control. This enables dynamic and automatic adjustment of the droop curve of the energy storage battery DC / DC converter, allowing the energy storage battery to effectively and stably achieve peak shaving and valley filling functions under various operating conditions.
[0110] Figure 6 This is the second schematic flowchart illustrating the grid-connected peak shaving and valley filling control method for energy storage batteries provided in some embodiments of this application. Figure 6 As shown, the peak shaving and valley filling control methods for grid-connected energy storage batteries include:
[0111] Step 610: Obtain the real-time sampled value of the DC-DC converter output current on the energy storage battery side;
[0112] Step 620: Perform a moving average process on the real-time sampled value of the DC-DC converter output current to obtain the output value after moving average processing;
[0113] Specifically, the output value after moving average processing is calculated based on the given attenuation rate of the moving average process, the output value after moving average processing corresponding to the previous moment, and the real-time sampled value of the DC-DC converter output current.
[0114] Step 630: Obtain the first current value based on the output value after the sliding average processing and the reference value of the output current of the rectifier on the generator side;
[0115] The first current value is obtained by summing the output value after the moving average processing with the reference value of the rectifier's output current.
[0116] Step 640: Based on the first current value and the real-time sampled value of the DC-DC converter output current, combined with the rated voltage of the DC bus, the droop rate of the voltage-current characteristic curve of the rectifier, the droop rate of the voltage-current characteristic curve of the DC-DC converter, and the upper limit of the charging current and the upper limit of the discharging current of the energy storage battery, a dynamic output voltage reference value of the energy storage battery is obtained through dynamic droop control.
[0117] Step 650: Use the dynamic output voltage reference value as the input of the voltage loop, and control the duty cycle of the power devices in the DC-DC converter through the adjustment of the voltage loop and the current loop.
[0118] Specifically, the real-time sampled value of the DC bus voltage is obtained; the dynamic output voltage reference value and the real-time sampled value of the DC bus voltage are used as inputs to the voltage loop, and the inductor current reference value of the DC converter is obtained by adjusting the voltage loop; the inductor current reference value of the DC converter and the measured actual inductor current are used as inputs to the current loop, and the modulation wave duty cycle is obtained by adjusting the current loop; based on the modulation wave duty cycle, a modulation wave is generated to control the turn-on and turn-off of the power devices in the DC converter.
[0119] The implementation scheme of this application will now be described with reference to specific embodiments. Figure 7 This application provides schematic diagrams of the structure of a new energy ship DC power system in some embodiments, such as... Figure 7 As shown, the DC power system for new energy ships mainly includes two diesel generator sets, two energy storage lithium battery packs, one integrated DC distribution board, two main propulsion systems, one lateral propulsion system, one working load, and two main transformers.
[0120] The diesel generator set has a rated voltage of 690V, a rated power of 650kW, and an economic operating power of 380kW; the energy storage battery pack has a rated voltage of 850V and a rated current of 951A; the DC bus has a rated voltage of 1000V; the generator is a synchronous motor that supplies power to the DC bus via AC / DC; the battery pack discharges to the DC bus or absorbs power from the DC bus for charging via a three-phase interleaved parallel bidirectional DC / DC converter.
[0121] Applying the grid-connected peak shaving and valley filling control method for energy storage batteries proposed in this application, Figure 8 The control block diagram of the energy storage battery DC / DC converter provided in some embodiments of this application is shown in Table 1. The control parameter settings are shown in Table 1.
[0122] Table 1 Control Parameter Settings
[0123]
[0124] The specific control process is as follows:
[0125] (1) Sample i at a sampling frequency of 1Hz o , for i o i is obtained by performing dynamic moving average processing. MA .
[0126] i o The moving average processing procedure is as follows.
[0127] i MA (t i ) = i MA (t i-1 )×0.996+(1-0.996)×i o (t i )
[0128] (2) Through dynamic droop control, a dynamic voltage reference value U is output. * .
[0129] (3)U * As the input of the voltage loop, U * The DC / DC inductor current reference value i is obtained by comparing it with the actual bus-side voltage measured and sampled, and by voltage loop PID regulation. * ; Set the inductor current reference value i * The actual inductor current is compared with the measured and sampled current, and the duty cycle of the PWM wave is obtained through PID regulation in the current loop. Finally, the PWM wave is generated through the PWM generation stage to control the conduction and turn-off of each IGBT, thereby controlling the DC / DC output voltage and indirectly controlling the charging and discharging power of the battery.
[0130] A simulation model of the ship's electrical system was built using MATLAB / Simulink. The energy storage battery system was used. Figure 8 The grid-connected peak shaving and valley filling control method for energy storage batteries shown applies the control parameter settings in Table 1.
[0131] Under certain operating conditions, a diesel generator set and an energy storage battery system are connected to the grid, with the diesel generator operating at its economical power level. The simulation assumes short-term operation of the workload, including brief increases and decreases in load. Figure 9 This is one of the schematic diagrams illustrating the effect of the energy storage battery grid-connected peak shaving and valley filling control method provided in some embodiments of this application, such as... Figure 9 As shown, the energy storage battery bears most of the power fluctuations, quickly replenishes the sudden increase in power, and begins to absorb power after the load power decreases, so that the generator output power always fluctuates slightly around the economic operating power.
[0132] In another operating condition, a diesel generator set and an energy storage battery system are connected to the grid, with the diesel generator operating at its economical power level. The simulation depicts a prolonged workload, where the load increases and remains sustained for an extended period. Figure 10 This is the second schematic diagram illustrating the effect of the energy storage battery grid-connected peak shaving and valley filling control method provided in some embodiments of this application. Figure 10 As shown, the energy storage battery initially bears most of the power fluctuations, and after a period of time, it begins to reduce its output power, causing the generator's output power to shift towards the actual load power and eventually bear most of the load.
[0133] Figure 11 This is a schematic diagram of the structure of a grid-connected peak shaving and valley filling control device for energy storage batteries provided in some embodiments of this application. For example... Figure 11 As shown, the energy storage battery grid-connected peak shaving and valley filling control device 1100 includes:
[0134] Acquisition unit 1110 is used to acquire the real-time sampled value of the DC-DC converter output current on the energy storage battery side;
[0135] The moving average processing unit 1120 is used to perform moving average processing on the real-time sampled value of the DC converter output current to obtain the output value after moving average processing.
[0136] The dynamic droop control unit 1130 is used to obtain a first current value based on the output value after sliding average processing and the output current reference value of the rectifier on the generator side, and to obtain the dynamic output voltage reference value of the energy storage battery through dynamic droop control based on the first current value and the real-time sampled value of the DC converter output current.
[0137] The control unit 1140 is used to take the dynamic output voltage reference value as the input of the voltage loop, and control the duty cycle of the power devices in the DC-DC converter through the adjustment of the voltage loop and the current loop.
[0138] Optionally, the moving average processing unit 1120 is used for:
[0139] The output value after moving average processing is calculated based on the given attenuation rate of the moving average process, the output value after moving average processing corresponding to the previous moment, and the real-time sampled value of the DC-DC converter output current.
[0140] Optionally, the dynamic droop control unit 1130 is used for:
[0141] The first current value is obtained by summing the output value after the moving average processing with the reference value of the rectifier's output current.
[0142] Optionally, the dynamic droop control unit 1130 is used for:
[0143] Obtain the rated voltage of the DC bus, the droop rate of the voltage-current characteristic curve of the rectifier, the droop rate of the voltage-current characteristic curve of the DC converter, and the upper limit values of the charging current and discharging current of the energy storage battery;
[0144] The first current value and the real-time sampled value of the DC-DC converter output current are used as inputs to the dynamic droop controller. Combined with the rated voltage of the DC bus, the droop rate of the voltage-current characteristic curve of the rectifier, the droop rate of the voltage-current characteristic curve of the DC-DC converter, and the upper limit values of the charging current and discharging current of the energy storage battery, the dynamic output voltage reference value of the energy storage battery is obtained.
[0145] Optionally, the voltage-current characteristic curve of the DC-DC converter includes a charge-discharge dead zone.
[0146] Optionally, the dynamic droop control unit 1130 is used for:
[0147] Obtain the rated voltage of the DC bus, the droop rate of the voltage-current characteristic curve of the rectifier, the droop rate of the discharge portion curve and the droop rate of the charging portion curve of the voltage-current characteristic curve of the DC converter, and the upper limit value of the charging current and the upper limit value of the discharging current of the energy storage battery.
[0148] The first current value and the real-time sampled value of the DC-DC converter output current are used as inputs to the dynamic droop controller. Combined with the rated voltage of the DC bus, the droop rate of the voltage-current characteristic curve of the rectifier, the droop rate of the discharge portion curve and the droop rate of the charging portion curve of the voltage-current characteristic curve of the DC-DC converter, and the upper limit values of the charging current and the discharging current of the energy storage battery, the dynamic output voltage reference value of the energy storage battery is obtained.
[0149] Optionally, the control unit 1140 is used for:
[0150] Obtain the real-time sampled value of the DC bus voltage;
[0151] The dynamic output voltage reference value and the real-time sampled value of the DC bus voltage are used as inputs to the voltage loop. By adjusting the voltage loop, the inductor current reference value of the DC converter is obtained.
[0152] The reference value of the inductor current of the DC-DC converter and the measured actual inductor current are used as the input of the current loop. The duty cycle of the modulation wave is obtained by adjusting the current loop.
[0153] Based on the duty cycle of the modulation wave, a modulation wave is generated to control the on and off of the power devices in the DC-DC converter.
[0154] The energy storage battery grid-connected peak shaving and valley filling control device 1100 in this application embodiment can be an electronic device or a component in an electronic device, such as an integrated circuit or a chip. The electronic device can be a control module in a DC-DC converter, a terminal, or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the specific implementation.
[0155] The energy storage battery grid-connected peak shaving and valley filling control device 1110 in this application embodiment can be a device with an operating system. This operating system can be a Microsoft (Windows) operating system, an Android operating system, an iOS operating system, or other possible operating systems; this application embodiment does not specifically limit it.
[0156] The energy storage battery grid-connected peak shaving and valley filling control device provided in this application embodiment can achieve Figures 2 to 8 The various processes implemented in the method implementation examples will not be described again here to avoid repetition.
[0157] In some embodiments, such as Figure 12 As shown, this application embodiment also provides an electronic device 1200, including a processor 1201, a memory 1202, and a computer program stored in the memory 1202 and executable on the processor 1201. When the program is executed by the processor 1201, it implements the various processes of the above-described energy storage battery grid-connected peak shaving and valley filling control method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0158] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.
[0159] This application also provides a non-transitory computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the various processes of the above-described energy storage battery grid-connected peak shaving and valley filling control method embodiments and achieves the same technical effect. To avoid repetition, it will not be described again here.
[0160] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0161] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described energy storage battery grid-connected peak shaving and valley filling control method.
[0162] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0163] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described energy storage battery grid-connected peak shaving and valley filling control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0164] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0165] This application also provides a new energy ship hybrid power system, including: a generator, an energy storage battery, and as follows: Figure 11 The aforementioned energy storage battery grid-connected peak shaving and valley filling control device. For an understanding of the hybrid power system for new energy ships, please refer to the description in the above embodiments of the energy storage battery grid-connected peak shaving and valley filling control method; the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0166] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0167] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0168] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
[0169] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0170] Although embodiments of this application have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of this application, the scope of which is defined by the claims and their equivalents.
[0171] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other.
[0172] The above are merely preferred embodiments of this application and are not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A method for grid-connected peak shaving and valley filling control of an energy storage battery, characterized in that, The method comprises the following steps: obtaining a real-time sampling value of a DC converter output current of a storage battery side; performing a sliding average processing on the real-time sampling value of the DC converter output current to obtain an output value after the sliding average processing; obtaining a first current value according to the output value after the sliding average processing and an output current reference value of a rectifier of a generator side, and obtaining a dynamic output voltage reference value of the storage battery through dynamic droop control according to the first current value and the real-time sampling value of the DC converter output current; taking the dynamic output voltage reference value as an input of a voltage loop, and adjusting the voltage loop and a current loop to control a duty cycle of a power device in the DC converter.
2. The energy storage battery grid-tied peak shaving and valley filling control method according to claim 1, characterized in that, The method of performing the sliding average processing on the real-time sampling value of the DC converter output current to obtain the output value after the sliding average processing comprises the following steps: calculating the output value after the sliding average processing according to a given attenuation rate of a sliding average process, an output value after the sliding average processing corresponding to a previous time and the real-time sampling value of the DC converter output current.
3. The energy storage battery grid-tied peak shaving and valley filling control method according to claim 1, characterized in that, The method of obtaining the first current value according to the output value after the sliding average processing and the output current reference value of the rectifier of the generator side comprises the following steps: obtaining the first current value according to a sum of the output value after the sliding average processing and the output current reference value of the rectifier.
4. The energy storage battery grid-tied peak shaving and valley filling control method according to claim 1, characterized in that, The method of obtaining the dynamic output voltage reference value of the storage battery through the dynamic droop control according to the first current value and the real-time sampling value of the DC converter output current comprises the following steps: obtaining a DC bus rated voltage, a droop rate of a voltage-current characteristic curve of the rectifier, a droop rate of a voltage-current characteristic curve of the DC converter, and upper limit values of a charging current and a discharging current of the storage battery; taking the first current value and the real-time sampling value of the DC converter output current as inputs of a dynamic droop controller, combining the DC bus rated voltage, the droop rate of the voltage-current characteristic curve of the rectifier, the droop rate of the voltage-current characteristic curve of the DC converter, and the upper limit values of the charging current and the discharging current of the storage battery to obtain the dynamic output voltage reference value of the storage battery.
5. The energy storage battery grid-tied peak shaving and valley filling control method according to claim 1, characterized in that, The voltage-current characteristic curve of the DC converter comprises a charging and discharging dead zone.
6. The energy storage battery grid-tied peak shaving and valley filling control method according to claim 5, characterized in that, The method of obtaining the dynamic output voltage reference value of the storage battery through the dynamic droop control according to the first current value and the real-time sampling value of the DC converter output current comprises the following steps: obtaining a DC bus rated voltage, a droop rate of a voltage-current characteristic curve of the rectifier, a droop rate of a voltage-current characteristic curve of the DC converter, and upper limit values of a charging current and a discharging current of the storage battery; The first current value and the real-time sampling value of the DC converter output current are taken as inputs of a dynamic droop controller, and the DC bus rated voltage, the voltage-current characteristic curve droop rate of the rectifier, the voltage-current characteristic curve droop rate of the DC converter, the voltage corresponding to the charge and discharge dead zone of the DC converter, and the upper limit values of the charge and discharge currents of the energy storage battery are combined to obtain a dynamic output voltage reference value of the energy storage battery.
7. The energy storage battery grid-tied peak shaving and valley filling control method according to claim 1, characterized in that, The dynamic output voltage reference value is taken as an input of a voltage loop, and the duty cycle of the power device in the DC converter is controlled through the adjustment of the voltage loop and a current loop, including: obtaining a real-time sampling value of a DC bus voltage; The dynamic output voltage reference value and the real-time sampling value of the DC bus voltage are taken as inputs of a voltage loop, and an inductor current reference value of the DC converter is obtained through the adjustment of the voltage loop; The inductor current reference value of the DC converter and the actual inductor current measured are taken as inputs of a current loop, and a modulation wave duty cycle is obtained through the adjustment of the current loop; Based on the modulation wave duty cycle, a modulation wave for controlling the turn-on and turn-off of the power device in the DC converter is generated through modulation.
8. A grid-connected peak shaving and valley filling control device for an energy storage battery, characterized in that, including: an acquisition unit configured to acquire a real-time sampling value of a DC converter output current on the energy storage battery side; a sliding average processing unit configured to perform sliding average processing on the real-time sampling value of the DC converter output current to obtain an output value after sliding average processing; a dynamic droop control unit configured to obtain a first current value according to the output value after sliding average processing and an output current reference value of a rectifier on the generator side, and to obtain a dynamic output voltage reference value of the energy storage battery through dynamic droop control according to the first current value and the real-time sampling value of the DC converter output current; a control unit configured to take the dynamic output voltage reference value as an input of a voltage loop, and to control the duty cycle of a power device in the DC converter through the adjustment of the voltage loop and a current loop.
9. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor executes the program to implement the energy storage battery grid-connected peak shaving and valley filling control method in any one of claims 1-7.
10. A non-transitory computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the energy storage battery grid-connected peak shaving and valley filling control method in any one of claims 1-7.
11. A hybrid power system for a new energy vessel, characterized in that, including: a generator, an energy storage battery, and the energy storage battery grid-connected peak shaving and valley filling control device according to claim 8.