Lithium battery detection method and detection deviceTechnical Field
The invention relates to a detection method of a lithium battery, in particular to a method for charging and discharging the lithium battery and detecting the capacity and a portable detection device.
Background
With the wide application of lithium ion batteries in the field of power batteries, attention is paid to the quality detection of lithium batteries. In a power battery, a plurality of lithium ion batteries generally form a battery pack, and the battery pack is matched with a Battery Management System (BMS) to realize management such as charging and discharging management and equalization processing of the battery, and the battery management system is provided with an interface to provide corresponding data for equipment during battery initialization and battery detection.
At present, the method generally adopted for detecting the charge and discharge and the capacity of the battery is to completely discharge the battery, then charge the battery, detect the charge and discharge condition of the battery through complete charge and discharge cycles, and obtain the battery capacity by using the current and time of constant current discharge. The method has long detection period, and the detection equipment is usually large in size and inconvenient to move, so that the method is generally suitable for factory detection in a production factory, and occasions such as a service central station for detecting whether batteries need to be replaced and the like. However, the general maintenance station can only estimate the battery state by reading the stored data of the battery management system, and when it is preliminarily determined that the battery may have a problem, the battery state is sent to the service central station for detection, which increases the time and cost for maintaining the battery and also affects the use experience of the user.
On the other hand, the interfaces of battery management systems of battery packs produced by different manufacturers are different, even batteries of different models of the same manufacturer have the situation of replacing the interfaces, and currently, commonly used communication interfaces include RS485, CAN, UART and the like. In order to facilitate identification, a bar code is pasted on the battery pack shell, and the communication interface information can be obtained by reading the bar code. However, due to the influence of the battery pack using environment, the barcode may be blurred, damaged, or dropped, which results in that the maintenance personnel cannot obtain the communication interface information.
Furthermore, with the pace of work and life increasing, people want to be able to know the battery condition in real time in the occasions such as road rescue, and the like, without going to fixed places such as a maintenance station, and the like, so as to save maintenance time, which also puts new requirements on the portability of the detection device.
Therefore, it is necessary to provide a new lithium battery detection method and device to solve the above problems.
Disclosure of Invention
The invention aims to provide a lithium battery detection method, which aims to improve the detection speed of the capacity and the charge and discharge performance of a lithium battery, adapt to the detection of the lithium battery packs with different communication interfaces and improve the portability of a detection device. Another object of the present invention is to provide a device for implementing the above detection method.
In order to achieve the purpose of the invention, the technical scheme adopted by the invention is as follows: a lithium battery detection method provides a charging and discharging and communication interface detection device connected with a lithium battery pack, provides a detection APP in mobile communication equipment, and the detection device is provided with a connection module for data transmission with the mobile communication equipment, and the detection method comprises the following steps:
(1) connecting the detection device to a charging and discharging and communication interface of the lithium battery pack through a connecting wire;
(2) opening a detection APP in the mobile communication equipment, exchanging a handshake signal with the detection device, and confirming that the connection is successful;
(3) detecting the APP to identify the communication mode of the lithium battery pack, and transmitting handshake with a battery management system of the lithium battery pack through a detection device;
(4) detecting information in a lithium battery pack battery management system read by the APP through transmission of the detection device, and diagnosing the use condition of the battery;
(5) detecting whether the APP controls the detection device to charge and discharge the lithium battery pack and detect whether the charging function and the discharging function of the battery pack are normal or not;
(6) for the battery with insufficient mileage, the APP is detected, the battery capacity is detected through partial discharge, and the current condition of the battery is diagnosed.
In the above technical solution, in the step (3), the method for identifying the communication mode of the lithium battery pack is,
(a) the detection APP scans the bar code attached to the outside of the battery through the mobile communication equipment, if a communication mode can be obtained by reading bar code information, an interface of the detection device is set to be in a corresponding mode, and the identification is finished;
(b) the detection APP sets an interface of the detection device to be in a UART mode, handshake with a battery management system of the battery pack is carried out, and if the detection APP succeeds, recognition is finished;
(c) the detection APP sets an interface of the detection device to be in an RS485 mode, handshake with a battery management system of the battery pack is carried out, and if the detection APP succeeds, recognition is finished;
(d) the detection APP sets an interface of the detection device to be in a CAN mode, handshake with a battery management system of the battery pack is carried out, and if the detection APP succeeds, the identification is finished;
(e) if the handshake is not successful, an interface connection failure signal is sent.
In the step (4), the read information includes the number of battery cyclesCYCMinimum and maximum voltage at which the battery rests after being fully charged, and battery cumulative capacity.
In the step (6), the partial discharge is detected by charging the battery to a voltage by the detecting meansVReading accumulated capacity in a battery management systemCAP1 and obtaining according to the voltage look-up tableSOCA value of 1; discharging the battery pack to a voltage by a detection deviceV0, reading accumulated capacity in the battery management systemCAP0 and is obtained according to a voltage look-up tableSOCA value of 0; a capacity identification module is arranged in the APP, and the battery capacity is obtained by the following formulaBAT_CAP:
In the formula (I), the compound is shown in the specification,Kas a correction coefficient for the capacity of the battery,CYCthe number of battery cycles;
Kthe value of the battery is obtained by training, the training method is that a group of batteries of the same type are provided, the capacity of the batteries is obtained by adopting a complete discharge method respectively and is used as the battery capacity value in a partial discharge detection method, and the battery capacity value of the type of batteries is obtained by calculationKThe value is obtained.
In the further technical scheme, for the battery needing to be replaced in the quality guarantee period, the real capacity of the battery is detected by adopting a complete discharge method, and the real capacity is addedKTraining samples of values.
In the above technical solution, the mobile communication device is preferably a mobile phone or a tablet, and the detecting device and the mobile communication device may be connected by wire or wirelessly, preferably connected by bluetooth.
According to the further technical scheme, the detection APP uploads the detected data to the server through the mobile communication device for storage.
In order to achieve another purpose of the invention, the invention provides a lithium battery detection device, which comprises a power supply module, a controller, a charging circuit, a discharging circuit and a charging and discharging interface connected with a lithium battery pack, wherein the charging and discharging interface is internally provided with a communication connection port which is respectively and correspondingly connected with a UART communication module, an RS485 communication module and a CAN communication module and is gated by the controller; the discharge circuit is connected in series with a heating wire, an MOS tube switching circuit and a current sampling circuit, the control end of the MOS tube switching circuit is connected with the output port of the controller, the output end of the current sampling circuit is connected with the input port of the controller, and the heating wire and other circuit parts of the detection device are arranged in different cavities of the detection device; the mobile communication equipment is provided with a Bluetooth module or a WIFI direct connection module which is connected with the mobile communication equipment; the charging circuit is internally provided with a control switch which is controlled by a controller to be switched on and off, and the charging circuit and the discharging circuit are connected on a charging and discharging interface in parallel.
According to the preferable technical scheme, the heating wire is a 500W heating wire, and a heat dissipation air duct is arranged in a cavity where the heating wire is located.
In the technical scheme, the controller is connected with the control key and the display screen.
Due to the application of the technical scheme, compared with the prior art, the invention has the following advantages:
1. according to the invention, through identifying the communication mode of the lithium battery pack, the handshake communication between the detector and the lithium battery pack is realized, various protocols can be automatically identified and compatible, and the test of lithium batteries with various voltage platforms of 36-72V can be compatible;
2. the invention realizes the rapid detection of the battery capacity by a partial discharge detection method, and because the detection APP is adopted to be matched with the detection device, the circuit part of the detection device has low processing requirement and small volume, and can be used in a portable way;
3. the device can detect the capacity and can detect whether the charging and discharging functions are normal or not, and can also distinguish whether the battery pack is actually discharged or the battery is manually disconnected or not by recharging the battery pack after the discharging is finished, so that the misjudgment is avoided;
4. the detection device is communicated with a Battery Management System (BMS) and is matched with the mobile equipment to be connected with a server, so that the online update of the battery system can be realized.
Drawings
FIG. 1 is a flow chart illustrating a communication mode for identifying a lithium battery pack according to an embodiment;
FIG. 2 is a flow chart of the detection of the lithium battery in the embodiment;
FIG. 3 is a schematic circuit diagram of the detecting device in the embodiment;
fig. 4 shows the detection data in the example.
Detailed Description
The invention is further described with reference to the following figures and examples:
the first embodiment is as follows: a lithium battery detection device is disclosed, referring to fig. 3, and comprises a controller (MCU), wherein a charger is arranged in a power supply loop, the specification of the charger is 30-84V and 1A, a charging circuit is formed, and a switch controlled to be switched on and off by the controller is arranged in the charging circuit. The device is characterized in that a discharge circuit is arranged and consists of a 500W heating wire, an MOS tube switching circuit and a current sampling circuit which are connected in series, the control end of the MOS tube switching circuit is connected with the output port of the controller, and the output end of the current sampling circuit is connected with the input port of the controller. The charging circuit and the discharging circuit are connected in parallel on the charging and discharging interface.
In order to reduce the influence on the circuit and reduce the volume as much as possible, the heating wire and other circuit parts of the detection device are arranged in different cavities of the detection device, and the cavity in which the heating wire is arranged is provided with a heat dissipation air duct. A heat radiation fan may be provided in the chamber as needed.
The controller is connected with a plurality of communication modules, namely a UART communication module, an RS485 communication module and a CAN communication module, communication interfaces of the communication modules are connected to a communication connection port, the communication connection port CAN be connected with a charging and discharging interface on a connector, and the controller gates the corresponding communication modules.
In this embodiment, the bluetooth module is connected to the mobile communication device, and the mobile communication device may use a mobile phone or a tablet.
For the convenience of operation and identification of the machine, the machine is connected with the controller and is provided with a control key, a display screen, a buzzer and an LED indicator light.
The detection of the lithium battery by adopting the device of the embodiment comprises the following steps:
(1) connecting the detection device to a charging and discharging and communication interface of the lithium battery pack through a connecting wire;
(2) opening a detection APP in the mobile communication equipment, exchanging a handshake signal with the detection device, and confirming that the connection is successful;
(3) detecting the APP to identify the communication mode of the lithium battery pack, and transmitting handshake with a battery management system of the lithium battery pack through a detection device;
the specific process is shown in fig. 1 and fig. 2, (a) detecting that the APP scans the bar code attached to the outside of the battery through the mobile communication device, if the communication mode can be obtained by reading the bar code information, setting the interface of the detection device to a corresponding mode, and ending the identification;
(b) the detection APP sets an interface of the detection device to be in a UART mode, handshake with a battery management system of the battery pack is carried out, and if the detection APP succeeds, recognition is finished;
(c) the detection APP sets an interface of the detection device to be in an RS485 mode, handshake with a battery management system of the battery pack is carried out, and if the detection APP succeeds, recognition is finished;
(d) the detection APP sets an interface of the detection device to be in a CAN mode, handshake with a battery management system of the battery pack is carried out, and if the detection APP succeeds, the identification is finished;
(e) if the handshake is not successful, an interface connection failure signal is sent.
(4) Detecting information in a lithium battery pack battery management system read by the APP through transmission of the detection device, and diagnosing the use condition of the battery;
(5) detecting whether the APP controls the detection device to charge and discharge the lithium battery pack and detect whether the charging function and the discharging function of the battery pack are normal or not;
(6) for a battery with insufficient mileage, detecting APP detects the battery capacity through partial discharge, and diagnoses the current condition of the battery by charging the battery to a voltage through a detection deviceVReading accumulated capacity in a battery management systemCAP1 and obtaining according to the voltage look-up tableSOCA value of 1; discharging the battery pack to a voltage by a detection deviceV0, reading accumulated capacity in the battery management systemCAP0 and is obtained according to a voltage look-up tableSOCA value of 0; a capacity identification module is arranged in the APP, and the battery capacity is obtained by the following formulaBAT_CAP:
In the formula (I), the compound is shown in the specification,Kas a correction coefficient for the capacity of the battery,CYCthe number of battery cycles;
Kthe value of the battery is obtained by training, the training method is that a group of batteries of the same type are provided, the capacity of the batteries is obtained by adopting a complete discharge method respectively and is used as the battery capacity value in a partial discharge detection method, and the battery capacity value of the type of batteries is obtained by calculationKThe value is obtained.
On the basis of the detection, for the battery needing to be replaced in the quality guarantee period, the real capacity of the battery is detected by adopting a complete discharge method, and the real capacity is addedKTraining samples of values.
For the convenience of fast tracing detection records, the detection APP uploads detected data to a server through mobile communication equipment for storage.
The method of the invention is adopted to carry out detection tests, 50 groups of batteries are respectively detected,Kthe value is 0.935, the detection result is shown in figure 4, the detection error is within 3 percent, and the requirement of rapid detection can be met.