Multi-energy-storage-device automatic addressing parallel operation method and multi-energy-storage-device automatic addressing parallel operation system

Through the automatic addressing method based on the serial number of the energy storage device, the problem of cumbersome and high cost of multi-energy storage devices in the prior art is solved, efficient and unique address allocation is achieved, and the cost of the addressing process is reduced.

CN119996379APending Publication Date: 2025-05-13GUANGDONG HUAMEI JUNDA ELECTRIC APPLIANCES
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510094985.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-21
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

In the prior art, the addressing method of multi-energy storage devices is cumbersome and inefficient, or additional dedicated circuits are required, resulting in high costs.

Method used

Automatic addressing is achieved by assigning the address to the energy storage based on the serial number of the energy storage device, and determining whether the current allocated address is allocated to the energy storage device by bitwise comparison. This method only relies on the main control module and communication module of the energy storage device itself, without adding additional costs.

Benefits of technology

Ensure that each energy storage device can be assigned to a unique address, avoid address confusion, improve addressing efficiency, and reduce costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119996379A_ABST
    Figure CN119996379A_ABST
Patent Text Reader

Abstract

The invention relates to a multi-energy-storage-device automatic address allocation parallel operation method, which comprises the following steps of: after a plurality of energy storage devices are sequentially accessed into energy storage equipment, taking the first accessed energy storage device as a host, and setting the address of the host as an initial address; the host generates and broadcasts an address matching message and then waits for feedback of other energy storage devices; after the other energy storage devices receive the address allocation message, the serial numbers of the other energy storage devices are compared with the serial number data based on the current bit of the serial number, if the comparison result is consistent, a comparison success message is fed back to the host, and if the comparison result is inconsistent, silence is kept; and if the current allocation address is allocated to the energy storage device, the host generates an address allocation message broadcast based on the new current allocation address. According to the method, the addresses are allocated to the energy storage devices based on the serial numbers of the energy storage devices, whether the current allocated addresses are allocated to the energy storage devices or not is determined in a bitwise comparison mode, it can be guaranteed that each energy storage device can be allocated to a unique address, and the cost is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of energy storage management, in particular to a method and system for automatically allocating and paralleling multiple energy storage devices. Background Art

[0002] With the development of new energy, batteries have more and more application scenarios, and energy storage devices composed of multiple energy storage devices are gradually playing an important role in many industries, such as charging stations or photovoltaic power stations. When multiple energy storage devices are used at the same time, in order to achieve efficient management of multiple energy storage devices, it is necessary to first assign an address to each energy storage device for easy access and operation. In the prior art, there are two main ways of addressing. One is to achieve it through a combination of dip switches on each energy storage device, and the other is to achieve it by adding a part of the connection circuit. There are input and output lines on the device, and the output of the host is connected to the input of the second device. The output of the second device is connected to the input of the third device, and so on. The address is assigned through the IO pulse combined with the RS485 communication method.

[0003] Of the above two methods, the first method is very cumbersome, and when the number of energy storage devices is large, the addressing efficiency will be very low. The second method requires additional dedicated circuits to be set up on the energy storage devices, which is costly. Summary of the invention

[0004] In order to address the deficiencies in the prior art, the present invention provides a method and system for automatic addressing and parallel operation of multiple energy storage devices, which allocate addresses to energy storage devices based on their serial numbers, and determine whether to allocate the current allocated address to the energy storage device by bit comparison, thereby ensuring that each energy storage device can be allocated a unique address to avoid address confusion, and can be completed by relying only on the main control module and communication module of the energy storage device itself without adding additional costs.

[0005] In order to achieve the above object, the specific scheme adopted by the present invention is:

[0006] A method for automatically allocating and paralleling multiple energy storage devices comprises the following steps:

[0007] After multiple energy storage devices are connected to the energy storage device in sequence, the first connected energy storage device is used as a host, and the address of the host is set as the starting address;

[0008] The host generates and broadcasts the addressing message and waits for feedback from other energy storage devices. The addressing message includes the current bit of the sequence number, the sequence number data and the current allocation address, and the current allocation address is different from the starting address.

[0009] After receiving the addressing message, the other energy storage devices compare their own serial numbers with the serial number data based on the current bit of the serial number. If the comparison result is consistent, they feedback a comparison success message to the host. If the comparison result is inconsistent, they remain silent.

