A switch box addressing method and switch box device

By using an address contention mechanism and driving device verification within the switch box group, the problems of limited installation location and high addressing error rate of switch boxes are solved, enabling automatic configuration of switch box addresses and improving installation efficiency.

CN116866313BActive Publication Date: 2026-05-12SUNGROW ENERGY STORAGE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SUNGROW ENERGY STORAGE TECH CO LTD
Filing Date
2023-07-05
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

In existing technologies, the installation location of switch boxes is limited and cannot be installed arbitrarily. Furthermore, as the number of battery packs increases, the addressing error rate is high, resulting in time-consuming and labor-intensive installation work, which affects the production efficiency of energy storage systems.

Method used

By implementing an address contention mechanism within the switch box group, the switch box automatically determines its own address when powered on and sends it to other switch boxes via a communication line, avoiding address duplication. The correctness of the address is verified by the driving device, thus achieving automatic addressing.

Benefits of technology

Automatic configuration of switch box addresses has been achieved, which improves installation efficiency, avoids address duplication, reduces the error rate of manually preset addresses, and saves installation time and costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116866313B_ABST
    Figure CN116866313B_ABST
Patent Text Reader

Abstract

The application provides a switch box addressing method and a switch box device. Power is supplied to at least one switch box group; if a switch box in the switch box group is in normal operation and no address data from other switch boxes in the same switch box group is received, the address of the switch box is determined as a first address, and the first address is sent to other switch boxes in the same switch box group; if the switch box in the switch box group is in normal operation and address data from other switch boxes in the same switch box group is received, the address of the switch box is determined as an address other than the address data. Through the above switch box addressing method, during the installation stage of the switch box, the switch box can be randomly installed, and after installation, the addresses are competed by multiple switch boxes, a unique address can be automatically configured for each switch box, and the manpower resource can be effectively saved and the installation efficiency of the switch box is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of energy storage system technology, and in particular to a switch box addressing method and switch box device. Background Technology

[0002] In energy storage systems, a large number of battery packs are typically managed one-to-one using a switch box. As a management unit, the switch box has a unique communication address in the energy storage battery system, through which real-time information on battery operation can be obtained.

[0003] In existing addressing methods, fixed addresses are pre-written into the switch boxes to enable addressing, allowing the switch boxes to be installed in the corresponding locations based on their addresses. However, this method restricts the installation location of the switch boxes, preventing arbitrary installation. Furthermore, as the number of battery packs and switch boxes in the system increases, this addressing method becomes prone to errors, and installation becomes more time-consuming and labor-intensive. As energy storage power stations grow in scale, the production efficiency of energy storage systems also needs to be improved. Summary of the Invention

[0004] In view of this, embodiments of this application provide a switch box addressing method and a switch box device, which aim to achieve automatic addressing of switch boxes.

[0005] In a first aspect, embodiments of this application provide a switch box addressing method, characterized in that it includes:

[0006] Power supply to at least one switch box assembly;

[0007] If the switch box in the switch box group is working normally and has not received address data from other switch boxes in the same switch box group, then it determines its own address as the first address and sends the first address to other switch boxes in the same switch box group.

[0008] If a switch box in the switch box group is working normally and receives address data from other switch boxes in the same switch box group, then it determines that its own address is an address other than the address data.

[0009] Preferably, the power supply for at least one switch box assembly includes:

[0010] Each of the aforementioned switch box groups is supplied with its own power supply.

[0011] Preferably, the method further includes:

[0012] The group address of the switch box group is assigned according to the power supply sequence of the switch box group.

[0013] Preferably, the step of determining its own address as the first address and sending the first address to other switch boxes in the same switch box group if the switch box in the switch box group is working normally and has not received address data from other switch boxes in the same switch box group includes:

[0014] When the switch box is powered on and working normally, and it is determined that no address data has been received from other switch boxes in the same switch box group;

[0015] The CMU in the switch box determines its own address as the first address, and sends the first address to other switch boxes in the same switch box group through the communication line connected to other switch boxes.

[0016] Preferably, the step of determining its own address as an address other than the address data if the switch box in the switch box group is working normally and receives address data from other switch boxes in the same switch box group includes:

