State switching method and system of wireless BMS and storage medium

By saving and utilizing the configuration information of state switching and rollback in the wireless BMS, the problem of inconsistent power consumption before and after the state switching of the slave node is solved, and the accuracy of power consumption control is improved.

CN120980656APending Publication Date: 2025-11-18SUNWODA MOBILITY ENERGY TECHNOLOGY CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511356477.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-19
Publication Date
2025-11-18

AI Technical Summary

Technical Problem

In existing wireless BMS technology, the power consumption of slave nodes is inconsistent before state switching and after fallback, resulting in inaccurate power consumption control.

Method used

When a slave node receives a state switching command, it acquires and saves the configuration information of the first state, and rolls back to the first state from the second state according to the configuration information during rollback, ensuring the consistency of power consumption.

Benefits of technology

By saving and utilizing configuration information for state switching and rollback, the accuracy of power consumption control is improved, avoiding the problem of inconsistent power consumption of slave nodes before switching and after rollback.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120980656A_ABST
    Figure CN120980656A_ABST
Patent Text Reader

Abstract

The invention discloses a state switching method and system of a wireless BMS and a storage medium. The method comprises the steps that a slave node judges whether a state switching instruction sent by a master node is received or not; when a state switching instruction is received, obtaining and storing first configuration information of a first state; responding to the state switching instruction, and switching the first state to a second state; and when a state rollback instruction is received, responding to the state rollback instruction, and according to the first configuration information, rollback the configuration of the second state to the configuration of the first state. According to the invention, the slave node stores the configuration information of the state before the state is switched and then is switched, so that the configuration corresponding to the state can be restored according to the configuration information of the state in the back-off state, and the back-off state is realized by utilizing the configuration information, thereby avoiding the problem that the power consumption of the slave node is inconsistent before the state is switched and after the state is back-off, and improving the power consumption of the slave node. And the power consumption control precision is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of power battery management, and in particular relates to a state switching method and system of a wireless BMS and a storage medium. BACKGROUND

[0002] Using a power battery as power has become the first choice for various electric equipment such as automobiles and ships. Generally, a power battery includes multiple single batteries, and in the running process, the working conditions of the single batteries often need to be monitored by a slave node (Cell Supervision Circuit, CSC, single battery monitoring unit) in a wireless BMS (Battery Management System, battery management system).

[0003] In the current wireless BMS technology, the slave node has multiple states (sleep state, working state, etc.), and the power consumption of each state of the slave node is fixed. When the slave node is switched from a first state to a second state and then back to the first state, since the configuration of the slave node has not been completely backed up during the backtracking process, the slave node determines that the first state has been backed up completely, resulting in inconsistent power consumption of the first state before switching and after backtracking, and inaccurate power consumption control.

[0004] Therefore, there is still an urgent need for a state switching method of a wireless BMS that can improve the accuracy of power consumption control. SUMMARY

[0005] The main purpose of the present application is to provide a state switching method, system and storage medium of a wireless BMS, which solves the problem of inconsistent power consumption of the slave node before switching and after backtracking, and inaccurate power consumption control.

[0006] To achieve the above purpose, the present application provides a state switching method of a wireless BMS, which comprises: The slave node determines whether a state switching instruction sent by a master node is received, wherein the state switching instruction is used to indicate switching from a first state to a second state, the first state is a sleep state, and the second state is a working state, or the first state is a working state, and the second state is a sleep state; When the state switching instruction is received, first configuration information of the first state is obtained and saved, wherein the first configuration information is information of the configuration when the slave node is in the first state; In response to the state switching instruction, the first state is switched to the second state; Upon receiving a state rollback instruction, in response to the state rollback instruction, the configuration of the second state is rolled back to the configuration of the first state according to the first configuration information, wherein the state rollback instruction is used to indicate rolling back from the second state to the first state.

[0007] In some embodiments, the slave node includes a clock, an analog-to-digital converter, and a wireless module; acquiring and saving the first configuration information of the first state includes: Acquire the first frequency division value of the clock, the first operating mode of the analog-to-digital converter, and the first communication mode of the wireless module in the first state; The clock's first division value, the analog-to-digital converter's first operating mode, and the wireless module's first communication mode are stored.

