Power supply method and power distribution system

By introducing control circuits and energy storage devices into the power distribution system, the status of the current detection device is detected and the first switch is controlled to open. The output power of the energy storage device is determined based on the load power of the load power supply line. This solves the problem of the power distribution system being unable to supply power due to the failure of the current detection device or improper installation, and realizes self-generation and self-use and improves system reliability.

CN121643202APending Publication Date: 2026-03-10SHENZHEN ANKEXUCHUANG TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511757065.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-26
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

In existing power distribution systems, the introduction of intelligent distribution boxes increases wiring complexity, leading to malfunctions or improper installation of current detection devices, resulting in the power distribution system being unable to supply power normally.

Method used

By introducing a control circuit into the power distribution system, the status of the current detection device is detected, the first switch is controlled to open, and the output power of the energy storage device is determined based on the load power of the load power supply line. The energy storage device is then used to supply power to the load through the second power supply line.

Benefits of technology

When the current detection device malfunctions, it ensures the normal power supply of the power distribution system, avoids the risk of power being fed back to the grid, realizes self-generation and self-consumption, improves system reliability and reduces bill of materials costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121643202A_ABST
    Figure CN121643202A_ABST
Patent Text Reader

Abstract

The invention provides a power supply method and a power distribution system, and relates to the technical field of power supply. The power distribution system comprises a control circuit, a power distribution box body, a first switch, a first power supply line used for being connected with a power grid and a second power supply line used for being connected with energy storage equipment, the power distribution box body is connected with the first power supply line through the first switch, and a current detection device is arranged on the first power supply line. The second power supply line is connected with the distribution box body. The control circuit can obtain the detection result of the current detection device. When the detection result shows that the flow detection device works abnormally, the first switch is controlled to be switched off; and determining the output power of the energy storage equipment based on the load power required by each of the plurality of load power supply lines in the distribution box main body, so that the energy storage equipment supplies power to the plurality of load power supply lines based on the output power. Therefore, normal power supply of the power distribution system is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of power supply, and in particular to a power supply method and a power distribution system. BACKGROUND

[0002] In order to realize energy management of a large range of household loads, a power distribution system usually accesses a smart distribution box (or a smart distribution panel). Since the smart distribution box is introduced, the wiring of the power distribution system also brings certain complexity, and it is necessary to introduce an electric meter (such as a power grid electric meter) or a current transformer (CT) to sample the power or current of the main supply circuit of the household in the power distribution system, so as to ensure that an energy management system (EMS) in the power distribution system can normally realize various working modes (such as anti-backflow, self-generation and self-use, etc.).

[0003] Therefore, how to ensure normal power supply of the power distribution system is a key problem to be solved for realizing energy management of household loads. SUMMARY

[0004] Embodiments of the present application provide a power supply method and a power distribution system to ensure normal power supply of the power distribution system.

[0005] In a first aspect, embodiments of the present application provide a power supply method applied to a control circuit of a power distribution system, the power distribution system further comprising a distribution box main body, a first switch, a first power supply circuit and a second power supply circuit, wherein the distribution box main body comprises a plurality of load power supply circuits connected in parallel, the plurality of load power supply circuits are respectively connected with the first power supply circuit through the first switch, the first power supply circuit is used for accessing a power grid, a current detection device is arranged on the first power supply circuit, the current detection device is used for detecting the current on the first power supply circuit, the plurality of load power supply circuits are respectively connected with the second power supply circuit, the second power supply circuit is used for accessing an energy storage device, the control circuit is connected with the distribution box main body, the first switch, the power grid, the current detection device and the energy storage device, and the power supply method comprises: In response to a state detection request for the current detection device, a detection result of the current detection device is acquired; the detection result represents whether the current detection device works abnormally; When the detection result represents that the current detection device works abnormally, the first switch is controlled to be opened; Based on load powers required by the plurality of load power supply circuits respectively, an output power of the energy storage device is determined, and a first indication signal is sent to the energy storage device; the first indication signal is used for instructing the energy storage device to supply power to the plurality of load power supply circuits based on the output power.

[0006] In a second aspect, the embodiments of the present application provide a power distribution system, comprising: a control circuit, a power distribution box main body, a first switch, a first power supply circuit and a second power supply circuit; wherein The control circuit is configured to execute the power supply method according to the first aspect, the power distribution box main body comprises a plurality of load power supply circuits connected in parallel, the plurality of load power supply circuits are respectively connected to the first power supply circuit through the first switch, the first power supply circuit is configured to be connected to a power grid, a current detection device is arranged on the first power supply circuit, the current detection device is configured to detect a current on the first power supply circuit, the plurality of load power supply circuits are respectively connected to the second power supply circuit, the second power supply circuit is configured to be connected to an energy storage device, and the control circuit is connected to the power distribution box main body, the first switch, the power grid, the current detection device and the energy storage device.