[0017] When the switch box is powered on and working normally, and it is confirmed that it has received address data sent by other switch boxes in the same switch box group;

[0018] The CMU in the switch box determines its own address as an address other than the address data, and sends the other address to other switch boxes in the same switch box group through the communication line connected to other switch boxes.

[0019] Preferably, the step of determining its own address as an address other than the address data if the switch box in the switch box group is working normally and receives address data from other switch boxes in the same switch box group includes:

[0020] When the switch box is powered on and working normally, and it is determined that it has received N address data sent by other switch boxes in the same switch box group, N is a positive integer;

[0021] The CMU in the switch box determines its own address as an address other than the N address data, and sends the other address to other switch boxes in the same switch box group through the communication line connected to other switch boxes.

[0022] Preferably, the method further includes:

[0023] Once the switch box determines its own address, it stores the address in the CMU.

[0024] Preferably, after the switch box determines its own address to another address, it further includes:

[0025] Send the other addresses to other switch boxes in the same switch box group.

[0026] Secondly, embodiments of this application provide a switch box device, characterized in that it includes at least one switch box group, wherein the switch box group includes a plurality of switch boxes;

[0027] The switch box device is used in any of the switch box addressing methods described above.

[0028] Preferably, each switch box group in the switch box device is powered independently.

[0029] This application provides a switch box addressing method and a switch box device. At least one switch box group is powered. If a switch box in the switch box group is working normally and has not received address data from other switch boxes in the same group, it determines its own address as a first address and sends the first address to other switch boxes in the same group. If a switch box in the switch box group is working normally and has received address data from other switch boxes in the same group, it determines its own address as an address other than the address data. When the switch box group is powered on, the switch boxes in the group compete for addresses. The switch box that first obtains the first address notifies the other switch boxes in the group of the first address, and the other switch box obtains an address other than the first address. Using the switch box addressing method provided in this application, during the installation phase, it is not necessary to pre-set addresses for each switch box and install them according to the addresses. Switch boxes can be randomly installed into the switch box device, and then multiple switch boxes compete for addresses. By employing a competitive process, each switch box is assigned an address. Furthermore, once a switch box wins an address, it notifies other switch boxes of the acquired address, preventing address duplication and ensuring that each switch box has a unique address. In summary, the switch box device provided in this application not only enables automatic address configuration of switch boxes but also improves installation efficiency. Attached Figure Description

[0030] To more clearly illustrate the technical solutions in this embodiment or the prior art, the drawings used in the description of the embodiment or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0031] Figure 1 This is a schematic diagram of a switch box device provided in an embodiment of this application;

[0032] Figure 2 A schematic diagram of a single-row wiring for a switch box device provided in an embodiment of this application;

[0033] Figure 3 This is a schematic diagram of the internal structure of a switch box device provided in an embodiment of this application;

[0034] Figure 4 A schematic diagram of a switch box device with a driving device provided for an embodiment of this application;

[0035] Figure 5 A schematic diagram showing the connection between a first type of driving device and a switch box provided in an embodiment of this application;

[0036] Figure 6 A schematic diagram illustrating the first type of driving device receiving and feeding back signals, provided in an embodiment of this application;

[0037] Figure 7 A schematic diagram illustrating the second type of driving device receiving and feeding back signals, provided in an embodiment of this application;

[0038] Figure 8 A schematic diagram illustrating the receiving and feedback of signals by a third type of driving device provided in an embodiment of this application;

[0039] Figure 9 A schematic diagram illustrating the fourth type of driving device receiving and feeding back signals, provided in an embodiment of this application;

[0040] Figure 10 This is a schematic diagram showing the connection between a second type of driving device and a switch box, as provided in an embodiment of this application.

[0041] Figure 11 A schematic diagram illustrating the receiving and feedback of signals by a fifth type of driving device provided in an embodiment of this application;

[0042] Figure 12 A schematic diagram illustrating the sixth type of driving device receiving and feeding back signals, provided in an embodiment of this application;

[0043] Figure 13 A schematic diagram illustrating the seventh type of driving device receiving and feeding back signals, provided in an embodiment of this application;

[0044] Figure 14 A schematic diagram illustrating the receiving and feedback of signals by an eighth type of driving device provided in an embodiment of this application;

