CN114184966A - Battery detection method and device, electronic equipment and readable storage medium - Google Patents

Battery detection method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN114184966A
CN114184966A CN202111434106.9A CN202111434106A CN114184966A CN 114184966 A CN114184966 A CN 114184966A CN 202111434106 A CN202111434106 A CN 202111434106A CN 114184966 A CN114184966 A CN 114184966A
Authority
CN
China
Prior art keywords
battery
peak position
characteristic peak
preset
charging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111434106.9A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202111434106.9A priority Critical patent/CN114184966A/en
Publication of CN114184966A publication Critical patent/CN114184966A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/385Arrangements for measuring battery or accumulator variables

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application discloses a battery detection method, a device, an electronic device and a readable storage medium, which belong to the field of communication equipment, wherein the electronic device comprises: a housing; the battery is arranged in the shell and comprises an anode, a cathode and a reference electrode, wherein the reference electrode is used for acquiring the potential of the anode and/or the potential of the cathode so as to obtain a potential peak value; the charging detection circuit is arranged in the shell, a first interface of the charging detection circuit is connected with the anode of the battery, a second interface of the charging detection circuit is connected with a reference electrode of the battery, and a third interface of the charging detection circuit is connected with the cathode of the battery; the charging detection circuit acquires a first charging characteristic peak position and a first discharging characteristic peak position of the battery according to the anode, the cathode and the reference electrode; and when the difference value between the first charging characteristic peak position and the first preset peak position is smaller than a first preset threshold value, and the difference value between the first discharging characteristic peak position and the second preset peak position is smaller than the first preset threshold value, determining that the battery is the original battery.

Description

