Communication control method and system and mobile operation equipment

By performing communication initialization settings and message analysis on the microcontroller of the battery management system, the problem of difficulty in achieving accurate management and global optimization in the existing technology is solved, and accurate monitoring and control of battery data is realized, and the management accuracy of mobile working equipment is improved.

CN119854342AInactive Publication Date: 2025-04-18JIMU (HAINAN) INTELLIGENT BREEDING EQUIP CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510331145.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-20
Publication Date
2025-04-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the prior art, it is difficult for the battery management system to achieve accurate management and global optimization of each single cell, and high-frequency data acquisition brings challenges in data processing and real-time control, and it is impossible to accurately capture the battery data corresponding to the dynamic changes of the battery.

Method used

By performing communication initialization settings on the microcontroller of the battery management system, restarting the timer for the preset communication timeout period, and receiving a preset format message obtained by the communication thread between the sending end, triggering execution actions corresponding to the message that conforms to the preset format. The message is parsed by the communication protocol corresponding to the communication thread, the battery is detected based on the successful parsing battery control strategy, the preset type of battery data is obtained, and sent to the sending end to update the battery control strategy.

Benefits of technology

It realizes more accurate monitoring, estimate and control of battery data during the communication timeout period set in advance, and dynamic management of battery management strategies is achieved, avoids action execution errors and conflicts caused by mismatch of message formats, and improves the management and operation accuracy of mobile work equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119854342A_ABST
    Figure CN119854342A_ABST
Patent Text Reader

Abstract

The invention provides a communication control method, a communication control system, a computer readable medium, a battery management system, an energy storage device and mobile operation equipment. The communication control method comprises the following steps: executing communication initialization setting on a single-chip microcomputer of the battery management system, and restarting a timer with a preset communication timeout period; receiving a message in a preset format, which is correspondingly acquired by a communication thread between a single-chip microcomputer of the battery management system and the sending end, and triggering an execution action corresponding to the message in the preset format; analyzing the message by a communication protocol corresponding to the communication thread so as to detect the battery according to a communication timeout period on the basis of a current battery control strategy formed by successful analysis after successful analysis, thereby obtaining battery data of a preset type; and sending the preset type of battery data to the sending end, issuing the updated battery control strategy to the battery by the sending end, and resetting the preset communication timeout period of the timer. According to the invention, accurate management and monitoring of the battery data are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication control technology, and in particular to a communication control method, a communication control system, a computer-readable medium, a battery management system, an energy storage device and a mobile operating equipment. Background Art

[0002] Mobile working equipment such as drones and unmanned ground working equipment usually contain batteries, battery management systems (BMS) for managing batteries, and flight control systems. The battery management system is used to test the battery to ensure battery function and performance to meet the safe and normal operation of the mobile working equipment. The battery management system needs to communicate with external devices in real time to receive the current battery data (for example, voltage, current, temperature, alarm information, etc.) of the batteries contained in the mobile working equipment in various states in real time for accurate monitoring. The aforementioned external devices are all powered by batteries and can be regarded as loads formed by electrical connections with the batteries. Errors such as communication timeouts and errors in estimating the amount of power required by mobile working equipment will cause the battery to shut down incorrectly or the battery to be in abnormal conditions such as overcharging, overloading, and excessive cell temperature, and will also greatly affect the normal operation of the mobile working equipment.

[0003] The battery management system in the prior art uses the CAN protocol to establish communication between the battery and the load, and based on I 2 C protocol and UART protocol perform internal communication. With the increase in the capacity of batteries installed in mobile working equipment, the internal state of the battery is complex and changeable, and existing methods are difficult to achieve accurate management and global optimization of each single battery. Secondly, although high-frequency data acquisition can provide rich battery status information, it also brings challenges in data processing and real-time control. Furthermore, the performance and life of the battery are affected by many factors, such as ambient temperature, charge and discharge history, aging degree, etc. The battery management communication control means in the existing technology are difficult to accurately capture these battery data corresponding to the dynamic changes of the battery, and cannot effectively manage the current battery data of a single cell and the entire battery.

[0004] In view of this, it is necessary to improve the communication control method for mutual communication between the battery management system and the sending end such as the host computer in the prior art to solve the above problems. Summary of the invention

[0005] The purpose of the present invention is to disclose a communication control method of a battery management system, a communication control system of a battery management system, a computer-readable medium, a battery management system, an energy storage device and a mobile operating equipment, so as to solve the aforementioned technical problems existing in the prior art, and to solve the communication anomalies that may exist when the battery management system in the prior art communicates with the sending end, and to solve the technical problem of the defect of being unable to accurately manage and monitor battery data caused by this.

[0006] To achieve one of the above objectives, the present invention provides a communication control method for a battery management system, comprising: Perform communication initialization settings on the microcontroller of the battery management system and restart the timer of the preset communication timeout period; Receive a message of a preset format corresponding to the communication thread between the single-chip microcomputer of the battery management system and the sending end, and trigger an execution action corresponding to the message conforming to the preset format; The message is parsed by the communication protocol corresponding to the communication thread, so that after successful parsing, the battery is tested according to the communication timeout period based on the current battery control strategy formed by the successful parsing to obtain battery data of a preset type; The preset type of battery data is sent to a sending end, and the sending end sends an updated battery control strategy to the battery based on the preset type of battery data, and resets a preset communication timeout period of a timer.

[0007] As a further improvement of the present invention, the performing communication initialization setting on the single-chip microcomputer of the battery management system includes: clearing a flag bit of a register of the single-chip microcomputer of the battery management system to set the flag bit of the register to zero; The event of acquiring the preset type of battery data and sending it to the sending end, and the sending end sending the updated battery control strategy to the battery based on the preset type of battery data occurs within a communication timeout period.