[0045] Figure 15 A schematic diagram of another switch box device with a driving device provided for an embodiment of this application;

[0046] Figure 16 A schematic diagram showing the connection between the third type of driving device and the switch box provided in the embodiments of this application;

[0047] Figure 17 This is a schematic diagram showing the connection between the fourth type of driving device and the switch box provided in the embodiments of this application;

[0048] Figure 18This is a schematic diagram of the internal structure of a switch box provided in an embodiment of this application;

[0049] Figure 19 This is a logic flowchart of a switch box device addressing process provided in an embodiment of this application. Detailed Implementation

[0050] See Figure 1 , Figure 1 This is a schematic diagram of a switch box device provided in an embodiment of this application. The box indicated by A contains a fuse box, which functions as a switch, controlling the power supply to the switch boxes in the same column. Boxes indicated by B and C contain the switch boxes themselves. It should be noted that inside the switch box device, the number of driving components can be the same as the number of switch boxes, and the positions of the driving components are fixed, corresponding one-to-one with the switch boxes. Figure 1 Only one drive device is shown, but it is not limited to the switch box device including only one drive device.

[0051] The switch box device contains multiple switch boxes, which control the charging and discharging process of the battery side in the energy storage system. For example... Figure 2 As shown, Figure 2 This is a schematic diagram of a single-row wiring for a switch box device provided in an embodiment of this application. Due to limited internal space, the switch box is typically installed on the inner side, with the fuse box installed on the outermost side. The switch box and fuse box share a common power and communication line. When a battery-side fault or abnormality occurs, the specific switch box needs to be located based on its address to control the battery side.

[0052] In related technologies, each switch box is typically pre-configured with a corresponding address and stored in the switch box before installation. During installation, the switch box is installed in the corresponding position according to its address. However, the number of switch boxes in the equipment is large, and the number of corresponding switch boxes will increase as the battery side of the energy storage system expands. As the number of switch boxes increases, the possibility of errors in manually pre-setting addresses and installing according to addresses becomes increasingly high, and its feasibility decreases.

[0053] In addition, related technologies also reserve control signal I / O interfaces in the microcontroller unit (MCU) inside the switch box, connect external resistors, and sequentially distinguish the switch box addresses. This method requires additional workload, and manual control is prone to errors; moreover, the small internal space of the switch box device is not conducive to the implementation of this method.

[0054] To address the problems existing in the aforementioned related technologies, this application provides a switch box device. After the switch boxes are randomly installed into the switch box device, multiple switch boxes compete for an address. Each switch box is assigned an address, and when a switch box wins the address, it notifies the other switch boxes of the obtained address, thus preventing address duplication and ensuring that the address of each switch box is unique. Furthermore, no other hardware devices or hardware circuits need to be added to the switch box device, avoiding additional occupation of the internal space of the switch box device.

[0055] It should be noted that the embodiments described in this application are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0056] To facilitate understanding, the addressing method for switch box equipment will be introduced below in the context of switch box equipment.

[0057] See Figure 3 , Figure 3 This is a schematic diagram of the internal structure of a switch box device provided in an embodiment of this application. The switch box device includes multiple switch box groups, and each switch box group includes at least two switch boxes: a first switch box and a second switch box. The switch box group is connected to a power supply, which is used to energize only one switch box group at a time.

[0058] When the switch box group is powered on, the first switch box and the second switch box compete for the address. The switch box that obtains the competing address first notifies the other switch box of the competing address, and the other switch box obtains an address other than the competing address.

[0059] To increase output power, the switch boxes in the switch box group can be connected in parallel.

[0060] Figure 3 The switch box device shown may also include communication lines, with communication lines and power lines sharing a common output terminal, meaning the power lines and communication lines are in the same output cable bundle. Figure 3 The switch box is not shown in the diagram. It also includes a CMU (Cell Monitor Unit, battery-side data management and control module). Switch boxes within the same group are connected by communication lines and can exchange address data with each other via these lines.

[0061] In this embodiment of the application, the switch box addressing method includes: supplying power to at least one switch box group;

[0062] If the switch box in the switch box group is working normally and has not received address data from other switch boxes in the same switch box group, then it determines its own address as the first address and sends the first address to other switch boxes in the same switch box group.