Battery detection method and device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of communication equipment, and particularly relates to a battery detection method and device, electronic equipment and a readable storage medium.
Background
In the related art, based on the requirements of factors such as application conditions, charging power, heat dissipation and power consumption of electronic equipment, matched batteries need to be selected, and the customization and specialization degrees are high. When the batteries are replaced, some manufacturers produce the emulational batteries to be good again, and the users are difficult to distinguish the authenticity of the batteries. The safety of the batteries in the emulational mode is poor, the safety of users using electronic equipment is difficult to guarantee, and the problem that how to identify whether the batteries are genuine or not is urgently solved.
Disclosure of Invention
The embodiment of the application aims to provide a battery detection method, a detection device and electronic equipment, which can ensure the safety of a user when using the electronic equipment.
In a first aspect, an application embodiment provides an electronic device, including:
a housing;
the battery is arranged in the shell and comprises an anode, a cathode and a reference electrode, wherein the reference electrode is used for acquiring the potential of the anode and/or the potential of the cathode so as to obtain a potential peak value;
the charging detection circuit is arranged in the shell, a first interface of the charging detection circuit is connected with the anode of the battery, a second interface of the charging detection circuit is connected with a reference electrode of the battery, and a third interface of the charging detection circuit is connected with the cathode of the battery; the charging detection circuit acquires a first charging characteristic peak position and a first discharging characteristic peak position of the battery according to the anode, the cathode and the reference electrode;
and when the difference value between the first charging characteristic peak position and the first preset peak position is smaller than a first preset threshold value, and the difference value between the first discharging characteristic peak position and the second preset peak position is smaller than the first preset threshold value, determining that the battery is the original battery.
In a second aspect, an embodiment of the present application provides a battery detection method applied to an electronic device, where the electronic device includes a battery, and the battery has an anode, a cathode, and a reference electrode, and the method includes:
under the condition that a battery in the electronic equipment is charged or discharged, acquiring a first charging characteristic peak position and a first discharging characteristic peak position of the battery according to an anode, a cathode and a reference electrode;
and when the difference value between the first charging characteristic peak position and the first preset peak position is smaller than a first preset threshold value, and the difference value between the first discharging characteristic peak position and the second preset peak position is smaller than the first preset threshold value, determining that the battery is the original battery.
In a third aspect, an embodiment of the present application provides a battery detection apparatus applied to an electronic device, where the electronic device includes a battery, the battery has an anode, a cathode, and a reference electrode, and the apparatus includes:
the acquisition module is used for acquiring a first charging characteristic peak position and a first discharging characteristic peak position of a battery according to an anode, a cathode and a reference electrode under the condition that the battery in the electronic equipment is charged or discharged;
the determining module is used for determining that the battery is an original battery when the difference value between the first charging characteristic peak position and the first preset peak position is smaller than a first preset threshold value and the difference value between the first discharging characteristic peak position and the second preset peak position is smaller than the first preset threshold value.
In a fourth aspect, embodiments of the present application provide an electronic device, including a processor and a memory, where the memory may be a program or an instruction running on the processor, and the program or the instruction when executed by the processor implements the steps of the method as in the second aspect.
In a fifth aspect, the present embodiments provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the second aspect.
In a sixth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the steps of the method according to the second aspect.
In a seventh aspect, the present application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the method according to the second aspect.
In this embodiment of the application, in the process of charging or discharging the electronic device, a first charging characteristic peak position and a first discharging characteristic peak position of the battery are obtained, and when a difference value between the first charging characteristic peak position and a first preset peak position is smaller than a first preset threshold value, and a difference value between the first discharging characteristic peak position and a second preset peak position is smaller than the first preset threshold value, it is indicated that no deviation or a small deviation occurs between the first charging characteristic peak position and the first preset threshold value, and no deviation or a small deviation occurs between the first discharging characteristic peak position and the first preset threshold value. That is, the kind of the battery mounted on the electronic device is the same as the kind of the battery mounted on the electronic device when the electronic device is shipped. The battery assembled when the electronic equipment leaves the factory is generally subjected to safety certification by a manufacturer, so that the safety of the battery can be ensured, and the safety of a user when the electronic equipment is used is ensured.
Drawings
The above and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 shows a schematic structural diagram of an electronic device according to an embodiment of the application;
FIG. 2 shows one of the schematic diagrams of the differential variation of the potential of a battery with capacity and voltage;
FIG. 3 shows a schematic flow diagram of a battery detection method according to an embodiment of the present application;
figure 4 shows a second schematic of the differential variation of the potential of the battery with capacity and voltage;
FIG. 5 is a block diagram illustrating a structure of a battery test apparatus according to an embodiment of the present application;
FIG. 6 shows a block diagram of an electronic device according to an embodiment of the application;
fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing the embodiment of the present application.
Reference numerals: 110 cells, 111 anodes, 112 cathodes, 113 reference electrodes, 120 charge detection circuit, 130 fuel gauge, 140 power management integrated circuit, 150 wireless access point.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
As shown in fig. 1, in some embodiments of the present application, an electronic device is provided, comprising: a housing, a battery 110, a charge detection circuit 120; the battery 110 is arranged in the shell, the battery 110 comprises an anode 111, a cathode 112 and a reference electrode 113, and the reference electrode 113 is used for acquiring the potential of the anode 111 and/or the potential of the cathode 112 to obtain a potential peak value; the charging detection circuit 120 is arranged in the shell, a first interface of the charging detection circuit 120 is connected with the anode 111 of the battery 110, a second interface of the charging detection circuit 120 is connected with the reference electrode 113 of the battery 110, and a third interface of the charging detection circuit 120 is connected with the cathode 112 of the battery 110; the charge detection circuit 120 acquires a first charge characteristic peak position and a first discharge characteristic peak position of the battery 110 according to the anode 111, the cathode 112, and the reference electrode 113; when the difference between the first charging characteristic peak position and the first preset peak position is smaller than the first preset threshold value, and the difference between the first discharging characteristic peak position and the second preset peak position is smaller than the first preset threshold value, it is determined that the battery 110 is original.
In the embodiment of the application, the batteries in the electronic device generate characteristic peak positions during charging or discharging, the characteristic peak positions are closely related to the electrochemical system design of the batteries, and the characteristic peak positions of the batteries of the same kind under the same cycle state are fixed, that is, the batteries of the same kind have the same characteristic peak positions. Therefore, the battery assembled when the electronic device is shipped has a specific characteristic peak position, that is, a preset characteristic peak position, and when the electronic device is assembled, the preset characteristic peak position of the battery can be stored in a control system of the electronic device. In the process of charging or discharging the electronic device, a first charging characteristic peak position and a first discharging characteristic peak position of the battery are obtained, and when a difference value between the first charging characteristic peak position and a first preset peak position is smaller than a first preset threshold value, and a difference value between the first discharging characteristic peak position and a second preset peak position is smaller than the first preset threshold value, it is indicated that no deviation or small deviation occurs between the first charging characteristic peak position and the first preset threshold value, and no deviation or small deviation occurs between the first discharging characteristic peak position and the first preset threshold value. That is, the kind of the battery mounted on the electronic device is the same as the kind of the battery mounted on the electronic device when the electronic device is shipped. The battery assembled when the electronic equipment leaves the factory is generally subjected to safety certification by a manufacturer, so that the safety of the battery can be ensured, and the safety of a user when the electronic equipment is used is ensured.
Due to the influence of manufacturing parameters and processing technologies, different characteristic peak positions of different types of batteries can have difference values, and the characteristic peak position of a battery manufactured by a counterfeiter and the characteristic peak position of a battery assembled when an electronic device leaves a factory also have larger difference, so that the accuracy of detecting the authenticity of the battery can be improved by detecting the characteristic peak position.
The battery has certain life, and the user can change the battery along with the decline of battery performance after long-time use electronic equipment, in order to ensure the security in the use, and the general user can choose the same kind of battery, through above-mentioned detection method, can help the user to know whether the battery of changing is the genuine.
In the process of charging or discharging the battery, the anode and the cathode of the battery both have characteristic peak positions, the potential of the anode and the potential of the cathode can be calculated by calculating the difference to obtain the characteristic peak positions, which characteristic peak position needs to be adopted as the first characteristic peak position needs to be selected according to a determination method of the preset characteristic peak positions, and exemplarily, when the battery is produced, the measured preset characteristic peak position is obtained by calculating the difference between the electric potential of the anode and the electric potential of the cathode, so that in the using process of the electronic equipment, the first characteristic peak position is obtained by subtracting the potential of the anode and the potential of the cathode, the first characteristic peak position and the preset characteristic peak position are obtained in the same mode, so that the difficulty of counterfeiting the battery by a counterfeiter is further improved when the counterfeiter does not know the detection mode of the preset characteristic peak position selected by a manufacturer.
Through the mode of characteristic peak position contrast, formed the encryption function to the battery, realized safer protection, increased the degree of difficulty that counterfeiter counterfeited the battery, the cost greatly increased who explains is favorable to promoting the safe application of battery.
Illustratively, the reference electrode 113 may be a lithium metal electrode.
As shown in fig. 2, the battery may have two charging characteristic peak positions during the charging process, and the first charging characteristic peak position in this embodiment may be any one of the two charging characteristic peak positions. The first charging characteristic peak position may also include the two charging characteristic peak positions, at this time, the first preset peak position is also two, the two charging characteristic peak positions obtained through detection are respectively compared with the two first preset peak positions by difference, the two difference values are both smaller than a preset threshold value, and when the difference value between the first discharging characteristic peak position and the second preset peak position is smaller than the first preset threshold value, the battery is considered as an original battery.
Similarly, the battery may have two discharging characteristic peak positions during the discharging process, the first discharging characteristic peak position in this embodiment may be any one of the two discharging characteristic peak positions, the first discharging characteristic peak position may also include the two discharging characteristic peak positions, at this time, the second preset peak positions are also two, the two discharging characteristic peak positions obtained by detection are respectively compared with the two second preset peak positions by difference, both the two difference values are smaller than the preset threshold value, and when the difference value between the first charging characteristic peak position and the first preset peak position is smaller than the first preset threshold value, the battery is considered as an original battery.
Figure BDA0003381007520000061
TABLE 1
For example, as shown in table 1, during the charging or discharging process of the battery, the values in table 1, specific addresses, and the positive electrode potential OCV corresponding to the no-load characteristic peak of N batteries may be tested in the battery certification stageIs justNegative electrode potential OCVNegative poleMaking normal distribution to obtain an average value and a deviation threshold value, and then naming as a state code; integrated into the software version of the electronic device according to table 1.
When the voltage of the battery reaches the set voltage, it is indicated that the current potential of the battery reaches the peak position, and the set voltage corresponding to each battery at the characteristic peak position may be different. When the voltage reaches the set voltage, collecting the anode potential V of the batteryIs justAnd a cathode potential VNegative poleAnd obtaining the current impedance value R and the current I of the battery, and calculating the characteristic peak OCV of the anode of the batteryIs justAnd characteristic peak OCVNegative poleIn comparison with the integrated state-coding standard, if the deviation exceeds a predetermined value deltaVThen the battery is determined to be a non-original battery. In the process of charging the battery, the calculation formula of the characteristic peak OCV is as follows: and the OCV is V-IR, and the characteristic peak OCV is V + IR in the battery discharging process. The calculation mode of the preset characteristic peak value is as follows: before the batteries are assembled to the electronic equipment, the characteristic peak values of the batteries are obtained, the average value of the characteristic peak values obtained for multiple times is obtained, the preset peak value is obtained, and the preset threshold value can be obtained through the characteristic peak values of the batteries in a normal distribution mode.
Illustratively, in the charging process of the electronic device, if it is detected that the characteristic peak position of the characteristic peak 1 of the battery anode is 3.86V, the characteristic peak position of the characteristic peak 1 of the battery anode is 4.064, the preset threshold value is 0.034, and 4.064-3.86 is 0.204, the obtained difference is far greater than the corresponding deviation threshold value of 0.034, which indicates that the battery assembled by the current electronic device is not original.
In this embodiment, the electronic device further includes: a fuel gauge 130 and a power management integrated circuit 140, wherein a first end of the fuel gauge 130 is connected with the reference electrode 113, a second end of the fuel gauge 130 is connected with the anode 111, and a third end of the fuel gauge 130 is connected with the cathode 112; a first interface of the power management integrated circuit 140 is connected to the anode 111, a second interface of the power management integrated circuit 140 is connected to the reference electrode 113, and a third interface of the power management integrated circuit 140 is connected to the cathode 112.
During the charging or discharging of the battery, the electricity meter 130 can measure the amount of electricity passing through, and the power management integrated circuit 140 can determine whether the charging is currently completed according to the measurement result of the electricity meter 130. The electronic device further comprises a wireless access point 150, the wireless access point 150 being connected to the fourth terminal of the fuel gauge 130, the wireless access point 150 being configured to transmit wireless signals.
In some embodiments of the present application, a battery detection method is provided for use in an electronic device including a battery having an anode, a cathode, and a reference electrode.
As shown in fig. 3, the battery test method includes:
step 302, under the condition that a battery in the electronic equipment is charged or discharged, acquiring a first charging characteristic peak position and a first discharging characteristic peak position of the battery according to an anode, a cathode and a reference electrode;
step 304, when the difference between the first charging characteristic peak position and the first preset peak position is smaller than a first preset threshold value, and the difference between the first discharging characteristic peak position and the second preset peak position is smaller than the first preset threshold value, determining that the battery is an original battery.
In this embodiment, in the process of charging or discharging the electronic device, a first charging characteristic peak position and a first discharging characteristic peak position of the battery are obtained, and when a difference between the first charging characteristic peak position and a first preset peak position is smaller than a first preset threshold value, and a difference between the first discharging characteristic peak position and a second preset peak position is smaller than the first preset threshold value, it is indicated that there is no deviation or a small deviation between the first charging characteristic peak position and the first preset threshold value, and there is no deviation or a small deviation between the first discharging characteristic peak position and the first preset threshold value. That is, the kind of the battery mounted on the electronic device is the same as the kind of the battery mounted on the electronic device when the electronic device is shipped. The battery assembled when the electronic equipment leaves the factory is generally subjected to safety certification by a manufacturer, so that the safety of the battery can be ensured, and the safety of a user when the electronic equipment is used is ensured.
In this embodiment, after obtaining the first charge characteristic peak position and the first discharge characteristic peak position of the battery according to the anode, the cathode and the reference electrode, the method further includes: the difference value between the first charging characteristic peak position and the first preset peak position is greater than or equal to a first preset threshold value; or when the difference value between the first discharge characteristic peak position and the second preset peak position is greater than or equal to a first preset threshold value, outputting prompt information; wherein, the prompt message includes: the battery is at least one of non-original, the electronic equipment is turned off, and the charging characteristic peak position and the first discharging characteristic peak position are uploaded to the server.
The difference value between the first charging characteristic peak position and the first preset peak position is greater than or equal to a first preset threshold value; or when the difference value between the first discharge characteristic peak position and the second preset peak position is greater than or equal to the first preset threshold value, the difference value between the characteristic peak position and the first preset threshold value is larger, the battery assembled on the electronic equipment at present is considered to be a non-original battery, the type of the non-original battery is different from the type of the battery assembled when the electronic equipment leaves a factory, in order to avoid safety accidents in the using process, when the battery assembled on the electronic equipment is determined to be the second type battery, the electronic equipment can send prompt information to prompt a user that the battery assembled on the electronic equipment at present is possibly a fake battery, the user is reminded of replacing the battery in time, and the safety of the user when the electronic equipment is used is further improved by reminding the user.
For example, the prompt message may be a battery that is not a genuine battery, a display screen of the electronic device displays a word that the battery may be a counterfeit battery, and a user may replace the battery or perform a shutdown operation after viewing the prompt message.
The prompt information can also be used for turning off the electronic equipment, so that the user is prompted to turn off the electronic equipment in time to avoid danger caused by using a fake battery, and the safety of the user is ensured.
The prompt message may also be to upload the first charging characteristic peak position and the first discharging characteristic peak position to the server. The target server can be a cloud server of a manufacturer of the original battery in the electronic equipment, the target server can also be a cloud server of a related supervision part, the characteristic peak positions of the fake batteries are stored in a database of the target server, and the database counts a large amount of data, so that the type of the fake batteries which are used in large quantities can be determined according to the characteristic peak positions, and the fake batteries can be used as the basis for maintaining legal rights in the future.
In one possible application, the prompt message may be at least one of an audible message, a textual message, or a vibratory message.
In a possible application, if the electronic equipment is currently assembled with a non-genuine battery, but the current assembled battery adopts a battery core system the same as that of a genuine battery, in order to reduce the cost, a counterfeit manufacturer adopts a poor process, so that due to differences in the process, the difference between the characteristic peak position and the preset threshold value is within a specified range, but as the battery ages, the difference in the process begins to be expressed on the performance of the battery core, and within a 300-500 cycle period, the difference between the characteristic peak position and the preset threshold value exceeds the specified range, so that a user is prompted about the non-genuine battery core, and further, the safety risk caused by the aging of the battery core along with the increase of the service time is reduced.
In the embodiment, the characteristic peak position of the battery is detected in each charging or discharging process, so that the situation that the forged battery is mistakenly identified as the original battery due to single detection error is avoided.
As shown in fig. 4, the two lines in the graph are a potential variation curve detected when the battery is shipped from factory and a potential variation curve detected when the battery is in use by the electronic device, and the characteristic peak position deviation of the two curves is large, which indicates that the battery used by the electronic device is a non-original battery.
In a possible embodiment, after outputting the prompt message, the method further includes: and when the time length after the prompt information is output reaches the set time length, the electronic equipment is closed.
In this embodiment, when it is determined that the battery assembled on the electronic device is a non-genuine battery, although the electronic device may send the prompt message, since the user is not near the electronic device, the user may not obtain the prompt message of the electronic device in time, and in order to avoid a safety accident, within a preset time period after the prompt message is sent, if the user does not detach the battery or perform a shutdown operation, the electronic device may automatically perform a shutdown operation. The safety performance of the counterfeit battery is poor, for example, the temperature of the battery may be sharply increased during the charge or discharge process, and a problem of explosion or damage to the main board occurs. The electronic equipment improves the safety of the electronic equipment in an automatic shutdown mode.
Or even if the user sees the prompt message, the user may forget to replace the battery or leave luck not to replace the battery, and in order to ensure the safety of the user, the electronic equipment can also execute the automatic shutdown operation within the preset time after the prompt message is sent.
In a possible application, when a user restarts the electronic device after finding that the electronic device is automatically turned off, the electronic device will continue to pop up information indicating whether the battery is a counterfeit battery or not and to prevent the user from using the electronic device with low safety for a long time.
According to the battery detection method provided by the embodiment of the application, the execution main body is the battery detection device. In the embodiment of the present application, a battery detection method executed by a battery detection apparatus is taken as an example, and the battery detection apparatus provided in the embodiment of the present application is described.
As shown in fig. 5, the battery test apparatus, applied to an electronic device including a battery having an anode, a cathode and a reference electrode, the battery test apparatus 500 includes:
an obtaining module 502, configured to obtain a first charging characteristic peak position and a first discharging characteristic peak position of a battery according to an anode, a cathode, and a reference electrode when the battery in an electronic device is in a charging or discharging state;
the determining module 504 is configured to determine that the battery is an original battery when a difference between the first charging characteristic peak position and the first preset peak position is smaller than a first preset threshold, and a difference between the first discharging characteristic peak position and the second preset peak position is smaller than the first preset threshold.
In this embodiment, the battery detection apparatus further includes: the output module is used for enabling the difference value between the first charging characteristic peak position and the first preset peak position to be larger than or equal to a first preset threshold value; or when the difference value between the first discharge characteristic peak position and the second preset peak position is greater than or equal to a first preset threshold value, outputting prompt information;
wherein, the prompt message includes: the battery is at least one of non-original, the electronic equipment is turned off, and the charging characteristic peak position and the first discharging characteristic peak position are uploaded to the server.
In this embodiment, the output module is further configured to: and when the time length after the prompt information is output reaches the set time length, the electronic equipment is closed.
In the process of charging or discharging the electronic device, a first charging characteristic peak position and a first discharging characteristic peak position of the battery are obtained, and when a difference value between the first charging characteristic peak position and a first preset peak position is smaller than a first preset threshold value, and a difference value between the first discharging characteristic peak position and a second preset peak position is smaller than the first preset threshold value, it is indicated that no deviation or small deviation occurs between the first charging characteristic peak position and the first preset threshold value, and no deviation or small deviation occurs between the first discharging characteristic peak position and the first preset threshold value. That is, the kind of the battery mounted on the electronic device is the same as the kind of the battery mounted on the electronic device when the electronic device is shipped. The battery assembled when the electronic equipment leaves the factory is generally subjected to safety certification by a manufacturer, so that the safety of the battery can be ensured, and the safety of a user when the electronic equipment is used is ensured.
The battery detection device in the embodiment of the present application may be an electronic device, or may be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-Mobile electronic Device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The battery detection device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The battery detection device provided by the embodiment of the application can realize each process realized by the method embodiment, and is not repeated here to avoid repetition.
Optionally, an electronic device 600 is further provided in an embodiment of the present application, and fig. 6 shows a block diagram of a structure of the electronic device according to the embodiment of the present application, as shown in fig. 6, the electronic device includes a processor 602 and a memory 604, the memory 604 stores a program or an instruction that can be executed on the processor 602, and the program or the instruction, when executed by the processor 602, implements each step of the foregoing method embodiment and can achieve the same technical effect, and details are not repeated here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic device and the non-mobile electronic device described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710.
Those skilled in the art will appreciate that the electronic device 700 may also include a power supply (e.g., a battery) for powering the various components, and the power supply may be logically coupled to the processor 710 via a power management system, such that the functions of managing charging, discharging, and power consumption may be performed via the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 710 is configured to obtain a first charge characteristic peak position and a first discharge characteristic peak position of a battery according to an anode, a cathode, and a reference electrode when the battery in the electronic device is in charge or discharge; and when the difference value between the first charging characteristic peak position and the first preset peak position is smaller than a first preset threshold value, and the difference value between the first discharging characteristic peak position and the second preset peak position is smaller than the first preset threshold value, determining that the battery is the original battery.
Optionally, the processor 710 is configured to determine that a difference between the first charging characteristic peak position and the first preset peak position is greater than or equal to a first preset threshold; or when the difference value between the first discharge characteristic peak position and the second preset peak position is larger than or equal to the first preset threshold value, outputting prompt information.
Optionally, the processor 710 is configured to turn off the electronic device when the duration after the prompt message is output reaches a set duration.
In the process of charging or discharging the electronic device, a first charging characteristic peak position and a first discharging characteristic peak position of the battery are obtained, and when a difference value between the first charging characteristic peak position and a first preset peak position is smaller than a first preset threshold value, and a difference value between the first discharging characteristic peak position and a second preset peak position is smaller than the first preset threshold value, it is indicated that no deviation or small deviation occurs between the first charging characteristic peak position and the first preset threshold value, and no deviation or small deviation occurs between the first discharging characteristic peak position and the first preset threshold value. That is, the kind of the battery mounted on the electronic device is the same as the kind of the battery mounted on the electronic device when the electronic device is shipped. The battery assembled when the electronic equipment leaves the factory is generally subjected to safety certification by a manufacturer, so that the safety of the battery can be ensured, and the safety of a user when the electronic equipment is used is ensured.
It should be understood that in the embodiment of the present application, the input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics Processing Unit 7041 processes image data of still pictures or videos obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode.
The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071 is also referred to as a touch screen. The touch panel 7071 may include two parts of a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 709 may be used to store a software program and various data, and the memory 709 may mainly include a first memory area storing a program or an instruction and a second memory area storing data, wherein the first memory area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, and the like) required by at least one function, and the like. Further, the memory 709 may include volatile memory or nonvolatile memory, or the memory 709 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 709 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 710 may include one or more processing units; optionally, the processor 710 integrates an application processor, which primarily handles operations related to the operating system, user interface, and applications, and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements the processes of the foregoing method embodiments, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above battery detection method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing battery detection method embodiments, and achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. An electronic device, comprising:
a housing;
the battery is arranged in the shell and comprises an anode, a cathode and a reference electrode, wherein the reference electrode is used for acquiring the potential of the anode and/or the potential of the cathode so as to obtain a potential peak value;
the charging detection circuit is arranged in the shell, a first interface of the charging detection circuit is connected with the anode of the battery, a second interface of the charging detection circuit is connected with the reference electrode of the battery, and a third interface of the charging detection circuit is connected with the cathode of the battery; the charging detection circuit acquires a first charging characteristic peak position and a first discharging characteristic peak position of the battery according to the anode, the cathode and the reference electrode;
and when the difference value between the first charging characteristic peak position and the first preset peak position is smaller than a first preset threshold value, and the difference value between the first discharging characteristic peak position and the second preset peak position is smaller than the first preset threshold value, determining that the battery is an original battery.
2. The electronic device of claim 1, further comprising:
a first end of the fuel gauge is connected with the reference electrode, a second end of the fuel gauge is connected with the anode, and a third end of the fuel gauge is connected with the cathode;
and a first interface of the power management integrated circuit is connected with the anode, a second interface of the power management integrated circuit is connected with the reference electrode, and a third interface of the power management integrated circuit is connected with the cathode.
3. A battery detection method for use in an electronic device, the electronic device including a battery having an anode, a cathode, and a reference electrode, the method comprising:
under the condition that a battery in the electronic equipment is charged or discharged, acquiring a first charging characteristic peak position and a first discharging characteristic peak position of the battery according to the anode, the cathode and the reference electrode;
and when the difference value between the first charging characteristic peak position and the first preset peak position is smaller than a first preset threshold value, and the difference value between the first discharging characteristic peak position and the second preset peak position is smaller than the first preset threshold value, determining that the battery is an original battery.
4. The battery test method according to claim 3, further comprising, after obtaining a first charge characteristic peak position and a first discharge characteristic peak position of the battery from the anode, the cathode and the reference electrode:
the difference value between the first charging characteristic peak position and a first preset peak position is greater than or equal to a first preset threshold value; or when the difference value between the first discharge characteristic peak position and a second preset peak position is greater than or equal to the first preset threshold value, outputting prompt information;
wherein the prompt message includes: the battery is at least one of non-original, the electronic device is turned off, and the first charging characteristic peak position and the first discharging characteristic peak position are uploaded to a server.
5. The battery detection method according to claim 4, further comprising, after outputting the prompt message:
and when the time length after the prompt information is output reaches the set time length, closing the electronic equipment.
6. A battery test apparatus for use with an electronic device, the electronic device including a battery having an anode, a cathode, and a reference electrode, the apparatus comprising:
the acquisition module is used for acquiring a first charging characteristic peak position and a first discharging characteristic peak position of a battery in the electronic equipment according to the anode, the cathode and the reference electrode under the condition that the battery is charged or discharged;
the determining module is used for determining that the battery is an original battery when the difference value between the first charging characteristic peak position and the first preset peak position is smaller than a first preset threshold value and the difference value between the first discharging characteristic peak position and the second preset peak position is smaller than the first preset threshold value.
7. The battery test apparatus of claim 6, further comprising:
the output module is used for enabling the difference value between the first charging characteristic peak position and a first preset peak position to be larger than or equal to a first preset threshold value; or when the difference value between the first discharge characteristic peak position and a second preset peak position is greater than or equal to the first preset threshold value, outputting prompt information;
wherein the prompt message includes: the battery is at least one of non-original, the electronic device is turned off, and the charging characteristic peak position and the first discharging characteristic peak position are uploaded to a server.
8. The battery detection apparatus of claim 7, wherein the output module is further configured to:
and when the time length after the prompt information is output reaches the set time length, closing the electronic equipment.
9. An electronic device comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions when executed by the processor implementing the steps of the method of any of claims 3 to 5.
10. A readable storage medium, on which a program or instructions are stored, which, when executed by a processor, carry out the steps of the method according to any one of claims 3 to 5.
CN202111434106.9A 2021-11-29 2021-11-29 Battery detection method and device, electronic equipment and readable storage medium Pending CN114184966A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111434106.9A CN114184966A (en) 2021-11-29 2021-11-29 Battery detection method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111434106.9A CN114184966A (en) 2021-11-29 2021-11-29 Battery detection method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN114184966A true CN114184966A (en) 2022-03-15