[0008] As a further improvement of the present invention, after obtaining the preset type of battery data and sending it to the sending end, it also includes: when the sending end receives the preset type of battery data, sending a battery modification instruction to the battery through the communication protocol, so as to modify the battery setting parameters and / or the battery action data to be executed that match the battery modification instruction through the battery modification instruction; The battery setting parameters include setting a cycle number parameter, setting a battery capacity parameter, setting a battery SOC parameter, setting a current threshold parameter or setting a QR code parameter, or any combination thereof; The battery action data to be executed includes one of log reading data and test action execution data or any combination of the two.

[0009] As a further improvement of the present invention, the communication control method further includes: Determine whether the format of the message matches the preset format of the message, If yes, jump to execute the current battery control strategy formed based on the successful analysis to detect the battery according to the communication timeout period; The parsing of the message includes: decomposing the data packets transmitted between the battery and the single-chip microcomputer and between the battery and the sending end into a packet header, a length, an instruction field, a message body, a CRC check code and a packet tail according to the communication protocol, so as to respond to the sending end sending the message; The instruction field includes a handshake instruction field, a version acquisition field, an acquisition voltage field, an acquisition temperature field, an acquisition battery management system information field, and an acquisition battery information field.

[0010] As a further improvement of the present invention, before the communication protocol corresponding to the communication thread parses the message, the process further includes: Determine whether the battery is in the power-on state and the battery has not reached the custom storage time; If the battery is in the on state and the battery has not reached the custom storage time, the message is parsed by the communication protocol corresponding to the communication thread; If the battery is in a shutdown state and / or the battery reaches a custom storage time, and the battery is in a balanced state, a battery modification instruction is sent to the battery through the communication protocol to modify the battery setting parameters and / or the battery action data to be executed that match the battery modification instruction.

[0011] As a further improvement of the present invention, it also includes: applying periodic wake-up to the battery according to a set wake-up period according to the current state of the battery; Among them, when the battery is in the power-on state and the battery has not reached the custom storage time, the set wake-up period for periodically waking up the battery is much longer than the set wake-up period for periodically waking up the battery when the battery is in the power-off state and / or the battery reaches the custom storage time.

[0012] As a further improvement of the present invention, when the battery is in a balanced state, the communication control method further includes: determining the type of the transmitting end; If the type of the sending end is a host computer, a battery modification instruction is directly sent to the battery through the communication protocol to modify the battery setting parameters and / or battery action data to be executed that match the battery modification instruction. The host computer is a flight control system, a background server or a remote controller that communicates with the battery management system; If the type of the sending end is a charger, the battery data of the current preset type stored in the battery management system is modified by the single chip microcomputer and then responded to the charger.

[0013] Based on the same inventive concept, the present application also discloses a communication control system for a battery management system, including: Reset unit, communication unit and analysis control unit; The reset unit performs communication initialization settings on the single-chip microcomputer of the battery management system and restarts the timer of the preset communication timeout period; The communication unit receives a message of a preset format corresponding to a communication thread between a single chip microcomputer of the battery management system and a sending end, and triggers an execution action corresponding to the message conforming to the preset format; The parsing control unit parses the message based on the communication protocol corresponding to the communication thread, and after the parsing is successful, detects the battery according to the communication timeout period based on the current battery control strategy formed by the successful parsing, so as to obtain battery data of a preset type; The communication unit sends the preset type of battery data to the sending end, the sending end sends an updated battery control strategy to the battery based on the preset type of battery data, and the reset unit resets the preset communication timeout period of the timer.

[0014] Based on the same inventive concept, the present application also discloses a computer-readable medium, in which computer program instructions are stored. When the computer program instructions are read and run by a processor, the steps in the communication control method of the battery management system as described in any of the above inventions are executed.

[0015] Based on the same inventive concept, the present application also discloses a battery management system, which communicates with a transmitting end. The battery management system runs the steps in the communication control method of the battery management system of any one of the above inventions.

[0016] Based on the same inventive concept, the present application also discloses an energy storage device, comprising: At least one battery is electrically connected to a battery management system of the battery, and the battery management system runs the steps of the communication control method of the battery management system of any of the above inventions.

[0017] Based on the same inventive concept, the present application also discloses a mobile working device, including: a battery management system; The battery management system runs the steps in the communication control method of the battery management system of any of the above inventions, and the mobile operating equipment includes a drone or an unmanned ground operating equipment or an unmanned surface operating equipment.

[0018] Compared with the prior art, the present invention has the following beneficial effects: First, compared with the prior art that applies a fixed and single battery control strategy to battery data, in the inventions and creations such as the communication control method disclosed in the present application, a message of a preset format corresponding to the communication thread between the receiving microcontroller and the sending end is obtained, and an execution action corresponding to the message in the preset format is triggered, so that after successful parsing, the battery is detected according to the communication timeout period based on the current battery control strategy formed by the successful parsing, and finally according to the preset type of battery data, the sending end sends the updated battery control strategy to the battery, thereby enabling the present application to realize more accurate monitoring, estimation and monitoring of the battery data formed by the battery within a communication timeout period set in advance, thereby achieving dynamic management of the battery management strategy; At the same time, the present application determines whether the preset format of the message obtained between the communication thread established between the single-chip microcomputer and the sending end meets the expectations, so as to execute the execution action corresponding to the message that meets the preset format only under the premise of meeting the preset format, thereby avoiding action execution errors and conflicts caused by message format mismatch between different sending ends and the single-chip microcomputer of the battery management system, further improving the accuracy of management and operation of mobile working equipment, avoiding conflicts and disorder caused to mobile working equipment when different sending ends send messages containing execution action instructions at the same time, and avoiding message conflicts in the communication thread between the single-chip microcomputer and the sending end. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 The present invention is a flow chart of the overall communication control method of the battery management system; Figure 2 A detailed flow chart of the communication control method of the battery management system of the present invention; Figure 3 A topological diagram of the communication control system of the battery management system of the present invention; Figure 4 is a topological diagram of the energy storage device of the present invention; Figure 5 A topological diagram of the computer-readable medium of the present invention. DETAILED DESCRIPTION

