Battery pack fault active monitoring method and system

By generating a loop confirmation frame in the main control chip's sleep monitoring mode to quickly detect the chip link connectivity and wake up the slave chip to perform fault measurement, the problem of long-term power consumption of the power battery pack in active monitoring mode is solved, and low-power fast fault detection and handling are realized.

CN120886660AActive Publication Date: 2025-11-04SHANG HAI DA & XIN YUAN WEI DIAN ZI YOU XIAN GONG SI

Patent Information

Application Number
CN202511406327.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-29
Publication Date
2025-11-04
Estimated Expiration
2045-09-29

AI Technical Summary

Technical Problem

In existing technologies, the AFE chip of the power battery pack is online for a long time in active monitoring mode, resulting in significant power consumption and easy power battery depletion when parked for a long time or turned off.

Method used

The main control chip generates a loop confirmation frame in sleep monitoring mode to identify the chip link connectivity and wake up the slave chip for fault measurement. The loop confirmation frame quickly detects link connectivity and wakes up the slave chip, ensuring that the slave chip responds quickly when there is a need for use. After fault detection, the MCU is woken up to query the fault frame.

Benefits of technology

It enables rapid detection of power battery faults under low power consumption conditions, reduces power consumption, shortens fault handling time, reduces maintenance costs, and ensures the safety and reliability of power batteries.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120886660A_ABST
    Figure CN120886660A_ABST
Patent Text Reader

Abstract

The invention provides a battery pack fault active monitoring method and system, a main control chip and a micro-control unit, and the method comprises chip link interaction of at least one slave chip, and the method applied to the main control chip comprises the steps: sending a loop acknowledgement frame to a chip link in a wake-up state of a sleep monitoring mode, identifying the connectivity of the chip link, and initiating an awakening operation on each slave chip in a dormant state of the dormant monitoring mode on the chip link; under the condition that the connectivity of the chip link is normal, receiving a fault frame which is provided by the slave chips for performing fault measurement on the adaptive power batteries in the awakening state and indicates that faults exist, and forming a power battery pack by the power batteries adaptive to the slave chips respectively; and in response to the received fault frame, waking up the micro-control unit in the low-power-consumption state, and triggering the micro-control unit to query the slave chip reporting the fault frame. According to the invention, rapid response of the slave chip can be ensured when a use demand exists, the response flexibility is ensured, and the fault processing time can be shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power battery technology, and in particular to a method and system for active monitoring of battery pack faults. Background Technology

[0002] With the increasing number of new energy vehicles, the installed capacity of power batteries is also rising continuously. Since power batteries are prone to fires and explosions if they malfunction, threatening personal safety, higher demands are being placed on the safety management of automotive batteries.

[0003] As the core component of the entire BMS (Battery Management System), the AFE (Analog Front End) chip is directly responsible for monitoring the status of the power battery, including faults such as OV (Overvoltage), UV (Undervoltage), OT (Overtemperature), and UT (Undertemperature). The effective implementation of active monitoring mode in the AFE chip is of great significance for improving battery safety management.

[0004] In typical hybrid and electric vehicle configurations, the BMU (Battery Management Unit) is powered by a 12V battery. To support functions such as remote key input, security, and battery monitoring, the battery must continue to supply power even when the vehicle is parked or turned off. After parking, to ensure the battery is in a normal state, the MCU (Microcontroller Unit) must be periodically woken up to check for faults in the high-voltage battery pack (including multiple batteries). This periodic wake-up consumes power and may cause the 12V battery to deplete prematurely. To address this, an active monitoring mode is designed, where the BMS AFE chip actively monitors the battery periodically and proactively feeds back to the MCU in case of a fault. This approach allows the MCU and PMIC (Power Management Integrated Circuits) to operate in low-power mode during active monitoring, thereby conserving battery power.

[0005] In existing active monitoring schemes, each chip enters active monitoring mode upon receiving a command. Each chip has an internal timer, and the timing of this timer varies between chips. Upon reaching the set time, the chip begins measuring for faults in the connected power battery, such as overvoltage (OV), undervoltage (UV), overtemperature (OT), and undertemperature (UT). After measurement, the front-end chip sends characteristic signals to the back-end chip. The front-end chip sends an adaptation signal based on the battery measurement: a heartbeat signal if the battery is in a non-faulty state, and a fault signal if it is in a faulty state. Both signals propagate along the battery chain and are sent periodically. In most cases, the power battery is fault-free, and the back-end chip receives the heartbeat signal from the front-end chip. Since the back-end chip cannot know the timing of the front-end chip's signal transmission, it needs to perform real-time monitoring and set a predetermined time threshold. If no heartbeat signal is received within the predetermined time threshold, a connection fault is identified, and a fault signal needs to be transmitted. This processing method requires each downstream chip to monitor the signals provided by the upstream chip in real time, and the corresponding circuits are always in operation. The chip includes a communication module and a monitoring module (used to monitor the power battery's overvoltage (OV), undervoltage (UV), overtemperature (OT), and undertemperature (UT) states). The communication module, which monitors the heartbeat signal at the port, operates continuously, while the monitoring module operates after a timer expires (i.e., the monitoring module operates periodically). Therefore, although the MCU and PMIC are in a low-power state in active monitoring mode, the AFE chip still operates to a certain extent for extended periods, consuming power from the power battery. This consumption is significant during prolonged periods of parking or engine shutdown. Summary of the Invention

[0006] This application provides a method and system for active monitoring of battery pack faults to solve the problem in the prior art where the AFE chip is online for a long time and continuously consumes power in the active monitoring mode, which makes the power battery prone to depletion when the vehicle is parked for a long time.

[0007] In a first aspect, embodiments of this application provide a method for active monitoring of battery pack faults, applied to a main control chip, wherein the main control chip interacts with a microcontroller unit (MCU) and a chip link, the chip link including at least one slave chip, and the method includes: In the wake-up state of the sleep monitoring mode, based on the loop confirmation frame sent to the chip link, the connectivity of the chip link is identified and the wake-up operation of each slave chip on the chip link is initiated. The slave chips on the chip link are in the sleep state of the sleep monitoring mode. The sleep monitoring mode supports cyclic switching between the wake-up state and the sleep state. When the connectivity of the chip link is normal, a fault frame indicating a fault is received from the slave chip in the measurement mode of the wake-up state, which performs fault measurement on the adapted power battery. The power batteries adapted by the at least one slave chip respectively constitute a power battery pack. In response to receiving a fault frame provided by the slave chip, the MCU in a low-power state is woken up to trigger the MCU to revisit the chip link and query the slave chip that reported the fault frame; When the main control chip and the slave chip are in sleep monitoring mode, the MCU is in low power state, and after the MCU is woken up, it switches to running state to perform a follow-up visit.

[0008] Secondly, embodiments of this application provide a battery pack fault active monitoring method, applied to a slave chip in a chip chain, wherein the chip chain interacts with a master control chip, the master control chip interacts with a microcontroller unit (MCU), and the chip chain includes at least one slave chip; the method includes: In the sleep state of the sleep monitoring mode, in response to receiving the loop confirmation frame sent by the main control chip, the system switches to the wake-up state and forwards the loop confirmation frame along the chip link. The sleep monitoring mode supports cyclic switching between the wake-up state and the sleep state. The loop confirmation frame is sent when the main control chip is in the wake-up state of the sleep monitoring mode and is transmitted step by step along the chip link to wake up each slave chip. In the measurement mode of the wake-up state, the adapted power battery is subjected to fault measurement. Based on the measurement results of the power battery having a fault, a fault frame indicating the presence of a fault is generated and transmitted along the chip link. The power batteries adapted to at least one slave chip constitute a power battery pack. The loop confirmation frame returned to the master control chip is used to verify the normal connectivity of the chip link. When the master control chip and the slave chip are in sleep monitoring mode, the MCU is in a low power state. The fault frame is transmitted step by step on the chip link. The fault frame transmitted to the master control chip is used to wake up the MCU in the low power state, so as to trigger the MCU to switch from the low power state to the running state, and in the running state, it revisits the chip link and queries the slave chip that reported the fault frame.

[0009] Thirdly, this application provides a battery pack fault active monitoring system, including: a main control chip, a microcontroller unit (MCU) and a chip link that interact with the main control chip, the chip link including at least one slave chip, and a power battery adapted to the slave chip, wherein the power batteries adapted to the at least one slave chip constitute a power battery pack. When the main control chip is in the wake-up state of the sleep monitoring mode, the main control chip sends a loop confirmation frame to the chip link. Based on the loop confirmation frame, the connectivity of the chip link is identified and the wake-up operation of each slave chip on the chip link is initiated. The slave chips on the chip link are in the sleep state of the sleep monitoring mode. The sleep monitoring mode supports cyclic switching between the wake-up state and the sleep state. The slave chip switches to wake-up state based on the loop confirmation frame, and the loop confirmation frame is transmitted step by step on the chip link to wake up each slave chip; When the connectivity of the chip link is normal, the main control chip receives a fault frame indicating a fault by the slave chip performing fault measurement on the adapted power battery in the measurement mode of the wake-up state. The master control chip wakes up the MCU in a low-power state in response to receiving a fault frame provided by the slave chip. When the master control chip and the slave chip are in sleep monitoring mode, the MCU is in a low-power state. After being woken up, the MCU switches from a low-power state to a running state. In the running state, it revisits the chip link and queries the slave chip that reported the fault frame.

