CN106569424B - The on-line synchronous method of battery management system data storage - Google Patents

The on-line synchronous method of battery management system data storage Download PDF

Info

Publication number
CN106569424B
CN106569424B CN201610953495.9A CN201610953495A CN106569424B CN 106569424 B CN106569424 B CN 106569424B CN 201610953495 A CN201610953495 A CN 201610953495A CN 106569424 B CN106569424 B CN 106569424B
Authority
CN
China
Prior art keywords
controller
message
ammeter
battery
sub
Prior art date
Application number
CN201610953495.9A
Other languages
Chinese (zh)
Other versions
CN106569424A (en
Inventor
郑岳久
孔祥栋
周龙
朱志成
Original Assignee
上海理工大学
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 上海理工大学 filed Critical 上海理工大学
Priority to CN201610953495.9A priority Critical patent/CN106569424B/en
Publication of CN106569424A publication Critical patent/CN106569424A/en
Application granted granted Critical
Publication of CN106569424B publication Critical patent/CN106569424B/en

Links

Abstract

The present invention relates to a kind of on-line synchronous methods of battery management system data storage, are interrupted by the bus to data logger, sub-controller and ammeter and higher priority is arranged, so that they receive " commander's message " from master controller in the same time.In each self synchronous interruption, signal acquisition, data logger record " commander's message " time of reception value are carried out by each sub-controller and ammetert 0 .After ammeter and each sub-controller acquisition information, data logger is sent to by bus and is stored, for the data from sub-controller and ammeter, data logger tracer signal value, not tracer signal time of reception, but witht 0 At the time of moment records as signal.In this way due to the time of data logger recordt 0 It is time when measuring these signals, therefore realizes the synchronization of monomer voltage, battery voltage, electric current.The on-line synchronous of data storage can be realized in the case where not changing hardware configuration, guarantee the validity of battery data storage.

Description

The on-line synchronous method of battery management system data storage

Technical field

The present invention relates to a kind of batteries of electric automobile administrative skill, in particular to a kind of battery management system data storage On-line synchronous method.

Background technique

Battery management system (BMS) generally comprises a master controller, an ammeter, data logger, a Ruo Ganzi Controller is communicated between them, as shown in Figure 1 by CAN bus.Master controller can carry out CAN with automobile controller (VCU) Communication, ammeter are used to measure assembled battery total voltage and total current, and each sub-controller manages several battery cells, by corresponding Sensor can measure the status information (voltage, electric current, temperature) of each battery cell.Data logger is used to store each moment The status information and assembled battery total voltage, total current of each battery cell of measurement.

Clock log time and related CAN message of the data logger with its own, as shown in Fig. 2, in battery module 1 Monomer voltage acquisition the moment bet 0, sub-controller carry out A/D conversion after at the time of bet S11, the scheduling of sub-controller waiting system It is at the time of voltage value is sentt S12, message existst S13Received by data logger, and physical record bet S14Record Get off.t 0It arrivest S14Delay mostly come fromt S11It arrivest S13.The monomer voltage of other modules similarly also has above-mentioned in transmission Delay.

Battery pack electric current and total voltage acquisition the moment bet 0, ammeter carry out A/D conversion after at the time of bet EI1, ammeter etc. It is at the time of sending electric current and total voltage value to system callt EI2, message existst EI3It is received by data logger, and it is real Border record again bet EI4It records.t 0It arrivest EI4Delay mostly come fromt EI1It arrivest EI3.But because include current value CAN message has higher priority, so current value existst EI1It arrivest EI3Time delay than monomer voltage fromt S11It arrivest S13 It is short.It also will cause the asynchronous of electric current, total voltage and monomer voltage in this way.

Battery cell on electric car is up to 100 muti-pieces, since the signals such as voltage, electric current and battery temperature are by difference Sensor and processing unit complete, the data logger in battery management system cannot receive the shape of each battery cell simultaneously State information, first piece of battery and last block battery information receiving time interval are up to several hundred milliseconds.The resulting time is different It walks processing subsequent to battery pack storing data and brings some problems.One of main problem is to work as voltage and current signals When asynchronous, the internal resistance estimation of battery can not be just normally carried out, and thereby resulted in storing data and be unable to fully utilize, therefore is online real Synchronizing for existing storing data is extremely important.

Summary of the invention

The present invention be directed to battery management system acquisition, each signal of battery is asynchronous to have an impact to data processing Problem proposes a kind of on-line synchronous method of battery management system data storage, can be online to electric car BMS system CAN bus mass data synchronizes storage.

The technical solution of the present invention is as follows: a kind of on-line synchronous method of battery management system data storage, battery management system System includes master controller, ammeter, data logger, several sub-controllers, is communicated between system various pieces by CAN bus, Ammeter is used to measure assembled battery total voltage and total current, and each sub-controller manages several battery cells, by sensing accordingly Device can measure the status information of each battery cell, and data logger is used to store the shape of each battery cell of each moment measurement State information and assembled battery total voltage, total current, on-line synchronous method specifically comprise the following steps:

1), by data logger, higher priority is arranged in the bus interruption of sub-controller and ammeter;

