Battery identification method, identification device, battery, identification device and storage medium
By detecting cell parameters and identifying battery protection components, it solves the problem of distinguishing original batteries from imitation batteries, achieves battery safety control and extends service life, and improves user experience.
Patent Information
- Application Number
- CN202010499084.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-04
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2040-06-04
AI Technical Summary
It is difficult to effectively identify and distinguish original batteries and imitation batteries with existing technology, leading to potential safety hazards and shortened service life of batteries, affecting user experience.
By detecting the electrical parameters of the battery core to be tested, determine its similarity with the preset battery core, and determine whether it has a matching relationship with electronic equipment, thereby controlling charging and discharging, and using one-time burning counting units and encryption algorithms to identify battery protection components. , ensure the battery is safe to use.
It improves the accuracy and safety of battery identification, extends the service life of the battery, reduces the battery aging rate, and ensures user experience.
Smart Images

Figure CN113759259B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of battery technology, and in particular to a battery identification method, an identification device, a battery, an identification apparatus and a storage medium. Background Art
[0002] With the rapid development of mobile terminals, while mobile phones, tablet computers and other electronic devices fully meet user needs in terms of functionality, the safety of electronic devices has become particularly important, such as battery safety.
[0003] Take mobile phones as an example. Many manufacturers will make and sell some imitation batteries. Compared with original batteries, the biggest advantage of these imitation batteries is that they are cheaper. However, when using imitation batteries, the motherboard of the mobile phone will be damaged and even the battery or mobile phone will explode, endangering personal safety. Summary of the invention
[0004] The present disclosure provides a battery identification method, an identification device, a battery, an identification apparatus and a storage medium.
[0005] According to a first aspect of an embodiment of the present disclosure, a battery identification method is provided, which is applied to an electronic device, wherein the battery includes a battery cell to be tested, and the method includes:
[0006] Detecting electrical parameters of the battery cell to be tested;
[0007] Determining the similarity between the battery cell to be tested and a preset battery cell according to the electrical parameter; wherein the preset battery cell is a battery cell having a first preset matching relationship with the electronic device;
[0008] According to the similarity, it is determined whether the battery cell to be tested and the electronic device have the first preset matching relationship to obtain a determination result.
[0009] According to a second aspect of an embodiment of the present disclosure, a battery identification device is provided, including:
[0010] A detection module, used to determine the electrical parameters of the battery cell to be tested;
[0011] A determination module is electrically connected to the detection module, and is used to determine the similarity between the battery cell to be tested and a preset battery cell according to the electrical parameters; wherein the preset battery cell is a battery cell having a first preset matching relationship with an electronic device using the battery;
[0012] The judgment module is electrically connected to the determination module, and is used to judge whether the battery cell to be tested and the electronic device have the first preset matching relationship according to the similarity, so as to obtain a judgment result.
[0013] According to a third aspect of an embodiment of the present disclosure, there is provided a battery, comprising:
[0014] Battery cells, used to store electrical energy;
[0015] A battery protection component, used to protect the battery cell;
[0016] The battery protection component includes: a one-time burning counting unit, which is used to form a counting value indicating the number of cycles of the battery.
[0017] According to a fourth aspect of an embodiment of the present disclosure, a battery identification device is provided, including:
[0018] processor;
[0019] a memory for storing processor-executable instructions;
[0020] Wherein, the processor is configured to: when executing the executable instructions, implement the steps in the method described in the first aspect of the embodiment of the present disclosure.
[0021] According to the fifth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device can perform the steps in the method described in the first aspect of the embodiment of the present disclosure.
[0022] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0023] The disclosed embodiment obtains the electrical parameters of the cell to be tested, and determines the similarity between the cell to be tested and the preset cell according to the electrical parameters of the cell to be tested. Then, according to the similarity, it is determined whether the cell to be tested and the electronic device have a first preset matching relationship, and a judgment result is obtained, which can realize the identification of the cell to be tested in the battery, and the judgment result can be used as a basis for charging and discharging control of the cell to be tested, so as to improve the use safety of the electronic device equipped with the cell to be tested, slow down the aging of the battery, and extend the service life of the battery, so as to ensure a better user experience.
[0024] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0026] Figure 1 The figure is a flow chart of a battery identification method according to an exemplary embodiment.
[0027] Figure 2 The diagram is a logic diagram of a battery identification method according to an exemplary embodiment.
[0028] Figure 3 The figure is a logic diagram showing another battery identification method according to an exemplary embodiment.
[0029] Figure 4 The invention is a block diagram of a battery identification device according to an exemplary embodiment.
[0030] Figure 5 The invention is a circuit diagram of a battery identification device when performing battery identification according to an exemplary embodiment.
[0031] Figure 6 is a block diagram of a battery according to an exemplary embodiment.
[0032] Figure 7 is a block diagram showing another battery identification device according to an exemplary embodiment. DETAILED DESCRIPTION
[0033] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0034] As mobile phones and other electronic devices play an increasingly important role in our lives, users are becoming more and more dependent on them. Take mobile phones as an example. In order to extend the battery life of mobile phones, mobile phones are usually equipped with batteries with larger capacity. In order to speed up the charging speed, the fast charging mode is usually used to charge the battery of the mobile phone.
[0035] Usually, when the battery is charged in the fast charging mode, the charging power is large and the battery performance requirements are high. Imitation batteries usually cannot meet the requirements of the fast charging mode. Therefore, when the imitation battery is charged in the fast charging mode, the charging speed is slow, which affects the user's charging experience and may even cause the imitation battery to explode, posing a safety hazard to the user.
[0036] In view of this, an embodiment of the present disclosure provides a battery identification method. Figure 1 As shown, the method is applied to an electronic device, the battery includes a cell to be tested, and the method includes the following steps:
[0037] S100: Detecting the electrical parameters of the battery cell to be tested;
[0038] S200: Determine the similarity between the battery cell to be tested and a preset battery cell according to the electrical parameters of the battery cell to be tested; wherein the preset battery cell is a battery cell having a first preset matching relationship with the electronic device;
[0039] S300: judging whether the battery cell to be tested and the electronic device have a first preset matching relationship according to the similarity, and obtaining a judgment result.
[0040] In S100, the detected electrical parameters of the battery cell to be tested may include: the state of charge (SOC) of the battery cell to be tested, the current value output by the battery cell to be tested, or the voltage value of the battery cell to be tested, the voltage change rate of the battery cell to be tested when charging the battery cell to be tested, or the charging current change rate when charging the battery cell to be tested, etc.
[0041] For example, the battery cell to be tested may include multiple states, such as a charging state, a discharging state, or a standby state.
[0042] When the battery cell to be tested is in a charging state, the external power supply transmits energy to the battery cell to be tested so as to charge the battery cell to be tested.
[0043] When the battery cell to be tested is in a discharge state, the battery cell to be tested transmits energy to an electronic device electrically connected thereto to supply power to the electronic device.
[0044] When the battery cell to be tested is in standby state, it is neither charged nor discharged. It can be considered that the power consumption of the battery cell to be tested in standby state is very small. For the battery cell to be tested in standby state, the main consideration is the self-discharge phenomenon inside the battery cell to be tested that consumes power.
[0045] It should be noted that S100 can detect the electrical parameters of the battery cell to be tested respectively when the battery cell to be tested is in different states, and determine the similarity between the battery cell to be tested and the preset battery cell according to the electrical parameters of the battery cell to be tested in different states, so as to improve the accuracy of the judgment result obtained based on the similarity.
[0046] For example, in S200, the similarity between the cell to be tested and the preset cell can be determined based on the electrical parameters of the cell to be tested and the preset electrical parameters of the preset cell. It is understandable that the cell to be tested and the preset cell are both cells.
[0047] For example, the similarity between the cell to be tested and the preset cell can be determined based on the difference between the electrical parameters of the cell to be tested and the preset electrical parameters of the preset cell. For another example, the similarity between the cell to be tested and the preset cell can be determined based on the ratio of the electrical parameters of the cell to be tested to the preset electrical parameters of the preset cell.
[0048] The first preset matching relationship may represent that the preset battery cell is the original battery cell of the above electronic device.
[0049] It should be pointed out that when charging an electronic device equipped with an original battery cell, the original battery cell can be charged according to the charging protocol set for the electronic device, and the probability of safety accidents occurring during the charging process is relatively low.
[0050] The charging protocol set by the electronic device may include: a fast charging protocol, for example, a power delivery (PD) fast charging protocol, or a quick charge (QC) protocol.
[0051] Furthermore, when the original battery cells are discharged to power electronic devices, the original battery cells can also support the discharge mode required by the electronic devices, and the probability of safety accidents occurring during the discharge process is relatively low.
[0052] Take the mobile phone as an example. When the mobile phone is in standby mode, the power consumption of the mobile phone is relatively low, and the battery cell outputs a relatively small current to meet the needs of the mobile phone in standby mode. However, when the user wants to play games on the mobile phone, the mobile phone requires a relatively large current. When the battery cell and the electronic device do not have the first preset matching relationship, the battery cell may not be able to output the current required by the mobile phone, which may cause the battery cell temperature to continue to rise or the user to be unable to continue to use the mobile phone to play games normally, which will affect the user experience.
[0053] That is to say, when a battery cell having a first preset matching relationship with the electronic device is configured in the electronic device, not only can the charging experience be guaranteed, but also the risk of potential safety hazards is low, which is conducive to ensuring the safety of the electronic device.
[0054] In S300, the judgment result is used to indicate whether the battery cell to be tested has a first preset matching relationship with the electronic device. It is understandable that the electronic device can control the charging and discharging of the battery cell to be tested in the battery according to the judgment result to ensure the safety of the battery and the electronic device.
[0055] In the disclosed embodiment, the electrical parameters of the cell to be tested are obtained, and the similarity between the cell to be tested and the preset cell is determined based on the electrical parameters of the cell to be tested. Then, based on the similarity, it is determined whether the cell to be tested and the electronic device have a first preset matching relationship, and a judgment result is obtained, which can realize the identification of the cell to be tested in the battery, and the judgment result can be used as a basis for charging and discharging control of the cell to be tested, so as to improve the use safety of the electronic device equipped with the cell to be tested, slow down the aging speed of the battery, and extend the service life of the battery, so as to ensure a better user experience.
[0056] In some embodiments, S200 includes:
[0057] Determine the characteristic value of the chemical parameter of the battery cell to be tested according to the electrical parameters of the battery cell to be tested;
[0058] Determine the similarity between the chemical parameter characteristic values of the battery cell to be tested and the chemical parameter characteristic values of the preset battery cell.
[0059] The chemical parameter characteristic value of the battery cell can be used to indicate the performance of the battery cell. The chemical parameter characteristic value of the battery cell may include one or more parameters.
[0060] Specifically, the chemical parameter characteristic value of the battery cell may include at least one of the following: theoretical maximum chemical capacity (Q max ); Available capacity after the battery is fully charged (Full Charge Capacity, FCC); Depth Of Discharge (Depth Of Discharge, DOD); State Of Health (State Of Health, SOH); Battery impedance value; Voltage drop per unit time (K value).
[0061] Theoretical maximum chemical capacity, also known as the rated capacity of a battery cell. Taking a brand new battery cell as an example, when the brand new battery cell is fully charged, the actual capacity of the brand new battery cell can be considered to be equal to the theoretical maximum chemical capacity. Here, brand new battery cells are used to refer to batteries that have not been discharged once.
[0062] The available capacity of a fully charged battery is used to indicate the actual capacity that can be discharged when the battery is fully charged.
[0063] Take a battery cell with a rated capacity of 3300 mAh as an example. When it is fully charged, it can theoretically release 3300 mAh of capacity. However, in actual application, due to the influence of factors such as the self-discharge of the battery cell and the internal resistance of the battery cell, the actual capacity that can be released will be less than 3300 mAh. Therefore, the available capacity of the battery cell after it is fully charged can also reflect the performance of the battery cell.
[0064] The depth of discharge is used to reflect the degree of discharge of the battery cell. Specifically, the depth of discharge of the battery cell can be regarded as the percentage of the discharged capacity of the battery cell to the rated capacity.
[0065] For example, when the discharge depth of the battery cell is 100%, the battery cell can be considered to be in a depleted state, and when the discharge depth of the battery cell is 0, the battery cell can be considered to be in a fully charged state.
[0066] The health of the battery cell is used to indicate the battery cell's ability to store charge. The better the health of the battery cell, the greater its ability to store charge.
[0067] The impedance value of the battery cell is used to indicate the degree of aging of the battery cell. The impedance value of the battery cell can be calculated based on the current value and voltage value of the detected battery cell. It is understandable that the impedance values of different types of battery cells are different.
[0068] Exemplarily, the impedance value of the battery cell may be detected multiple times to obtain an impedance table (R-table) of the battery cell, and the similarity between the battery cell and a preset battery cell may be determined based on the impedance table of the battery cell to improve the accuracy of the determined similarity.
[0069] The voltage drop per unit time is used to measure the self-discharge performance of the battery cell. It is understandable that for the battery cell that has not been discharged to the electronic device, there may be a partial short circuit in the microstructure of the battery cell, which causes the battery cell to self-discharge, resulting in a drop in the battery cell voltage. Generally, the smaller the voltage drop per unit time of the battery cell, the better the performance of the battery cell.
[0070] It should be pointed out that the similarity between the characteristic value of the chemical parameter of the battery cell to be tested and the characteristic value of the chemical parameter of the preset battery cell can be regarded as the similarity between the battery cell to be tested and the preset battery cell.
[0071] Taking the six characteristic values of chemical parameter characteristic values including theoretical maximum chemical capacity, available capacity after full charge of the battery cell, discharge depth, health status, impedance value and voltage drop per unit time as an example, the parameter similarity between each characteristic value of the battery cell to be tested and the corresponding characteristic value of the preset battery cell can be calculated, and then the parameter similarity corresponding to each characteristic value is allocated coefficient according to the influence factor of each characteristic value on the above similarity, and finally the similarity between the chemical parameter characteristic value of the battery cell to be tested and the chemical parameter characteristic value of the preset battery cell is determined according to each parameter similarity and the allocated coefficient.
[0072] Specifically, the parameter similarity α of the theoretical maximum chemical capacity can be expressed as:
[0073]
[0074] Among them, Q max1 Used to indicate the theoretical maximum chemical capacity of the battery to be tested, Q max2 Used to indicate the theoretical maximum chemical capacity of a preset cell.
[0075] The parameter similarity β of the available capacity after full charge can be expressed as:
[0076]
[0077] Among them, FCC 1 Used to indicate the available capacity of the battery to be tested after it is fully charged. FCC 2 Used to indicate the available capacity after the preset battery is fully charged.
[0078] The parameter similarity γ of the cell impedance value can be expressed as:
[0079]
[0080] Among them, R 1Used to indicate the impedance value of the cell to be tested, R 2 Used to indicate the impedance value of the preset battery cell.
[0081] The parameter similarity δ of the discharge depth can be expressed as:
[0082]
[0083] Among them, DOD 1 Used to indicate the discharge depth of the battery under test, DOD 2 Used to indicate the discharge depth of the preset battery cell.
[0084] The parameter similarity ε of the cell health status can be expressed as:
[0085]
[0086] Among them, SOH 1 Used to indicate the health status of the battery cell to be tested, SOH 2 Used to indicate the health status of the preset battery cell.
[0087] The parameter similarity k of the voltage drop per unit time can be expressed as:
[0088]
[0089] Among them, K 1 Used to indicate the voltage drop per unit time of the cell to be tested, K 2 Used to indicate the voltage drop of a preset battery cell per unit time.
[0090] It should be noted that the chemical parameter characteristic values of the preset battery cells can be determined based on experimental tests. The chemical parameter characteristic values of the preset battery cells can be pre-programmed in an application processor (AP) of the electronic device.
[0091] Therefore, the similarity Y between the chemical parameter characteristic value of the battery cell to be tested and the chemical parameter characteristic value of the preset battery cell can be expressed as:
[0092] Y=A%α+B%β+C%γ+D%δ+E%ε+F%k (7)
[0093] Among them, A% is used to represent the coefficient of parameter similarity assigned to the theoretical maximum chemical capacity; B% is used to represent the coefficient of parameter similarity assigned to the available capacity after full charge; C% is used to represent the coefficient of parameter similarity assigned to the impedance value; D% is used to represent the coefficient of parameter similarity assigned to the depth of discharge; E% is used to represent the coefficient of parameter similarity assigned to the theoretical battery health status; F% is used to represent the coefficient of parameter similarity assigned to the voltage drop per unit time. A%, B%, C%, D%, E% and F% can all be values greater than 0 and less than 1.
[0094] For example, for parameter similarities corresponding to different feature values, different coefficients may be assigned, for example, the six coefficients A%, B%, C%, D%, E%, and F% may be different.
[0095] Usually, in order to pursue faster charging speed, electronic devices will support fast charging protocols and use higher power to charge the battery cells. However, when using higher power to charge batteries that do not support the fast charging protocol, it is easy to cause damage to the battery cells and even damage to the electronic devices, endangering user safety. Therefore, when identifying the battery, it is usually necessary to identify the maximum charging power that the battery cell to be tested can support.
[0096] It should be pointed out that since the impedance value and the theoretical maximum chemical capacity can reflect the maximum charging power supported by the battery cell to be tested, among the above six coefficients, the values of A% and C% are larger, and A% and C% are both greater than B%, D%, E% and F%; B%, D% and E% can be equal; F% is the smallest.
[0097] Specifically, C% may be 40%; A% may be 25%; B%, D% and E% may all be 10%; and F% may be 5%.
[0098] It is understandable that when the determined chemical parameter characteristic value of the battery cell to be tested includes multiple characteristic values, the units of different characteristic values may be different. Therefore, by calculating the parameter similarity of each characteristic value, the reduction in similarity accuracy caused by the inconsistency of characteristic value units can be reduced, which is conducive to ensuring the accuracy of similarity.
[0099] Since different eigenvalues have different effects on the similarity between the battery cell to be tested and the preset battery cell, the present disclosure allocates a coefficient corresponding to the parameter similarity of each eigenvalue in the similarity calculation formula (7) according to the influence factor of each eigenvalue on the above similarity, which is beneficial to further improve the accuracy of the determined similarity.
[0100] Exemplarily, S300 may include: when the similarity is greater than or equal to a preset threshold, obtaining a first judgment result indicating that the battery cell to be tested and the electronic device have a first preset matching relationship;
[0101] When the similarity is less than a preset threshold, a second judgment result is obtained indicating that the battery cell to be tested and the electronic device do not have a first preset matching relationship.
[0102] Exemplarily, the preset threshold value may be determined based on experimental tests. For example, the preset threshold value may be determined by performing a charge and discharge test on a plurality of cells that do not have a first preset matching relationship with the electronic device.
[0103] In some embodiments, the above method further comprises:
[0104] Obtain the number of cycles of the battery;
[0105] The value of the preset threshold is adjusted according to the number of cycles of the above battery.
[0106] Exemplarily, the number of cycles of the battery mentioned above may be the number of charge and discharge cycles of the battery cell to be tested.
[0107] As the number of cycles of the battery cell gradually increases, the aging degree of the battery cell gradually increases. Therefore, the number of cycles of the battery cell can roughly reflect the aging degree of the battery cell. It can be understood that the characteristic value of the chemical parameter of the battery cell is closely related to the aging degree of the battery cell.
[0108] For example, in actual use, as the number of charge and discharge cycles of the battery cell gradually increases, the internal resistance of the battery cell will gradually increase. Therefore, when the battery cell is fully charged, the actual capacity of the battery cell will be less than its theoretical maximum chemical capacity.
[0109] For another example, the aging degree of the battery cell will also affect the available capacity of the battery cell after it is fully charged. Specifically, as the number of cycles increases, the internal resistance of the battery cell increases, and the available capacity of the battery cell after it is fully charged will gradually decrease.
[0110] Moreover, as the number of cycles of the battery cell changes, the impedance value of the battery cell will also change. For example, as the number of cycles of the battery cell increases, the internal resistance of the battery cell will gradually increase, that is, the impedance value of the battery cell will increase.
[0111] Exemplarily, when the number of cycles increases, the value of the preset threshold increases. For example, when the number of cycles of the battery is within a first range, the preset threshold has a first value; when the number of cycles of the battery increases from the first range to within a second range, the preset threshold has a second value, and the second value is greater than the first value.
[0112] Therefore, compared with using the same fixed preset threshold to obtain judgment results for battery cells to be tested with different numbers of cycles, in the embodiment of the present disclosure, the number of cycles of the battery is obtained and the value of the preset threshold is adjusted according to the number of cycles of the battery, so that the value of the preset threshold can be adjusted for different numbers of cycles of the battery, which is beneficial to improving the accuracy of the judgment results obtained by comparing the similarity with the preset threshold, providing a more accurate basis for subsequent charging and discharging control of the battery cell to be tested, thereby improving the use safety and user experience of electronic equipment equipped with the battery cell to be tested.
[0113] The battery of an electronic device includes not only a battery cell, but also a battery protection component electrically connected to the battery cell. The battery protection component is used to protect the battery cell. The battery protection component may include: a pulse code modulation (PCM) component, etc.
[0114] When the battery cell and the electronic device meet the first preset matching relationship, that is, the battery cell is an original battery cell, if the battery protection component and the electronic device meet the second preset matching relationship, that is, the battery protection component is an original battery protection component, then the original battery protection component can effectively protect the original battery cell. For example, the original battery protection component can protect the battery cell from overcharge, overdischarge, or temperature.
[0115] However, when the battery protection component is not an original battery protection component but a counterfeit battery protection component, the counterfeit battery protection component and the electronic device do not satisfy the second preset matching relationship, and the counterfeit battery protection component cannot protect the original battery cell and still poses a safety hazard.
[0116] In view of this, in some embodiments, the battery further includes a battery protection component to be tested, and the method further includes:
[0117] Reading a first sequence from a battery protection component to be tested;
[0118] If the reading of the first sequence fails, it is determined that the battery protection component to be tested and the electronic device do not have a second preset matching relationship.
[0119] When the battery protection component and the electronic device have a second preset matching relationship, the battery protection component can be considered to be an original battery protection component of the electronic device.
[0120] When the protection component of the battery to be tested and the electronic device do not have a second preset matching relationship, the electronic device cannot read the first sequence from the battery.
[0121] In the disclosed embodiment, when reading the first sequence fails, it can be directly determined that the battery protection component to be tested and the electronic device do not have the second preset matching relationship, which is simple and has high recognition efficiency.
[0122] Figure 2 It is a schematic diagram of a battery identification scheme according to an exemplary embodiment. The scheme is applied to an electronic device. The battery includes a battery cell to be tested and a battery protection component to be tested. The battery protection component to be tested may include: a fuel gauge with an encryption algorithm or an encryption integrated circuit (IC).
[0123] Reference Figure 2 As shown, under the control signal of battery authentication, the fuel meter or encryption integrated circuit (IC) with encryption algorithm in the battery assembly to be tested can generate a first random code, and the system of the electronic device can decrypt and identify the first random code through a secure hash algorithm to determine whether the battery protection component to be tested is an original battery protection component. After the battery protection component to be tested is identified, the authentication is completed. This solution only identifies the battery protection component to be tested, and determines whether the battery is an original battery based on the identification result of the battery protection component to be tested, without identifying the battery cell to be tested.
[0124] In actual application, the original battery protection component may be reused. For example, the original battery protection component in the original battery can be assembled with the imitation battery cell to form an imitation battery. Since the imitation battery includes the original battery protection component, the electronic device can read the first sequence. Figure 2 The scheme shown in the figure may misunderstand the imitation battery as an original battery when identifying the battery. However, the imitation battery is still not the original battery of the electronic device, and there are still safety risks when using the imitation battery.
[0125] In view of this, in some embodiments, the above method further includes:
[0126] If the first sequence is read, a second sequence is generated; wherein, when the battery protection component to be tested is a battery protection component having a second preset matching relationship with the electronic device, the battery protection component to be tested generates the first sequence in the same manner as the processing component of the electronic device generates the second sequence;
[0127] According to the first sequence and the second sequence, it is determined whether the battery protection component to be tested and the electronic device have a second preset matching relationship, and a matching result is obtained.
[0128] The first sequence and the second sequence can both be random number sequences. The first sequence is a sequence generated by the protection component of the battery to be tested, and the second sequence is a sequence generated by the processing component of the electronic device.
[0129] Exemplarily, generating the second sequence includes: generating the second sequence based on a preset number of cycles of the battery cell and an identity of a preset battery protection component.
[0130] The electronic device can encrypt the number of cycles of the preset battery cell and the identity of the preset battery protection component through a secure hash algorithm (SHA) to generate a second sequence.
[0131] The preset number of cycles of the battery cell and the identification mark of the preset battery protection component can be stored in the electronic device. When it is necessary to identify the battery currently configured in the electronic device, the processing module of the electronic device can read the preset number of cycles of the battery cell and the identification mark of the preset battery protection component.
[0132] For example, when the electronic device detects that the connection with the battery is interrupted and re-establishes the connection with the battery, it is necessary to identify the battery currently configured in the electronic device. It is understandable that when the user removes the battery in the electronic device, the electronic device can detect that the connection with the battery is interrupted; when the user re-installs the battery in the electronic device, the electronic device re-establishes the connection with the battery.
[0133] Alternatively, when the electronic device switches from the off state to the on state, the currently configured battery needs to be identified. When the electronic device is in the off state, the battery stops supplying power to the electronic device. When the electronic device is in the on state, the battery starts supplying power to the electronic device. It should be noted that when the electronic device is in the off state, the battery of the electronic device can be replaced.
[0134] When the battery protection component to be tested and the electronic device have a second preset matching relationship, the battery protection component to be tested can generate a first sequence based on the number of cycles of the battery cell to be tested and the identity of the battery protection component to be tested. In this way, while determining whether the battery protection component to be tested and the electronic device have the second preset matching relationship, it can also be determined whether the battery protection component to be tested and the battery cell to be tested are original structures to each other.
[0135] It should be pointed out that when the battery cell to be tested is the first original battery cell obtained from the first original battery, and the battery protection component to be tested is the second original battery protection component obtained from the second original battery, and the number of cycles of the first original battery and the number of cycles of the second battery are different, if the first original battery cell and the second original battery protection component are combined into one battery, since the first original battery cell and the second original battery protection component are not each other's original structures, the protection effect of the second original battery protection component on the first original battery cell may be poor, which may reduce the charging experience.
[0136] Therefore, the embodiment of the present disclosure generates a first sequence through the number of cycles of the battery cell to be tested and the identity identification mark of the battery protection component to be tested. When the first sequence is read, a second sequence is generated, and a judgment is made based on the second sequence as to whether the battery protection component to be tested and the electronic device have a second preset matching relationship. The matching result is obtained, which can improve the accuracy of battery identification, thereby improving user experience and battery safety.
[0137] Exemplarily, the step of determining whether the battery protection component to be tested and the electronic device have a second preset matching relationship according to the first sequence and the second sequence to obtain a matching result includes:
[0138] When the first sequence and the second sequence are the same, obtaining a first matching result indicating that the battery protection component to be tested and the electronic device have a second preset matching relationship;
[0139] When the first sequence and the second sequence are different, a second matching result is obtained indicating that the battery protection component to be tested and the electronic device do not have a second preset matching relationship.
[0140] The first matching result and the second matching result may both be numerical values, or may be control signals. The electronic device may control the charging and discharging of the battery according to the first matching result or the second matching result.
[0141] The disclosed embodiment determines whether the battery protection component to be tested and the electronic device have a second preset matching relationship by comparing the first sequence with the second sequence. The method is simple.
[0142] A value reflecting the number of battery cycles is usually burned into the battery protection component. The imitation battery protection component can burn the value multiple times, that is, the value burned into the imitation battery protection component can be changed at will. In this way, the imitation battery protection component can be reused multiple times, so that the value in the imitation battery protection component cannot reflect the actual number of cycles of the battery cell, which is not conducive to improving the safety of battery use.
[0143] For example, for a battery cell with a service life of 800 cycles, when the number of cycles of the battery cell is 750, the battery cell can still be charged and discharged 50 times, and the value in the original battery protection component can be 50. When the value in the original battery protection component decreases to 0, the battery cell cannot be used anymore and needs to be replaced with a new battery.
[0144] However, in order to reuse the battery, a counterfeit battery protection component can be used to replace the original battery protection component, and the value in the counterfeit battery protection component is re-burned to 800, causing the electronic device using the battery to mistakenly believe that the battery cell can be charged and discharged for 800 cycles. In fact, the battery cell can only be charged and discharged for 50 cycles.
[0145] For example, the available capacity of cells with different cycle numbers is different. Therefore, the available capacity of the battery after a cell with a cycle number of 50 is fully charged is different from the available capacity of the battery after a cell with a cycle number of 800 is fully charged. Therefore, the use of counterfeit battery protection components will reduce the user's charging experience.
[0146] In view of this, in some embodiments, the battery further includes a battery protection component to be tested, the battery protection component to be tested includes a one-time burning counting unit, and the method further includes:
[0147] Obtain a count value of a one-time burning counting unit; wherein the count value is used to indicate the number of cycles of the battery.
[0148] Exemplarily, a one-time burning counting unit refers to a counting unit that can burn an initial value once. After the initial value is burned, after the battery is charged and discharged once, the count value of the one-time burning counting unit will change and will be different from the initial value. In addition, the count value of the one-time burning counting unit cannot be restored to the initial value by manual modification or re-burning. It should be pointed out that the number of cycles of the battery is the number of cycles of the battery cell to be tested.
[0149] The one-time burning counting unit may include: a down counter. When the one-time burning counting unit includes a down counter, the initial value burned in the down counter is equal to the service life of the battery, and the count value of the down counter is equal to the difference between the service life of the battery and the number of battery cycles. Here, the service life of the battery is the number of times the battery can be cyclically charged and discharged.
[0150] For example, for a battery with a service life of 800, the initial value burned into the down counter may be 800. When the battery undergoes a charge and discharge cycle, the count value of the down counter decreases by 1. When the count value of the down counter is 700, the number of cycles of the battery is 100.
[0151] In the disclosed embodiment, by obtaining the count value of the one-time burn-in counting unit and using the count value to indicate the number of battery cycles, the reuse of battery protection components can be reduced, which is beneficial to ensure that the obtained count value can accurately indicate the number of battery cycles, thereby improving the accuracy of battery identification.
[0152] Figure 3 is a control logic diagram of a battery identification method according to an exemplary embodiment. Figure 3As shown, when the battery needs to be identified, on the one hand, the control signal of the battery authentication is transmitted to the battery protection component to be tested through the A branch to identify the battery protection component to be tested and obtain a matching result; on the other hand, the control signal of the battery authentication is transmitted to the battery cell to be tested through the B branch to identify the battery cell to be tested and obtain a judgment result. After obtaining the matching result and the judgment result, the authentication is completed.
[0153] The present invention obtains a judgment result by judging whether the battery cell to be tested and the electronic device have a first preset matching relationship, and obtains a matching result by judging whether the battery protection component to be tested and the electronic device have a second preset matching relationship. Then, the specific method of power transmission by the battery can be controlled according to the judgment result and / or the matching result, which is beneficial to improving the flexibility of power transmission control, and improving user experience while ensuring the safety of power transmission.
[0154] In some embodiments, the above method further comprises:
[0155] According to the judgment result and / or the matching result, the battery power transmission is performed in a mode that satisfies the above-mentioned battery power transmission safety conditions.
[0156] It should be pointed out that when the battery power transmission is performed in a mode that meets the above-mentioned battery power transmission safety conditions, the risk of battery safety accidents is relatively small, and the safety of the power transmission process can be guaranteed.
[0157] The power transmission of the battery may include: an external power source provides power to the battery, that is, charging the battery; or the battery provides power to the electronic device, that is, discharging the battery.
[0158] For example, when the judgment results are different, the modes of power transmission are also different. Similarly, when the matching results are different, the modes of power transmission may also be different.
[0159] Specifically, the battery power transmission is performed in a mode that satisfies the battery power transmission safety condition according to the judgment result and / or the matching result, including at least one of the following:
[0160] When the judgment result indicates that the battery cell to be tested has a first preset matching relationship with the electronic device, and the matching result indicates that the battery protection component to be tested has a second preset matching relationship with the electronic device, the battery power is transmitted in the first mode;
[0161] When the judgment result indicates that the battery cell to be tested and the electronic device do not have a first preset matching relationship, the battery power is transmitted in a second mode;
[0162] When the matching result indicates that the battery protection component to be tested and the electronic device do not have a second preset matching relationship, the battery power is transmitted in the second mode;
[0163] The transmission current of the second mode is smaller than the transmission current of the first mode.
[0164] For example, taking the battery power transmission as charging the battery as an example, the first mode may include a fast charging mode, such as a PD (Power Delivery) fast charging mode or a QC (Quick Charge) fast charging mode. The transmission current of the first mode may be greater than or equal to 2 amperes.
[0165] The second mode may include a slow charging mode, for example, a charging mode in which the battery is charged at a current of 0.7 amperes, or a charging mode in which the battery is charged at a current of 1 ampere.
[0166] In the disclosed embodiment, based on the judgment result and / or matching result, the battery power transmission is performed in a mode that satisfies the above-mentioned battery power transmission safety conditions, which is beneficial to ensure the safety of battery power transmission and ensure the safety of user property.
[0167] In some embodiments, when the judgment result indicates that the battery cell to be tested and the electronic device do not have a first preset matching relationship, the battery power transmission is performed in the second mode, further comprising:
[0168] When the judgment result indicates that the battery cell to be tested and the electronic device do not have a first preset matching relationship, the transmission current of the second mode is determined according to the similarity between the battery cell to be tested and the preset battery cell.
[0169] For example, when the judgment result indicates that the battery cell to be tested does not have a first preset matching relationship with the electronic device, the safety level of the battery cell to be tested can be determined according to the similarity between the battery cell to be tested and the preset battery cell, and the transmission current of the second mode can be determined according to the safety level of the battery cell to be tested.
[0170] For example, when the similarity between the battery cell to be tested and the preset battery cell is greater than a first threshold and less than a preset threshold, the battery cell to be tested has a first safety level, and a first transmission current is used in the second mode to transmit battery power, and the first transmission current is less than the transmission current of the first mode.
[0171] When the similarity between the battery cell to be tested and the preset battery cell is less than or equal to the second threshold, the battery cell to be tested has a second safety level, and a second transmission current is used to transmit power to the battery in the second mode, and the second transmission current is less than the first transmission current.
[0172] It should be noted that the second transmission current may be equal to 0. When the second transmission current is equal to 0, it can be regarded as stopping the transmission of the battery power, that is, stopping charging the battery and stopping discharging the battery to the electronic device.
[0173] It is understandable that for multiple cells to be tested that do not have the first preset matching relationship with the electronic device, different cells to be tested may also have different performances. Therefore, based on the similarity between the cells to be tested and the preset cells, the degree of closeness between the performance of the cells to be tested and the performance of the preset cells can be roughly estimated, and then the cells to be tested with different safety levels can be distinguished, and the transmission current of the second mode can be determined.
[0174] Compared to using a fixed transmission current to transmit power in the second mode, the embodiment of the present disclosure determines the transmission current of the second mode based on the similarity between the battery cell to be tested and the preset battery cell, which can improve the control flexibility of power transmission in the second mode and meet battery application requirements under different similarity conditions.
[0175] In some embodiments, the above method further comprises:
[0176] When the judgment result indicates that the battery cell to be tested and the electronic device do not have a first preset matching relationship, outputting a first state reminder indicating that the battery cell to be tested has an abnormality;
[0177] and / or,
[0178] When the matching result indicates that the battery protection component to be tested and the electronic device do not have a second preset matching relationship, a second state reminder indicating that an abnormality exists in the battery protection component to be tested is output.
[0179] Exemplarily, the output first status reminder may include: voice reminder or text reminder, etc. For example, when the output first status reminder includes voice reminder, a voice message of "the configured battery cell is not compatible with this device" may be output. When the output first status reminder includes text reminder, a text message of "the configured battery cell is not compatible with this device" may be displayed on the display interface of the electronic device.
[0180] Similarly, the output second state reminder may include: voice reminder or text reminder, etc. For example, when the output second state reminder includes a voice reminder, a voice message of "the configured battery protection component is not compatible with this device" may be output. When the output second state reminder includes a text reminder, a text message of "the configured battery protection component is not compatible with this device" may be displayed on the display interface of the electronic device.
[0181] It should be pointed out that when the judgment result indicates that the battery cell to be tested and the electronic device do not have the first preset matching relationship, if the electronic device equipped with the battery cell to be tested is still charged, it may not be possible to charge using the charging protocol set for the electronic device, and a smaller power is used to charge the battery cell to ensure charging safety.
[0182] When the matching result indicates that the battery protection component to be tested and the electronic device do not have the second preset matching relationship, if the electronic device equipped with the battery protection component to be tested is still charged, it may not be possible to charge using the charging protocol set for the electronic device, and a smaller power is used to charge the battery cell to ensure charging safety.
[0183] For example, when the battery cell to be tested does not have a first preset matching relationship with the electronic device, and / or the battery protection component to be tested does not have a second preset matching relationship with the electronic device, the battery cell to be tested can be charged with a power of 20 watts or even less.
[0184] In the disclosed embodiment, when the judgment result indicates that the battery cell to be tested and the electronic device do not have a first preset matching relationship, a first status reminder indicating that the battery cell to be tested has an abnormality is output; and / or when the matching result indicates that the battery protection component to be tested and the electronic device do not have a second preset matching relationship, a second status reminder indicating that the protection component to be tested has an abnormality is output. When it is identified that the battery cell to be tested has an abnormality and / or the protection component to be tested has an abnormality, the user can be reminded in time, so that the user can know the cause of the battery abnormality in time, which is conducive to improving the user experience.
[0185] Figure 4 is a block diagram of a battery identification device 100 according to an exemplary embodiment. Figure 4 As shown, the battery identification device 100 includes:
[0186] The detection module 110 is used to detect the electrical parameters of the battery cell to be tested;
[0187] The determination module 120 is electrically connected to the detection module 110, and the determination module 120 is used to determine the similarity between the battery cell to be tested and the preset battery cell according to the electrical parameters of the battery cell to be tested; wherein the preset battery cell is a battery cell having a first preset matching relationship with the electronic device using the above-mentioned battery;
[0188] The judging module 130 is electrically connected to the determining module 120 , and is used to judge whether the battery cell to be tested and the electronic device have a first preset matching relationship according to the above similarity, and obtain a judgment result.
[0189] In the disclosed embodiment, the electrical parameters of the battery cell to be tested are determined by the detection module, and based on the electrical parameters of the battery cell to be tested, the similarity between the battery cell to be tested and a preset battery cell is determined, and then based on the similarity, it is judged whether the battery cell to be tested and the electronic device have a first preset matching relationship, and a judgment result is obtained, which can realize the identification of the battery cell to be tested in the battery, and the judgment result can be used as a basis for charging and discharging control of the battery cell to be tested, so as to improve the safety of electronic equipment equipped with the battery cell to be tested, reduce the aging rate of the battery, and extend the service life of the battery, so as to ensure a better user experience.
[0190] Exemplarily, the determination module 120 is specifically used to determine the chemical parameter characteristic value of the battery cell to be tested according to the electrical parameters of the battery cell to be tested, and determine the similarity between the chemical parameter characteristic value of the battery cell to be tested and the chemical parameter characteristic value of the preset battery cell.
[0191] Exemplarily, the judgment module 130 is specifically configured to obtain a first judgment result indicating that the battery cell to be tested and the electronic device have a first preset matching relationship when the similarity is greater than or equal to a preset threshold;
[0192] The judgment module 130 is further configured to obtain a second judgment result indicating that the battery cell to be tested and the electronic device do not have a first preset matching relationship when the similarity is less than a preset threshold.
[0193] In some embodiments, the determination module 130 is further used to obtain the number of cycles of the battery and adjust the value of the preset threshold according to the number of cycles.
[0194] In the disclosed embodiment, the number of cycles of the battery is obtained through the judgment module, and the value of the preset threshold is adjusted according to the number of cycles, which is beneficial to improving the accuracy of battery identification.
[0195] In some embodiments, the battery identification device 100 further includes:
[0196] The first acquisition module is used to obtain the count value of the one-time burning counting unit in the battery protection component to be tested of the battery; wherein the count value is used to indicate the number of cycles of the battery.
[0197] In the disclosed embodiment, a first acquisition module is provided to acquire the count value of the one-time burn-in counting unit, and the count value is used to indicate the number of cycles of the battery. This can reduce the reuse of the battery protection component, and is beneficial to ensuring that the acquired count value can accurately indicate the number of cycles of the battery, thereby improving the accuracy of battery identification.
[0198] In some embodiments, the battery identification device 100 further includes:
[0199] A second acquisition module is used to read a first sequence from a battery protection component to be tested of the battery;
[0200] The matching module is electrically connected to the second acquisition module and is used to determine that the battery protection component to be tested and the electronic device do not have a second preset matching relationship when the second acquisition module fails to read the first sequence.
[0201] The disclosed embodiment sets a second acquisition module to read the first sequence, and sets a matching module. When the second acquisition module fails to read the first sequence, it can directly determine that the battery protection component to be tested and the electronic device do not have the second preset matching relationship. The method is simple and the recognition efficiency is high.
[0202] In some embodiments, the second acquisition module is further used to acquire the second sequence when the first sequence is read; wherein, when the battery protection component to be tested is a battery protection component having a second preset matching relationship with the electronic device, the way in which the battery protection component to be tested generates the first sequence is the same as the way in which the processing component of the electronic device generates the second sequence;
[0203] The matching module is also used to determine whether the battery protection component to be tested and the electronic device have a second preset matching relationship based on the first sequence and the second sequence, and obtain a matching result.
[0204] Exemplarily, the processing component of the electronic device may generate the second sequence based on the number of cycles of a preset battery cell and the identity of a preset battery protection component.
[0205] The disclosed embodiment uses a second acquisition module to acquire a second sequence when reading a first sequence, and uses a matching module to determine whether the battery protection component to be tested and the electronic device have a second preset matching relationship based on the second sequence to obtain a matching result, which can improve the accuracy of battery identification and thereby improve user experience and battery safety.
[0206] In some embodiments, the matching module is specifically used to obtain a first matching result indicating that the battery protection component to be tested has a second preset matching relationship with the electronic device when the first sequence and the second sequence are the same;
[0207] The matching module is further specifically used to obtain a second matching result indicating that the battery protection component to be tested and the electronic device do not have a second preset matching relationship when the first sequence and the second sequence are different.
[0208] In the disclosed embodiment, the matching module determines whether the battery protection component to be tested and the electronic device have a second preset matching relationship by comparing the first sequence and the second sequence. The method is simple.
[0209] In some embodiments, reference Figure 5 As shown, the battery identification device 100 also includes:
[0210] The control module 140 is electrically connected to the judgment module 130 and the matching module. The control module is used to transmit the battery power in a mode that meets the battery power transmission safety condition according to the judgment result and / or the matching result.
[0211] Reference Figure 5 As shown, the detection module 100 can be electrically connected to the battery protection component to be tested of the battery, and detect the voltage and current of the battery cell to be tested through the battery protection component to be tested. The control module 140 is electrically connected to the battery cell to be tested through the node P+ and the node P-.
[0212] It is understandable that the current of the battery cell to be tested can be determined by detecting the voltage value of the resistor R1, and the resistance value of the resistor R1 is known.
[0213] Exemplarily, the control module 140 is specifically used for at least one of the following:
[0214] When the judgment result indicates that the battery cell to be tested has a first preset matching relationship with the electronic device, and the matching result indicates that the battery protection component to be tested has a second preset matching relationship with the electronic device, the battery power is transmitted in the first mode;
[0215] When the judgment result indicates that the battery cell to be tested and the electronic device do not have a first preset matching relationship, the battery power is transmitted in a second mode;
[0216] When the matching result indicates that the battery protection component to be tested and the electronic device do not have the second preset matching relationship, the battery power transmission is performed in the second mode;
[0217] The transmission current of the second mode is smaller than the transmission current of the first mode.
[0218] In the embodiment of the present disclosure, by setting up a control module 140, the control module 140 can transmit the battery power in a mode that meets the above-mentioned battery power transmission safety conditions based on the judgment results and / or matching results, which is beneficial to reducing the risk of safety accidents during the power transmission process and improving the safety of the power transmission process.
[0219] In some embodiments, the battery identification device 100 further includes:
[0220] The output module is electrically connected to the judgment module 130 and the matching module. The output module is used for:
[0221] When the judgment result indicates that the battery cell to be tested and the electronic device do not have a first preset matching relationship, outputting a first state reminder indicating that the battery cell to be tested has an abnormality;
[0222] and / or,
[0223] When the matching result indicates that the battery protection component to be tested and the electronic device do not have a second preset matching relationship, a second state reminder indicating that an abnormality exists in the battery protection component to be tested is output.
[0224] In the disclosed embodiment, an output module is set to output a first status reminder indicating that the battery cell to be tested has an abnormality when the judgment result indicates that the battery cell to be tested and the electronic device do not have a first preset matching relationship; and / or, when the matching result indicates that the battery protection component to be tested and the electronic device do not have a second preset matching relationship, a second status reminder indicating that the protection component to be tested has an abnormality is output. This can promptly remind the user when it is identified that the battery cell to be tested has an abnormality and / or the protection component to be tested has an abnormality, so that the user can promptly learn the cause of the battery abnormality, which is beneficial to improving the user experience.
[0225] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0226] Figure 6 is a block diagram of a battery 200 according to an exemplary embodiment. Figure 6 As shown, the battery 200 includes:
[0227] The battery cell 210 is used to store electrical energy;
[0228] A battery protection component 220, used to protect the battery cell 210;
[0229] The battery protection component 220 includes a one-time burning counting unit 221 for forming a counting value indicating the number of cycles of the battery 200 .
[0230] The one-time burning counting unit 221 represents a counting unit that can burn an initial value once. After the initial value is burned, the count value of the one-time burning counting unit will change after each cycle of charge and discharge of the battery 200, and will be different from the initial value. In addition, the count value of the one-time burning counting unit 221 cannot be restored to the initial value by manual modification or re-burning.
[0231] The one-time burning counting unit 221 may include: a down counter. When the one-time burning counting unit includes a down counter, the initial value burned in the down counter is used to represent the service life of the battery 200, and the count value of the down counter is used to represent the difference between the service life of the battery 200 and the number of cycles of the battery 200. Here, the service life of the battery 200 is the number of times the battery 200 can be cyclically charged and discharged.
[0232] For example, for a battery with a service life of 800, the initial value burned into the down counter may be 800. When the battery undergoes a charge and discharge cycle, the count value of the down counter decreases by 1. When the count value of the down counter is 700, the number of cycles of the above battery is 100. When the count value of the down counter decreases to 0, it indicates that the service life of the battery has expired. It should be noted that the number of cycles of the battery 200 is the number of cycles of the battery cell 210.
[0233] In the embodiment of the present disclosure, by providing a one-time burn-in counting unit 221 in the battery protection component 220 and using the count value to indicate the number of cycles of the battery 200, the reuse of the battery protection component 220 can be reduced, which is beneficial to ensure that the count value in the one-time burn-in counting unit 221 can accurately indicate the number of cycles of the battery 200, reduce the possibility of the battery protection component 220 being reused, and thereby improve the reliability and safety of the battery 200.
[0234] In some embodiments, the battery protection assembly 220 further includes:
[0235] An encryption unit, electrically connected to the one-time burning counting unit 221, for obtaining the number of cycles of the battery 200 and the identity code of the battery protection component 220, and encrypting the number of cycles of the battery 200 and the identity code of the battery protection component 220 using a preset algorithm to generate a first sequence;
[0236] Among them, the first sequence is used to compare with the second sequence generated by the electronic device using battery 200 based on the preset number of battery cell cycles stored in the electronic device and the preset battery protection component identity, so as to determine whether the battery protection component 220 has a second preset matching relationship with the electronic device, and the preset battery protection component has a second preset matching relationship with the electronic device.
[0237] The encryption unit may include: a fuel gauge with a preset algorithm, or an integrated circuit capable of encryption.
[0238] The preset algorithm may include: an encryption algorithm, for example, a secure hash algorithm, etc.
[0239] In the disclosed embodiment, by providing an encryption unit in the battery protection component 220 , the electronic device can identify the battery 200 through the encryption unit, which is beneficial to improving the safety of the battery 200 during use.
[0240] Figure 7 8 is a block diagram of an apparatus 800 for identifying a battery according to an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0241] Reference Figure 7 , the device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0242] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may also include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0243] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0244] The power component 806 provides power to the various components of the device 800. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 800.
[0245] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and / or the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0246] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0247] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
[0248] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0249] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology or other technologies.
[0250] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-mentioned battery identification method.
[0251] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0252] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to execute the steps in the battery identification method provided in an embodiment of the present disclosure.
Claims
1. A battery identification method, It is characterized in that Applied to electronic equipment, the battery includes a battery cell to be tested and a battery protection component to be tested, and the method includes: Detecting electrical parameters of the battery cell to be tested; the electrical parameters include characteristic values of chemical parameters; the characteristic values of chemical parameters include: rated capacity and / or available capacity after full charge; Determining the similarity between the battery cell to be tested and a preset battery cell according to the electrical parameter; wherein the preset battery cell is a battery cell having a first preset matching relationship with the electronic device; According to the similarity, a judgment result is obtained; the judgment result is used to indicate whether the battery cell to be tested and the electronic device have a first preset matching relationship; if the battery cell to be tested and the electronic device do not have the first preset matching relationship, it means that the battery cell to be tested is abnormal; If the first sequence is read, the number of cycles of the preset battery cell and the identity of the preset battery protection component stored in the one-time burning counting unit are encrypted to generate a second sequence; wherein, when the battery protection component to be tested is a battery protection component having a second preset matching relationship with the electronic device, the way in which the battery protection component to be tested encrypts and generates the first sequence based on the number of cycles of the battery cell to be tested and the identity of the battery protection component to be tested is the same as the way in which the electronic device encrypts the number of cycles of the preset battery cell and the identity of the preset battery protection component to generate the second sequence; the number of cycles of the preset battery cell in the one-time burning counting unit cannot be manually modified or burned again, and is used to identify counterfeit batteries; When the first sequence and the second sequence are the same, obtaining a first matching result indicating that the battery protection component to be tested and the electronic device have the second preset matching relationship; When the first sequence and the second sequence are different, a second matching result is obtained indicating that the battery protection component to be tested and the electronic device do not have the second preset matching relationship; the fact that the battery protection component to be tested and the electronic device do not have the second preset matching relationship represents that the battery protection component to be tested is abnormal.
2. The method according to claim 1, It is characterized in that Determining the similarity between the battery cell to be tested and a preset battery cell according to the electrical parameter includes: Determining the chemical parameter characteristic value of the battery cell to be tested according to the electrical parameter; Determine the similarity between the chemical parameter characteristic value of the battery cell to be tested and the chemical parameter characteristic value of the preset battery cell.
3. The method according to claim 1, It is characterized in that The step of determining, based on the similarity, whether the battery cell to be tested and the electronic device have the first preset matching relationship to obtain a determination result includes: When the similarity is greater than or equal to a preset threshold, obtaining a first judgment result indicating that the battery cell to be tested has the first preset matching relationship with the electronic device; When the similarity is less than the preset threshold, a second judgment result is obtained indicating that the battery cell to be tested and the electronic device do not have the first preset matching relationship.
4. The method according to claim 3, It is characterized in that The method further comprises: Obtaining the number of cycles of the battery; According to the number of cycles, the value of the preset threshold is adjusted.
5. The method according to claim 4, It is characterized in that The battery further includes a battery protection component to be tested, and the battery protection component to be tested includes a one-time burning counting unit. The method further includes: Obtaining a count value of the one-time burning counting unit; wherein the count value is used to indicate the number of cycles of the battery.
6. The method according to claim 1, It is characterized in that The battery also includes a battery protection component to be tested, and the method further includes: Reading a first sequence from the battery protection component to be tested; If the reading of the first sequence fails, it is determined that the battery protection component to be tested and the electronic device do not have the second preset matching relationship.
7. The method according to claim 1, It is characterized in that The method further comprises: According to the judgment result and / or the matching result, the battery power transmission is performed in a mode that satisfies the battery power transmission safety condition.
8. The method according to claim 7, It is characterized in that The adopting a mode that satisfies the battery power transmission safety condition to perform the battery power transmission according to the judgment result and / or the matching result includes at least one of the following: When the judgment result indicates that the battery cell to be tested has the first preset matching relationship with the electronic device, and the matching result indicates that the battery protection component to be tested has the second preset matching relationship with the electronic device, the battery power transmission is performed in the first mode; When the judgment result indicates that the battery cell to be tested and the electronic device do not have the first preset matching relationship, transmitting the battery power in a second mode; When the matching result indicates that the battery protection component to be tested and the electronic device do not have the second preset matching relationship, transmitting the battery power in the second mode; The transmission current of the second mode is smaller than the transmission current of the first mode.
9. The method according to claim 1, It is characterized in that The method further comprises: When the judgment result indicates that the battery cell to be tested does not have the first preset matching relationship with the electronic device, outputting a first status reminder indicating that the battery cell to be tested is abnormal; and / or, When the matching result indicates that the battery protection component to be tested does not have the second preset matching relationship with the electronic device, a second status reminder indicating that the battery protection component to be tested is abnormal is output.
10. A battery identification device, It is characterized in that include: A detection module, used for detecting the electrical parameters of the battery cell to be tested; The electrical parameters include characteristic values of chemical parameters; The chemical parameter characteristic values include: rated capacity and / or available capacity after full charge; A determination module is electrically connected to the detection module, and the determination module is used to determine the similarity between the battery cell to be tested and a preset battery cell according to the electrical parameters; wherein the preset battery cell is a battery cell having a first preset matching relationship with an electronic device using the battery; A judgment module is electrically connected to the determination module, and the judgment module is used to obtain a judgment result according to the similarity; the judgment result is used to indicate whether the battery cell to be tested and the electronic device have a first preset matching relationship; if the battery cell to be tested and the electronic device do not have the first preset matching relationship, it means that the battery cell to be tested is abnormal; The second acquisition module is further used to encrypt the number of cycles of the preset battery cell and the identity of the preset battery protection component stored in the one-time burning counting unit to generate a second sequence when the first sequence is read; wherein, when the battery protection component to be tested is a battery protection component having a second preset matching relationship with the electronic device, the method in which the battery protection component to be tested encrypts and generates the first sequence based on the number of cycles of the battery cell to be tested and the identity of the battery protection component to be tested is the same as the method in which the electronic device encrypts the number of cycles of the preset battery cell and the identity of the preset battery protection component to generate the second sequence; the number of cycles of the preset battery cell in the one-time burning counting unit cannot be manually modified or burned again, and is used to identify counterfeit batteries; The matching module is used to obtain a first matching result indicating that the battery protection component to be tested and the electronic device have the second preset matching relationship when the first sequence and the second sequence are the same; the matching module is also used to obtain a second matching result indicating that the battery protection component to be tested and the electronic device do not have the second preset matching relationship when the first sequence and the second sequence are different; the fact that the battery protection component to be tested and the electronic device do not have the second preset matching relationship represents that there is an abnormality in the battery protection component to be tested.
11. The device according to claim 10, It is characterized in that The determination module is specifically used to determine the chemical parameter characteristic value of the battery cell to be tested according to the electrical parameter, and to determine the similarity between the chemical parameter characteristic value of the battery cell to be tested and the chemical parameter characteristic value of the preset battery cell.
12. The device according to claim 10, It is characterized in that The judgment module is specifically configured to obtain a first judgment result indicating that the battery cell to be tested and the electronic device have the first preset matching relationship when the similarity is greater than or equal to a preset threshold; The judgment module is further configured to obtain, when the similarity is less than the preset threshold, a second judgment result indicating that the battery cell to be tested and the electronic device do not have the first preset matching relationship.
13. The device according to claim 12, It is characterized in that The judgment module is further used to obtain the number of cycles of the battery and adjust the value of the preset threshold according to the number of cycles.
14. The device according to claim 13, It is characterized in that The device also includes: The first acquisition module is used to obtain the count value of the one-time burning counting unit in the battery protection component to be tested of the battery; wherein the count value is used to indicate the number of cycles of the battery.
15. The device according to claim 10, It is characterized in that The device also includes: A second acquisition module is used to read a first sequence from a battery protection component to be tested of the battery; The matching module is electrically connected to the second acquisition module, and is used to determine that the battery protection component to be tested and the electronic device do not have the second preset matching relationship when the second acquisition module fails to read the first sequence.
16. The device according to claim 10, It is characterized in that The device also includes: The control module is electrically connected to the judgment module and the matching module, and is used for transmitting the battery power in a mode that satisfies the battery power transmission safety condition according to the judgment result and / or the matching result.
17. The device according to claim 16, It is characterized in that The control module is specifically used for at least one of the following: When the judgment result indicates that the battery cell to be tested has the first preset matching relationship with the electronic device, and the matching result indicates that the battery protection component to be tested has the second preset matching relationship with the electronic device, the battery power transmission is performed in the first mode; When the judgment result indicates that the battery cell to be tested and the electronic device do not have the first preset matching relationship, transmitting the battery power in a second mode; When the matching result indicates that the battery protection component to be tested and the electronic device do not have the second preset matching relationship, transmitting the battery power in the second mode; The transmission current of the second mode is smaller than the transmission current of the first mode.
18. The device according to claim 10, It is characterized in that The device also includes: An output module is electrically connected to the judgment module and the matching module, and the output module is used for: When the judgment result indicates that the battery cell to be tested does not have the first preset matching relationship with the electronic device, outputting a first status reminder indicating that the battery cell to be tested is abnormal; and / or, When the matching result indicates that the battery protection component to be tested does not have the second preset matching relationship with the electronic device, a second status reminder indicating that the battery protection component to be tested is abnormal is output.
19. A battery identification device, It is characterized in that include: processor; memory for storing processor executable instructions; Wherein, the processor is configured to: implement the steps in the method according to any one of claims 1 to 9 when executing the executable instructions.
20. A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the steps in the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Flexible printed paper battery anti-counterfeiting label
CN101908298A
Electronic lock control and management system and method based on identity recognition technology and mobile communication technology
CN102324152A
Battery detecting method, battery and electronic device
CN103033751A
Predetermined battery identification method, predetermined battery identification device and electronic equipment
CN103605077A
Identifying method and system for original charging cable
CN104330638A