[0063] If a switch box in the switch box group is working normally and receives address data from other switch boxes in the same switch box group, then it determines that its own address is an address other than the address data.

[0064] By using a competitive address allocation method, each switch box is configured with an address. After a switch box wins an address, it notifies other switch boxes of the obtained address to avoid address duplication and ensure that the address of each switch box is unique, thus achieving automatic address configuration for switch boxes.

[0065] Furthermore, powering at least one switch box group specifically includes: providing individual power to each of the switch box groups.

[0066] Each switch box group is powered sequentially and independently. Taking the first switch box group as an example, when the first switch box group is powered on, all other switch box groups are in the off state. The first and second switch boxes in the first switch box group are powered on and compete for an address. If the first switch box wins the competition for an address, it notifies the second switch box that the competing address is already occupied, and the second switch box obtains an address other than the one already competed for. Similarly, if the second switch box wins the competition for an address, it notifies the first switch box that the competing address is already occupied, and the first switch box obtains an address other than the one already competed for.

[0067] If the switch boxes in the switch box group are working normally and have not received address data from other switch boxes in the same switch box group, then the switch box determines its own address as the first address and sends the first address to other switch boxes in the same switch box group, including:

[0068] When the switch box is powered on and working normally, and it is determined that no address data has been received from other switch boxes in the same switch box group;

[0069] The CMU in the switch box determines its own address as the first address, and sends the first address to other switch boxes in the same switch box group through the communication line connected to other switch boxes.

[0070] If the switch boxes in the switch box group are working normally and receive address data from other switch boxes in the same switch box group, then the switch box itself is determined to be an address other than the address data, including:

[0071] When the switch box is powered on and working normally, and it is confirmed that it has received address data sent by other switch boxes in the same switch box group;

[0072] The CMU in the switch box determines its own address as an address other than the address data, and sends the other address to other switch boxes in the same switch box group through the communication line connected to other switch boxes.

[0073] In this embodiment, the first switch box and the second switch box compete for the address according to their respective power-on order. When the switch box group is powered on, both the first and second switch boxes start working. Although the first and second switch boxes are powered on approximately simultaneously, the time at which the switch boxes begin normal operation is not exactly the same, and there is a time difference.

[0074] If the first switch box is operating normally and has not received an address occupancy notification from another switch box, the first switch box will consider its address to be a contested address, such as the first address, and will notify other switch boxes that the first address has been occupied. When the second switch box receives the address occupancy notification from the first switch box, it will confirm that the first address has been occupied and will consider its address to be an address other than the first address, such as the second address.

[0075] This application does not limit the number of switch boxes in a switch box group. When a switch box group includes multiple switch boxes (the number of switch boxes in a switch box group is N), if a switch box in the switch box group is working normally and receives address data from other switch boxes in the same switch box group, then its own address is determined to be an address other than the address data, including:

[0076] When the switch box is powered on and working normally, and it is determined that it has received N address data sent by other switch boxes in the same switch box group, N is a positive integer;

[0077] The CMU in the switch box determines its own address as an address other than the N address data, and sends the other address to other switch boxes in the same switch box group through the communication line connected to other switch boxes.

[0078] It is understandable that the position of a switch box group can be determined by the power-on sequence of the switch box group; for example, the switch box group that is powered on first is the first column of switch box groups. Furthermore, there is a correspondence between switch boxes and switch box groups; the specific location of a switch box can be determined by its address, such as its column and row within the switch box equipment.

[0079] To improve the accuracy of the switch box address and avoid situations where the switch box and the switch box address do not correspond, the switch box device provided in this application embodiment further includes at least two driving devices. While the switch boxes compete for the address, the driving devices are used to verify the address of the switch box.

[0080] like Figure 4 As shown, Figure 4 This is a schematic diagram of a switch box device with driving devices provided in an embodiment of this application. The switch box device further includes at least two driving devices: a first driving device and a second driving device; the first driving device is connected to a first switch box, and the second driving device is connected to a second switch box; the driving devices correspond one-to-one with the actual addresses of the switch boxes.

[0081] The first driving device interacts with the first switch box to verify the contention address of the first switch box; the second driving device interacts with the second switch box to verify the contention address of the second switch box.