[0010] In this embodiment of the technical solution, the main control chip generates a loop confirmation frame in the wake-up state of the sleep monitoring mode and sends it to the chip link. This identifies the connectivity of the chip link and initiates wake-up operations on each slave chip in the sleep monitoring mode on the chip link. The loop confirmation frame can quickly detect the link connectivity, enabling the slave chips on the chip link to enter the working state. This ensures that the slave chips can respond quickly when there is a need, guaranteeing response speed and flexibility. When the chip link connectivity is normal, the main control chip receives a fault frame indicating a fault in the power battery provided by the slave chip in the measurement mode of the wake-up state. In response to receiving the fault frame provided by the slave chip, the MCU in the low-power state is woken up. The MCU switches to the running state to revisit the chip link and query the slave chip that reported the fault frame. This facilitates targeted inspection and repair by maintenance personnel, shortens fault handling time, reduces maintenance costs, and ensures the safety and reliability of the power battery. Attached Figure Description

[0011] Figure 1 This diagram illustrates the circuit architecture for actively monitoring battery pack faults provided in an embodiment of this application. Figure 2 This illustration shows the active battery pack fault monitoring method provided in the embodiments of this application. Figure 1 ; Figure 3A The diagram illustrates the signal waveform of the first idle signal provided in an embodiment of this application. Figure 3B The waveform of the first preamble provided in the embodiments of this application is shown; Figure 3C The waveform diagram of the verification signal provided in the embodiment of this application is shown; Figure 4 This diagram illustrates the transmission of the loop acknowledgment frame provided in an embodiment of this application. Figure 5 A waveform diagram showing the feature signals provided in the embodiments of this application; Figure 6 This diagram illustrates the switching between sleep and wake-up states of the main control chip provided in this application embodiment. Figure 7 This illustration shows the active battery pack fault monitoring method provided in the embodiments of this application. Figure 2 ; Figure 8 This diagram illustrates the active battery pack fault monitoring system provided in this application embodiment. Detailed Implementation

[0012] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0013] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Multiple embodiments in this application may include two or more.

[0014] In the various embodiments of this application, it should be understood that the sequence number of each process described below does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0015] The active battery pack fault monitoring method provided in this application embodiment is applicable to Figure 1 The circuit architecture shown is in Figure 1In this configuration, the main control chip 11 interacts with the microcontroller unit 12. Both the main control chip 11 and the microcontroller unit 12 are connected to the power management chip 15. The battery management unit 10 includes the main control chip 11, the microcontroller unit 12, and the power management chip 15. The power supply battery 20 supplies power to the battery management unit 10. The main control chip 11 also interacts with the chip link 13. The chip link 13 includes at least one slave chip 131. The slave chip 131 is connected to the power battery 14 and is used for fault measurement of the power battery 14. The power battery 14 supplies power to the slave chip 131. A single slave chip 131 can be adapted to one or more power batteries 14. The power batteries 14 adapted to by at least one slave chip 131 on the chip link 13 constitute a power battery pack. Figure 1 In this paper, we will take the example of matching one power battery 14 with each chip 131 as an example.

[0016] The main control chip 11 acts as a bridge chip (communication conversion chip), connecting the microcontroller unit 12 and the chip link 13. The slave chip 131 on the chip link 13 is an analog front-end sampling chip (AFE chip), which collects battery status data (such as voltage, temperature, etc.) of the power battery 14 for fault measurement of the power battery 14.

[0017] The main control chip 11 and the slave chip 131 can switch between sleep monitoring mode and normal function mode. Sleep monitoring mode supports cyclic switching between wake-up state and sleep state, while normal function mode is a working mode that keeps the wake-up state. When working in sleep monitoring mode, by switching between wake-up state and sleep state, a rapid response can be achieved based on the wake-up mechanism, while reducing power consumption and extending service life based on the periodic sleep mechanism. When working in normal function mode, the wake-up state is always maintained, which can achieve real-time monitoring, but requires greater power consumption.

[0018] In the operating state (non-low power state), the microcontroller unit 12 controls the master control chip 11 and slave chip 131 to switch from normal function mode to sleep monitoring mode. When the master control chip 11 and slave chip 131 are in sleep monitoring mode, the microcontroller unit 12 switches to low power state. When the master control chip 11 and slave chip 131 are in normal function mode, the microcontroller unit 12 remains in the operating state.

[0019] In an optional embodiment, the master control chip 11 interacts with the microcontroller unit 12 based on the SPI (Serial Peripheral Interface) communication protocol, and the master control chip 11 interacts with the slave chip 131 based on the DIO (Differential I / O) communication protocol. The master control chip 11 can be regarded as a chip obtained by configuring the SPI_EN pin based on the AFE chip. By setting the SPI_EN pin, the master control chip 11 can switch between SPI communication mode and DIO communication mode. Compared with the slave chip 131, the master control chip 11, in addition to having the various measurement functions of the slave chip 131, also supports the SPI communication protocol. As a bridge, it can communicate directly with the microcontroller unit 12, and at the same time convert the commands transmitted by the microcontroller unit 12 in the SPI communication protocol into the communication protocol supported by the chip link 13.

[0020] It should be noted that in sleep monitoring mode, the master control chip 11 and the slave chip 131 transmit loop confirmation frames and fault frames (see the relevant description below for details on loop confirmation frames and fault frames); in normal function mode, the microcontroller unit 12 provides master control commands in specific frame formats (such as preamble-0, command, confirmation) to the master control chip 11, which then sends the master control commands to the slave chip 131, enabling both the master control chip 11 and the slave chip 131 to respond promptly. Regardless of whether in sleep monitoring mode or normal function mode, the master control chip 11 and the slave chip 131 interact based on the DIO communication protocol; when the microcontroller unit 12 is in a low-power state, it does not interact with the master control chip 11; when the microcontroller unit 12 is in running state, it interacts with the master control chip 11 based on the SPI communication protocol.

[0021] When the master control chip 11 and slave chip 131 are in sleep monitoring mode, the microcontroller unit 12 is in a low-power state. The power management chip 15 supplies power to the microcontroller unit 12. When the microcontroller unit 12 switches to the running state, the power management chip 15 also needs to switch from the low-power state to the running state to maintain power supply to the microcontroller unit 12. Alternatively, the power management chip 15 can always remain in the running state; or, the power management chip 15 can support periodic sleep mode, switching to the running state before the microcontroller unit 12 switches to the running state, so as to perform state switching in advance when the microcontroller unit 12 has power supply needs and supply power to the microcontroller unit 12 in a timely manner.

[0022] The main control chip 11 wakes up the microcontroller unit 12, which is in a low-power state, based on an IRQ (Interrupt Request). Furthermore, based on its connection with the power management chip 15, the main control chip 11 initiates an IRQ to wake up the power management chip 15, which is also in a low-power state, causing the power management chip 15 to switch to an operating state to power the woken-up microcontroller unit 12. If the power management chip 15 remains in an operating state, there is no need to initiate an IRQ for the power management chip 15. If both the power management chip 15 and the microcontroller unit 12 are in a low-power state, the timing of waking up the power management chip 15 can be earlier than the timing of waking up the microcontroller unit 12, to ensure timely power supply to the microcontroller unit 12.

[0023] The following section introduces an active fault detection method for battery packs applied to the main control chip, such as... Figure 2 As shown, the method includes the following steps: Step 201: In the wake-up state of the sleep monitoring mode, based on the loop confirmation frame sent to the chip link, identify the connectivity of the chip link, and initiate the wake-up operation of each slave chip in the sleep state of the sleep monitoring mode on the chip link.

[0024] In this embodiment, when the master control chip is operating in sleep monitoring mode, it generates a loop acknowledgment frame and sends it to the chip link after switching to wake-up mode. The loop acknowledgment frame sent by the master control chip has a dual function: first, it is used to identify the connectivity of the chip link; second, it initiates wake-up operations for each slave chip on the chip link.

[0025] The slave chip on the chip link is in a sleep state of sleep monitoring mode. After the loop confirmation frame is transmitted to the slave chip on the chip link, it drives the slave chip to switch from the sleep state of sleep monitoring mode to the wake-up state of sleep monitoring mode. This realizes that the wake-up state of the master control chip drives the slave chip to switch to the wake-up state, thereby enabling the slave chip to enter the working state. This wake-up mechanism ensures that the slave chip can respond quickly when there is a need for use, ensuring response speed and flexibility.

[0026] The chip link includes one or more slave chips. When the chip link includes only one slave chip, a wake-up operation for a single slave chip is initiated based on a loop confirmation frame. When the chip link includes at least two slave chips, the at least two slave chips are connected in a linear sequence. Each slave chip is connected to the next slave chip through one or more pins. The chain structure formed by this connection method is called a daisy chain, which is the chip link in the embodiments of this application.

[0027] The loop acknowledgment frame is sent from the output of the master control chip and propagates cascading along the chip link. The slave chip receives the loop acknowledgment frame at its input and forwards it to the next slave chip at its output. This cascading propagation method verifies the connectivity of the chip link and allows for sequential wake-up operations on slave chips based on their position on the chip link. This achieves cascading transmission of the loop acknowledgment frame provided by the master control chip, waking up each slave chip in turn.

[0028] Step 202: Under normal chip link connectivity, receive a fault frame indicating a fault is provided by the chip in the wake-up state measurement mode when performing fault measurement on the adapted power battery.

[0029] The main control chip identifies the connectivity of the chip link by sending loop acknowledgment frames. If the connectivity of the chip link is determined to be normal based on the loop acknowledgment frames, the main control chip receives fault frames indicating a fault from the slave chips on the chip link after they have activated their measurement modes and are performing fault measurements on the adapted power batteries. Each slave chip on the chip link corresponds to one or more power batteries, and the power batteries adapted to each slave chip constitute a power battery pack, thereby enabling fault monitoring of the power battery pack.

[0030] For a slave chip in the chip chain, after being woken up, it activates a measurement mode based on specific trigger conditions in the wake-up state and performs fault measurement on the adapted power battery in the measurement mode. When a fault is detected in the power battery, a fault frame is sent. If no fault is detected in the power battery, no content needs to be sent, and it waits for the arrival of a fault frame from the preceding slave chip within a set time. If no fault frame is received from the preceding slave chip within the set time, the slave chip automatically switches to a sleep state in the sleep monitoring mode to save power. If a fault frame is received from the preceding slave chip after switching to the sleep state in the sleep monitoring mode, the slave chip is woken up to forward the fault frame. For any given slave chip, it can perform fault measurement on one or more power batteries. For ease of explanation, this embodiment uses the measurement of one power battery by a single slave chip as an example.

[0031] The master control chip receives fault frames provided by one or more slave chips on the chip link. The fault frames provided by the slave chips are transmitted step by step along the chip link. For example, the fault frames provided by slave chip 1 are transmitted step by step to the master control chip along slave chip 2, slave chip 3, slave chip 4, and slave chip 5. The fault frames provided by slave chip 2 are transmitted step by step to the master control chip along slave chip 3, slave chip 4, and slave chip 5.

[0032] Step 203: In response to receiving a fault frame provided by the slave chip, wake up the microcontroller unit in a low-power state to trigger the microcontroller unit to revisit the chip link and query the slave chip that reported the fault frame; wherein, when the master control chip and the slave chip are in sleep monitoring mode, the microcontroller unit is in a low-power state, and after the microcontroller unit is woken up, it switches to the running state to revisit.

[0033] After the master control chip and slave chip switch to sleep monitoring mode, the MCU switches from running state to low-power state. In sleep monitoring mode, the master control chip responds to receiving a fault frame from the slave chip by waking up the MCU in low-power state. For example, after receiving a fault frame, the master control chip initiates an IRQ to notify the MCU, waking it up and allowing the MCU to respond subsequently. After being woken up, the MCU switches from low-power state to running state. In running state, it revisits the chip link and queries the slave chip that reported the fault frame, thereby locating the faulty power battery and facilitating targeted inspection and repair by maintenance personnel.

[0034] The master control chip receives fault frames from one or more slave chips on the chip link. To ensure timely handling of fault situations, the master control chip immediately wakes up the MCU, which is in a low-power state, upon receiving the first fault frame from a slave chip. The MCU then revisits the chip link. During the revisit, the MCU sends a revisit command to the master control chip. This command queries the fault flag and retrieves fault information. The master control chip then transmits the revisit command to the chip link, where it is transmitted sequentially from front to back. The revisit command provided by the MCU is a master control command. Based on this master control command, the master control chip and slave chips switch from sleep monitoring mode to normal function mode.

[0035] Each slave chip in the chip link has a corresponding ID (identification number). During the process of transmitting the return call command step by step in the chip link, the content is read from each slave chip to query the fault flag bit and obtain fault information based on the content provided by each slave chip, locate the slave chip that reported the fault frame, and then determine the faulty power battery.

[0036] The MCU analyzes the fault information obtained based on the callback command, determines the severity of the fault, and executes corresponding handling strategies according to the severity of the fault: for example, for minor faults, the fault information is recorded to the log file and the user is alerted through indicator lights or the user interface; for serious faults, the power is cut off in time to prevent further damage and the user is notified through the alarm system.

[0037] It should be noted that for some faults that can be temporarily ignored, the MCU can continue to configure the slave chip corresponding to the faulty power battery to ignore the current fault, and then configure the master control chip and all slave chips to continue to perform sleep monitoring in sleep monitoring mode to monitor other faults of the power battery pack.

[0038] In the above-described implementation scheme of this application, the main control chip generates a loop confirmation frame in the wake-up state of the sleep monitoring mode and sends it to the chip link. This identifies the connectivity of the chip link and initiates wake-up operations for each slave chip in the sleep monitoring mode on the chip link. Based on the loop confirmation frame, the link connectivity can be quickly detected, enabling the slave chips on the chip link to enter the working state. This ensures that the slave chips can respond quickly when there is a need, guaranteeing response speed and flexibility. When the chip link connectivity is normal, the main control chip receives a fault frame indicating a fault in the power battery provided by the slave chip in the measurement mode of the wake-up state. In response to receiving the fault frame provided by the slave chip, the MCU in the low-power state is woken up. The MCU switches to the running state to revisit the chip link and query the slave chip that reported the fault frame. This facilitates targeted inspection and repair by maintenance personnel, shortens fault handling time, reduces maintenance costs, and ensures the safety and reliability of the power battery.

[0039] The following describes the process of identifying link connectivity and waking up slave chips based on loop acknowledgment frames. When identifying the connectivity of the chip link and initiating the wake-up operation for each slave chip on the chip link based on the loop acknowledgment frame sent to the chip link, the process includes: In sleep monitoring mode, in response to entering the wake-up state based on the timed autonomous wake-up mechanism, a loop confirmation frame is generated and sent to the chip link. The slave chips on the chip link transmit the loop confirmation frame level by level. The loop confirmation frame drives the slave chip to switch from the sleep state of sleep monitoring mode to the wake-up state. If a loop confirmation frame is received from the chip link within the first preset time after the loop confirmation frame is sent, it is determined that the connectivity of the chip link is normal.

[0040] When the master control chip is awakened from its sleep monitoring mode, it generates a loop acknowledgment frame and transmits it along the chip link. Each slave chip forwards the loop acknowledgment frame to its next-level slave chip upon receiving it, thus achieving a cascading forwarding of the loop acknowledgment frame along the chip link. Finally, the loop acknowledgment frame needs to return to the master control chip along the chip link. If the loop acknowledgment frame returns to the master control chip within a first preset time after being sent, it indicates that the chip link connectivity is normal. In other words, if the master control chip receives the returned loop acknowledgment frame within the first preset time after sending the loop acknowledgment frame, it determines that the chip link connectivity is normal. This loop acknowledgment mechanism can quickly detect whether there is a connection fault in the chip link.

[0041] The loop acknowledgment frame is used to drive the slave chip to switch from sleep state to wake-up state in sleep monitoring mode. Upon receiving the loop acknowledgment frame, the slave chip in sleep state switches to wake-up state based on the trigger of the loop acknowledgment frame and forwards the loop acknowledgment frame in wake-up state. In cases where the chip link includes at least two slave chips, the slave chips arranged sequentially on the chip link forward the loop acknowledgment frame level by level, and each slave chip is woken up sequentially based on the loop acknowledgment frame, thus waking up the slave chips one by one in batches based on a single loop acknowledgment frame provided by the master control chip.

[0042] Accordingly, if no loop acknowledgment frame is received from the chip link within the first preset time after sending the loop acknowledgment frame, it is determined that the chip link has a connectivity abnormality; in response to the connectivity abnormality of the chip link, the MCU in the low power state is woken up to trigger the MCU to switch to the running state to diagnose the chip link with connectivity abnormality.

[0043] After sending a loop acknowledgment frame, if the main control chip does not receive a loop acknowledgment frame from the chip link within a set first preset time period, it determines that there is a problem with the connectivity of the chip link. It then sets the link connectivity flag (0 indicates a loop acknowledgment frame has been received, 1 indicates no loop acknowledgment frame has been received) to 1 for subsequent querying by the MCU. Additionally, the main control chip notifies the MCU via IRQ to wake up the MCU, which is in a low-power state, for subsequent response.

[0044] After being woken up, the MCU enters a running state and performs subsequent responses to diagnose and handle chip links with connectivity issues. For example, the MCU first queries the link connectivity flag of the master control chip. If the flag is 1, it indicates a link connectivity problem. While querying the link connectivity flag, the MCU triggers the master and slave chips to exit sleep monitoring mode. The MCU can clear the flag and trigger the master and slave chips to re-enter sleep monitoring mode, causing the master chip to resend a loop acknowledgment frame. Based on the loop acknowledgment frame, the chip link connectivity is verified again to rule out accidental communication errors. If a link connectivity problem is determined based on the repeatedly sent loop acknowledgment frames, the MCU sends a master control command to control the master and slave chips to switch back to normal function mode. In normal function mode, using the continuous communication data stream, the master and slave chips automatically perform open / short circuit monitoring. Based on the monitoring results, they determine if a fault exists. If a fault exists, the corresponding open / short circuit flag is set to 1. The MCU can query this flag to clarify the fault condition.

[0045] After identifying a fault, the MCU records fault information (such as fault time, fault type, and possible causes) and displays the fault information to the user through the user interface (such as a dashboard, application page, etc.) to remind the user to check or repair it. It can also trigger alarm systems (such as alarms and indicator lights) to alert the user or maintenance personnel. For faults that may pose a safety hazard, the MCU can switch to a safe mode, restricting the use of certain functions until the fault is resolved.

[0046] In the above implementation scheme, in the sleep monitoring mode, the main control chip generates a loop confirmation frame based on the current state as the wake-up state and sends it to the chip link. The transmission status of the loop confirmation frame on the chip link is used to verify the connectivity of the chip link, so as to quickly perform link connectivity detection based on the loop confirmation mechanism. In the long-term idle or low-power mode of the power battery, the slave chips on the chip link are in the sleep state of the sleep monitoring mode to save energy. The main control chip wakes up each slave chip on the chip link by sending a loop confirmation frame, so that it enters the working state. This wake-up mechanism ensures that the slave chips can respond quickly when needed, ensuring response speed and flexibility.

[0047] The following describes the scheme for triggering fault measurement by the slave chip and receiving fault frames provided by the slave chip. In this embodiment, the loop confirmation frame is a signal sequence that transmits a first idle signal, a first preamble, and a verification signal in chronological order. When the loop confirmation frame is transmitted to the input terminal of the slave chip, it triggers the slave chip to enter a wake-up time. After the wake-up time ends, the slave chip enters a wake-up state and forwards the loop confirmation frame to the next-level slave chip. The loop confirmation frame also triggers the slave chip to activate the measurement mode in the wake-up state within a second preset time after entering the wake-up state in response to receiving at least a first number of consecutive first preambles and at least one verification signal, so as to perform fault measurement on the adapted power battery. The verification signal is transmitted to the input terminal of the slave chip and then forwarded to the next slave chip after a delay time. The delay time is greater than or equal to the wake-up time.

[0048] A loop acknowledgment frame consists of three elements: a first idle signal (denoted as Idle), a first preamble (denoted as Preamble-0), and a verification signal (denoted as A). For example, a loop acknowledgment frame can be represented as {Idle, Preamble-0, A}. The first idle signal is used to initialize the communication link, the first preamble is used to identify the start of the frame, and the verification signal is used to confirm the link's connectivity and wake-up status. When transmitting a loop acknowledgment frame, the first idle signal, the first preamble, and the verification signal are transmitted sequentially, and each element is sustained for a set duration. As an example, the waveform of the first idle signal is as follows: Figure 3A As shown, the waveform of the first preamble is as follows: Figure 3B As shown, the waveform of the verification signal (such as signal A) is as follows: Figure 3CAs shown.

[0049] Figure 4 The diagram illustrates the transmission of loop acknowledgment frames. After generating a loop acknowledgment frame, the master control chip sends it to the chip link. When the loop acknowledgment frame reaches the input of slave chip 1, it triggers slave chip 1 to enter a wake-up timer, causing it to enter a wake-up state after the wake-up timer ends. After entering the wake-up state, slave chip 1 forwards the loop acknowledgment frame to its downstream slave chip 2. When the loop acknowledgment frame reaches the input of slave chip 2, it triggers slave chip 2 to enter a wake-up timer, causing it to enter a wake-up state after its wake-up timer ends. After entering the wake-up state, slave chip 2 forwards the loop acknowledgment frame to its downstream slave chip 3. When the loop acknowledgment frame reaches the input of slave chip 3, it triggers slave chip 3 to enter a wake-up timer, causing it to enter a wake-up state after its wake-up timer ends. This process continues, transmitting loop acknowledgment frames along the chip link.

[0050] For each slave chip, receiving loop acknowledgment frames and forwarding loop acknowledgment frames are two parallel processes. If, within a second preset time period after entering the wake-up state, the slave chip receives at least a first number of consecutive first preambles and at least one verification signal (such as at least 40 consecutive preamble-0s and at least one A signal), it can activate the measurement mode to perform fault measurements on the adapted power battery. The verification signal is a necessary condition for activating the measurement mode; only upon receiving the verification signal can the slave chip be activated into measurement mode. If no verification signal is received, the slave chip will automatically return to the sleep state.

[0051] exist Figure 4 In this process, a delay time (tdelay) is set for each slave chip. After the verification signal is transmitted to the input of the slave chip, the slave chip forwards the verification signal to the next slave chip after the delay time. The delay time is greater than or equal to the wake-up time. Figure 4 The diagram illustrates a delay time equal to the chip's wake-up time, designed to compensate for the lost length of the input signal during the wake-up period, thus ensuring that the length of the first preamble does not decrease as the chain propagates. Without a delay time, the frame length would gradually shorten as the loop acknowledgment frame propagates along the chip chain. This could lead to the chip not receiving a sufficiently long first preamble at later nodes, preventing it from recognizing the loop acknowledgment frame and thus failing to activate into measurement mode. This design, from a communication robustness perspective, effectively prevents unexpected noise from waking the chip and causing it to enter measurement mode.

[0052] Specifically, when receiving a fault frame indicating a fault by performing fault measurement on the adapted power battery in the measurement mode of the chip in the wake-up state, provided that the chip has a normal chip link connectivity, the following steps are included: In response to normal connectivity of the chip link, the system receives fault frames repeatedly transmitted along the chip link when the chip detects a fault in the adapted power battery in the measurement mode of the wake-up state. The fault frame is a signal sequence that transmits the second idle signal, the second preamble, and the feature signal in chronological order. The transmission of the fault frame is terminated when the MCU revisits the chip link.

[0053] For any slave chip, after performing fault measurement on the power battery in measurement mode, if a fault such as OV, UV, OT, or UT is found, the slave chip generates a fault frame indicating the presence of a fault and sends it to the next-level slave chip, so that the fault frame is transmitted to the master control chip level by level along the chip link.

[0054] A fault frame consists of three elements: a second idle signal (denoted as Idle), a second preamble (denoted as Preamble-0), and a feature signal (denoted as B). A fault frame can be represented, for example, as {Idle, Preamble-0, B}. The second idle signal is used to initialize the communication link, the second preamble is used to identify the start of the frame, and the feature signal is used for fault identification, such as identifying the fault type or fault state. When transmitting a fault frame, the second idle signal, the second preamble, and the feature signal are transmitted sequentially, and each element is sustained for a set duration. For example, the waveform of the second idle signal is as follows: Figure 3A As shown, the waveform of the second preamble is as follows: Figure 3B As shown, the waveform of the characteristic signal (such as signal B) is as follows: Figure 5 As shown.

[0055] The fault frames generated by the slave chip are repeatedly sent until the MCU revisits the chip link, at which point the transmission stops. This prevents the fault frames from being detected by the master control chip due to noise interference or other unexpected factors, thus ensuring that the fault is reliably and timely communicated to the MCU by the master control chip. Upon receiving the fault frame from the slave chip, the master control chip immediately raises its IRQ to wake up the MCU, causing the MCU to switch to running mode and promptly revisit the chip link to detect the location and type of the fault, enabling subsequent response processing.

[0056] In an optional embodiment of this application, in response to the fact that no fault frame is received from the chip within a third preset time period after the connectivity of the chip link is identified as normal, the main control chip automatically switches to a sleep state; and when the duration of the sleep state meets a preset condition, the main control chip switches to a wake-up state based on a timed autonomous wake-up mechanism; wherein, the duration of the main control chip in the sleep state is set according to the maximum allowed safe detection interval and the minimum standby power consumption.

[0057] If the main control chip detects that the chip link connectivity is normal, and if it does not receive a fault frame from the slave chip within a third preset time period (e.g., 1 second) after confirming normal chip link connectivity, it indicates that the slave chip has not detected a fault, and the main control chip can automatically return to the sleep state of the sleep monitoring mode. Furthermore, when the duration of the sleep state meets a preset condition, the main control chip switches back to the wake-up state based on a timed autonomous wake-up mechanism to perform the next round of monitoring. Figure 6 The diagram shown illustrates the switching between sleep and wake-up states of the main control chip.

[0058] The duration of the main control chip's sleep state needs to consider both the maximum allowable safe detection interval after a power battery failure and minimizing standby power consumption. The sleep state duration is determined by balancing these two factors. The maximum safe detection interval refers to the longest time interval during which the system can operate safely after a power battery failure. Within this time, the fault must be detected and appropriate measures taken. Therefore, the sleep state duration of the main control chip cannot exceed this interval to ensure timely fault response and avoid the aforementioned risks. The lower the power consumption of the main control chip in sleep state, the longer the standby time of the device. This is particularly important for devices requiring long standby times. Therefore, the sleep state duration of the main control chip needs to be extended as much as possible to reduce standby power consumption. Based on this, by balancing these two factors and finding a balance between the maximum safe detection interval and minimizing standby power consumption to set the sleep state duration, it is possible to ensure that power battery faults can be detected in a timely manner while minimizing the standby power consumption of the main control chip, achieving both high efficiency and safety.

[0059] The interval between two sleep cycles can be reasonably set while meeting safety requirements, minimizing standby power consumption to achieve continuous active monitoring of the power battery pack. In other words, the sleep interval can be adjusted according to actual needs to balance the standby power consumption of the chip link and the main control chip, enabling effective active monitoring of the power battery pack during long periods of parking or vehicle parking, thus improving the effectiveness of battery management.

[0060] If the main control chip does not receive a fault frame from the chip within the third preset time period after the chip link connectivity is identified as normal, and the main control chip automatically returns to sleep mode, if the main control chip receives a fault frame from the chip after switching to sleep mode, the main control chip switches back to wake-up mode, and wakes up the MCU via IRQ after detecting a fault frame in wake-up mode, triggering the MCU to revisit the chip link.

[0061] In this embodiment of the application, the main control chip supports mode switching between sleep monitoring mode and normal function mode, and the method further includes: In normal function mode, in response to receiving a first master control command indicating sleep mode from an MCU that is in operation, the system switches to sleep mode; In normal function mode, in response to receiving a second master control command indicating mode switching from the MCU in the running state, the system switches to sleep monitoring mode. After the MCU controls the master control chip to switch modes, it enters a low-power state from the running state. In sleep monitoring mode, in response to receiving a third master control command sent by the running MCU, it switches to normal function mode. The MCU's callback command to the chip link is a third master control command provided by the MCU.

[0062] Since the normal functional mode is a keep-on-wake operating mode, the main control chip needs to remain awake while in normal functional mode, and the MCU needs to continuously access data to maintain its running state. The MCU controls the main control chip to switch to sleep mode by sending a first master control command (such as a sleep instruction) indicating sleep. Correspondingly, the MCU can also send a first master control command (such as a wake-up instruction) indicating wake-up, controlling the main control chip to switch back from sleep mode to wake-up mode in normal functional mode. Furthermore, while the MCU is controlling the main control chip, the main control chip forwards the first master control command to the slave chip, enabling the slave chip and the main control chip to coordinate their state switching in normal functional mode.

[0063] When the main control chip is in normal function mode and the MCU is in running state, the MCU controls the main control chip to switch to sleep monitoring mode by sending a sleep monitoring command (a second master control command indicating mode switching). Simultaneously, the slave chips in the control chip link switch from normal function mode to sleep monitoring mode. After sending the second master control command to control the mode switching of the main control chip and slave chips, the MCU enters a low-power state from the running state to save power.

[0064] When the master control chip and slave chip are in sleep monitoring mode, the MCU is in a low-power state. The master control chip wakes up the MCU in low-power mode based on a fault frame received during the wake-up state of sleep monitoring mode. After switching to running mode, the MCU sends a callback command to the callback chip link. The master control chip and slave chip switch back to normal function mode based on the callback command. In sleep monitoring mode, the master control commands provided by the MCU are all third master control commands. The callback command to the callback chip link is also a third master control command, which includes other commands provided by the MCU.

[0065] In sleep monitoring mode, the third master control command sent by the MCU is the command that requires priority response. This ensures that the master and slave chips can respond to commands provided by the MCU at any time during sleep monitoring mode. Based on the third master control command provided by the MCU, the master and slave chips can switch to normal function mode. For example, in the wake-up state of sleep monitoring mode, when the master chip receives the third master control command sent by the MCU via the SPI bus while sending a loop acknowledgment frame, the master chip switches from sending the loop acknowledgment frame to forwarding the third master control command provided by the MCU, and switches to normal function mode based on the third master control command provided by the MCU. In sleep monitoring mode, for each slave chip, upon confirming the arrival of the third master control command provided by the MCU, it needs to respond immediately and forward it to the next level in a timely manner, switching to normal function mode based on the third master control command provided by the MCU.

[0066] The following is a summary of the overall process of the main control chip's operating mode switching and state switching in sleep monitoring mode. In normal function mode, the main control chip enters sleep mode based on the sleep command (first main control command) sent by the MCU. In normal function mode, the main control chip switches to sleep monitoring mode based on the sleep monitoring command (second main control command) sent by the MCU. In the wake-up state of sleep monitoring mode, the main control chip generates a loop confirmation frame to verify the connectivity of the chip link, initiates wake-up operations for each slave chip on the chip link, and prepares to receive fault frames provided by the slave chips when the chip link connectivity is normal. If no fault frame is received, the main control chip switches to sleep mode, and automatically switches back to wake-up mode after a certain sleep time based on a timed autonomous wake-up mechanism. If a fault frame is received, it notifies the MCU in a low-power state, and switches back to normal function mode based on the callback command (third main control command) provided by the MCU.

[0067] The above describes the active battery pack fault monitoring method applied to the master control chip. The following describes the active battery pack fault monitoring method applied to the slave chip. Figure 7 As shown, the method includes the following steps: Step 701: In the sleep state of the sleep monitoring mode, in response to receiving the loop confirmation frame sent by the main control chip, switch to the wake-up state and forward the loop confirmation frame along the chip link. The loop confirmation frame is sent in the wake-up state of the main control chip in the sleep monitoring mode and is transmitted step by step on the chip link to wake up each slave chip. The loop confirmation frame returned to the main control chip is used to verify that the connectivity of the chip link is normal.

[0068] When the master control chip is in the wake-up state of the sleep monitoring mode, it generates a loop confirmation frame and sends it to the chip link. After receiving the loop confirmation frame, the slave chip on the chip link switches from the sleep state of the sleep monitoring mode to the wake-up state, thus entering the working state. This wake-up mechanism ensures that the slave chip can respond quickly when there is a need for use, thus guaranteeing response speed and flexibility.

[0069] For any slave chip, after receiving the loop acknowledgment frame at the input end, the current slave chip forwards the loop acknowledgment frame to the next slave chip at the output end. This step-by-step propagation method can verify the connectivity of the chip link and can initiate wake-up operations on the slave chips one by one according to their position on the chip link, realizing step-by-step transmission based on the loop acknowledgment frame and waking up each slave chip in turn.

[0070] The loop confirmation frame is forwarded step by step on the chip link. Finally, the loop confirmation frame needs to be returned to the main control chip. If the loop confirmation frame can be returned to the main control chip within the first preset time after being sent, it indicates that the connectivity of the chip link is normal. If the main control chip does not receive the loop confirmation frame returned by the chip link within the first preset time after being sent, it is determined that the connectivity of the chip link is abnormal. Thus, the connectivity of the chip link can be verified based on the loop confirmation frame.

[0071] Step 702: When activated into measurement mode in wake-up state, fault measurement is performed on the adapted power battery. Based on the measurement results indicating that the power battery is faulty, a fault frame indicating the presence of a fault is generated and transmitted along the chip link. At least one slave chip is adapted to power batteries that constitute a power battery pack. When the master control chip and slave chip are in sleep monitoring mode, the microcontroller is in a low-power state. The fault frame is transmitted step by step along the chip link. The fault frame transmitted to the master control chip is used to wake up the microcontroller in the low-power state to trigger the microcontroller to switch from the low-power state to the running state. In the running state, the microcontroller revisits the chip link and queries the slave chip that reported the fault frame.

[0072] The current slave chip on the chip chain, after being woken up, is activated into measurement mode based on specific trigger conditions. In measurement mode, it performs fault measurements on the adapted power battery and sends a fault frame indicating a fault when a power battery fault is detected. Each slave chip on the chip chain corresponds to one or more power batteries, and the power batteries adapted to each slave chip constitute a power battery pack, thereby realizing fault monitoring of the power battery pack.

[0073] In this embodiment, the MCU can control the master and slave chips to switch operating modes. After switching the master and slave chips to sleep monitoring mode, the MCU switches to a low-power state. In sleep monitoring mode, the fault frame provided by the slave chip is transmitted cascaded along the chip link. The fault frame transmitted to the master chip is used to wake up the MCU in the low-power state. That is, the master chip wakes up the MCU in the low-power state in response to receiving the fault frame provided by the slave chip. After being woken up, the MCU switches to the running state, revisits the chip link, and queries the slave chip that reported the fault frame, thereby locating the faulty power battery, which facilitates targeted inspection and repair by maintenance personnel.