2) it, is sent one " commander's message " from master controller to network, includes " challenge signal ", data in " commander's message " Recorder, sub-controller and ammeter receive " commander's message " from master controller in the same time;

3), ammeter carries out the measurement of total voltage and electric current after receiving " commander's message " immediately and transfers to communication sending module hair It is sent to network;Sub-controller carries out the measurement of monomer voltage after receiving " commander's message " immediately and communication sending module is transferred to send To network;Data logger records moment value when receiving " commander's message ";

4) after, each sub-controller and ammeter have measured battery cell voltage, electric current and total voltage, it is sent to data logger It is stored, data logger only records battery status information, and " commander's message " moment value of record is as current all batteries The corresponding moment value of status information.

" challenge signal " is since 0 to the count value of the cycle accumulor of m in " commander's message ".

The sub-controller and ammeter set different acquisitions according to the count value of " challenge signal " and send signal frequency, Data logger is according to the count value matching storage information according to " challenge signal ".

The beneficial effects of the present invention are: the on-line synchronous method of battery management system data storage of the present invention, Ke Yi The on-line synchronous that data storage is realized in the case where not changing hardware configuration, guarantees the validity of battery data storage.

Detailed description of the invention

Fig. 1 is battery management system hardware structural diagram;

Fig. 2 is that battery management system data store asynchronous mechanism figure;

Fig. 3 is the on-line synchronous method flow diagram of battery management system data of the present invention storage;

Fig. 4 is master controller of embodiment of the present invention work flow diagram;

Fig. 5 is sub-controller of embodiment of the present invention work flow diagram;

Fig. 6 is ammeter of embodiment of the present invention work flow diagram;

Fig. 7 is data logger of embodiment of the present invention work flow diagram.

Specific embodiment

The method that the present invention can online synchronize electric car BMS system CAN bus mass data.Specifically, The on-line synchronous method flow diagram of battery management system data storage as shown in Figure 3, the embodiment of the present invention realize on-line synchronous side Method includes the following steps:

S1, by data logger, the bus of sub-controller and ammeter, which is interrupted, is arranged higher priority;

S2, " commander's message " is sent from master controller to network, wherein include " challenge signal ", so that data logger, Sub-controller and ammeter can receive " commander's message " from master controller in the same time;

S3, ammeter carry out the measurement of total voltage and electric current after receiving " commander's message " immediately and transfer to communication sending module hair It is sent to network;Sub-controller carries out the measurement of monomer voltage after receiving " commander's message " immediately and communication sending module is transferred to send To network;Data logger records moment value when receiving " commander's message ";

After S4, each sub-controller and ammeter have measured battery cell voltage, electric current and total voltage, it is sent to data logger It being stored, data logger only records battery status information, and information is not re-recorded sends back value at the time of coming, but with previous " commander's message " moment value of record is as the specifically corresponding moment value of all battery status informations.

In this way, at the time of all battery status informations are all subject to when measuring, rather than with when receiving measurement result Subject to moment.Thus avoid because measurement result cannot be received simultaneously record caused by synchronization measure data its The problem of recording Time Inconsistency.This method does not need to add or adjust hardware, can implement on original device, and this side Method has reproducibility, also applicable when increasing or decreasing battery cell.

The embodiments described below with reference to the accompanying drawings are exemplary, it is intended to be used to explain the present invention.

1, higher priority is set by interrupting to bus, so that data logger, sub-controller and ammeter can be The same time receives " commander's message " from master controller." commander's message " is sent from master controller to network, wherein including " challenge signal ".

In embodiments of the present invention, the every 50ms, that is, 20Hz of master controller sends primary " commander by the ID number of the same CAN Message ", " challenge signal " j in the message add up circulation in a manner of 0-19.Master controller work flow diagram as shown in Figure 4.

2, sub-controller carries out the measurement of monomer voltage after receiving " commander's message " immediately and transfers to communication sending module hair It is sent to network.

In embodiments of the present invention, sub-controller is interrupted whenever when receiving CAN message, generation is primary.Interruption is read first The ID of CAN message, when judging the ID of CAN message for " commander's message ", i.e., when CAN message includes " challenge signal " j, interruption is read " challenge signal " j carries out the acquisition of monomer voltage in " challenge signal " j=0 item, and CAN module is transferred to send monomer voltage letter Number.And when " challenge signal " j that the ID for judging CAN message is not " commander's message " or " commander's message " is not 0, without list The acquisition and transmission work of bulk voltage.Sub-controller work flow diagram as shown in Figure 5.

3, ammeter carries out the measurement of total voltage and electric current after receiving " commander's message " immediately and transfers to communication sending module hair It is sent to network.

In embodiments of the present invention, ammeter is equally interrupted whenever when receiving CAN message, generation is primary.Interruption is read first The ID of CAN message, when judging the ID of CAN message for " commander's message ", i.e., when CAN message includes " challenge signal " j, interruption is read " challenge signal " j carries out the acquisition of battery voltage and electric current in " challenge signal " j=0,5,10,15, and transfers to CAN mould Block is sent.And work as and judge that the ID of CAN message is not " commander's message " or " challenge signal " j of " commanding message " is not 0,5,10, Acquisition and transmission work when 15, without battery voltage and electric current.Ammeter work flow diagram as shown in Figure 6.

4, moment value is recorded when data logger receives " commander's message ".Each sub-controller and ammeter have measured battery list It after bulk voltage, electric current and total voltage, is sent to data logger and is stored, but data logger is allowed only to record battery status letter Breath does not re-record information and sends back value at the time of coming, but using " commander's message " moment value that precedence record arrives as current institute There is the corresponding moment value of battery status information.

In embodiments of the present invention, data logger is interrupted whenever when receiving CAN message, generation is primary.Interruption is read first The ID for taking CAN message, when judging the ID of CAN message for " commander's message ", i.e., when CAN message includes " challenge signal " j, interruption is read " challenge signal " j is taken, in " challenge signal " j=0,5,10,15, interruption will record current time, and end interrupt.And work as When the ID for judging CAN message is not " commander's message ", interrupt will further determine its whether be sub-controller or ammeter CAN letter Number.If the CAN signal of sub-controller or ammeter, then will record the information such as its voltage or electric current and with the time phase of record Match.Data logger work flow diagram as shown in Figure 7.

Under this mechanism, the frequency that sub-controller acquired and sent monomer voltage signal is 1Hz, and ammeter is acquired and sent The frequency of battery voltage and current signal is 4Hz.And higher priority is set by interrupting to CAN, and data logger, son Controller and ammeter will receive " commander's message " from master controller in the same time, and can be synchronously in " challenge signal " When j=0, the time is recorded by data logger, monomer voltage is measured by sub-controller, battery voltage and electric current are measured by ammeter. And monomer voltage is measured by sub-controller, ammeter measurement battery voltage and electric current are sent by CAN and are connect by data logger Although there is different delays in the process of receipts, but since the time of data logger record is time when measuring these signals, Monomer voltage, battery voltage, electric current will be synchronous.

Claims (1)

