Chip communication circuit, method and device based on automatic clock synchronization
The automatic clock synchronization method in battery management systems addresses high power consumption and unsynchronized clocks by using a sine sawtooth waveform for isolated communication, achieving reduced power usage and interference prevention with synchronized clock synchronization.
Patent Information
- Application Number
- KR1020240071684
- Authority / Receiving Office
- KR · KR
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2023-07-18
- Filing Date
- 2024-05-31
- Publication Date
- 2026-11-06
- Estimated Expiration
- 2044-05-31
AI Technical Summary
Conventional daisy-chain communication methods in battery management systems suffer from high power consumption, unsynchronized clocks, and inability to simultaneously handle communication interference and signal recognition.
Implement a chip communication method based on automatic clock synchronization, where a controller sends control commands via a serial peripheral interface, replacing chip select enable signals with clock synchronization signals to synchronize battery management chips using a sine sawtooth waveform for isolated communication.
Reduces power consumption by 60%, maintains clock synchronization, and prevents communication interference while ensuring signal identification through simplified command sequences.
Smart Images

Figure 112024059457819-PAT00010_ABST
Abstract
Description
Technology Field
[0001] The present application relates to communication technology, and in particular to a chip communication circuit, method, and apparatus based on automatic clock synchronization. Background Technology
[0002] All existing daisy-chain communication technologies are implemented by converting general-purpose serial communication into differential signal isolated serial communication; for example, there are mainly two types, namely, one is converting a Universal Asynchronous Transmitter-Receiver (UART) into differential signal isolated serial communication, and the other is converting a Serial Peripheral Interface (SPI) into differential signal isolated serial communication.
[0003] Since the entire communication process involves the microcontroller (MCU) sending data to the battery management chip (AFE), the communication process is primarily divided into two modes: reading and writing. However, reading and writing on a daisy chain cannot proceed simultaneously; data must be written first, followed by reading.
[0004] However, the aforementioned conventional daisy-chain communication method has high communication power consumption, the clocks of each battery management chip are not synchronized, and it cannot simultaneously handle communication interference prevention and signal recognition. The problem to be solved
[0005] The present application provides a chip communication circuit, method, and apparatus based on automatic clock synchronization, which is used to solve the problems of high communication power consumption and non-synchronization of the clocks of each battery management chip present in conventional daisy-chain communication methods, and implements technical effects that reduce power consumption of daisy-chain communication, maintain clock synchronization of each battery management chip, and simultaneously prevent communication interference and ensure signal recognition. means of solving the problem
[0006] In one aspect, the present application provides a chip communication method based on automatic clock synchronization, said method,
[0007] A step of determining clock synchronization information of the first battery management chip in response to a received control command, wherein the control command is one that the controller sends to the first battery management chip among a plurality of battery management chips via a serial peripheral interface;
[0008] A step of obtaining a new control command by replacing the chip select enable signal among the above control commands with a clock synchronization signal carrying clock synchronization information of the first battery management chip;
[0009] The method includes the step of transmitting the new control command to another battery management chip so that the other battery management chip performs automatic clock synchronization based on the clock synchronization information carried in the new control command, wherein the other battery management chip is a battery management chip other than the first battery management chip among a plurality of battery management chips, and the method includes the step of performing isolated communication between the different battery management chips using a daisy chain of a sine sawtooth waveform.
[0010] In one optional embodiment, the method is,
[0011] When each of the above-mentioned battery management chips is initialized, the scheduler mode parameters of the battery management chip are configured, wherein the scheduler mode parameters include at least one of a balance start time, a static time after balance, a preparation time before balance circuit self-diagnosis, a preparation time before battery collection line open self-diagnosis, and a time required for battery voltage or temperature collection;
[0012] The method further includes the step of performing a communication task in a cycle according to the scheduler mode parameters in response to the battery management chip receiving a scheduler mode start command.
[0013] In another aspect, the present application provides a chip communication circuit based on automatic clock synchronization, said chip communication circuit, said chip communication circuit,
[0014] A controller that sends control commands;
[0015] It includes a first battery management chip and other battery management chips other than the first battery management chip, wherein the first battery management chip is connected to the controller via a serial peripheral interface, and the multiple battery management chips perform isolated communication between the different battery management chips using a daisy chain of a sine saw waveform.
[0016] The first battery management chip determines the clock synchronization information of the first battery management chip in response to the received control command; replaces the chip selection enable signal in the control command with a clock synchronization signal carrying the clock synchronization information of the first battery management chip to obtain a new control command; and transmits the new control command to another battery management chip so that the other battery management chip performs automatic clock synchronization based on the clock synchronization information carried in the new control command.
[0017] In one optional embodiment, the controller also configures scheduler mode parameters of the battery management chip when each of the battery management chips is initialized, and sends a scheduler mode start command to the battery management chip to control the battery management chip to perform communication tasks in a cycle according to the scheduler mode parameters, wherein the scheduler mode parameters include at least one of a balance start time, a static time after balance, a preparation time before balance circuit self-diagnosis, a preparation time before battery collection line open self-diagnosis, and a time required for battery voltage or temperature collection.
[0018] In one optional embodiment, the other battery management chip also determines whether the clock synchronization information carried in the new control command is the same as the clock information of the other battery management chip whenever it receives the new control command; and if it is determined that the clock synchronization information and the clock information of the other battery management chip are different, it performs calibration processing on the clock information of the other battery management chip according to the clock synchronization information to execute automatic clock synchronization.
[0019] In one optional embodiment, the other battery management chip also determines whether the clock synchronization information carried in at least two new control commands is the same when the new control command is received at least twice; and if it is determined that the clock synchronization information carried in at least two new control commands is different, performs calibration processing on the clock information of the other battery management chip according to the clock synchronization information received last, thereby executing automatic clock synchronization.
[0020] In another aspect, the present application provides a chip communication device based on automatic clock synchronization, said device,
[0021] A confirmation module that, in response to a received control command, confirms clock synchronization information of the first battery management chip, wherein the control command is a confirmation module that is sent by a controller to the first battery management chip among a plurality of battery management chips via a serial peripheral interface;
[0022] A replacement module that obtains a new control command by replacing the chip select enable signal among the above control commands with a clock synchronization signal carrying clock synchronization information of the first battery management chip;
[0023] The above new control command is transmitted to another battery management chip so that the other battery management chip performs automatic clock synchronization based on the clock synchronization information carried in the new control command, wherein the other battery management chip is a battery management chip other than the first battery management chip among a plurality of battery management chips, and includes a synchronization module that performs isolated communication between the different battery management chips using a daisy chain of a sine sawtooth waveform.
[0024] In another aspect, the present application provides an electronic device comprising: a processor; and a memory connected to said processor, wherein computer execution instructions are stored in said memory, and said processor executes computer execution instructions stored in said memory to implement any one of the methods described above.
[0025] In another aspect, the present application provides a computer-readable recording medium, said computer-readable recording medium has computer execution instructions stored therein, said computer execution instructions are intended to implement any one of the methods described above when executed by a processor.
[0026] In another aspect, the present application provides a computer program stored on a computer-readable recording medium, and when said computer program is executed by a processor, any one of the methods described above is implemented. Effects of the invention
[0027] In the chip communication circuit, method, and apparatus based on automatic clock synchronization provided in the present application, a control command is sent from a controller to the first battery management chip among a plurality of battery management chips via a serial peripheral interface; that is, communication between the controller and the first battery management chip is performed using a serial peripheral interface, and other battery management chips are battery management chips other than the first battery management chip among the plurality of battery management chips, and isolated communication is performed between different battery management chips using a daisy chain of a sine sawtooth waveform. Furthermore, in response to the received control command, clock synchronization information of the first battery management chip is determined; a chip select enable signal in the control command is replaced with a clock synchronization signal carrying the corresponding clock synchronization information to obtain a new control command; and the new control command is transmitted to another battery management chip so that the other battery management chip performs automatic clock synchronization based on the clock synchronization information carried in the new control command.
[0028] Accordingly, the embodiment of the present application communicates between a controller and a first battery management chip using a serial peripheral interface, and performs isolated communication between different battery management chips using a daisy chain of a sine sawtooth waveform. After receiving a control command, the first battery management chip determines the current clock synchronization information, and then replaces the chip select enable signal within the control command with a clock synchronization signal carrying the corresponding clock synchronization information to acquire a new control command. This enables subsequent other battery management chips to perform automatic clock synchronization based on the clock synchronization information carried in the new control command. Furthermore, since isolated communication is performed between different battery management chips and the daisy chain used is a sine sawtooth waveform, it possesses the advantage of strong signal interference prevention performance as well as the advantage of easy identification. This can resolve the problems of high communication power consumption and non-synchronization of the clocks of each battery management chip in conventional daisy chain communication methods. It can not only reduce the power consumption of daisy chain communication but also maintain the clock synchronization of each battery management chip, and provides the technical effect of simultaneously preventing communication interference and ensuring signal identification. Brief explanation of the drawing
[0029] The attached drawings herein are incorporated into the specification and form part of the specification, illustrate embodiments conforming to the present application, and together with the specification, interpret the principles of the present application. FIG. 1 is a structural diagram of a chip communication circuit based on automatic clock synchronization according to an embodiment of the present application. FIG. 2 is a diagram showing the writing location of selectable clock synchronization information according to an embodiment of the present application. FIG. 3 is an execution flowchart of a selectable scheduler mode according to an embodiment of the present application. FIG. 4 is a waveform diagram of a selectable sine sawtooth waveform according to an embodiment of the present application. FIG. 5 is a circuit diagram of the connection relationship between a controller and a first battery management chip according to an embodiment of the present application. FIG. 6 is a flowchart of a chip communication method based on automatic clock synchronization according to an embodiment of the present application. FIG. 7 is a structural block diagram of a chip communication device based on automatic clock synchronization according to an embodiment of the present application. FIG. 8 is a structural diagram of an electronic device according to an embodiment of the present application. The attached drawings described above illustrate clear embodiments of the present application, and further details will be provided below. These attached drawings and textual descriptions are not intended to limit the scope of the spirit of the present application in any way, but rather to explain the concept of the present application to those skilled in the art with reference to specific embodiments. Specific details for implementing the invention
[0030] Exemplary embodiments will be described in detail herein, and examples thereof are shown in the accompanying drawings. Where the description below relates to the accompanying drawings, the same numbers in different accompanying drawings indicate the same or similar elements unless otherwise indicated. The embodiments described in the exemplary embodiments below do not represent all embodiments consistent with this application. On the contrary, they are merely examples of apparatuses and methods consistent with some aspects of this application as described in detail in the appended claims.
[0031] First, the nouns related to the present application are interpreted.
[0032] Daisy chain communication mode refers to a serial communication network connected like a single daisy chain, and is therefore called a daisy chain.
[0033] Battery Management System (BMS): Generally referred to as a battery caretaker or battery butler, it is primarily intended to intelligently manage and maintain each battery unit to prevent overcharging and over-discharging of the battery, extend the battery's lifespan, and monitor the battery's condition.
[0034] Battery Main Control Unit (BMU): As a core component of the battery management system, it detects the voltage of N-series lithium batteries, detects battery temperature, and performs automatic battery power balancing. It also provides an isolated CAN communication interface to provide voltage, temperature, monitoring, and alarm information to the BMS.
[0035] Battery Slave Control Unit (CSC): A monitor mounted on the battery cell that collects a series of battery information and transmits it to the BMU for processing.
[0036] General Purpose Input Output (GPIO): Refers to the simplification of expanding I / O ports using industry-standard I2C, SMBUS, or SPI interfaces. When a microcontroller or chipset does not have enough I / O ports, or when a system requires remote serial communication or control, GPIO products can provide additional control and monitoring functions.
[0037] Battery Management Chip (Analog Front End, AFE): Also known as a simulator front end, it is used in the new energy industry to collect voltage and temperature data from battery modules and perform battery balancing, enabling functions such as diagnosing open circuits in battery collection lines and diagnosing balance circuits.
[0038] Scheduler Mode: This refers to simulating the front-end scheduler mode and completes battery module voltage and temperature collection, balance control, and diagnostic functions according to specific rules.
[0039] Serial Peripheral Interface (SPI): A specification for a synchronous serial communication interface for chip communication.
[0040] Master In Slave Out (MISO): An antenna technology for wireless communication, applied for example in Serial Peripheral Interfaces (SPI), and is a channel signal that sends commands or data from a slave to a master.
[0041] Master Out Slave In (MOSI): A channel signal that sends commands or data from the master to the slave.
[0042] Differential line: Refers to a signal transmission technology. A differential line refers to a differential trace among differential signals. When the same signal with a phase difference of 180 degrees is transmitted using two parallel traces of equal length, the amplitudes of the two signals are the same, but their phases are opposite. The signal transmitted on these two lines is a differential signal.
[0043] The Universal Asynchronous Receiver / Transmitter, commonly referred to as a UART, is an asynchronous transceiver and is part of computer hardware. It converts data to be transmitted between serial and parallel communication. As a chip that converts parallel input signals into serial output signals, the UART is typically integrated into the connection of other communication interfaces.
[0044] All existing daisy-chain communication technologies are implemented by converting general-purpose serial communication into differential signal isolated serial communication. For example, they are mainly divided into the following two types: one is converting a general-purpose asynchronous transceiver (UART) into differential signal isolated serial communication, and the other is converting a serial peripheral interface (SPI) into differential signal isolated serial communication.
[0045] In the first method, the Battery Main Control Unit (BMU) transmits and receives data via a serial port using an asynchronous communication method. After the microcontroller (MCU) sends the data, the Battery Management Chip (AFE) converts the serial signal into a differential signal designed as a daisy chain. The differential signal is transmitted level by level through the AFE. When it is transmitted to the last AFE, the last AFE sends the data that the MCU needs to read to the immediately preceding AFE. This process is repeated level by level to the first AFE, which receives the data, converts it to serial communication, and sends it to the MCU.
[0046] The second method involves communication via SPI, where the MCU is the master and the AFE is the slave. The communication process is strictly executed according to the SPI time sequence. When the MCU completes sending the clock signal (SCK) for the next SPI, the AFE transmits data to the MCU. The waveform on the daisy chain undergoes a special design to convert the 4-line SPI signal into a 2-line differential signal for transmission. In this method, the daisy chain's transmission speed (Baud rate) is designed to be twice the SPI transmission speed to satisfy the SPI time sequence between the MCU and the first AFE or Transfer.
[0047] To solve the aforementioned problem, the embodiment of the present application implements a daisy-chain physical layer scheme of multi-chip clock self-synchronization technology by adding a configurable automatic scheduling system and multi-chip clock self-synchronization technology to the battery management chip.
[0048] The embodiments of the present application add an automatic scheduler system configured based on a conventional battery management chip (AFE), and in this mode, the scheduler can automatically schedule functions such as voltage collection, temperature collection, bus expander GPIO configuration, balance start, balance end, and fault diagnosis. Here, the controller (MCU) must first configure the scheduler system and then start the scheduler system. Since there may be various combinations of configuration units and specific time sequences within the scheduler, the present application provides only one combination below as an example, but the method of the embodiments of the present application can be applied to all other automatic scheduler systems. Example 1 The technical solution of the present application and how the technical solution of the present application solves the aforementioned technical problem are explained in detail through the specific embodiments below. The following specific embodiments may be combined with each other, and redundant descriptions of identical or similar concepts or processes may be omitted in some embodiments. Embodiments of the present application will be described in conjunction with the attached drawings below. The chip communication method based on automatic clock synchronization according to the present application aims to solve the technical problems of the prior art as described above. The chip communication method based on automatic clock synchronization can be applied to the chip communication circuit based on automatic clock synchronization shown in FIG. 1. As shown in FIG. 1, the chip communication circuit based on automatic clock synchronization may include a controller and a plurality of battery management chips. The controller (a microcontroller as shown in FIG. 1) sends control commands. In a selectable embodiment, the control command described above is an ISO-SPI command and is a register read or write command sent to the battery management chip (AFE). For example, it may be a voltage acquisition command, a sampling result read command, a balance command, a balance stop command, etc.In one selectable embodiment, for example, when the MCU needs to read voltage data of a battery cell, it sends a voltage acquisition command to the AFE, waits for the AFE to complete sampling, and the MCU sends a sampling result read command to the AFE to read the corresponding result. Also, for example, the MCU sends a balance command, the AFE performs the balance, the MCU sends a balance stop command, and the AFE stops the balance. In addition, the fault diagnosis function follows the same mechanism, and in the overall process, the MCU acts as a scheduler to control the stopping and starting of the AFE function. In the case of multiple battery management chips (battery management chip 1, battery management chip 2, battery management chip 3......, battery management chip n), the aforementioned multiple battery management chips include the first battery management chip 1 and other battery management chips other than the first battery management chip (e.g., battery management chip 2, battery management chip 3......, battery management chip n, etc.), where the first battery management chip and the controller are connected via a serial peripheral interface, and isolated communication is performed between different battery management chips using a daisy chain of a sine saw waveform.The first battery management chip described above, in response to the received control command described above, determines the clock synchronization information of the first battery management chip described above; replaces the chip select enable signal in the control command described above with a clock synchronization signal carrying the clock synchronization information of the first battery management chip described above to obtain a new control command, wherein other data in the original control command is transmitted to the subsequent battery management chip as is without modification, and the subsequent battery management chip obtains clock synchronization information from the clock synchronization signal (also called the synchronization signal) and obtains control information from other data; The aforementioned new control command is transmitted to another battery management chip, so that the aforementioned other battery management chip performs automatic clock synchronization based on the aforementioned clock synchronization information carried in the aforementioned new control command. FIG. 1 illustrates a hardware connection interface between a microcontroller (MCU) and a plurality of battery management chips (AFE), and between the first battery management chip (AFE1) and subsequent other battery management chips (AFE). The overall system connection method is such that communication between the microcontroller (MCU) and the first battery management chip (AFE1) is performed via SPI, and isolated communication is performed between the first battery management chip (AFE1) and the second battery management chip (AFE2), and between all subsequent battery management chips, specifically using a daisy chain with a sine sawtooth waveform.In one selectable embodiment, each battery management chip (AFE) generally includes an ADC sampling module, a balance control module, a fault diagnosis module, a register module, a data storage module, and the ADC sampling module is primarily for sampling cell battery voltage, cell battery temperature, and total voltage of the battery set; the balance control module is for active and passive balance control; the fault diagnosis module is for fault diagnosis such as open circuit of the voltage collection line, open circuit of the balance line, and detection of battery overprotection; the register module is for configuring the AFE; and the data storage module is for storing sampling results and system status information. In an embodiment of the present application, the first battery management chip among a plurality of battery management chips receives a control command sent from a controller (MCU), interprets the control command to determine a chip select enable signal within the control command, determines the waveform of the chip select enable signal (CS) as shown in FIG. 2, and, depending on the falling edge and rising edge of the waveform of the chip select enable signal described above, automatically from the first battery management chip connected to the MCU With the generated clock synchronization information, the corresponding chip selection enable signal is replaced in the form of a clock synchronization signal, and a new control command is transmitted to other battery management chips among the plurality of battery management chips through a daisy chain of a sine sawtooth waveform until it is transmitted to the last battery management chip, thereby enabling automatic time-sequence synchronization between the plurality of battery management chips. In the embodiment of the present application, isolated communication is performed between different battery management chips, and the daisy chain used is a sine sawtooth waveform, which not only has the advantage of strong signal interference prevention performance but also has the advantage of easy identification.In one optional embodiment, the controller described above also configures the scheduler mode parameters of the battery management chip described above when each of the battery management chips described above is initialized, and sends a scheduler mode start command to the battery management chip described above to control the battery management chip described above to perform communication tasks in a cycle according to the scheduler mode parameters described above. In one example, the scheduler mode parameters described above include at least one of a balance start time, a static time after balance, a preparation time before balance circuit self-diagnosis, a preparation time before battery collection line open self-diagnosis, and a time required for battery voltage or temperature collection. In an embodiment of the present application, when the battery management chip is initialized, scheduler mode parameters such as voltage collection, temperature collection, GPIO configuration, passive balance, and fault diagnosis can be configured, and subsequently, the battery management chip can collect data according to the configuration method through simplified commands. Optimization and design were performed according to actual operating conditions, as shown in the execution time flowchart of the selectable scheduler mode illustrated in FIG. 3, and are used to reduce communication power consumption between battery management chips. As illustrated in FIG. 3, the battery management chip state is divided into an operating state and a standby state, and the diagnostic mode state of the battery management chip is divided into a start state and a non-start state; and the normal mode state of the battery management chip can be divided into a start state and a non-start state. In FIG. 3, the commands executed by the battery management chip in the operating state include, but are not limited to, voltage sampling, even channel balancing, balance stop, voltage sampling, odd channel balancing, balance stop, etc., and after the standby state, the commands executed by the battery management chip in the operating state may further include, but are not limited to, even channel balancing (presampling, voltage sampling), odd channel balancing (presampling, voltage sampling), and open circuit detection (presampling, voltage sampling).As illustrated in FIG. 3, after setting the chip configuration, the register operation line may be balanced sampled, and the corresponding balance processing command may be executed. Then, the voltage pre-sampling register may be sampled to execute the corresponding balance stop command, and the voltage sampling register may also be sampled to execute the corresponding sampling command. In one example, after setting the above scheduler mode parameters, the MCU sends a command to start the scheduler mode Scheduler System, and the battery management chip performs a cycle according to the schedule period based on the time configured in the initialization parameters. Voltage and temperature information collected at each stage is automatically stored in registers; for example, voltage and temperature information in normal collection mode may be stored, and the storage of voltage information during the balance circuit self-diagnosis process serves as a data source for implementing the diagnostic function; Voltage information (data source for implementing diagnostic functions) may be stored during the self-diagnosis process of opening the battery collection line. In an embodiment of the present application, when the battery management chip is initialized, functional parameters such as voltage collection, temperature collection, GPIO configuration, passive balancing, and fault diagnosis are configured, and subsequently, the battery management chip may be configured to collect data according to the configuration method through simplified commands. Compared to the MCU independently sending the aforementioned commands to implement these functions, the number of communication messages can be reduced by 60% and communication power consumption can be reduced by 60%. Through an embodiment of the present application, the MCU is configured to implement battery voltage collection, temperature collection, passive balancing, and diagnostic functions using more simplified commands, thereby reducing the number of MCU message sending commands and consequently reducing communication power consumption by 60%.Through multi-chip clock self-synchronization technology, all battery collection simultaneity <1ms (assuming the MCU sends a command to the battery management chip once every 1s) can be secured; furthermore, isolated communication is performed between different battery management chips in the manner of the present application, and the daisy chain used is a sine sawtooth wave, which not only has the advantage of strong signal interference prevention performance but also the advantage of easy identification. In a selectable embodiment, each battery unit is provided with a plurality of battery slave control units (CSCs) to monitor voltage and temperature information of each battery cell or battery set cell among them; the CSC may report the collected relevant information to the battery control unit (BMU), and then the CSC executes cell voltage balancing according to the command of the BMU. In a selectable embodiment, another battery management chip also determines whether the clock synchronization information carried in the new control command is identical to its own clock information whenever it receives a new control command; If it is determined that the clock synchronization information and the self-clock information are different, calibration processing is performed on the self-clock information according to the clock synchronization information, and automatic clock synchronization is executed. In another selectable embodiment, the other battery management chip also determines whether the clock synchronization information carried in at least two new control commands is the same when at least two new control commands are received; and if it is determined that the clock synchronization information carried in at least two new control commands is different, calibration processing is performed on the self-clock information according to the last received clock synchronization information, and automatic clock synchronization is executed.The automatic clock-synchronized daisy-chain communication method according to an embodiment of the present application enables a controller (MCU) to control a battery management chip through more simplified commands to implement battery voltage collection, temperature collection, passive balancing, and diagnostic functions, and ensures that the collection simultaneity of all batteries is less than 1ms (assuming the MCU sends a control command to the battery management chip once at a maximum interval of 1s), reduces the number of MCU message sending control commands, and reduces communication power consumption by 60%. In a selectable embodiment, the daisy-chain communication technology of an embodiment of the present application adds a time-sequence self-synchronization design, and a data interpreter among the first battery management chips interprets the control command after the first battery management chip receives a control command from the controller, determines the chip select enable signal among the control commands, determines the waveform of the chip select enable signal CS as shown in FIG. 2, and according to the falling edge and rising edge of the waveform of the chip select enable signal described above, 0xAA, At the 0x55 position (however, 0xAA and 0x55 are merely examples), the clock synchronization information automatically generated by the first battery management chip connected to the MCU is replaced with a chip select enable signal in the form of a clock synchronization signal to obtain a new control command. In an embodiment of the present application, isolated communication is performed between different battery management chips using a daisy chain of sinusoidal waveforms, and in one example, the waveform diagram of the sinusoidal waveform is as shown in FIG. 4, and the correspondence relationship between the pulse, level, and waveform of FIG. 4 is as shown in Table 1 below, where the design for the level is Vp2 = 2* Vp1 and the design for the time is t2 = 2* t1. Pulse name Level 1 Level 2 Level 3 Level 4 waveform Data sine sawtooth wave (number 1) Vp1(1 / 2 t1) Vp2(1 / 2 t1) -Vp1(1 / 2 t1) -Vp2(1 / 2 t1) Data cosine sawtooth wave (number 0) -Vp1(1 / 2 t1) -Vp2(1 / 2 t1) Vp1(1 / 2 t1) Vp2(1 / 2 t1) Clock synchronization sine sawtooth wave (number 1) Vp1(1 / 2 t2) Vp2(1 / 2 t2) -Vp1(1 / 2 t2) -Vp2(1 / 2 t2) Clock synchronization cosine sawtooth wave (number 0) -Vp1(1 / 2 t2) -Vp2(1 / 2 t2) Vp1(1 / 2 t2) Vp2(1 / 2 t2) In one selectable embodiment, FIG. 5 is a circuit diagram showing the connection relationship between a selectable controller and a first battery management chip, and in an embodiment of the present application, the controller (MCU) is the master station (master) and the battery management chip is the slave station (slave), where SPI is a serial peripheral interface, MISO is the master-receive-slave-send signal line of SPI, MOSI is the master-send-slave-receive signal line of SPI; SCK is the clock signal line of SPI, CS is the chip-select-enable line of SPI; TX is transmit, RX is receive; SP is the daisy-chain differential communication high end, SM is the daisy-chain differential communication low end, and SS is the CS signal of SPI. As shown in FIG. 5, the controller and the first battery management chip each include a data-send interpreter, a two-stage parallel current generator, a data interpreter, and a timing controller. Here, the data sending interpreter includes a data sending interpreter that converts a data bit 0 or 1 into a 3-level sawtooth pulse with a half-pulse width of t1, and a 2-stage parallel current generator generates a 3-level 0V, Vp1 and Vp2 sawtooth waveform; the data interpreter detects a pulse with a pulse width of t1 from the data received by the master port and the timing controller, and triggers a comparator to compare the input voltage with two reference voltages (Vp1 and Vp2) to determine whether they are data 0 or 1. The timing controller controls the timing synchronization between multiple battery management chips. Additionally, the master station, i.e., the controller, includes a system synchronization signal generator that fills a 16-bit synchronization clock synchronization signal into the front and rear ends of the data area and sends it to the slave station port, where each data bit has a half-pulse width of t2, and generates a 3-level sawtooth waveform that modulates the data bit using a 2-stage current generator.The slave station, i.e., the battery management chip, includes a system synchronization signal interpreter that detects a pulse with a pulse width of t2 from data received by the master station port and the timing controller; and when it detects a half pulse width of t2, it triggers a 2-level voltage comparator to determine whether the data is 0 or 1. Conventional MCU-controlled battery management chips send related commands such as voltage acquisition, temperature acquisition, GPIO configuration, balance start, balance end, and fault diagnosis control via messages, and there are more commands to control the battery management chip. The embodiment of the present application can simplify these commands by configuring automatic scheduling function parameters, and the MCU only needs to configure the scheduling function parameters of these functions when initializing, pre-set the behavior and timing of these scheduling function parameters, and simply read the data stored in the battery management chip periodically. Through the embodiment of the present application, the MCU is enabled to implement battery voltage acquisition, temperature acquisition, passive balancing, and diagnostic functions using more simplified commands, reduces the number of MCU message sending commands, and thereby reduces communication power consumption by 60%. Through multi-chip clock self-synchronization technology, all battery collection synchronization <1ms (assuming the MCU sends a command to the battery management chip at least once every 1s) can be secured; furthermore, in the method of the present application, isolated communication is performed between different battery management chips, and the daisy chain used is a sine sawtooth wave, which not only has the advantage of strong signal interference prevention performance but also the advantage of easy identification. Example 2 The embodiment of the present application further provides an embodiment of a chip communication method based on automatic clock synchronization, FIG. 6 is a flowchart of a chip communication method based on automatic clock synchronization according to an embodiment of the present application, and as shown in FIG. 6, the method includes the following steps. S101, in response to a received control command, the clock synchronization information of the first battery management chip is determined.S102, the chip selection enable signal among the control commands described above is replaced with a clock synchronization signal carrying clock synchronization information of the first battery management chip described above, thereby obtaining a new control command. S103, the new control command described above is transmitted to another battery management chip, so that the other battery management chip described above performs automatic clock synchronization based on the clock synchronization information carried in the new control command described above. In one example, the control command described above is sent by a controller to the first battery management chip among a plurality of battery management chips via a serial peripheral interface, and isolated communication is performed between different battery management chips using a daisy chain of a sine sawtooth waveform. Optionally, the other battery management chip described above is a battery management chip other than the first battery management chip described above among the plurality of battery management chips. Unlike conventional sine waves or square waves (sine waves have slightly better interference prevention but are difficult to identify by a chip and are prone to waveform misjudgment, while square waves are easily identified but have low interference prevention and are easily distorted), in the embodiment of the present application, mutually Isolated communication between other battery management chips is performed using a daisy chain of a sine sawtooth waveform, which not only has the advantage of strong anti-interference properties but also the advantage of easy identification, and possesses relatively strong practical value and innovativeness. In an embodiment of the present application, the first battery management chip among a plurality of battery management chips receives a control command sent from a controller (MCU), supplements the clock synchronization information of the first battery management chip itself into the control command by replacing the chip select enable signal (CS) in the control command, and can transmit a new control command to other battery management chips among the plurality of battery management chips through a daisy chain until it is transmitted to the last battery management chip.The daisy-chain communication technology of the embodiment of the present application incorporates a time-sequence self-synchronization design. This not only enables a reduction in power consumption of the daisy-chain communication but also maintains clock synchronization of each battery management chip, providing technical effects that simultaneously prevent communication interference and ensure signal identification. More importantly, isolated communication is performed between different battery management chips, and the daisy chain used is a sine sawtooth wave. This not only possesses the advantage of strong signal interference prevention performance but also the advantage of easy identification. It can resolve the problems of high communication power consumption and lack of clock synchronization between battery management chips present in conventional daisy-chain communication methods. Furthermore, it enables a reduction in power consumption of the daisy-chain communication while maintaining clock synchronization of each battery management chip, providing technical effects that simultaneously prevent communication interference and ensure signal identification. The embodiment of the present application uses serial peripheral interface communication between the controller and the first battery management chip, and performs isolated communication between different battery management chips using a daisy chain of a sine sawtooth waveform. The first battery management chip confirms the current clock synchronization information after receiving a control command, and then replaces the chip selection enable signal within the control command with a clock synchronization signal carrying the corresponding clock synchronization information to acquire a new control command. This enables subsequent battery management chips to perform automatic clock synchronization according to the aforementioned clock synchronization information carried in the new control command. This can resolve the problems of high communication power consumption and unsynchronized clocks of each battery management chip present in existing daisy-chain communication methods. Furthermore, it not only enables a reduction in power consumption of daisy-chain communication but also maintains the clock synchronization of each battery management chip, providing the technical effect of simultaneously preventing communication interference and ensuring signal identification.Conventional MCU-controlled battery management chips send related commands such as voltage acquisition, temperature acquisition, GPIO configuration, balance start, balance end, and fault diagnosis control via messages, and there are more commands to control the battery management chip. The embodiments of the present application can simplify these commands by configuring automatic scheduling function parameters. The MCU only needs to configure these scheduling function parameters when initializing, pre-set the actions and time sequence of these scheduling function parameters, and only periodically read the data stored in the battery management chip. In one optional embodiment, the chip communication method based on the automatic clock synchronization described above includes the step of configuring the scheduler mode parameters of the battery management chip described above when each of the battery management chips described above is initialized, prior to the step of determining the clock synchronization information of the first battery management chip in response to a received control command; and the step of cyclically executing communication tasks according to the scheduler mode parameters described above in response to the battery management chip described above receiving a scheduler mode start command. In one example, the scheduler mode parameters described above include the balance start time, the static time after balance, and the preparation before the balance circuit self-diagnosis. It includes at least one of the time, the preparation time before the battery collection line opening self-diagnosis, and the time required to collect battery voltage or temperature. In one example, after setting the above scheduler mode parameters, the MCU sends a Scheduler Mode Scheduler System start command, and the battery management chip executes cyclically according to the schedule period based on the time configured in the initialization parameters.Voltage and temperature information collected at each stage is automatically stored in registers. For example, voltage and temperature information in normal collection mode can be stored, and voltage information during the balance circuit self-diagnosis process (data source for implementing diagnostic functions) can be stored. In the embodiment of the present application, when the battery management chip is initialized, functional parameters such as voltage collection, temperature collection, GPIO configuration, passive balancing, and fault diagnosis can be configured, and subsequently, data can be collected according to the configuration of the battery management chip through simplified commands. Compared to the MCU implementing these functions by sending the aforementioned commands independently, the number of communication messages can be reduced by 60% and communication power consumption can be reduced by 60%. Through the embodiment of the present application, the MCU is enabled to implement battery voltage collection, temperature collection, passive balancing, and diagnostic functions using more simplified commands, thereby reducing the number of MCU message sending commands and consequently reducing communication power consumption by 60%. Through multi-chip clock self-synchronization technology, all battery collection synchronization <1ms (assuming the MCU sends a command to the battery management chip at least once every 1s) can be secured; and, in the solution of the present application, isolated communication is performed between different battery management chips, and the daisy chain used is a sine sawtooth wave, which not only has the advantage of strong signal interference prevention performance but also has the advantage of easy identification.In one optional embodiment, the step of executing automatic clock synchronization based on the clock synchronization information carried in the new control command described above by the other battery management chip described above includes: whenever the other battery management chip described above receives the new control command described above, comparing whether the clock synchronization information carried in the new control command described above and the self clock information are identical; and if it is determined that the clock synchronization information described above and the self clock information described above are different, performing calibration processing on the self clock information described above according to the clock synchronization information described above and executing automatic clock synchronization. In one optional embodiment, whenever the other battery management chip receives a new control command, comparing whether the clock synchronization information carried in the new control command and the self clock information are identical; If it is determined that the clock synchronization information and the self-clock information are different, calibration processing is performed on the self-clock information according to the clock synchronization information, and automatic clock synchronization is executed. In one optional embodiment, the above-described method further comprises the step of comparing whether the above-described clock synchronization information carried in at least two above-described new control commands is the same when the above-described other battery management chip receives at least two above-described new control commands; and the step of performing calibration processing on the above-described self-clock information according to the last received clock synchronization information and executing automatic clock synchronization when it is determined that the above-described clock synchronization information carried in at least two above-described new control commands is different. In another optional embodiment, if the other battery management chip receives at least two new control commands, whether the clock synchronization information carried in at least two new control commands is the same is compared; and when it is determined that the above-described clock synchronization information carried in at least two new control commands is different, calibration processing is performed on the self-clock information according to the last received clock synchronization information and automatic clock synchronization is executed.The automatic clock-synchronized daisy-chain communication method according to an embodiment of the present application allows a controller (MCU) to control a battery management chip through more simplified commands to implement battery voltage collection, temperature collection, passive balancing, and diagnostic functions, and ensures that the collection synchronization of all batteries is less than 1ms (assuming the MCU sends a control command to the battery management chip once every 1s at most), reduces the number of MCU message sending control commands, and reduces communication power consumption by 60%. As should be explained, user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, data to be stored, data to be displayed, etc.) related to the present application are all information and data that have been approved by the user or fully approved by all parties, and the collection, use, and processing of related data must comply with relevant laws, regulations, and standards of the relevant countries and regions, and must provide relevant operation inputs so that the user can choose to approve or reject.Example 3 According to one or more embodiments of the present application, a chip communication device based on automatic clock synchronization is provided, FIG. 7 is a structural block diagram of a chip communication device based on automatic clock synchronization according to an embodiment of the present application, and as shown in FIG. 7, the above-described device determines clock synchronization information of a first battery management chip in response to a received control command, wherein the above-described control command is a determination module (601) which is sent by a controller to the first battery management chip among a plurality of battery management chips via a serial peripheral interface; a replacement module (602) which writes the clock synchronization information of the above-described first battery management chip to the above-described control command and obtains a new control command according to the above-described chip selection enable signal; and transmits the above-described new control command to another battery management chip so that the above-described other battery management chip executes automatic clock synchronization based on the above-described clock synchronization information carried in the above-described new control command, wherein the above-described other battery management chip is a battery management chip other than the above-described first battery management chip among a plurality of battery management chips, and between different battery management chips It includes a synchronization module (603) that performs isolated communication using a daisy chain of a sine sawtooth waveform. According to one or more embodiments of the present application, the above-described device comprises a configuration module that configures scheduler mode parameters of the above-described battery management chip when each of the above-described battery management chips is initialized, wherein the above-described scheduler mode parameters include at least one of a balance start time, a static time after balance, a preparation time before balance circuit self-diagnosis, a preparation time before battery collection line open self-diagnosis, and a time required for battery voltage or temperature collection; and further comprises an execution module that, in response to the above-described battery management chip receiving a scheduler mode start command, cycles through a communication task according to the above-described scheduler mode parameters.According to one or more embodiments of the present application, the synchronization module described above includes: a comparison unit that compares whether the clock synchronization information carried in the new control command described above is identical with the self clock information whenever the other battery management chip described above receives the new control command described above; and a synchronization unit that, if it is determined that the clock synchronization information described above and the self clock information described above are different, performs calibration processing on the self clock information described above according to the clock synchronization information described above and executes automatic clock synchronization. According to one or more embodiments of the present application, the device described above further includes: a comparison module that, if the other battery management chip described above receives at least two new control commands described above, compares whether the clock synchronization information carried in at least two new control commands described above is identical with the clock synchronization information described above; and a post-calibration synchronization module that, if it is determined that the clock synchronization information carried in at least two new control commands described above is different, performs calibration processing on the self clock information described above according to the clock synchronization information received last and executes automatic clock synchronization. In exemplary embodiments, the embodiments of the present application further include an electronic device Provides, comprising a processor and a memory connected to said processor; wherein a computer execution instruction is stored in said memory; and wherein the processor executes the computer execution instruction stored in said memory to implement any one of the methods described above. In an exemplary embodiment, the embodiment of the present application further provides a computer-readable storage medium, wherein a computer execution instruction is stored in said computer-readable storage medium, and when said computer execution instruction is executed by a processor, any one of the methods described above is implemented. In an exemplary embodiment, the embodiment of the present application further provides a computer program product, wherein the computer program is included, and when said computer program is executed by a processor, any one of the methods described above is implemented. To implement the above embodiment, the embodiment of the present application further provides an electronic device.Referring to FIG. 8, a structural diagram of an electronic device (700) suitable for implementing an embodiment of the present application is shown, and the electronic device (700) may be a terminal or a server. As illustrated in FIG. 8, the electronic device (700) may include a processing unit (e.g., a central processor, a graphics processor, etc.) (701) capable of performing various suitable operations and processing based on a program stored in a Read Only Memory (ROM, abbreviated as 'ROM') (702) or a program loaded from a storage device (708) into a Random Access Memory (RAM, abbreviated as 'RAM') (703). Various programs and data necessary for the operation of the electronic device (700) are further stored in the RAM (703). The processing unit (701), ROM (702), and RAM (703) are connected to each other via a bus (704). An input / output (I / O) interface (705) is also connected to the bus (704). Generally, devices such as an input device (706) including, for example, a touch screen, touch panel, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device (707) including, for example, a Liquid Crystal Display (LCD), speaker, vibrator, etc.; a storage device (708) including, for example, magnetic tape, hard disk, etc.; and a communication device (709) may be connected to the I / O interface (705). The communication device (709) may allow the electronic device (700) and other devices to perform wireless or wired communication to exchange data. Although FIG. 8 illustrates an electronic device (700) equipped with various devices, it should be understood that the implementation or provision of all devices illustrated is not required. Generally, it may be implemented or equipped with more or fewer devices. In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program.For example, an embodiment of the present application comprises a computer program product, which comprises a computer program loaded on a computer-readable medium, said computer program comprising program code for performing a method illustrated in a flowchart. In such an embodiment, said computer program may be downloaded and installed from a network via a communication device (709), or installed from a storage device (708), or installed from a ROM (702). When executed by a processing device (701), said computer program performs the above-described function defined in the method of an embodiment of the present application. As should be explained, the above-described computer-readable medium of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of both. The computer-readable storage medium may be, for example, an electric, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or element, or any combination of any above-described configuration. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections having one or more conductors, portable computer magnetic disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact magnetic disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this application, a computer-readable storage medium may be a medium of a type that contains or stores any program, said program may be used by or in combination with an instruction execution system, device, or element. In this application, a computer-readable signal medium may include a data signal propagated in the baseband or as part of a carrier wave, which has computer-readable program code loaded thereon.Data signals transmitted in this manner may take various forms and include, but are not limited to, electromagnetic signals, optical signals, or any suitable combination described above. A computer-readable signal medium may be any computer-readable medium other than a computer-readable storage medium, and said computer-readable signal medium may transmit, propagate, or transmit a program used by or in combination with an instruction execution system, device, or element. Program code contained in a computer-readable medium may be transmitted using any suitable medium, including, but not limited to, wires, optical cables, RF (radio frequency), etc., or any suitable combination described above. The said computer-readable medium may be included in the said electronic device; It may exist separately and may not be mounted on the electronic device. One or more programs are loaded on the computer-readable medium described above, and when the one or more programs described above are executed by the electronic device, the electronic device is configured to perform the method according to the embodiment described above. Computer program code for performing the operation of the present application may be written in one or more program design languages or a combination thereof, and the program design languages described above include object-oriented program design languages such as Java, Smalltalk, and C++, and further include existing procedural program design languages such as the “C” language or similar program design languages. The program code may be executed entirely on a user computer, partially on a user computer, as a separate software package, partially on a user computer, partially on a remote computer, or entirely on a remote computer or server.Where a remote computer is involved, the remote computer may be connected to the user computer via any type of network including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (e.g., connected to the Internet through an Internet service provider). The flowcharts and block diagrams in the accompanying drawings illustrate implementable system structures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagram may represent a module, program section, or part of code, said module, program section, or part of code may include executable instructions for implementing one or more specific logical functions. It should be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the accompanying drawings. For example, two consecutively indicated blocks may actually be executed in parallel, and in some cases, they may be executed in an opposite order, which is determined by the related functions. It should also be noted that each block in the block diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart, may be implemented as a hardware-based specialized system that performs a specific function or operation, or may be implemented as a combination of dedicated hardware and computer instructions. The units related to the description of the embodiments of this application may be implemented in the form of software or in the form of hardware. Here, the name of the unit does not constitute a limitation on the unit itself in some cases. The functions described above in this specification may be performed at least partially by one or more hardware logic members.For example, available, non-limiting, examples of hardware logic components include field programmable gate arrays (FPGAs), dedicated integrated circuits (ASICs), dedicated standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), etc. In the context of this application, a machine-readable medium may be a tangible medium and may contain or store a program used by or in combination with an instruction execution system, device, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more lines, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing. A person skilled in the art will be able to readily conceive of other embodiments of this application after considering the specification and practicing the invention disclosed herein. This application is intended to include any modifications, uses, or adaptive variations of this application, such modifications, uses, or adaptive variations are in accordance with the general principles of this application and include common sense or conventional technical means in the art that are not disclosed in this application. The specification and embodiments are to be regarded merely as illustrative, and the true scope and spirit of this application are defined by the claims below.It should be understood that the present application is not limited to the exact structure described above and illustrated in the attached drawings, and that various changes and modifications may be made within the scope thereof. The scope of the present application is limited only by the appended claims. Explanation of the symbols
[65535] 601: Reinforcement Module 602: Replacement Module 603: Synchronization Module 701: Processing Unit 702: ROM 703: RAM 704: Bus 705: Input / Output (I / O) Interface 706: Input Device 707: Output Device 708: Storage Device 709: Communication Device
Claims
Claim 1 A chip communication circuit based on automatic clock synchronization, wherein the chip communication circuit comprises: a controller that sends a control command; a first battery management chip and a battery management chip other than the first battery management chip, wherein the first battery management chip is connected to the controller via a serial peripheral interface and the different battery management chips perform isolated communication using a daisy chain of a 3-level sawtooth waveform, and the first battery management chip determines clock synchronization information of the first battery management chip in response to the received control command; replaces a chip select enable signal in the control command with a clock synchronization signal carrying the clock synchronization information of the first battery management chip to obtain a new control command; and transmits the new control command to another battery management chip so that the other battery management chip performs automatic clock synchronization based on the clock synchronization information carried in the new control command. Claim 2 In claim 1, the controller also configures scheduler mode parameters of the battery management chip when each of the battery management chips is initialized, and sends a scheduler mode start command to the battery management chip to control the battery management chip to perform communication tasks in a cycle according to the scheduler mode parameters, wherein the scheduler mode parameters include at least one of a balance start time, a static time after balance, a preparation time before balance circuit self-diagnosis, a preparation time before battery collection line open self-diagnosis, and a time required for battery voltage or temperature collection. Claim 3 A chip communication circuit according to claim 1, wherein the other battery management chip also determines whether the clock synchronization information carried in the new control command is the same as the clock information of the other battery management chip whenever it receives the new control command; and if it is determined that the clock synchronization information and the clock information of the other battery management chip are different, performs calibration processing on the clock information of the other battery management chip according to the clock synchronization information to execute automatic clock synchronization. Claim 4 A chip communication circuit characterized in that, in any one of claims 1 to 3, the other battery management chip also determines whether the clock synchronization information carried in at least two new control commands is the same when the new control command is received at least twice; and if it is determined that the clock synchronization information carried in at least two new control commands is different, performs calibration processing on the clock information of the other battery management chip according to the clock synchronization information received last, thereby executing automatic clock synchronization. Claim 5 A chip communication method based on automatic clock synchronization, comprising: a step of determining clock synchronization information of a first battery management chip in response to a received control command, wherein the control command is sent by a controller to the first battery management chip among a plurality of battery management chips via a serial peripheral interface; a step of obtaining a new control command by replacing a chip selection enable signal among the control commands with a clock synchronization signal carrying the clock synchronization information of the first battery management chip; and a step of transmitting the new control command to another battery management chip so that the other battery management chip performs automatic clock synchronization based on the clock synchronization information carried in the new control command, wherein the other battery management chip is a battery management chip other than the first battery management chip among a plurality of battery management chips, and performing isolated communication between different battery management chips using a daisy chain of a 3-level sawtooth waveform. Claim 6 In claim 5, the chip communication method based on automatic clock synchronization comprises: configuring scheduler mode parameters of the battery management chip when each of the battery management chips is initialized, wherein the scheduler mode parameters include at least one of a balance start time, a static time after balance, a preparation time before balance circuit self-diagnosis, a preparation time before battery collection line open self-diagnosis, and a time required for battery voltage or temperature collection; and further comprising the step of performing a communication task in a cycle according to the scheduler mode parameters in response to the battery management chip receiving a scheduler mode start command. Claim 7 A chip communication device based on automatic clock synchronization, comprising: a confirmation module that confirms clock synchronization information of a first battery management chip in response to a received control command, wherein the control command is sent by a controller to the first battery management chip among a plurality of battery management chips via a serial peripheral interface; a replacement module that obtains a new control command by replacing a chip selection enable signal in the control command with a clock synchronization signal carrying the clock synchronization information of the first battery management chip; and a synchronization module that transmits the new control command to another battery management chip so that the other battery management chip performs automatic clock synchronization based on the clock synchronization information carried in the new control command, wherein the other battery management chip is a battery management chip other than the first battery management chip among a plurality of battery management chips, and performs isolated communication between different battery management chips using a daisy chain of a 3-level sawtooth waveform. Claim 8 An electronic device comprising: a processor; and a memory connected to the processor, wherein the memory stores computer execution instructions, and the processor executes the computer execution instructions stored in the memory to implement a chip communication method based on automatic clock synchronization according to claim 5 or 6. Claim 9 A computer-readable recording medium, wherein the computer-readable recording medium stores a computer execution command, and when the computer execution command is executed by a processor, the computer-readable recording medium is characterized by implementing a chip communication method based on automatic clock synchronization according to claim 5 or 6. Claim 10 A computer program stored on a computer-readable recording medium, characterized in that, when the computer program is executed by a processor, a chip communication method based on automatic clock synchronization according to claim 5 or 6 is implemented.
Citation Information
Patent Citations
A battery management system and its daisy-chain communication method
CN115291833B
Apparatus and Method for Battery Management
KR1020170076411A
Battery management circuit and battery module
KR1020220027934A
Daisy-chain communication bus and protocol
US20150104673A1
Systems and methods for monitoring and managing life of a battery in an analyte sensor system worn by a user
US20160120448A1