[0074] When the MCU performs a follow-up visit to the chip link, it sends a follow-up command to the master control chip. This command queries fault flags and retrieves fault information. The master control chip then forwards the follow-up command to the chip link, transmitting it sequentially from front to back. The follow-up command provided by the MCU is a master control command, which enables the master and slave chips to switch from sleep monitoring mode to normal function mode. Each slave chip on the chip link has a corresponding ID. During the sequential transmission of the follow-up command, the MCU reads content from each slave chip to query fault flags, retrieve fault information, locate the slave chip that reported the fault frame, and ultimately determine the faulty power battery.

[0075] In the above implementation scheme, the slave chip receives the loop confirmation frame provided by the master control chip, switches to the wake-up state based on the loop confirmation frame, and forwards the loop confirmation frame along the chip link. Based on the step-by-step transmission of the loop confirmation frame, each slave chip can be woken up sequentially, so that the slave chips on the chip link enter the working state. This ensures that the slave chips can respond quickly when there is a need, guaranteeing response speed and flexibility. In the measurement mode of the wake-up state, the slave chip performs fault measurement on the adapted power battery and provides a fault frame indicating that a fault exists. The master control chip wakes up the MCU in the low-power state based on the fault frame, so that the MCU switches to the running state to revisit the chip link and query the slave chip that reported the fault frame. This facilitates targeted inspection and repair by maintenance personnel, thereby shortening fault handling time, reducing maintenance costs, and ensuring the safety and reliability of the power battery.

[0076] As an optional implementation, when switching to a wake-up state and forwarding the loop acknowledgment frame along the chip link in response to receiving a loop acknowledgment frame sent by the main control chip, the following are included: In the sleep state of the sleep monitoring mode, in response to the transmission of a loop confirmation frame to the input terminal, the chip enters the wake-up time and enters the wake-up state after the wake-up time ends, forwarding the loop confirmation frame to the next-level slave chip; wherein, the loop confirmation frame is a signal sequence that transmits a first idle signal, a first preamble, and a verification signal in chronological order; within a second preset time after entering the wake-up state, the slave chip activates the measurement mode in the wake-up state to perform fault measurement in response to receiving at least a first number of consecutive first preambles and at least one verification signal; and, after receiving the verification signal, the input terminal of the slave chip forwards it to the next-level slave chip after a delay time, the delay time being greater than or equal to the wake-up time.

[0077] The loop confirmation frame includes three elements: a first idle signal (denoted as Idle), a first preamble (denoted as Preamble-0), and a verification signal (denoted as A). For example, a loop confirmation frame can be represented as {Idle, Preamble-0, A}. For a detailed description of the loop confirmation frame, please refer to the relevant description in the method embodiment on the master control chip side; it will not be repeated here. When the loop confirmation frame is transmitted to the input of the slave chip, it triggers the slave chip to enter a wake-up time. After the wake-up time ends, the current slave chip enters a wake-up state and forwards the loop confirmation frame to the next-level slave chip. When the loop confirmation frame is transmitted to the input of the next-level slave chip, it triggers the next-level slave chip to enter a wake-up time.

[0078] For the slave chip, receiving loop acknowledgment frames and forwarding loop acknowledgment frames are two parallel processes. If the slave chip receives at least a first number of consecutive first preambles and at least one verification signal (such as at least 40 consecutive preamble-0s and at least one A signal) within a second preset time period after entering the wake-up state, it can activate the measurement mode. The verification signal is a necessary condition for activating the measurement mode; only upon receiving the verification signal can the slave chip be activated into measurement mode. After entering measurement mode, the slave chip performs fault measurements on the adapted power battery.

[0079] For each slave chip, a delay time (tdelay) is set. After the verification signal is transmitted to the input of the current slave chip, the current slave chip forwards the verification signal to the next-level slave chip after the delay time. The delay time is greater than or equal to the wake-up time to compensate for the loss of input signal length during the wake-up time, thereby ensuring that the length of the first preamble does not become shorter as the chain propagates. For other relevant information on setting the delay time, please refer to the description of the method embodiment on the master control chip side.

[0080] If, after entering the wake-up state, at least a first number of first preambles and at least one verification signal are not received within a second preset time period, the system automatically switches back to the sleep state.

[0081] After entering wake-up mode, if the chip does not receive at least 40 consecutive preamble-0 signals and at least one A signal within a second preset time period (e.g., 1 second), it cannot activate the measurement mode and therefore cannot actively monitor the power battery, switching back to sleep mode. The A signal (verification signal) is a necessary condition for measurement mode activation; the chip can only be activated in measurement mode upon receiving the A signal. Without the A signal, the chip automatically returns to sleep mode. Introducing the verification signal eliminates potential noise interference and prevents the chip from accidentally waking up and entering measurement mode. After being woken up from sleep monitoring mode and entering measurement mode based on the verification signal, the chip can perform fault measurements on the compatible power battery.

[0082] In one optional embodiment, the fault frame is a signal sequence in which a second idle signal, a second preamble, and a feature signal are transmitted sequentially in chronological order; the fault frame generated from the chip is repeatedly transmitted, and the repeated transmission is terminated when the MCU revisits the chip link.

[0083] The fault frame includes three elements: a second idle signal (denoted as Idle), a second preamble (denoted as Preamble-0), and a characteristic signal (denoted as B). For example, a fault frame can be represented as {Idle, Preamble-0, B}. For a detailed description of the fault frame, please refer to the method embodiment on the main control chip side; it will not be repeated here. After the slave chip performs fault measurements on the power battery in measurement mode, if faults such as OV, UV, OT, and UT are detected, the slave chip generates a fault frame indicating the presence of a fault and sends it to the next-level slave chip, transmitting it along the chip link to the main control chip. The fault frame generated by the slave chip is repeatedly sent until the MCU revisits the chip link, thus ensuring that the fault frame is not detected by the main control chip due to noise interference or other unexpected influences, maximizing the timely and reliable notification of faults to the MCU by the main control chip.

[0084] Optionally, if the chip does not generate a fault frame after performing fault measurement, it automatically switches back to sleep mode in response to not receiving a forwarded fault frame within a fourth preset time after entering the wake-up state.

[0085] After performing fault measurements on the power battery, if the chip determines that the power battery is not faulty, it does not need to generate a fault frame. Instead, it waits for a fault frame from the preceding slave chip for a fourth preset time after entering wake-up mode. If no fault frame is received from the preceding slave chip, it automatically switches to sleep mode to save power. If a fault frame is received from the preceding slave chip after switching to sleep mode, it is woken up to forward the fault frame.

[0086] The slave chip in this application embodiment supports switching between sleep monitoring mode and normal function mode, and the method further includes; In normal function mode, in response to receiving a first master control command indicating sleep mode sent by the running MCU and forwarded by the master control chip, the system switches to sleep mode; In normal function mode, in response to receiving a second master control command indicating mode switching sent by the MCU in running state and forwarded by the master control chip, the MCU switches to sleep monitoring mode. After controlling the slave chip to switch modes, the MCU enters low power state from running state. In sleep monitoring mode, in response to receiving a third master control command sent by the running MCU and forwarded by the master control chip, it switches to normal function mode. The callback command of the MCU callback chip link belongs to the third master control command provided by the MCU.

[0087] When a slave chip in the chip chain is in normal functional mode, it needs to remain awake. The MCU, needing to continuously access data in conjunction with the slave and master chips, also needs to remain running. The MCU controls the master and slave chips to switch to sleep mode by sending a first master control command (e.g., a sleep instruction) indicating sleep mode. The slave chip receives the first master control command provided by the MCU and forwarded by the master chip, and switches to sleep mode based on the command without changing its operating mode. Conversely, the MCU can also send a first master control command (e.g., a wake-up instruction) indicating wake-up mode, controlling the master and slave chips in normal functional mode to switch back to awake mode.

[0088] When the master control chip and slave chip are in normal functional mode and the MCU is in running state, the MCU controls the master control chip and slave chip to switch to sleep monitoring mode by sending a sleep monitoring command (a second master control command indicating mode switching). After the MCU sends the second master control command to control the master control chip and slave chip to switch modes, it enters a low-power state from the running state to save power.

[0089] When the master control chip and slave chip are in sleep monitoring mode, the MCU is in a low-power state. The master control chip wakes up the MCU from its low-power state based on a fault frame received during the wake-up state of sleep monitoring mode. After switching to the running state, the MCU sends a callback command to the callback chip link. The master control chip and slave chip switch back to normal function mode based on the callback command. In sleep monitoring mode, all master control commands provided by the MCU are third master control commands. The callback command to the callback chip link is also a third master control command, which includes other commands provided by the MCU. In sleep monitoring mode, the third master control commands sent by the MCU are the commands that require priority response to ensure that the master control chip and slave chip can respond to the commands provided by the MCU at any time in sleep monitoring mode.