[0082] It should be noted that, Figure 4 Only one switch box group is shown in the diagram. Other switch box groups in the switch box equipment also include driving devices, and their connection relationships are the same as those in the diagram. Figure 4 The connection relationships shown are the same.

[0083] The driving devices can be switching transistors, relays, circuit breakers, fans, and other devices capable of receiving and feeding back signals. In switch box equipment, the positions of the driving devices are fixed and correspond one-to-one with the actual addresses of the switch box. Therefore, the driving devices can be used to verify the contention for addresses within the switch box.

[0084] The following section introduces how to use the driving device to verify the contention address of the switch box, taking into account different connection methods between the driving device and the switch box.

[0085] like Figure 5 As shown, Figure 5 This is a schematic diagram illustrating the connection between a first driving device and a switch box, as provided in an embodiment of this application. In this embodiment, the first driving device is connected to and has a feedback connection with the first switch box, and is also connected to the second switch box; the second driving device is connected to and has a feedback connection with the second switch box, and is also connected to the first switch box.

[0086] The first driving device receives a driving signal from the first switch box and sends a feedback signal to the first switch box and the second switch box. The feedback signal sent by the first driving device is used to verify the contention address of the first switch box and notify the second switch box of the contention address of the first switch box.

[0087] The second driving device receives a driving signal from the second switch box and sends a feedback signal to the second switch box and the first switch box. The feedback signal sent by the second driving device is used to verify the contention address of the second switch box and notify the first switch box of the contention address of the second switch box.

[0088] The process of verifying the contention address of the first switch box through the first driving device is as follows:

[0089] After determining the contention address, the first switch box sends a drive signal to the first driving device. The first switch box receives a feedback signal from the first driving device. If the actual address corresponding to the first driving device is the same as the contention address of the first switch box, then the contention address of the first switch box is correct. The first switch box notifies the second switch box to compete for an address other than the contention address of the first switch box, and uses the contention address of the first switch box as the switch box address of the first switch box. If the actual address corresponding to the first driving device is different from the contention address of the first switch box, then the contention address of the first switch box is incorrect, and it re-competes for other addresses and verifies them.

[0090] Let's take the innermost switch box as the actual address of 1, the outermost switch box as the actual address of 2, the first driving device as the actual address of 1, and the second driving device as the actual address of 2 as an example:

[0091] Once the first switch box determines the contention address, it sends a drive signal to the first driving device; the first driving device receives the drive signal and starts working, and sends a feedback signal to the first switch box and the second switch box.

[0092] After receiving the feedback signal, the first switch box determines whether the actual address corresponding to the first driving device is a contention address of the first switch box. If so, then... Figure 6 As shown, the contention address of the first switch box is 1, and the actual address corresponding to the first driving device is also 1, indicating that the contention address of the first switch box is correct. Therefore, the contention address of the first switch box is permanently stored in the first switch box as its switch box address; otherwise, as shown... Figure 7 As shown, the contention address of the first switch box is 2, while the actual address corresponding to the first driving device is 1, indicating that the contention address of the first switch box is incorrect and the actual address of the first switch box is not the contention address. In this case, the first switch box should clear the contention address, compete for other addresses again, and verify using the first driving device again.

[0093] After receiving the feedback signal, the second switch box learns the contention address obtained by the first switch box, so that the second switch box can obtain an address other than the contention address.

[0094] It should be noted that the first switch box can notify the second switch box that the contention address has been occupied after confirming that the contention address is correct. Of course, it can also notify the second switch box first. However, if the contention address of the first switch box is incorrect and it is necessary to compete for another address, the second switch box should also be notified.

[0095] The process of verifying the contention address of the second switch box through the second driving device is as follows:

[0096] Similar to the verification process above using the first driving device to determine the contention address of the first switch box, let's take the example of the innermost switch box having an actual address of 1, the outermost switch box having an actual address of 2, the first driving device having an actual address of 1, and the second driving device having an actual address of 2:

[0097] Once the second switch box determines the contention address, it sends a drive signal to the second driving device. The second driving device receives the drive signal and begins operation, sending a feedback signal to both the first and second switch boxes. Upon receiving the feedback signal, the second switch box determines whether the actual address corresponding to the second driving device is the contention address of the second switch box. If so, then... Figure 8 As shown, the contention address of the second switch box is 2, and the actual address corresponding to the second driving device is also 2, indicating that the contention address of the second switch box is correct. Therefore, the contention address of the second switch box is stored in the second switch box as its switch box address; otherwise, as shown... Figure 9 As shown, the contention address of the second switch box is 1, while the actual address corresponding to the second driving device is 2, indicating that the contention address of the second switch box is incorrect and the actual address of the second switch box is not the contention address. In this case, the second switch box should clear the contention address, compete for other addresses again, and verify again using the second driving device.

[0098] This application also provides another connection method between the driving device and the switch box, such as... Figure 10 As shown. In this embodiment of the application, the first driving device is driven connected to the first switch box and the second switch box, and is also connected to the first switch box via feedback; the second driving device is driven connected to the first switch box and the second switch box, and is also connected to the second switch box via feedback.

[0099] The first driving device receives driving signals from the first switch box and the second switch box, and sends a feedback signal to the first switch box. The feedback signal sent by the first driving device is used to verify the contention address of the first switch box.

[0100] The second driving device receives driving signals from the first and second switch boxes and sends feedback signals to the second switch box. The feedback signals sent by the first driving device are used to verify the contention address of the second switch box.

[0101] The process of verifying the contention address of the first switch box through the first driving device is as follows:

[0102] After determining the contention address, the first switch box sends a drive signal to the first and second drive devices. The first switch box receives a feedback signal from the first drive device. If the actual address corresponding to the first drive device is the same as the contention address of the first switch box, then the contention address of the first switch box is correct. The first switch box notifies the second switch box to compete for an address other than the contention address of the first switch box, and uses the contention address of the first switch box as the switch box address of the first switch box. If the actual address corresponding to the first drive device is different from the contention address of the first switch box, then the contention address of the first switch box is incorrect, and it re-competes for other addresses and verifies them.

[0103] Let's take the innermost switch box as the actual address of 1, the outermost switch box as the actual address of 2, the first driving device as the actual address of 1, and the second driving device as the actual address of 2 as an example:

[0104] Once the first switch box determines the contention address, it sends a drive signal to the first and second drive devices. The first and second drive devices receive the drive signals and begin to operate. However, the first switch box will only receive the feedback signal sent by the first drive device, while the second drive device will send a feedback signal to the second switch box to notify the second switch box of the contention address of the first switch box.

[0105] After receiving the feedback signal, the first switch box determines whether the actual address corresponding to the first driving device is a contention address of the first switch box. If so, then... Figure 11 As shown, the contention address of the first switch box is 1, and the actual address corresponding to the first driving device is also 1, indicating that the contention address of the first switch box is correct. Therefore, the contention address of the first switch box is permanently stored in the first switch box as its switch box address; otherwise, as shown... Figure 12 As shown, the contention address of the first switch box is 2, while the actual address corresponding to the first driving device is 1, indicating that the contention address of the first switch box is incorrect and the actual address of the first switch box is not the contention address. In this case, the first switch box should clear the contention address, compete for other addresses again, and verify using the first driving device again.

[0106] The process of verifying the contention address of the second switch box using the second driving device is similar to the process of verifying the contention address of the first switch box using the first driving device described above, and will not be repeated here.

[0107] This application proposes two connection methods between the driving device and the switch box. In both methods, the principle of verifying the contention address of the switch box using the driving device is the same. The difference lies in the following: In the first connection method, the first driving device sends a feedback signal to the second switch box to notify the second switch box of the contention address of the first switch box, and the second driving device sends a feedback signal to the first switch box to notify the first switch box of the contention address of the second switch box; In the second connection method, the second driving device sends a feedback signal to the second switch box to notify the second switch box of the contention address of the first switch box, and the first driving device sends a feedback signal to the first switch box to notify the first switch box of the contention address of the second switch box.

[0108] In this embodiment, the existing driving devices in the switch box are used to verify the contention address of the switch box. This eliminates the need for additional components and hardware circuits in the switch box and still allows for the verification of the contention address. This improves the accuracy of the switch box address setting without increasing the production cost of the switch box.