[0007] In a third aspect, the embodiments of the present application provide a power supply device applied to a control circuit of a power distribution system, the power distribution system further comprising a power distribution box main body, a first switch, a first power supply circuit and a second power supply circuit, wherein the power distribution box main body comprises a plurality of load power supply circuits connected in parallel, the plurality of load power supply circuits are respectively connected to the first power supply circuit through the first switch, the first power supply circuit is configured to be connected to a power grid, a current detection device is arranged on the first power supply circuit, the current detection device is configured to detect a current on the first power supply circuit, the plurality of load power supply circuits are respectively connected to the second power supply circuit, the second power supply circuit is configured to be connected to an energy storage device, and the control circuit is connected to the power distribution box main body, the first switch, the power grid, the current detection device and the energy storage device, and the power supply device comprises: a state detection module configured to acquire a detection result of the current detection device in response to a state detection request for the current detection device, the detection result indicating whether the current detection device is abnormal; a circuit control module configured to control the first switch to be turned off when the detection result indicates that the current detection device is abnormal; an instruction sending module configured to determine an output power of the energy storage device based on load powers required by the plurality of load power supply circuits respectively, and send a first instruction signal to the energy storage device, the first instruction signal being configured to instruct the energy storage device to supply power to the plurality of load power supply circuits based on the output power.

[0008] In a fourth aspect, the embodiments of the present application provide an electronic device, comprising: a processor; a memory configured to store a program, wherein the program comprises instructions configured to cause the processor to execute the power supply method according to the first aspect.

[0009] In a fifth aspect, the embodiments of the present application provide a non-transitory computer readable storage medium storing computer instructions, wherein the computer instructions are configured to cause a computer to execute the power supply method according to the first aspect.

[0010] In a sixth aspect, the present application provides a computer program product, which, when invoked by a computer, causes the computer to perform the power supply method steps of the first aspect.

[0011] The present application has the following advantages: In the power supply method provided by the embodiments of the present application, once the control circuit in the power distribution system detects that the current detection device (such as a CT or a power meter, etc.) arranged on the first power supply line is abnormal, the control circuit can control the first switch to be opened, that is, to stop supplying power to the plurality of load supply lines included in the power distribution box body through the first power supply line connected to the power grid. Moreover, the control circuit can determine the output power of the energy storage device based on the load power required by each of the plurality of load supply lines, and send a first indication signal to the energy storage device, the first indication signal being used to instruct the energy storage device to supply power to the plurality of load supply lines based on the output power and the second power supply line. As can be seen, through the energy storage device and the second power supply line, the power distribution system can still ensure normal power supply when an abnormal situation (such as an abnormal working of the current detection device) occurs.

[0012] In addition, other features and advantages of the present application will be described in the following description, and some will become apparent from the description, or will be understood through implementation of the present application. The purposes and other advantages of the present application can be achieved and obtained through the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF DRAWINGS