[0008] In some embodiments, the step of reverting the second configuration of the second state to the first configuration of the first state based on the first configuration information includes: The clock division value is reverted from the second division value in the second state to the first division value; The operating mode of the analog-to-digital converter is reverted from the second operating mode of the second state to the first operating mode; The communication mode of the wireless module is reverted from the second communication mode in the second state to the first communication mode.

[0009] In some embodiments, switching the first state to the second state includes: Check whether the second configuration information of the second state is saved; When the second configuration information is saved, the first configuration of the first state is rolled back to the second configuration of the second state according to the second configuration information; If the second configuration information is not saved, switch the first state to the second state.

[0010] In some embodiments, the second configuration information includes a second frequency division value of the clock, a second operating mode of the analog-to-digital converter, and a second communication mode of the wireless module; before responding to the state rollback command, it further includes: Acquire the second frequency division value of the clock in the second state, the second operating mode of the analog-to-digital converter, and the second communication mode of the wireless module; The second division value of the clock, the second operating mode of the analog-to-digital converter, and the second communication mode of the wireless module are stored.

[0011] In some embodiments, prior to responding to the state transition instruction, the method further includes: Detect each capacitor in the wireless module and obtain the charge of each capacitor; Determine whether the charge of each capacitor is greater than zero; When the charge on the capacitor is greater than zero, a discharge operation is performed on the capacitor to reduce the charge on the capacitor to zero.

[0012] In some embodiments, prior to responding to the state transition instruction, the method further includes: Check for any unexecuted interrupt instructions; If the unexecuted interrupt instruction exists, clear the unexecuted interrupt instruction.

[0013] In some embodiments, determining whether the slave node has received a state switching instruction from the master node includes: Real-time monitoring of the state switching commands; Upon receiving the state switching instruction, it is determined that the state switching instruction has been received; If the state switching instruction is not detected, it is determined that the state switching instruction has not been received.

[0014] The present invention also proposes a state switching system for a wireless BMS, the state switching system for a wireless BMS including a slave node and a master node, the state switching system for a wireless BMS capable of executing the state switching method for a wireless BMS described in any of the above.

[0015] The present invention also proposes a storage medium storing a computer program, the computer program including program instructions, which, when executed by a processor, enable the processor to perform the state switching method of the wireless BMS described above.

[0016] When the slave node receives a state switching command from the master node, it first acquires and saves the first configuration information of the first state, and then switches the first state to the second state. When it receives a state rollback command, it can restore the configuration corresponding to the first state according to the first configuration information, thereby rolling back the second state to the first state. By saving the state configuration information before switching states, the slave node can restore the configuration corresponding to the state according to the state configuration information when rolling back states, thus avoiding the problem of inconsistent power consumption between the slave node's state before switching and after rolling back, and improving the accuracy of power consumption control. Attached Figure Description

[0017] Figure 1 This is a flowchart illustrating the state switching method of the wireless BMS in an embodiment of the present invention. Figure 2This is another flowchart illustrating the state switching method of the wireless BMS in an embodiment of the present invention; Figure 3 This is another flowchart illustrating the state switching method of the wireless BMS in an embodiment of the present invention; Figure 4 This is another flowchart illustrating the state switching method of the wireless BMS in an embodiment of the present invention; Figure 5 This is another flowchart illustrating the state switching method of the wireless BMS in an embodiment of the present invention; Figure 6 This is another flowchart illustrating the state switching method of the wireless BMS in an embodiment of the present invention; Figure 7 This is another flowchart illustrating the state switching method of the wireless BMS in an embodiment of the present invention; Figure 8 This is another flowchart illustrating the state switching method of the wireless BMS in an embodiment of the present invention; Figure 9 This is a schematic diagram of the state switching system of the wireless BMS according to an embodiment of the present invention; Figure 10 This is a schematic diagram of the state switching device of the wireless BMS according to an embodiment of the present invention.

[0018] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0019] The solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0020] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative positional relationship and movement of each component in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indication will also change accordingly.

[0021] It should also be noted that when a component is described as "fixed to" or "set on" another component, it can be directly on the other component or there may be an intervening component present. When a component is described as "connected to" another component, it can be directly connected to the other component or there may be an intervening component present.