[0090] The following is a summary of the overall process of switching the chip's operating mode and switching states in sleep monitoring mode. In normal function mode, the slave chip enters sleep mode based on a sleep command (first master control command) sent by the MCU. In sleep monitoring mode, the slave chip switches to sleep monitoring mode based on a sleep monitoring command (second master control command) sent by the MCU. In sleep monitoring mode, the slave chip switches to wake-up state based on a loop confirmation frame sent by the master control chip, and performs fault measurements on the compatible power battery after entering measurement mode in wake-up state. If it cannot enter measurement mode after entering wake-up state, the slave chip automatically switches back to sleep monitoring mode. If no fault is detected during fault detection, and no fault frame forwarded by the preceding slave chip is received within a specific time after wake-up, the slave chip automatically switches back to sleep monitoring mode. If a fault is detected, a fault frame is generated and provided to the master control chip, which wakes up the MCU. The slave chip then receives a callback command from the MCU and switches back to normal function mode.

[0091] This application also provides a battery pack fault active monitoring system, such as... Figure 8 As shown, it includes: a main control chip 11, a microcontroller unit 12 that interacts with the main control chip 11, and a chip link 13, wherein the chip link 13 includes at least one slave chip 131. Figure 8 The diagram illustrates that the chip link 13 includes multiple slave chips 131, and a power battery 14 adapted to the slave chip 131, wherein at least one slave chip 131 is adapted to a power battery 14 to form a power battery pack. When the main control chip 11 is in the wake-up state of the sleep monitoring mode, the main control chip 11 sends a loop confirmation frame to the chip link 13. Based on the loop confirmation frame, the connectivity of the chip link 13 is identified and the wake-up operation of each slave chip 131 on the chip link 13 is initiated. The slave chips 131 on the chip link 13 are in the sleep state of the sleep monitoring mode. The sleep monitoring mode supports cyclic switching between the wake-up state and the sleep state. Slave chip 131 switches to wake-up state based on loop confirmation frame. The loop confirmation frame is transmitted step by step on chip link 13 to wake up each slave chip 131. When the connectivity of chip link 13 is normal, the main control chip 11 receives a fault frame indicating that there is a fault, provided by the slave chip 131 in the measurement mode of the wake-up state when it performs fault measurement on the adapted power battery 14. In response to receiving a fault frame provided by the slave chip 131, the main control chip 11 wakes up the microcontroller 12, which is in a low-power state. When the main control chip 11 and the slave chip 131 are in sleep monitoring mode, the microcontroller 12 is in a low-power state. After being woken up, the microcontroller unit 12 switches from a low-power state to a running state. In the running state, it visits the chip link 13 and queries the slave chip 131 that reported the fault frame.

[0092] Optionally, in the sleep monitoring mode, the main control chip 11 enters the wake-up state based on the timed autonomous wake-up mechanism. In response to entering the wake-up state, the main control chip 11 generates a loop confirmation frame and sends it to the chip link 13. The slave chip 131 on the chip link 13 transmits the loop confirmation frame step by step. The loop confirmation frame drives the slave chip 131 to switch from the sleep state of the sleep monitoring mode to the wake-up state. If the loop confirmation frame is received from the chip link 13 within the first preset time after the loop confirmation frame is sent, the main control chip 11 determines that the connectivity of the chip link 13 is normal.

[0093] Optionally, if no loop acknowledgment frame is received from the chip link 13 within the first preset time after sending the loop acknowledgment frame, the main control chip 11 determines that the connectivity of the chip link 13 is abnormal. In response to the connectivity anomaly of chip link 13, the main control chip 11 wakes up the microcontroller unit 12, which is in a low-power state, to trigger the microcontroller unit 12 to switch to the running state to diagnose the connectivity anomaly of chip link 13.

[0094] Optionally, in response to normal connectivity of chip link 13, the main control chip 11 receives fault frames repeatedly sent by the chip 131 in the wake-up state measurement mode, which detects a fault in the adapted power battery 14 and are transmitted step by step along chip link 13. The fault frame is a signal sequence in which the second idle signal, the second preamble, and the feature signal are transmitted sequentially in time. The transmission of the fault frame is terminated when the microcontroller 12 revisits the chip link 13.

[0095] Optionally, if no fault frame is received from chip 131 within a third preset time period after the connectivity of chip link 13 is detected to be normal, the main control chip 11 automatically switches to sleep mode. In response to the fact that the duration of the sleep state meets the preset conditions, the main control chip 11 switches to the wake-up state based on the timed autonomous wake-up mechanism; The duration of the main control chip 11 in sleep mode is set according to the maximum allowable safe detection interval and the minimum standby power consumption.

[0096] Optionally, the loop confirmation frame is a signal sequence that transmits the first idle signal, the first preamble, and the verification signal in chronological order; in the sleep state of the sleep monitoring mode, in response to the transmission of the loop confirmation frame to the input terminal, the chip 131 enters the wake-up time and enters the wake-up state after the wake-up time ends, and forwards the loop confirmation frame to the next level; Within a second preset time after entering the wake-up state, the chip 131 performs fault measurement in response to receiving at least a first number of consecutive first preambles and at least one verification signal, activating the measurement mode in the wake-up state; and after receiving the verification signal from the input terminal of the chip 131, it forwards the signal after a delay time, the delay time being greater than or equal to the wake-up time.

[0097] Optionally, after entering the wake-up state, in response to not receiving at least a first number of consecutive first preambles and at least one verification signal within a second preset time period, the chip 131 automatically switches back to the sleep state.

[0098] Optionally, if no fault frame is generated after fault measurement, the chip 131 automatically switches back to sleep mode in response to not receiving a forwarded fault frame within a fourth preset time after entering the wake-up state.

[0099] Optionally, the chip 131 and the main control chip 11 support mode switching between sleep monitoring mode and normal function mode, with the normal function mode being a working mode that keeps the user awake. In normal function mode, the chip 131 and the main control chip 11 receive a first main control command from the microcontroller 12, which is in operation, indicating that the device should go to sleep. The device then switches to sleep mode according to the first main control command. In normal function mode, the chip 131 and the main control chip 11 receive a second master control command sent by the microcontroller 12 in the running state to indicate mode switching. According to the second master control command, the microcontroller 12 switches to the sleep monitoring mode. After sending the second master control command to control the chip 131 and the main control chip 11 to switch modes, the microcontroller 12 enters the low power state from the running state. In sleep monitoring mode, the chip 131 and the main control chip 11 receive the third master control command sent by the microcontroller 12 which is in operation. According to the third master control command, the microcontroller 12 switches to normal function mode. The callback command of the microcontroller 12 to the chip link 13 is the third master control command provided by the microcontroller 12.

[0100] Optionally, the battery pack fault active monitoring system also includes: a power management chip 15; The power management chip 15 is connected to the microcontroller unit 12 and is used to power the microcontroller unit 12. The power management chip 15 is also connected to the main control chip 11 and switches from a low-power state to a running state based on the wake-up of the main control chip 11. When the microcontroller unit 12 switches to the running state, the power management chip 15 remains in the running state to supply power to the microcontroller unit 12.

[0101] As the system implementation is basically similar to the method implementation, it is described in a relatively simple way. For relevant details, please refer to the description of the method implementation.

[0102] This application also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the various processes of the above-described active battery pack fault monitoring method embodiments and achieves the same technical effects. To avoid repetition, it will not be described again here. The computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.

[0103] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.

[0104] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0105] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A method for active monitoring of battery pack faults, characterized in that, Applied to a main control chip, the main control chip interacts with a microcontroller unit and a chip link, the chip link including at least one slave chip, the method includes: In the wake-up state of the sleep monitoring mode, based on the loop confirmation frame sent to the chip link, the connectivity of the chip link is identified and the wake-up operation of each slave chip on the chip link is initiated. The slave chips on the chip link are in the sleep state of the sleep monitoring mode. The sleep monitoring mode supports cyclic switching between the wake-up state and the sleep state. When the connectivity of the chip link is normal, a fault frame indicating a fault is received from the slave chip in the measurement mode of the wake-up state, which performs fault measurement on the adapted power battery. The power batteries adapted by the at least one slave chip respectively constitute a power battery pack. In response to receiving a fault frame provided by the slave chip, the microcontroller unit in a low-power state is woken up to trigger the microcontroller unit to revisit the chip link and query the slave chip that reported the fault frame; When the main control chip and the slave chip are in sleep monitoring mode, the microcontroller unit is in a low power state, and after the microcontroller unit is woken up, it switches to the running state to perform a follow-up visit.

2. The method according to claim 1, characterized in that, In the wake-up state of the sleep monitoring mode, based on the loop acknowledgment frame sent to the chip link, the connectivity of the chip link is identified and the wake-up operation of each slave chip on the chip link is initiated, including: In the sleep monitoring mode, in response to entering the wake-up state based on the timed autonomous wake-up mechanism, the loop confirmation frame is generated and sent to the chip link, wherein the slave chip on the chip link transmits the loop confirmation frame level by level, and the loop confirmation frame drives the slave chip to switch from the sleep state of the sleep monitoring mode to the wake-up state; If the loop acknowledgment frame is received from the chip link within a first preset time period after the loop acknowledgment frame is sent, it is determined that the connectivity of the chip link is normal.

