CN114528240B - Daisy chain communication control method and device - Google Patents
Daisy chain communication control method and device Download PDFInfo
- Publication number
- CN114528240B CN114528240B CN202210085324.4A CN202210085324A CN114528240B CN 114528240 B CN114528240 B CN 114528240B CN 202210085324 A CN202210085324 A CN 202210085324A CN 114528240 B CN114528240 B CN 114528240B
- Authority
- CN
- China
- Prior art keywords
- time
- daisy chain
- communication
- chain communication
- recorded
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000006854 communication Effects 0.000 title claims abstract description 322
- 238000004891 communication Methods 0.000 title claims abstract description 321
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000002159 abnormal effect Effects 0.000 claims description 25
- 230000005540 biological transmission Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000009825 accumulation Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000004146 energy storage Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000000178 monomer Substances 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4247—Bus transfer protocol, e.g. handshake; Synchronisation on a daisy chain bus
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The invention provides a daisy chain communication control method and a device, which are used for switching the daisy chain communication direction when the continuous communication time in the current daisy chain communication direction reaches a first preset time, so that the forward communication time and the reverse communication time of the daisy chain are equal, the sum of the power consumption of each AFE acquisition chip on the daisy chain is the same, the battery cell energy consumed by each AFE acquisition chip due to work is the same, the problem of inconsistent residual capacity of the battery cells caused by the power consumption difference of the acquisition chips is solved, and the consistency of the battery cells is improved.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a daisy chain communication control method and apparatus.
Background
In a large-sized energy storage system, a centralized BMS (Battery MANAGEMENT SYSTEM) based on a daisy chain communication technology is widely used in order to reduce the system cost, and a Battery RACK in the BMS includes a plurality of Battery PACKs, so that a plurality of AFE (Analog Front End) acquisition chips need to be connected in series.
The power consumption of the AFE acquisition chip during working mainly comprises ADC conversion power consumption, GPIO control power consumption, peripheral power consumption and communication power consumption. Because the ADC, the GPIO configuration, the control logic and the peripheral equipment of each AFE acquisition chip are consistent, the ADC conversion power consumption, the GPIO control power consumption and the peripheral equipment power consumption generated by the functions are the same. The communication power consumption of the AFE acquisition chips is generated in the communication process, all communication data are required to be transmitted through the front-stage AFE acquisition chips according to the communication mechanism of the daisy chain, the communication data volume of the far-end AFE acquisition chips of the daisy chain is smaller than that of the near-end AFE acquisition chips, and the communication power consumption of each AFE acquisition chip on the daisy chain is different, so that the overall power consumption of each AFE acquisition chip is different. Because the AFE acquisition chips directly take electricity from the battery when working, the battery electric quantity is consumed, the overall power consumption of each AFE acquisition chip is different from each other, and the battery electric core consistency is poor due to long-time accumulation, and the PACK battery capacity corresponding to the daisy chain near-end AFE acquisition chips is reduced.
Disclosure of Invention
In view of the above, the invention provides a daisy chain communication control method and device, which solve the problem of inconsistent residual capacity of battery cells caused by the difference of power consumption of acquisition chips and improve the consistency of the battery cells.
In order to achieve the above purpose, the specific technical scheme provided by the invention is as follows:
a daisy chain communication control method comprising:
acquiring a duration communication time in a current daisy chain communication direction;
and switching the daisy chain communication direction when the continuous communication time in the current daisy chain communication direction reaches a first preset time.
Optionally, the acquiring the duration of communication in the current daisy chain communication direction includes:
Judging whether the interval time from the last query time reaches a second preset time or not, wherein the second preset time is smaller than the first preset time;
if yes, reading the recorded daisy chain communication direction and the continuous communication time in the direction;
Determining the recorded daisy chain communication direction as the current daisy chain communication direction and determining the continuous communication time in the current daisy chain communication direction according to the recorded continuous communication time in the direction and the current system real-time.
Optionally, the method further comprises:
if the interval time from the last inquiry time does not reach the second preset time, judging whether the power supply voltage is abnormal or not;
If the power supply voltage is abnormal, updating the recorded daisy chain communication direction and the continuous communication time in the direction;
And if the power supply voltage is normal, returning to execute the judgment whether the interval time from the last inquiry time reaches a second preset time.
Optionally, after determining that the interval time from the last query time reaches the second preset time, the method further includes:
judging whether the battery management unit has communication faults or not;
If the battery management unit has communication faults, judging whether the power supply voltage is abnormal or not;
If the power supply voltage is abnormal, updating the recorded daisy chain communication direction and the continuous communication time in the direction;
if the power supply voltage is normal, returning to execute the judgment whether the interval time from the last query time reaches a second preset time;
And if the battery management unit does not have communication failure, determining the continuous communication time in the current daisy chain communication direction.
Optionally, the method further comprises:
And updating the recorded daisy chain communication direction and the continuous communication time in the direction when the continuous communication time in the current daisy chain communication direction does not reach the first preset time.
Optionally, after the switching of the daisy chain communication direction, the method further comprises:
updating the recorded daisy chain communication direction and clearing the continuous communication time in the updated daisy chain communication direction.
A daisy chain communication control device comprising:
A data acquisition unit configured to acquire a duration communication time in a current daisy chain communication direction;
and the switching control unit is used for switching the daisy chain communication direction when the continuous communication time in the current daisy chain communication direction reaches a first preset time.
Optionally, the data acquisition unit includes:
The time judging subunit is specifically configured to judge whether an interval time from a last query time reaches a second preset time, and if so, trigger the record reading subunit, where the second preset time is smaller than the first preset time;
The record reading subunit is specifically configured to read a daisy chain communication direction of the record and a duration of communication in the direction; determining the recorded daisy chain communication direction as the current daisy chain communication direction and determining the continuous communication time in the current daisy chain communication direction according to the recorded continuous communication time in the direction and the current system real-time.
Optionally, the apparatus further includes:
the voltage judging unit is used for judging whether the power supply voltage is abnormal or not when the interval time from the last query time does not reach the second preset time; triggering a record updating unit if the power supply voltage is abnormal, and triggering the time judging subunit if the power supply voltage is normal;
the record updating unit is used for updating the daisy chain communication direction of the record and the continuous communication time in the direction.
Optionally, the apparatus further includes:
The fault judging unit is used for judging whether the battery management unit has communication faults or not when the interval time from the last query time reaches the second preset time; triggering a voltage judging unit if the battery management unit has communication faults, and triggering the record reading subunit if the battery management unit has no communication faults;
The voltage judging unit is used for judging whether the power supply voltage is abnormal or not; triggering a record updating unit if the power supply voltage is abnormal, and triggering the time judging subunit if the power supply voltage is normal;
the record updating unit is used for updating the daisy chain communication direction of the record and the continuous communication time in the direction.
Optionally, the apparatus further includes:
And a record updating unit for updating the recorded daisy chain communication direction and the duration communication time in the direction when the duration communication time in the current daisy chain communication direction does not reach the first preset time.
Optionally, the apparatus further includes:
And the record updating unit is used for updating the recorded daisy chain communication direction after the daisy chain communication direction is switched, and clearing the continuous communication time in the updated daisy chain communication direction.
Compared with the prior art, the invention has the following beneficial effects:
According to the daisy chain communication control method and device disclosed by the invention, when the continuous communication time in the current daisy chain communication direction reaches the first preset time, the daisy chain communication direction is switched, so that the forward communication duration and the reverse communication duration of the daisy chain are equal, the sum of the power consumption of each AFE acquisition chip on the daisy chain is the same, the battery cell energy consumed by each AFE acquisition chip due to work is the same, the problem that the residual capacity of the battery cells is inconsistent due to the power consumption difference of the acquisition chips is solved, and the consistency of the battery cells is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a daisy-chain data communication direction;
FIG. 2 is a schematic diagram of daisy-chain communication energy loss;
fig. 3 is a schematic flow chart of a daisy chain communication control method according to an embodiment of the present invention;
FIG. 4 is a flow chart of another daisy chain communication control method according to an embodiment of the present invention;
FIG. 5 is a flow chart of another daisy chain communication control method according to an embodiment of the present invention;
Fig. 6 is a schematic structural diagram of a daisy-chain communication control device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The inventor has found through research that: there are two kinds of daisy chain communication transmission directions, namely, a daisy chain forward communication data transmission direction and a daisy chain reverse communication data transmission direction as shown in fig. 1, and S1 to S3 are AFE acquisition chips. The monomer number and the temperature sensing number acquired by the AFE acquisition chip are the same. In the same time, the acquisition power consumption of S3 is Wn3, the communication power consumption is Wc3, the acquisition power consumption of S2 is Wn2, the communication power consumption is Wc2, the acquisition power consumption of S1 acquisition chip is Wn1, and the communication power consumption is Wc1.
According to the daisy chain serial principle, the forward communication path is MCU- > B0- > S1- > S2- > S3, because the acquisition power consumption of each AFE acquisition chip is irrelevant to communication, the acquisition power consumption is the same, the communication power consumption of S3 is assumed to be Wn, only the communication power consumption of the user is minimum, the power consumption is set to Wc, the communication power consumption is in direct proportion to the communication data, and the method can be used for obtaining the communication data:
Wn1=Wn2=Wn2=Wn (1)
Wc3=Wc (2)
Wc2=2*Wc (3)
Wc1=3*Wc (4)
Therefore, the total power consumption of S1, S2, S3 in the forward communication mode is:
Wz1=Wn1+Wc1=Wn+3*Wc (5)
Wz2=Wn2+Wc2=Wn+2*Wc (6)
Wz3=Wn3+Wc3=Wn+Wc (7)
the reverse communication path is MCU- > B0- > S3- > S2- > S1, under the condition that the forward communication time is the same, the acquisition power consumption of each AFE acquisition chip is the same, the communication power consumption of S1 is minimum and only data communication is carried out, the power consumption is Wc, and the power consumption of communication is in direct proportion to the data of communication, so that the method can be used for obtaining:
Wn1=Wn3+Wn3=Wn (8)
Wc1=Wc (9)
Wc2=2*Wc (10)
Wc3=3*Wc (11)
the total power consumption of S1, S2, S3 in the reverse communication mode is therefore:
Wf1=Wn1+Wc1=Wn+Wc (12)
Wf2=Wn2+Wc2=Wn+2*Wc (13)
Wf3=Wn3+Wc3=Wn+3*Wc (14)
the sum of the power consumption of each AFE acquisition chip in the same forward and reverse communication time is:
W1=Wz1+Wf1=2*Wn+4*Wc (15)
W2=Wz2+Wf2=2*Wn+4*Wc (16)
W3=Wz3+Wf3=2*Wn+4*Wc (17)
from (15), (16) and (17), it can be seen that: the sum of the power consumption of each AFE acquisition chip is the same in the same forward and reverse communication time. After the daisy chain forward communication data transmission direction and the daisy chain reverse communication data transmission direction are adopted for a period of time, the residual capacity of the battery cells is shown in fig. 2, and it can be seen that the sum of the residual capacities of the battery cells corresponding to each AFE acquisition chip is the same, so that the duration of forward communication is controlled to be equal to the duration of reverse communication, the sum of the power consumption of each AFE acquisition chip can be the same, the battery cell energy consumed by each AFE acquisition chip due to work is the same, and the difference between the battery cells is avoided.
On the basis, the invention provides a daisy chain communication control method and device, by controlling the daisy chain communication direction, the forward communication duration time and the reverse communication duration time of the daisy chain are equal, and the sum of the power consumption of each AFE acquisition chip on the daisy chain is the same, so that the battery cell energy consumed by each AFE acquisition chip due to work is the same, the problem of inconsistent residual capacity of the battery cell caused by the power consumption difference of the acquisition chips is solved, and the consistency of the battery cells is improved.
Specifically, referring to fig. 3, the daisy chain communication control method disclosed in the present embodiment can be applied to an MCU (Microcontroller Unit, micro control unit) in a battery management system, and the method includes the following steps:
S101: a duration of communication in a current daisy-chain communication direction is obtained.
S102: and switching the daisy chain communication direction when the duration communication time in the current daisy chain communication direction reaches a first preset time.
It should be noted that, the first preset time is preset, the first preset time cannot be too long, the battery cell consistency is prevented from being deteriorated due to long-time accumulation, the first preset time cannot be too short, and the daisy chain communication direction is prevented from being frequently switched. The first preset time may be determined according to experimental data or may be empirically set, for example, set to 24 hours.
Specifically, the daisy chain communication direction and the duration of communication in that direction may be recorded in real time, thereby acquiring the duration of communication in the current daisy chain communication direction in real time. The daisy chain communication direction and the duration of the communication in that direction may also be periodically acquired.
In order to avoid the loss of recorded data due to power-down, the daisy chain communication direction and the duration of communication in that direction may be recorded in a storage medium such as a flash memory.
Further, taking the case that the daisy chain communication direction and the continuous communication time in the direction are recorded in the flash memory as an example, in order to avoid that the flash memory is frequently read and written to affect the service life of the flash memory, the daisy chain communication direction and the continuous communication time in the direction recorded in the flash memory can be periodically read, and the continuous communication time in the current daisy chain communication direction can be obtained, so as to judge whether the continuous communication time in the current daisy chain communication direction reaches the first preset time. If the duration of the communication in the daisy chain communication direction is queried once every second preset time, it should be noted that the second preset time cannot be too short, so as to avoid the problem that the flash memory is affected by frequent reading and writing due to too short time, and the second preset time cannot be too long, so that the problem of inaccurate duration of the communication due to abnormal communication or abnormal power supply voltage between two times of querying is avoided. The second preset time may be determined according to experimental data or may be empirically set, for example, set to 60 seconds.
And periodically reading the daisy chain communication direction and the continuous communication time in the direction recorded in the flash memory, switching the daisy chain communication direction when the continuous communication time in the current daisy chain communication direction reaches the first preset time, updating the daisy chain communication direction in the flash memory, and resetting the continuous communication time in the daisy chain communication direction. In the case where the duration in the current daisy chain communication direction does not reach the first preset time, the daisy chain communication direction is not switched, and only the duration in the daisy chain communication direction is updated in the flash memory.
On this basis, referring to fig. 4, the embodiment provides a daisy chain communication control method, which specifically includes the following steps:
S201: the daisy chain communication direction and the duration communication time in the direction recorded in the flash memory before power-down are read when power-up.
S202: and judging whether the interval time from the last query time reaches a second preset time.
If not, execution continues with S202.
If yes, execution S203: the daisy chain communication direction recorded in the flash memory and the duration of communication in that direction are read.
S204: the daisy chain communication direction recorded in the flash memory is determined as the current daisy chain communication direction, and the duration communication time in the current daisy chain communication direction is determined according to the duration communication time in the direction recorded in the flash memory and the current system real-time.
Wherein the current system real time can be obtained from the RTC chip in the system.
Specifically, the interval time between the last inquiry time and the current system real-time is calculated first, and the sum of the duration communication time in the direction and the interval time recorded in the flash memory is determined as the duration communication time in the current daisy chain communication direction, namely the latest duration communication time in the current daisy chain communication direction.
S205: and judging whether the continuous communication time in the current daisy chain communication direction reaches a first preset time.
If yes, execution S206: and switching the daisy chain communication direction, updating the daisy chain communication direction in the flash memory, and clearing the continuous communication time in the updated daisy chain communication direction.
If not, execution S207: the daisy chain communication direction and the duration of the communication in that direction are updated in the flash memory.
Further, in order to avoid the problem that the continuous communication time in the daisy chain communication direction cannot be recorded accurately due to sudden power failure or communication failure of the battery management unit, referring to fig. 5, the embodiment provides a daisy chain communication control method, which specifically includes the following steps:
s301: the daisy chain communication direction and the duration communication time in the direction recorded in the flash memory before power-down are read when power-up.
S302: and judging whether the interval time from the last query time reaches a second preset time.
If the interval time from the last query time reaches the second preset time, S303 is executed: it is determined whether a communication failure occurs in the battery management unit.
If the battery management unit has a communication failure, S304 is executed: and judging whether the power supply voltage is abnormal or not.
If the power supply voltage is abnormal, S305 is executed: the daisy chain communication direction and the duration of the communication in that direction are updated in the flash memory.
If the power supply voltage is normal, the process returns to S302.
If the battery management unit has not failed in communication, S306 is executed: the daisy chain communication direction recorded in the flash memory and the duration of communication in that direction are read.
S307: the daisy chain communication direction recorded in the flash memory is determined as the current daisy chain communication direction, and the duration communication time in the current daisy chain communication direction is determined according to the duration communication time in the direction recorded in the flash memory and the current system real-time.
S308: and judging whether the continuous communication time in the current daisy chain communication direction reaches a first preset time.
If yes, execution S309: and switching the daisy chain communication direction, updating the daisy chain communication direction in the flash memory, and clearing the continuous communication time in the updated daisy chain communication direction.
If not, S305 is performed.
If the interval time from the last query time does not reach the second preset time, S304 is executed.
It should be noted that, in order to ensure accuracy of the recorded data, in the case that the battery management unit has a communication failure, it may be determined whether the power supply voltage is abnormal after a third preset time is delayed, and the third preset time may be 100ms.
Therefore, according to the daisy chain communication control method disclosed by the embodiment, on the basis that the hardware cost is not required to be increased and the manual intervention is not required, when the continuous communication time in the current daisy chain communication direction reaches the first preset time, the daisy chain communication direction is switched, so that the forward communication duration and the reverse communication duration of the daisy chain are equal, the sum of the power consumption of each AFE acquisition chip on the daisy chain is the same, the battery cell energy consumed by each AFE acquisition chip due to the work is the same, the problem that the residual capacity of the battery cell is inconsistent due to the power consumption difference of the acquisition chips is solved, and the consistency of the battery cells is improved.
Based on the daisy chain communication control method disclosed in the above embodiment, the present embodiment correspondingly discloses a daisy chain communication control device, please refer to fig. 6, which includes:
A data acquisition unit 601, configured to acquire a duration communication time in a current daisy chain communication direction;
and a switching control unit 602, configured to switch the daisy chain communication direction when the duration in the current daisy chain communication direction reaches a first preset time.
Optionally, the data acquisition unit 601 includes:
The time judging subunit is specifically configured to judge whether an interval time from a last query time reaches a second preset time, and if so, trigger the record reading subunit, where the second preset time is smaller than the first preset time;
The record reading subunit is specifically configured to read a daisy chain communication direction of the record and a duration of communication in the direction; determining the recorded daisy chain communication direction as the current daisy chain communication direction and determining the continuous communication time in the current daisy chain communication direction according to the recorded continuous communication time in the direction and the current system real-time.
Optionally, the apparatus further includes:
the voltage judging unit is used for judging whether the power supply voltage is abnormal or not when the interval time from the last query time does not reach the second preset time; triggering a record updating unit if the power supply voltage is abnormal, and triggering the time judging subunit if the power supply voltage is normal;
the record updating unit is used for updating the daisy chain communication direction of the record and the continuous communication time in the direction.
Optionally, the apparatus further includes:
The fault judging unit is used for judging whether the battery management unit has communication faults or not when the interval time from the last query time reaches the second preset time; triggering a voltage judging unit if the battery management unit has communication faults, and triggering the record reading subunit if the battery management unit has no communication faults;
The voltage judging unit is used for judging whether the power supply voltage is abnormal or not; triggering a record updating unit if the power supply voltage is abnormal, and triggering the time judging subunit if the power supply voltage is normal;
the record updating unit is used for updating the daisy chain communication direction of the record and the continuous communication time in the direction.
Optionally, the apparatus further includes:
And a record updating unit for updating the recorded daisy chain communication direction and the duration communication time in the direction when the duration communication time in the current daisy chain communication direction does not reach the first preset time.
Optionally, the apparatus further includes:
And the record updating unit is used for updating the recorded daisy chain communication direction after the daisy chain communication direction is switched, and clearing the continuous communication time in the updated daisy chain communication direction.
According to the daisy chain communication control device disclosed by the embodiment, when the continuous communication time in the current daisy chain communication direction reaches the first preset time, the daisy chain communication direction is switched, so that the forward communication time and the reverse communication time of the daisy chain are equal, the sum of the power consumption of each AFE acquisition chip in the daisy chain is the same, the battery cell energy consumed by each AFE acquisition chip due to work is the same, the problem that the residual capacity of the battery cell is inconsistent due to the power consumption difference of the acquisition chips is solved, and the consistency of the battery cells is improved.
In the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
It is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above embodiments may be combined in any manner, and features described in the embodiments in the present specification may be replaced or combined with each other in the above description of the disclosed embodiments, so as to enable those skilled in the art to make or use the present application.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (12)
1. A daisy chain communication control method, comprising:
reading the daisy chain communication direction and the continuous communication time in the direction recorded in the flash memory before power failure when power is on;
acquiring a duration communication time in a current daisy chain communication direction; determining the daisy chain communication direction recorded in the flash memory as the current daisy chain communication direction, and determining the continuous communication time in the current daisy chain communication direction according to the continuous communication time in the direction recorded in the flash memory and the current system real-time;
and switching the daisy chain communication direction when the continuous communication time in the current daisy chain communication direction reaches a first preset time.
2. The method of claim 1, wherein the obtaining the duration of communication in the current daisy-chain communication direction comprises:
Judging whether the interval time from the last query time reaches a second preset time or not, wherein the second preset time is smaller than the first preset time;
if yes, reading the recorded daisy chain communication direction and the continuous communication time in the direction;
Determining the recorded daisy chain communication direction as the current daisy chain communication direction and determining the continuous communication time in the current daisy chain communication direction according to the recorded continuous communication time in the direction and the current system real-time.
3. The method according to claim 2, wherein the method further comprises:
if the interval time from the last inquiry time does not reach the second preset time, judging whether the power supply voltage is abnormal or not;
If the power supply voltage is abnormal, updating the recorded daisy chain communication direction and the continuous communication time in the direction;
And if the power supply voltage is normal, returning to execute the judgment whether the interval time from the last inquiry time reaches a second preset time.
4. The method of claim 2, wherein after determining that the interval from the last query time reaches the second preset time, the method further comprises:
judging whether the battery management unit has communication faults or not;
If the battery management unit has communication faults, judging whether the power supply voltage is abnormal or not;
If the power supply voltage is abnormal, updating the recorded daisy chain communication direction and the continuous communication time in the direction;
if the power supply voltage is normal, returning to execute the judgment whether the interval time from the last query time reaches a second preset time;
And if the battery management unit does not have communication failure, determining the continuous communication time in the current daisy chain communication direction.
5. The method according to claim 1, wherein the method further comprises:
And updating the recorded daisy chain communication direction and the continuous communication time in the direction when the continuous communication time in the current daisy chain communication direction does not reach the first preset time.
6. The method of claim 1, wherein after the switching of daisy chain communication directions, the method further comprises:
updating the recorded daisy chain communication direction and clearing the continuous communication time in the updated daisy chain communication direction.
7. A daisy-chain communication control device, comprising:
The data acquisition unit is used for reading the daisy chain communication direction and the continuous communication time in the direction recorded in the flash memory before power failure when power is on; acquiring a duration communication time in a current daisy chain communication direction; determining the daisy chain communication direction recorded in the flash memory as the current daisy chain communication direction, and determining the continuous communication time in the current daisy chain communication direction according to the continuous communication time in the direction recorded in the flash memory and the current system real-time;
and the switching control unit is used for switching the daisy chain communication direction when the continuous communication time in the current daisy chain communication direction reaches a first preset time.
8. The apparatus of claim 7, wherein the data acquisition unit comprises:
The time judging subunit is specifically configured to judge whether an interval time from a last query time reaches a second preset time, and if so, trigger the record reading subunit, where the second preset time is smaller than the first preset time;
The record reading subunit is specifically configured to read a daisy chain communication direction of the record and a duration of communication in the direction; determining the recorded daisy chain communication direction as the current daisy chain communication direction and determining the continuous communication time in the current daisy chain communication direction according to the recorded continuous communication time in the direction and the current system real-time.
9. The apparatus of claim 8, wherein the apparatus further comprises:
the voltage judging unit is used for judging whether the power supply voltage is abnormal or not when the interval time from the last query time does not reach the second preset time; triggering a record updating unit if the power supply voltage is abnormal, and triggering the time judging subunit if the power supply voltage is normal;
the record updating unit is used for updating the daisy chain communication direction of the record and the continuous communication time in the direction.
10. The apparatus of claim 8, wherein the apparatus further comprises:
The fault judging unit is used for judging whether the battery management unit has communication faults or not when the interval time from the last query time reaches the second preset time; triggering a voltage judging unit if the battery management unit has communication faults, and triggering the record reading subunit if the battery management unit has no communication faults;
The voltage judging unit is used for judging whether the power supply voltage is abnormal or not; triggering a record updating unit if the power supply voltage is abnormal, and triggering the time judging subunit if the power supply voltage is normal;
the record updating unit is used for updating the daisy chain communication direction of the record and the continuous communication time in the direction.
11. The apparatus of claim 7, wherein the apparatus further comprises:
And a record updating unit for updating the recorded daisy chain communication direction and the duration communication time in the direction when the duration communication time in the current daisy chain communication direction does not reach the first preset time.
12. The apparatus of claim 7, wherein the apparatus further comprises:
And the record updating unit is used for updating the recorded daisy chain communication direction after the daisy chain communication direction is switched, and clearing the continuous communication time in the updated daisy chain communication direction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210085324.4A CN114528240B (en) | 2022-01-25 | 2022-01-25 | Daisy chain communication control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210085324.4A CN114528240B (en) | 2022-01-25 | 2022-01-25 | Daisy chain communication control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114528240A CN114528240A (en) | 2022-05-24 |
CN114528240B true CN114528240B (en) | 2024-08-06 |
Family
ID=81622155
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210085324.4A Active CN114528240B (en) | 2022-01-25 | 2022-01-25 | Daisy chain communication control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114528240B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117319126B (en) * | 2023-11-29 | 2024-04-02 | 宁德时代新能源科技股份有限公司 | Chip power consumption control method, device, computer equipment and storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111775769A (en) * | 2020-06-28 | 2020-10-16 | 联合汽车电子有限公司 | Battery management system and method |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002111720A (en) * | 2000-09-26 | 2002-04-12 | Hitachi Kokusai Electric Inc | Data transmission system |
US9847885B2 (en) * | 2013-07-19 | 2017-12-19 | Philips Lighting Holding B.V. | Power negotiation in daisy-chained systems |
JP2015149834A (en) * | 2014-02-06 | 2015-08-20 | トヨタ自動車株式会社 | battery monitoring device |
US10505374B2 (en) * | 2016-05-31 | 2019-12-10 | Infineon Technologies Ag | Power balancing communication for battery management |
KR102150147B1 (en) * | 2017-05-24 | 2020-09-01 | 주식회사 엘지화학 | Apparatus and method for balancing battery module |
WO2018216874A1 (en) * | 2017-05-24 | 2018-11-29 | 주식회사 엘지화학 | Apparatus and method for battery module equalization |
KR102173778B1 (en) * | 2017-07-25 | 2020-11-03 | 주식회사 엘지화학 | Battery management unit and a battery pack including the same |
CN207442475U (en) * | 2017-09-04 | 2018-06-01 | 东莞钜威动力技术有限公司 | The battery signal Acquisition Circuit and cell managing device of power-consumption balance |
CN112787856B (en) * | 2020-12-30 | 2023-06-30 | 上海金脉电子科技有限公司 | Fault judging method, device, computer equipment and readable storage medium |
CN112953773B (en) * | 2021-02-25 | 2022-05-31 | 重庆长安新能源汽车科技有限公司 | Ring daisy chain communication fault processing method of BMS |
-
2022
- 2022-01-25 CN CN202210085324.4A patent/CN114528240B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111775769A (en) * | 2020-06-28 | 2020-10-16 | 联合汽车电子有限公司 | Battery management system and method |
Also Published As
Publication number | Publication date |
---|---|
CN114528240A (en) | 2022-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI692647B (en) | Server, maintenance terminal, power battery maintenance method, device and system | |
US7723949B2 (en) | Battery device | |
CN109407013B (en) | Standby battery electric quantity state monitoring circuit and method | |
TWI737041B (en) | Method and system for calculating a remaining capacity of a battery | |
EP2455773B1 (en) | Detecting circuit for electric quantity, processing device and method for state detection of mobile telephone in standby | |
CA2485017A1 (en) | Battery management system and method | |
CN115514064B (en) | Battery management system for lithium battery power supply system | |
CN103296703B (en) | A kind of battery charging control method and electronic equipment | |
US20190319478A1 (en) | Battery Charging Apparatus and Method, Terminal, Power Adapter, and Storage Medium | |
EP1949522A1 (en) | Multi-battery pack system, method for controlling the same, and battery pack | |
WO2015075857A1 (en) | Power storage system and method for charging secondary cell | |
WO2015000445A1 (en) | Method and system of obtaining power consumption degree of application, and energy saving method and system | |
CN104600792A (en) | Address assignment method for energy storage battery management system | |
CN114528240B (en) | Daisy chain communication control method and device | |
EP3920365A1 (en) | Battery management system, battery management method, battery pack, and electric car | |
CN112737043A (en) | Power supply energy storage system, and control method and device of power supply energy storage system | |
JP2011153952A (en) | Protection module having monitoring function | |
CN110416643B (en) | Processing method and device and electronic equipment | |
JP7503044B2 (en) | Smart battery device and its electronic devices | |
CN107994676B (en) | Vehicle-mounted communication terminal | |
CN110875610A (en) | Electronic equipment power supply method and device, electronic equipment and storage medium | |
CN113690960B (en) | Lithium battery management method and device and related components | |
JP2011010448A (en) | Control unit | |
CN115085309A (en) | Lithium battery balance management method, storage medium, electronic device and device | |
CN114221413A (en) | Charging method, charging device, charger, battery and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |