CN114528240A - Daisy chain communication control method and device - Google Patents
Daisy chain communication control method and device Download PDFInfo
- Publication number
- CN114528240A CN114528240A CN202210085324.4A CN202210085324A CN114528240A CN 114528240 A CN114528240 A CN 114528240A CN 202210085324 A CN202210085324 A CN 202210085324A CN 114528240 A CN114528240 A CN 114528240A
- Authority
- CN
- China
- Prior art keywords
- time
- daisy chain
- communication
- chain communication
- continuous
- 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.)
- Pending
Links
- 230000006854 communication Effects 0.000 title claims abstract description 310
- 238000004891 communication Methods 0.000 title claims abstract description 309
- 238000000034 method Methods 0.000 title claims abstract description 40
- 230000002159 abnormal effect Effects 0.000 claims description 23
- 230000005540 biological transmission Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 230000005856 abnormality Effects 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000009286 beneficial effect 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
Images
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, wherein when the continuous communication time in the current daisy chain communication direction reaches a 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, and the total power consumption of each AFE acquisition chip on the daisy chain is the same, so that the energy of a battery cell consumed by each AFE acquisition chip due to work is the same, the problem of inconsistent residual capacity of the battery cell due to the power consumption difference of the acquisition chips is solved, and the consistency of the battery cell 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 energy storage System, a daisy chain communication technology based centralized BMS (Battery Management System) is widely used to reduce System cost, and since a Battery RACK in the BMS includes a plurality of Battery PACKs, 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. Since the ADC, the GPIO configuration, the control logic and the peripheral of each AFE acquisition chip are all consistent, the ADC conversion power consumption, the GPIO control power consumption and the peripheral power consumption generated by the part of functions are the same. The communication power consumption of the AFE acquisition chip is generated in the communication process, all communication data need to be transmitted through the front-stage AFE acquisition chip according to a communication mechanism of the daisy chain, and the communication data volume of the far-end AFE acquisition chip of the daisy chain is smaller than that of the near-end AFE acquisition chip, so that the communication power consumption of each AFE acquisition chip on the daisy chain is different, and the total power consumption of each AFE acquisition chip is different. Because AFE gathers the chip during operation and gets the electricity from the battery directly, consumes battery power, and the total consumption diverse of every AFE gathers the long-time accumulation of chip and can cause battery electricity core uniformity to worsen, and the PACK battery capacity that daisy chain near-end AFE gathered the chip and corresponds diminishes.
Disclosure of Invention
In view of this, the invention provides a daisy chain communication control method and device, which solve the problem of inconsistent residual capacities of battery cells caused by power consumption differences of acquisition chips and improve the consistency of the battery cells.
In order to achieve the above purpose, the invention provides the following specific technical scheme:
a daisy chain communication control method comprising:
acquiring the continuous communication time in the current daisy chain communication direction;
and when the continuous communication time in the current daisy chain communication direction reaches a first preset time, switching the daisy chain communication direction.
Optionally, the obtaining the duration of communication time in the current daisy-chain communication direction includes:
judging whether the interval time from the last query time reaches a second preset time, wherein the second preset time is less than the first preset time;
if yes, reading the recorded daisy chain communication direction and the continuous communication time in the direction;
and 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 includes:
if the interval time from the last query 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 between the time and 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 a communication fault, judging whether the power supply voltage is abnormal;
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 between the time and the last inquiry time reaches a second preset time;
and if the communication fault does not occur in the battery management unit, determining the continuous communication time in the current daisy chain communication direction.
Optionally, the method further includes:
and when the continuous communication time in the current daisy chain communication direction does not reach the first preset time, updating the recorded daisy chain communication direction and the continuous communication time in the direction.
Optionally, after switching the daisy-chain communication direction, the method further includes:
and 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 for acquiring a continuous 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 obtaining unit includes:
the time judging subunit is specifically configured to judge whether the interval time from the last query time reaches a second preset time, and if so, trigger the record reading subunit, where the second preset time is less than the first preset time;
the record reading subunit is specifically configured to read a daisy chain communication direction of the record and a communication duration in the direction; and 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 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; if the power supply voltage is abnormal, triggering a record updating unit, and if the power supply voltage is normal, triggering the time judging subunit;
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 comprises:
the fault judging unit is used for judging whether the communication fault occurs in the battery management unit or not when the interval time from the last inquiry time reaches the second preset time; if the battery management unit has a communication fault, triggering a voltage judgment unit, and if the battery management unit has no communication fault, triggering the record reading subunit;
the voltage judging unit is used for judging whether the power supply voltage is abnormal or not; if the power supply voltage is abnormal, triggering a record updating unit, and if the power supply voltage is normal, triggering the time judging subunit;
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 comprises:
and the record updating unit is used for 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, the apparatus further comprises:
and a record updating unit for updating the daisy chain communication direction of the record after the switching of the daisy chain communication direction 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, when the continuous communication time in the current daisy chain communication direction reaches a 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 power consumption sum of each AFE acquisition chip on the daisy chain is the same, the energy of a battery cell consumed by each AFE acquisition chip due to work is the same, the problem of inconsistent residual capacity of the battery cell due to the power consumption difference of the acquisition chips is solved, and the consistency of the battery cell 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 used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
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 flowchart of a daisy chain communication control method according to an embodiment of the present invention;
FIG. 4 is a flow chart illustrating another daisy chain communication control method according to an embodiment of the present invention;
FIG. 5 is a flow chart illustrating 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 technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The inventor finds out through research that: at present, there are two daisy chain communication transmission directions, i.e. the daisy chain forward communication data transmission direction and the daisy chain reverse communication data transmission direction shown in fig. 1, and S1 to S3 are AFE acquisition chips. The number of monomers and the temperature sensing number collected by the AFE collecting chip are the same. In the same time, the acquisition power consumption of S3 is Wn3, the power consumption of communication is Wc3, the acquisition power consumption of S2 is Wn2, the power consumption of communication is Wc2, the acquisition power consumption of S1 acquisition chip is Wn1, and the power consumption of communication is Wc 1.
According to the daisy chain principle, the forward communication path is MCU- > B0- > S1- > S2- > S3, since the acquisition power consumption of each AFE acquisition chip is irrelevant to the communication, the acquisition power consumption is the same, assuming that the minimum communication power consumption of Wn and S3 is only own data communication, the power consumption is Wc, and the power consumption of communication is proportional to the data of communication, so that:
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 time is the same as the forward communication time, the acquisition power consumption of each AFE acquisition chip is the same, the acquisition power consumption is Wn, the communication power consumption of S1 is only own data communication at the minimum, the power consumption is Wc, and the power consumption of communication is in direct proportion to the data of communication, so that the following can be obtained:
Wn1=Wn3+Wn3=Wn (8)
Wc1=Wc (9)
Wc2=2*Wc (10)
Wc3=3*Wc (11)
therefore, the total power consumption of S1, S2, S3 in the reverse communication mode is:
Wf1=Wn1+Wc1=Wn+Wc (12)
Wf2=Wn2+Wc2=Wn+2*Wc (13)
Wf3=Wn3+Wc3=Wn+3*Wc (14)
therefore, 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): the sum of the power consumption of each AFE acquisition chip is the same during 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 remaining capacity of the battery cell is as shown in fig. 2, and it can be seen that the sum of the remaining capacity of the battery cell corresponding to each AFE acquisition chip is the same, so that the forward communication duration is controlled to be equal to the reverse communication duration, the sum of the power consumption of each AFE acquisition chip can be made to be the same, the battery cell energy consumed by each AFE acquisition chip due to work is made to be the same, and further, the difference between the battery cells is avoided.
On the basis, the invention provides a daisy chain communication control method and a device, by controlling the daisy chain communication direction, the forward communication duration and the reverse communication duration 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 energy of battery cells 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.
Specifically, referring to fig. 3, the daisy chain communication control method disclosed in this embodiment may be applied to an MCU (micro controller 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 when the continuous communication time in the current daisy chain communication direction reaches a first preset time, switching the daisy chain communication direction.
It should be noted that the first preset time is preset, and the set first preset time cannot be too long, so as to avoid the consistency of the battery cells from being deteriorated due to long-time accumulation, and the set first preset time cannot be too short, so as to avoid frequent switching of the daisy chain communication direction. The first preset time may be determined based on experimental data or may be set empirically, such as 24 hours.
Specifically, the daisy chain communication direction and the communication duration in the direction can be recorded in real time, so that the communication duration in the current daisy chain communication direction can be acquired in real time. The daisy chain communication direction and the duration of communication in that direction may also be periodically obtained.
In order to avoid loss of recorded data due to power failure, the daisy chain communication direction and the communication duration in that direction may be recorded in a storage medium such as a flash memory (flash memory).
Further, taking the example of recording the daisy chain communication direction and the communication duration in the direction in the flash memory, in order to avoid the influence of frequent reading and writing of the flash memory on the life of the flash memory, the daisy chain communication direction and the communication duration in the direction recorded in the flash memory may be periodically read, and the communication duration in the current daisy chain communication direction may be obtained, so as to determine whether the communication duration in the current daisy chain communication direction reaches the first preset time. If the continuous communication time 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 that the problem that the service life of the flash memory is affected by frequent reading and writing of the flash memory due to too short time is avoided, and the problem that the recording of the continuous communication time is inaccurate due to communication abnormality or power supply voltage abnormality between two query times is avoided. The second predetermined time may be determined based on experimental data or may be set empirically, such as 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 a first preset time, updating the daisy chain communication direction in the flash memory, and clearing the continuous communication time in the daisy chain communication direction. When the continuous communication time 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 continuous communication time in the daisy chain communication direction is updated in the flash memory.
On this basis, referring to fig. 4, the present embodiment provides a daisy chain communication control method, which specifically includes the following steps:
s201: and reading the daisy chain communication direction recorded in the flash memory before power failure and the continuous communication time in the direction when the power failure occurs.
S202: and judging whether the interval time from the last inquiry time reaches a second preset time.
If not, the process continues to S202.
If yes, go to step S203: the daisy chain communication direction recorded in the flash memory and the duration of communication in that direction are read.
S204: and 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.
The current real-time of the system can be acquired from an RTC chip in the system.
Specifically, the interval time between the last inquiry time and the current system real-time is calculated, and the sum of the communication duration in the direction recorded in the flash memory and the interval time is determined as the communication duration in the current daisy chain communication direction, i.e. the latest communication duration 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, go to step S206: 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, executing S207: the daisy chain communication direction and the duration of communication in that direction are updated in the flash memory.
Further, in order to avoid the problem that the communication duration in the daisy chain communication direction cannot be accurately recorded 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: and reading the daisy chain communication direction recorded in the flash memory before power failure and the continuous communication time in the direction when the power failure occurs.
S302: and judging whether the interval time from the last inquiry time reaches a second preset time.
If the interval time from the last query time reaches a second preset time, executing S303: and judging whether the battery management unit has communication faults or not.
If the battery management unit has a communication failure, executing S304: and judging whether the power supply voltage is abnormal or not.
If the power supply voltage is abnormal, executing S305: the daisy chain communication direction and the duration of communication in that direction are updated in the flash memory.
If the power supply voltage is normal, the process returns to step S302.
If the battery management unit has no communication failure, executing S306: the daisy chain communication direction recorded in the flash memory and the duration of communication in that direction are read.
S307: and 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.
S308: and judging whether the continuous communication time in the current daisy chain communication direction reaches a first preset time.
If yes, go to S309: 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, go to S305.
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 the accuracy of the recorded data, when a communication failure occurs in the battery management unit, it may be determined whether the power supply voltage is abnormal after delaying for a third preset time, where the third preset time may be 100 ms.
It can be seen that, according to the daisy chain communication control method disclosed in this embodiment, on the basis that hardware cost does not need to be increased and manual intervention is not needed, when the duration 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 time and the reverse communication duration time of the daisy chain are equal, and the total power consumption of each AFE acquisition chip on the daisy chain is the same, so that the energy of the battery cell consumed by each AFE acquisition chip due to work is the same, the problem of inconsistent residual capacity of the battery cell due to the power consumption difference of the acquisition chips is solved, and the consistency of the battery cell is improved.
Based on the daisy chain communication control method disclosed in the foregoing embodiment, this embodiment correspondingly discloses a daisy chain communication control device, please refer to fig. 6, and the device includes:
a data obtaining unit 601, configured to obtain a continuous communication time in a current daisy chain communication direction;
a switching control unit 602, configured to switch 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 obtaining unit 601 includes:
the time judging subunit is specifically configured to judge whether the interval time from the last query time reaches a second preset time, and if so, trigger the record reading subunit, where the second preset time is less than the first preset time;
the record reading subunit is specifically configured to read a daisy chain communication direction of the record and a communication duration in the direction; and 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 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; if the power supply voltage is abnormal, triggering a record updating unit, and if the power supply voltage is normal, triggering the time judging subunit;
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 comprises:
the fault judging unit is used for judging whether the communication fault occurs in the battery management unit or not when the interval time from the last inquiry time reaches the second preset time; if the battery management unit has a communication fault, triggering a voltage judgment unit, and if the battery management unit has no communication fault, triggering the record reading subunit;
the voltage judging unit is used for judging whether the power supply voltage is abnormal or not; if the power supply voltage is abnormal, triggering a record updating unit, and if the power supply voltage is normal, triggering the time judging subunit;
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 comprises:
and the record updating unit is used for 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, the apparatus further comprises:
and a record updating unit for updating the daisy chain communication direction of the record after the switching of the daisy chain communication direction and clearing the continuous communication time in the updated daisy chain communication direction.
According to the daisy chain communication control device disclosed in 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 duration and the reverse communication duration of the daisy chain are equal, and the total power consumption of each AFE acquisition chip on the daisy chain is the same, so that the energy of a battery cell consumed by each AFE acquisition chip due to work is the same, the problem of inconsistent residual capacity of the battery cell due to the power consumption difference of the acquisition chips is solved, and the consistency of the battery cell is improved.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
It is further noted that, herein, relational terms such as first and second, and the like may be 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. Also, 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 an … …" does not exclude the presence of other identical 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. A software module may reside 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 can be combined arbitrarily, and the features described in the embodiments in the present specification can be replaced or combined with each other in the above description of the disclosed embodiments, so that those skilled in the art can implement 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:
acquiring the continuous communication time in the current daisy chain communication direction;
and when the continuous communication time in the current daisy chain communication direction reaches a first preset time, switching the daisy chain communication direction.
2. The method of claim 1, wherein 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, wherein the second preset time is less than the first preset time;
if yes, reading the recorded daisy chain communication direction and the continuous communication time in the direction;
and 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 of claim 2, further comprising:
if the interval time from the last query 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 between the time and 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 a second preset time, the method further comprises:
judging whether the battery management unit has communication faults or not;
if the battery management unit has a communication fault, judging whether the power supply voltage is abnormal;
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 between the time and the last inquiry time reaches a second preset time;
and if the communication fault does not occur in the battery management unit, determining the continuous communication time in the current daisy chain communication direction.
5. The method of claim 1, further comprising:
and when the continuous communication time in the current daisy chain communication direction does not reach the first preset time, updating the recorded daisy chain communication direction and the continuous communication time in the direction.
6. The method of claim 1, wherein after the switching daisy chain communication directions, the method further comprises:
and 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:
a data acquisition unit for acquiring a continuous 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.
8. The apparatus of claim 7, wherein the data acquisition unit comprises:
the time judging subunit is specifically configured to judge whether the interval time from the last query time reaches a second preset time, and if so, trigger the record reading subunit, where the second preset time is less than the first preset time;
the record reading subunit is specifically configured to read a daisy chain communication direction of the record and a communication duration in the direction; and 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, further comprising:
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; if the power supply voltage is abnormal, triggering a record updating unit, and if the power supply voltage is normal, triggering the time judging subunit;
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, further comprising:
the fault judging unit is used for judging whether the communication fault occurs in the battery management unit or not when the interval time from the last inquiry time reaches the second preset time; if the battery management unit has a communication fault, triggering a voltage judgment unit, and if the battery management unit has no communication fault, triggering the record reading subunit;
the voltage judging unit is used for judging whether the power supply voltage is abnormal or not; if the power supply voltage is abnormal, triggering a record updating unit, and if the power supply voltage is normal, triggering the time judging subunit;
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, further comprising:
and the record updating unit is used for 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.
12. The apparatus of claim 7, further comprising:
and a record updating unit for updating the daisy chain communication direction of the record after the switching of the daisy chain communication direction 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 CN114528240A (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 CN114528240A (en) | 2022-01-25 | 2022-01-25 | Daisy chain communication control method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114528240A true CN114528240A (en) | 2022-05-24 |
Family
ID=81622155
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210085324.4A Pending CN114528240A (en) | 2022-01-25 | 2022-01-25 | Daisy chain communication control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114528240A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117319126A (en) * | 2023-11-29 | 2023-12-29 | 宁德时代新能源科技股份有限公司 | Chip power consumption control method, device, computer equipment and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015149834A (en) * | 2014-02-06 | 2015-08-20 | トヨタ自動車株式会社 | battery monitoring device |
CN105379044A (en) * | 2013-07-19 | 2016-03-02 | 皇家飞利浦有限公司 | Power negotiation in daisy-chained systems |
CN107452992A (en) * | 2016-05-31 | 2017-12-08 | 英飞凌科技股份有限公司 | Power-balance for battery management communicates |
CN207442475U (en) * | 2017-09-04 | 2018-06-01 | 东莞钜威动力技术有限公司 | The battery signal Acquisition Circuit and cell managing device of power-consumption balance |
WO2018216874A1 (en) * | 2017-05-24 | 2018-11-29 | 주식회사 엘지화학 | Apparatus and method for battery module equalization |
CN110024256A (en) * | 2017-05-24 | 2019-07-16 | 株式会社Lg化学 | Device and method for battery module equilibrium |
CN111775769A (en) * | 2020-06-28 | 2020-10-16 | 联合汽车电子有限公司 | Battery management system and method |
CN112787856A (en) * | 2020-12-30 | 2021-05-11 | 上海金脉电子科技有限公司 | Fault judgment method and device, computer equipment and readable storage medium |
CN112953773A (en) * | 2021-02-25 | 2021-06-11 | 重庆长安新能源汽车科技有限公司 | Ring daisy chain communication fault processing method of BMS |
-
2022
- 2022-01-25 CN CN202210085324.4A patent/CN114528240A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105379044A (en) * | 2013-07-19 | 2016-03-02 | 皇家飞利浦有限公司 | Power negotiation in daisy-chained systems |
JP2015149834A (en) * | 2014-02-06 | 2015-08-20 | トヨタ自動車株式会社 | battery monitoring device |
CN107452992A (en) * | 2016-05-31 | 2017-12-08 | 英飞凌科技股份有限公司 | Power-balance for battery management communicates |
WO2018216874A1 (en) * | 2017-05-24 | 2018-11-29 | 주식회사 엘지화학 | Apparatus and method for battery module equalization |
CN110024256A (en) * | 2017-05-24 | 2019-07-16 | 株式会社Lg化学 | Device and method for battery module equilibrium |
CN207442475U (en) * | 2017-09-04 | 2018-06-01 | 东莞钜威动力技术有限公司 | The battery signal Acquisition Circuit and cell managing device of power-consumption balance |
CN111775769A (en) * | 2020-06-28 | 2020-10-16 | 联合汽车电子有限公司 | Battery management system and method |
CN112787856A (en) * | 2020-12-30 | 2021-05-11 | 上海金脉电子科技有限公司 | Fault judgment method and device, computer equipment and readable storage medium |
CN112953773A (en) * | 2021-02-25 | 2021-06-11 | 重庆长安新能源汽车科技有限公司 | Ring daisy chain communication fault processing method of BMS |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117319126A (en) * | 2023-11-29 | 2023-12-29 | 宁德时代新能源科技股份有限公司 | Chip power consumption control method, device, computer equipment and storage medium |
CN117319126B (en) * | 2023-11-29 | 2024-04-02 | 宁德时代新能源科技股份有限公司 | Chip power consumption control method, device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3405526B2 (en) | Multiple battery pack power supply | |
US5600230A (en) | Smart battery providing programmable remaining capacity and run-time alarms based on battery-specific characteristics | |
EP2744068B1 (en) | Battery management system and battery management method | |
JP6863560B2 (en) | Battery resistance estimation device and method | |
TWI737041B (en) | Method and system for calculating a remaining capacity of a battery | |
CN111679206B (en) | Electric quantity detection method and device, and storage medium | |
BR102018014985A2 (en) | SOLAR BATTERY SYSTEM AND CONTROL METHOD | |
EP1949522A1 (en) | Multi-battery pack system, method for controlling the same, and battery pack | |
EP2455773B1 (en) | Detecting circuit for electric quantity, processing device and method for state detection of mobile telephone in standby | |
WO2015000445A1 (en) | Method and system of obtaining power consumption degree of application, and energy saving method and system | |
JP2012168728A (en) | Protection module and state information management method in protection module | |
CN104600792A (en) | Address assignment method for energy storage battery management system | |
CN112186275A (en) | BMS system based on high in clouds | |
CN115514064A (en) | Battery management system for lithium battery power supply system | |
CN114528240A (en) | Daisy chain communication control method and device | |
CN108398648B (en) | Method and device for analyzing battery attenuation rate and charging pile | |
JP2011153952A (en) | Protection module having monitoring function | |
CN113690969A (en) | Sweeping robot, charging control method and device thereof, and storage medium | |
CN109596989A (en) | Display methods, device and the electronic equipment of electric quantity for electronic equipment | |
CN111044912B (en) | Dormancy monitoring system and method | |
CN115085309A (en) | Lithium battery balance management method, storage medium, electronic device and device | |
CN111130177B (en) | Management method, system and device of BBU | |
KR20220060931A (en) | Apparatus and method for managing battery | |
CN207868329U (en) | From control module and battery management system | |
CN110824401A (en) | Reliability monitoring method, system, equipment and storage medium of BBU (baseband unit) electricity meter |
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 |