[0022] Furthermore, the use of terms such as "first" and "second" in this invention is for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of that feature. Additionally, the technical solutions of the various embodiments can be combined with each other, but only on the basis of being achievable by those skilled in the art. When the combination of technical solutions is contradictory or impossible to implement, such a combination of technical solutions should be considered non-existent and not within the scope of protection claimed by this invention.

[0023] To achieve the above objectives, this invention proposes a state switching method for a wireless BMS, which includes: Step S110: The slave node determines whether it has received a state switching instruction sent by the master node; Step S120: Upon receiving a state switching instruction, acquire and save the first configuration information of the first state; Step S130: In response to the state switching command, switch the first state to the second state; Step S140: Upon receiving a state rollback instruction, respond to the state rollback instruction and roll back the configuration of the second state to the configuration of the first state according to the first configuration information; The state switching instruction is used to indicate a switch from the first state to the second state, where the first state is a sleep state and the second state is a working state, or the first state is a working state and the second state is a sleep state; the first configuration information is the configuration information of the slave node when it is in the first state; and the state rollback instruction is used to indicate a rollback from the second state to the first state.

[0024] In this embodiment, refer to Figure 1 and Figure 9 The state switching method for a wireless BMS can be applied to a wireless BMS state switching system. The wireless BMS state switching system includes a slave node and a master node; the slave node can be configured on a single battery cell. Specifically, the slave node can be a single battery cell monitoring unit, capable of monitoring the single battery cell. The slave node can wirelessly communicate with the master node to obtain monitoring commands sent by the master node, and thus monitor the single battery cell purposefully according to the monitoring commands. In this embodiment, the slave node is the executing entity of the method steps.

[0025] It is understandable that a slave node can include multiple states (sleep state, working state, etc.) and can switch states as needed. For example, a slave node can switch from a sleep state to a working state, or vice versa. The power consumption corresponding to each state of the slave node is fixed. When a slave node switches from a first state to a second state and then back to the first state, because the slave node's configuration has not been fully rolled back during the rollback process, the slave node determines that the first state rollback is complete. This results in an inconsistency between the power consumption of the first state before the switch and the power consumption of the first state after the rollback, causing inaccurate power consumption control. In this embodiment, the slave node saves the state configuration information before switching states, so that when rolling back states, the configuration corresponding to the state can be restored based on the state configuration information, thus avoiding the problem of inconsistent power consumption before and after the switch and improving the accuracy of power consumption control.

[0026] The state transition command indicates a switch from the first state to the second state; the state rollback command indicates a rollback from the second state to the first state. The first state can be a sleep state and the second state can be a working state, or the first state can be a working state and the second state can be a sleep state. The first configuration information is the configuration information of the slave node when it is in the first state.

[0027] A slave node can determine whether it has received a state transition command from the master node. This command instructs the slave node to switch from a first state to a second state. The first state refers to the state the slave node was in before receiving the command. For example, the first state might be sleep, and the second state might be active. When the slave node is in sleep mode, it can continuously listen to the master node to determine if it has received the command. If no command is received, the slave node can remain in sleep mode.

[0028] Upon receiving a state transition command, the slave node can first acquire and save the first configuration information of the first state. When the slave node receives the state transition command, it can scan the first configuration of the first state to obtain the first configuration information, and then save it. The slave node may include a storage module; the slave node can store the first configuration information in the storage module. For example, when the slave node is in a sleep state and receives a state transition command, it can scan the sleep configuration of the sleep state to obtain the sleep configuration information, and then save it.

[0029] After saving the initial configuration information, the slave node can respond to state switching commands. Responding to these commands allows the slave node to switch from the first state to the second state. For example, after saving the sleep configuration information, the slave node can respond to the state switching command and switch from sleep to working state.

[0030] After a slave node switches from the first state to the second state, it can continue to listen to the master node to determine whether it has received a state rollback command from the master node. The state rollback command instructs the slave node to roll back from the second state to the first state. For example, after a slave node switches from a sleep state to a working state, it can remain in the working state until it receives a state rollback command.