[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced as follows. Obviously, the drawings described here are used to provide further understanding of the present application, and form a part of the present application. They do not constitute an improper limitation on the present application. In the drawings: Figure 1 A system architecture schematic diagram of an optional power distribution system applicable to the embodiments of the present application.

[0014] Figure 2 An implementation flowchart of a power supply method provided by the embodiments of the present application.

[0015] Figure 3 A structure schematic diagram of a power supply device provided by the embodiments of the present application.

[0016] Figure 4 A structure schematic diagram of an electronic device provided by the embodiments of the present application.

[0017] Reference signs: 1 - control circuit; 2 - distribution box body; 211 ~ 21n - load supply line; 221 ~ 22n - second switch; 3 - first switch; 4 - first supply line; 5 - second supply line; 6 - current detection device; G - power grid; S - energy storage device. DETAILED DESCRIPTION

[0018] The embodiments of the present application are described below in detail, examples of the embodiments are shown in the drawings, and the same or similar reference signs represent the same or similar elements or elements having the same or similar functions throughout the drawings. The embodiments described below by referring to the drawings are exemplary, and are only used to explain the present application, and cannot be understood as a limitation of the present application.

[0019] In order to make the person skilled in the art better understand the scheme of the present application, the technical scheme in the embodiments of the present application will be described clearly and completely below by combining the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by the person skilled in the art without creative labor are within the scope of protection of the present application. In the embodiments of the present application, it should be noted that, in this document, relationship terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between the entities or operations.

[0020] Moreover, the term "comprising" or "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such process, method, article or equipment. Without more limitations, the element defined by the sentence "including a" does not exclude the presence of another identical element in the process, method, article or equipment including the element.

[0021] In the description of the embodiments of this application, the words "example" or "for example" are used to indicate exemplification, illustration, or description. Any embodiment or design described as "example" or "for example" in the embodiments of this application is not to be construed as being better or having more advantages than another embodiment or design. The use of the words "example" or "for example" is intended to present relative concepts in a clear manner. In addition, "multiple" in the embodiments of this application refers to two or more. Therefore, "multiple" can also be understood as "at least two" in the embodiments of this application. "At least one" can be understood as one or more, such as one, two, or more. For example, including at least one means including one, two, or more, and is not limited to which ones are included. For example, including at least one of A, B, and C, then it can include A, B, C, A and B, A and C, B and C, or A and B and C.

[0022] It should be noted that in the embodiments of this application, "and / or" describes the relationship between associated 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, the character " / ", unless otherwise specified, generally indicates that the preceding and following associated objects have an "or" relationship. It should be pointed out that in the embodiments of this application, "connection" can be understood as an electrical connection. The connection between two electrical components can be a direct or indirect connection between the two electrical components. For example, the connection between A and B can be a direct connection between A and B, or an indirect connection between A and B through one or more other electrical components.

[0023] Furthermore, the names of the messages or information exchanged between the multiple devices in the embodiments of this application are for illustrative purposes only and are not intended to limit the scope of these messages or information.

[0024] The design concept of the embodiments of this application is briefly introduced below: To achieve energy management for a wide range of household loads, power distribution systems are typically connected to smart distribution boxes. However, the introduction of smart distribution boxes increases the complexity of the wiring in the power distribution system, requiring the use of meters or current transformers (CTs) to sample the power or current of the main household power supply circuit to ensure that the power management system (EMS) can operate normally in various modes.

[0025] However, in the aforementioned power distribution system, if any circuit components on the power supply circuit malfunction or are improperly installed, the system will be unable to supply power to household loads. Therefore, how to prevent the power distribution system from failing to supply power due to faulty or improperly installed components is a pressing issue that needs to be addressed.

[0026] In view of this, in order to solve or improve the above-mentioned problems, embodiments of this application provide a power distribution system. See also... Figure 1 As shown, the power distribution system includes: a control circuit 1, a distribution box body 2, a first switch 3, a first power supply line 4, and a second power supply line 5. The control circuit 1 is connected to the distribution box body 2, the first switch 3, the first power supply line 4, and the second power supply line 5 (e.g., electrical or communication connection). The distribution box body 2 is connected to the first power supply line 4 via the first switch 3. A current detection device 6 is installed on the first power supply line 4. The second power supply line 5 is connected to the distribution box body 2. The first power supply line 4 can be used to connect to the power grid G, the current detection device 6 can be used to detect the current on the first power supply line 4, and the second power supply line 5 can be used to connect to an energy storage device S.

[0027] For example, the power grid G ​​can be grid-connected or off-grid, the current detection device 6 can include: CT and / or meter, and the energy storage device S can be any of the green power sources such as energy storage modules in wind power equipment (e.g., batteries), energy storage modules in photovoltaic power generation equipment, and energy storage modules in geothermal power generation equipment. This application embodiment does not specifically limit this.

[0028] Understandably, when the power distribution system supplies power to the main body of the distribution box 2 through the power grid G, the first switch 3 is in the closed state, and the main body of the distribution box 2 is connected to the first power supply line 4. When power is supplied to the main body of the distribution box 2 through the energy storage device S, the first switch 3 is in the open state, and the main body of the distribution box 2 is disconnected from the first power supply line 4. Optionally, the energy storage device S can also be called a backup power supply device; of course, the energy storage device can also have other names.

[0029] Optional, as before Figure 1 As shown, the main body 2 of the distribution box may include multiple parallel load power supply lines (e.g., load power supply lines 211 to 21n). Load power supply lines 211 to 21n are respectively connected to the first power supply line 4 via a first switch 3, and are also respectively connected to the second power supply circuit 5. Each load power supply line is equipped with a second switch (e.g., second switch 221 to 22n), and each second switch can be used to control the on / off state of the corresponding load power supply line.

[0030] For example, when the load connected to the load power supply line needs power, the control circuit 1 needs to control the corresponding second switch to close in order to conduct the load power supply line; conversely, when the load connected to the load power supply line does not need power, the control circuit 1 can control the corresponding second switch to open in order to disconnect the load power supply line.

[0031] In addition, the main body 2 of the distribution box may also include: branch detection units corresponding to the load power supply lines 211 to 21n respectively (not included in the main body 2). Figure 1 (As shown in the diagram). Each branch detection unit can be used to detect the load power required by the corresponding load power supply line. In this way, the output power of the energy storage device can be determined through multiple branch detection units.

[0032] Optionally, the control circuit 1, the main body of the distribution box 2, the first switch 3, the first power supply line 4, the second power supply line 5, the current detection device 6, the load power supply line 211 ~ the load power supply line 21n, and the second switch 221 ~ the second switch 22n can be integrated on the automatic transfer switch (ATS) panel.

[0033] Specifically, in this embodiment, the control circuit 1 can be used to obtain the detection result of the current detection device 6 in response to a status detection request for the current detection device 6; wherein the aforementioned detection result can indicate whether the current detection device 6 is malfunctioning; then, if the aforementioned detection result indicates that the current detection device 6 is malfunctioning, the first switch 3 is controlled to open; finally, based on the required load power of each of the multiple load power supply lines (i.e., load power supply lines 211 to 21n), the output power of the energy storage device S is determined, and a first indication signal is sent to the energy storage device S. The aforementioned first indication signal can be used to instruct the energy storage device S to supply power to the multiple load power supply lines based on the output power.

[0034] The following is combined with Figure 1 The system architecture of the power distribution system shown, and the power supply method provided by the exemplary embodiments of this application described with reference to the accompanying drawings, should be noted as follows: Figure 1 The system architecture of the power distribution system shown is only for the purpose of understanding the spirit and principles of this application, and the implementation of this application is not limited in any way.

[0035] See Figure 2 The diagram shown is a schematic representation of the implementation flow of a power supply method provided in this application embodiment. The execution entity is a control circuit included in a power distribution system, and the specific implementation flow of this method is as follows: S201: In response to a status detection request for the current detection device, obtain the detection result of the current detection device.

[0036] The aforementioned detection results can characterize whether the current detection device is malfunctioning, i.e., whether the current detection device is in an abnormal (or normal) state. It is understood that the aforementioned state detection request can be initiated by the user or automatically triggered by the control circuit at a set time interval (e.g., 5 seconds).

[0037] If the current detection device has a self-test function, that is, the current detection device can detect whether it is malfunctioning or working normally, then in one optional implementation, when executing step S201, if the control circuit does not receive a self-test success signal from the current detection device within a set detection time (e.g., 10 seconds) after responding to the status detection request for the current detection device, the control circuit can determine that the detection result of the current detection device indicates that the current detection device is malfunctioning.

[0038] Conversely, if the aforementioned self-test success signal is received within the set detection time, the control circuit can determine that the detection result of the current detection device indicates that the current detection device is working normally.

[0039] The aforementioned self-test success signal can be used to indicate that the current detection device is normal and that there is no abnormality in the line connection with the first power supply line. In other words, the current detection device only sends the aforementioned self-test success signal to the control circuit when it detects that its installation position is appropriate (i.e., the circuit connection of the current detection device is normal) and that it is working normally.

[0040] Based on the above method, the control circuit can determine the working status of the current detection device through the self-test of the current detection device, without the need for the control circuit to directly detect the working status of the current detection device, thus reducing the load on the control circuit.

[0041] In another optional implementation, during step S201, the control circuit can also detect the display screen and indicator lights included in the current detection device, obtaining the display data of the display screen and the flashing data of the indicator lights. Therefore, if the display data or flashing data indicates that the current detection device does not meet the preset normal operating conditions, the control circuit can determine that the current detection device is malfunctioning. The display screen can be used to display the amount of power flowing through the first power supply line (unit: milliampere or ampere) or the cumulative energy consumption (unit: kilowatt-hour or kWh), and the indicator lights can flash once for every unit increase in cumulative energy consumption (e.g., 1 kilowatt-hour or 1 kWh).

[0042] In addition, the above-mentioned preset normal working conditions may be: the display screen shows the magnitude of the current flowing through the first power supply line or the cumulative power consumption, and the indicator light flashes once for each unit increase in the cumulative power consumption when the power grid supplies power to one or more load power supply lines in the main body of the distribution box that have power supply demand.

[0043] Therefore, if the above-mentioned display data indicates that the display screen does not show the magnitude of the current flowing through the first power supply line or the cumulative power consumption, the control circuit can determine that the current detection device is malfunctioning.

[0044] Alternatively, if the aforementioned flashing data indicates that the indicator light is still flashing even when none of the multiple load power supply lines included in the main body of the distribution box have a power supply demand, the control circuit can determine that the current detection device is malfunctioning.

[0045] In this way, the control circuit can quickly determine whether the current detection device is malfunctioning by detecting the display screen and indicator lights of the current detection device without waiting for the set detection time mentioned above, that is, without waiting for the self-test success signal of the current detection device. In addition, it also avoids the problem that the current detection device cannot determine its working status in time due to the malfunction of the self-test function of the current detection device (such as the inability to send a self-test success signal).

[0046] Optionally, after the control circuit detects the display screen and indicator lights of the current detection device and obtains the display data and the flashing data of the indicator lights, it can also detect the line connection of the current detection device when it is determined based on the display data and flashing data that the current detection device meets the above-mentioned preset normal working conditions, and obtain the line connection detection result. If the aforementioned line connection detection result indicates that the line connection of the current detection device on the first power supply line is abnormal (i.e., the line connection requirements of the current detection device are met), then the control circuit can determine that the current detection device is malfunctioning.

[0047] In this way, after the control circuit determines that the current detection device is normal, it checks the wiring connection of the current detection device to ensure that the current detection device is properly installed. Through a dual detection mechanism, it avoids directly judging that the current detection device is malfunctioning when it is determined that the current detection device meets the above-mentioned preset normal working conditions based on the displayed data and flashing data. This further improves the accuracy of determining the working status of the current detection device.

[0048] S202: If the detection result indicates that the current detection device is malfunctioning, the first switch is controlled to open.

[0049] For example, during step S202, once the control circuit determines that the current detection device is malfunctioning, it can output a first control signal to disconnect the first switch. The first control signal is used to control the first switch to disconnect.

[0050] Optionally, when the detection results indicate that the current detection device is functioning normally, the control circuit controls the first switch to close. For example, if the control circuit determines that the current detection device is functioning normally, it can output a second control signal to keep the first switch closed. The second control signal is used to control the first switch to close.

[0051] Furthermore, the control circuit can respond to the received grid connection command by sending a second indication signal to the energy storage device. The grid connection command indicates that the circuit between the main body of the distribution box and the power grid is connected, and the multiple load power supply lines included in the main body of the distribution box are powered by the power grid. The second indication signal indicates that the energy storage device should not supply power to the multiple load power supply lines.

[0052] Optionally, the control circuit can also send a third indication signal to the energy storage device in response to the received off-grid command. The off-grid command instructs the circuit between the main body of the distribution box and the power grid to be disconnected, and the multiple load power supply lines included in the main body of the distribution box are powered by the energy storage device. The third indication signal instructs the energy storage device to supply power to the multiple load power supply lines.

[0053] In addition, the control circuit can also send a fourth indication signal to the energy storage device after receiving the grid connection command. The fourth indication signal is used to instruct the energy storage device to charge based on the current on the first power supply line.

[0054] Thus, when the control circuit determines that the current detection device is normal (or the first power supply line and the power grid are able to supply power to the multiple load power supply lines included in the main body of the distribution box), it instructs the energy storage device to stop supplying power; and ensures that when the current detection device is abnormal, the energy storage device can supply power to the multiple load power supply lines included in the main body of the distribution box through the second power supply line.

[0055] In one alternative implementation, the control circuit may send a fourth indication signal to the energy storage device only when it determines that the grid electricity price is lower than a preset electricity price threshold and the remaining power of the energy storage device is lower than a preset power threshold. In this way, by storing electricity during periods of low electricity prices and using it during periods of high electricity prices, users' electricity costs can be reduced.

[0056] S203: Based on the load power required by each of the multiple load power supply lines, determine the output power of the energy storage device and send a first indication signal to the energy storage device.

[0057] The aforementioned first indication signal can be used to instruct the energy storage device to supply power to multiple load power lines based on a determined output power. Optionally, to ensure maximum green energy utilization of the energy provided by the energy storage device and to achieve self-consumption of the energy storage device as much as possible, the output power of the energy storage device can be less than or equal to the sum of the load power required by each of the multiple load power lines included in the main body of the distribution box. For example, the relationship between the output power of the aforementioned energy storage device and the sum of the load power of the multiple load power lines can be specifically expressed as follows: ;in, Indicates the output power of the energy storage device. It represents the sum of the load power of multiple load power supply lines.

[0058] Optionally, if the output power of the energy storage device is equal to the sum of the load power required by each of the multiple load power supply lines included in the main body of the distribution box, then the calculation formula for the output power of the energy storage device can be specifically expressed as follows:

[0059] in, Indicates the output power of the energy storage device. This represents the sum of the load power required by each of the multiple load power supply lines included in the main body of the distribution box. Indicates the first of multiple load power supply lines i The load power required by the power supply line of each load. N This indicates the number of load power supply lines included in the main body of the distribution box.

[0060] In one optional implementation, the control circuit, while determining the output power of the energy storage device based on the required load power of each of the multiple load power supply lines included in the distribution box, can also determine a first subset of load power supply lines with zero load power and a second subset of load power supply lines with non-zero load power based on the required load power of each of the multiple load power supply lines. This allows the control circuit to open the second switches installed on each load power supply line in the first subset of load power supply lines and close the second switches installed on at least one load power supply line in the second subset of load power supply lines. In this way, by controlling the opening and closing of the second switches on the load power supply lines, not only is it ensured that the energy storage device can accurately supply power to the loads that require it, but the energy consumption of the energy storage device is also reduced.

[0061] For example, after determining a first subset of load power supply lines with zero load power and a second subset of load power supply lines with non-zero load power, the control circuit can output a third control signal and a fourth control signal to open the second switches respectively installed on each load power supply line included in the first subset of load power supply lines, and to close the second switches respectively installed on at least one load power supply line included in the second subset of load power supply lines. The third control signal can be used to control the second switches to open, and the third control signal can be used to control the second switches to close.

[0062] Optionally, after determining the first and second subsets of load power supply lines, the control circuit can further determine the output power of the energy storage device based on the required load power of each of the at least one load power supply line included in the second subset of load power supply lines. This reduces the computational complexity of the energy storage device's output power.

[0063] Since the power supply method provided in this application relies on the normal operation of the control circuit and the energy storage device, in one optional implementation, after determining the output power of the energy storage device based on the required load power of each of the multiple load power supply lines, the control circuit can also obtain the current operating mode of the energy storage device. Therefore, when the energy storage device is in a non-power-disabled mode, a first indication signal is sent to the energy storage device. The aforementioned operating mode can include both a power-disabled mode and a non-power-disabled mode. It should be noted that if the energy storage device is in a power-disabled mode, i.e., the energy storage device is in a powered-off state, information interaction with the control circuit is not possible.

[0064] It should be understood that, based on the above method, the control circuit avoids sending the first indication signal to the energy storage device when the energy storage device is not working properly, thus reducing invalid signaling overhead.

[0065] To avoid problems such as reduced lifespan due to overuse of energy storage devices, the control circuit can obtain the remaining power of the energy storage device at the current moment after determining that the energy storage device is in a non-power-off mode. When the remaining power is greater than or equal to a preset power threshold, the control circuit can send a first indication signal to the energy storage device.

[0066] Taking energy storage devices as an example, the energy storage device's capacity is equivalent to the battery's state of charge (SOC). Therefore, assuming a preset capacity threshold is SOC... th = 20%, if the remaining SOC of the energy storage device at the current moment. r If the remaining power is 50%, the control circuit can determine the State of Charge (SOC). r Greater than or equal to SOC th At this point, the control circuit sends a first indication signal to the energy storage device. For example, if the energy storage device's current state of charge (SOC) is... r If the remaining power is 15%, the control circuit can determine the State of Charge (SOC). r Less than SOC th At this point, the control circuit does not send the first indication signal to the energy storage device.

[0067] Furthermore, in an optional implementation, after acquiring the remaining power of the energy storage device, the control circuit can also acquire the temperature of the energy storage device, and then send a first indication signal to the energy storage device when the temperature of the energy storage device is within a preset temperature threshold range and the remaining power is greater than or equal to a preset power threshold.

[0068] The aforementioned preset threshold range refers to the temperature range at which the energy storage device achieves high charging and discharging efficiency, long battery life, and high activity. Thus, when the energy storage device's temperature falls within the preset temperature threshold range and the remaining charge is greater than or equal to the preset charge threshold, a first indication signal is sent to the energy storage device. This not only improves the lifespan and electrical safety of the energy storage device but also enhances its charging and discharging efficiency, long battery life, and activity, while reducing the risk of performance degradation in low-temperature environments.

[0069] Furthermore, in an alternative implementation, after determining the output power of the energy storage device based on the required load power of each of the multiple load power supply lines, the control circuit controls the first switch to close if it receives a self-test success signal from the current detection device. In this way, once it is determined that the current detection device has returned to normal or that the circuit connection of the current detection device is normal, the power supply from the energy storage device can be quickly switched to grid power. It should be noted that the current detection device can periodically perform self-tests and send self-test success signals; this embodiment does not specifically limit this.

[0070] Therefore, the power supply method described in steps S201-S203 above effectively solves the survival problem of the power distribution system when the current detection device on the first power supply line (or main power supply line) fails, i.e., the power distribution system cannot supply power normally. Furthermore, even in the scenario of current detection device failure, local consumption of energy storage devices can still be maintained, avoiding green electricity loss and achieving zero energy waste. Moreover, by constraining the output power of the energy storage devices through load power, the risk of power being fed back to the grid is fundamentally avoided, complying with grid safety regulations. In other words, when the current detection device fails, maximum self-consumption is achieved, meaning self-consumption can be achieved while ensuring backflow prevention. In addition, the fault switching process (i.e., switching from the first power supply line to the second power supply line) requires no manual intervention, and users can still use most of their loads normally, significantly improving the reliability of the power distribution system. Furthermore, because the main body of the distribution box itself has branch detection units, there is no need to add redundant current detection units, reducing the bill of materials (BOM) cost of the power distribution system.

[0071] In summary, in the power supply method provided in this application embodiment, once the control circuit in the energy storage system detects an abnormality in the operation of the current detection device (e.g., a current transformer or electricity meter) installed on the first power supply line, it can control the first switch to open, thereby stopping the power supply to the multiple load power supply lines included in the distribution box body through the first power supply line connected to the power grid. Furthermore, the control circuit can also determine the output power of the energy storage device based on the required load power of each of the multiple load power supply lines, and thus send a first indication signal to the energy storage device to instruct it to supply power to the multiple load power supply lines based on the output power and the second power supply circuit. Therefore, by using the energy storage device and the second power supply line, the problem of the energy storage system being unable to supply power due to the failure or improper installation of the electricity meter or current transformer in existing energy storage systems is effectively solved.

[0072] Furthermore, based on the same technical concept, embodiments of this application also provide a power supply device, applied to, for example... Figure 1 The control circuit in the power distribution system shown is used to implement the above-described method flow of the embodiments of this application.

[0073] For example, see Figure 3 As shown, the power supply device 300 may include: a status detection module 301, a line control module 302, and a command sending module 303, wherein: The status detection module 301 is used to respond to a status detection request for the current detection device and obtain the detection result of the current detection device; the detection result indicates whether the current detection device is malfunctioning. The line control module 302 is used to control the first switch to disconnect when the detection result indicates that the current detection device is malfunctioning. The instruction sending module 303 is used to determine the output power of the energy storage device based on the load power required by each of the multiple load power supply lines, and send a first indication signal to the energy storage device; the first indication signal is used to instruct the energy storage device to supply power to the multiple load power supply lines based on the output power.

[0074] In an optional embodiment, after determining the output power of the energy storage device based on the load power required by each of the multiple load power supply lines, the instruction sending module 303 is further configured to: Obtain the current operating mode of the energy storage device; the operating mode includes power-off mode and power-on mode. When the energy storage device is in a non-power-disabled mode, a first indication signal is sent to the energy storage device.

[0075] In an optional embodiment, after the energy storage device is in a non-power-off mode, the instruction sending module 303 is further configured to: Obtain the remaining power of the energy storage device; When the remaining power is greater than or equal to a preset power threshold, a first indication signal is sent to the energy storage device.

[0076] In an optional embodiment, after obtaining the remaining power of the energy storage device, the instruction sending module 303 is further used to... Obtain the temperature of the energy storage device; When the remaining power is greater than or equal to a preset power threshold, a first indication signal is sent to the energy storage device. The instruction sending module 303 is specifically used for: When the temperature is within a preset temperature threshold range and the remaining power is greater than or equal to a preset power threshold, a first indication signal is sent to the energy storage device.

[0077] In an optional embodiment, when acquiring the detection result of the current detection device, the state detection module 301 is specifically used for: If no self-test success signal is received from the current detection device within the set detection time, the detection result indicates that the current detection device is malfunctioning; wherein, the self-test success signal is used to indicate that the current detection device is normal and the line connection with the first power supply line is abnormal; or; If a self-test success signal is received within the set detection time, the detection result indicates that the current detection device is working normally.

[0078] In an optional embodiment, a second switch is respectively installed on multiple load power supply lines. During the process of determining the output power of the energy storage device based on the required load power of each of the multiple load power supply lines, the line control module 302 is further configured to: Based on the load power required by each of the multiple load power supply lines, determine the first load power supply line subset with zero load power and the second load power supply line subset with non-zero load power; The second switch installed on each load power supply line included in the first load power supply line subset is controlled to be open; and the second switch installed on at least one load power supply line included in the second load power supply line subset is controlled to be closed.

[0079] In an optional embodiment, the line control module 302 is further configured to: When the test results indicate that the current detection device is working normally, the first switch is closed. In an optional embodiment, after controlling the first switch to close, the instruction sending module 303 is further configured to: In response to the received grid connection command, a second indication signal is sent to the energy storage device; the second indication signal is used to instruct the energy storage device not to supply power to multiple load power lines; or, In response to the received off-grid command, a third indication signal is sent to the energy storage device; the third indication signal is used to instruct the energy storage device to supply power to multiple load power lines.

[0080] In an optional embodiment, after determining the output power of the energy storage device based on the load power required by each of the multiple load power supply lines, the line control module 302 is further configured to: If a self-test success signal is received from the current detection device, the first switch is closed.

[0081] Based on the description of the method and apparatus embodiments above, an exemplary embodiment of the present invention also provides an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor. The memory stores a computer program executable by the at least one processor, which, when executed by the at least one processor, causes the electronic device to perform the method according to an embodiment of the present invention.

[0082] This application also provides a non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a computer's processor, is used to cause the computer to perform a method according to an embodiment of this application.

[0083] This application also provides a computer program product, including a computer program, wherein the computer program, when executed by a computer's processor, is used to cause the computer to perform a method according to an embodiment of this application.

[0084] See Figure 4 The diagram shown below illustrates the structure of an electronic device 400 that can serve as a server or client in this application, and is an example of a hardware device that can be applied to various aspects of this application. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the application described and / or claimed herein.

[0085] like Figure 4As shown, the electronic device 400 includes a computing unit 401, which can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) 402 or a computer program loaded from storage unit 408 into random access memory (RAM) 403. The RAM 403 may also store various programs and data required for the operation of the device 400. The computing unit 401, ROM 402, and RAM 403 are interconnected via a bus 404. An I / O interface 405 is also connected to the bus 404.