Family

ID=80541723

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111434106.9A Pending CN114184966A (en) 2021-11-29 2021-11-29 Battery detection method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114184966A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115856669A (en) * 2022-12-09 2023-03-28 东莞先知大数据有限公司 Method for determining modified battery of electric vehicle, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2461172A1 (en) * 2010-12-02 2012-06-06 Research In Motion Limited System and Method for Detecting Counterfeit and Defective Batteries using Battery Characteristic Profiles
US20130009604A1 (en) * 2011-07-06 2013-01-10 Apple Inc. Using reference electrodes to manage batteries for portable electronic devices
EP2571076A1 (en) * 2011-09-16 2013-03-20 Research In Motion Limited Diagnostic use of physical and electrical battery parameters and storing relative condition data
CN103250301A (en) * 2010-10-13 2013-08-14 弗劳恩霍弗应用技术研究院 Electrochemical cell based on lithium technology with internal reference electrode, process for its production and methods for simultaneous monitoring of the voltage or impedance of the anode and the cathode thereof
JP2014235782A (en) * 2013-05-30 2014-12-15 積水化学工業株式会社 Storage battery management system, storage battery management server, storage battery management method and program
CN110957785A (en) * 2019-12-10 2020-04-03 维沃移动通信有限公司 Battery assembly, charging control method and system
CN111279573A (en) * 2018-12-21 2020-06-12 深圳市大疆创新科技有限公司 Method for charging lithium battery and related device
JP2021052463A (en) * 2019-09-24 2021-04-01 トヨタ自動車株式会社 vehicle
CN112615075A (en) * 2020-12-16 2021-04-06 清华大学 Battery quick charging method and computer equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103250301A (en) * 2010-10-13 2013-08-14 弗劳恩霍弗应用技术研究院 Electrochemical cell based on lithium technology with internal reference electrode, process for its production and methods for simultaneous monitoring of the voltage or impedance of the anode and the cathode thereof
EP2461172A1 (en) * 2010-12-02 2012-06-06 Research In Motion Limited System and Method for Detecting Counterfeit and Defective Batteries using Battery Characteristic Profiles
US20130009604A1 (en) * 2011-07-06 2013-01-10 Apple Inc. Using reference electrodes to manage batteries for portable electronic devices
EP2571076A1 (en) * 2011-09-16 2013-03-20 Research In Motion Limited Diagnostic use of physical and electrical battery parameters and storing relative condition data
JP2014235782A (en) * 2013-05-30 2014-12-15 積水化学工業株式会社 Storage battery management system, storage battery management server, storage battery management method and program
CN111279573A (en) * 2018-12-21 2020-06-12 深圳市大疆创新科技有限公司 Method for charging lithium battery and related device
JP2021052463A (en) * 2019-09-24 2021-04-01 トヨタ自動車株式会社 vehicle
CN110957785A (en) * 2019-12-10 2020-04-03 维沃移动通信有限公司 Battery assembly, charging control method and system
CN112615075A (en) * 2020-12-16 2021-04-06 清华大学 Battery quick charging method and computer equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115856669A (en) * 2022-12-09 2023-03-28 东莞先知大数据有限公司 Method for determining modified battery of electric vehicle, electronic equipment and storage medium
CN115856669B (en) * 2022-12-09 2023-09-26 东莞先知大数据有限公司 Method for determining refitted battery of electric vehicle, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
Naha et al. Internal short circuit detection in Li-ion batteries using supervised machine learning
CN113138340B (en) Method for establishing battery equivalent circuit model and method and device for estimating state of health
EP3185348B1 (en) A battery information detection and control method, smart battery,terminal and computer storage medium
CN107884718B (en) Battery remaining capacity calculation method, mobile terminal and storage device
CN110571887B (en) Battery selection method and device, storage medium and electronic equipment
CN110265739B (en) Battery management method, system, terminal device and storage medium
CN111060835A (en) Method and system for predicting remaining life of lithium battery and readable storage medium
CN115575842A (en) Battery management method, device, electronic equipment and storage medium
CN111180817A (en) Battery pack balancing method and device, electronic equipment and computer readable storage medium
CN114069077A (en) Electrochemical device management method, electronic apparatus, and battery system
US20160003911A1 (en) Battery cell characteristic identification
WO2022058352A1 (en) Autonomous battery monitoring system
CN114184966A (en) Battery detection method and device, electronic equipment and readable storage medium
CN117110913B (en) Battery detection circuit, electronic device, and battery detection method
CN110137584A (en) Charging voltage Threshold and charging strategy determine method
CN116298897A (en) Method and apparatus for battery short detection
CN116007506A (en) Method and device for detecting battery pole piece, computer equipment and storage medium
CN115902641A (en) Method and device for predicting battery capacity diving and storage medium
CN108417919A (en) Cell voltage method of adjustment, device and mobile terminal
CN110308780B (en) Battery management method, system, terminal device and storage medium
Hamar et al. Anode potential estimation in lithium-ion batteries using data-driven models for online applications
CN114487855A (en) Method and device for detecting lithium deposition of battery, storage medium and processor
CN112421141A (en) Lithium battery temperature monitoring method and system
US11302955B2 (en) Battery cell design with a coated lithium reference electrode
CN111967191A (en) Fuzzy Bayesian network-based lithium ion power battery safety degree evaluation method and device

Legal Events

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