[0031] Upon receiving a state rollback command, the slave node can respond by reverting the second configuration of the second state to the first configuration of the first state based on the first configuration information. Specifically, upon receiving the command, the slave node retrieves the first configuration information from the storage module and then reverts the second configuration of the second state to the first configuration of the first state, thus rolling back the state according to the configuration. For example, if a slave node switches from sleep to working state and then receives a state rollback command, it can retrieve the previously saved sleep configuration information and revert the working configuration of the working state to the sleep configuration of the sleeping state, thereby rolling back the working state to the sleep state.

[0032] In this embodiment, when a slave node receives a state switching command from the master node, it first acquires and saves the first configuration information of the first state, and then switches the first state to the second state. When it receives a state rollback command, it can restore the configuration corresponding to the first state according to the first configuration information, thereby rolling back the second state to the first state. By saving the state configuration information before switching states, the slave node can roll back the state according to the state configuration information when rolling back, thus avoiding the problem of inconsistent power consumption between the slave node's state before switching and after rolling back, and improving the accuracy of power consumption control.

[0033] In some embodiments, the slave node includes a clock, an analog-to-digital converter, and a wireless module; the aforementioned acquisition and storage of the first configuration information of the first state includes: Step S150: Obtain the first frequency division value of the clock in the first state, the first operating mode of the analog-to-digital converter, and the first communication mode of the wireless module; Step S151: Save the first frequency division value of the clock, the first operating mode of the analog-to-digital converter, and the first communication mode of the wireless module.

[0034] In this embodiment, refer to Figure 2 When executing step S120, the slave node can obtain multiple configuration information. The slave node includes a clock, an analog-to-digital converter, and a wireless module; the first configuration in the first state may include the first configuration of the clock (first division value), the first configuration of the analog-to-digital converter (first operating mode), and the first configuration of the wireless module (first communication mode). The slave node can scan the clock, analog-to-digital converter, and wireless module in the first state to obtain the first division value of the clock, the first operating mode of the analog-to-digital converter, and the first communication mode of the wireless module.

[0035] The slave node may include a storage module. After obtaining the first frequency division value of the clock, the first operating mode of the analog-to-digital converter, and the first communication mode of the wireless module, the slave node can save these three parameters in the storage module. Specifically, the slave node can first associate the first frequency division value of the clock, the first operating mode of the analog-to-digital converter, and the first communication mode of the wireless module with a first state before saving them into the storage module.

[0036] In some embodiments, the aforementioned process of reverting the second configuration of the second state to the first configuration of the first state based on the first configuration information includes: Step S160: The clock division value is rolled back from the second division value in the second state to the first division value; Step S161: The operating mode of the analog-to-digital converter is reverted from the second operating mode of the second state to the first operating mode. Step S162: The communication mode of the wireless module is reverted from the second communication mode in the second state to the first communication mode.

[0037] In this embodiment, refer to Figure 3 When the slave node executes step S140, it rolls back the configurations of the clock, analog-to-digital converter, and wireless module. The second configuration in the second state may include a second configuration of the clock (second division value), a second configuration of the analog-to-digital converter (second operating mode), and a second configuration of the wireless module (second communication mode). The slave node rolling back the second configuration of the second state to the first configuration of the first state based on the first configuration information may involve rolling back the clock's division value from the second division value of the second state to the first division value, rolling back the operating mode of the analog-to-digital converter from the second operating mode of the second state to the first operating mode, and rolling back the communication mode of the wireless module from the second communication mode of the second state to the first communication mode.

[0038] In a preferred embodiment, when the slave node reverts the second configuration of the second state to the first configuration of the first state according to the first configuration information, the slave node may update the clock division value to the first division value, update the operating mode of the analog-to-digital converter to the first operating mode, and update the communication mode of the wireless module to the first communication mode.

[0039] In some embodiments, the aforementioned switching from the first state to the second state includes: Step S170: Check whether the second configuration information of the second state is saved; Step S171: When the second configuration information is saved, the first configuration of the first state is rolled back to the second configuration of the second state according to the second configuration information; Step S172: If the second configuration information is not saved, switch the first state to the second state.