[0010] If the host does not receive a comparison success message, the addressing message is updated by modifying the current bit of the sequence number and / or the sequence number data, if the host receives a comparison success message, the current allocation address is assigned to the energy storage device corresponding to the comparison success message, if at least two energy storage devices send comparison success messages, the host receives an error and corrects the addressing message by extending the current bit of the sequence number and the sequence number data;

[0011] If the currently assigned address is assigned to the energy storage device, the host generates an addressing message based on the new currently assigned address and broadcasts it.

[0012] Preferably, the starting address is set to 1, and the current allocated address is set to a natural number greater than 1; if the current allocated address is allocated to the energy storage device, the host increases the current allocated address by 1 to form a new current allocated address.

[0013] Preferably, before connecting multiple energy storage devices to the energy storage device, the number of digits of the serial numbers of all energy storage devices is unified through bit normalization processing.

[0014] Preferably, the bit normalization processing method includes:

[0015] Traverse the serial number of each energy storage device and calculate the number of digits of each serial number;

[0016] If the number of digits of all serial numbers is consistent, the process ends; if the number of digits of some serial numbers is inconsistent with that of other serial numbers, the maximum value of all digits is determined;

[0017] The number of bits of the serial number is normalized based on the maximum number of bits, and a random value is assigned to the extension bit.

[0018] Preferably, when the host generates the addressing message, the current position of the serial number is determined based on the reverse order of the serial number of the energy storage device.

[0019] Preferably, the data range of the sequence number data is set to 0-9.

[0020] Preferably, if the host does not receive a successful comparison message, it determines whether the serial number data reaches the maximum value. If the serial number data reaches the maximum value, the addressing message is updated by modifying the current bit of the serial number and the serial number data. If the serial number data does not reach the maximum value, the addressing message is updated by modifying the current bit of the serial number or the serial number data.

[0021] Preferably, if at least two energy storage devices send comparison success messages, the host receives an error, and the host expands the current bit of the serial number, and expands the serial number data based on the expanded current bit of the serial number.

[0022] Preferably, after the host assigns the current assigned address to the energy storage device corresponding to the successful comparison message, it sends an address confirmation message to the energy storage device; after receiving the address confirmation message, the energy storage device stops receiving the address assignment message.

[0023] A multi-energy storage device automatic addressing and paralleling system is used to implement the above-mentioned multi-energy storage device automatic addressing and paralleling method, and the system includes:

[0024] A plurality of information transceivers are connected to the energy storage devices in a one-to-one correspondence;

[0025] Information transmission cable, used to connect all information transceivers in series.

[0026] The present invention allocates addresses to energy storage devices based on the serial numbers of the energy storage devices, and determines whether to allocate the current allocated address to the energy storage device by bit comparison, thereby ensuring that each energy storage device can be allocated a unique address, avoiding address confusion, and fully ensuring that the energy storage device can be controlled more accurately when the energy storage device is subsequently scheduled, and the control can be completed by relying only on the main control module and the communication module of the energy storage device itself without adding additional costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0028] Figure 1 is a flow chart of the method of the present invention;

[0029] Figure 2 It is a schematic diagram of the structure of the system of the present invention. DETAILED DESCRIPTION

[0030] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0031] like Figure 1As shown, a method for automatically addressing and paralleling multiple energy storage devices includes S1 to S5.

[0032] S1. After multiple energy storage devices are connected to the energy storage device in sequence, the first connected energy storage device is used as the host, and the address of the host is set as the starting address. Specifically, after the first energy storage device is connected to the inverter or control host of the energy storage device, the energy storage device is used as the host, and an initial address is assigned to the energy storage device. After that, the host can address the remaining energy storage devices based on the initial address, that is, assign addresses to the remaining energy storage devices. In one embodiment of the present invention, the addresses of all energy storage devices are natural numbers and are arranged in sequence, and accordingly, the starting address is set to 1.

[0033] S2. After the host generates and broadcasts an addressing message, it waits for feedback from the remaining energy storage devices. The addressing message includes the current bit P_N of the sequence number, the sequence number data D(P_N) and the current assigned address A, and the current assigned address A is different from the starting address, and the current assigned address A is set to a natural number greater than 1. The addressing message is used to enable the host to identify and distinguish the remaining energy storage devices based on the sequence numbers SN of the remaining energy storage devices, thereby enabling the host to set the remaining energy storage devices as slaves and assign addresses. More specifically, when the host generates an addressing message, the current bit P_N of the sequence number is determined based on the reverse order of the sequence number SN of the energy storage device. For example, when the host generates an addressing message for the first time, the current bit P_N of the sequence number in the addressing message is the last bit of the sequence number SN of the energy storage device. When the host subsequently generates a new addressing message, the current bit P_N of the sequence number in the addressing message can be the second to last bit of the sequence number SN of the energy storage device. Based on this method, when the energy storage devices are mixed, even if the number of digits of the sequence number SN of the energy storage devices is different, the addressing message can be successfully generated. The data range of the serial number data D(P_N) is set to 0 to 9.

