Device control method, energy storage device, energy storage system, and storage medium
Patent Information
- Application Number
- CN202511855628.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-09
- Publication Date
- 2026-10-27
AI Technical Summary
然而,相关技术容易因为储能设备的动态接入,或者因为传统无线通信方式(如Wi-fi,蓝牙)的通信延迟导致的各储能设备相位不同步,产生相间功率不均衡问题,从而引发线路过热起火、器件烧毁等安全风险
[0016]另外,第二方面至第六方面中任一种实施例所带来的技术效果可参见第一方面中不同实施例所带来的技术效果,此处不再赘述。
Smart Images

Figure CN122992882A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power supply technology, specifically to a device control method, an energy storage device, an energy storage system, and a storage medium. Background Technology
[0002] Energy storage systems comprise multiple energy storage devices. Ideally, these devices are evenly distributed across the phase lines of the system used to power the load, resulting in balanced power distribution across phases. However, related technologies are prone to phase imbalances due to dynamic connection of energy storage devices or communication delays caused by traditional wireless communication methods (such as Wi-Fi and Bluetooth), leading to overheating, fires, and device burnout. Summary of the Invention
[0003] In view of this, this application provides a device control method, an energy storage device, an energy storage system, and a storage medium that can avoid the problem of phase-to-phase power imbalance.
[0004] The first aspect of this application provides a device control method applied to a first device in an energy storage system. The method includes: when the first device is the master control device, periodically broadcasting a network request through a StarSignal communication module; after receiving a network response information from a slave device in response to the network request, shaking hands with the slave device and establishing a StarSignal connection; sending timing information to the slave device through the StarSignal connection, wherein the timing information includes a synchronization timestamp and phase calibration information; and after the slave device completes phase synchronization based on the timing information, sending a power regulation command to the slave device through the StarSignal connection to control the output power of the slave device.
[0005] The device control method of this application includes the following steps: When the first device is the master control device, the master control device periodically broadcasts a network request through a star-flash communication module so that the slave devices can quickly receive the network invitation and respond. After the master control device receives the network response information from the slave device, the master control device and the slave device handshake and establish a star-flash connection. The master control device then sends timing information to the slave device through the star-flash connection to enable phase synchronization. After the slave device completes phase synchronization based on the timing information, the master control device sends a power regulation command to the slave device through the star-flash connection to control the output power of the slave device, thereby achieving power balance in each phase line. Therefore, through the device control method of this application, the master control device can establish a low-latency star-flash connection with the slave device, synchronize the phase of the slave device, and regulate the output power of the slave device, thus avoiding the three-phase power imbalance problem to a certain extent.
[0006] In one embodiment, sending timing information to the slave device via a star-flash connection includes: acquiring the output current of each phase of the energy storage system; when it is determined that an inter-phase power imbalance has occurred based on the output current of each phase of the energy storage system, determining the target power information of the slave device based on the phase lines connected to the master control device and the slave device and a preset power balancing algorithm; and sending a power control command to the slave device via the star-flash connection, wherein the power control command is used to instruct the slave device to output the output power corresponding to the target power information on the connected phase lines.
[0007] In one embodiment, the method further includes: calculating the current imbalance based on the difference between the maximum and minimum phase currents in each phase output current; and determining that interphase power imbalance has occurred when the current imbalance is greater than a set balance threshold.
[0008] In one embodiment, the method further includes: monitoring the communication status of the star-flash connection corresponding to each slave device; if the star-flash connection of any slave device is detected to be disconnected, shutting off the electrical connection between the corresponding slave device and the power grid, stopping the sending of power regulation commands to the corresponding slave device, and sending updated power regulation commands to other slave devices through the star-flash connection to adjust the output power of other slave devices.
[0009] In one embodiment, the method further includes: after the first device is powered on, if no network request is detected through the Star Flash Communication module within a preset time period, the first device is determined to be the master control device.
[0010] In one embodiment, after handshaking with the slave device and establishing a star-flash connection, the method further includes: calculating communication delay compensation based on the signal strength of the star-flash connection; wherein the duration of the communication delay compensation is negatively correlated with the star-flash signal strength; and determining a synchronization timestamp based on the actual timestamp of the first device and the communication delay compensation.
[0011] The second aspect of this application provides a device control method applied to a second device in an energy storage system. The method includes: after the second device is powered on, signal monitoring is performed through a star-flash communication module; if a networking request broadcast by a master control device is detected within a preset time period, the second device is determined to be a slave device, and networking response information is fed back to the master control device, the networking response information being used to handshake with the master control device and establish a star-flash connection; receiving timing information sent by the master control device, wherein the timing information includes a synchronization timestamp and phase calibration information; performing phase synchronization using the synchronization timestamp and phase calibration information; receiving a power regulation command sent by the master control device, and adjusting the output power corresponding to the power regulation command based on the synchronized output phase.
[0012] A third aspect of this application provides an energy storage device, including a StarScan communication module, a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the energy storage device implements the device control method described in the first aspect or any embodiment of the first aspect, or implements the device control method described in the second aspect.
[0013] The fourth aspect of this application provides an energy storage system, including a first device and a second device. The first device is used to execute the device control method described in the first aspect or any embodiment of the first aspect, and the second device is used to execute the device control method described in the second aspect.
[0014] The fifth aspect of this application provides an electronic device, including a processor and a memory, wherein the memory is used to store programs, instructions or code, and the processor is used to execute the programs, instructions or code in the memory to perform the device control method described in the first aspect or any embodiment of the first aspect, or to perform the device control method described in the second aspect.
[0015] The sixth aspect of this application provides a computer-readable storage medium storing a computer program, which, when executed by a controller, causes the controller to implement the device control method described in the first aspect or any embodiment of the first aspect, or to implement the device control method described in the second aspect.
[0016] Furthermore, the technical effects of any of the embodiments in the second to sixth aspects can be found in the technical effects of the different embodiments in the first aspect, and will not be repeated here. Attached Figure Description
[0017] Figure 1 This is a schematic diagram of an energy storage system provided in an embodiment of this application.
[0018] Figure 2 This is a schematic diagram of an energy storage device provided in one embodiment of this application.
[0019] Figure 3 This is an architecture diagram of a star-flash communication module provided in one embodiment of this application.
[0020] Figure 4 This is a flowchart of a device control method provided in an embodiment of this application.
[0021] Figure 5 yes Figure 3 A detailed flowchart of step S14.
[0022] Figure 6 This is another flowchart of a device control method provided in an embodiment of this application.
[0023] Figure 7 This is yet another flowchart of a device control method provided in one embodiment of this application.
[0024] Figure 8 This is another flowchart of a device control method provided in one embodiment of this application.
[0025] Figure 9 This is an interactive flowchart of a master control device and a slave device provided in an embodiment of this application.
[0026] Figure 10 This is a schematic diagram of an electronic device provided in an embodiment of this application. Detailed Implementation
[0027] It should be noted that the terms "first" and "second" in the specification, claims and drawings of this application are used to distinguish similar objects, rather than to describe a specific order or sequence.
[0028] It should also be noted that the methods disclosed in the embodiments of this application or the methods shown in the flowcharts include one or more steps for implementing the method. Without departing from the scope of the claims, the execution order of multiple steps can be interchanged, and some steps can also be deleted.
[0029] Some embodiments will now be described with reference to the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0030] Energy storage systems comprise multiple energy storage devices. Ideally, these devices are evenly connected to the phase lines of the system, resulting in balanced power distribution across phases. However, in related technologies, energy storage devices often use single-phase grid connection, which can easily lead to power imbalances between phases, or between phases, due to dynamic connection of these devices. Furthermore, traditional wireless communication methods (such as Wi-Fi and Bluetooth) for energy storage devices suffer from significant communication latency. Combined with data acquisition and processing time, this typically results in delays of tens of milliseconds. Since the frequency of conventional AC power is 50Hz or 60Hz, meaning one AC cycle is only about twenty milliseconds, the latency of traditional wireless communication methods severely distorts the information used for phase synchronization. This can easily lead to phase asynchrony between energy storage devices, resulting in power imbalances between phases and potentially causing safety risks such as overheating, fires, and device burnout.
[0031] Therefore, this application provides an energy storage system that can, to a certain extent, avoid the problem of three-phase power imbalance and improve the safety of the energy storage system and energy storage equipment.
[0032] The technical solution of this application will be described below with reference to the accompanying drawings.
[0033] Figure 1 A schematic diagram of an energy storage system provided in one embodiment of this application is shown.
[0034] like Figure 1 As shown, the energy storage system 100 includes multiple energy storage devices 10. In some specific implementations, the energy storage system 100 can be a distributed energy storage system, and the multiple energy storage devices 10 can belong to the same household or to different households. Moreover, each energy storage device 10 can be deployed in different locations, such as on the roof of a household to form a rooftop energy storage system, distributed on the balconies of a household to form a balcony energy storage system, or deployed separately on the roof, balcony, courtyard, basement, etc. This application does not limit the specific deployment location of each energy storage device 10.
[0035] The energy storage device 10 can be a single-phase energy storage device or a multi-phase energy storage device, and there is no limitation here.
[0036] The output side of the energy storage system 100 may include multiple phase lines. Each energy storage device 10 is connected to the corresponding phase line of the energy storage system 100, and at least one load 30 can be connected to each phase line of the energy storage system 100.
[0037] In some embodiments, the output side of the energy storage system 100 may also be connected to the power grid 20.
[0038] Understandably, the types of the power grid 20, energy storage device 10, and load 30 can be mutually compatible. For example, Figure 1 In this embodiment, the power grid 20 is a three-phase power grid, which is electrically connected to the phase lines of the energy storage system (such as phase A, phase B, and phase C). The types of energy storage devices that can be connected to the power grid 20 include single-phase and three-phase energy storage devices, and the types of loads that can be connected to the power grid 20 include single-phase, two-phase, and three-phase loads. Alternatively, in other embodiments, the power grid 20 is a two-phase power grid, and the types of energy storage devices that can be connected to the power grid 20 include single-phase energy storage devices, and the types of loads that can be connected to the power grid 20 include single-phase and two-phase loads.
[0039] Figure 2 A schematic diagram of an energy storage device 10 provided in one embodiment of this application is shown.
[0040] like Figure 2 As shown, the energy storage device 10 includes an energy storage battery 11 and an energy storage converter 12 (Power Conversion System, PCS). The energy storage battery 11 is electrically connected to the DC terminal of the energy storage converter 12, and the AC terminal of the energy storage converter 12 is used to electrically connect to the phase line of the energy storage system 100.
[0041] In some specific implementations, the energy storage converter 12 may include a DC-AC (Direct Current to Alternating Current) conversion circuit and a DC-DC (Direct Current to Direct Current) conversion circuit. The DC-AC conversion circuit can be selected as a single-phase or multi-phase conversion circuit depending on the actual situation, and it can perform DC-to-AC or AC-to-DC conversion. The DC-DC conversion circuit can perform DC-to-DC conversion. The first terminal of the DC-DC conversion circuit is electrically connected to the DC terminal of the DC-AC conversion circuit, and the second terminal of the DC-DC conversion circuit can serve as the DC terminal of the energy storage converter 12. The AC terminal of the DC-AC conversion circuit can also serve as the AC terminal of the energy storage converter 12.
[0042] In some embodiments, the energy storage device 10 further includes a photovoltaic module 13. The photovoltaic module 13 is electrically connected to the DC terminal of the energy storage converter 12, and the photovoltaic module 13 can be used to realize photovoltaic power generation.
[0043] In some embodiments, a switching switch (not shown) may be provided between the energy storage converter 12 and each phase line. The switching switch is used to control the electrical connection between the energy storage device 10 and the phase line, and to switch the phase line to which the energy storage device 10 is connected. Similarly, a load switch (not shown) may be provided between the load 30 and each phase line. The load switch is used to control the electrical connection between the load 30 and the phase line, and to switch the phase line to which the load 30 is connected.
[0044] The load switch and the transfer switch can be any type of electrical control switch. The transfer switch can be set independently or integrated into the energy storage device 10; this application does not limit this. The load switch can be set independently or integrated into the load 30; this application does not limit this.
[0045] Based on this design, in scenarios where the energy storage device 10 supplies power, the DC power output from at least one of the energy storage battery 11 and photovoltaic module 13 can be converted into AC power by the energy storage converter 12 and then supplied to the corresponding load 30 via the phase line. Where the grid 20 allows for power feeding, the surplus AC power supplied to load 30 can also be fed back into the grid 20. In scenarios where load 30 has high power demand, the grid 20 can also supply power to load 30. In scenarios where the energy storage battery 11 is charging, the DC power output from at least one of the photovoltaic module 13 and grid 20 can be processed by the energy storage converter 12 to charge the energy storage battery 11.
[0046] Please continue. Figure 2As shown, the energy storage device 10 also includes a processor 14, a memory 15, and a Sparklink (also known as Nearlink or Starlink) communication module 16.
[0047] The memory 15 is used to store computer programs that can run on the processor 14. The memory 15 may be, for example, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, random access memory (RAM) or other type of dynamic storage device that can store information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed discs, laser discs, optical discs, digital universal discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
[0048] The memory 15 is electrically connected to the processor 14. When the processor 14 executes the computer program stored in the memory 15, it implements the software control algorithm of the energy storage device 10. The processor 14 may be, for example, a microcontroller (MCU), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other general-purpose processors or controllers.
[0049] The StarSpeed Communication Module 16 is a wireless communication module that supports StarSpeed communication. Different energy storage devices 10 can establish StarSpeed connections through the StarSpeed Communication Module 16, thereby enabling them to communicate with each other. The communicating energy storage devices 10 can be connected to form a network.
[0050] Figure 3 The architecture diagram of the StarScan communication module 16 is shown. (For example...) Figure 3As shown, the SparkLink communication module 16 includes a basic application layer, a basic service layer, and a SparkLink access layer. These layers can communicate with each other via software interfaces. The basic application layer implements various application functions. The basic service layer consists of a series of application programs, and the SparkLink communication module 16 supports upper-layer application functions by calling these applications. The SparkLink access layer provides two SparkLink communication interfaces: SLB (SparkLink Basic) and SLE (SparkLink Low-Energy). The SLB interface employs technologies such as ultra-short frames, centralized scheduling, and adaptive frequency hopping algorithms, making it a low-latency, high-speed, and high-reliability communication interface. The SLE interface employs technologies such as Polar channel coding and adaptive frequency hopping algorithms, making it a low-power communication interface supporting one-to-many reliable multicast.
[0051] Therefore, based on its architecture design, frame structure and scheduling mechanism, the StarFlash communication module 16 can achieve ultra-low latency. Moreover, it adopts a deterministic communication architecture, which can avoid the conflicts and retransmissions caused by traditional random access. At the same time, it supports hardware-level collaboration and edge processing, which greatly reduces the link establishment and data transmission time, thereby achieving microsecond-level latency.
[0052] Understandably, the embodiments of this application use star-flash communication instead of the traditional communication methods commonly used in related technologies (such as Bluetooth and Wi-Fi, see Table 1), which reduces the communication latency between energy storage devices 10 from milliseconds to microseconds, effectively improving the immediacy of communication and facilitating phase synchronization of each energy storage device 10.
[0053] Table 1 Based on the above structural design, the processor 14 is also used to implement the device control method provided in the embodiments of this application, so that the phases of each energy storage device 10 can be synchronized and the power between phases is balanced, which is beneficial to the safe operation of the energy storage device 10, the load 30 and the power grid 20.
[0054] Next, the device control method provided in the embodiments of this application will be described in further detail.
[0055] Figure 4 A flowchart of a device control method according to an embodiment of this application is shown. This device control method is applied to a first device in an energy storage system and implemented by the processor of the first device. For ease of distinction, this device control method can be simply referred to as Method 1. It is understood that the first device can be any energy storage device in the energy storage system, and the other energy storage devices in the energy storage system besides the first device can be referred to as the second device.
[0056] like Figure 4As shown, the equipment control method includes the following steps: Step S11: When the first device is the master control device, it periodically broadcasts a network request through the Star Flash Communication Module.
[0057] Understandably, there is usually only one master control device in an energy storage system. When the first device is the master control device, each second device is a slave device, and the master control device can be used to control each slave device.
[0058] The main control equipment in the energy storage system can be preset, or determined through a competition mechanism, or determined in other ways; this application does not limit this.
[0059] The network request is used to request the establishment of a StarScan connection. After the first device has confirmed the identity of the master device, it can periodically broadcast the network request through the StarScan communication module. The broadcast period of the network request can be, for example, 500 milliseconds, 1 second, or other durations, which can be set according to the actual situation and are not limited here.
[0060] Because the master device periodically broadcasts network requests, slave devices can receive these requests by listening to the star flash channel. For example, a slave device can automatically listen to the star flash channel after power-on, thus quickly receiving the network invitation and responding to it.
[0061] Step S12: After receiving the network response information from the slave device in response to the network request, shake hands with the slave device and establish a Star Flash connection.
[0062] Understandably, when the master device receives a network response from a slave device in response to a network request, it indicates that the slave device meets the conditions for establishing a StarSignal connection and can establish one. Before establishing a StarSignal connection with this slave device, the master device may or may not be connected to other slave devices. The network response information may include the slave device's address, ID, supported power level, and other information.
[0063] The master device can establish a StarSignal connection by handshaking with the communication interface of the StarSignal communication module in the slave device through the communication interface (such as SLB interface / SLE interface).
[0064] In some embodiments, if the master device and slave device are establishing a StarScan connection for the first time, they can also perform pairing encryption and complete the initial two-way authentication before transmitting information. Subsequent StarScan connections do not require repeating the pairing process; information transmission can proceed after two-way authentication.
[0065] Understandably, since the master and slave devices can automatically establish a StarSignal connection, unlike traditional Bluetooth or Wi-Fi which require manual operation step by step, the user's operation process is simplified. Moreover, the short latency of StarSignal communication (typically in the microsecond range) facilitates subsequent phase synchronization and power regulation of the slave device.
[0066] Step S13: Send timing information to the slave device via Star Flash connection, wherein the timing information includes synchronization timestamp and phase calibration information.
[0067] In step S13, the slave device can use a synchronization timestamp to synchronize its local clock, ensuring that the master and slave devices are aligned with a unified clock reference. This improves the accuracy of phase calibration.
[0068] Phase calibration information is used to characterize the phase adjustment amount and can be expressed in the form of time, phase angle, etc. Slave devices can use phase calibration information to calibrate the output voltage phase, so that the calibrated output voltage phase of the slave device is synchronized with the output voltage phase of the master device.
[0069] Step S14: After the slave device completes phase synchronization based on the timing information, a power regulation command is sent to the slave device through the star flash connection to control the output power of the slave device.
[0070] It is understandable that since newly connected slave devices in the energy storage system 100 can output power to connected phase lines, without intervention, the power distribution among phase lines will be unbalanced. Therefore, in step S14, the master control device actively adjusts the output power of the slave devices to achieve power redistribution. Moreover, the master control device can adjust the output power of the slave devices multiple times until the power distribution among phase lines is balanced. Furthermore, performing power regulation after phase synchronization ensures the accuracy and effectiveness of power regulation, avoiding the inability to accurately adjust the power of each phase to balance due to phase asynchrony of the slave devices.
[0071] In summary, the device control method of this application includes the following steps: when the first device is the master control device, the master control device periodically broadcasts a network request through a star-flash communication module so that the slave device can quickly receive the network invitation and respond. After the master control device receives the network response information from the slave device in response to the network request, the master control device and the slave device handshake and establish a star-flash connection. The master control device then sends timing information to the slave device through the star-flash connection to enable phase synchronization. After the slave device completes phase synchronization based on the timing information, the master control device then sends a power regulation command to the slave device through the star-flash connection to control the output power of the slave device, thereby achieving power balance in each phase line. Therefore, through the device control method of this application, the master control device can establish a low-latency star-flash connection with the slave device, synchronize the phase of the slave device, and regulate the output power of the slave device, thus avoiding the problem of three-phase power imbalance.
[0072] Moreover, compared to traditional wireless communication methods (such as Bluetooth and Wi-Fi), the Star Flash communication method can support communication connections for a larger number of energy storage devices. Therefore, when the device control method of the present application is applied, the capacity of the energy storage system can be improved, making it more suitable for high-power multi-energy storage device power supply scenarios.
[0073] In some embodiments, please refer to Figure 5 Step S14, which involves sending a power regulation command to the slave device via the starlight connection to control the output power of the slave device, may include: Step S141: Obtain the output current of each phase of the energy storage system.
[0074] Understandably, the master control device and slave devices of an energy storage system are connected to their respective phase lines. Therefore, the output current of each phase of the energy storage system is the current on each phase line. The master control device can sample the current on each phase line through a current detection circuit to obtain the output current of each phase of the energy storage system.
[0075] Step S142: When it is determined that there is a phase power imbalance based on the output current of each phase of the energy storage system, the target power information of the slave device is determined based on the phase lines connected to the master control device and the slave device and the preset power balancing algorithm.
[0076] Understandably, when there is an imbalance in phase-to-phase power, the output current of each phase in the energy storage system will also be imbalanced, meaning there will be a significant deviation between the output currents of different phases. Therefore, in step S142, the magnitudes of the output currents of each phase in the energy storage system can be compared to determine whether the phase currents are balanced, thereby determining whether an imbalance in phase-to-phase power has occurred. If it is determined that the phase-to-phase power is balanced, it means that the master control device does not need to adjust the power of the slave device. If it is determined that an imbalance in phase-to-phase power has occurred, it means that the master control device needs to actively adjust the power of the slave device to achieve phase-to-phase power balance.
[0077] The target power information refers to the expected output power of the equipment. The power balancing algorithm can be any software algorithm that can achieve power balancing regulation, such as fuzzy PID control algorithm, model prediction algorithm, etc., and is not limited here.
[0078] In some embodiments, the power balancing algorithm can be used to configure a smaller target power information for a slave device connected to a phase line with a larger output current, so as to reduce the actual output power of the slave device connected to that phase line; and to configure a larger target power information for a slave device connected to a phase line with a smaller output current, so as to increase the actual output power of the slave device connected to that phase line; it can also be used to connect at least one slave device to an idle (i.e., output current is 0) phase line and configure corresponding target power information for that slave device so that there is a certain power on that phase line.
[0079] For a phase line with an output current of 0, the main control device can either connect at least one new slave device to the phase line or control at least one slave device to switch phases, that is, switch at least one slave device from other phase lines to the phase line.
[0080] Understandably, power balancing algorithms can reduce the power difference between phases by reducing the power of the phase line corresponding to the larger phase current and supplementing the power of the phase line corresponding to the smaller phase current or zero current, thereby achieving power balance between phases.
[0081] Step S143: Send a power control command to the slave device via the star flash connection. The power control command is used to instruct the slave device to output the output power corresponding to the target power information on the connected phase line.
[0082] Understandably, under the control of the power regulation command of the master control equipment, the slave equipment outputs the expected output power according to the target power information, thereby reducing the deviation between the power of each phase line and ultimately achieving power balance.
[0083] During power regulation, the master control device can control the output power of the slave device to rise or fall smoothly in order to avoid instantaneous power surges caused by power jumps.
[0084] During the phase commutation process of the master control device controlling the slave device, the master control device can disconnect the star flash connection from the slave device while saving the current operating parameters of the slave device, then control the switching switch to change the phase sequence, and then re-establish the star flash connection with the slave device. The master control device can also control the output power of the slave device to start slowly, for example, gradually increasing from 0W to 600W within 500 milliseconds, in order to avoid the instantaneous power surge caused by the power jumping directly from 0W to 600W.
[0085] In summary, through the above steps S141~S143, the master control device can detect the phase-to-phase power imbalance problem after the slave device is powered on, and actively regulate the power of the slave device in the event of phase-to-phase power imbalance. Moreover, it can achieve closed-loop control of the output power of the slave device based on the output current of each phase, so that the power of each phase line can be adjusted to balance and avoid safety risks caused by phase-to-phase power imbalance.
[0086] It is important to understand that while regulating the power of each phase line, the main control equipment can control the electrical connection between each load and the phase line through load switches to ensure that the power supply and demand of each phase line are balanced.
[0087] In some embodiments, a grid-connected switch is provided on each phase line. The master control device can perform compliance testing on each slave device to determine whether each slave device meets safety regulations. If it meets safety regulations, the master control device can control the grid-connected switch to close and control each slave device to operate in grid-connected mode. In scenarios where the grid allows power feeding, the energy storage system can transmit the remaining power after supplying the load to the grid.
[0088] In some embodiments, please refer to Figure 6 The process by which the main control equipment determines whether an interphase power imbalance has occurred based on the output current of each phase of the energy storage system may include the following steps: Step S21: Calculate the current unbalance based on the difference between the maximum and minimum phase currents in each phase output current.
[0089] Among them, the maximum phase current I max It refers to the output current of the phase with the largest current among all phase output currents, and the smallest phase current I. min It refers to the output current of the phase with the smallest current among all phase output currents.
[0090] The current imbalance error is used to represent the degree of imbalance in the output current of each phase of an energy storage system, and essentially also characterizes the degree of imbalance in the power of each phase. The current imbalance error can be the ratio of the difference between the maximum and minimum phase currents to the maximum phase current, and the calculation formula is as follows: error = (I max -I min ) / I max ×100% For example, suppose the energy storage system has three-phase output currents, namely I... a I b I c . If I a =18A, I b =10A, I c =10A, then I max=18A, I min =10A, I max -I min =18A-10A=8A, error =8A / 18A×100%≈44.44%.
[0091] Step S22: Confirm whether the current imbalance is greater than the set balance threshold.
[0092] The balance threshold can be set to, for example, 5%, 7% or other percentage values, which can be set according to the actual situation. This application does not limit this.
[0093] Step S23: When the current imbalance is less than or equal to the set balance threshold, determine the phase power balance.
[0094] In other words, when the current imbalance is less than or equal to the set balance threshold, it means that the power imbalance of each phase is within an acceptable and safe range, and thus the power balance between phases can be determined.
[0095] Step S23: When the current imbalance is greater than the set balance threshold, it is determined that an interphase power imbalance has occurred.
[0096] In other words, when the current imbalance is greater than the set balance threshold, it indicates that the power imbalance of each phase exceeds the safe range, and thus the power imbalance between phases can be determined.
[0097] Therefore, the main control equipment can use the current imbalance to measure the degree of imbalance of the output current of each phase of the energy storage system, and accurately determine whether inter-phase power imbalance has occurred based on the magnitude of the current imbalance.
[0098] Understandably, the above steps S21 to S23 can be performed after step S141 and before step S142, or they can be performed in step S142.
[0099] In one embodiment, the power equalization algorithm can be used based on the maximum phase current I. max and minimum phase current I min The difference ΔI between them is used to obtain the target power information.
[0100] Specifically, the target power information of the slave device connected to the phase line corresponding to the maximum phase current is equal to the power of the phase line corresponding to the maximum phase current minus the set adjustment amount. The target power information of the slave device connected to the phase line corresponding to the minimum phase current is equal to the power of the phase line corresponding to the minimum phase current plus the set adjustment amount. The set adjustment amount ΔP is positively correlated with the difference ΔI between the maximum and minimum phase currents.
[0101] In one implementation, the adjustment amount ΔP can be obtained by adjusting the deviation of the difference ΔI between the maximum and minimum phase currents. Deviation adjustment includes, for example, PID (Proportional-Integral-Derivative), P (Proportional) control, PI (Proportional-Integral) control, etc., which will not be listed here.
[0102] In a specific example, the adjustment amount ΔP can be the product of the difference between the maximum and minimum phase current ΔI, the phase voltage, and the set adjustment ratio, where the adjustment ratio can be set to 0.3, 0.5, or other values according to the actual situation.
[0103] For example, assuming the phase voltage of each phase line is 220V, the adjustment ratio is set to 0.3, and ΔI = I max -I min =8A, if the error exceeds the set balance threshold by 5%, then the adjustment amount △P = 8A × 220V × 0.3 = 528W.
[0104] Understandably, after the slave device outputs power according to the target power information, the master control device can execute the above steps S141 and S21~S23 again to determine whether phase-to-phase power balance has been achieved.
[0105] For example, suppose the energy storage system has a three-phase output current I a I b I c Set the balance threshold to 5%. If the I obtained after power regulation a =5.5A, I b =5.3A, I c =5.4A, then the current imbalance error at this time is (5.5-5.3) / 5.5=3.6%≤5%, which means that the current of each phase has been adjusted to balance, that is, the power of each phase has reached balance.
[0106] If phase-to-phase power balance has been achieved, power regulation is complete. If phase-to-phase power imbalance still occurs, repeat steps S142-S143 until the power of each phase is adjusted to balance.
[0107] Understandably, when there is an imbalance in power between phases, relying on power transfer between phases to balance the power can avoid unnecessary power conversion losses, reduce power fluctuations, and ensure that the total power does not change abruptly, thus avoiding increased electricity costs due to drawing power from the grid.
[0108] In one embodiment, the power balancing algorithm can be used to obtain target power information based on the operating parameters of the energy storage device and the power grid.
[0109] For example, a power balancing algorithm can be a model prediction algorithm. By inputting the operating parameters of energy storage devices and the power grid into a prediction model, a power balancing allocation scheme is obtained from the output of the prediction model. This power balancing allocation scheme includes the number of slave devices on each phase line and the target power information of the slave devices. The prediction model can be, for example, a neural network model.
[0110] The operating parameters of energy storage devices include the upper limit of the output power of each device. If the energy storage device includes photovoltaic modules, the operating parameters may also include the current solar irradiance received by the photovoltaic modules in each device. The upper limit of the output power of each device can be set according to actual conditions, and the current solar irradiance received by the photovoltaic modules in each device can be detected by irradiance sensors, etc.
[0111] The operating parameters of the power grid include the power limit and historical electricity consumption data of each phase, and the grid electricity price. The total power limit of each phase can be set according to the actual situation. The historical electricity consumption data of each phase can be obtained through electricity metering, and the grid electricity price can be obtained from the power grid company.
[0112] For example, assuming that two energy storage devices are currently connected to phase A, while phases B and C are not connected to any energy storage devices, the prediction model predicts a total power increase of 3.6kW based on historical electricity consumption data for each phase. Then, based on the total power increase, the upper limit of the output power of each energy storage device (600W), the upper limit of the power of each phase (1.2kW), the current irradiance of the photovoltaic modules in each energy storage device, and the grid electricity price, the output power equalization scheme is calculated. This power equalization scheme includes: each phase line is connected to two energy storage devices, and the target power information of each phase line is less than or equal to 1.2kW.
[0113] Furthermore, the master control device can control the power-on of four new slave devices through power regulation commands, and control the commutation and power output of six slave devices, so that there are two energy storage devices outputting power on each of the A, B, and C phase lines, and the power output of each slave device is less than or equal to 1.2kW.
[0114] Understandably, using the operating parameters of energy storage devices and the power grid as inputs to the prediction model ensures that the target power output is the optimal result, taking into account factors such as the safety of the energy storage devices and the power grid, the power supply capacity of the energy storage devices, user electricity demand, and electricity costs. When the device outputs power according to the target power information from the prediction model, phase-to-phase power balance can be achieved under the premise of the safety of the energy storage devices and phase lines. Simultaneously, sufficient power resources can be reserved in advance for the phase lines to guarantee user electricity demand while reducing electricity costs. Furthermore, when the energy storage device includes photovoltaic modules, photovoltaic utilization can be improved.
[0115] In one embodiment, the power equalization algorithm can be used to obtain target power information according to a third-order polynomial curve.
[0116] Understandably, the first derivative of a third-order polynomial represents the rate of change of power, and the second derivative represents the acceleration of that change. Therefore, based on the third-order polynomial curve, precise control over the rate of change and acceleration of power can be achieved, resulting in smooth power changes.
[0117] In this way, when the master control device adjusts the output power of the slave device according to the target power information, it can achieve a low power regulation rate and a small grid voltage fluctuation. For example, in some tests, the power regulation rate can be ≤200W / ms and the grid voltage fluctuation can be ≤±2%, thereby avoiding current surges or voltage surges caused by power jumps.
[0118] It should be understood that the above embodiments are examples of the power balancing algorithms provided in this application. In other embodiments, the power balancing algorithm may be any combination of the above examples or other allocation algorithms, which will not be listed here.
[0119] In some embodiments, after the master device and the slave device establish a star flash connection (i.e., step S12), the slave device can report its own operating parameters to the master device. Operating parameters include, for example, the number of phases supported by the slave device, the rated power of the slave device, and the Received Signal Strength Indicator (RSSI), etc.
[0120] Furthermore, the master control device can generate timing information by combining its own operating parameters with those of the slave devices. For details, please refer to [link to relevant documentation]. Figure 7 This process may include: Step S31: Calculate communication delay compensation based on the signal strength of the star-flash connection.
[0121] The duration of communication delay compensation is negatively correlated with the strength of the starburst signal. This is because a higher starburst signal strength indicates a faster communication rate from the device, resulting in fewer instances of data queuing and retransmission causing communication delays. Therefore, the required duration of communication delay compensation is shorter.
[0122] In one embodiment, for every 10 dBm decrease in the starburst signal strength, the duration of communication delay compensation is increased by a set duration. The set duration is, for example, 0.05 milliseconds or 0.1 milliseconds, and is not specifically limited here.
[0123] In one embodiment, the correlation between the duration of communication delay compensation and the strength of the starburst signal can be as follows: RSSI_comp = |RSSI| - R1) × K Where RSSI_comp is the communication delay compensation, |RSSI| is the absolute value of the satellite flash signal strength of the slave device, R1 is the set signal strength threshold, and K is the set compensation ratio. Both R1 and K can be selected with appropriate values according to the actual situation. For example, R1 can be set to 60dBm, 70dBm or other signal strength values, and K can be set to 0.05 or other values.
[0124] Step S32: Determine the synchronization timestamp based on the actual timestamp of the first device and the communication delay compensation.
[0125] For example, the actual timestamp used by the first device can be a UTC timestamp. The master device can use the difference between its own actual timestamp and the communication delay compensation as the synchronization timestamp.
[0126] Through the above steps S31~S32, adaptive compensation can be performed on the communication delay between the master device and the slave device, so that the slave device can achieve time alignment based on its synchronization timestamp and the master device can achieve time alignment based on its actual timestamp.
[0127] In addition, the master control device can convert communication delay compensation into phase compensation, and then use the phase compensation as phase calibration information to calibrate the output voltage phase of the slave device.
[0128] Based on the above design, the master and slave devices can achieve high phase synchronization accuracy. In some tests, the phase synchronization accuracy can reach ±0.5°, which is significantly better than the ±5° phase synchronization accuracy of traditional Wi-Fi.
[0129] In some embodiments, please refer to Figure 8 The equipment control methods also include: Step S41: Monitor the communication status of the star flash connection corresponding to each slave device.
[0130] In one embodiment, after the master device and the slave device establish a star-flash connection, the slave device will periodically send heartbeat packets to the master device under normal communication conditions. Therefore, in step S41, the master device can monitor the communication status of the star-flash connection of each slave device based on the reception of heartbeat packets.
[0131] If the master device does not receive heartbeat packets from the slave device for a set continuous period, the master device can determine that the slave device's star flash connection has been broken, indicating a communication anomaly. The set continuous period can be, for example, 60 milliseconds or 3 star flash synchronization cycles, and can be adjusted according to actual conditions; no specific limit is imposed here. Setting the continuous period ensures that the heartbeat packet loss is due to a communication anomaly, and not due to accidental momentary interference (such as electromagnetic noise), thus avoiding misjudgment.
[0132] In another embodiment, the master control device can also self-detect the star flash signal strength between itself and the slave device. If the star flash signal strength is lower than the lower limit, the master control device can determine that the star flash connection of the slave device has been broken, and a communication anomaly has occurred. The lower limit of signal strength can be set according to actual conditions, such as 85dBm, 90dBm, or other signal strength values.
[0133] Step S42: If the star flash connection of any slave device is detected to be disconnected, the electrical connection between the corresponding slave device and the power grid is shut off, the power regulation command sent to the corresponding slave device is stopped, and the updated power regulation command is sent to other slave devices through the star flash connection to adjust the output power of other slave devices.
[0134] In step S42, the master control device can control the switching switch to disconnect the slave device with communication failure from each phase line to disconnect it from the power grid, and can stop sending power regulation commands to the corresponding slave device to cut off the slave device with communication failure, and perform power regulation on other slave devices except the slave device with communication failure, so as to solve the problem of phase power imbalance caused by cutting off the slave device with communication failure, and make the power of each phase reach balance again.
[0135] For example, suppose an energy storage system has three phase lines, A, B, and C, which are electrically connected to the power grid. The output currents corresponding to these three phase lines are IA, B, and C, respectively. a I b I c When a disconnection occurs on phase A, the three-phase output current becomes I. a =18A、I b =10A、I c When the current is 10A, under the control of the main control equipment, a portion of the A-phase line from the equipment and load can be transferred to the C-phase line to adjust the three-phase output current to I. a =12A、I b =10A、I c =16A. Since power balance has not yet been achieved, a second power regulation can be performed to ultimately adjust the three-phase output current to I. a =12A、I b =13A、I c =13A.
[0136] In step S42, the process of the master control device adjusting the output power of other slave devices can be referred to the relevant description of the power regulation process above, and will not be repeated here.
[0137] Understandably, by shutting off the electrical connection between the corresponding slave device and the power grid, the master control device can stop sending power regulation commands to the corresponding slave device, thereby isolating the slave device with communication abnormalities. This prevents the uncontrollable slave device from affecting the operational safety and stability of the energy storage system, load, and power grid. Moreover, it can release the power quota, communication channel, and other resources occupied by the slave device with communication abnormalities, improving resource utilization.
[0138] Therefore, through the above steps S41~S42, the master control device can identify communication abnormalities of the slave device and take timely countermeasures to avoid phase-to-phase power imbalance, thereby ensuring the safe and stable operation of the energy storage system, load and power grid.
[0139] In some embodiments, the master device can periodically send heartbeat packets to the slave device. If the slave device does not receive a heartbeat packet from the master device for a set continuous period of time, the slave device can determine that its star flash connection with the master device has been broken and a communication abnormality has occurred.
[0140] In other embodiments, the slave device can also self-detect the star flash signal strength between itself and the master device, and determine that the star flash connection is broken and a communication abnormality has occurred if the star flash signal strength is lower than the lower limit of the signal strength.
[0141] Furthermore, slave devices experiencing communication issues can automatically enter independent mode, enabling self-generation and self-consumption of power. Moreover, the slave device can save its operating parameters from when communication was normal to its local storage. Later, if the slave device re-establishes the Starflash connection with the master device, it can send the historical operating parameters from when communication was normal to the master device, facilitating master device control. Alternatively, it can be used to help users troubleshoot problems during subsequent maintenance of the slave device.
[0142] In standalone mode, slave devices can periodically initiate Star Flash reconnection requests to the master control device, ensuring a timely re-establishment of the Star Flash connection when communication is restored. This self-healing mechanism improves the operational reliability of the energy storage system.
[0143] In one embodiment, under normal grid operation, the slave device in standalone mode can initiate a star flash reconnection request every first time interval. In the event of a grid failure, the slave device in standalone mode can initiate a star flash reconnection request every second time interval. The second time interval is shorter than the first time interval. The specific lengths of the first and second time intervals can be determined based on actual conditions; for example, the first time interval could be set to 1 second and the second time interval to 200 milliseconds.
[0144] This design takes into account that when the power grid fails, the load can only be powered by the energy storage system. The independent slave devices frequently initiate star flash reconnection requests, which can be put into use more quickly when the slave device communication is restored, thereby increasing the capacity of the energy storage system and ensuring that the power resources of the energy storage system can meet the load demand.
[0145] Understandably, after the slave device re-establishes the star connection with the master device, the master device can restore the slave device's electrical connection with the power grid and send the latest power regulation command to the slave device to readjust the slave device's output power.
[0146] In some embodiments, the energy storage system may use the highest priority energy storage device as the master device and the remaining energy storage devices as slave devices.
[0147] In one embodiment, the priority of an energy storage device is related to its information, including the starburst signal strength, configuration, and so on. A stronger starburst signal indicates a higher priority. Energy storage devices equipped with an energy storage converter, energy storage battery, and photovoltaic modules have a higher priority than those equipped with only an energy storage converter and energy storage battery. In another embodiment, the priority of an energy storage device can also be user-defined.
[0148] In other embodiments, the energy storage system may also designate the earliest powered-on energy storage device as the master device and the remaining energy storage devices as slave devices.
[0149] Therefore, please refer to Figure 9 Prior to step S11, the device control method may include: Step S10: After the first device is powered on, if no network request is detected through the Star Flash Communication Module within a preset time period, the first device is determined to be the master control device.
[0150] In other words, if the first device does not receive a network request after a certain period of time, it indicates that the first device was the first energy storage device to be powered on. Therefore, the first device is designated as the master device, and other energy storage devices powered on afterward are designated as slave devices. The preset time can be set according to actual conditions and is not limited here.
[0151] In summary, the above embodiments are examples of the master-slave election strategy provided in this application. Based on the master-slave election strategy, the master and slave devices can be quickly determined, which is beneficial to control accuracy and avoids control confusion.
[0152] It is important to understand that in practical applications, the master-slave election strategy is not limited to the examples above. The specific strategy can be set according to the actual situation, and will not be listed here.
[0153] This application also provides another device control method. This device control method is applied to a second device in an energy storage system and is executed by a processor in the second device. For ease of distinction, this device control method can be simply referred to as Method Two.
[0154] For details, please refer to the following document again. Figure 9 The device control method includes the following steps: Step S51: After the second device is powered on, signal monitoring is performed through the Star Flash Communication Module.
[0155] Step S52: If a networking request broadcast by the master device is detected within a preset time period, the second device is determined to be a slave device and sends a networking response message to the master device. The networking response message is used to handshake with the master device and establish a Star Flash connection.
[0156] Step S53: Receive timing information sent by the master control device, wherein the timing information includes a synchronization timestamp and phase calibration information.
[0157] Step S54: Perform phase synchronization by synchronizing timestamps and phase calibration information.
[0158] Step S55: Receive the power control command sent by the master control device, and adjust the output power corresponding to the output power command based on the synchronized output phase.
[0159] It should be understood that the contents of steps S51 to S55 above can be referred to the relevant description in Method 1 above, and will not be repeated here.
[0160] It is understandable that, such as Figure 9 As shown, when the slave device executes method two, the master device simultaneously executes method one, enabling the master device and the slave device to work together.
[0161] It should be noted that, for the sake of simplicity, the aforementioned method embodiments are described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, because according to this application, some steps may be performed in other orders or simultaneously.
[0162] Please see Figure 10 The diagram shows a structural schematic of an electronic device provided in an embodiment of this application.
[0163] like Figure 10 As shown, the electronic device 200 may include a processor 14 and a memory 15. The types of the processor 14 and memory 15 can be referenced... Figure 2The relevant description is as follows. The memory 15 can be independent and connected to the processor 14 via a bus. Alternatively, the memory 15 can be integrated with the processor 14. The memory 15 stores programs, instructions, or code for executing the above-described device control methods. The processor 14 executes the programs, instructions, or code stored in the memory 15. The programs, instructions, or code stored in the memory 15 can execute some or all of the steps in any of the foregoing method embodiments (such as Method 1 or Method 2).
[0164] This application also provides a computer-readable storage medium for storing a computer program, which, when executed by a controller, causes the controller to perform all or part of the steps in the above-described method embodiments. The computer-readable storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Specific implementations of the computer-readable storage medium can be found in the description of the aforementioned memory 15, and will not be repeated here.
[0165] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application and are not intended to limit it. Although this application has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of this application without departing from the spirit and scope of the technical solutions of this application.
Claims
1. A device control method, characterized in that, The first device applied in an energy storage system, the method comprising: When the first device is the master control device, it periodically broadcasts a network formation request through the Star Flash Communication module; After receiving the network response information from the slave device in response to the network request, the system hands together with the slave device and establishes a Star Flash connection. The timing information is sent to the slave device via the Star Flash connection, wherein the timing information includes a synchronization timestamp and phase calibration information; After the slave device completes phase synchronization based on the timing information, a power regulation command is sent to the slave device through the star flash connection to control the output power of the slave device.
2. The method as described in claim 1, characterized in that, The step of sending a power regulation command to the slave device via the starlight connection to control the output power of the slave device includes: Obtain the output current of each phase of the energy storage system; When it is determined that an interphase power imbalance occurs based on the output current of each phase of the energy storage system, the target power information of the slave device is determined based on the phase lines connected to the master control device and the slave device and the preset power balancing algorithm. The power control command is sent to the slave device through the star connection. The power control command is used to instruct the slave device to output the output power corresponding to the target power information on the connected phase line.
3. The method as described in claim 2, characterized in that, The method further includes: The current imbalance is calculated based on the difference between the maximum and minimum phase currents in the output current of each phase. When the current imbalance exceeds a set balance threshold, it is determined that an interphase power imbalance has occurred.
4. The method as described in claim 1, characterized in that, The method further includes: Monitor the communication status of the star flash connection corresponding to each of the slave devices; If the star connection of any of the slave devices is detected to be disconnected, the electrical connection between the corresponding slave device and the power grid is shut off, the sending of power regulation commands to the corresponding slave device is stopped, and updated power regulation commands are sent to other slave devices through the star connection to adjust the output power of the other slave devices.
5. The method as described in claim 1, characterized in that, The method further includes: If no network request is detected by the StarScan communication module within a preset time after the first device is powered on, the first device is determined to be the master control device.
6. The method according to any one of claims 1-5, characterized in that, After the handshake with the slave device and the establishment of the StarSpark connection, the following is also included: Communication delay compensation is calculated based on the signal strength of the star flash connection; wherein the duration of the communication delay compensation is negatively correlated with the star flash signal strength; The synchronization timestamp is determined based on the actual timestamp of the first device and the communication delay compensation.
7. A device control method, characterized in that, The method includes a second device applied in an energy storage system, the method comprising: After the second device is powered on, signal monitoring is performed through the Star Flash Communication Module; If a networking request broadcast by the master device is detected within a preset time period, the second device is determined to be a slave device and sends a networking response message to the master device. The networking response message is used to handshake with the master device and establish a Star Flash connection. Receive timing information sent by the main control device, wherein the timing information includes a synchronization timestamp and phase calibration information; Phase synchronization is performed using the synchronization timestamp and the phase calibration information; Upon receiving the power control command sent by the main control device, the system outputs the power corresponding to the power control command based on the synchronized output phase.
8. An energy storage device, comprising a star-flash communication module, a processor, a memory, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it causes the energy storage device to implement the device control method as described in any one of claims 1 to 6, or to implement the device control method as described in claim 7.
9. An energy storage system, characterized in that, It includes a first device and a second device, wherein the first device is used to perform the device control method as described in any one of claims 1 to 6, and the second device is used to perform the device control method as described in claim 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by the controller, causes the controller to implement the device control method as described in any one of claims 1 to 6, or to implement the device control method as described in claim 7.