[0040] In this embodiment, refer to Figure 4 When executing step S130, the slave node can also, if it has saved the second configuration information, roll back the first configuration of the first state to the second configuration of the second state based on the second configuration information. The second configuration information refers to the configuration information of the slave node when it is in the second state. The slave node can first check whether the second configuration information of the second state is saved. The slave node may include a storage module. For example, the slave node can scan the storage module to determine whether the second configuration information of the second state is saved.

[0041] When a slave node determines that it has saved the second configuration information, it can extract the information from the storage module to obtain the second configuration. After obtaining the second configuration information, the slave node can revert the first configuration of the first state to the second configuration of the second state. For example, if the first state is sleep and the second state is working, and the second configuration information (working configuration information) is saved, the slave node can revert the sleep configuration of the sleep state to the working configuration of the working state, thus reverting from sleep to working. If the slave node determines that it has not saved the second configuration information, it will directly switch from the first state to the second state.

[0042] In some embodiments, the second configuration information includes a second division value of the clock, a second operating mode of the analog-to-digital converter, and a second communication mode of the wireless module; prior to the aforementioned response state rollback instruction, it also includes: Step S180: Obtain the second frequency division value of the clock in the second state, the second operating mode of the analog-to-digital converter, and the second communication mode of the wireless module; Step S181: Save the second frequency division value of the clock, the second operating mode of the analog-to-digital converter, and the second communication mode of the wireless module.

[0043] In this embodiment, refer to Figure 5 Before executing step S140, the slave node can save the second configuration information for the second state. The second configuration information for the second state includes the second division value of the clock, the second operating mode of the analog-to-digital converter, and the second communication mode of the wireless module. The slave node can scan the clock, analog-to-digital converter, and wireless module for the second state to obtain the second division value of the clock, the second operating mode of the analog-to-digital converter, and the second communication mode of the wireless module.

[0044] The slave node may include a storage module. After obtaining the second division value of the clock, the second operating mode of the analog-to-digital converter, and the second communication mode of the wireless module, the slave node can save these information in the storage module. Specifically, the slave node can first associate the second division value of the clock, the second operating mode of the analog-to-digital converter, and the second communication mode of the wireless module with a second state before saving them into the storage module.

[0045] In some embodiments, prior to the aforementioned response state switching instruction, the following further includes: Step S190: Detect each capacitor in the wireless module and obtain the charge amount of each capacitor; Step S191: Determine whether the charge of each capacitor is greater than zero; Step S192: When the charge of the capacitor is greater than zero, perform a discharge operation on the capacitor to reduce the charge of the capacitor to zero.

[0046] In this embodiment, refer to Figure 6 Before executing step S130, the slave node can also detect the charge of each capacitor in the wireless module. The slave node can detect the charge of each capacitor in the wireless module. For example, the slave node can detect the voltage at the input and output terminals of each capacitor in the wireless module, and then calculate the charge based on the formula: charge equals capacitance value multiplied by voltage. Capacitance value is a physical quantity that measures the ability of a capacitor to store charge.

[0047] By obtaining the charge of each capacitor from the slave node, it can determine whether the charge of each capacitor is greater than zero, thus confirming that each capacitor is fully discharged. When the charge of a capacitor is equal to zero, the slave node can determine that the capacitor is fully discharged, and at this time, the slave node can directly respond to the state switching command.

[0048] When the charge on a capacitor is greater than zero, the slave node can perform a discharge operation on the capacitor to reduce its charge to zero. However, the residual charge on the capacitor may cause the internal circuitry of the wireless module to remain in a non-zero initial state, leading to logical errors after state switching. The discharge operation is equivalent to a hardware reset of the wireless module. The slave node can also detect capacitors in other modules. For example, it can detect the capacitors of clocks and analog-to-digital converters, and perform a discharge operation on these capacitors when their charge is greater than zero, reducing their charge to zero.

[0049] In some embodiments, prior to the aforementioned response state switching instruction, the following further includes: Step S200: Detect whether there is an unexecuted interrupt instruction; Step S201: If there are unexecuted interrupt instructions, clear the unexecuted interrupt instructions.