[0034] S3. After receiving the addressing message, the other energy storage devices compare their own serial numbers with the serial number data D (P_N) based on the current digit P_N of the serial number. If the comparison result is consistent, a comparison success message is fed back to the host. If the comparison result is inconsistent, they remain silent. Specifically, after receiving the addressing message, the other energy storage devices first search for their own serial numbers based on the current digit P_N of the serial number, and extract the characters corresponding to the current digit P_N of the serial number, and then compare them with the serial number data D (P_N). If the two are the same, the comparison result is consistent, otherwise the comparison result is inconsistent. When the comparison result is consistent, the energy storage device feeds back a comparison success message to the host and waits for further instructions from the host.

[0035] S4, if the host does not receive the comparison success message, the addressing message is updated by modifying the current bit P_N of the sequence number and / or the sequence number data D(P_N). If the host receives a comparison success message, the current allocation address A is allocated to the energy storage device corresponding to the comparison success message. If at least two energy storage devices send the comparison success message, the host receives an error and corrects the addressing message by extending the current bit P_N of the sequence number and the sequence number data D(P_N). In S4, there are three cases, which are analyzed as follows.

[0036] In the first case, if the host does not receive any successful matching message corresponding to the addressing message, it means that the serial numbers of the remaining energy storage devices do not match the current position P_N of the serial number and the serial number data D(P_N). At this time, the host abandons the current addressing message and updates the addressing message. When updating, the current allocation address A remains unchanged. More specifically, if the host does not receive a successful matching message, it determines whether the serial number data D(P_N) reaches the maximum value. If the serial number data D(P_N) reaches the maximum value, the addressing message is updated by modifying the current position P_N of the serial number and the serial number data D(P_N). If the serial number data D(P_N) does not reach the maximum value, the addressing message is updated by modifying the current position P_N of the serial number or the serial number data D(P_N). As a better choice, if the serial number data D(P_N) does not reach the maximum value, the addressing message is corrected by modifying the serial number data D(P_N). Because the data range of the sequence number data D(P_N) is set to 0-9, if the sequence number data D(P_N) in the current addressing message has not reached the maximum value, that is, the sequence number data D(P_N) in the current addressing message is not 9, then the sequence number data D(P_N) can be increased by 1 to update the addressing message. If the sequence number data D(P_N) in the current addressing message has reached the maximum value, that is, the sequence number data D(P_N) in the current addressing message is 9, then the current bit P_N of the sequence number needs to be updated, for example, the current bit P_N of the sequence number is updated from the last bit of the sequence number to the second last bit, and the sequence number data D(P_N) is reset to 0 to complete the update of the addressing message. In this way, it can be ensured that the addressing message is different from the current addressing message after being updated, thereby avoiding repeated broadcasting of the same addressing message, resulting in reduced addressing efficiency and wasted time.

[0037] In the second case, if at least two energy storage devices send a successful comparison message, that is, the serial numbers of at least two energy storage devices can match the current bit P_N of the sequence number and the serial number data D(P_N) in the addressing message, an error will occur in the bus, which will lead to a host reception error, and the current allocation address A cannot be assigned to any of the energy storage devices, otherwise it is easy to cause address confusion, so the addressing message needs to be corrected. More specifically, when the host receives an error, because there are at least two energy storage devices whose serial number data D(P_N) on the current bit P_N of the sequence number in the current addressing message is consistent, at this time, only adjusting the current bit P_N of the sequence number or the serial number data D(P_N) may cause the energy storage device to be unable to be assigned an address. Therefore, if at least two energy storage devices send a successful comparison message, the host receives an error, and the host expands the current bit of the sequence number, and at the same time expands the serial number data based on the expanded current bit of the sequence number. Specifically, a current bit P_N of the sequence number is added, and the corresponding serial number data D(P_N) is added. Because the serial numbers of the two energy storage devices cannot be completely identical, the current bit P_N of the serial number and the serial number data D(P_N) are extended to ensure that the two energy storage devices can be distinguished and thus assigned different addresses.