[0020] The present invention is described in detail below in conjunction with the various embodiments shown in the accompanying drawings, but it should be noted that these embodiments are not limitations of the present invention, and the equivalent transformations or substitutions in functions, methods, or structures made by ordinary technicians in the field according to these embodiments are all within the scope of protection of the present invention. The applicant explains and defines the terms in the embodiments of the present application as follows. The understanding of the terms should be understood as a whole in conjunction with the specific technical environment, and the explanation and definition of the terms do not constitute the sole limitation of the technical features contained in the present application.

[0021] the term" connect "Includes but is not limited to physical connection, and also covers electrical connection, connection based on specific communication protocol, etc.

[0022] the term" Session " is based on the aforementioned " connect "Data reception, data transmission, data processing events that occur between various logical units, as well as other controlling and controlled computer events or software events.

[0023] the term" communication channel " refers to a path for data or message transmission. The communication channel can be formed inside the single-chip microcomputer 51, or inside the logic control unit 50, or between the communication control system 100 and the logic control unit 50 (or the single-chip microcomputer 51).

[0024] the term" Battery Management System " and the term " BMS ” has the same technical meaning.

[0025] like Figure 1 and Figure 2 As shown, combined Figure 3 , which discloses a typical embodiment of a communication control method of a battery management system (hereinafter referred to as "communication control method") to exemplify the communication control method, and the communication control method includes the following steps S1 to S4.

[0026] Step S1, perform communication initialization settings on the single-chip microcomputer 51 of the battery management system, and restart the timer 511 of the preset communication timeout period. Step S2, receive the message of the preset format corresponding to the communication thread 61 between the single-chip microcomputer 51 of the battery management system and the sending end 60, and trigger the execution action corresponding to the message that conforms to the preset format. Step S3, parse the message by the communication protocol corresponding to the communication thread 61, so that after the parsing is successful, the battery 6 is detected according to the communication timeout period based on the current battery control strategy formed by the successful parsing to obtain the preset type of battery data. Step S4, send the preset type of battery data to the sending end 60, and the sending end 60 sends the updated battery control strategy to the battery 6 based on the preset type of battery data, and reset the preset communication timeout period of the timer 511, which can avoid the accidental event of battery shutdown caused by being determined as no communication timeout. In this embodiment, by judging whether the preset format of the message obtained by the single-chip microcomputer 51 and the sending end 60 based on the communication thread 61 that has been established between each other, the execution action corresponding to the message that meets the preset format is executed only under the premise of meeting the preset format, thereby avoiding action execution errors and conflicts caused by message format mismatch between different sending ends 60 and the single-chip microcomputer 51 of the battery management system, thereby further improving the accuracy of management and operation of mobile working equipment, avoiding conflicts and disorder caused to mobile working equipment when different sending ends 60 simultaneously send messages containing execution action instructions, and avoiding message conflicts, thread overhead and computing overhead caused by the communication thread between the single-chip microcomputer 51 and the sending end 60.

[0027] Steps S2 to S4 are executed sequentially and through a While loop. In the While loop, the next sub-step can be jumped only when the preset conditions are met. If the preset conditions are not met (for example, it is judged to be a "no" (N) state, or it is judged to be a state that does not meet the preset conditions), the next sub-step cannot be jumped, and according to the actual situation, it can jump to the previous sub-step or other sub-steps that have been previously executed (or have ended) within a preset communication timeout period, or directly exit the current While loop. It should be noted that in a While loop, the battery control strategy may not be modified (that is, the update event of the battery control strategy is updated), so that without modifying the battery control strategy, the same battery control strategy can be re-sent to the battery 6, or the same battery control strategy can not be sent to the battery 6, thereby reducing the thread overhead and computing overhead generated by the disorderly detection of the battery 6 and the update and issuance of the battery control strategy between the sending end 60 and the BMS1.

[0028] To further illustrate the inventive concept contained in this application, Figures 1 to 3, a typical application scenario of the communication control method is given as an example. Figure 3 The various components shown in the figure (eg, the communication unit 20, the logic control unit 50, etc.) are all regarded as logic units of executable software codes, and data is transmitted and processed between the various logic units based on sessions or protocols.

