Communication identification determination method
By sending sequence identification messages in the energy storage system, the inverter sends sequence identification messages and automatically allocates bus communication identification, solving the problem of conflict between the inverter and the BMS bus identification, achieving efficient and reliable communication identification determination, and simplifying equipment management.
Patent Information
- Application Number
- CN202510669896.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-23
- Publication Date
- 2025-08-19
- Estimated Expiration
- 2045-05-23
AI Technical Summary
In energy storage systems, the bus communication identifiers between the inverter and the battery management system (BMS) may be the same, resulting in communication conflicts, existing methods are inefficient and error-prone, making it difficult to efficiently and automatically allocate unique bus communication identifiers.
The target inverter sends messages including sequence identification to the communication bus. The inverter acquires and parses all messages, determines the sequence identification of each inverter, and automatically allocates the bus communication identification based on this. Without the need for dial-switching hardware, the inverter and the BMS determine the BMS identification through signal interaction.
It realizes automated bus communication identification allocation without manual participation, improves efficiency, avoids human errors, simplifies troubleshooting, and enhances the scalability and stability of the system.
Smart Images

Figure CN120201005B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of energy storage technology, and in particular to a method for determining a communication identifier. Background Art
[0002] In related technologies, multiple inverters in an energy storage system can be connected in parallel, and multiple battery packs can be connected to one inverter in parallel to achieve flexible configuration of parameters such as capacity and voltage of the energy storage system, thereby improving the scenario applicability of the energy storage system.
[0003] In the aforementioned energy storage system, the bus communication identifiers between inverters may be identical, and the bus communication identifiers between the battery management systems (BMSs) corresponding to the battery packs may also be identical. This can cause communication conflicts within the energy storage system, affecting accurate control of the energy storage system. Therefore, currently, DIP switches are typically installed on the inverter and BMS to manually set the bus communication identifiers between the inverter and BMS.
[0004] However, current communication identity determination methods are not efficient. Summary of the Invention
[0005] Based on this, it is necessary to provide an efficient communication identification determination method to address the above technical issues.
[0006] In a first aspect, the present application provides a method for determining a communication identifier, which is applied to an energy storage system, the energy storage system including an inverter, a BMS corresponding to the inverter, and a communication bus, the communication bus being connected to the inverter and the BMS respectively, the method comprising:
[0007] The target inverter sends a first message to the communication bus, where the first message includes a sequence identifier of the target inverter; the target inverter includes any inverter in the energy storage system;
[0008] The target inverter obtains all first messages on the communication bus, and determines the sequence identifier of each inverter in the energy storage system based on all first messages on the communication bus;
[0009] The target inverter determines the bus communication identifier of the target inverter based on the sequence identifiers of the inverters in the energy storage system;
[0010] The target inverter sends a target signal to the BMS connected to the target inverter based on the bus communication identifier of the target inverter;
[0011] The target BMS determines the bus communication identifier of the target BMS based on the target signal; the target BMS is any BMS corresponding to the target inverter.
[0012] In the above-mentioned communication identification determination method, since the target inverter can send a first message to the communication bus, and the first message includes the serial identifier of the target inverter, and the target inverter is any inverter in the energy storage system, the target inverter can obtain all the first messages on the communication bus and determine the serial identifiers of each inverter in the energy storage system based on all the first messages on the communication bus. Furthermore, since the target inverter can determine the bus communication identifier of the target inverter based on the serial identifiers of each inverter in the energy storage system, it is possible to determine the bus communication identifier of a non-conflicting target inverter through software without installing a DIP switch hardware on the inverter. Furthermore, since the target inverter can send a target signal to the BMS connected to the target inverter based on the bus communication identifier of the target inverter, and the target BMS is any BMS corresponding to the target inverter, the target BMS can further efficiently determine the bus communication identifier of the non-conflicting target BMS based on the target signal. During the entire process, bus communication identifiers can be automatically assigned to any inverter and any BMS in the energy storage system without human intervention, thereby improving the efficiency of determining the communication identifiers. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for use in the embodiments of the present application or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without any creative work.
[0014] Figure 1 A diagram illustrating an application environment of a method for determining a communication identifier in one embodiment;
[0015] Figure 2 A flow chart of a method for determining a communication identifier in one embodiment;
[0016] Figure 3 A schematic diagram of a process for determining a first allocation evaluation result in one embodiment;
[0017] Figure 4 1 is a schematic diagram of a process for determining a bus communication identifier of a target BMS in one embodiment;
[0018] Figure 5 A schematic diagram of a process for determining a second allocation evaluation result in one embodiment;
[0019] Figure 6 A schematic diagram of a process for sending an allocation result prompt message in one embodiment;
[0020] Figure 7Schematic diagram of an energy storage system in one embodiment. DETAILED DESCRIPTION
[0021] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0022] Figure 1 FIG. 1 is an application environment diagram of a method for determining a communication identifier in an embodiment. Figure 1 As shown, the energy storage system includes an inverter 101, a battery pack and its corresponding BMS 102, and a communication bus 103. Inverter 101 includes n inverters connected in series: INV1, INV2, and INVn, enabling parallel operation of n inverters. Each inverter corresponds to a corresponding battery pack connected in series, enabling parallel operation of the battery packs. For example, INV1 is connected to battery pack 1-1 (including BMS 1-1), battery pack 1-2 (including BMS 1-2), and battery pack 1-3 (including BMS 1-3); INV2 is connected to battery pack 2-1 (including BMS 2-1); and INVn is connected to battery packs n-1 through nm (including BMS n-1 through BMS n-m). Both n and m are integers greater than or equal to 1. That is to say, there are three battery packs running in parallel under INV1, BMS1-1 is used to control battery pack 1-1, BMS1-2 is used to control battery pack 1-2, and BMS1-3 is used to control battery pack 1-3. The same applies to the subsequent operations and will not be repeated here.
[0023] Communication bus 103 may be a Controller Area Network (CAN) bus. The CAN bus is a broadcast communication protocol where all nodes can send and receive data. However, each message has a unique identifier (CAN ID) that determines the message's priority and content. Therefore, each node includes its own CAN ID when sending a message, and the recipient uses the CAN ID to identify the message's source.
[0024] However, most of the inverters in the energy storage system are composed of the same model of devices, and the default CAN ID of the inverters may be the same. Similarly, the BMS may be composed of the same model of devices, and their default CAN IDs may also be the same. For example, the default CAN ID of the same type of inverters is 0x1010 when they leave the factory. Figure 1The CAN IDs of n inverters are all 0x1010. The default CAN IDs of the same type of BMS are all 0x2020 when they leave the factory. If there are m BMSs online, the CAN IDs of all m BMSs are 0x2020.
[0025] As a result, conflicts can arise on the energy storage system's communication bus, impacting accurate control. For example, if the inverter cannot distinguish between the battery packs it belongs to, it will not know their true charge and discharge capabilities, and the BMS will not know which inverter to follow for charging and discharging instructions, making proper charge and discharge control impossible.
[0026] To resolve CAN ID conflicts, conventional technologies typically install DIP switches on the inverter and battery pack. These switches are used to create unique hardware identifiers for the inverter and battery management system (BMS) within the battery pack. For example, a 4-bit DIP switch can provide 16 different combinations. Upon startup, the inverter and BMS read the DIP switch status and use it as their unique identifier, which they then transmit to other devices via the CAN bus.
[0027] However, the above-mentioned method of installing the DIP switch hardware has the following problems: First, it has poor scalability. When the number of devices in the energy storage system increases, the workload of setting the DIP switch will increase significantly. If a large number of devices need to be reassigned addresses, the DIP switches need to be set one by one, which is inefficient and prone to errors. Second, it is prone to human error. The setting of the DIP switch relies on manual operation. The operator may set the DIP switch incorrectly due to negligence, misoperation, etc., resulting in device address conflicts or failure to communicate normally. Errors are particularly prone to occur when multiple devices need to be set with different addresses. Third, troubleshooting is difficult. When a communication failure occurs in the energy storage system, it is difficult to quickly determine whether it is a problem with the DIP switch setting or other hardware or software problems. Because the DIP switch usually does not have an intuitive display or feedback mechanism, it is impossible to directly determine whether its setting is correct. The DIP switch status of the device needs to be checked one by one, which increases the difficulty and time cost of troubleshooting. Based on this, it is necessary to provide an efficient communication identification determination method to address the above technical problems. The following will demonstrate and introduce the communication identification determination method of the present application.
[0028] Figure 2 FIG. 1 is a flow chart of a method for determining a communication identifier in an embodiment. In an exemplary embodiment, as shown in FIG. Figure 2 As shown, a communication identification determination method is provided, which is applied to Figure 1 The energy storage system in is used as an example for explanation, including the following S201 to S205.
[0029] S201: A target inverter sends a first message to a communication bus, where the first message includes a sequence identifier of the target inverter.
[0030] In this embodiment, the target inverter includes any inverter in the energy storage system. The number of target inverters can be one or more. In one embodiment, the target inverter includes all inverters in the energy storage system.
[0031] The communication bus is a communication bus in the energy storage system. The following example uses a CAN bus as the communication bus. The serial identifier of the target inverter is an identifier that uniquely identifies the target inverter and may include at least one of a number, a letter, and a symbol. Exemplarily, the serial identifier includes, but is not limited to, a serial number.
[0032] Optionally, the target inverter may periodically send the first message to the communication bus. Further, optionally, the target inverter may send the first message to the communication bus according to a preset period.
[0033] It should be noted that, since the corresponding bus communication identifier is not assigned to the target inverter at this time, the target inverter still sends the first message to the communication bus with the default communication identifier. Figure 1 For example, INV1 can be based on the default CAN ID of INV1 at a fixed interval. Send the serial number including INV1 to the CAN bus The first message 1.
[0034] S202: The target inverter obtains all first messages on the communication bus, and determines the sequence identifier of each inverter in the energy storage system based on all the first messages on the communication bus.
[0035] In this embodiment, it can be understood that INV1 sends the serial number of INV1 to the CAN bus. The first message 1, INV2 sends the serial number of INV2 to the CAN bus The first message 2, INV3 sends the serial number of INV3 to the CAN bus In other words, each inverter in the energy storage system can send a corresponding first message to the communication bus. Furthermore, the target inverter can receive all first messages on the communication bus and, based on all first messages, determine the sequence identifiers of each inverter in the energy storage system. For example, INV1 receives first message 1, first message 2, and first message 3 on the CAN bus.
[0036] Furthermore, the target inverter can parse all first messages on the communication bus to obtain the serial identifier of the inverter in each received first message to determine the serial identifier of each inverter in the energy storage system. Continuing with the above example, INV1 parses the first message 1 to obtain the serial number of INV1 , INV1 parses the first message 2 to obtain the sequence number of INV2 , parse the first message 3 to get the sequence number of INV3 .
[0037] S203: The target inverter determines a bus communication identifier of the target inverter based on the sequence identifiers of the inverters in the energy storage system.
[0038] In this embodiment, the bus communication identifier is a communication identifier on the communication bus, which includes but is not limited to a CANID.
[0039] Optionally, the target inverter can determine the ordering result between the serial identifiers of the inverters in the energy storage system, and determine its own bus communication identifier according to the order of the serial identifier of the target inverter in the ordering result. Different orders correspond to different bus communication identifiers. For example, INV1 sets the serial number of INV1 to 、INV2 serial number and the serial number of INV3 Sort by size, since the serial number of INV1 If INV1 is ranked first, it will use 0x0001 as its bus communication identifier, that is, INV1 will be reassigned "0x0001" as its new CANID. Similarly, INV2 can use 0x0002 as its bus communication identifier, and INV3 can use 0x0003 as its bus communication identifier. It should be noted that the above example uses the order of size as an example, and this embodiment does not limit the sorting rules.
[0040] S204: The target inverter sends a target signal to the BMS connected to the target inverter based on the bus communication identifier of the target inverter.
[0041] In this embodiment, all BMSs connected to the target inverter belong to the target inverter. Figure 1 If the target inverter is INV1, the BMSs connected to the target inverter are BMS1-1, BMS1-2, and BMS1-3. Then, INV1 sends target signals to BMS1-1, BMS1-2, and BMS1-3 respectively based on the bus communication identifier 0x0001 determined in S203.
[0042] Optionally, the target inverter can carry the bus communication identifier of the target inverter in the field of the target signal. The target inverter can also modify the phase, frequency, amplitude, duty cycle or other encoding methods of the target signal according to the bus communication identifier of the target inverter. This embodiment does not impose any restrictions.
[0043] Further optionally, the target signal may be a signal in any form. For example, the target signal may include but is not limited to a pulse width modulation (PWM) signal.
[0044] S205 : The target BMS determines the bus communication identifier of the target BMS based on the target signal.
[0045] In this embodiment, the target BMS is any BMS corresponding to the target inverter. Similarly, the number of target BMSs can be one or more. In one embodiment, the target BMS includes all BMSs connected to the target inverter.
[0046] It is understood that since the target signal is a signal sent by the target inverter based on its own bus communication identifier, the bus communication identifier of the target inverter can be determined based on the target signal. Furthermore, after the target BMS receives the target signal sent by the target inverter, it can determine the bus communication identifier of the target inverter based on the target signal. In other words, the target BMS can determine the target inverter to which it belongs.
[0047] Furthermore, the target BMS may determine the bus communication identifier of the target BMS based on the bus communication identifier of the target inverter. Optionally, the target BMS may determine the bus communication identifier of the target BMS based on the bus communication identifier of the target inverter and the sequence identifier of the target BMS, but this embodiment is not limited thereto.
[0048] In the above-mentioned communication identification determination method, since the target inverter can send a first message to the communication bus, and the first message includes the serial identifier of the target inverter, and the target inverter is any inverter in the energy storage system, the target inverter can obtain all the first messages on the communication bus and determine the serial identifiers of each inverter in the energy storage system based on all the first messages on the communication bus. Furthermore, since the target inverter can determine the bus communication identifier of the target inverter based on the serial identifiers of each inverter in the energy storage system, it is possible to determine the bus communication identifier of a non-conflicting target inverter through software without installing a DIP switch hardware on the inverter. Furthermore, since the target inverter can send a target signal to the BMS connected to the target inverter based on the bus communication identifier of the target inverter, and the target BMS is any BMS corresponding to the target inverter, the target BMS can further efficiently determine the bus communication identifier of the non-conflicting target BMS based on the target signal. During the entire process, bus communication identifiers can be automatically assigned to any inverter and any BMS in the energy storage system without human intervention, thereby improving the efficiency of determining the communication identifiers.
[0049] In an exemplary embodiment, optionally, the above-mentioned S204 includes: the target inverter determines the first offset address corresponding to the sequence identifier of the target inverter based on the arrangement result between the sequence identifiers of each inverter, and determines the bus communication identifier of the target inverter based on the first offset address and the default communication identifier of the target inverter.
[0050] In this embodiment, optionally, the target inverter may arrange the sequence identifiers of the inverters in the energy storage system based on small to large, large to small, or other preset rules to obtain a corresponding arrangement result.
[0051] Furthermore, the target inverter can determine the first offset address corresponding to the sequence identifier of the target inverter according to the arrangement order of the sequence identifier of the target inverter in the arrangement result. The initial value and step size of the first offset address can be set as needed, and this embodiment does not limit it. Optionally, the first offset address can be equal to the arrangement order of the sequence identifier of the target inverter minus one. For example, if the sequence identifier of the target inverter is first in the arrangement order, the first offset address is 0; if the sequence identifier of the target inverter is second in the arrangement order, the first offset address is 1; if the sequence identifier of the target inverter is third in the arrangement order, the first offset address is 2.
[0052] Furthermore, the target inverter can determine the bus communication identifier of the target inverter based on the first offset address and the default communication identifier of the target inverter. The default communication identifier of the target inverter represents the default communication identifier. Optionally, the target inverter can obtain the bus communication identifier of the target inverter after offsetting the first offset address on the basis of the default communication identifier. In other words, the target inverter can obtain the bus communication identifier of the target inverter after adding the default communication identifier to the first offset address. For example, if the default CAN ID is "0x0001" and the first offset address is 0, the bus communication identifier of the target inverter is still "0x0001"; if the default CAN ID is "0x0001" and the first offset address is 1, the bus communication identifier of the target inverter is still "0x0002", and so on.
[0053] In the above embodiment, since the target inverter can determine the first offset address corresponding to the serial identifier of the target inverter based on the arrangement result between the serial identifiers of each inverter, a unique and non-conflicting bus communication identifier of the target inverter can be determined based on the first offset address and the default communication identifier of the target inverter.
[0054] In an exemplary embodiment, optionally, the above-mentioned communication identifier determination method also includes: the target inverter determines a first number of sequence identifiers different from the sequence identifier of the target inverter based on the sequence identifier of the target inverter and the sequence identifiers in all acquired first messages, and determines the total number of inverters of each inverter in the energy storage system based on the first number.
[0055] In this embodiment, after S202, the target inverter can compare the sequence identifiers in all the first messages obtained and the sequence identifier of the target inverter itself, and count the first number of sequence identifiers that are different from the sequence identifier of the target inverter. Continuing with the above example, INV1 compares its own serial number The first message received 、 、 , determine the first number of inconsistent sequence numbers is 2.
[0056] Then, the target inverter can determine the total number of inverters in the energy storage system according to the first number. Optional, total number of inverters Continuing with the above example, the target inverter determines the total number of inverters in the energy storage system is 3.
[0057] Furthermore, the above-mentioned S203 includes: when the total number of inverters is greater than a first preset threshold and less than or equal to a second preset threshold, the target inverter determines a bus communication identifier of the target inverter based on the sequence identifiers of each inverter in the energy storage system.
[0058] In this embodiment, the first preset threshold Indicates the minimum number of inverters allowed to be connected in parallel in the energy storage system, for example The second preset threshold Indicates the maximum number of inverters allowed to be connected in parallel in the energy storage system, which can be set according to actual conditions.
[0059] Furthermore, in <Total number of inverters ≤ the second preset threshold In the case of The requirements are met. In this case, the target inverter further determines the bus communication identifier of the target inverter based on the sequence identifiers of the inverters in the energy storage system.
[0060] In the above embodiment, the target inverter is able to determine a first number of sequence identifiers different from the target inverter's sequence identifier based on the target inverter's sequence identifier and the sequence identifiers in all acquired first messages, and determine the total number of inverters in the energy storage system based on the first number. Thus, when the total number of inverters is greater than a first preset threshold and less than or equal to a second preset threshold, the target inverter further determines the target inverter's bus communication identifier based on the sequence identifiers of the inverters in the energy storage system. This facilitates determining the target inverter's bus communication identifier within a reasonable number of inverters, thereby improving the reliability of the determined target inverter's bus communication identifier.
[0061] In an exemplary embodiment, optionally, the above-mentioned communication identifier determination method further includes: when the total number of inverters is less than or equal to a first preset threshold, the target inverter uses the default communication identifier of the target inverter as the bus communication identifier of the target inverter.
[0062] In this embodiment, if the total number of inverters ≤ the first preset threshold , it means that there is at most one inverter in the energy storage system. Therefore, there is no need to reallocate the bus communication identifier for the inverter. Furthermore, in this case, the target inverter can use the default communication identifier of the target inverter as the bus communication identifier of the target inverter.
[0063] In the above embodiment, since the target inverter can directly use the default communication identifier of the target inverter as the bus communication identifier of the target inverter when the total number of inverters is less than or equal to the first preset threshold, the process can be simplified and the complexity can be reduced.
[0064] In an exemplary embodiment, optionally, the above-mentioned communication identification determination method also includes: when the total number of inverters is greater than a second preset threshold, the target inverter sends a first prompt message to the control terminal, and returns to the target inverter to obtain all first messages on the communication bus, and based on all first messages on the communication bus, determines the serial identification of each inverter in the energy storage system.
[0065] In this embodiment, if the total number of inverters >Second preset threshold , it indicates that the energy storage system has too many inverters. The target inverter will then send a first prompt to the control terminal. The control terminal is used to control the energy storage system, such as a host computer used by the user. The first prompt prompts the user to reduce the number of inverters in the energy storage system. For example, the first prompt could be "Too many inverters are currently connected to the system."
[0066] In some embodiments, the first prompt information may include a first removal quantity For example, the first prompt message may be “There are too many inverters connected to the system. Please remove Inverters. The first removal quantity According to the total number of inverters and a second preset threshold For example, .
[0067] Furthermore, the target inverter will return to step S202 above. Optionally, the target inverter may wait for a first preset time period before returning to step S202 above. The first preset time period may be set based on actual needs to allow the user a certain amount of time to remove the redundant inverter.
[0068] In the above embodiment, since the target inverter can send a first prompt message to the control terminal to prompt the user to reduce the number of inverters in the energy storage system when the total number of inverters exceeds the second preset threshold, the user can be promptly alerted to the excessive number of inverters. Furthermore, by returning to the target inverter to obtain all first messages on the communication bus and determining the sequence identifiers of each inverter in the energy storage system based on all first messages on the communication bus, automatic re-identification can be achieved after the user adjusts the number of inverters, thereby improving adaptability and maintenance convenience.
[0069] Figure 3 This is a flowchart of determining a first allocation evaluation result in an embodiment. In an exemplary embodiment, optionally, the above-mentioned communication identification determination method further includes S301 to S303.
[0070] S301: The target inverter sends a second message to the communication bus based on the bus communication identifier of the target inverter.
[0071] Continuing with the above example, after determining the bus communication identifier of INV1, INV1 can send the second message 1 to the CAN bus based on INV1's bus communication identifier 0x0001. Similarly, INV2 can also send the second message 2 to the CAN bus based on INV2's bus communication identifier 0x0002, and INV3 can also send the second message 3 to the CAN bus based on INV3's bus communication identifier 0x0003.
[0072] It can be understood that, since the second message is a message sent based on the bus communication identifier of the target inverter, the second message includes the bus communication identifier of the target inverter.
[0073] S302: The target inverter obtains all second messages on the communication bus, and determines the bus communication identifiers of each inverter in the energy storage system based on all second messages on the communication bus.
[0074] In this embodiment, similar to the principle of S202 , the target inverter can obtain all second messages on the communication bus, and parse all received second messages to obtain the bus communication identifiers of each inverter in the energy storage system.
[0075] Continuing with the above example, INV1 can receive the second message 1, the second message 2, and the second message 3 on the CAN bus. Then, INV1 parses the second message 1 to obtain the bus communication identifier 0x0001 of INV1, parses the first message 2 to obtain the bus communication identifier 0x0002 of INV2, and parses the first message 3 to obtain the bus communication identifier 0x0003 of INV3.
[0076] S303: The target inverter determines a first allocation evaluation result according to the bus communication identifier of the target inverter and the bus communication identifiers of each inverter in the energy storage system.
[0077] In this embodiment, the first allocation evaluation result is used to characterize the allocation status of S203. For example, the first allocation evaluation result may be normal or abnormal. Normal may indicate that the bus communication identifiers of the inverters in the energy storage system are free of conflict and error, while abnormal may indicate that the bus communication identifiers of the inverters in the energy storage system are conflicting or have errors.
[0078] Optionally, the target inverter may compare its bus communication identifier with the bus communication identifiers of each inverter in the energy storage system to determine the first allocation evaluation result. For example, if the bus communication identifier of the target inverter overlaps with the bus communication identifiers of each inverter in the energy storage system, the target inverter may determine that the first allocation evaluation result is abnormal; if the bus communication identifier of the target inverter does not overlap with the bus communication identifiers of each inverter in the energy storage system, the target inverter may determine that the first allocation evaluation result is normal.
[0079] In the above embodiment, since the target inverter can send a second message to the communication bus based on the bus communication identifier of the target inverter and obtain all second messages on the communication bus, and determine the bus communication identifier of each inverter in the energy storage system based on all second messages on the communication bus, the target inverter can efficiently and accurately determine the first allocation evaluation result based on the bus communication identifier of the target inverter and the bus communication identifiers of each inverter in the energy storage system.
[0080] In an exemplary embodiment, optionally, the above-mentioned S303 includes: the target inverter compares the bus communication identifier of the target inverter and the bus communication identifier of each inverter in the energy storage system, determines a second number of bus communication identifiers that are different from the bus communication identifier of the target inverter, and determines that the first allocation evaluation result is normal when the second number matches the total number of inverters, and determines that the first allocation evaluation result is abnormal when the second number does not match the total number of inverters.
[0081] Continuing the above example, INV1 compares the bus communication identifier 0x0001 of INV1 with the bus communication identifier 0x0001, bus communication identifier 0x0002 and bus communication identifier 0x0003 in the received second message to determine the second number of inconsistent bus communication identifiers. is 2.
[0082] In this embodiment, the second number Total number of inverters Matching refers to the total number of inverters On the contrary, if , then the second quantity Total number of inverters No match.
[0083] Furthermore, if the second number Total number of inverters If the second number matches, it means that there is no conflict in the bus communication identifiers of the inverters in the energy storage system, and the first allocation evaluation result is normal. Total number of inverters If there is no match, it means that there is a conflict in the bus communication identifiers of the inverters in the energy storage system, and the first allocation evaluation result is abnormal.
[0084] In the above embodiment, since the target inverter can compare the bus communication identifier of the target inverter with the bus communication identifier of each inverter in the energy storage system to determine the second number of bus communication identifiers that are different from the bus communication identifier of the target inverter, therefore, when the second number matches the total number of inverters, the first allocation evaluation result is determined to be normal, and when the second number does not match the total number of inverters, the first allocation evaluation result is determined to be abnormal. The first allocation evaluation result can be accurately determined based on the bus communication identifier of the target inverter and the bus communication identifiers of each inverter in the energy storage system.
[0085] In an exemplary embodiment, optionally, the above-mentioned S204 includes: sending a target signal to the target BMS when the first allocation evaluation result is normal. In other words, when the first allocation evaluation result is normal, the target inverter may send the target signal to the BMS connected to the target inverter based on the bus communication identifier of the target inverter.
[0086] In the above embodiment, since the target signal is sent to the target BMS when the first allocation evaluation result is normal, the accuracy of the target signal can be guaranteed.
[0087] In an exemplary embodiment, optionally, before S202, the communication identification determination method further includes: initializing a first accumulated count value of the target inverter Among them, the first accumulated count value For example, the first accumulated count value can be Set to 0 to initialize the first accumulated count value .
[0088] Further optionally, the target inverter may initialize the first accumulated count value before sending the first message. , or the first accumulated count value may be initialized when or after the first message is sent. , this embodiment does not limit it.
[0089] In an exemplary embodiment, optionally, after S203, the communication identification determination method further includes: updating the first accumulated count value of the target inverter Optionally, the target inverter adds the first accumulated count value Add one to update the corresponding first accumulated count value For example, INV1 can send a second message 1 to the communication bus based on the bus communication identifier 0x0001 of INV1, and set the first accumulated count value of INV1 to Add 1.
[0090] In an exemplary embodiment, optionally, the above-mentioned communication identification determination method also includes: obtaining a first cumulative count value; when the first allocation evaluation result is abnormal and the first cumulative count value is less than a first count threshold, returning to the target inverter to obtain all first messages on the communication bus, and based on all first messages on the communication bus, determining the sequence identification of each inverter in the energy storage system; when the first allocation evaluation result is abnormal and the first cumulative count value is greater than or equal to the first count threshold, the target inverter sends a second prompt message to the control terminal; the second prompt message is used to prompt the user to restart the energy storage system.
[0091] In this embodiment, when the target inverter determines that the first allocation evaluation result is abnormal, it also obtains the corresponding first accumulated count value. For example, the target inverter can obtain the first accumulated count value from the preset storage space .
[0092] Furthermore, if the first allocation evaluation result is abnormal, and the first accumulated count value If the bus communication identifier of the target inverter is less than the first counting threshold, it means that although there is a conflict in the bus communication identifiers of the inverters in the energy storage system after the bus communication identifier of the target inverter is determined this time, the number of times the bus communication identifier of the target inverter is determined is still within the acceptable range. Therefore, the target inverter can return to step S201 to re-determine the bus communication identifier of the target inverter and update the first cumulative count value each time the bus communication identifier of the target inverter is determined. The first counting threshold can be set as required, for example, 4.
[0093] If the first allocation evaluation result is abnormal and the first accumulated count value If the count exceeds the first threshold, it indicates that the target inverter has performed step S201 multiple times. In other words, it has performed the step of determining the bus communication identifier multiple times. Therefore, to avoid a loop, the target inverter sends a second prompt to the control terminal to prompt the user to restart the energy storage system. For example, the second prompt could be "Inverter allocation abnormality, please power on again," prompting the user to power on the energy storage system again.
[0094] In the above embodiment, after the target inverter determines the bus communication identifier of the target inverter based on the sequence identifiers of each inverter in the energy storage system, the first cumulative count value of the target inverter can be updated. Therefore, the first cumulative count value can accurately reflect the number of times the bus communication identifier of the target inverter has been determined. Furthermore, since the first cumulative count value can be obtained after determining the first allocation evaluation result, and if the first allocation evaluation result is abnormal and the first cumulative count value is less than a first counting threshold, the target inverter is returned to obtain all first messages on the communication bus and, based on all first messages on the communication bus, the sequence identifiers of each inverter in the energy storage system are determined. Moreover, if the first allocation evaluation result is abnormal and the first cumulative count value is greater than or equal to the first counting threshold, the target inverter sends a second prompt message to the control terminal to prompt the user to restart the energy storage system. Therefore, the target inverter can be prevented from falling into an invalid loop, computing resources can be saved, and the user can be guided to intervene to solve persistent problems, thereby ensuring the system stability and maintenance efficiency of the energy storage system.
[0095] In an exemplary embodiment, optionally, the above S204 includes: the target inverter determines a target frequency corresponding to the bus communication identifier of the target inverter, and sends a target signal corresponding to the target frequency to the BMS connected to the target inverter.
[0096] In this embodiment, the target inverter may optionally determine the target frequency based on the bus communication identifier of the target inverter and a first mapping relationship. The first mapping relationship includes a mapping relationship between the bus communication identifier and frequency, and the first mapping relationship may be any mapping relationship. Furthermore, different bus communication identifiers correspond to different target frequencies. Thus, the bus communication identifier of the target inverter can be distinguished by the target frequency of the target signal.
[0097] For example, let's consider a PWM signal as the target signal. A PWM signal is a periodic pulse signal, where a complete cycle consists of a high-level duration and a low-level duration. The PWM frequency refers to the number of times this cycle repeats within a second. For example, if a PWM signal completes a cycle every 0.01 seconds, its corresponding frequency is 100Hz.
[0098] Optionally, the target inverter may also determine the target frequency corresponding to the bus communication identifier of the target inverter based on the default frequency and the first offset address. Further, the target inverter may determine the target frequency corresponding to the bus communication identifier of the target inverter based on the default frequency, the first offset address, and a preset coefficient. The preset coefficient can be set based on actual needs and is not limited in this embodiment.
[0099] For example, the target inverter may determine a first product between the first offset address and a preset coefficient, and use the sum of the first product and the default frequency as the target frequency corresponding to the bus communication identifier of the target inverter. .in, Indicates the default frequency, Indicates the first offset address, Indicates the preset coefficient.
[0100] Furthermore, the target inverter can send a target signal corresponding to the target frequency to the target BMS. Optionally, the target inverter can control its PWM output pin based on the target frequency to send the target signal to the BMS connected to the target inverter.
[0101] In the above embodiment, since the target inverter can determine the target frequency based on the bus communication identifier of the target inverter and send a target signal corresponding to the target frequency to the target BMS, a unique target frequency can be determined based on the unique bus communication identifier, and the target BMS can accurately determine the inverter to which it belongs through the target signal.
[0102] Figure 4 FIG. 1 is a flow chart of determining a bus communication identifier of a target BMS in one embodiment. Figure 4 As shown, in an exemplary embodiment, optionally, the above-mentioned S205 includes S401 to S404.
[0103] S401: The target BMS determines a first offset address of a target inverter according to a target signal.
[0104] In this embodiment, the target BMS can obtain the target signal sent by the target inverter through a timer and determine the first offset address of the target inverter based on the target signal. It can be understood that the first offset address of the target inverter can uniquely identify the target inverter in the energy storage system and has been uniquely determined in the above steps. For example, the first offset address of INV1 is 0, the first offset address of INV2 is 1, and the first offset address of INV3 is 2.
[0105] That is, after the target BMS determines the first offset address of the target inverter, it also determines which inverter in the energy storage system the target BMS belongs to. For example, the target inverter number can be determined based on the first offset address. Optionally, the target inverter number can be the same as or different from the first offset address. For example, the target inverter number can be equal to the first offset address plus 1.
[0106] Optionally, the target BMS can parse the target signal to obtain the target frequency of the target signal, and determine the first offset address of the target inverter based on the target frequency. Further optionally, the target BMS can determine the first offset address of the target inverter based on the second mapping relationship and the target frequency. The second mapping relationship includes a mapping relationship between the frequency and the first offset address. Exemplarily, the second mapping relationship can be the same as the first mapping relationship described above. S402, the target BMS sends a third message to the communication bus, and the third message includes the first offset address of the target inverter and the sequence identifier of the target BMS.
[0107] In this embodiment, similar to the principle of S201, the serial identifier of the target BMS is an identifier that can uniquely distinguish the target BMS, which may include at least one of a number, a letter, and a symbol. Optionally, the target BMS may periodically send a third message to the communication bus. Further, optionally, the target BMS may send the third message to the communication bus according to a preset period. Similarly, since a new bus communication identifier has not yet been assigned to the target BMS at this time, the target BMS still sends the third message to the communication bus using the default communication identifier.
[0108] The following example uses BMS1-1 as the target BMS. For example, BMS1-1 can be configured to send a message at a fixed interval based on the default CAN ID of BMS1-1. Send the first offset address 0 of INV1 and the serial number of BMS1-1 to the CAN bus The third message 1.
[0109] It is understandable that BMS1-2 will also send the first offset address 0 of INV1 and the serial number of BMS1-2 to the CAN bus. The third message 2. BMS1-3 will also send the first offset address 0 of INV1 and the serial number of BMS1-3 to the CAN bus. The third message 3.
[0110] S403: The target BMS obtains all third messages on the communication bus, and determines the sequence identifiers of the BMSs in the same group based on all third messages on the communication bus.
[0111] In this embodiment, the target BMS can obtain all third messages on the communication bus. Continuing with the above example, BMS1-1 obtains the third message 1, the third message 2, and the third message 3 on the communication bus.
[0112] Optionally, the target BMS may parse all third messages on the communication bus to obtain the first offset address of the target inverter and the sequence identifier of the target BMS carried in each third message, and determine the sequence identifiers of the BMSs in the same group based on the first offset address of the target inverter and the sequence identifier of the target BMS in each third message. The BMSs in the same group are BMSs connected to the target inverter in the energy storage system, that is, the BMSs in the same group are BMSs belonging to the same inverter in the energy storage system.
[0113] Further optionally, the target BMS may compare the first offset address of the target inverter with the first offset addresses obtained in all third messages, and take the BMSs corresponding to the first offset addresses identical to the first offset address of the target inverter as the BMSs in the same group.
[0114] For example, if the first offset addresses in the third message 1, the third message 2, and the third message 3 are all 0, then BMS1-1 will 、 and Determine the sequence identifiers of BMSs in the same group.
[0115] S404: The target BMS determines the bus communication identifier of the target BMS based on the sequence identifiers of the BMSs in the same group.
[0116] In this embodiment, similar to the principle of S203, the target BMS can optionally determine the ranking result between the sequence identifiers of the BMSs in the same group, and determine its own bus communication identifier based on the order of the target BMS's sequence identifier in the ranking result. Similarly, different orders correspond to different bus communication identifiers.
[0117] For example, BMS1-1 sets the serial number of BMS1-1 、Serial number of BMS1-2 and the serial numbers of BMS1-3 Sort by size, since the serial number of BMS1-1 If BMS1-1 is ranked first, it will use 0x1001 as its bus communication identifier, that is, "0x1001" will be reassigned to BMS1-1 as its new CAN ID. Similarly, BMS1-2 can use 0x1002 as its bus communication identifier, and BMS1-3 can use 0x1003 as its bus communication identifier. It should be noted that this example also uses the order of size as an example, and this embodiment does not limit the sorting rules.
[0118] In the above embodiment, since the target BMS can determine the first offset address of the target inverter based on the target signal and send a third message to the communication bus, the third message includes the first offset address of the target inverter and the sequence identifier of the target BMS. Therefore, after the target BMS obtains all third messages on the communication bus, it can determine the sequence identifiers of the BMSs in the same group based on all third messages on the communication bus. The BMSs in the same group are the BMSs connected to the target inverter in the energy storage system. Furthermore, based on the sequence identifiers of the BMSs in the same group, the target BMS can accurately and efficiently determine the bus communication identifier of the target BMS.
[0119] In an exemplary embodiment, optionally, the above-mentioned communication identification determination method also includes: the target BMS determines a third number of sequence identifiers different from the sequence identifier of the target BMS based on the sequence identifier of the target BMS and the sequence identifiers of the BMSs in the same group, and determines the total number of BMSs corresponding to the BMSs in the same group according to the third number.
[0120] In this embodiment, after S403, the target BMS can compare the sequence identifier of the target BMS with the sequence identifiers of the BMSs in the same group, and count the third number of sequence identifiers of the BMSs in the same group that are different from the sequence identifier of the target BMS. Continuing with the above example, BMS1-1 compares its own serial number The sequence identifiers of the same group of BMS 、 and , determine the third number of inconsistent sequence numbers is 2.
[0121] Then, the target BMS can determine the total number of BMSs corresponding to the same group of BMSs based on the third number. The total number of BMSs is the total number of BMSs in the same group of BMSs belonging to the target inverter. Continuing with the above example, the target BMS determines the total number of BMSs is 3.
[0122] Furthermore, the above S404 includes: when the total number of BMSs is greater than a third preset threshold and less than or equal to a fourth preset threshold, the target BMS determines the bus communication identifier of the target BMS based on the sequence identifiers of the BMSs in the same group.
[0123] In this embodiment, the third preset threshold Indicates the minimum number of BMSs allowed in parallel in the inverter, for example The fourth preset threshold Indicates the maximum number of BMSs allowed in parallel in the inverter, which can be set according to actual conditions.
[0124] Then, at the third preset threshold <Total number of BMS ≤ In the case of In this case, the target BMS determines the bus communication identifier of the target BMS based on the sequence identifier of the BMS in the same group.
[0125] In the above embodiment, since the target BMS determines the third number of sequence identifiers different from the sequence identifier of the target BMS based on the sequence identifier of the target BMS and the sequence identifiers of the BMSs in the same group, and determines the total number of BMSs corresponding to the BMSs in the same group according to the third number, and when the total number of BMSs is greater than the third preset threshold and less than or equal to the fourth preset threshold, the target BMS determines the bus communication identifier of the target BMS based on the sequence identifiers of the BMSs in the same group, thereby improving the reliability of the determined bus communication identifier of the target BMS.
[0126] In an exemplary embodiment, optionally, the above-mentioned communication identification determination method further includes: when the total number of BMSs is less than or equal to a third preset threshold, the target inverter uses the default communication identification of the target BMS as the bus communication identification of the target BMS.
[0127] In this embodiment, if the total number of BMS ≤ the third preset threshold , it means that there is only one BMS connected to the target inverter at most, and there is no need to reallocate the bus communication identifier for the BMS. Therefore, in this case, the target BMS can use the default communication identifier of the target BMS as the bus communication identifier of the target BMS to simplify the process.
[0128] In an exemplary embodiment, optionally, the above-mentioned communication identification determination method also includes: when the total number of BMSs is greater than a fourth preset threshold, the target BMS sends a second prompt message to the control terminal, and returns to the target BMS to obtain all third messages on the communication bus, and determines the sequence identification of the BMSs in the same group based on all third messages on the communication bus.
[0129] In this embodiment, if the total number of BMS > , it indicates that there are too many BMSs connected to the target inverter. Therefore, the target inverter will send a second prompt message to the control terminal. The second prompt message is used to prompt the user to reduce the number of BMSs connected to the target inverter. For example, the first prompt message may be "There are too many BMSs connected to the current inverter INV1."
[0130] In some embodiments, the second prompt information may include a second removal quantity For example, the second prompt message may be “There are too many BMSs connected to the current inverter INV1, please remove BMS". The first removal quantity According to the total number of BMS and For example, .
[0131] Furthermore, the target BMS will return to the above step S404. Optionally, the target BMS may wait for a second preset time period before returning to the above step S404. The second preset time period may be set according to actual needs to give the user a certain amount of time to remove the redundant BMS.
[0132] In the above embodiment, since when the total number of BMSs is greater than the fourth preset threshold, the target BMS sends the second prompt information to the control terminal, and returns to the target BMS to obtain all the third messages on the communication bus, and determines the sequence identifiers of the BMSs in the same group based on all the third messages on the communication bus, and the second prompt information is used to prompt the user to reduce the number of BMSs connected to the target inverter, therefore, the situation where the number of BMSs connected to the target inverter is abnormal can be avoided.
[0133] In an exemplary embodiment, optionally, the above-mentioned S404 includes: the target BMS determines the second offset address corresponding to the target BMS based on the arrangement result between the sequence identifiers of the BMSs in the same group; the target BMS determines the bus communication identifier of the target BMS based on the second offset address and the preset communication identifier of the target inverter.
[0134] In this embodiment, the target BMS may arrange the sequence identifiers of the BMSs in the same group based on small to large, large to small, or other preset rules to obtain a corresponding arrangement result.
[0135] Similar to the principle of the first offset address, the target BMS can determine the second offset address corresponding to the target BMS according to the arrangement order of the sequence identifier of the target BMS in the arrangement result. The initial value and step size of the second offset address can be set as needed, and this embodiment does not limit it. Optionally, the second offset address can be equal to the arrangement order of the sequence identifier of the target BMS minus one. For example, if the sequence identifier of the target BMS is first in the arrangement order, the second offset address is 0, if the sequence identifier of the target BMS is second in the arrangement order, the second offset address is 1, and if the sequence identifier of the target BMS is third in the arrangement order, the second offset address is 2.
[0136] Among them, the preset communication identifier refers to the starting address of the communication identifier of the BMS in the same group corresponding to the target inverter. Optionally, the preset communication identifier can be determined based on the maximum number of BMSs that the target inverter can connect to. For example, assuming that each inverter can connect to a maximum of 3 BMSs, the preset communication identifier corresponding to INV1 can be 0x1001, so that the usable range of the bus communication identifier of the BMS under INV1 is 0x1001 to 0x1003; the preset communication identifier corresponding to INV2 can be 0x1004, so that the usable range of the bus communication identifier of the BMS under INV2 is 0x1004 to 0x1006; the preset communication identifier corresponding to INV3 can be 0x1007, so that the usable range of the bus communication identifier of the BMS under INV3 is 0x1007 to 0x1009.
[0137] Furthermore, the target BMS can determine the bus communication identifier of the target BMS based on the second offset address and the preset communication identifier of the target inverter. Optionally, the target BMS can obtain the bus communication identifier of the target BMS after offsetting the second offset address on the basis of the preset communication identifier. In other words, the target BMS can obtain the bus communication identifier of the target BMS by adding the preset communication identifier to the second offset address. For example, if the preset communication identifier corresponding to INV1 is "0x1001" and the first offset address is 0, the bus communication identifier of the target BMS is still "0x1001"; if the preset communication identifier corresponding to INV1 is "0x1001" and the first offset address is 1, the bus communication identifier of the target BMS is still "0x1002", and so on.
[0138] In the above embodiment, since the target BMS can determine the second offset address corresponding to the target BMS based on the arrangement result between the sequence identifiers of the BMSs in the same group, the target BMS can determine a unique and non-conflicting bus communication identifier of the target BMS based on the second offset address and the preset communication identifier of the target inverter.
[0139] Figure 5 FIG. 1 is a flow chart of determining the second allocation evaluation result in one embodiment. Figure 5 As shown, in an exemplary embodiment, optionally, the above-mentioned communication identification determination method further includes S501 to S503.
[0140] S501: The target BMS sends a fourth message to the communication bus based on the bus communication identifier of the target BMS.
[0141] In this embodiment, continuing with the above example, after determining the bus communication identifier of BMS1-1, BMS1-1 can send the fourth message 1 to the CAN bus based on the bus communication identifier 0x1001 of BMS1-1. Similarly, BMS1-2 can also send the fourth message 2 to the CAN bus based on the bus communication identifier 0x1002 of BMS1-2, and BMS1-3 can also send the fourth message 3 to the CAN bus based on the bus communication identifier 0x1003 of BMS1-3.
[0142] It can be understood that, since the fourth message is a message sent based on the bus communication identifier of the target BMS, the fourth message includes the bus communication identifier of the target BMS.
[0143] S502: The target BMS obtains all fourth messages on the communication bus, and determines the bus communication identifiers of the BMSs in the same group based on all fourth messages on the communication bus.
[0144] In this embodiment, the target BMS can optionally obtain all fourth messages on the communication bus and parse all received fourth messages to obtain the bus communication identifiers of the BMSs in the same group. Further, the target BMS can determine the bus communication identifiers of the BMSs in the same group based on the fourth message and the preset communication identifier of the target inverter. For example, if the target BMS determines that the preset communication identifier of the target inverter INV1 is 0x1001, it determines that the BMSs with bus communication identifiers of 0x1001 to 0x1003 in the third message are BMSs in the same group.
[0145] S503: The target BMS determines a second allocation evaluation result according to the bus communication identifier of the target BMS and the bus communication identifiers of the BMSs in the same group.
[0146] In this embodiment, the second allocation evaluation result is used to characterize the allocation status of S404. For example, the second allocation evaluation result may be normal or abnormal. Normal may indicate that the bus communication identifiers of the BMSs in the same group connected to the target inverter have no conflicts or errors, while abnormal may indicate that the bus communication identifiers of the BMSs in the same group connected to the target inverter have conflicts or errors.
[0147] Optionally, the target BMS can compare the bus communication identifier of the target BMS with the bus communication identifiers of the BMSs in the same group to determine the second allocation evaluation result. For example, the target BMS can determine that the second allocation evaluation result is abnormal when the bus communication identifier of the target BMS is repeated with the bus communication identifiers of the BMSs in the same group; and determine that the second allocation evaluation result is normal when the bus communication identifier of the target BMS is not repeated with the bus communication identifiers of the BMSs in the same group. For another example, the target BMS can compare the bus communication identifier of the target BMS with the bus communication identifiers of the BMSs in the same group to determine the fourth number of bus communication identifiers that are different from the bus communication identifier of the BMS, and determine that the second allocation evaluation result is normal when the fourth number matches the total number of BMSs, and determine that the second allocation evaluation result is abnormal when the fourth number does not match the total number of BMSs.
[0148] In the above embodiment, since the target BMS is able to send the fourth message to the communication bus, and the fourth message includes the bus communication identifier of the target BMS, the target BMS obtains all the fourth messages on the communication bus, and determines the bus communication identifier of the BMS in the same group based on all the fourth messages on the communication bus, and accurately and efficiently determines the second allocation evaluation result according to the bus communication identifier of the target BMS and the bus communication identifier of the BMS in the same group.
[0149] In an exemplary embodiment, optionally, before S403, the above-mentioned communication identification determination method further includes: initializing the second accumulated count value of the target BMS Among them, the second accumulated count value of the target BMS The number of times the bus communication identifier of the target BMS is allocated. For example, the second accumulated count value can be Set to 0 to initialize the second cumulative count value .
[0150] Further optionally, the target BMS may initialize the second accumulated count value before sending the third message. , or the second accumulated count value may be initialized when or after the third message is sent. , this embodiment does not limit it.
[0151] In an exemplary embodiment, optionally, after S404, the communication identification determination method further includes: updating the second accumulated count value of the target BMS Optionally, the target BMS can use the second accumulated count value Add one to update the second accumulated count value For example, the target BMS may send a fourth message to the communication bus based on the bus communication identifier of the target BMS, and set the second accumulated count value to Add 1.
[0152] In an exemplary embodiment, optionally, after S503, the above-mentioned communication identification determination method further includes: obtaining a second cumulative count value of the target BMS; when the second allocation evaluation result is abnormal and the second cumulative count value is less than the second count threshold, returning to the target BMS to obtain all third messages on the communication bus, and determining the sequence identifier of the BMS in the same group based on all third messages on the communication bus, and updating the second cumulative count value; when the second allocation evaluation result is abnormal and the second cumulative count value is greater than or equal to the second count threshold, the target BMS sends a third prompt message to the control terminal; the third prompt message is used to prompt the user to restart the BMS corresponding to the target inverter.
[0153] In this embodiment, when the second allocation evaluation result is abnormal, the target BMS will also obtain the corresponding second accumulated count value. Optionally, the target BMS can obtain the second accumulated count value from the preset storage space .
[0154] Furthermore, if the second allocation evaluation result is abnormal, and the second accumulated count value If the bus communication identifier of the target BMS is less than the second counting threshold, it means that although there is a conflict between the bus communication identifiers of the BMSs in the same group after the bus communication identifier of the target BMS is determined this time, the number of times the bus communication identifier of the target BMS is determined is still within the acceptable range. Therefore, the target BMS can return to step S404 and re-determine the bus communication identifier of the target BMS, and update the second accumulated count value each time after the bus communication identifier of the target BMS is determined. The second counting threshold may also be set as required, for example, to 4. The second counting threshold may be the same as or different from the first counting threshold.
[0155] If the second allocation evaluation result is abnormal, and the second accumulated count value If the count value exceeds the second count threshold, it indicates that the target BMS has performed step S404 multiple times. To avoid a loop, the target BMS sends a third prompt to the control terminal to prompt the user to restart the BMS corresponding to the target inverter. For example, the third prompt may be "The BMS allocation under this inverter is abnormal. Please power on again," prompting the user to power on the BMS under the inverter.
[0156] In the above embodiment, after the target BMS determines the bus communication identifier of the target BMS based on the serial identifier of the BMS in the same group, it can obtain the second cumulative count value, and when the second allocation evaluation result is abnormal and the second cumulative count value is less than the second count threshold, it returns to the target BMS to obtain all third messages on the communication bus, and determines the serial identifier of the BMS in the same group based on all third messages on the communication bus, and when the second allocation evaluation result is abnormal and the second cumulative count value is greater than or equal to the second count threshold, the target BMS sends a third prompt message to the control terminal to prompt the user to restart the BMS corresponding to the target inverter. Therefore, the target BMS can be prevented from falling into an invalid loop and computing resources can be saved.
[0157] Figure 6 FIG. 1 is a flow chart of sending an allocation result prompt message in one embodiment. Figure 6 As shown, in an exemplary embodiment, optionally, the above-mentioned communication identification determination method further includes S601 to S604.
[0158] S601: The target BMS sends a fifth message to the communication bus based on the bus communication identifier of the target BMS.
[0159] In this embodiment, the fifth message includes the battery voltage corresponding to the target BMS. The battery voltage corresponding to the target BMS includes the battery voltage of the battery pack corresponding to the target BMS. Continuing with the above example, BMS1-1 sends the fifth message 1 to the CAN bus based on the bus communication identifier 0x1001 of BMS1-1. The fifth message 1 includes the battery voltage corresponding to BMS1-1. .
[0160] Similarly, BMS1-2 sends the fifth message 2 to the CAN bus based on the bus communication identifier 0x1002 of BMS1-2. The fifth message 2 includes the battery voltage corresponding to BMS1-2. BMS1-3 sends the fifth message 3 to the CAN bus based on the bus communication identifier 0x1003 of BMS1-3. The fifth message 3 includes the battery voltage corresponding to BMS1-3. .
[0161] S602: The target inverter receives the fifth message sent by the BMS in the same group, and determines the theoretical voltage corresponding to the BMS in the same group according to the fifth message sent by the BMS in the same group.
[0162] In this embodiment, after receiving the fifth message sent by the BMS in the same group, the target inverter can parse the received fifth message and determine the theoretical voltage corresponding to the BMS in the same group based on the sum of the battery voltages in the received fifth message.
[0163] For example, INV1 receives the fifth message 1, the fifth message 2 and the fifth message 3, and determines the theoretical voltage corresponding to the BMS in the same group. .
[0164] S603: The target inverter obtains the measured voltage corresponding to the BMS in the same group.
[0165] In this embodiment, the target inverter may obtain the measured voltage corresponding to the BMS in the same group through a voltage sensor. For example, the target inverter may detect the measured voltage corresponding to the BMS in the same group through a hardware input sampling port.
[0166] Continuing with the above example, INV1 can obtain the measured voltage corresponding to the BMS in the same group , understandably, That is, the total measured voltage corresponding to BMS1-1, BMS1-2 and BMS1-3.
[0167] S604: The target inverter sends allocation result prompt information to the control terminal according to the theoretical voltage and the measured voltage.
[0168] In this embodiment, optionally, the target inverter can determine that the allocation result prompt information is abnormal when the theoretical voltage and the measured voltage are inconsistent, and determine that the allocation result prompt information is normal when the theoretical voltage and the measured voltage are consistent, and send the corresponding allocation result prompt information to the control terminal.
[0169] In the above embodiment, since the target BMS sends the fifth message to the communication bus based on the bus communication identifier of the target BMS, and the fifth message includes the battery voltage corresponding to the target BMS, after the target inverter receives the fifth message sent by the BMS in the same group, it can determine the theoretical voltage corresponding to the BMS in the same group based on the fifth message sent by the BMS in the same group. Furthermore, since the target inverter obtains the measured voltage corresponding to the BMS in the same group, the target inverter accurately sends the allocation result prompt information to the control terminal based on the theoretical voltage and the measured voltage, thereby improving the reliability of the communication identifier determination process.
[0170] In an exemplary embodiment, optionally, when the gap between the theoretical voltage and the measured voltage of the target inverter is greater than or equal to a preset gap, the target inverter sends a fourth prompt message to the control terminal, and the fourth prompt message is used to prompt the user that there is an unassigned BMS for the target inverter.
[0171] In this embodiment, the gap between the theoretical voltage and the measured voltage may include the absolute value of the difference between the theoretical voltage and the measured voltage, may include the ratio between the theoretical voltage and the measured voltage, and may also include the standardized difference between the theoretical voltage and the measured voltage, but this embodiment is not limited thereto. It can be set as required, for example, to a number close to 0.
[0172] Optionally, the target inverter may first wait for a third preset time period when the gap between the theoretical voltage and the measured voltage is greater than or equal to the preset gap. If the gap between the theoretical voltage and the measured voltage is still greater than or equal to the preset gap after the third preset time period, the target inverter sends a fourth prompt message to the control terminal to prompt the user that there is an unassigned BMS for the target inverter.
[0173] Continuing with the above example, the target inverter can be In this case, the fourth prompt message is issued: "When the BMS connected to the inverter has not completed the allocation, please re-plug the BMS."
[0174] In the above embodiment, since the target inverter can send the fourth prompt information to the control terminal when the gap between the theoretical voltage and the measured voltage is greater than or equal to the preset gap, the fourth prompt information can promptly remind the user that there is an unassigned BMS for the target inverter.
[0175] In an exemplary embodiment, optionally, when the gap between the theoretical voltage and the measured voltage of the target inverter is smaller than a preset gap, the target inverter sends a fifth prompt message to the control terminal, where the fifth prompt message is used to prompt the user that the allocation has been completed normally.
[0176] Continuing with the above example, if , the target inverter can issue a fifth prompt message "The current energy storage system has completed allocation."
[0177] In the above embodiment, since the target inverter sends the fifth prompt information to the control terminal when the gap between the theoretical voltage and the measured voltage is smaller than the preset gap, the fifth prompt information can promptly remind the user that the allocation has been completed normally.
[0178] In an exemplary embodiment, optionally, the above-mentioned S601 includes: when the second allocation evaluation result is normal, the target BMS sends a fifth message to the communication bus based on the bus communication identifier of the target BMS.
[0179] In an exemplary embodiment, optionally, the above-mentioned communication identification determination method further includes: determining the sending period of the target message according to the first preset period; or determining the sending period of the target message according to the first preset period and the delay period corresponding to the target message.
[0180] In this embodiment, the target message includes at least one of a first message, a second message, a third message, a fourth message, or a fifth message.
[0181] That is, in one implementation, any inverter or BMS in the energy storage system can periodically send corresponding messages through a fixed first preset period when sending messages. The first preset period corresponding to different target messages can be different. For example, the target inverter can send messages at a fixed interval. Send a first message to the communication bus. The target inverter can Send the second message to the communication bus. The target BMS can send the second message to the communication bus at a fixed interval. Send the third message to the communication bus, the target BMS can send the third message to the communication bus at a fixed interval. Send the fourth message to the communication bus, the target inverter can A fifth message is sent to the communication bus.
[0182] In another implementation, any inverter or BMS in the energy storage system can periodically send corresponding messages by adding a delay period to a first preset period when sending messages. The delay period corresponding to different target messages can be different.
[0183] Optionally, the delay period corresponding to the target message can be determined randomly. Taking the first message as an example, the target inverter can After adding a random delay, the first message is sent to the communication bus. For example, assuming a fixed interval The delay is 500 milliseconds (ms). Before sending the first message each time, a random delay of 0-100ms can be performed.
[0184] Optionally, the delay period corresponding to the target message can be determined based on the serial identifier of the sending device. For example, if the target message includes a first message and the sending device is a target inverter, the delay period can be generated based on the last two digits of the serial number of the target inverter to send the corresponding first message based on the first preset period and the delay period corresponding to the target message.
[0185] Optionally, the delay period may be determined according to the corresponding offset address. For example, when the target message is the first message or the second message, the delay period is determined according to the first offset address; and when the target message is the third message, the fourth message, or the fifth message, the delay period is determined according to the second offset address.
[0186] In the above embodiment, since the target message includes at least one of the first message, the second message, the third message, the fourth message, or the fifth message, determining the target message transmission period based on the first preset period allows efficient transmission of the corresponding target message. Furthermore, determining the target message transmission period based on the first preset period and the delay period corresponding to the target message facilitates staggering the message transmission times of each device, thereby reducing the possibility of message conflicts.
[0187] In order to more clearly introduce the communication identification determination method of the present application, it is illustrated here with reference to the following examples. In one embodiment, in the process of executing the communication identification determination method, the inverter and BMS in the energy storage system first perform an initialization phase. Among them, the initialization phase can be a phase entered after the energy storage system is powered on. The initialization phase is used for the inverter to initialize the first cumulative count value and send the first message, and for the BMS to initialize the second cumulative count value. For example, when the inverter is initialized, it will first initialize the first cumulative count value to 0, and configure the PWM signal pin output to the BMS to a low level, and then send the first message based on the default CAN ID. Assuming that there are n inverters in the energy storage system, all n inverters send the corresponding first message with the default CAN ID. It can be understood that since the serial number of each inverter is different, the data of the first message sent by each inverter is different. When the BMS is initialized, it will initialize the second cumulative count value to 0.
[0188] After the initialization phase, the inverters in the energy storage system enter the inverter search phase, which retrieves all first messages within a specified timeframe to determine the total number of inverters. For example, within time T1, the inverter receives all first messages on the CAN bus, parses the data in the first messages, compares the received serial numbers with its own serial number, records any inconsistencies, counts the first number of inconsistencies, and uses this to determine the total number of inverters. After T1 expires, the system automatically enters the next phase.
[0189] After the inverter search phase, the inverters in the energy storage system enter the inverter quantity matching phase. This phase compares the total number of inverters with a first preset threshold and a second preset threshold. If the total number of inverters is greater than the first preset threshold and less than or equal to the second preset threshold, the inverter address allocation phase is entered. For example, if the total number of inverters is less than or equal to the first preset threshold, this indicates that the energy storage parallel system currently has only one inverter, and the default CAN ID communication can be used, directly jumping to the inverter output signal phase. If the total number of inverters is greater than the second preset threshold, a first prompt message may be displayed on the user interface, and a time period T2 is waited. When T2 expires, the system returns to the inverter search phase. If the total number of inverters is greater than the first preset threshold and less than or equal to the second preset threshold, the inverter address allocation phase is entered.
[0190] The inverter address allocation phase is used to execute the above-mentioned step S203. For example, within time T3, the inverter can aggregate the received serial numbers and its own serial number and, based on the arrangement results between the serial identifiers of each inverter, determine the first offset address corresponding to the serial identifier of the target inverter. Based on the first offset address and the default communication identifier of the target inverter, the bus communication identifier of the target inverter is determined. After the T3 time expires, the next inverter self-test phase is executed.
[0191] The inverter self-test phase determines the first allocation evaluation result and, if the first allocation evaluation result is normal, enters the inverter output signal phase. Exemplarily, the inverter transmits a second message based on the new CAN ID and increments the first cumulative count by 1. The inverter then detects whether there are any devices on the communication bus that conflict with its own CAN ID and counts a second number of different CAN IDs to determine whether the second number matches the total number of inverters. If so, the inverter proceeds to the next inverter output signal phase. If not, the inverter determines whether the first cumulative count is less than 4 times. If so, the inverter returns to the inverter search phase. If it is greater than or equal to 4 times, the inverter displays a second prompt.
[0192] The inverter output signal stage is used to execute the above step S204. For example, the inverter outputs a PWM signal (ie, a target signal) of a corresponding frequency through a PWM output pin, and transmits the PWM signal to the input port of the corresponding BMS through hardware design.
[0193] The BMS in the energy storage system then enters the BMS signal detection phase, which determines the first offset address of the inverter based on the target signal. For example, the BMS uses a timer capture function to detect the PWM signal output by the inverter. Based on the detected frequency of the PWM signal, the BMS determines the first offset address of the inverter, thereby determining the inverter number.
[0194] The BMS in the energy storage system then enters the BMS search phase. The BMS search phase is used by the BMS to send a third message within a certain period of time to determine the total number of BMSs corresponding to the same group. For example, the BMS sends a third message based on the default CAN ID. The third message includes the number of the inverter to which it belongs and its own serial number. During time T4, the inverter receives all third messages on the communication bus. If the parsed inverter number is consistent with the number of the inverter to which it belongs, it can be determined that the BMS with that serial number is connected to the same inverter as itself, thereby determining the serial number of the BMS in the same group. Furthermore, the BMS compares the serial numbers of the BMSs in the same group with its own serial number to see if they are consistent. If they are inconsistent, the BMS records them, counts the third number of inconsistencies, and determines the total number of BMSs in the same group based on the third number. After time T4 ends, the next BMS quantity matching phase begins.
[0195] The BMS quantity matching stage operates in a similar manner to the inverter quantity matching stage and will not be further elaborated here. The BMS quantity matching stage compares the total number of BMSs with a third preset threshold and a fourth preset threshold. If the total number of BMSs is greater than the third preset threshold and less than or equal to the fourth preset threshold, the BMS address allocation stage is entered. The BMS address allocation stage is used to execute step S404. That is, within time T5, the BMS determines the second offset address based on the arrangement of the sequence identifiers of the BMSs in the same group. It also determines the BMS's bus communication identifier based on the second offset address and the preset communication identifier of the inverter to which it belongs. After T5 expires, the next BMS self-test stage is executed.
[0196] The BMS in the energy storage system then enters the BMS self-test phase, which determines the second allocation evaluation result. The BMS self-test process is similar to the inverter self-test process described above and is not detailed here. Furthermore, if the second allocation evaluation result is normal, the inverter check phase begins. The inverter check phase executes steps S601 through S604 described above.
[0197] Figure 7 FIG. 1 is a schematic diagram of an energy storage system in one embodiment, as shown in FIG. Figure 7 As shown, exemplarily, there are two inverters INV1 and INV2 in parallel in the energy storage system, INV1 is connected to BMS1-1, BMS1-2 and BMS1-3 respectively, and INV12 is connected to BMS2-1, BMS2-2 and BMS2-3 respectively.
[0198] Assume that the serial number of INV1 is 56789 and the serial number of INV2 is 01234. The serial number of BMS1-1 is 12222, the serial number of BMS1-2 is 11111, and the serial number of BMS1-3 is 13333; the serial number of BMS2-1 is 21111, the serial number of BMS2-2 is 22222, and the serial number of BMS2-3 is 23333. The default CAN ID of INV1 and INV2 is 0x1010, and the default CAN ID of all BMSs is 0x2020.
[0199] The energy storage system supports up to two inverters, and each inverter supports up to three BMSs. The CAN ID range for inverters in the energy storage system is 0x1010-0x1011, and the CAN ID range for BMSs is 0x2020-0x2025. The inverter with a CAN ID of 0x1010 is numbered 1, and the connected BMS has a pre-assigned CAN ID range of 0x2020-0x2022. The inverter with a CAN ID of 0x1011 is numbered 2, and the connected BMS has a pre-assigned CAN ID range of 0x2023-0x2025.
[0200] To ensure that INV1 knows how many BMSs are physically connected to it and which ones they are, and to ensure that INV2 knows how many BMSs are connected to it and which ones they are, thereby obtaining the charge and discharge capabilities of each inverter, and to ensure that each BMS knows which inverter it is connected to and therefore which one to follow to perform charging and discharging operations, the energy storage system can implement the above-mentioned communication identification determination method according to the following process.
[0201] First, enter the initialization phase. In the initialization phase, when the energy storage system is powered on, the inverter INV1 first initializes the first accumulated count value. And configure the PWM signal pin output to BMS as low level. After that, INV1 is based on CAN ID (ie 0x1010) at a fixed interval. Send the first message 1, which includes the serial number 56789 of INV1. When BMS1-1 is powered on, the second accumulated count value is initialized. .
[0202] Then enter the inverter search phase. In the inverter search phase, INV1 receives all the first messages on the CAN bus within a preset time and parses all the first messages. Because only one inverter serial number 01234 is inconsistent with its own serial number 56789, the total number of inverters can be determined. .
[0203] Then enter the inverter quantity matching stage. In the inverter quantity matching stage, since the energy storage parallel system allows a maximum of 2 inverters to be connected, the total number of inverters is Meet the requirements.
[0204] The inverter address allocation phase then begins. During this phase, INV1 compares the received serial number 56789 with its own serial number 01234. Since 01234 is smaller than 56789, the default address 0x1010 is offset by one address to obtain 0x1011, reassigning INV1's CAN ID to 0x1011. Similarly, INV2's CAN ID is reassigned to 0x1010.
[0205] Then enter the inverter self-test phase. In the inverter self-test phase, INV1 is based on the new CAN ID (ie 0x1011) at a fixed interval. Send the second message 1 and add the first cumulative count value Add 1, that is, update the first cumulative count value Afterwards, INV1 detects whether there is an inverter on the communication bus that conflicts with its own CAN ID, and counts the first number of inverters that are different from its own CAN ID. Since the first number and the total number of inverters Matched, so continue to enter the inverter output signal stage.
[0206] In the inverter output signal stage, assuming that If the target frequency is determined to be 60 Hz, INV1 outputs a PWM signal corresponding to a frequency of 60 Hz as the target signal through the PWM output pin, and transmits the target signal to the input port of the corresponding BMS through hardware design.
[0207] The BMS then enters the signal detection phase. During this phase, BMS1-1 uses the timer capture function to detect that the target signal output by INV1 is 60Hz. Using the second mapping relationship (e.g., Table 1 above), BMS1-1 is connected to inverter 2. Similarly, BMS1-2 and BMS1-3 follow the same process, which will not be further detailed here.
[0208] Then enter the BMS search phase. In the BMS search phase, BMS1-1 is based on the default CAN ID (ie 0x2020) at a fixed interval The third message 1 is sent, which includes the number of INV1 (i.e. 2) and its own serial number (i.e. 12222). Furthermore, BMS1-1 detects all third messages on the CAN bus, and determines that the inverter number is 2, BMS1-2 with a serial number of 11111, and BMS1-3 with a serial number of 13333, and determines the total number of BMSs in the same group. .
[0209] Then enter the BMS quantity matching stage. In the BMS quantity matching stage, since each inverter is allowed to connect to a maximum of 3 BMSs, the total number of BMSs corresponding to the same group is Meet the requirements.
[0210] The BMS address allocation phase then begins. During this phase, BMS1-1 compares the recorded serial numbers 11111 and 13333 with its own serial number 12222, sorting them from smallest to largest. Since its own serial number is ranked second, the CAN ID of the starting BMS of INV1 (also known as the preset communication identifier, 0x2023) is offset by 2-1 addresses to obtain 0x2024, which is used as the new CAN ID of BMS1-1. Similarly, the CAN ID of BMS1-2, with serial number 11111, is reassigned to 0x2023, and the CAN ID of BMS1-3, with serial number 13333, is reassigned to 0x2025. The CAN ID of the BMS corresponding to INV2, with serial number 01234, is updated to 0x2020-0x2022.
[0211] Then enter the BMS self-test phase. In the BMS self-test phase, BMS1-1 is based on the new CAN ID (ie 0x2024) at a fixed interval Send the fourth message 1 and add the second cumulative count value Add 1, that is, update the second cumulative count value Furthermore, BMS1-1 detects whether there is a BMS on the communication bus that conflicts with its own CAN ID, and counts the second number of BMSs with different CAN IDs connected to the same inverter. Due to the second number and the total number of BMS Matched, so continue to the inverter inspection stage.
[0212] During the inverter check phase, BMS1-1 checks the status of the inverter at fixed intervals based on the new CAN ID. Send the fifth message 1, which includes the battery voltage corresponding to BMS1-1 In this way, INV1 can receive and record the battery voltages sent by BMS1-1, BMS1-2 and BMS1-3 respectively. In addition, INV1 detects the total voltage of the connected battery pack through the hardware input sampling port. . Further, ,if , it indicates that the address allocation of all battery packs under INV1 is normal, and prompts the user that "the current system has completed address allocation."
[0213] It can be seen that the communication identification determination method provided by the present application can simplify the process through clever design. When installing the energy storage system, there is no need to manually set a fixed address for each device, which reduces the configuration workload and error probability during the installation process, reduces the requirements for the professional skills of the installer, and improves the installation efficiency. In addition, the topology of the energy storage system may vary depending on the application scenario and functional requirements, and the method of the present application can automatically adjust according to the changes in the topology in the energy storage system, can adapt to different topologies, and ensure that each device can communicate and exchange data quickly and accurately under different connection methods, thereby enhancing the system's adaptability to diversified topologies. In addition, in actual energy storage systems, energy storage devices and related components produced by different manufacturers may be used. Dynamically allocated addresses follow unified standards and protocols, and can provide unified address allocation and communication specifications for devices from different manufacturers, enabling them to work together in the same system, achieve seamless docking and interoperability, and improve the compatibility and openness of the energy storage system.
[0214] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.
[0215] Based on the same inventive concept, the present application also provides an energy storage system for implementing the aforementioned communication identification determination method. The solution provided by the energy storage system is similar to the solution described in the aforementioned method and will not be described in detail here.
[0216] The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of the present application. The above-mentioned embodiments only express several implementation methods of the present application. The description is relatively specific and detailed, but it cannot be understood as a limitation on the scope of the patent of this application. It should be pointed out that for ordinary technicians in this field, without departing from the concept of the present application, several variations and improvements can be made, which all fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be based on the attached claims.
Claims
1. A method for determining a communication identifier, characterized in that: Applied to an energy storage system, the energy storage system includes an inverter, a BMS corresponding to the inverter, and a communication bus, wherein the communication bus is connected to the inverter and the BMS respectively; the method includes: The target inverter sends a first message to the communication bus, wherein the first message includes a serial identifier of the target inverter; the target inverter includes any inverter in the energy storage system; The target inverter obtains all first messages on the communication bus, and determines the sequence identifier of each inverter in the energy storage system based on all first messages on the communication bus; The target inverter determines a bus communication identifier of the target inverter based on the sequence identifiers of the inverters in the energy storage system; The target inverter sends a second message to the communication bus based on the bus communication identifier of the target inverter; The target inverter obtains all second messages on the communication bus, and determines the bus communication identifier of each inverter in the energy storage system based on all second messages on the communication bus; The target inverter determines a first allocation evaluation result according to the bus communication identifier of the target inverter and the bus communication identifiers of each inverter in the energy storage system; When the first allocation evaluation result is normal, the target inverter determines a target frequency corresponding to the bus communication identifier of the target inverter, and sends a target signal corresponding to the target frequency to the BMS connected to the target inverter; The target BMS determines the bus communication identifier of the target BMS based on the target signal; the target BMS is any BMS corresponding to the target inverter.
2. The method according to claim 1, characterized in that The target inverter determines a bus communication identifier of the target inverter based on the sequence identifiers of the inverters in the energy storage system, including: The target inverter determines a first offset address corresponding to the sequence identifier of the target inverter based on the arrangement result between the sequence identifiers of each inverter, and determines a bus communication identifier of the target inverter based on the first offset address and the default communication identifier of the target inverter.
3. The method according to claim 1, characterized in that After the target inverter determines the bus communication identifier of the target inverter based on the sequence identifiers of the inverters in the energy storage system, the method further includes: Updating a first accumulated count value of the target inverter; After the target inverter determines the first allocation evaluation result according to the bus communication identifier of the target inverter and the bus communication identifiers of each inverter in the energy storage system, the method further includes: Obtaining the first accumulated count value; If the first allocation evaluation result is abnormal and the first accumulated count value is less than a first count threshold, return to the target inverter to obtain all first messages on the communication bus, and determine the sequence identifier of each inverter in the energy storage system based on all the first messages on the communication bus; When the first allocation evaluation result is abnormal and the first accumulated count value is greater than or equal to the first count threshold, the target inverter sends a second prompt message to the control terminal; the second prompt message is used to prompt the user to restart the energy storage system.
4. The method according to any one of claims 1 to 3, characterized in that The target BMS determines a bus communication identifier of the target BMS based on the target signal, including: The target BMS determines a first offset address of the target inverter according to the target signal; The target BMS sends a third message to the communication bus, where the third message includes the first offset address of the target inverter and the sequence identifier of the target BMS; The target BMS obtains all third messages on the communication bus, and determines the sequence identifier of the BMS in the same group based on all third messages on the communication bus; the BMS in the same group is the BMS connected to the target inverter in the energy storage system; The target BMS determines the bus communication identifier of the target BMS based on the sequence identifiers of the BMSs in the same group.
5. The method according to claim 4, characterized in that The method further comprises: The target BMS determines, based on the sequence identifier of the target BMS and the sequence identifiers of the BMSs in the same group, a third number of sequence identifiers different from the sequence identifier of the target BMS, and determines a total number of BMSs corresponding to the BMSs in the same group according to the third number; The target BMS determines the bus communication identifier of the target BMS based on the sequence identifier of the BMS in the same group, including: When the total number of the BMSs is greater than a third preset threshold and less than or equal to a fourth preset threshold, the target BMS determines the bus communication identifier of the target BMS based on the sequence identifiers of the BMSs in the same group.
6. The method according to claim 5, characterized in that The target BMS determines the bus communication identifier of the target BMS based on the sequence identifier of the BMS in the same group, including: The target BMS determines, based on an arrangement result between the sequence identifiers of the BMSs in the same group, a second offset address corresponding to the target BMS; The target BMS determines the bus communication identifier of the target BMS based on the second offset address and the preset communication identifier of the target inverter.
7. The method according to claim 5, characterized in that The method further comprises: The target BMS sends a fourth message to the communication bus based on the bus communication identifier of the target BMS; The target BMS obtains all fourth messages on the communication bus, and determines the bus communication identifier of the BMS in the same group based on all fourth messages on the communication bus; The target BMS determines a second allocation evaluation result according to the bus communication identifier of the target BMS and the bus communication identifiers of the BMSs in the same group.
8. The method according to claim 7, characterized in that After the target BMS determines the bus communication identifier of the target BMS based on the sequence identifiers of the BMSs in the same group, the method further includes: Updating a second accumulated count value of the target BMS; After the target BMS determines the second allocation evaluation result according to the bus communication identifier of the target BMS and the bus communication identifiers of the BMSs in the same group, the method further includes: Obtaining the second accumulated count value; If the second allocation evaluation result is abnormal and the second accumulated count value is less than a second count threshold, return to the target BMS to obtain all third messages on the communication bus, and determine the sequence identifiers of the BMSs in the same group based on all third messages on the communication bus; When the second allocation evaluation result is abnormal and the second accumulated count value is greater than or equal to the second count threshold, the target BMS sends a third prompt message to the control terminal; the third prompt message is used to prompt the user to restart the BMS corresponding to the target inverter.
9. The method according to claim 4, characterized in that The method further comprises: The target BMS sends a fifth message to the communication bus based on the bus communication identifier of the target BMS; the fifth message includes the battery voltage corresponding to the target BMS; The target inverter receives the fifth message sent by the BMS in the same group, and determines the theoretical voltage corresponding to the BMS in the same group according to the fifth message sent by the BMS in the same group; The target inverter obtains the measured voltage corresponding to the BMS in the same group; The target inverter sends allocation result prompt information to the control terminal according to the theoretical voltage and the measured voltage.
10. The method according to any one of claims 1 to 3, characterized in that The method further comprises: Determine a target message sending period according to a first preset period; Alternatively, determining a sending period of the target message according to a first preset period and a delay period corresponding to the target message; The target message includes at least one of the first message, the second message, the third message or the fourth message.
Citation Information
Patent Citations
Address allocation method for energy storage system, energy storage system and readable storage medium
CN118041892A
Energy storage system, control method thereof and power utilization system
CN119651721A