[0038] In the third case, if the host only receives one successful comparison message, it means that only one of the remaining energy storage devices has a serial number that can match the current position P_N of the serial number and the serial number data D(P_N) in the addressing message, which also proves that the serial number of the energy storage device must be unique. At this time, the current allocation address A in the addressing message is allocated to the energy storage device, which can completely avoid the situation where two energy storage devices are allocated the same address. Further, after the host allocates the current allocation address A to the energy storage device corresponding to the successful comparison message, it sends an address confirmation message to the energy storage device, and the energy storage device stops receiving the addressing message after receiving the address confirmation message. In this way, when the energy storage device is successfully allocated to the address, it will no longer receive new addressing messages, nor will it feedback successful comparison messages to the host, thereby reducing the burden on the host. As the number of energy storage devices that are successfully allocated addresses gradually increases, the remaining energy storage devices will also gradually decrease, and the corresponding successful comparison messages fed back to the host will also gradually decrease. Therefore, the speed of the entire addressing process will gradually increase, thereby improving the efficiency of addressing.

[0039] S5. If the current allocated address A is allocated to the energy storage device, the host generates and broadcasts an addressing message based on the new current allocated address A. Furthermore, if the current allocated address A is allocated to the energy storage device, the host increases the current allocated address A by 1 to form a new current allocated address A.

[0040] Based on S4 and S5, if the current allocation address A is not allocated to the energy storage device, the current allocation address A will not be changed whether the addressing message is updated or modified, thereby ensuring that the current allocation address A will not be omitted or skipped, and ensuring that addresses can be allocated to all energy storage devices in order.

[0041] The present invention allocates addresses to energy storage devices based on the serial numbers of the energy storage devices, and determines whether to allocate the current allocated address A to the energy storage devices by bit comparison, thereby ensuring that each energy storage device can be allocated a unique address, avoiding address confusion, and fully ensuring that the energy storage device can be controlled more accurately when the energy storage device is subsequently scheduled, and the control can be completed by relying only on the main control module and the communication module of the energy storage device itself without adding additional costs.

[0042] Furthermore, a mark bit S(P_N) may be added to the addressing message. If S(P_N) is 1, the serial number data D(P_N) will be incremented when the addressing data is updated or corrected, and after the serial number data D(P_N) is successfully matched, S(P_N) is cleared.

[0043] Considering that the present invention is addressed based on the serial number of the energy storage device, in order to further expand the scope of application of the present invention, especially to enable the present invention to be applied in the scenario where different energy storage devices are mixed, before multiple energy storage devices are connected to the energy storage device, the number of digits of the serial numbers of all energy storage devices is unified through bit normalization. The method of bit normalization includes: traversing the serial number of each energy storage device and calculating the number of digits of each serial number; if the number of digits of all serial numbers is consistent, then the process ends; if the number of digits of some serial numbers is inconsistent with the number of digits of other serial numbers, then the maximum value of all digits is determined; the number of digits of the serial number is normalized based on the maximum value of the number of digits, and a random value is assigned to the extended bit.

[0044] Through the above bit normalization processing, when the number of bits of the serial numbers of different energy storage devices is different, the serial numbers of all energy storage devices can be adjusted to have the same number of bits, thereby ensuring that the present invention can smoothly address all energy storage devices.

[0045] In a specific embodiment of the present invention, the initial address is set to 1, and the current allocated address A is arranged in order starting from 2, and the total number of all addresses is equal to the total number of energy storage devices. The current bit P_N of the sequence number is determined according to the number of bits obtained by bit normalization of the energy storage device sequence number. In this embodiment, the total number of bits of the sequence number is 16, and the data range of the current bit P_N of the sequence number is 1 to 16. The data range of the sequence number data D(P_N) is 0 to 9. The value of the mark bit S(P_N) is 0 or 1. The sequence number SN is determined according to the actual situation of the energy storage device, for example, 1005432667896520.

[0046] The following is an example of a specific addressing process. The various data used in the addressing process are shown in Table 1.

[0047] Table 1 Addressing parameters

[0048] As can be seen from Table 1, the present invention can allocate addresses to energy storage devices based on their serial numbers, ensuring that each energy storage device has a unique address, thereby enabling efficient and precise control of the energy storage devices when they are actually used.