3. The method according to claim 2, characterized in that, Also includes: If no loop acknowledgment frame is received from the chip link within a first preset time period after the loop acknowledgment frame is sent, the connectivity of the chip link is determined to be abnormal. In response to a connectivity anomaly in the chip link, the microcontroller unit, which is in a low-power state, is woken up to trigger the microcontroller unit to switch to the running state to diagnose the connectivity anomaly in the chip link.

4. The method according to claim 2, characterized in that, The loop confirmation frame is a signal sequence that transmits the first idle signal, the first preamble, and the verification signal in chronological order. When the loop confirmation frame is transmitted to the input terminal of the slave chip, it triggers the slave chip to enter the wake-up time and enters the wake-up state after the wake-up time ends, forwarding the loop confirmation frame to the lower-level slave chip. The loop confirmation frame also triggers the slave chip to activate the measurement mode in the wake-up state within a second preset time after entering the wake-up state in response to receiving at least a first number of consecutive first preambles and at least one verification signal, so as to perform fault measurement on the adapted power battery. The verification signal is transmitted to the input terminal of the slave chip and then forwarded to the next slave chip after a delay time, wherein the delay time is greater than or equal to the wake-up time.

5. The method according to claim 4, characterized in that, When the connectivity of the chip link is normal, receiving a fault frame indicating a fault by the slave chip performing fault measurement on the adapted power battery in the wake-up measurement mode includes: In response to the normal connectivity of the chip link, the fault frame repeatedly sent by the slave chip in the measurement mode of the wake-up state, which is transmitted step by step along the chip link, is received. The fault frame is a signal sequence in which a second idle signal, a second preamble, and a feature signal are transmitted sequentially in chronological order. The fault frame is terminated when the microcontroller revisits the chip link.

6. The method according to claim 1, characterized in that, Also includes: If no fault frame is received from the chip within a third preset time period after the connectivity of the chip link is identified as normal, the main control chip automatically switches to sleep mode. In response to the duration of the sleep state meeting a preset condition, the main control chip switches to the wake-up state based on a timed autonomous wake-up mechanism; The duration of the main control chip in sleep mode is set based on the maximum allowable safe detection interval and the minimum standby power consumption.

7. The method according to any one of claims 1 to 6, characterized in that, The main control chip supports mode switching between the sleep monitoring mode and the normal function mode, wherein the normal function mode is a working mode that maintains a wake-up state. The method further includes: In the normal function mode, in response to receiving a first master control command indicating hibernation sent by the microcontroller unit which is in operation, the system switches to hibernation mode; In the normal function mode, in response to receiving a second master control command indicating mode switching sent by the microcontroller unit in the running state, the system switches to the sleep monitoring mode. After controlling the master control chip to perform mode switching, the microcontroller unit enters the low power state from the running state. In the sleep monitoring mode, in response to receiving a third master control command sent by the microcontroller unit in the running state, the system switches to the normal function mode. The callback command of the microcontroller unit to access the chip link is a third master control command provided by the microcontroller unit.

8. The method according to any one of claims 1 to 6, characterized in that, The main control chip and the microcontroller unit interact based on a serial peripheral interface communication protocol, and the main control chip and the slave chip interact based on a differential input / output communication protocol.

9. A method for active monitoring of battery pack faults, characterized in that, A slave chip applied in a chip chain, the chip chain interacting with a master control chip, the master control chip interacting with a microcontroller unit, the chip chain including at least one slave chip, the method comprising: In the sleep state of the sleep monitoring mode, in response to receiving the loop confirmation frame sent by the main control chip, the system switches to the wake-up state and forwards the loop confirmation frame along the chip link. The sleep monitoring mode supports cyclic switching between the wake-up state and the sleep state. The loop confirmation frame is sent when the main control chip is in the wake-up state of the sleep monitoring mode and is transmitted step by step along the chip link to wake up each slave chip. In the measurement mode of the wake-up state, the adapted power battery is subjected to fault measurement. Based on the measurement results of the power battery having a fault, a fault frame indicating the presence of a fault is generated and transmitted along the chip link. The at least one slave chip is adapted to a power battery to form a power battery pack; the loop confirmation frame returned to the master control chip is used to verify the normal connectivity of the chip link; when the master control chip and the slave chip are in sleep monitoring mode, the microcontroller unit is in a low power state; the fault frame is transmitted step by step on the chip link, and the fault frame transmitted to the master control chip is used to wake up the microcontroller unit in the low power state, so as to trigger the microcontroller unit to switch from the low power state to the running state, and in the running state, revisit the chip link and query the slave chip that reported the fault frame.

10. The method according to claim 9, characterized in that, In the sleep state of the sleep monitoring mode, in response to receiving a loop acknowledgment frame sent by the main control chip, switching to the wake-up state and forwarding the loop acknowledgment frame along the chip link includes: In the sleep state of the sleep monitoring mode, in response to the transmission of the loop confirmation frame to the input terminal, the slave chip enters the wake-up time and enters the wake-up state after the wake-up time ends, forwarding the loop confirmation frame to the lower-level slave chip; Wherein, the loop confirmation frame is a signal sequence that transmits a first idle signal, a first preamble, and a verification signal in chronological order; the slave chip, within a second preset time after entering the wake-up state, responds to receiving at least a first number of consecutive first preambles and at least one verification signal to activate the measurement mode in the wake-up state to perform fault measurement; and, after receiving the verification signal, the input terminal of the slave chip forwards it to the next-level slave chip after a delay time, wherein the delay time is greater than or equal to the wake-up time.

11. The method according to claim 10, characterized in that, Also includes: After entering the wake-up state, in response to not receiving at least a first number of consecutive first preambles and at least one verification signal within the second preset time period, it automatically switches back to the sleep state.

12. The method according to claim 9, characterized in that, The fault frame is a signal sequence in which the second idle signal, the second preamble, and the feature signal are transmitted sequentially in chronological order. The fault frames generated from the chip are repeatedly sent, and the sending is terminated when the microcontroller revisits the chip link.

13. The method according to claim 9, characterized in that, Also includes: If no fault frame is generated after fault measurement, the system automatically switches back to sleep mode in response to the fact that no forwarded fault frame is received within a fourth preset time after entering the wake-up state.

14. The method according to any one of claims 9 to 13, characterized in that, The slave chip supports mode switching between the sleep monitoring mode and the normal function mode, wherein the normal function mode is a working mode that maintains a wake-up state, and the method further includes; In the normal function mode, in response to receiving a first master control command indicating hibernation sent by the microcontroller unit in the running state and forwarded by the master control chip, the system switches to hibernation mode; In the normal function mode, in response to receiving a second master control command indicating mode switching sent by the microcontroller unit in the running state and forwarded by the master control chip, the system switches to the sleep monitoring mode. After controlling the slave chip to perform mode switching, the microcontroller unit enters a low-power state from the running state. In the sleep monitoring mode, in response to receiving a third master control command sent by the microcontroller unit in operation and forwarded by the master control chip, the system switches to the normal function mode. The callback command of the microcontroller unit to access the chip link is a third master control command provided by the microcontroller unit.

15. A battery pack fault active monitoring system, characterized in that, include: The main control chip, the microcontroller unit and chip link that interact with the main control chip, the chip link including at least one slave chip, and a power battery adapted to the slave chip, wherein the power batteries adapted to the at least one slave chip respectively constitute a power battery pack. When the main control chip is in the wake-up state of the sleep monitoring mode, the main control chip sends a loop confirmation frame to the chip link. Based on the loop confirmation frame, the connectivity of the chip link is identified and the wake-up operation of each slave chip on the chip link is initiated. The slave chips on the chip link are in the sleep state of the sleep monitoring mode. The sleep monitoring mode supports cyclic switching between the wake-up state and the sleep state. The slave chip switches to wake-up state based on the loop confirmation frame, and the loop confirmation frame is transmitted step by step on the chip link to wake up each slave chip; When the connectivity of the chip link is normal, the main control chip receives a fault frame indicating a fault by the slave chip performing fault measurement on the adapted power battery in the measurement mode of the wake-up state. The master control chip wakes up the microcontroller unit in a low-power state in response to receiving a fault frame provided by the slave chip. When the master control chip and the slave chip are in a sleep monitoring mode, the microcontroller unit is in a low-power state. After being woken up, the microcontroller switch from a low-power state to a running state. In the running state, it revisits the chip link and queries the slave chip that reported the fault frame.

Citation Information

Patent Citations

  • Battery management system and method

    CN111775769A

  • Power battery monitoring system and vehicle

    CN114714909A

  • Battery management system and wake-up diagnosis circuit thereof

    CN116461381A

  • Battery module and battery system

    CN119419390A

  • Safety monitoring method and system for vehicle, and device

    US20220111732A1

Cited By

  • Refresh trigger control method and device based on link performance, storage medium and product

    CN121644005A