1. a kind of on-line synchronous method of battery management system data storage, battery management system includes master controller, ammeter, number It according to recorder, several sub-controllers, is communicated between system various pieces by CAN bus, ammeter is used to measure battery pack always electric Pressure and total current, each sub-controller manage several battery cells, can measure each battery cell by corresponding sensor Status information, data logger be used to store each battery cell of each moment measurement status information and assembled battery total voltage, Total current, which is characterized in that on-line synchronous method specifically comprises the following steps:
1), by data logger, higher priority is arranged in the bus interruption of sub-controller and ammeter;
2) it, is sent one " commander's message " from master controller to network, includes " challenge signal " in " commander's message ", it is described " to refer to Wave message " in " challenge signal " be since 0 to the count value of the cycle accumulor of m, the sub-controller and ammeter are according to " password The count value of signal " sets different acquisition and sends signal frequency, and data logger is according to the count value of " challenge signal " With storage information;So that data logger, sub-controller and ammeter the same time receive from master controller " commander disappears Breath ";
3), ammeter carries out the measurement of battery voltage and electric current after receiving " commander's message " immediately and transfers to communication sending module hair It is sent to network;Sub-controller carries out the measurement of monomer voltage after receiving " commander's message " immediately and communication sending module is transferred to send To network;Data logger records moment value when receiving " commander's message ";
4) after, each sub-controller and ammeter have measured monomer battery voltage and battery pack current and voltage, it is sent to data note Record instrument is stored, and data logger only records battery status information, and " commander's message " moment value of record is as current all The corresponding moment value of battery status information.
CN201610953495.9A 2016-11-03 2016-11-03 The on-line synchronous method of battery management system data storage CN106569424B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610953495.9A CN106569424B (en) 2016-11-03 2016-11-03 The on-line synchronous method of battery management system data storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610953495.9A CN106569424B (en) 2016-11-03 2016-11-03 The on-line synchronous method of battery management system data storage

Publications (2)

Publication Number Publication Date
CN106569424A CN106569424A (en) 2017-04-19
CN106569424B true CN106569424B (en) 2019-06-28

Family

ID=58535321

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610953495.9A CN106569424B (en) 2016-11-03 2016-11-03 The on-line synchronous method of battery management system data storage

Country Status (1)

Country Link
CN (1) CN106569424B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101814638A (en) * 2008-12-19 2010-08-25 凹凸电子(武汉)有限公司 Battery management system with synchronized data sampling, method and circuit
CN102468980A (en) * 2010-11-09 2012-05-23 株式会社京滨 Telecommunication system
CN103427452A (en) * 2012-05-07 2013-12-04 三星Sdi株式会社 The battery management system and an energy storage system
CN103529401A (en) * 2013-10-30 2014-01-22 北京交通大学 Synchronous battery information acquisition device based on FlexRay bus
KR101384842B1 (en) * 2013-04-29 2014-04-15 넥스콘 테크놀러지 주식회사 Method for synchronization time of battery management system using ieee1588 ptp
DE102013215339A1 (en) * 2013-08-05 2015-02-05 Robert Bosch Gmbh Method for data transmission in a battery management system
CN104716393A (en) * 2013-12-17 2015-06-17 北汽福田汽车股份有限公司 Battery parameter acquisition control method, device and battery management system
CN104868546A (en) * 2015-05-25 2015-08-26 沈阳中科一唯电子技术有限公司 Cell management system
CN105226759A (en) * 2015-10-28 2016-01-06 北京新能源汽车股份有限公司 The synchronous sampling method of battery management system and sampling system
CN105375583A (en) * 2015-12-09 2016-03-02 合肥国盛电池科技有限公司 Management system and method of power lithium battery pack
CN105474572A (en) * 2013-10-16 2016-04-06 株式会社Lg化学 Communication system having synchronized units and synchronization method for units
CN105652124A (en) * 2016-02-18 2016-06-08 清华大学苏州汽车研究院(吴江) Labview-based automobile battery management test system and method
CN106199479A (en) * 2016-07-18 2016-12-07 北京长城华冠汽车科技股份有限公司 Battery module of electric vehicle BMS accuracy of detection calibrating installation and method
CN107589736A (en) * 2017-09-29 2018-01-16 天津市捷威动力工业有限公司 Battery management system principal and subordinate controls plate method of data synchronization

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9147909B2 (en) * 2011-08-19 2015-09-29 Samsung Sdi Co., Ltd. Battery management system and method for synchronizing voltage and current of battery
US20130214739A1 (en) * 2012-02-20 2013-08-22 Jia-Yuan Lee Charge type battery management system and method thereof
US20140097787A1 (en) * 2012-10-09 2014-04-10 Yi-Ming Lin Active battery management system for a battery pack

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101814638A (en) * 2008-12-19 2010-08-25 凹凸电子(武汉)有限公司 Battery management system with synchronized data sampling, method and circuit
CN102468980A (en) * 2010-11-09 2012-05-23 株式会社京滨 Telecommunication system
CN103427452A (en) * 2012-05-07 2013-12-04 三星Sdi株式会社 The battery management system and an energy storage system
KR101384842B1 (en) * 2013-04-29 2014-04-15 넥스콘 테크놀러지 주식회사 Method for synchronization time of battery management system using ieee1588 ptp
DE102013215339A1 (en) * 2013-08-05 2015-02-05 Robert Bosch Gmbh Method for data transmission in a battery management system
CN105474572A (en) * 2013-10-16 2016-04-06 株式会社Lg化学 Communication system having synchronized units and synchronization method for units
CN103529401A (en) * 2013-10-30 2014-01-22 北京交通大学 Synchronous battery information acquisition device based on FlexRay bus
CN104716393A (en) * 2013-12-17 2015-06-17 北汽福田汽车股份有限公司 Battery parameter acquisition control method, device and battery management system
CN104868546A (en) * 2015-05-25 2015-08-26 沈阳中科一唯电子技术有限公司 Cell management system
CN105226759A (en) * 2015-10-28 2016-01-06 北京新能源汽车股份有限公司 The synchronous sampling method of battery management system and sampling system
CN105375583A (en) * 2015-12-09 2016-03-02 合肥国盛电池科技有限公司 Management system and method of power lithium battery pack
CN105652124A (en) * 2016-02-18 2016-06-08 清华大学苏州汽车研究院(吴江) Labview-based automobile battery management test system and method
CN106199479A (en) * 2016-07-18 2016-12-07 北京长城华冠汽车科技股份有限公司 Battery module of electric vehicle BMS accuracy of detection calibrating installation and method
CN107589736A (en) * 2017-09-29 2018-01-16 天津市捷威动力工业有限公司 Battery management system principal and subordinate controls plate method of data synchronization

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Lithium ion battery pack power fade fault identification based on Shannon entropy in electric vehicles;Yuejiu Zheng;《Journal of Power Sources》;20131230;第136-146页
Recording frequency optimization for massive battery data storage in battery management system;Yuejiu Zheng;《Applied Energy》;20160908;第380-389页

Also Published As

Publication number Publication date
CN106569424A (en) 2017-04-19

Similar Documents

Publication Publication Date Title
JP2011109911A (en) Fault data synchronization via peer-to-peer communication network
US7663341B2 (en) System for controlling voltage balancing in a plurality of lithium-ion cell battery packs and method thereof
US8068429B2 (en) Transmit scheduling
CA2591791C (en) System for controlling voltage balancing in a plurality of litium-ion cell battery packs and method thereof
CN100449326C (en) Recording method and system of monitoring journal
CN103345163A (en) Battery management system performance test platform and testing method based on semi-physical simulation
CN201886095U (en) Test device of merging unit
WO2007076097A2 (en) Apparatus and method for compensating digital input delays in an intelligent electronic device
EP1787439B1 (en) Detection of a simultaneous occurrence of an event at a plurality of devices
WO2010057398A1 (en) Device and method for implementing clock transparent transmission
EP2555465A2 (en) Synchronization method, device, and system
US7924888B2 (en) Method for exchanging data between stations from different networks
JP5792884B2 (en) Method, apparatus and system for time distribution in a communication network
US20120163191A1 (en) Network state monitoring system
KR101012464B1 (en) Testing method and its apparatus of digital substation Merging Unit
EP0078517A2 (en) Protective relay system and sampling synchronizing method therefor
EP2890088A1 (en) Method for displaying schedule reminding information, terminal device and cloud server
US20130265058A1 (en) Battery monitoring system using time-based signals
CN102183785B (en) Multi-redundant synchronous data acquiring device and method of non-cable seismograph
US5802082A (en) Method and device for measuring cell propagation time in ATM networks
CN102449940B (en) Network synchronization method and apparatus for performing time synchronization between nodes
EP2288070A1 (en) Time synchronizing method, device and system of master clock side and slave clock side in synchronous network
CN102421187B (en) High-accuracy clock synchronization method of wireless sensor network
KR100802314B1 (en) Method of detecting delay time and voltage, current and multi battery pack system thereof
CA2297129A1 (en) Method and apparatus for recovery of time skewed data on a parallel bus

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant