[go: up one dir, main page]

CN106300510B - Battery management method, system and device - Google Patents

Battery management method, system and device Download PDF

Info

Publication number
CN106300510B
CN106300510B CN201610681875.1A CN201610681875A CN106300510B CN 106300510 B CN106300510 B CN 106300510B CN 201610681875 A CN201610681875 A CN 201610681875A CN 106300510 B CN106300510 B CN 106300510B
Authority
CN
China
Prior art keywords
battery
mcu
information
server
mode
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
Application number
CN201610681875.1A
Other languages
Chinese (zh)
Other versions
CN106300510A (en
Inventor
吴齐
武学鸿
黄李冲
方伟鹏
刘迎明
林永铖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Greenway Technology Co Ltd
Original Assignee
Dongguan Greenway Battery Co ltd
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 Dongguan Greenway Battery Co ltd filed Critical Dongguan Greenway Battery Co ltd
Priority to CN201610681875.1A priority Critical patent/CN106300510B/en
Publication of CN106300510A publication Critical patent/CN106300510A/en
Application granted granted Critical
Publication of CN106300510B publication Critical patent/CN106300510B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • H02J7/0022
    • H02J7/0021
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/0071Regulation of charging or discharging current or voltage with a programmable schedule

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Power Sources (AREA)
  • Battery Mounting, Suspending (AREA)

Abstract

本发明公开了一种电池管理方法、系统和装置,所述电池管理方法包括:电池MCU记录电池信息;按照电池管理TCP/IP协议的协议流程,将电池信息上传至服务器;使用电池的序列号通过服务器查看存储该电池的信息记录;通过存储的电池信息了解电池整个使用周期,查看电池使用过程中是否出现电池不良情况。本发明的电池管理方法、系统和装置解决了现有技术中,无法进行全寿命管理的不足,电池MCU的电池MCU空闲模式、电池身份认证模式、读取电池信息模式、上传电池信息模式和错误模式,使本发明的电池管理更加科学、高效,程序更加简化。

The present invention discloses a battery management method, system and device, the battery management method comprising: the battery MCU records battery information; according to the protocol flow of the battery management TCP/IP protocol, the battery information is uploaded to the server; the battery serial number is used to view the information record stored in the battery through the server; the entire battery life cycle is understood through the stored battery information, and whether the battery is in poor condition during the battery use process. The battery management method, system and device of the present invention solve the deficiency of the prior art that the whole life management cannot be performed. The battery MCU idle mode, battery identity authentication mode, battery information reading mode, battery information upload mode and error mode of the battery MCU make the battery management of the present invention more scientific and efficient, and the procedure is more simplified.

Description

A kind of battery management method, system and device
Technical field
The present invention relates to battery technology field more particularly to a kind of battery management methods, system and device.
Background technique
Energy problem has become the focus of international concern.Energy storage carrier of the battery as a kind of electric energy, to change Energy Mix plays an important role, and in practical daily life, since some battery apparatus does not have to for a long time, battery is caused to set The battery of standby the inside is expired, leakage, has corroded the route and circuit board of battery apparatus, has caused the damage of battery apparatus.If it is Rechargeable battery, then under long-term power shortage state to the damage of battery also than more serious.
In the implementation of the present invention, the present inventor is by inquiry the study found that the battery management system of the prior art The prior art has at least the following problems: the mode of battery management based on hardware, is mainly used for managing the charging of battery, electric discharge, measurement electricity The fault detection of the efficiency for charge-discharge and battery in pond, detection mode are also only limitted to primary measured amount object, can not make to battery With the monitored over time in the period, meanwhile, existing battery management is not there is also management method is scientific, management program oversimplification Or therefore complicated, the problems such as efficiency of management is low, innovates a kind of battery management method, system and device, carries out the full longevity to battery Life management, improves the efficiency of battery management, very necessary.
Summary of the invention
One technical problem to be solved by the embodiment of the invention is that: a kind of battery management method, system and device are provided, Not scientific to solve management method existing in the prior art, management program oversimplification or complexity, the efficiency of management is low, can not The problem of carrying out life-cycle management.
According to an aspect of an embodiment of the present invention, a kind of battery management method provided, comprising:
Battery MCU records battery information, and the battery information includes: the record type of battery, battery pack total voltage, battery Export electric current, battery pack temperature, MOS temperature, battery status, single-unit battery core voltage;
According to the agreement process of battery management ICP/IP protocol, battery information is uploaded to server;
Check that the information for storing the battery records by server using the sequence number of battery;
By the battery information of the storage entire service life of electrolytic cell, check in battery use process whether battery occur Unfavorable condition.
In another embodiment based on the above-mentioned battery management method of the present invention, the association of the battery management ICP/IP protocol Discussing process includes:
Battery MCU idle mode, battery identity certification mode, read battery information mode, uploads of battery information pattern and Error pattern;
The circular flow under this 5 kinds of modes of battery management ICP/IP protocol, runs respective program under different modes, and two Conflict is not will cause between person.
It is described according to battery management ICP/IP protocol in another embodiment based on the above-mentioned battery management method of the present invention Agreement process, battery information, which is uploaded to server, includes:
Battery MCU establishes connection by SIM800C module and server;
Battery MCU requests uploads of battery information data to server, and server returns to battery identity certification letter to battery MCU Breath;
Battery MCU is re-transmitted to server after coding by the encryption to battery identity authentication information;
Encryption data is decrypted in server, returns to storage vernier to battery MCU after comparing successfully, and battery MCU passes through The record number for storing vernier and battery compares;
If battery information record strip number is read enough, battery MCU reads battery record information automatically, in the time of setting It is interior to be packaged the battery information read, it is uploaded to server after coding, then battery MCU is disconnected and the company of server automatically It connects, prevents battery MCU from occupying server for a long time;
If not completing to upload by battery information before the deadline, server is forced to disconnect the connection of battery MCU.
In another embodiment based on the above-mentioned battery management method of the present invention, the battery information by storage understands The entire service life of battery checks in battery use process that battery unfavorable condition whether occur includes:
Battery MCU reads battery information, record number, record vernier and the secret cipher key code of internal TEA encryption, and data are beaten Bao Hou is encoded using Base64, is uploaded onto the server by ICP/IP protocol;
Server receives the upload data of battery MCU, is decoded by Base64, TEA decryption, the key of the TEA decryption It is stored in the cipher key store of server, the decryption of battery information is needed using the key in server key library, and uses key Key selection in library is determined by the secret cipher key code in uploads of battery information;
It is stored in server after battery information decryption, server stores the information of each battery;
The service condition of each battery of monitoring server analyzes battery operation shape by the battery information that battery MCU is uploaded Whether state is normal.
In another embodiment based on the above-mentioned battery management method of the present invention, the battery MCU idle mode includes:
Battery MCU waits the time tag set of uploads of battery information, and the time interval of the time tag set is by electricity Pond MCU setting;
When uploads of battery information time reaches, uploads of battery Information sign set, system mode is switched to battery identity Certification mode
In another embodiment based on the above-mentioned battery management method of the present invention, the battery identity certification mode includes:
Battery MCU reads battery record number, record vernier and secret cipher key code;
Battery MCU establishes TCP/IP with server and connect, if battery identity certification does not pass through, server is forced to disconnect electricity Pond MCU connection, battery MCU system are switched to error pattern;
After successful connection, server will initiate battery identity certification request to battery MCU, and the ID authentication request is Server sends the authentication information of 16 system random numbers of 8 bytes to battery MCU;
Battery MCU encrypts the authentication information for receiving 8 bytes with TEA, is encoded with BASE64, after coding The sequence progress data packing of data, battery record number, battery sequence number, and data after packing are sent to server;
Server parses the battery MCU data packet sent, and the server is to 8 in the data packet after parsing 16 system random numbers of byte judge whether consistent compared with 8 bytes, the 16 system random number that original server is sent;
If consistent, illustrate that battery identity certification passes through, at this point, if server to battery MCU to return to the battery current Vernier value is stored, then battery MCU, which enters, reads battery information mode, and otherwise battery MCU need to re-request the server battery Vernier value is recorded, is still failed after battery MCU continuously requests 3 storage verniers, battery disconnects server connection, and system is switched to Error pattern;
If inconsistent, battery identity certification does not pass through, and server is forced to disconnect battery MCU connection, and system is switched to mistake Accidentally mode.
In another embodiment based on the above-mentioned battery management method of the present invention, the reading battery information mode includes:
Battery MCU compared with battery records frequency threshold value, swims present battery storage vernier value if present battery stores Scale value is less than battery and records frequency threshold value, and battery MCU, which is executed, reads battery information program;
Battery MCU reads out the battery information of battery FLASH storage unit according to battery communications protocol, battery letter It is carried out in threshold value between the reading at the time of reading of breath, if reading battery time-out, battery MCU is switched to error pattern;
Battery MCU combines the secret cipher key code of server, updated record vernier value and battery information and is packaged, and will beat Information after packet carries out Base64 coding;
Battery MCU prepares to upload the battery information after coding, and battery MCU is switched to uploads of battery information pattern.
In another embodiment based on the above-mentioned battery management method of the present invention, the battery record frequency threshold value is battery Record number subtracts 16.
In another embodiment based on the above-mentioned battery management method of the present invention, the read access time threshold value is 2 seconds.
In another embodiment based on the above-mentioned battery management method of the present invention, the uploads of battery information pattern includes:
The connection duration threshold value of battery MCU connection server is set;
Whether the connection duration for judging battery MCU connection server is more than connection duration threshold value;
If so, server is forced to disconnect the connection of battery MCU;
If not, whether the battery information for judging that battery MCU prepares to upload after encoding is completed in connection duration threshold value;
If so, battery actively and automatically disconnects server connection, battery MCU is switched to battery MCU idle mode;
If not, server is forced to disconnect battery MCU connection, battery MCU is switched to error pattern.
In another embodiment based on the above-mentioned battery management method of the present invention, the connection duration threshold value is 20 seconds.
In another embodiment based on the above-mentioned battery management method of the present invention, the error pattern includes:
Battery MCU handles it according to the information of system mistake, removes error message;
System enters battery MCU idle mode, waits the time tag set of battery upload information.
Other side according to an embodiment of the present invention, a kind of battery management system provided, including battery client and Server;
The battery client includes battery MCU, is uploaded to battery for automatically recording battery information, and by battery information Server, and the instruction sent according to server and battery information upload state, execute corresponding mode;
The server is used for storage batteries information, authenticates to battery identity, the battery uploaded to battery client Information data is parsed, and is read out to battery information.
In another embodiment based on the above-mentioned battery management system of the present invention, the battery information that automatically records includes: Record type, battery pack total voltage, cell output current, battery pack temperature, MOS temperature, battery status, the single-unit battery core of battery Voltage.
In another embodiment based on the above-mentioned battery management system of the present invention, the working condition of the battery MCU includes 5 Kind mode: battery MCU idle mode, reads battery information mode, uploads of battery information pattern and mistake at battery identity certification mode Accidentally mode;
After the initialization of battery MCU electrification reset, battery MCU enters battery MCU idle mode;
Battery MCU waits the time tag set of uploads of battery information, when the time tag for receiving uploads of battery information After set, battery MCU enters battery identity certification mode;
In battery identity certification mode, server sends 8 byte random number authentication information and battery MCU, battery MCU is given to receive Information exchange is carried out with server based on 8 byte random numbers after random number, after judging that battery identity certification passes through, battery MCU, which enters, reads battery information mode;
Battery information mode is being read, server judges whether the information of battery storage meets and reads item number, if battery Information bar number meet and read, battery MCU will read battery information by UART mode, and battery MCU enters uploads of battery information Mode;
In uploads of battery information pattern, battery information is uploaded to server in the time threshold of setting by battery MCU, clothes The connection being engaged between device disconnection and MCU, completes the upload of battery information;
The error pattern is to be directly entered wrong mould in case of mistake or time-out, battery MCU under each mode Formula, battery MCU remove wrong data, return to battery MCU idle mode.
Other side according to an embodiment of the present invention, a kind of cell managing device provided, including battery-end, pressure stabilizing electricity Road unit, MCU control unit, UART communication interface protection location, SIM800C module, LED unit and server;
The battery-end includes: battery protecting plate, battery core and shell;
The voltage regulator circuit unit provides steady dc voltage and electric current for device;
The MCU control unit is read for uploads of battery information time to be arranged by UART communication interface protection location Battery information is packaged, coding battery information, the battery information after coding is uploaded to server by SIM800C module;
The battery-end is connect by UART communication interface protection location with MCU control unit, and connecting interface is asynchronous string Line interface, the MCU control unit are connect by Asynchronous Serial Interface with SIM800C module, SIM800C module pass through it is wired or Wireless mode is connect with server, and the voltage regulator circuit unit is electrically connected with battery-end, MCU control unit, SIM800C module, The LED unit and the electrical connection of SIM800C module.
In another embodiment based on the above-mentioned cell managing device of the present invention, the MCU control unit is using chip EFM32ZG210F32 chip, the chip read battery information by UART mode, are built by SIM800C module with server Vertical connection receives server data by SIM800C module and sends data to server, is packaged, carries out to battery information BASE64 coding carries out encryption to server authentication information and BASE64 is encoded.
Compared with prior art, the present invention includes the following advantages:
Battery management method, system and device of the invention automatically records battery information by battery MCU, and fixation is arranged Time interval battery information is uploaded onto the server, server storage battery information uses battery sequence number, battery size etc. The information of the battery can easily be searched, thus whether occur in electrolytic cell entire service life battery unfavorable condition or its His situation, the battery MCU idle mode of battery MCU, read battery information mode, uploads of battery letter at battery identity certification mode Breath mode and error pattern keep battery management of the invention more scientific, efficient, and program more simplifies.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing used in technical description to do one simply to introduce, it should be apparent that, the accompanying drawings in the following description is of the invention Some embodiments for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other attached drawings.
Fig. 1 is the flow chart of one embodiment of battery management method of the invention.
Fig. 2 is the flow chart of another embodiment of battery management method of the invention.
Fig. 3 is the flow chart of the further embodiment of battery management method of the invention.
Fig. 4 is the flow chart of another embodiment of battery management method of the invention.
Fig. 5 is the flow chart of another embodiment of battery management method of the invention.
Fig. 6 is the flow chart of another embodiment of battery management method of the invention.
Fig. 7 is the flow chart of another embodiment of battery management method of the invention.
Fig. 8 is the flow chart of another embodiment of battery management method of the invention.
Fig. 9 is the flow chart of another embodiment of battery management method of the invention.
Figure 10 is the structural schematic diagram of one embodiment of battery management system of the invention.
Figure 11 is the structural schematic diagram of one embodiment of cell managing device of the invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment only It is a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people Member's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
A kind of battery management method provided by the invention, system and device are carried out with reference to the accompanying drawings and examples more detailed Carefully illustrate.
Fig. 1 is the flow chart of one embodiment of battery management method of the invention, as shown in Figure 1, the electricity of the embodiment Pond management method includes:
10, battery MCU record battery information, the battery information include: the record type of battery, battery pack total voltage, Cell output current, battery pack temperature, MOS temperature, battery status, single-unit battery core voltage, time interval of the battery MCU in setting It is interior that battery information is uploaded to server preservation;
11, according to the agreement process of battery management ICP/IP protocol, battery information is uploaded to server;
12, check that the information for storing the battery records by server using the sequence number of battery;
13, by the battery information of the storage entire service life of electrolytic cell, check in battery use process whether occur Battery unfavorable condition.
Fig. 2 is the flow chart of another embodiment of battery management method of the invention, as shown in Fig. 2, the cell tube Reason ICP/IP protocol agreement process include:
Battery MCU idle mode, battery identity certification mode, read battery information mode, uploads of battery information pattern and Error pattern;
The circular flow under this 5 kinds of modes of battery management ICP/IP protocol, runs respective program under different modes, and two Conflict is not will cause between person;
When battery MCU runs failure in one of the states, error pattern is jumped directly to, battery MCU is in error pattern After lower removing relevant error information, battery MCU idle mode is jumped to again, carries out next detection cycle;
Power on the processing of rear battery MCU reset initialization, whole system using 10ms as the state of the operation of interval detection system, To switch in different states, 5 kinds of modes of battery MCU relative to be 5 state machines, system is in this 5 kinds of states It ceaselessly runs, respective program is run in different states.
Fig. 3 is the flow chart of the further embodiment of battery management method of the invention, as shown in figure 3, described according to electricity Pond manages the agreement process of ICP/IP protocol, and battery information, which is uploaded to server, includes:
110, battery MCU establish connection by SIM800C module and server;
111, battery MCU request uploads of battery information data to server, and server, which returns to battery identity to battery MCU, to be recognized Demonstrate,prove information;
112, battery MCU are re-transmitted to server after coding by the encryption to battery identity authentication information;
113, encryption data is decrypted in server, returns to storage vernier, battery MCU to battery MCU after comparing successfully It is compared by the record number of storage vernier and battery;
114, if battery information record strip number is read enough, battery MCU reads battery record information automatically, in setting The battery information read is packaged in time, is uploaded to server after coding, then battery MCU is disconnected and server automatically Connection prevents battery MCU from occupying server for a long time;
115, if not completing to upload by battery information before the deadline, server is forced to disconnect the company of battery MCU It connects.
Fig. 4 is the flow chart of another embodiment of battery management method of the invention, as shown in figure 4, described by depositing The battery information of the storage entire service life of electrolytic cell, checks in battery use process battery unfavorable condition whether occur includes:
150, battery MCU read battery information, record number, record vernier and the secret cipher key code of internal TEA encryption, will count It after packing, is encoded using Base64, is uploaded onto the server by ICP/IP protocol;
151, server receives the upload data of battery MCU, is decoded by Base64, TEA decryption, the TEA decryption Key is stored in the cipher key store of server, and the decryption of battery information is needed using the key in server key library, and is used Key selection in cipher key store is determined by the secret cipher key code in uploads of battery information;
152, it is stored in server after battery information decryption, server stores the information of each battery;
153, the service condition of each battery of monitoring server analyzes battery fortune by the battery information that battery MCU is uploaded Whether row state is normal.
Fig. 5 is the flow chart of another embodiment of battery management method of the invention, as shown in figure 5, the battery MCU Idle mode includes:
20, battery MCU wait the time tag set of uploads of battery information, the time interval of the time tag set by Battery MCU setting;
21, when uploads of battery information time reaches, uploads of battery Information sign set, system mode is switched to battery body Part certification mode.
Fig. 6 is the flow chart of another embodiment of battery management method of the invention, as shown in fig. 6, the battery body Part certification mode includes:
30, battery MCU read battery record number, record vernier and secret cipher key code;
31, battery MCU establishes TCP/IP with server and connect, if battery identity certification does not pass through, server is forced disconnected Battery MCU connection is opened, battery MCU system is switched to error pattern;
32, after successful connection, server will initiate battery identity certification request to battery MCU, and the authentication is asked Seek the authentication information for sending 16 system random numbers of 8 bytes to battery MCU for server;
33, battery MCU encrypts the authentication information for receiving 8 bytes with TEA, is encoded with BASE64, according to coding The sequence progress data packing of data, battery record number, battery sequence number afterwards, and data after packing are sent to service Device;
34, server parses the battery MCU data packet sent, and the server is in the data packet after parsing 16 system random numbers of 8 bytes judge whether consistent compared with 8 bytes, the 16 system random number that original server is sent;
35, if unanimously, illustrating that battery identity certification passes through, at this point, working as if server returns to the battery to battery MCU Preceding storage vernier value, then battery MCU, which enters, reads battery information mode, and otherwise battery MCU need to re-request the server battery Record vernier value, still fail after battery MCU continuously requests 3 storage verniers, battery disconnect server connection, system switching For error pattern;
36, if inconsistent, battery identity certification does not pass through, and server is forced to disconnect battery MCU connection, and system is switched to Error pattern.
Fig. 7 is the flow chart of another embodiment of battery management method of the invention, as shown in fig. 7, the reading is electric Pond information pattern includes:
Present battery is stored vernier value compared with battery records frequency threshold value by 40, battery MCU, if present battery stores Vernier value is less than battery and records frequency threshold value, and battery MCU, which is executed, reads battery information program;
41, battery MCU read out the battery information of battery FLASH storage unit, battery according to battery communications protocol It is carried out in threshold value between the reading at the time of reading of information, if reading battery time-out, battery MCU is switched to error pattern;
42, battery MCU combine the secret cipher key code of server, updated record vernier value and battery information and are packaged, and Information after packing is subjected to Base64 coding;Wherein, after MCU is read successfully, updated record vernier is original record Vernier adds 1;
43, battery MCU prepare to upload the battery information after coding, and battery MCU is switched to uploads of battery information pattern.
Wherein, the battery record frequency threshold value is that battery record number subtracts 16, and the read access time threshold value is 2 seconds.
In reading battery information mode, when battery MCU is read out battery information program, need to avoid 3 kinds of situations, the One kind is exactly that inside battery information is emptied, but server stores the battery information of the battery not while being emptied, and electricity occurs The record number in pond is less than the storage vernier of server, so server has error correcting capability, when the electricity for receiving battery MCU upload When pond records number less than the server battery storage vernier, server is opened up a piece of new again after repeating this operation 3 times Memory headroom storage battery information;It is exactly for second that the FLASH memory space of storage battery is limited, when FALSH is filled with Afterwards, storing oldest battery information will be wiped free of, then store new battery information again, and battery MCU, which is skipped, at this time is wiped free of Battery information reads newer battery information;The third is that storage vernier is greater than battery record frequency threshold value and is less than battery note Number is recorded, battery MCU is continued waiting at this time, and enough 16 battery informations is waited to read battery information again.
Fig. 8 is the flow chart of another embodiment of battery management method of the invention, as shown in figure 8, conducting electricity on described Pond information pattern includes:
50, the connection duration threshold value of battery MCU connection server is set;
51, judge whether the connection duration of battery MCU connection server is more than connection duration threshold value;
52, if so, server is forced to disconnect the connection of battery MCU;
53, if not, whether the battery information for judging that battery MCU prepares to upload after encoding is complete in connection duration threshold value At;
54, if so, battery actively and automatically disconnects server connection, battery MCU is switched to battery MCU idle mode;
55, if not, server is forced to disconnect battery MCU connection, battery MCU is switched to error pattern.
Wherein, the connection duration threshold value is 20 seconds.
Fig. 9 is the flow chart of another embodiment of battery management method of the invention, as shown in figure 9, the mistake mould Formula includes:
60, battery MCU handles it according to the information of system mistake, removes error message;
61, system enters battery MCU idle mode, waits the time tag set of battery upload information.
Battery MCU is in error pattern, the error message mainly occurred in treatment of battery MCU operational process, such as one The error message that authentication unsuccessfully generates when being Identity Authentication Mode, second is that information bar number is inadequate when reading battery information mode 16, the error message that battery information time-out generates either is read in the error message that can not read generation, third is that conducting electricity on MCU Occur timeout error message when the information of pond, at this time battery information not yet upload successfully caused by error message, these cause be System enters error pattern, and the information in error pattern according to system mistake makes corresponding processing.
Other side according to an embodiment of the present invention, a kind of battery management system provided, Figure 10 are electricity of the invention The structural schematic diagram of one embodiment of pond management system, as shown in Figure 10, the battery management system include: battery client 1 and server 2;
The battery client 1 includes battery MCU, is uploaded to electricity for automatically recording battery information, and by battery information Pool server 2, and the instruction sent according to server 2 and battery information upload state, execute corresponding mode;
The server 2 is used for storage batteries information, authenticates to battery identity, the electricity uploaded to battery client 1 Pond information data is parsed, and is read out to battery information.
Wherein, the battery information that automatically records includes: the record type of battery, battery pack total voltage, battery output electricity Stream, battery pack temperature, MOS temperature, battery status, single-unit battery core voltage.
The working condition of the battery MCU includes 5 kinds of modes: battery MCU idle mode, is read battery identity certification mode Take battery information mode, uploads of battery information pattern and error pattern;
After the initialization of battery MCU electrification reset, battery MCU enters battery MCU idle mode;
Battery MCU waits the time tag set of uploads of battery information, when the time tag for receiving uploads of battery information After set, battery MCU enters battery identity certification mode;
In battery identity certification mode, server 2 sends 8 byte random number authentication information and battery MCU, battery MCU is given to receive Information exchange is carried out with server 2 based on 8 byte random numbers after to random number, after judging that battery identity certification passes through, Battery MCU, which enters, reads battery information mode;
Battery information mode is being read, server 2 judges whether the information of battery storage meets and reads item number, if battery Information bar number meet and read, battery MCU will read battery information by UART mode, and battery MCU enters uploads of battery information Mode;
In uploads of battery information pattern, battery information is uploaded to server 2 in the time threshold of setting by battery MCU, Server 2 disconnects the connection between MCU, completes the upload of battery information;
The error pattern is to be directly entered wrong mould in case of mistake or time-out, battery MCU under each mode Formula, battery MCU remove wrong data, return to battery MCU idle mode.
Other side according to an embodiment of the present invention, a kind of cell managing device provided, Figure 11 are electricity of the invention The structural schematic diagram of one embodiment of pond managing device, as shown in figure 11, the cell managing device include: battery-end 81, Voltage regulator circuit unit 82, MCU control unit 83, UART communication interface protection location 84, SIM800C module 85,86 and of LED unit Server 87;
The battery-end 81 includes: battery protecting plate, battery core and shell;
The voltage regulator circuit unit 82 provides steady dc voltage and electric current for device;
The MCU control unit 83 passes through UART communication interface protection location 84 for uploads of battery information time to be arranged Battery information is read, is packaged, coding battery information, the battery information after coding is uploaded to by service by SIM800C module 85 Device 87;
The battery-end 81 is connect by UART communication interface protection location 84 with MCU control unit 83, and connecting interface is Asynchronous Serial Interface, the MCU control unit 83 are connect by Asynchronous Serial Interface with SIM800C module 85, SIM800C module 85 are connect by wired or wireless way with server 87, the voltage regulator circuit unit 82 and battery-end 81, MCU control unit 83, SIM800C module 85 is electrically connected, and the LED unit 86 and SIM800C module 85 are electrically connected.
The MCU control unit 83 is EFM32ZG210F32 chip using chip, and the chip is read by UART mode Battery information establishes connection by SIM800C module 85 and server 87, receives the number of server 87 by SIM800C module 85 According to send data to server 87, to battery information be packaged, carry out BASE64 coding, 87 authentication information of server is added Close and BASE64 coding.
A kind of battery management method provided by the present invention, system and device are described in detail above, herein Apply that a specific example illustrates the principle and implementation of the invention, the explanation of above example is only intended to help Understand method and its core concept of the invention;At the same time, for those skilled in the art, according to the thought of the present invention, There will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as to this The limitation of invention.
Finally, it should be noted that the foregoing is only a preferred embodiment of the present invention, it is not intended to restrict the invention, Although the present invention is described in detail referring to the foregoing embodiments, for those skilled in the art, still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features, All within the spirits and principles of the present invention, any modification, equivalent replacement, improvement and so on should be included in of the invention Within protection scope.

Claims (14)

1. a kind of battery management method characterized by comprising
Battery MCU records battery information, and the battery information includes: the record type of battery, battery pack total voltage, battery output Electric current, battery pack temperature, MOS temperature, battery status, single-unit battery core voltage;
According to the agreement process of battery management ICP/IP protocol, battery information is uploaded to server, the battery management TCP/ The agreement process of IP agreement include: battery MCU idle mode, battery identity certification mode, read battery information mode, on conduct electricity Pond information pattern and error pattern, the circular flow under this 5 kinds of modes of battery management ICP/IP protocol are run under different modes Respective program not will cause conflict between the two, when battery MCU runs failure in one of the states, jump directly to mistake Accidentally mode, after battery MCU removes relevant error information under error pattern, jumps to battery MCU idle mode again, carries out Next detection cycle powers on rear battery MCU reset initialization processing, and whole system is using 10ms as the operation of interval detection system State, to switch in different states, 5 kinds of modes of battery MCU relative to be 5 state machines, system is at this 5 kinds It is ceaselessly run in state, respective program is run in different states;
Check that the information for storing the battery records by server using the sequence number of battery;
By the battery information of the storage entire service life of electrolytic cell, check in battery use process that whether battery occur bad Situation.
2. the method according to claim 1, wherein the protocol streams according to battery management ICP/IP protocol Journey, battery information, which is uploaded to server, includes:
Battery MCU establishes connection by SIM800C module and server;
Battery MCU requests uploads of battery information data to server, and server returns to battery identity authentication information to battery MCU;
Battery MCU is re-transmitted to server after coding by the encryption to battery identity authentication information;
Encryption data is decrypted in server, returns to storage vernier to battery MCU after comparing successfully, and battery MCU passes through storage The comparison of the record number of vernier and battery;
If battery information record strip number is read enough, battery MCU reads battery record information automatically, within the set time will The battery information that reads is packaged, and is uploaded to server after coding, then battery MCU disconnects automatically with the connection of server, it is anti- Only battery MCU occupies server for a long time;
If not completing to upload by battery information before the deadline, server is forced to disconnect the connection of battery MCU.
3. the method according to claim 1, wherein the battery information by storage electrolytic cell entirely makes With the period, check in battery use process that battery unfavorable condition whether occur includes:
Battery MCU reads battery information, record number, record vernier and the secret cipher key code of internal TEA encryption, and data are packaged Afterwards, it is encoded using Base64, is uploaded onto the server by ICP/IP protocol;
Server receives the upload data of battery MCU, is decoded by Base64, TEA decryption, the key storage of the TEA decryption In the cipher key store of server, the decryption of battery information is needed using the key in server key library, and is used in cipher key store Key selection determined by the secret cipher key code in uploads of battery information;
It is stored in server after battery information decryption, server stores the information of each battery;
The service condition of each battery of monitoring server, the battery information analysis battery operation state uploaded by battery MCU are It is no normal.
4. the method according to claim 1, wherein the battery MCU idle mode includes:
Battery MCU waits the time tag set of uploads of battery information, and the time interval of the time tag set is by battery MCU Setting;
When uploads of battery information time reaches, uploads of battery Information sign set, system mode is switched to battery identity certification Mode.
5. the method according to claim 1, wherein the battery identity certification mode includes:
Battery MCU reads battery record number, record vernier and secret cipher key code;
Battery MCU establishes TCP/IP with server and connect, if battery identity certification does not pass through, server is forced to disconnect battery MCU connection, battery MCU system are switched to error pattern;
After successful connection, server will initiate battery identity certification request to battery MCU, and the ID authentication request is service Device sends the authentication information of 16 system random numbers of 8 bytes to battery MCU;
Battery MCU encrypts the authentication information for receiving 8 bytes with TEA, is encoded with BASE64, according to the number after coding Data packing is carried out according to the sequence of, battery record number, battery sequence number, and data after packing are sent to server;
Server parses the battery MCU data packet sent, and the server is to 8 bytes in the data packet after parsing 16 system random numbers compared with 8 bytes, the 16 system random number that original server is sent, judge whether consistent;
If consistent, illustrate that battery identity certification passes through, at this point, if server to battery MCU to return to the battery currently stored Vernier, then battery MCU, which enters, reads battery information mode, and otherwise battery MCU need to re-request the record trip of the server battery Mark, still fails after battery MCU continuously requests 3 storage verniers, and battery disconnects server connection, and system is switched to wrong mould Formula;
If inconsistent, battery identity certification does not pass through, and server is forced to disconnect battery MCU connection, and system is switched to wrong mould Formula.
6. the method according to claim 1, wherein the reading battery information mode includes:
Present battery is stored vernier value compared with battery records frequency threshold value by battery MCU, if present battery stores vernier value Frequency threshold value is recorded less than battery, battery MCU, which is executed, reads battery information program;
Battery MCU reads out the battery information of battery FLASH storage unit according to battery communications protocol, battery information It is carried out in threshold value between reading at the time of reading, if reading battery time-out, battery MCU is switched to error pattern;
Battery MCU combines the secret cipher key code of server, updated record vernier value and battery information and is packaged, and will be after packing Information carry out Base64 coding;
Battery MCU prepares to upload the battery information after coding, and battery MCU is switched to uploads of battery information pattern.
7. according to the method described in claim 6, it is characterized in that, battery record frequency threshold value is that battery record number subtracts Go 16.
8. according to the method described in claim 6, it is characterized in that, the read access time threshold value is 2 seconds.
9. the method according to claim 1, wherein the uploads of battery information pattern includes:
The connection duration threshold value of battery MCU connection server is set;
Whether the connection duration for judging battery MCU connection server is more than connection duration threshold value;
If so, server is forced to disconnect the connection of battery MCU;
If not, whether the battery information for judging that battery MCU prepares to upload after encoding is completed in connection duration threshold value;
If so, battery actively and automatically disconnects server connection, battery MCU is switched to battery MCU idle mode;
If not, server is forced to disconnect battery MCU connection, battery MCU is switched to error pattern.
10. according to the method described in claim 9, it is characterized in that, the connection duration threshold value is 20 seconds.
11. the method according to claim 1, wherein the error pattern includes:
Battery MCU handles it according to the information of system mistake, removes error message;
System enters battery MCU idle mode, waits the time tag set of battery upload information.
12. a kind of battery management system characterized by comprising battery client and server;
The battery client includes battery MCU, is uploaded to battery service for automatically recording battery information, and by battery information Device, and the instruction sent according to server and battery information upload state, execute corresponding mode;
The server is used for storage batteries information, authenticates to battery identity, the battery information uploaded to battery client Data are parsed, and are read out to battery information;
The battery information that automatically records includes: the record type of battery, battery pack total voltage, cell output current, battery pack Temperature, MOS temperature, battery status, single-unit battery core voltage;
The working condition of the battery MCU includes 5 kinds of modes: battery MCU idle mode, reads electricity at battery identity certification mode Pond information pattern, uploads of battery information pattern and error pattern;
After the initialization of battery MCU electrification reset, battery MCU enters battery MCU idle mode;
Battery MCU waits the time tag set of uploads of battery information, when the time tag set for receiving uploads of battery information After, battery MCU enters battery identity certification mode;
In battery identity certification mode, server sends 8 byte random number authentication information and battery MCU, battery MCU is given to receive at random Information exchange is carried out with server based on 8 byte random numbers after number, after judging that battery identity certification passes through, battery MCU Into reading battery information mode;
Battery information mode is being read, server judges whether the information of battery storage meets and reads item number, if the letter of battery It ceases item number and meets reading, battery MCU will read battery information by UART mode, and battery MCU enters uploads of battery information pattern;
In uploads of battery information pattern, battery information is uploaded to server, server in the time threshold of setting by battery MCU The connection between MCU is disconnected, the upload of battery information is completed;
The error pattern is to be directly entered error pattern in case of mistake or time-out, battery MCU under each mode, Battery MCU removes wrong data, returns to battery MCU idle mode.
13. a kind of cell managing device characterized by comprising battery-end, voltage regulator circuit unit, MCU control unit, UART Communication interface protection location, SIM800C module, LED unit and server;
The battery-end includes: battery protecting plate, battery core and shell;
The voltage regulator circuit unit provides steady dc voltage and electric current for device;
The MCU control unit reads battery for uploads of battery information time to be arranged, by UART communication interface protection location Information is packaged, coding battery information, the battery information after coding is uploaded to server by SIM800C module;
The battery-end is connect by UART communication interface protection location with MCU control unit, and connecting interface connects for asynchronous serial Mouthful, the MCU control unit is connect by Asynchronous Serial Interface with SIM800C module, and SIM800C module passes through wired or wireless Mode is connect with server, and the voltage regulator circuit unit is electrically connected with battery-end, MCU control unit, SIM800C module, described LED unit and the electrical connection of SIM800C module.
14. device according to claim 13, which is characterized in that the MCU control unit is using chip EFM32ZG210F32 chip, the chip read battery information by UART mode, are built by SIM800C module with server Vertical connection receives server data by SIM800C module and sends data to server, is packaged, carries out to battery information BASE64 coding carries out encryption to server authentication information and BASE64 is encoded.
CN201610681875.1A 2016-08-17 2016-08-17 Battery management method, system and device Active CN106300510B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610681875.1A CN106300510B (en) 2016-08-17 2016-08-17 Battery management method, system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610681875.1A CN106300510B (en) 2016-08-17 2016-08-17 Battery management method, system and device

Publications (2)

Publication Number Publication Date
CN106300510A CN106300510A (en) 2017-01-04
CN106300510B true CN106300510B (en) 2019-01-01

Family

ID=57679573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610681875.1A Active CN106300510B (en) 2016-08-17 2016-08-17 Battery management method, system and device

Country Status (1)

Country Link
CN (1) CN106300510B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106849231A (en) * 2017-01-23 2017-06-13 斑马信息科技有限公司 Standby charging system and its charging service method
CN106877442B (en) * 2017-03-20 2020-02-14 广东博力威科技股份有限公司 Battery management method
CN111132056B (en) * 2019-08-07 2023-05-05 上海钧正网络科技有限公司 Battery management method and device, battery and server
CN111091261B (en) * 2019-10-14 2023-12-08 广东博力威科技股份有限公司 Method for managing full life cycle of lithium battery

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2224575A1 (en) * 2009-02-26 2010-09-01 Research In Motion Limited Method and apparatus for dynamic battery management control in a mobile communication device
CN102142186A (en) * 2011-03-01 2011-08-03 合肥国轩高科动力能源有限公司 Remote monitoring system for lithium battery pack
CN102169548A (en) * 2011-03-28 2011-08-31 上海捷誉信息科技有限公司 Power battery total life cycle monitoring system based on internet of thing
CN102611694A (en) * 2012-01-18 2012-07-25 中国电力科学研究院 Handheld terminal, system and battery information processing method thereof
CN104597400A (en) * 2013-11-01 2015-05-06 董玮 Intelligent informatization detection and management method and system for accumulator
CN105470590A (en) * 2014-09-05 2016-04-06 宇龙计算机通信科技(深圳)有限公司 Method and device for managing battery parameters

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2224575A1 (en) * 2009-02-26 2010-09-01 Research In Motion Limited Method and apparatus for dynamic battery management control in a mobile communication device
CN102142186A (en) * 2011-03-01 2011-08-03 合肥国轩高科动力能源有限公司 Remote monitoring system for lithium battery pack
CN102169548A (en) * 2011-03-28 2011-08-31 上海捷誉信息科技有限公司 Power battery total life cycle monitoring system based on internet of thing
CN102611694A (en) * 2012-01-18 2012-07-25 中国电力科学研究院 Handheld terminal, system and battery information processing method thereof
CN104597400A (en) * 2013-11-01 2015-05-06 董玮 Intelligent informatization detection and management method and system for accumulator
CN105470590A (en) * 2014-09-05 2016-04-06 宇龙计算机通信科技(深圳)有限公司 Method and device for managing battery parameters

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于物联网的锂动力电池智能综合管理系统;王子昱;《中国优秀硕士学位论文全文数据库(电子期刊)工程科技II辑》;20120615(第6期);第C042-328页 *

Also Published As

Publication number Publication date
CN106300510A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN106300510B (en) Battery management method, system and device
US9929594B2 (en) Modular energy storage method and system
CN103597773B (en) For carrying out method and the device of virtual pairing with semi-connected device cluster
CN112019570B (en) Prepayment management system and edge computing communication terminal
CN106910270A (en) Intelligent unlocking method and intelligent unlocking device and independent battery
CN102377570A (en) Method and device for generating dynamic passwords
ES2763302T3 (en) Procedure and system for self-registration and self-assembly of electrical devices
CN109963740A (en) Energy Management System
CN110061539A (en) A kind of shared charge control method and shared charging terminal
CN206805521U (en) A kind of mobile data memory unit based on quantum key encryption
CN109150669B (en) Remote communication system using operation and maintenance and operation and maintenance debugging method
CN108882270A (en) A kind of network equipment and device management method
CN105799534B (en) The charge control method and system of a kind of electric vehicle
Urien Securing the IoT with TLS/DTLS server stacks embedded in secure elements: An ePlug usecase
CN207884646U (en) Data Security Monitoring System
CN206432980U (en) A kind of virtual SIM card trustship device
JP2011061561A (en) Portable terminal device, battery management method for use in the portable terminal device, and battery management control program
CN108831036A (en) Lithium battery PACK state obtains and the method and apparatus of lease charging and control
CN104811457B (en) A kind of public network battery secrecy identification system and identification
CN212209370U (en) Wireless communication external circuit breaker
CN108616601A (en) Method of data synchronization, apparatus and system
CN207637155U (en) Data safety storage device
CN206433027U (en) A kind of virtual SIM card mandatory system
CN206907806U (en) A kind of portable intelligent battery
TWI847140B (en) Mobile battery device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Battery management method, system and device

Effective date of registration: 20190507

Granted publication date: 20190101

Pledgee: China Co. truction Bank Corp Dongguan branch

Pledgor: DONGGUAN GREENWAY BATTERY Co.,Ltd.

Registration number: 2019440000172

PE01 Entry into force of the registration of the contract for pledge of patent right
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 523000 Tongsha New Industrial Park, Dongcheng Street, Dongguan City, Guangdong Province

Patentee after: Guangdong Boliwei Technology Co.,Ltd.

Address before: 523000 new industrial zone, Dongcheng District, Guangdong, Dongguan

Patentee before: DONGGUAN GREENWAY BATTERY Co.,Ltd.

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20200528

Granted publication date: 20190101

Pledgee: China Co. truction Bank Corp Dongguan branch

Pledgor: DONGGUAN GREENWAY BATTERY Co.,Ltd.

Registration number: 2019440000172

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20170104

Assignee: DONGGUAN K-TECH NEW ENERGY CO.,LTD.

Assignor: Guangdong Boliwei Technology Co.,Ltd.

Contract record no.: X2022980017473

Denomination of invention: A battery management method, system and device

Granted publication date: 20190101

License type: Common License

Record date: 20221009