[0029] The communication control method, as a control logic composed of software code, can be demonstratively run on Figure 3 In the BMS1, the communication control method can be run on the communication control system 100, on the logic control system 50, and on the single-chip microcomputer 51 contained in the logic control system 50. The BMS1 manages the battery 6, which is usually regarded as a power battery and is composed of a plurality of battery packs, such as battery pack 61, battery pack 62 to battery pack 6n, where the parameter n is a positive integer greater than or equal to two. The power battery stores charge to provide power for mobile operating equipment such as drones. Each battery pack contains one or more single cells, and all battery packs 61~6n are electrically connected in series or in parallel. It should be noted that Figure 2 In order to facilitate the description of the inventive concept of the present application, the communication control system 100 for running the communication control method is separated from the single-chip microcomputer 51 and the logic control unit 50. The logic control unit 50 includes a single-chip microcomputer 51 and other electronic devices (not shown). Optionally, the communication control system 100 for running the communication control method can also be deployed in the logic control unit 50 and establish a connection with the single-chip microcomputer 51, or even deployed in the single-chip microcomputer 51. In order to facilitate the description of the inventive concept and specific implementation process of the communication control method, the applicant combines Figure 3 A typical scenario is shown to exemplify the communication control method in the present application. The logic control unit 50 configures the interface 53 and connects to the battery 6 via a bus (eg, CAN bus). The microcontroller 51 is connected to the port 52 based on the internal bus 512 and is connected to the port 53 based on the internal bus 513.

[0030] Combination Figure 2 As shown, the communication control method specifically includes the following sub-steps of executing logic, and the following sub-steps are combined when necessary. Figure 3 The illustrated communication control system 100 is provided to illustrate the inventive concept.

[0031] Step 101, start.

[0032] Step 102, perform communication initialization settings on the single-chip microcomputer 51 of BMS1, and restart the timer 511 of the preset communication timeout period. Specifically, performing communication initialization settings on the single-chip microcomputer 51 of the battery management system (BMS1) includes: clearing the flag bit of the register of the single-chip microcomputer 51 of the battery management system to set the flag position of the register to zero. The timer 511 can be set to a preset communication timeout period, for example, 5 seconds. If it exceeds 5 seconds (including 5 seconds), the flag position of the register is set to 1, and the communication initialization settings can be performed on the single-chip microcomputer 51 again. Figure 2 Sub-steps 103, 104 and finally 132 in the while loop all belong to a complete while loop.

[0033] Sub-step 103: receiving a message in a preset format corresponding to the communication thread between the single-chip microcomputer 51 of the BMS and the transmitting end 60. Figure 3 As shown, a communication thread 61 is established between the BMS1 or the single-chip microcomputer 51 and the transmitting end 60. For example, the logic control unit 50 is configured with an interface 52, and the transmitting end 60 is configured with another interface 63. The aforementioned communication thread 61 is formed between the interface 63 and the interface 52. Optionally, the BMS1 may also set an interface (not set) to jointly establish the aforementioned communication thread 61 through the interface 51 and the interface of the BMS1 and the interface 63. The transmitting end 60 establishes a session with the user through a wired or wireless communication protocol 62. Combined Figure 3 As shown, a communication thread 61 is formed between the sending end 60 and the logic control unit 50 or the single-chip microcomputer 51, and the communication unit 20 detects and obtains the message forwarded by the communication thread 61 based on the data link indicated by the bidirectional arrow 21. In addition, it should be noted that the interfaces 52, 53, 63, etc. in the present application can be physical interfaces or virtual interfaces (for example, USB virtual serial ports, etc.), and are intended to establish a data link formed by data forwarding between various components (for example, the sending end 60 or the single-chip microcomputer 51, etc.).

[0034] Sub-step 104: determine whether the format of the message matches the preset format of the message. Since the messages sent and received between the transmitter 60 and the single-chip microcomputer 51 in a specific communication protocol (for example, the RS-485 protocol) have a certain format, the present application determines the format of the message to eliminate messages that do not conform to the preset format, thereby ensuring the accuracy of subsequent message parsing and the applicability of the parsing rules. If the format of the message matches the preset format of the message, jump to sub-step 105. If the format of the message does not match the preset format of the message, jump to between sub-step 102 and sub-step 103 and re-execute sub-step 103. The aforementioned communication protocol may also include I 2C or SPI protocol. Whether the format of the aforementioned message meets the preset format requirements refers to whether the data format formed by parsing the message sent between the sending end 60 and the single-chip microcomputer 51 based on a specific communication protocol (for example, RS-485 protocol) meets the preset conditions. If it meets the preset conditions, it is determined that the preset format of the message meets the format requirements; if it does not meet the preset conditions, it is determined that the preset format of the message does not meet the format requirements, and the subsequent event of subsequent detection of the battery 6 is rejected. The single-chip microcomputer 51 keeps in sync with the operating system (OS) running on the sending end 60 (for example, the host computer), receives messages based on the communication thread 61, and uses the content carried by the message as a trigger for the operation event corresponding to the message, wherein the operation event can be regarded as modifying the battery data, sending an updated battery control strategy to the battery 6, etc.

[0035] Before the communication protocol corresponding to the communication thread 61 in step S3 parses the message, it also includes a judgment logic 150 of the battery state and whether the custom storage time has been reached. The judgment logic 150 includes sub-steps 105 and 121. Before the communication protocol corresponding to the communication thread 61 in step S3 parses the message, the following steps are performed: determine whether the battery 6 is in the power-on state and the battery 6 has not reached the custom storage time; if the battery 6 is in the power-on state and the battery 6 has not reached the custom storage time, the communication protocol corresponding to the communication thread 61 parses the message; if the battery 6 is in the power-off state and / or the battery has reached the custom storage time, and the battery 6 is in a balanced state, send a battery modification instruction to the battery 6 through the communication protocol to modify the battery setting parameters and / or the battery action data to be executed that match the battery modification instruction.

[0036] Specifically, the aforementioned battery setting parameters include setting a cycle number parameter, setting a battery capacity parameter, setting a battery SOC parameter, setting a current threshold parameter, or setting a QRcode parameter, or any combination of these. Any parameter or any combination of parameters embodied by the battery setting parameters respectively embodies the setting or configuration operation corresponding to the battery setting and the parameter meaning. For example, by setting the battery capacity parameter, the expected ampere-hour (Ah) can be set for the battery to prevent exceeding the preset value during the charging operation, which has good technical significance for reducing the number of unnecessary charge and discharge cycles of battery 6 in low-load usage scenarios, thereby increasing the service life of battery 6. The same is true for other types of battery setting parameters.

[0037] The aforementioned battery action data to be executed includes one or any combination of log reading parameters or test action execution data. For example, by setting the log reading parameters, the host computer or other sending end is started to read the log file (for example, Log file) of the battery 6 based on its working state (for example, the temperature of the battery, the number of charge and discharge cycles). The test action execution data is understood as a broad concept, and any test request data issued to the battery 6 is included, for example, open circuit test, durability test, volume energy density test, etc. Sub-step 105, determine whether the battery 6 is in the power-on state and the battery 6 has not reached the custom storage time. If so, jump to execute sub-step 106, if not, jump to execute sub-step 121. The battery is in the power-on state, which means that the battery 6 is currently "ON". The custom storage time indicates that the battery 6 is set to enter the next different state from the current time, and the custom storage time can be set to 1~10 seconds. The state referred to by the aforementioned entry into the next different state refers to the battery 6 entering the dormant state or deep dormant state from the power-on state. By judging whether the customized storage time has arrived for the battery 6, an accurate judgment basis and reasonable preconditions are provided for the situation where the battery control strategy is readjusted according to the current battery data detected subsequently.

[0038] Sub-step 106, at this time, the battery 6 is in the power-on state and the battery 6 has not reached the custom storage time, and the communication protocol corresponding to the communication thread 61 parses the message to parse and determine the message content carried by the message. The message content can be regarded as various physical properties of the battery 6 or the battery pack or the battery cell in the current state of the battery 6, such as SOC, battery capacity, battery cycle number, etc., and the aforementioned physical properties are used to re-determine whether to update the battery control strategy or update the battery control strategy in this While loop, so as to re-send the updated battery control strategy to the battery 6 to adapt to the actual use requirements of the driving motor of the drone for current and voltage.

[0039] More specifically, in sub-step 106, parsing the message includes: decomposing the data packet transmitted between the battery 6 and the single-chip microcomputer 51 and / or between the battery 6 and the transmitting end 60 according to the communication protocol, which can be decomposed into a packet header, a length, an instruction field, a message body, a CRC check code and a packet tail, in response to the transmitting end 60 sending the message. The instruction field includes a handshake instruction field, a version acquisition field, an acquisition voltage field, an acquisition temperature field, an acquisition battery management system information field and an acquisition battery information field. The instruction field carries the battery control strategy subsequently re-determined by the transmitting end 60 based on the acquired battery data (for example, voltage, current, temperature, alarm information, etc.) to adapt to the more reasonable battery control strategy determined by the battery 6 in each state. As a result, the present application can realize more accurate monitoring, estimation and control of the battery data formed by the battery 6 within a communication timeout period set in advance, thereby achieving the technical effect of dynamic management of the battery management strategy. The communication timeout period can be set arbitrarily. For example, a message is parsed and decomposed into the following data: 7B01 31 F0 7D; where 7B represents the packet header, 01 represents the length, 31 represents the instruction field, no data, F0 represents the CRC check code, and 7D represents the packet tail. Parsing is to decompose a long string of data (i.e., battery data) sent by other devices (e.g., battery 6) into various formats of the data packet to check whether the transmission is correct. After checking that the formats of the received data packets are normal, enter the subsequent judgment process. Therefore, this application can only jump to execute sub-step 108 after the message is successfully parsed.

[0040] The host computer or flight control system sends the data after successful parsing to the single-chip microcomputer 51, that is: 7B 01 31 F07D; the single-chip microcomputer 51 will parse and process the data packet in different forms according to the format of the data after successful parsing and the different meanings of the instruction field. For example, the instruction field for querying temperature is "0x31". After parsing, it can reply "7B 0531 00 00 00 00 12 7D"; among them, "7B" represents the packet header, "05" represents the length, "31" represents the instruction field, "00 00" represents the temperature data of the first battery pack (or battery cell), "00 00" represents the temperature data of the second battery pack (or battery cell), "12" represents the check, and "7D" represents the end of the packet.

[0041] Then, execute sub-step 107 to determine whether the parsing of the message is successful. If so, it means that the message parsing is successful, and jump to sub-step 108. If not, it means that the message parsing fails, and return to the previous step and re-execute sub-step 106.

[0042] If the output result of sub-step 105 is negative, it means that the battery 6 is in the shutdown state (i.e., OFF state) and / or the battery 6 reaches the custom storage time, and then sub-step 121 is executed, and the battery 6 is in a balanced state. It should be noted that, as an optional implementation, the communication control method in the present application may also include detecting whether the multiple battery packs contained in the battery 6 and the multiple cells contained in each battery pack are in a balanced state, so as to detect whether the voltage and SOC formed separately or as a whole between the battery packs or between the multiple cells contained in the same battery pack are in a balanced state.

[0043] Sub-step 108, based on the current battery control strategy formed by the successful analysis, the battery 6 is detected according to the communication timeout period to obtain the preset type of battery data. Specifically, in this embodiment, the preset type of battery data is obtained and sent to the sending end 60, and the event of the sending end 60 sending the updated battery control strategy to the battery 6 based on the preset type of battery data occurs within a communication timeout period. Regardless of whether the battery control strategy is updated, the detection and sending process of the battery 6 occurs within a communication cycle, avoiding the technical problem of excessive and disorderly battery detection and updating of the battery control strategy. This is for a drone that is simultaneously connected to a remote control or a ground control station, preventing the flight control system, the background server or the remote control from directly or indirectly managing the drone's battery 6. The control conflict caused. At the same time, according to actual needs, the communication timeout period configured by the timer 511 can be modified in the form of script writing (for example, shell command execution script writing) or manual configuration in a visual interface, so as to extend or shorten the communication timeout period.

[0044] Sub-step 130: Sending battery data of a preset type to the transmitting end 60, and the transmitting end 60 sends an updated battery control strategy to the battery 6 based on the battery data of the preset type. The battery data of the preset type includes but is not limited to voltage data, charging current data, discharging current data, battery temperature data and other data of the battery 6, and the control logic included in the subsequent battery control strategy matches the preset type of the battery data.

[0045] Finally, sub-step 131 is executed to reset the preset communication timeout period of the timer 511 , that is, RESET the timer 511 .

[0046] As shown above, for example, when the battery 6 is in a balanced state, it is necessary to further perform sub-step 122 and determine the type of the sending end 60. If the type of the sending end 60 is a host computer, a battery modification instruction is directly sent to the battery 6 through a communication protocol to modify the battery setting parameters and / or battery action data to be executed that match the battery modification instruction. The host computer is a flight control system, a background server or a remote controller that communicates with the battery management system (BMS1). If the type of the sending end 60 is a charger, the battery data of the current preset type saved by the battery management system (BMS1) is modified by the single-chip microcomputer 51 and then responded to the charger. The aforementioned flight control system (not shown) is deployed inside the drone and connected to the BMS1. The aforementioned host computer and charger are both regarded as a load, and since the messages sent by the host computer and the charger to the BMS1 are consistent with the communication protocol, the contents of the messages sent by the host computer and the charger to the BMS1 are still different. Therefore, it is necessary to distinguish the type of the sending end 60 to accurately determine the specific meaning of the execution subject of the message, and improve the accuracy and reliability of the subsequent dynamic management of the battery 6, which is mainly reflected in the accuracy and reliability of the battery control strategy determination and transmission to the battery 6, so that the performance output of the battery 6 in the current state matches the actual use requirements. For unmanned aerial vehicles, the host computer can be a flight control system, and for unmanned ground operating equipment or unmanned surface operating equipment, the host computer can be a motion control system (not shown) that controls the unmanned ground operating equipment or unmanned surface operating equipment.

[0047] Combination Figure 2 As shown, for scenario (1), it is determined that the type of the transmitter 60 is a host computer, and for scenario (2), it is determined that the type of the transmitter 60 is a charger. After obtaining the preset type of battery data and sending it to the transmitter 60, it also includes: the transmitter 60 receives the preset type of battery data, and sends a battery modification instruction to the battery 6 through the communication protocol, so as to modify the battery setting parameters and / or the battery action data to be executed that match the battery modification instruction through the battery modification instruction. More specifically, after sub-step 122, sub-step 124 or sub-step 126 is executed according to different scenarios.

[0048] Sub-step 124, sending a battery modification instruction to the battery 6 through the communication protocol to modify the battery setting parameters and / or the battery action data to be executed that match the battery modification instruction; Sub-step 126, modifying the battery data of the current preset type saved by the BMS1 through the single-chip microcomputer 51 and responding to the charger.

[0049] Finally, sub-step 127 is executed to periodically wake up the battery 6 according to the set wake-up period based on the current state of the battery 6. When the battery 6 is in the power-on state and the battery has not reached the custom storage time, the set wake-up period for periodically awakening the battery 6 is much longer than the set wake-up period for periodically awakening the battery 6 when the battery 6 is in the power-off state and / or the battery 6 reaches the custom storage time. Optionally, the aforementioned set wake-up period can be 1 hour, 2 hours, 3 hours, 4 hours or other durations.

[0050] Sub-step 132, end.

[0051] At this point, the specific execution process of the communication control method disclosed in this embodiment ends.

[0052] The communication control method of the battery management system disclosed in this embodiment receives a message of a preset format corresponding to the communication thread between the single-chip microcomputer 51 and the sending end 60, triggers the execution action corresponding to the message in the preset format, and after the analysis is successful, the current battery control strategy formed by the analysis is detected according to the communication timeout period to the battery 6, and finally according to the preset type of battery data, the sending end 60 sends the updated battery control strategy to the battery 6, so that the present application can realize more accurate monitoring, estimation and monitoring of the battery data formed by the battery 6 within a communication timeout period set in advance, thereby achieving dynamic management of the battery management strategy. The communication control method can be encapsulated as a portable computer program and imported into the single-chip microcomputer 51 or the logic control unit 50 through an external interface (for example, TPYE-A interface, TPYE-B interface or TPYE-C interface, etc.), and the present application does not make any specific restrictions on this specific implementation process.

[0053] Based on the embodiments of the aforementioned communication control method, the present application further discloses a communication control system 100 of a battery management system (hereinafter referred to as “communication control system 100 ”), including: a reset unit 10 , a communication unit 20 and a parsing control unit 30 .

[0054] The reset unit 10 performs communication initialization settings on the single-chip microcomputer 51 of the battery management system 1, and restarts the timer 511 of the preset communication timeout period. The communication unit 20 receives the message of the preset format corresponding to the communication thread 61 between the single-chip microcomputer 51 of the battery management system 1 and the sending end 60, and triggers the execution action corresponding to the message that conforms to the preset format. The parsing control unit 30 parses the message based on the communication protocol corresponding to the communication thread 61, and after the parsing is successful, the battery 6 is detected according to the communication timeout period based on the current battery control strategy formed by the successful parsing to obtain the preset type of battery data. The communication unit 20 sends the preset type of battery data to the sending end 60, and the sending end 60 sends the updated battery control strategy to the battery 6 based on the preset type of battery data, and the reset unit resets the preset communication timeout period of the timer 511.

