Wireless BMS address allocation method and configuration terminal
Through the wireless BMS address configuration method based on image recognition, the addresses of wireless BMS sub-device are automatically acquired and corrected, and the problems of address allocation errors and inefficiency caused by manual operations in the prior art are solved, thereby achieving efficient and accurate address allocation.
Patent Information
- Application Number
- CN202411530320.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2025-02-07
AI Technical Summary
The existing wireless BMS address allocation method relies on manual handheld devices, which can easily lead to address allocation loss and configuration errors, inefficient and increase labor and time costs.
By using the wireless BMS address configuration method based on image recognition, the configuration terminal connects to the wireless BMS, automatically obtains the first device address of the sub-device, collects the image of the wireless BMS, determines the location information of the sub-device, and determines the second device address based on the location information. And by comparing and correcting the address, the device address in the wireless BMS will be automatically updated.
The automation of wireless BMS address allocation is realized, the accuracy and efficiency of address allocation is improved, the need for manual intervention is reduced, and the configuration speed and efficiency are significantly improved.
Smart Images

Figure CN119402470A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of energy storage control technology, and in particular to a wireless BMS address allocation method and configuration terminal. Background Art
[0002] As the global carbon neutrality goal is advanced, the demand for energy storage is growing, and large-scale energy storage systems have entered the era of large-scale application. Most current energy storage systems use wired connections, while wireless connections not only save wiring harness costs, but also solve the problems of poor contact and poor anti-interference capabilities in wired connections. Wireless BMS (wireless battery management systems) in the prior art usually rely on fixed network configurations and address allocation schemes. However, with the development of wireless sensor networks, a more flexible and efficient networking address allocation method is needed to meet the increasing application needs in mobile devices and dynamic environments.
[0003] In the prior art, the current method for wireless BMS address allocation is to manually observe and set the device address by manually holding a device with a wireless module. The handheld device sends the set address to the battery pack with a wireless module through the wireless module in a one-to-one manner. The prior art wireless BMS address allocation scheme uses a manual handheld device for address allocation, which has the following disadvantages: on the one hand, manual operation can easily lead to address allocation omissions and configuration errors, resulting in the system not being able to work properly; on the other hand, the address allocation efficiency of manual handheld devices is low, which can easily lead to a decrease in production efficiency and increase labor and time costs. Summary of the invention
[0004] In order to overcome the deficiencies of the prior art, the present application proposes a wireless BMS address configuration method and configuration terminal based on image recognition, which can effectively solve the problems existing in the prior art wireless BMS address allocation.
[0005] In a first aspect, the present application provides a wireless BMS address allocation method, the method being applied to a configuration terminal, the method comprising:
[0006] After the configuration terminal is connected to the wireless BMS, the first device address of each sub-device in the wireless BMS is automatically obtained;
[0007] The configuration terminal collects and acquires an image of the wireless BMS, determines location information of each sub-device in the wireless BMS based on the image, and determines a second device address of each sub-device according to the location information;
[0008] The configuration terminal compares the second device address with the first device address, and determines the sub-device that needs to be corrected according to the comparison result;
[0009] The configuration terminal sends an address configuration instruction to the wireless BMS so that the first device address of the sub-device that needs to be corrected is updated to the second device address.
[0010] In some embodiments, determining the location information of each sub-device in the wireless BMS based on the image includes: using a Sobel operator to perform edge detection on the image to determine the location information of each sub-device in the wireless BMS.
[0011] Furthermore, the use of the Sobel operator to perform edge detection on the image to determine the location information of each sub-device in the wireless BMS includes: graying the image, matching the grayed image with a preset image template to determine a difference area, using the Sobel operator to perform edge calculation on the difference area to binarize the image, and automatically identifying the location of each sub-device in the image by comparing the image X and Y coordinates.
[0012] In a second aspect, the present application provides a wireless BMS address allocation method, which is applied to a wireless BMS, wherein the wireless BMS includes a plurality of sub-devices, and the method includes:
[0013] After the wireless BMS completes the self-organizing network, the wireless BMS allocates a first device address to each sub-device;
[0014] When the wireless BMS receives the address configuration instruction sent by the configuration terminal, it determines the sub-device that needs address correction and its corresponding second device address by parsing the address configuration instruction, and updates the first device address of the sub-device that needs address correction to the second device address.
[0015] In some implementation schemes, the wireless BMS also includes a main device connected to the multiple sub-devices; the wireless BMS assigns a first device address to each sub-device specifically including: the main device detects and obtains the wireless signal strength of the multiple sub-devices, and assigns a first device address to each sub-device according to the wireless signal strength.
[0016] In a third aspect, the present application provides a configuration terminal, comprising: an image acquisition module, a wireless communication module, an address acquisition module and an address allocation module;
[0017] The image acquisition module is used to collect and acquire images of the wireless BMS;
[0018] The wireless communication module is used to realize data communication between the configuration terminal and the wireless BMS in a wireless manner;
[0019] The address acquisition module is used to acquire the first device address of each sub-device from the wireless BMS based on the wireless communication module; and is used to determine the location information of each sub-device in the wireless BMS based on the image acquired by the image acquisition module, and determine the second device address of each sub-device according to the location information;
[0020] The address allocation module is used to compare the second device address obtained by the address acquisition module with the first device address, and determine the sub-device that needs to be corrected according to the comparison result, and is used to send an address configuration instruction to the wireless BMS based on the wireless communication module so that the first device address of the sub-device that needs to be corrected is updated to the second device address.
[0021] In a fourth aspect, the present application provides a wireless BMS, including a wireless module, a main device, and a plurality of sub-devices;
[0022] The wireless module is used to realize data communication between the wireless BMS and the configuration terminal in a wireless manner, including receiving an address configuration instruction sent by the configuration terminal;
[0023] The main device is used to assign a first device address to each sub-device according to the wireless signal strength of the multiple sub-devices after completing self-networking with the multiple sub-devices; and is also used to parse the address configuration instruction when the wireless module receives the address configuration instruction sent by the configuration terminal to determine the sub-device that needs to be corrected and the second device address corresponding to it, and update the first device address of the sub-device that needs to be corrected to the second device address.
[0024] Furthermore, when the sub-device is specifically a battery cell;
[0025] The wireless BMS specifically includes a wireless control module and a plurality of battery cells, wherein the wireless control module is configured as the master device;
[0026] Alternatively, the wireless BMS specifically includes a high-voltage control box and at least one battery pack, the battery pack includes at least one battery cell group, the battery cell group includes a wireless control module and a plurality of battery cells, wherein the high-voltage control box is configured as the main device;
[0027] Alternatively, the wireless BMS specifically includes a central controller and at least one battery cluster, the battery cluster includes a high-voltage control box and at least one battery pack, the battery pack includes at least one battery cell group, the battery cell group includes a wireless control module and multiple battery cells, wherein the central controller is configured as the master device.
[0028] In a fifth aspect, the present application provides an electronic device, comprising a processor and a storage device, wherein the storage device is suitable for storing a plurality of program codes, and the program codes are suitable for being loaded and run by the processor to execute the above-mentioned wireless BMS address allocation method.
[0029] In a sixth aspect, the present application provides a computer-readable storage medium, wherein a plurality of program codes are stored therein, wherein the program codes are suitable for being loaded and run by a processor to execute the above-mentioned wireless BMS address allocation method.
[0030] The above one or more technical solutions of the present application have at least one or more of the following beneficial effects:
[0031] In the technical solution of the present application, the wireless BMS is assigned an address based on the configuration terminal. After the configuration terminal is connected to the wireless BMS, the first device address of each sub-device in the wireless BMS can be automatically obtained. The configuration terminal can also determine the location information of each sub-device in the wireless BMS based on the image of the wireless BMS acquired, and determine the second device address of each sub-device according to the location information; the configuration terminal compares the second device address with the first device address, and determines the sub-device that needs to be corrected according to the comparison result; the address configuration instruction is sent to the wireless BMS so that the first device address of the sub-device that needs to be corrected is updated to the second device address. It can be seen that the wireless BMS address allocation method of the present application uses the image recognition of the configuration terminal to obtain the pre-allocated device address and matches it with the device address allocated when the wireless BMS is self-organizing, so as to realize the automatic correction of the address of the sub-device with an error in the allocation of the device address during the self-organizing network, without manual intervention, which not only improves the efficiency of address allocation, but also greatly improves the accuracy and convenience of address allocation. Compared with the existing one-to-one configuration of the device address of the entire wireless BMS based on a handheld device, the configuration speed and efficiency are significantly improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The disclosure of the present application will become more easily understood with reference to the accompanying drawings. It is easy for those skilled in the art to understand that these drawings are only for illustrative purposes and are not intended to limit the scope of protection of the present application. In addition, similar numbers in the drawings are used to represent similar components, among which:
[0033] Figure 1 It is a schematic diagram of an application scenario of a wireless BMS address allocation method according to the present application;
[0034] Figure 2 This is a flowchart of the implementation steps of a wireless BMS address allocation method provided by the present application with the configuration terminal as the execution subject;
[0035] Figure 3 This is a flowchart of the implementation steps of a wireless BMS address allocation method provided by the present application with the wireless BMS as the execution subject;
[0036] Figure 4 It is a flowchart of the implementation steps of a specific implementation method of the wireless BMS address allocation method provided by the present application;
[0037] Figure 5 It is a schematic diagram of the composition structure of a configuration terminal provided by this application;
[0038] Figure 6 This is a schematic diagram of the composition structure of a wireless BMS provided by the present application;
[0039] Figure 7 It is a schematic diagram of the composition structure of another wireless BMS provided by the present application;
[0040] Figure 8 It is a schematic diagram of the composition structure of another wireless BMS provided in this application. DETAILED DESCRIPTION
[0041] Some embodiments of the present application are described below with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are only used to explain the technical principles of the present application and are not intended to limit the protection scope of the present application.
[0042] In the description of the present application, "module" and "processor" may include hardware, software or a combination of the two. A module may include hardware circuits, various suitable sensors, communication ports, memory, and may also include software parts, such as program code, or a combination of software and hardware. The processor may be a central processing unit, a microprocessor, an image processor, a digital signal processor or any other suitable processor. The processor has data and / or signal processing functions. The processor may be implemented in software, hardware or a combination of the two. Non-temporary computer-readable storage media include any suitable medium that can store program code, such as a disk, a hard disk, an optical disk, a flash memory, a read-only memory, a random access memory, etc. The term "A and / or B" means all possible combinations of A and B, such as only A, only B or A and B. The term "at least one A or B" or "at least one of A and B" has a similar meaning to "A and / or B" and may include only A, only B or A and B. The terms "first", "second" and the like are used to distinguish similar objects, and are not necessarily used to describe specific objects or a sequence. The singular forms "a", "an" and "the" may also include the plural forms.
[0043] The preferred embodiments of the present application are described below in conjunction with the drawings in the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application. In addition, the embodiments and features in the embodiments of the present application may be combined with each other if there is no conflict.
[0044] A wireless BMS address allocation method provided in an embodiment of the present application is applied to Figure 1 In the application scenario shown, the configuration terminal is used to allocate addresses for the wireless BMS, wherein the wireless BMS, namely the wireless battery management system (WBMS), is a battery management system that uses wireless communication technology for signal transmission. In the actual application scenario, the wireless BMS mainly includes a wireless module, a main device and multiple sub-devices, and the configuration terminal mainly includes a wireless sensor, an image sensor and an operation interface, wherein the image sensor can specifically use a camera, and the operation interface can generally be understood as a user operation interface that can be used to implement address acquisition and address allocation functions. The configuration terminal can obtain the device address assigned to each sub-device by the wireless BMS after self-networking through the wireless sensor, and according to the user's operation on the operation interface, use the image sensor to obtain the image of the wireless BMS, and determine the device address pre-assigned to each sub-device based on the image, and send the device address of the specific sub-device that needs to be corrected to the wireless BMS through comparison, so that the wireless BMS only needs to update the device address of the specific sub-device without rewriting the device address configuration in the entire BMS. Compared with the existing one-to-one allocation scheme of using handheld devices to allocate device addresses to BMS, it can significantly improve the configuration speed and efficiency, and realize more flexible and efficient networking address allocation, especially to meet the application requirements of BMS address allocation on mobile devices and in dynamic environments.
[0045] See also Figure 2 , which is a wireless BMS address allocation method provided by the present application, which can be applied to a configuration terminal and a wireless BMS, wherein the wireless BMS includes a plurality of sub-devices. In the present method embodiment, the configuration terminal is used as the execution subject for introduction. The method is as follows Figure 2 The steps shown mainly include the following steps S11 to S14.
[0046] Step S11: After the configuration terminal is connected to the wireless BMS, the first device address of each sub-device in the wireless BMS is automatically obtained;
[0047] Specifically in this embodiment, the first device address specifically refers to the device address assigned to each sub-device by the wireless BMS system after self-networking, wherein the wireless BMS assigns device addresses to each sub-device after the system self-networking, and a preferred implementation is to assign device addresses to each sub-device according to the wireless signal strength of each sub-device. It is understandable that the wireless BMS may also assign addresses to each sub-device in other ways, for example, assigning a custom device address to each sub-device in turn according to a pre-stored address list.
[0048] In this embodiment, after the configuration terminal is connected to the wireless BMS, it may specifically send a request to the wireless BMS through wireless communication to obtain the first device address of each sub-device in the wireless BMS.
[0049] Step S12: configuring the terminal to collect and acquire an image of the wireless BMS, determining location information of each sub-device in the wireless BMS based on the image, and determining a second device address of each sub-device according to the location information;
[0050] Specifically in this embodiment, the configuration terminal may be configured with a camera, and the configuration terminal acquires the image of the wireless BMS through the camera.
[0051] In one embodiment, the determining the location information of each sub-device in the wireless BMS based on the image may specifically include: using a Sobel operator (Sobel operator) to perform edge detection on the image to determine the location information of each sub-device in the wireless BMS. The process of using the Sobel operator for edge detection in this embodiment may be specifically as follows: first, grayscale the image, match the grayscale image with a pre-set image template to determine the difference area, use the Sobel operator to perform edge calculation on the difference area to binarize the image, and automatically identify the location of each sub-device in the image by comparing the image X and Y coordinates. It can be understood that the pre-set image template may be an image containing the location information of each sub-device in the BMS that is pre-stored in the configuration terminal.
[0052] Step S13: The configuration terminal compares the second device address with the first device address, and determines the sub-device that needs to have its address corrected according to the comparison result;
[0053] Specifically in this embodiment, the configuration terminal compares the first device address and the second device address corresponding to each sub-device. If they are consistent, no correction is required. If they are inconsistent, the sub-device is determined as a sub-device that needs address correction.
[0054] Step S14: the configuration terminal sends an address configuration instruction to the wireless BMS so that the first device address of the sub-device that needs to be corrected is updated to the second device address.
[0055] Specifically in this embodiment, the configuration terminal sends an address configuration instruction to the wireless BMS via wireless communication, and the address configuration instruction includes a device identifier for determining a sub-device and a second device address corresponding to the sub-device.
[0056] See also Figure 3 , which is a wireless BMS address allocation method provided by the present application, which can be applied to the configuration terminal and the wireless BMS, the wireless BMS includes multiple sub-devices, and in this method embodiment, the wireless BMS is used as the execution subject for introduction, the method is as follows Figure 3 The steps shown mainly include the following steps S21 to S22.
[0057] Step S21: After the wireless BMS completes the self-organizing network, the wireless BMS allocates a first device address to each sub-device;
[0058] Specifically in this embodiment, the wireless BMS includes a main device and multiple sub-devices, and this step specifically includes: after the main device of the wireless BMS and the multiple sub-devices complete self-networking, the main device detects and obtains the wireless signal strength of the multiple sub-devices, and assigns a first device address to each sub-device according to the wireless signal strength. For example, the sub-devices of the BMS include battery cell 1, battery cell 2, and battery cell 3. The wireless signal strength of battery cell 1 obtained by detection is -40dbm, the wireless signal strength of battery cell 2 is -45dbm, and the wireless signal strength of battery cell 3 is -50dbm. Then, according to the signal strength, the device address assigned to battery cell 1 is 0x01, the device address assigned to battery cell 2 is 0x02, and the device address assigned to battery cell 3 is 0x03.
[0059] Step S22: When the wireless BMS receives the address configuration instruction sent by the configuration terminal, it determines the sub-device that needs address correction and its corresponding second device address by parsing the address configuration instruction, and updates the first device address of the sub-device that needs address correction to the second device address.
[0060] Specifically in this embodiment, the master device of the wireless BMS parses the address configuration instruction to determine the sub-device that needs to be corrected, and the master device reallocates the address of the sub-device that needs to be corrected to update the address of the sub-device from the first device address to the second device address. For example, the information obtained by the master device of the wireless BMS parsing the address configuration instruction includes: battery cell 1-0x03 and battery cell 3-0x01, then correspondingly, the master device of the wireless BMS updates the device address of battery cell 1 from 0x01 to 0x03, and updates the device address of battery cell 3 from 0x03 to 0x01.
[0061] In a specific implementation manner, a wireless BMS address allocation method provided by the present application is applied to a configuration terminal and a wireless BMS, wherein the wireless BMS includes a plurality of sub-devices. Figure 4 The steps shown mainly include the following steps 101 to 109 .
[0062] Step 101: The wireless BMS completes the self-organizing network and allocates a first device address to each sub-device;
[0063] Step 102: Power on the configuration terminal and establish a wireless connection with the wireless BMS;
[0064] Step 103: The configuration terminal sends a command to obtain a device address to the wireless BMS;
[0065] Step 104: The wireless BMS returns the first device address of each sub-device to the configuration terminal;
[0066] Step 105: The configuration terminal determines a second device address pre-assigned to each sub-device based on the collected image of the wireless BMS;
[0067] Step 106: The configuration terminal compares the first device address and the second device address corresponding to each sub-device, and determines the sub-device that needs to be corrected according to the comparison result;
[0068] Step 107: The configuration terminal sends an address configuration instruction to the wireless BMS;
[0069] Step 108: The wireless BMS parses the address configuration instruction to determine the sub-device that needs to be corrected and the second device address corresponding thereto, and updates the first device address of the sub-device that needs to be corrected to the second device address;
[0070] Step 109: The wireless BMS returns an address configuration response to the configuration terminal, and the process ends.
[0071] See also Figure 5, which is a schematic diagram of the composition structure of a configuration terminal provided by the present application. As shown in the figure, the configuration terminal includes a wireless communication module 201, an image acquisition module 202, an address acquisition module 203 and an address allocation module 204, wherein the functions of each module are described as follows:
[0072] A wireless communication module 201, used to implement data communication between the configuration terminal and the wireless BMS in a wireless manner;
[0073] An image acquisition module 202 is used to collect and acquire images of the wireless BMS;
[0074] The address acquisition module 203 is used to acquire the first device address of each sub-device from the wireless BMS based on the wireless communication module 201; and is used to determine the location information of each sub-device in the wireless BMS based on the image acquired by the image acquisition module 202, and determine the second device address of each sub-device according to the location information;
[0075] The address allocation module 204 is used to compare the second device address obtained by the address acquisition module 203 with the first device address, and determine the sub-device that needs to be corrected according to the comparison result, and to send an address configuration instruction to the wireless BMS based on the wireless communication module 201 so that the first device address of the sub-device that needs to be corrected is updated to the second device address.
[0076] The present application also provides a wireless BMS, including a wireless module, a main device, and a plurality of sub-devices;
[0077] The wireless module is used to realize data communication between the wireless BMS and the configuration terminal in a wireless manner, including receiving an address configuration instruction sent by the configuration terminal;
[0078] The main device is used to assign a first device address to each sub-device according to the wireless signal strength of the multiple sub-devices after completing self-networking with the multiple sub-devices; and is also used to parse the address configuration instruction when the wireless module receives the address configuration instruction sent by the configuration terminal to determine the sub-device that needs to be corrected and the second device address corresponding to it, and update the first device address of the sub-device that needs to be corrected to the second device address.
[0079] In a specific implementation, the composition structure of a wireless BMS provided by the present application specifically includes a wireless control module and a plurality of battery cells, wherein the wireless control module is configured as the main device, and the battery cells are configured as the sub-devices. Figure 6As shown, the wireless control module specifically adopts a wireless SOC (system on chip), including m groups of cells (cel l) 1 to cell (cel) n, cell (cel) n+1 to cell (cel) 2n, ..., cell (cel) (m-1) n+1 to cell (cel) mn, with n cells in each group. Each group of cells is connected to the wireless SOC via an AFE (analog front end) chip, and each AFE and the AFE and the wireless SOC are connected via an SPI (serial peripheral interface).
[0080] In a specific embodiment, the composition structure of a wireless BMS provided by the present application specifically includes a high-voltage control box and at least one battery pack, wherein the battery pack includes at least one battery cell group, which can also be understood as a battery module, and each battery cell group includes a wireless control module and multiple batteries, wherein the high-voltage control box is configured as the main device, and the battery cell is configured as the sub-device. For example, Figure 7 The wireless BMS shown includes a high voltage control box and a battery pack formed of n battery cell groups.
[0081] In a specific embodiment, the composition structure of a wireless BMS provided by the present application specifically includes a central controller and at least one battery cluster, wherein the battery cluster may specifically include a high-voltage control box and at least one battery pack, wherein the battery pack includes at least one battery cell group, wherein the battery cell group includes a plurality of battery cells, wherein the central controller is configured as the master device. For example, Figure 8 The wireless BMS shown includes a central energy storage control and m battery clusters, each of which may be embodied as a battery pack including a high-voltage control box and n battery cell groups.
[0082] For the sake of convenience, the introduction of the above configuration terminal and wireless BMS only shows the parts related to the embodiments of the present application. For specific technical details not disclosed, please refer to the method part of the embodiments of the present application.
[0083] It should be understood that since the setting of each module is only for illustrating the functional units of the present application, the physical devices corresponding to these modules may be the processor itself, or a part of the software in the processor, a part of the hardware, or a part of the combination of software and hardware. Therefore, the number of each module in the figure is only schematic.
[0084] It is understood by those skilled in the art that each module in the composition structure can be adaptively split or merged. Such splitting or merging of specific modules will not cause the technical solution to deviate from the principle of the present application, and therefore, the technical solutions after splitting or merging will fall within the protection scope of the present application.
[0085] Furthermore, the present application also provides an electronic device.
[0086] In an embodiment of an electronic device according to the present application, the electronic device mainly includes a processor and a storage device, the storage device can be configured to store a program for executing the wireless BMS address allocation method of the above method embodiment, and the processor can be configured to execute the program in the storage device, which includes but is not limited to the program for executing the wireless BMS address allocation method of the above method embodiment. For ease of explanation, only the parts related to the embodiment of the present application are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present application.
[0087] In the embodiment of the present application, the electronic device may be a control device device formed by various electronic devices. In some possible implementations, the electronic device may include multiple storage devices and multiple processors. The program for executing the wireless BMS address allocation method of the above method embodiment can be divided into multiple subprograms, each of which can be loaded and run by the processor to execute different steps of the wireless BMS address allocation method of the above method embodiment. Specifically, each subprogram can be stored in different storage devices, and each processor can be configured to execute programs in one or more storage devices to jointly implement the wireless BMS address allocation method of the above method embodiment, that is, each processor executes different steps of the wireless BMS address allocation method of the above method embodiment to jointly implement the above method embodiment.
[0088] The above-mentioned multiple processors may be processors deployed on the same device. For example, the above-mentioned electronic device may be a high-performance device composed of multiple processors, and the above-mentioned multiple processors may be processors configured on the high-performance device.
[0089] Furthermore, the present application also provides a computer-readable storage medium.
[0090] In a computer-readable storage medium embodiment according to the present application, the computer-readable storage medium may be configured to store a program for executing the wireless BMS address allocation method of the above method embodiment, and the program may be loaded and run by a processor to implement the above wireless BMS address allocation method. For ease of explanation, only the parts related to the embodiment of the present application are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present application. The computer-readable storage medium may be a storage device formed by various electronic devices. Optionally, the computer-readable storage medium in the embodiment of the present application is a non-temporary computer-readable storage medium.
[0091] So far, the technical solutions of the present application have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present application is obviously not limited to these specific embodiments. Without departing from the principles of the present application, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present application.
Claims
1. A wireless BMS address allocation method, characterized in that: The method is applied to configure a terminal, and the method includes: After connecting to the wireless BMS, automatically obtain the first device address of each sub-device in the wireless BMS; Acquire an image of the wireless BMS, determine location information of each sub-device in the wireless BMS based on the image, and determine a second device address of each sub-device according to the location information; Comparing the second device address with the first device address, and determining the sub-device that needs to have its address corrected according to the comparison result; An address configuration instruction is sent to the wireless BMS so that the first device address of the sub-device that needs to be corrected is updated to the second device address.
2. The wireless BMS address allocation method according to claim 1, characterized in that: The determining the location information of each sub-device in the wireless BMS based on the image includes: using a Sobel operator to perform edge detection on the image to determine the location information of each sub-device in the wireless BMS.
3. The wireless BMS address allocation method according to claim 2, characterized in that: The use of the Sobel operator to perform edge detection on the image to determine the position information of each sub-device in the wireless BMS includes: graying the image, matching the grayed image with a preset image template to determine a difference area, using the Sobel operator to perform edge calculation on the difference area to binarize the image, and automatically identifying the position of each sub-device in the image by comparing the image X and Y coordinates.
4. A wireless BMS address allocation method, characterized in that: The method is applied to a wireless BMS, the wireless BMS includes a plurality of sub-devices, and the method includes: After the wireless BMS completes the self-organizing network, the wireless BMS allocates a first device address to each sub-device; When the wireless BMS receives the address configuration instruction sent by the configuration terminal, it determines the sub-device that needs address correction and its corresponding second device address by parsing the address configuration instruction, and updates the first device address of the sub-device that needs address correction to the second device address.
5. The wireless BMS address allocation method according to claim 4 is characterized in that: The wireless BMS further includes a main device connected to the plurality of sub-devices; The wireless BMS assigning the first device address to each sub-device specifically includes: the main device detecting and acquiring the wireless signal strength of the plurality of sub-devices, and assigning the first device address to each sub-device according to the wireless signal strength.
6. A configuration terminal, characterized in that: include: Image acquisition module, wireless communication module, address acquisition module and address allocation module; The image acquisition module is used to collect and acquire images of the wireless BMS; The wireless communication module is used to realize data communication between the configuration terminal and the wireless BMS in a wireless manner; The address acquisition module is used to acquire the first device address of each sub-device from the wireless BMS based on the wireless communication module; and for determining the location information of each sub-device in the wireless BMS based on the image acquired by the image acquisition module, and determining the second device address of each sub-device according to the location information; The address allocation module is used to compare the second device address obtained by the address acquisition module with the first device address, and determine the sub-device that needs to be corrected according to the comparison result, and is used to send an address configuration instruction to the wireless BMS based on the wireless communication module so that the first device address of the sub-device that needs to be corrected is updated to the second device address.
7. A wireless BMS, characterized in that: It includes a wireless module, a main device and multiple sub-devices; The wireless module is used to realize data communication between the wireless BMS and the configuration terminal in a wireless manner, including receiving an address configuration instruction sent by the configuration terminal; The main device is used to assign a first device address to each sub-device according to the wireless signal strength of the multiple sub-devices after completing self-networking with the multiple sub-devices; and is also used to parse the address configuration instruction when the wireless module receives the address configuration instruction sent by the configuration terminal to determine the sub-device that needs to be corrected and the second device address corresponding to it, and update the first device address of the sub-device that needs to be corrected to the second device address.
8. The wireless BMS according to claim 7, characterized in that: The sub-device is specifically a battery cell; The wireless BMS specifically includes a wireless control module and a plurality of battery cells, wherein the wireless control module is configured as the master device; Alternatively, the wireless BMS specifically includes a high-voltage control box and at least one battery pack, the battery pack includes at least one battery cell group, the battery cell group includes a wireless control module and a plurality of battery cells, wherein the high-voltage control box is configured as the main device; Alternatively, the wireless BMS specifically includes a central controller and at least one battery cluster, the battery cluster includes a high-voltage control box and at least one battery pack, the battery pack includes at least one battery cell group, the battery cell group includes a wireless control module and multiple battery cells, wherein the central controller is configured as the master device.
9. An electronic device comprising a processor and a storage device, wherein the storage device is suitable for storing a plurality of program codes, characterized in that: The program code is suitable for being loaded and run by the processor to execute the wireless BMS address allocation method according to any one of claims 1 to 3 or claims 4 to 5.
10. A computer-readable storage medium storing a plurality of program codes, characterized in that: The program code is suitable for being loaded and run by a processor to execute the wireless BMS address allocation method according to any one of claims 1 to 3 or claims 4 to 5.