[0109] In the above embodiments, the description focuses on a switch box assembly comprising two switch boxes. This application also provides an embodiment where the switch box assembly comprises three switch boxes, which will be described below with reference to the accompanying drawings. It should be noted that the working principle of the switch box assembly is the same whether the switch box assembly comprises two or three switch boxes.

[0110] like Figure 15 As shown, the switch box device also includes a third switch box and a third driving device, and the third driving device is connected to the third switch box. The third driving device and the third switch box exchange information to verify the contention address of the third switch box.

[0111] In the embodiments of this application, there are two different connection methods between the driving device and the switch box.

[0112] See Figure 16 The first driving device is connected to the first switch box for driving and feedback, and is also connected to the second and third switch boxes for feedback; the second driving device is connected to the second switch box for driving and feedback, and is also connected to the first and third switch boxes for feedback; the third driving device is connected to the third switch box for driving and feedback, and is also connected to the first and second switch boxes for feedback.

[0113] The first driving device receives a driving signal from the first switch box and sends a feedback signal to the first switch box, the second switch box, and the third switch box. The feedback signal sent by the first driving device is used to verify the contention address of the first switch box and notify the second switch box and the third switch box of the contention address of the first switch box.

[0114] The second driving device receives a driving signal from the second switch box and sends a feedback signal to the first switch box, the second switch box and the third switch box. The feedback signal sent by the second driving device is used to verify the contention address of the second switch box and notify the first switch box and the third switch box of the contention address of the second switch box.

[0115] The third driving device receives a driving signal from the third switch box and sends a feedback signal to the first switch box, the second switch box, and the third switch box. The feedback signal sent by the third driving device is used to verify the contention address of the third switch box and notify the first switch box, the second switch box, and the third switch box of the contention address of the third switch box.

[0116] See Figure 17 The first driving device is driven by the first switch box, the second switch box and the third switch box, and is also connected to the first switch box for feedback. The second driving device is driven by the first switch box, the second switch box and the third switch box, and is also connected to the second switch box for feedback. The third driving device is driven by the first switch box, the second switch box and the third switch box, and is also connected to the third switch box for feedback.

[0117] The first driving device receives driving signals from the first switch box, the second switch box, and the third switch box, and sends a feedback signal to the first switch box. The feedback signal sent by the first driving device is used to verify the contention address of the first switch box.

[0118] The second driving device receives driving signals from the first switch box, the second switch box, and the third switch box, and sends feedback signals to the second switch box. The feedback signals sent by the second driving device are used to verify the contention address of the second switch box.

[0119] The third driving device receives driving signals from the first switch box, the second switch box, and the third switch box, and sends feedback signals to the third switch box. The feedback signals sent by the third driving device are used to verify the contention address of the third switch box.

[0120] When the switch box group includes three switch boxes, the process of verifying the contention address of the switch box using the driving device is the same as the process of verifying the contention address of the switch box using the driving device when the switch box group includes two switch boxes, as described above. Please refer to the above for details.

[0121] In this embodiment, the switch box includes a battery-side data management control module (CMU). The CMU competes for and stores the switch box address. Specifically, after determining its own address, the switch box stores it in the CMU. Furthermore, after determining a different address, the switch box also sends this different address to other switch boxes in the same switch box group, allowing the other switch boxes to compete for the address other than the specified one.

[0122] The switch box may also include a wireless communication module for external wireless communication. This module has a unique wireless communication serial number (SN code). After determining the switch box address, the wireless communication serial number can be bound to the switch box address, establishing a one-to-one correspondence between them. The battery-side data management and control module also stores the wireless communication serial number corresponding to the wireless communication module. Operators can use other mobile devices with wireless communication capabilities to determine the corresponding wireless communication serial number based on the switch box address, and then send control commands to the switch box according to the serial number.

[0123] Of course, the switch box device may also include other modules, such as: a control core module for executing control commands and sampling data from the battery side, and a communication transmission module for wired data transmission. See also Figure 18 , Figure 18 This is a schematic diagram of the internal structure of a switch box provided in an embodiment of this application.

[0124] To facilitate understanding of the automatic addressing process of the switch box device provided in this application, the following is a detailed explanation. Figure 19 To explain, Figure 19 This is a logic flowchart of a switch box device addressing process provided in an embodiment of this application.

[0125] The power supply provides individual power to a switch box group, and multiple switch boxes within the powered switch box group compete for the address.

[0126] Once the switch box determines the contention address, the corresponding driver device is used to verify the contention address. If the contention address is correct, it is used as the switch box address and stored permanently. If the contention address is incorrect, the contention address is deleted, the address is re-competed for, and the driver device is used to verify it again.

[0127] Once all the switch boxes in a switch box group have been addressed, power supply to that switch box group is stopped, and power is switched to another switch box group. At the same time, the switch boxes within that switch box group begin competing for addresses. The group addresses of the switch box groups are then assigned according to the power supply sequence.

[0128] Once all the switch boxes in each switch box group have been addressed, the switch box address and the corresponding wireless communication serial number of each switch box can be stored together for subsequent control of the switch box based on the switch box address or the wireless communication serial number.

[0129] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on its differences from other embodiments. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0130] The above description is merely an exemplary implementation of this application and is not intended to limit the scope of protection of this application.

Claims

1. A switch box addressing method, characterized in that, include: Power is supplied to at least one switch box group; the switch box group includes at least a first switch box and a second switch box; The first switch box is connected to a first driving device, and the second switch box is connected to a second driving device; the actual address of the first driving device corresponds to the actual address of the first switch box; the actual address of the second driving device corresponds to the actual address of the second switch box. If the first switch box is working normally and has not received address data from the second switch box, the first switch box sends a drive signal including the contention address to the first drive device and receives the feedback signal returned by the first drive device. When the feedback signal indicates that the contention address is consistent with the actual address corresponding to the first driving device, the first switch box notifies the second switch box to compete for an address other than the contention address of the first switch box, and uses the contention address of the first switch box as the switch box address of the first switch box. If the first switch box is working normally and receives the address data sent by the second switch box, then it determines that its own address is an address other than the address data.

2. The method according to claim 1, characterized in that, The provision of power to at least one switch box assembly includes: Each of the aforementioned switch box groups is supplied with its own power supply.

3. The method according to claim 2, characterized in that, The method further includes: The group address of the switch box group is assigned according to the power supply sequence of the switch box group.

4. The method according to claim 1, characterized in that, If the switch boxes in the switch box group are working normally and have not received address data from other switch boxes in the same switch box group, then the switch box determines its own address as the first address and sends the first address to other switch boxes in the same switch box group, including: When the switch box is powered on and working normally, and it is determined that no address data has been received from other switch boxes in the same switch box group; The CMU in the switch box determines its own address as the first address, and sends the first address to other switch boxes in the same switch box group through the communication line connected to other switch boxes.

5. The method according to claim 1, characterized in that, If a switch box in the switch box group is working normally and receives address data from other switch boxes in the same switch box group, then determining its own address as an address other than the address data includes: When the switch box is powered on and working normally, and it is confirmed that it has received address data sent by other switch boxes in the same switch box group; The CMU in the switch box determines its own address as an address other than the address data, and sends the other address to other switch boxes in the same switch box group through the communication line connected to other switch boxes.

6. The method according to claim 1, characterized in that, If a switch box in the switch box group is working normally and receives address data from other switch boxes in the same switch box group, then determining its own address as an address other than the address data includes: When the switch box is powered on and working normally, and it is determined that it has received N address data sent by other switch boxes in the same switch box group, N is a positive integer; The CMU in the switch box determines its own address as an address other than the N address data, and sends the other address to other switch boxes in the same switch box group through the communication line connected to other switch boxes.

7. The method according to any one of claims 1-6, characterized in that, The method further includes: Once the switch box determines its own address, it stores the address in the CMU.

8. The method according to claim 5 or 6, characterized in that, After the switch box determines its own address to another address, it also includes: Send the other addresses to other switch boxes in the same switch box group.

9. A switch box device, characterized in that, It includes at least one switch box group, wherein the switch box group includes multiple switch boxes; The switch box device is used to implement the switch box addressing method according to any one of claims 1-8.

10. The switch box device according to claim 9, characterized in that, Each switch box group in the switch box equipment is powered independently.