[0055] The communication unit 20 detects and obtains the message forwarded by the communication thread 61 based on the data link indicated by the bidirectional arrow 21, and then forwards the obtained message to the parsing control unit 30 through the bidirectional arrow 11. The parsing control unit 30 establishes a session channel with the logic control unit 50 or the single-chip microcomputer 51 deployed in the logic control unit 50 based on the internal instruction transmission channel indicated by the bidirectional arrow 31, so as to indirectly perform the detection of the battery 6, so that after the parsing control unit 30 completes the parsing of the message, the packet header, length, instruction field, message body, CRC check code and packet tail formed by the parsing are sent to the communication unit 20 and finally sent to the sending end 60 through the bidirectional arrow 21 and the communication thread 61, so as to be perceived by the user and accept the user's operation on the sending end 60.

[0056] When the communication control system 100 ends after the last preset communication timeout period, the reset unit 10 performs communication initialization settings on the single-chip microcomputer 51 through the arrow 32, restarts the timer 511 of the preset communication timeout period, and after the end of this While loop, the single-chip microcomputer 51 is still reset through the arrow 32. After the above-mentioned communication initialization settings and the reset of the preset communication timeout period are completed, feedback is given to the parsing control unit 30 through the two-way arrow 11, and after the parsing control unit 30 completes the parsing, the reset unit 30 is notified again through the two-way arrow 11 to reset the preset communication timeout period. The communication control system 100 in this embodiment runs the steps in the communication control method in the above-mentioned embodiment. This embodiment has the same technical solutions as the above-mentioned embodiments, which are described above and will not be repeated here.

[0057] Ginseng Figure 5As shown, the present application discloses a computer-readable medium 900, in which computer program instructions 901 are stored. When the computer program instructions 901 are read and executed by a processor 902, the steps in the communication control method disclosed in the first embodiment are executed.

[0058] Optionally, the computer-readable medium 900 can be configured as a memory, and the memory runs in a computer system that builds an X86 architecture, a MIPS architecture, or an ARM architecture, and can be regarded as an electronic device with independent data and instruction storage functions. For example, the computer-readable medium 900 can also be configured as a random access memory (Random Access Memory, RAM), a read-only memory (Read Only Memory, ROM), a programmable read-only memory (Programmable Read-Only Memory, PROM), an erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), an electrically erasable read-only memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc. The computer-readable medium 900 is used to store a program, and the processor 902, after receiving the execution instruction, executes the steps in the communication control method of the battery management system in the aforementioned embodiment. From the perspective of logical architecture, the computer readable medium 900 can be configured as a memory deployed inside the single-chip microcomputer 51 of the BMS1 (for example, a solid-state storage device with non-volatile storage function inside the single-chip microcomputer 51), or it can also be configured in an electronic device whose topological architecture belongs to the BMS1 but is logically independent of the single-chip microcomputer 51, and the computer readable medium 900 establishes a data link with the single-chip microcomputer 51 through a conventional communication architecture in the prior art; or it can be configured as a mobile storage device that is logically independent of the BMS1 and establishes an active separation data link with the single-chip microcomputer 51 through an external interface (for example, TPYE-A interface, TPYE-B interface or TPYE-C interface, etc.) to import the operation logic of the communication control method in the aforementioned embodiment from the external device. This embodiment has the same technical solutions as the aforementioned embodiments, which are described above and will not be repeated here.

[0059] At the same time, the present application discloses an embodiment of a battery management system. The battery management system communicates with the transmitting end 60, and the battery management system runs the steps in the communication control method of the battery management system in the above embodiment. The battery management system is as follows Figure 3 The present embodiment has the same technical solutions as those in the above-mentioned embodiments, which are described above and will not be described again.

[0060] Ginseng Figure 4 As shown, the present application also discloses an energy storage device 200, including: at least one battery 6, a battery management system (i.e., BMS1) electrically connected to the battery 6, and the battery management system operates as in the steps of the communication control method of the battery management system in the aforementioned embodiment. This embodiment has the same technical solutions as those in the aforementioned embodiment, which are described above and will not be repeated here. The battery cells in the battery 6 include, but are not limited to, lithium iron phosphate batteries, ternary lithium batteries, sodium ion batteries, or solid-state batteries.

[0061] Based on the above embodiments, the present application finally discloses a mobile working equipment, including: a battery management system. The battery management system runs the steps in the communication control method of the battery management system disclosed in the above embodiments, and the mobile working equipment includes a drone or an unmanned ground working equipment or an unmanned surface working equipment. The technical solutions of this embodiment and the above embodiments are the same as those in the above embodiments, and will not be repeated here.

[0062] The series of detailed descriptions listed above are only specific descriptions of feasible implementation methods of the present invention. They are not intended to limit the scope of protection of the present invention. Any equivalent implementation methods or changes that do not deviate from the technical spirit of the present invention should be included in the scope of protection of the present invention.

[0063] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.

[0064] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.

Claims

1. A communication control method for a battery management system, characterized in that: include: Perform communication initialization settings on the microcontroller of the battery management system and restart the timer of the preset communication timeout period; Receive a message of a preset format corresponding to the communication thread between the single-chip microcomputer of the battery management system and the sending end, and trigger an execution action corresponding to the message conforming to the preset format; The message is parsed by the communication protocol corresponding to the communication thread, so that after successful parsing, the battery is tested according to the communication timeout period based on the current battery control strategy formed by the successful parsing to obtain battery data of a preset type; The preset type of battery data is sent to a sending end, and the sending end sends an updated battery control strategy to the battery based on the preset type of battery data, and resets a preset communication timeout period of a timer.

2. The communication control method according to claim 1, characterized in that: The performing communication initialization setting on the single-chip microcomputer of the battery management system comprises: clearing the flag bit of the register of the single-chip microcomputer of the battery management system to set the flag bit of the register to zero; The event of acquiring the preset type of battery data and sending it to the sending end, and the sending end sending the updated battery control strategy to the battery based on the preset type of battery data occurs within a communication timeout period.

3. The communication control method according to claim 2, characterized in that: After the preset type of battery data is obtained and sent to the sending end, the method further includes: the sending end receives the preset type of battery data, and sends a battery modification instruction to the battery through the communication protocol, so as to modify the battery setting parameters and / or the battery action data to be executed that match the battery modification instruction through the battery modification instruction; The battery setting parameters include setting a cycle number parameter, setting a battery capacity parameter, setting a battery SOC parameter, setting a current threshold parameter or setting a QR code parameter, or any combination thereof; The battery action data to be executed includes one of log reading data and test action execution data or any combination of the two.

4. The communication control method according to any one of claims 1 to 3, characterized in that: The communication control method further includes: Determine whether the format of the message matches the preset format of the message, If yes, jump to execute the current battery control strategy formed based on the successful analysis to detect the battery according to the communication timeout period; The parsing of the message includes: decomposing the data packets transmitted between the battery and the single-chip microcomputer and between the battery and the sending end into a packet header, a length, an instruction field, a message body, a CRC check code and a packet tail according to the communication protocol, so as to respond to the sending end sending the message; The instruction field includes a handshake instruction field, a version acquisition field, an acquisition voltage field, an acquisition temperature field, an acquisition battery management system information field, and an acquisition battery information field.

5. The communication control method according to claim 4, characterized in that: Before the communication protocol corresponding to the communication thread parses the message, the following step is also included: Determine whether the battery is in the power-on state and the battery has not reached the custom storage time; If the battery is in the on state and the battery has not reached the custom storage time, the message is parsed by the communication protocol corresponding to the communication thread; If the battery is in a shutdown state and / or the battery reaches a custom storage time, and the battery is in a balanced state, a battery modification instruction is sent to the battery through the communication protocol to modify the battery setting parameters and / or the battery action data to be executed that match the battery modification instruction.

6. The communication control method according to claim 5, characterized in that: Also includes: Apply periodic wake-up to the battery according to the set wake-up cycle according to the current state of the battery; Among them, when the battery is in the power-on state and the battery has not reached the custom storage time, the set wake-up period for periodically waking up the battery is much longer than the set wake-up period for periodically waking up the battery when the battery is in the power-off state and / or the battery reaches the custom storage time.

7. The communication control method according to claim 5, characterized in that: When the battery is in a balanced state, the communication control method further includes: determining the type of the transmitting end; If the type of the sending end is a host computer, a battery modification instruction is directly sent to the battery through the communication protocol to modify the battery setting parameters and / or battery action data to be executed that match the battery modification instruction. The host computer is a flight control system, a background server or a remote controller that communicates with the battery management system; If the type of the sending end is a charger, the battery data of the current preset type stored in the battery management system is modified by the single chip microcomputer and then responded to the charger.

8. A communication control system for a battery management system, characterized in that: include: Reset unit, communication unit and analysis control unit; The reset unit performs communication initialization settings on the single-chip microcomputer of the battery management system and restarts the timer of the preset communication timeout period; The communication unit receives a message of a preset format corresponding to a communication thread between a single chip microcomputer of the battery management system and a sending end, and triggers an execution action corresponding to the message conforming to the preset format; The parsing control unit parses the message based on the communication protocol corresponding to the communication thread, and after the parsing is successful, detects the battery according to the communication timeout period based on the current battery control strategy formed by the successful parsing, so as to obtain battery data of a preset type; The communication unit sends the preset type of battery data to the sending end, the sending end sends an updated battery control strategy to the battery based on the preset type of battery data, and the reset unit resets the preset communication timeout period of the timer.

9. A computer-readable medium, characterized in that The computer readable medium stores computer program instructions, and when the computer program instructions are read and executed by a processor, the steps of the communication control method of the battery management system according to any one of claims 1 to 7 are executed.

10. A battery management system, the battery management system communicating with the transmitting end, It is characterized in that The battery management system executes the steps in the communication control method of the battery management system according to any one of claims 1 to 7.

11. An energy storage device, characterized in that include: At least one battery is electrically connected to a battery management system of the battery, and the battery management system executes the steps in the communication control method of the battery management system according to any one of claims 1 to 7.

12. A mobile working equipment, characterized in that: include: Battery management system; The battery management system runs the steps in the communication control method of the battery management system as described in any one of claims 1 to 7, and the mobile working equipment includes a drone or an unmanned ground working equipment or an unmanned surface working equipment.

Citation Information

Patent Citations

  • Exception handling method, device, equipment and medium

    CN110712560A

  • Thermal management strategy configuration method and device, computer equipment and storage medium

    CN113794254A

  • Reconstruction method applied to battery management system, sniffer, equipment and medium

    CN117155822A

  • Vehicle storage battery management method and system

    CN118971282A

  • Power battery pack thermal management control system and method

    CN119447611A