[0086] Multiple components in electronic device 400 are connected to I / O interface 405, including: input unit 406, output unit 407, storage unit 408, and communication unit 409. Input unit 406 can be any type of device capable of inputting information to electronic device 400. Input unit 406 can receive input digital or character information and generate key signal inputs related to user settings and / or function control of electronic device. Output unit 407 can be any type of device capable of presenting information and may include, but is not limited to, a display, speaker, video / audio output terminal, vibrator, and / or printer. Storage unit 408 may include, but is not limited to, disks and optical discs. Communication unit 409 allows electronic device 400 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks, and may include, but is not limited to, modems, network cards, infrared communication devices, wireless communication transceivers and / or chipsets, such as Bluetooth devices, WiFi devices, worldwide interoperability for microwave access (WiMax) devices, cellular communication devices, and / or the like.

[0087] The computing unit 401 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 401 include, but are not limited to, CPUs, graphics processing units (GPUs), various artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any suitable processor, controller, microcontroller, etc. The computing unit 401 performs the various methods and processes described above. For example, in some embodiments, the power supply methods described above can be implemented as computer software programs tangibly contained in a machine-readable medium, such as storage unit 408. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 400 via ROM 402 and / or communication unit 409. In some embodiments, the computing unit 401 can be configured to perform the power supply methods described above by any other suitable means (e.g., by means of firmware).

[0088] The program code used to implement the methods of this application may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing device, such that when executed by the processor or controller, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0089] In the context of this application, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, RAM, ROM, erasable programmable read-only memory (EPROM) or flash memory, optical fibers, compact disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0090] As used in this application, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, device, and / or apparatus (e.g., disk, optical disk, memory, programmable logic device, PLD) used to provide machine instructions and / or data to a programmable processor, including machine-readable media that receive machine instructions as machine-readable signals. The term "machine-readable signal" refers to any signal used to provide machine instructions and / or data to a programmable processor.

[0091] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a cathode ray tube (CRT) or liquid crystal display (LCD) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0092] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.

[0093] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other.

[0094] Furthermore, it should be understood that the above-disclosed embodiments are merely preferred embodiments of this application and are not intended to limit this application in any way. Although this application has been disclosed above with reference to preferred embodiments, it is not intended to limit this application. Any person skilled in the art can make some modifications or alterations to the above-disclosed technical content to create equivalent embodiments without departing from the scope of the technical solution of this application. Any simple modifications, equivalent changes, and alterations made to the above embodiments based on the technical essence of this application without departing from the content of the technical solution recorded in this application shall still fall within the scope of the technical solution of this application.

Claims

1. A power supply method characterized by, The application is applied to a control circuit of a power distribution system, the power distribution system further comprises a power distribution box body, a first switch, a first power supply circuit and a second power supply circuit, wherein the power distribution box body comprises a plurality of load power supply circuits connected in parallel, the plurality of load power supply circuits are connected with the first power supply circuit through the first switch respectively, the first power supply circuit is used for connecting to a power grid, a current detection device is arranged on the first power supply circuit, the current detection device is used for detecting the current on the first power supply circuit, the plurality of load power supply circuits are further connected with the second power supply circuit respectively, the second power supply circuit is used for connecting to an energy storage device, the control circuit is connected with the power distribution box body, the first switch, the power grid, the current detection device and the energy storage device respectively, and the power supply method comprises: In response to a state detection request for the current detection device, the detection result of the current detection device is obtained; the detection result represents whether the current detection device works abnormally; When the detection result represents that the current detection device works abnormally, the first switch is controlled to be turned off; Based on the load power required by each of the plurality of load power supply circuits, the output power of the energy storage device is determined, and a first instruction signal is sent to the energy storage device; the first instruction signal is used to instruct the energy storage device to supply power to the plurality of load power supply circuits based on the output power.

2. The method of claim 1, after determining the output power of the energy storage device based on the load power required by each of the plurality of load power supply circuits, further comprising: obtaining the working mode of the energy storage device at the current time; the working mode includes a disabled power mode and a non-disabled power mode; when the energy storage device is in the non-disabled power mode, the first instruction signal is sent to the energy storage device.

3. The method of claim 2, after the energy storage device is in the non-disabled power mode, further comprising: obtaining the remaining power of the energy storage device; when the remaining power is greater than or equal to a preset power threshold, the first instruction signal is sent to the energy storage device.

4. The method of claim 3, wherein, After obtaining the remaining power of the energy storage device, further comprising: obtaining the temperature of the energy storage device; when the remaining power is greater than or equal to a preset power threshold, the first instruction signal is sent to the energy storage device, further comprising: when the temperature belongs to a preset temperature threshold range and the remaining power is greater than or equal to the preset power threshold, the first instruction signal is sent to the energy storage device.

5. The method of claim 1, wherein, The detection result of the current detection device comprises: within a set detection time, if a self-check success signal of the current detection device is not received, it is determined that the detection result represents that the current detection device works abnormally; wherein the self-check success signal is used to indicate that the current detection device is normal and the line connection with the first power supply circuit is abnormal; or within the set detection time, if the self-check success signal is received, it is determined that the detection result represents that the current detection device works normally.