[0050] In this embodiment, refer to Figure 7 Before executing step S130, the slave node also checks for any unexecuted interrupt instructions. The slave node may also include an interrupt pending register. The interrupt pending register is used to store unexecuted interrupt instructions. The slave node can check the interrupt pending register to determine if it contains any unexecuted interrupt instructions, thereby confirming the existence of any unexecuted interrupt instructions.

[0051] When unexecuted interrupt instructions exist, the slave node first disables global interrupts and then clears the unexecuted interrupt instructions stored in the interrupt pending register. By clearing unexecuted interrupt instructions, the slave node ensures that it remains in a controllable state during state transitions, avoiding interference from asynchronous events. When no unexecuted interrupt instructions exist, the slave node can directly respond to state transition instructions.

[0052] In some embodiments, the aforementioned process of the slave node determining whether it has received a state switching instruction from the master node includes: Step S210: Monitor state switching commands in real time; Step S211: Upon receiving a state switching instruction, confirm that the state switching instruction has been received; Step S212: If no state switching instruction is detected, it is determined that no state switching instruction has been received.

[0053] In this embodiment, refer to Figure 8 When executing step S110, the slave node can monitor the master node in real time. The slave node can listen to the master node in real time, thereby listening for state switching commands. For example, the slave node's wireless module includes a radio frequency (RF) chip, which can capture air signals in real time, thus listening for state switching commands.

[0054] Upon detecting a state transition command, the slave node can determine that it has received the command. Conversely, if it does not detect a state transition command, the slave node can determine that it has not received it. For example, an RF chip captures air signals in real time. If it captures an air signal that contains a state transition command, the slave node can determine that it has received the command. If it does not capture an air signal, the slave node can determine that it has not received the command.

[0055] This invention addresses the issue where, upon receiving a state switching command from the master node, the slave node first acquires and saves the first configuration information for the first state before switching to the second state. Upon receiving a state rollback command, it can restore the configuration corresponding to the first state based on the first configuration information, thereby rolling back the second state to the first state. By saving the state configuration information before switching, the slave node can restore the corresponding state configuration based on the configuration information during rollback, thus avoiding the inconsistency in power consumption between the slave node's state before and after switching, thereby improving the accuracy of power consumption control.

[0056] The present invention also proposes a state switching system for a wireless BMS, the state switching system for a wireless BMS including a slave node and a master node, the state switching system for a wireless BMS capable of executing the state switching method for a wireless BMS described in any of the above.

[0057] In this embodiment, refer to Figure 9 The wireless BMS state switching system includes slave nodes and master nodes; slave nodes can be configured on individual battery cells. Each slave node can be a single-cell battery monitoring unit, capable of monitoring individual battery cells. Slave nodes can wirelessly communicate with the master node to receive monitoring commands and then monitor individual battery cells accordingly. Slave nodes can include multiple states (sleep state, operating state, etc.) and can switch states as needed. Before switching states, the slave node saves the state configuration information. This allows for state rollback by restoring the configuration information of the previous state, thus avoiding inconsistencies in power consumption before and after state switching and improving the accuracy of power consumption control.

[0058] The state switching device for a wireless BMS in this embodiment of the invention can be a processor capable of running a state switching method for a wireless BMS; there is at least one processor. Figure 10As shown, the wireless BMS state switching device may include: a processor 1001 (e.g., CPU), a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. The communication bus 1002 is used to establish communication between these components. The user interface 1003 may include a display screen and an input unit, such as a keyboard. Optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be high-speed RAM or non-volatile memory, such as a disk drive. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0059] Those skilled in the art will understand that Figure 10 The state switching device structure of the wireless BMS shown does not constitute a limitation on the state switching device of the wireless BMS. It may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0060] like Figure 10 As shown, the memory 1005, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and computer programs.

[0061] exist Figure 10 In the wireless BMS state switching device shown, the network interface 1004 is mainly used to connect to the backend server and communicate with the backend server; the user interface 1003 is mainly used to connect to the client (user terminal) and communicate with the client; and the processor 1001 can be used to call the computer program stored in the memory 1005. When the computer program is called and executed by the processor 1001, it implements the steps of the wireless BMS state switching method described above.

[0062] The present invention also proposes a storage medium storing a computer program, the computer program including program instructions, which, when executed by a processor, enable the processor to perform the state switching method of the wireless BMS described above.

[0063] The above description is only a part or preferred embodiment of the present invention. Neither the text nor the drawings should limit the scope of protection of the present invention. All equivalent structural transformations made using the content of the present invention specification and drawings under the overall concept of the present invention, or direct / indirect applications in other related technical fields, are included within the scope of protection of the present invention.

Claims

1. A state switching method for a wireless BMS, characterized in that, The wireless BMS state switching method includes: The slave node determines whether it has received a state switching instruction sent by the master node. The state switching instruction is used to indicate a switch from a first state to a second state, wherein the first state is a sleep state and the second state is a working state, or the first state is a working state and the second state is a sleep state. Upon receiving the state switching instruction, the first configuration information of the first state is obtained and saved, wherein the first configuration information is the configuration information of the slave node when it is in the first state; In response to the state switching command, the first state is switched to the second state; Upon receiving a state rollback instruction, in response to the state rollback instruction, the configuration of the second state is rolled back to the configuration of the first state according to the first configuration information, wherein the state rollback instruction is used to indicate rolling back from the second state to the first state.

2. The wireless BMS state switching method according to claim 1, characterized in that, The slave node includes a clock, an analog-to-digital converter, and a wireless module; The step of acquiring and saving the first configuration information of the first state includes: Acquire the first frequency division value of the clock, the first operating mode of the analog-to-digital converter, and the first communication mode of the wireless module in the first state; The clock's first division value, the analog-to-digital converter's first operating mode, and the wireless module's first communication mode are stored.

3. The wireless BMS state switching method according to claim 2, characterized in that, The step of reverting the second configuration of the second state to the first configuration of the first state based on the first configuration information includes: The clock division value is reverted from the second division value in the second state to the first division value; The operating mode of the analog-to-digital converter is reverted from the second operating mode of the second state to the first operating mode; The communication mode of the wireless module is reverted from the second communication mode in the second state to the first communication mode.

4. The wireless BMS state switching method according to claim 1, characterized in that, Switching from the first state to the second state includes: Check whether the second configuration information of the second state is saved; When the second configuration information is saved, the first configuration of the first state is rolled back to the second configuration of the second state according to the second configuration information; If the second configuration information is not saved, switch the first state to the second state.

5. The wireless BMS state switching method according to claim 4, characterized in that, The second configuration information includes a second frequency division value for the clock, a second operating mode for the analog-to-digital converter, and a second communication mode for the wireless module; before responding to the state rollback command, it also includes: Acquire the second frequency division value of the clock in the second state, the second operating mode of the analog-to-digital converter, and the second communication mode of the wireless module; The second division value of the clock, the second operating mode of the analog-to-digital converter, and the second communication mode of the wireless module are stored.

6. The state switching method for a wireless BMS according to claim 2, characterized in that, Before responding to the state switching command, the method further includes: Detect each capacitor in the wireless module and obtain the charge of each capacitor; Determine whether the charge of each capacitor is greater than zero; When the charge on the capacitor is greater than zero, a discharge operation is performed on the capacitor to reduce the charge on the capacitor to zero.

7. The state switching method for a wireless BMS according to claim 1, characterized in that, Before responding to the state switching command, the method further includes: Check for any unexecuted interrupt instructions; If the unexecuted interrupt instruction exists, clear the unexecuted interrupt instruction.

8. The state switching method for a wireless BMS according to claim 1, characterized in that, The process of determining whether a slave node has received a state switching instruction from the master node includes: Real-time monitoring of the state switching commands; Upon receiving the state switching instruction, it is determined that the state switching instruction has been received; If the state switching instruction is not detected, it is determined that the state switching instruction has not been received.

9. A state switching system for a wireless BMS, characterized in that, The wireless BMS state switching system includes slave nodes and master nodes, and the wireless BMS state switching system is capable of executing the wireless BMS state switching method according to any one of claims 1 to 8.

10. A storage medium, characterized in that, The storage medium stores a computer program, which includes program instructions that, when executed by a processor, enable the processor to perform the state switching method of the wireless BMS as described in any one of claims 1 to 8.