[0049] like Figure 2 As shown, a multi-energy storage device automatic addressing and paralleling system is used to implement the above-mentioned multi-energy storage device automatic addressing and paralleling method. The system includes multiple information transceivers and an information transmission cable.

[0050] A plurality of information transceivers are connected to the energy storage devices in a one-to-one correspondence.

[0051] Information transmission cable, used to connect all information transceivers in series.

[0052] In one embodiment of the present invention, the information transceiver is an RS485 transceiver, and the information transmission cable is a cable that can meet the RS485 communication protocol.

[0053] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0054] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for automatically addressing and paralleling multiple energy storage devices, characterized in that: The steps include: After multiple energy storage devices are connected to the energy storage device in sequence, the first connected energy storage device is used as a host, and the address of the host is set as the starting address; The host generates and broadcasts the addressing message and waits for feedback from other energy storage devices. The addressing message includes the current bit of the sequence number, the sequence number data and the current allocation address, and the current allocation address is different from the starting address. After receiving the addressing message, the other energy storage devices compare their own serial numbers with the serial number data based on the current bit of the serial number. If the comparison result is consistent, they feedback a comparison success message to the host. If the comparison result is inconsistent, they remain silent. If the host does not receive a comparison success message, the addressing message is updated by modifying the current bit of the sequence number and / or the sequence number data, if the host receives a comparison success message, the current allocation address is assigned to the energy storage device corresponding to the comparison success message, if at least two energy storage devices send comparison success messages, the host receives an error and corrects the addressing message by extending the current bit of the sequence number and the sequence number data; If the currently assigned address is assigned to the energy storage device, the host generates an addressing message based on the new currently assigned address and broadcasts it.

2. A method for automatically addressing and paralleling multiple energy storage devices as claimed in claim 1, characterized in that: The starting address is set to 1, and the current allocated address is set to a natural number greater than 1; if the current allocated address is allocated to the energy storage device, the host increases the current allocated address by 1 to form a new current allocated address.

3. A method for automatically addressing and paralleling multiple energy storage devices as claimed in claim 1, characterized in that: Before connecting multiple energy storage devices to the energy storage device, the number of digits of the serial numbers of all energy storage devices is unified through bit normalization processing.

4. A method for automatically addressing and paralleling multiple energy storage devices as claimed in claim 3, characterized in that: Methods for bit normalization include: Traverse the serial number of each energy storage device and calculate the number of digits of each serial number; If the number of digits of all serial numbers is consistent, the process ends; if the number of digits of some serial numbers is inconsistent with that of other serial numbers, the maximum value of all digits is determined; The number of bits of the serial number is normalized based on the maximum number of bits, and a random value is assigned to the extension bit.

5. The method for automatically addressing and paralleling multiple energy storage devices as claimed in claim 1, characterized in that: When the host generates an addressing message, the current bit of the serial number is determined based on the reverse order of the serial number of the energy storage device.

6. A method for automatically addressing and paralleling multiple energy storage devices as claimed in claim 1, characterized in that: The data range of the serial number data is set to 0 to 9.

7. A method for automatically addressing and paralleling multiple energy storage devices as claimed in claim 1, characterized in that: If the host does not receive a successful comparison message, it determines whether the serial number data reaches the maximum value. If the serial number data reaches the maximum value, the addressing message is updated by modifying the current bit of the serial number and the serial number data. If the serial number data does not reach the maximum value, the addressing message is updated by modifying the current bit of the serial number or the serial number data.

8. The method for automatically addressing and paralleling multiple energy storage devices as claimed in claim 1, characterized in that: If at least two energy storage devices send comparison success messages, the host receives an error, and the host extends the current bit of the serial number, and at the same time extends the serial number data based on the extended current bit of the serial number.

9. A method for automatically addressing and paralleling multiple energy storage devices as claimed in claim 1, characterized in that: After the host assigns the current assigned address to the energy storage device corresponding to the successful comparison message, it sends an address confirmation message to the energy storage device; after receiving the address confirmation message, the energy storage device stops receiving the address assignment message.

10. A multi-energy storage automatic addressing and paralleling system, characterized in that: A method for automatically addressing and paralleling multiple energy storage devices as claimed in any one of claims 1 to 9, the system comprising: A plurality of information transceivers are connected to the energy storage devices in a one-to-one correspondence; Information transmission cable, used to connect all information transceivers in series.