6. The method of claim 1 or 2, wherein, The second switch is arranged on each of the plurality of load power supply lines, and the process of determining the output power of the energy storage device based on the required load power of each of the plurality of load power supply lines comprises: determining a first subset of load power supply lines with zero load power and a second subset of load power supply lines with non-zero load power based on the required load power of each of the plurality of load power supply lines; controlling the second switch arranged on each of the load power supply lines included in the first subset of load power supply lines to be turned off; and controlling the second switch arranged on at least one of the load power supply lines included in the second subset of load power supply lines to be turned on.

7. The method of claim 1 or 2, wherein, The method further comprises: controlling the first switch to be turned on when the detection result indicates that the current detection device is working normally.

8. The method of claim 7, wherein, After the first switch is controlled to be turned on, the method further comprises: sending a second indication signal to the energy storage device in response to the received grid-connected instruction; the second indication signal is used to instruct the energy storage device to stop supplying power to the plurality of load power supply lines; or sending a third indication signal to the energy storage device in response to the received off-grid instruction; the third indication signal is used to instruct the energy storage device to supply power to the plurality of load power supply lines.

9. The method of claim 1, wherein, After the output power of the energy storage device is determined based on the required load power of each of the plurality of load power supply lines, the method further comprises: controlling the first switch to be turned on if the self-check success signal of the current detection device is received.

10. A power distribution system, characterized by, It comprises: a control circuit, a power distribution box body, a first switch, a first power supply line and a second power supply line; wherein the control circuit is used to execute the power supply method according to any one of claims 1-9, the power distribution box body comprises a plurality of parallel load power supply lines, the plurality of load power supply lines are respectively connected with the first power supply line through the first switch, the first power supply line is used to access the power grid, the first power supply line is provided with a current detection device, the current detection device is used to detect the current on the first power supply line, the plurality of load power supply lines are also respectively connected with the second power supply circuit, the second power supply circuit is used to access the energy storage device, and the control circuit is connected with the power distribution box body, the first switch, the power grid, the current detection device and the energy storage device respectively.