CN116365079B - Electronic device, method for determining whether battery is old or new, and computer-readable storage medium - Google Patents

Electronic device, method for determining whether battery is old or new, and computer-readable storage medium Download PDF

Info

Publication number
CN116365079B
CN116365079B CN202310583440.3A CN202310583440A CN116365079B CN 116365079 B CN116365079 B CN 116365079B CN 202310583440 A CN202310583440 A CN 202310583440A CN 116365079 B CN116365079 B CN 116365079B
Authority
CN
China
Prior art keywords
module
fusing
battery
fuse
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310583440.3A
Other languages
Chinese (zh)
Other versions
CN116365079A (en
Inventor
邓旭同
王丰
秦永辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202310583440.3A priority Critical patent/CN116365079B/en
Publication of CN116365079A publication Critical patent/CN116365079A/en
Application granted granted Critical
Publication of CN116365079B publication Critical patent/CN116365079B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/48Accumulators combined with arrangements for measuring, testing or indicating the condition of cells, e.g. the level or density of the electrolyte
    • H01M10/488Cells or batteries combined with indicating means for external visualization of the condition, e.g. by change of colour or of light density
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/385Arrangements for measuring battery or accumulator variables
    • G01R31/387Determining ampere-hour charge capacity or SoC
    • G01R31/388Determining ampere-hour charge capacity or SoC involving voltage measurements
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/389Measuring internal impedance, internal conductance or related variables
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/392Determining battery ageing or deterioration, e.g. state of health
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M2220/00Batteries for particular applications
    • H01M2220/30Batteries in portable systems, e.g. mobile phone, laptop
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application discloses an electronic device, a method for determining whether a battery is old or new and a computer readable storage medium, and belongs to the technical field of batteries. The electronic device includes a fusing module and a determining module. The fusing module comprises a first end and a second end. The first end of the fusing module is coupled with the positive electrode of the battery core of the battery; the fusing module is in an unblown state under the condition that the battery is a new battery, and is in a fused state under the condition that the battery is an old battery. The determining module is coupled with the second end of the fusing module; the determining module is used for determining whether the battery is a new battery or an old battery according to the state of the fusing module. The electronic equipment can identify whether to replace a new battery after maintenance, so that a proper charging strategy is determined to charge and discharge, and the charging performance of the electronic equipment is ensured.

Description

Electronic device, method for determining whether battery is old or new, and computer-readable storage medium
Technical Field
The application belongs to the technical field of batteries, and particularly relates to an electronic device, a method for determining whether a battery is old or new and a computer readable storage medium.
Background
In view of the safety of the battery, electronic devices such as mobile phones and the like have different charging strategies for batteries with different aging degrees. However, when electronic devices such as mobile phones involve maintenance of a motherboard, a situation that whether to replace a new battery is often faced. The battery protection plate of the high-cost battery is generally provided with a tamper-proof integrated circuit (integrated circuit, IC) for identifying whether to replace a new battery, but the battery protection plate of the low-cost battery is generally not provided with a tamper-proof IC, and thus cannot identify whether to replace a new battery.
Since it is not possible to identify whether to replace a new battery, a proper charging strategy cannot be determined. It should be understood that when the electronic device uses an inappropriate charging strategy to perform charging and discharging, the charging performance of the electronic device is reduced, such as low safety, slow charging, and underfilling of the electric quantity, which results in poor user experience or poor reliability of the electronic device.
Therefore, it is necessary to provide a set of possible schemes for such cases where it is impossible to recognize whether to replace a new battery.
Disclosure of Invention
The application provides an electronic device, a method for determining whether a battery is new or old and a computer readable storage medium, which are used for identifying whether the battery is replaced by the electronic device or not, so as to determine a proper charging strategy for charging and discharging so as to ensure the charging performance of the electronic device.
In a first aspect, an embodiment of the present application provides an electronic device. The electronic device includes a fusing module and a determining module. The fusing module comprises a first end and a second end. The first end of the fusing module is coupled with the positive electrode of the battery core of the battery; the fusing module is in an unblown state under the condition that the battery is a new battery, and is in a fused state under the condition that the battery is an old battery. The determining module is coupled with the second end of the fusing module; the determining module is used for obtaining the state of the fusing module and determining whether the battery is a new battery or an old battery according to the state of the fusing module.
It should be appreciated that since the state of the fuse module is different between the new battery and the old battery, the state of the fuse module may be used to determine whether the battery is a new battery or an old battery. In this embodiment, the determining module is coupled to the second end of the fusing module, and the determining module is configured to identify the new battery and the old battery according to the state of the fusing module. It should be appreciated that the electronic device may identify whether to replace a new battery for maintenance, and may naturally determine an appropriate charging policy, thereby ensuring charging performance of the electronic device, and further ensuring good user experience and reliability of the electronic device.
In some embodiments, the electronic device further comprises a fuse drive module. The fusing driving module is coupled with the second end of the fusing module and the determining module respectively. The fusing driving module is respectively coupled with the second end of the fusing module and the determining module; the determining module is also used for controlling and outputting a first fusing control signal; the first fusing control signal is used for controlling the fusing driving module to be conducted so as to drive the fusing module to fuse; the fusing driving module is used for receiving the first fusing control signal and conducting according to the first fusing control signal. The determining module can control and output a first fusing control signal to control the fusing driving module to drive the fusing module to fuse by setting the fusing driving module and being coupled with the determining module. That is, the state of the fusing driving module can be different between the new battery and the old battery by arranging the fusing driving module, so that feasibility is provided for identifying whether the battery is replaced after the electronic equipment is maintained.
Optionally, the fuse driving module includes a first switching unit. The first switch unit is coupled with the second end of the fusing module and the determining module. The first switch unit is used for being conducted under the condition that a first fusing control signal is received so as to drive the fusing module to fuse. In this embodiment, the first switch unit is turned on when receiving the first fusing control signal, so as to form a current path from the positive electrode of the battery cell to the ground through the fusing module and the first switch unit, and the current is fused when flowing through the fusing module.
Further, the fusing driving module further comprises a current limiting unit; the current limiting unit is connected in series with the first switching unit. In this embodiment, by setting the current limiting unit, the current limiting unit is used to limit the magnitude of the fusing current, so that the problem of too high temperature of the electronic device caused by too high fusing current can be avoided.
In some possible implementations, the determining module is configured to determine that the fusing module is in an unfused state when the voltage of the second end of the fusing module is greater than a first preset voltage threshold; and determining that the fusing module is in a fusing state under the condition that the voltage of the second end of the fusing module is smaller than or equal to a first preset voltage threshold value. It should be appreciated that, due to the fuse module being coupled to the positive electrode of the cell, the voltage at the second terminal is not the same when the fuse module is in the fused state and the unfused state. When the fusing module is in a fusing state, the voltage of the second end of the fusing module is zero, and the voltage of the second end of the fusing module is detected at the moment and cannot be detected; when the fusing module is in an unfused state, the voltage of the second end of the fusing module is larger than zero, and the voltage can be detected by detecting the voltage of the second end of the fusing module. It can be seen that a voltage at the second end of the fuse module greater than zero can be used to characterize the fuse module as being in an unfused state. A voltage at the second end of the fuse module that is less than or equal to zero may be used to characterize the fuse module as being in a blown state. The state of the fuse module can be identified by acquiring the voltage at the second end of the fuse module and distinguishing the voltage. It should be noted that, due to the problem of device accuracy, there is an error in collecting the voltage of the second terminal of the fuse module. For example, in the case where the fuse module is in a fused state, the voltage at the second end of the fuse module is theoretically zero, but may eventually be a value greater than zero due to a problem of device accuracy. Therefore, zero is used as a demarcation point for distinguishing the voltage of the second end of the fusing module, so that the state identification of the fusing module is realized, and the false identification is easy to cause. Based on this, the first preset threshold is adopted as the demarcation point of the voltage of the second end of the fusing module, so that the voltage of the second end of the fusing module is distinguished, and the state of the fusing module can be more accurately identified.
In other possible implementations, the electronic device further includes a voltage divider module. The determining module is coupled with the voltage dividing module, and the voltage dividing module is coupled with the second end of the fusing module. The voltage division module is used for dividing the voltage of the second end of the fusing module. The determining module is used for determining that the fusing module is in an unfused state under the condition that the divided voltage is larger than a second preset voltage threshold value; and under the condition that the divided voltage is smaller than a second preset voltage threshold value, determining that the fusing module is in a fusing state.
It should be noted that the electronic device is an ADC for acquiring voltage. The detection range of the ADC is generally within 1.8V, and the voltage of the positive electrode of the battery cell is generally above 3V, so that the voltage of the second end of the fusing module easily exceeds the detection range of the ADC, and cannot be accurately collected. Therefore, the voltage division module is arranged to divide the voltage of the second end of the fusing module and then collect the voltage, so that the voltage capable of representing the state of the fusing module can be obtained more accurately and without distortion, and the state of the fusing module can be determined more accurately.
In some embodiments, the determining module is specifically configured to: under the condition that the fusing module is in a fusing state, determining that the battery is an old battery; and under the condition that the fusing module is in an un-fused state, determining that the battery is a new battery. It should be understood that the battery may be both a new battery and an old battery, with no other situation. From the foregoing, it can be seen that the fusing module is in an unblown state when the battery is a new battery, and is in a fused state when the battery is an old battery. On the premise that the battery does not have other conditions, the fusing module is in an unfused state, and the battery can be characterized as a new battery; the fusing module is in a fusing state and can represent that the battery is an old battery. Based on this, in this embodiment, in the case where the fusing module is in an unfused state, it may be determined that the battery is a new battery; in the case where the fusing module is in a fused state, it may be determined that the battery is an old battery.
Optionally, in the case that the fusing module is in an unfused state, the determining module is further configured to control the fusing module to fuse. The fusing module is in a fusing state after being driven to fuse, and the determining module is further used for determining that the battery is a new battery; the fusing module is in an un-fused state after being driven to fuse, and the determining module is further used for determining that the battery is a non-genuine battery.
It should be understood that the battery may be a non-genuine battery in addition to being a new battery and an old battery. Under the condition that the battery is a non-genuine battery, the fusing driving module cannot fuse the fusing module. Therefore, the fuse module is also in an unblown state when the battery is a non-genuine battery. Therefore, if the battery is determined to be a new battery only by the fusing module being in an unfused state, there is a false recognition. Based on this, in this embodiment, if the fusing module is in the fusing state after being driven to fuse, the battery is determined to be a new battery. If the fusing module is in an unfused state after being driven to fuse, the fusing driving module is indicated that the fusing driving module cannot fuse the fusing module, and then the fusing driving module can be determined to be a non-genuine battery.
The electronic device further includes a battery and a main board, and the battery further includes a battery cell and a battery protection board. The fusing module is arranged on the battery protection board, and the fusing driving module is arranged on the main board. In this way, the connection between the fuse module and the fuse driving module described above can be achieved using the existing connection pins between the battery protection plate and the main board without separately introducing an additional connection structure.
In some embodiments, the second end of the fuse module is coupled to the fuse driving module through at least one pin of the battery protection plate. It should be noted that, the current capacity of one pin is limited, and the required fusing current of the fusing module may be larger or even exceed the current capacity of the pin, so this embodiment may be coupled with the fusing driving module through a plurality of pins, so that the current capacity may be improved while the pins are not burned out, so as to provide the fusing current to ensure that the fusing module can fuse.
Specifically, at least one pin is a pin other than the first pin and the second pin of the battery protection board. The first pin is used as a pin for charging and/or discharging the battery cell; the second pin is used as a pin for acquiring temperature information of the battery cell. It should be noted that, the first pin and the second pin are pins that are required to be occupied by the electronic device continuously, and because the original functions of the pins need to be operated continuously, if the pins are multiplexed with the first pin or the second pin, a functional conflict may occur.
Illustratively, the at least one pin includes an ID pin for obtaining type information of the battery; and/or, the at least one pin further comprises a battery cell pin, and the battery cell pin is used for acquiring voltage information of the battery cell. The cell pin and the ID pin belong to pins which are not required to be occupied continuously by the electronic device, and can be in an idle state (the cell voltage sampling function and the cell type detection function can be temporarily interrupted), so that the pins multiplex the pins, and the functional conflict can be avoided by utilizing the characteristic that the pins can be in the idle state.
In some embodiments, the battery protection plate further includes an ID detection driver module coupled to the ID pin and the determination module. The determining module is specifically used for controlling the fusing driving module to be turned off and controlling to output a first ID detection control signal when the fusing module is in a fusing state, wherein the first ID detection control signal is used for controlling the ID detection driving module to be turned on so as to drive the ID pin to output ID voltage; under the condition that the fusing module is in an unblown state, controlling the fusing driving module to be conducted and outputting a second ID detection control signal, wherein the second ID detection control signal is used for controlling the ID detection driving module to be turned off so as not to drive the ID pins to output ID voltage; wherein the ID voltage is used to characterize the type information of the battery; the ID detection driving module is used for driving the ID pin to output the ID voltage according to the first ID detection control signal and not driving the ID pin to output the ID voltage according to the second ID detection control signal.
The ID detection driving module is turned on under the condition that the fusing module is in a fusing state so as to drive the ID pins to output ID voltage, and turned off under the condition that the fusing module is in an unblown state so as not to drive the ID pins to output ID voltage; the fusing driving module is conducted under the condition that the fusing module is in an unfused state so as to drive the fusing unit to fuse, and is turned off under the condition that the fusing module is in a fused state so as not to drive the fusing unit to fuse, so that the fusing driving module and the fusing driving module cannot interfere with each other, and the mutual interference of a fusing function and a cell type detection function can be avoided.
In some embodiments, the determining module is further configured to control outputting the second fusing control signal and the first ID detection control signal if the fusing module is in the fusing state after being driven to fuse. In this embodiment, the fusing function is not required but only the cell type detection function after the fusing module is driven to fuse, and therefore, in order to avoid the fusing function affecting the cell type detection function, the ID pin is driven to output the ID voltage, and the fusing unit is not driven to fuse.
Optionally, the ID detection driving module includes a second switching unit. The second switch unit is used for being conducted under the condition that the first ID detection control signal is received; the second switching unit is configured to be turned off upon receiving a second ID detection control signal. In this embodiment, the second switching unit is turned on upon receiving the first ID detection control signal, so that the current flows through the second switching unit and the ID pin to ground, thereby causing the ID pin to output an ID voltage; the second switch unit is turned off under the condition that the second ID detection control signal is received, the ID pin cannot output ID voltage, and therefore detection of the type of the battery cell cannot be achieved.
Optionally, the determining module is disposed on the motherboard. The at least one pin is also used to determine a coupling between the second end of the fuse module and the module. In this way, the pins for connecting the fuse driving module and the fuse module described above can be multiplexed without separately introducing an additional connection structure.
In a second aspect, an embodiment of the present application provides a method for determining whether a battery is old or new, which is applied to the electronic device in any one of the embodiments of the first aspect. The method for determining whether the battery is old or new comprises the following steps: detecting the state of the fusing module; and determining whether the battery is a new battery or an old battery according to the state of the fusing module.
In some embodiments, detecting the state of the fuse module includes: acquiring the voltage of the second end of the fusing module; under the condition that the voltage of the second end of the fusing module is larger than a first preset voltage threshold value, determining that the fusing module is in an unfused state; and determining that the fusing module is in a fusing state under the condition that the voltage of the second end of the fusing module is smaller than or equal to a first preset voltage threshold value.
In other embodiments, detecting the state of the fuse module includes: obtaining a divided voltage output by a voltage dividing module of the electronic equipment; under the condition that the voltage division voltage output by the voltage division module is larger than a second preset voltage threshold value, determining that the fusing module is in an unfused state; and under the condition that the divided voltage output by the voltage dividing module is smaller than or equal to a second preset voltage threshold value, determining that the fusing module is in a fusing state.
Specifically, determining whether the battery is a new battery or an old battery according to the state of the fusing module includes: under the condition that the fusing module is in a fusing state, determining that the battery is an old battery; and under the condition that the fusing module is in an un-fused state, determining that the battery is a new battery.
Optionally, in the case that the fusing module is in an unfused state, before determining that the battery is a new battery, the method further includes: the method comprises the steps of controlling and outputting a first fusing control signal, wherein the first fusing control signal is used for controlling a fusing driving module of the electronic equipment to drive a fusing module to fuse; determining that the battery is a new battery includes: if the fusing module is in a fusing state after being controlled to fuse, the battery is determined to be a new battery.
Optionally, after controlling to output the first fuse control signal, the method further comprises: if the fusing module is in an un-fused state after being controlled to fuse, the battery is determined to be a non-genuine battery.
In some embodiments, after detecting the state of the fuse module, the method further comprises: under the condition that the fusing module is in an unfused state, controlling and outputting a first fusing control signal and a second ID detection control signal; the first fusing control signal is used for controlling the fusing driving module of the electronic equipment to be conducted so as to drive the fusing module to fuse; the second ID detection control signal is used for controlling the ID detection driving module of the electronic device to be turned off so as not to drive the ID pin of the electronic device to output ID voltage, and the ID voltage is used for representing the type information of the battery. Under the condition that the fusing module is in a fusing state, controlling and outputting a second fusing control signal and a first ID detection control signal; the second fusing control signal is used for controlling the fusing driving module to be turned off so as not to drive the fusing module to fuse; the first ID detection control signal is used for controlling the ID detection driving module to be conducted so as to drive the ID pin to output ID voltage.
Optionally, after controlling to output the first fuse control signal, the method further comprises: if the fusing module is in a fusing state after being driven to fuse, controlling and outputting a second fusing control signal and a first ID detection control signal.
In one possible implementation, after determining that the battery is a new battery or an old battery according to the state of the fusing module, the method further includes: the battery is a new battery, the aging parameters of the electronic equipment are initialized, and the electronic equipment is charged according to the initialized aging parameters; the battery is an old battery and is charged according to the aging parameters of the electronic equipment.
In one possible implementation, the battery is a non-genuine battery, controlling the electronic device to shut down.
In a third aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing a method according to any embodiment of the second aspect when executing the computer program.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium storing a computer program which, when executed by a processor, implements a method according to any of the embodiments of the second aspect.
It may be appreciated that the above-mentioned second aspect, third aspect and fourth aspect may be referred to as the beneficial effects of the electronic device in any one of the possible designs of the first aspect, and are not described herein.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 2 is a schematic diagram of a connection relationship of an electronic device according to an embodiment of the present application;
fig. 3 is a schematic diagram of a connection relationship of an electronic device according to an embodiment of the present application;
fig. 4 is a schematic diagram III of a connection relationship of an electronic device according to an embodiment of the present application;
fig. 5 is a schematic diagram of a connection relationship of an electronic device according to an embodiment of the present application;
FIG. 6 is a flowchart illustrating a method for determining whether a battery is old or new according to an embodiment of the present application;
fig. 7 is a flowchart second of a method for determining whether a battery is old or new according to an embodiment of the present application.
Detailed Description
In order to make the technical problems, technical schemes and beneficial effects to be solved more clear, the application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
It will be understood that when an element is referred to as being "disposed on" another element, it can be directly on the other element or be indirectly on the other element. The term "coupled" in accordance with embodiments of the present application may be directly or indirectly via an intermediate medium.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present application, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
It should be noted that, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
With the increase of the use time and the use times, the battery of the electronic equipment such as the mobile phone is gradually aged. For battery safety, electronic devices have different charging strategies for batteries with different degrees of aging. Specifically, the electronic device may record the number of full-charge cycles (denoted cycle) of the battery for determining the aging degree of the battery. For a new battery, cycle may be zero, representing zero degree of aging of the battery, i.e., completely new unaged. For old batteries, as the number of full charge cycles using the battery increases, cycle increases from zero, representing an increasing degree of battery aging. The electronic equipment adjusts battery parameters, such as charging current and charging cut-off voltage, according to the cycle so as to ensure the charging safety of the battery. For example, the larger the cycle, the higher the battery aging, and the lower the battery charge current and the charge cutoff voltage.
However, when electronic devices such as mobile phones involve maintenance of a motherboard, a situation that whether to replace a new battery is often faced. The battery protection plate of the high-cost battery is generally provided with a tamper-proof integrated circuit (integrated circuit, IC) for identifying whether to replace a new battery, but the battery protection plate of the low-cost battery is generally not provided with a tamper-proof IC, and thus cannot identify whether to replace a new battery. Since it is not possible to identify whether to replace a new battery, a proper charging strategy cannot be determined. It should be understood that when the electronic device uses an inappropriate charging strategy to perform charging and discharging, the charging performance of the electronic device is reduced, such as low safety, slow charging, and underfilling of the electric quantity, which results in poor user experience or poor reliability of the electronic device.
For example, taking an example of maintaining and replacing a new battery after the cycle of the battery is 500 (i.e., 500 cls), if 500cls is still used to reduce the voltage and the current, the electronic device has the problem that the battery capacity is not full or the charging is slow after the new battery is replaced, so that the user experience is reduced; taking the electronic equipment as an example, the electronic equipment is maintained after the battery reaches 500cls and the original old battery is still used, if the cycle is cleared, the old battery is charged according to the new battery, and the risk of swelling is easy.
In order to solve the problem that the electronic equipment cannot identify whether to replace a battery, the embodiment of the application provides the electronic equipment. The electronic device is provided with a fusing module coupled with the positive electrode of the battery core, and the fusing module is in an unfused state in the case of a new battery and in a fused state in the case of an old battery. It can be seen that the state of the fusing module is different when the battery is new or old, and can be used for representing the battery is new or old. Based on the method, the electronic equipment is used for distinguishing whether the battery is a new battery or an old battery by identifying the state of the fusing module, so that the purpose of identifying whether to replace the new battery is achieved, the charging performance of the electronic equipment is ensured, and the user experience or the reliability of the electronic equipment is improved.
The electronic device in the embodiments of the present application may be a mobile phone, a tablet computer, a desktop, a laptop, a handheld computer, a notebook, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook, a cellular phone, a personal digital assistant (personal digital assistant, PDA), an augmented reality (augmented reality, AR) \virtual reality (VR) device, or a device including a battery, and the embodiment of the present application is not limited in particular form.
The following describes in detail the implementation of the embodiment of the present application with reference to the drawings.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the application.
As shown in fig. 1, the electronic device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a power management module 140, a battery 141, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc.
It should be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the application, the electronic device may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors. For example, the processor 110 may be an application processor AP. Alternatively, the processor 110 may be integrated in a System On Chip (SOC). Alternatively, the processor 110 may be integrated in an IC chip. The processor 110 may include an Analog Front End (AFE) and a micro processing unit (microcontroller unit, MCU) in an IC chip.
The controller can be a neural center and a command center of the electronic device. The controller can generate an operation fusing control signal according to the instruction operation code and the time sequence signal to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a USB interface, among others.
It should be understood that the connection relationship between the modules illustrated in the embodiments of the present application is only illustrative, and does not limit the structure of the electronic device. In other embodiments of the present application, the electronic device may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The power management module 140 is configured to receive a charging input from a charger. The charger may be a wireless charger (such as a wireless charging base of an electronic device or other devices capable of wirelessly charging the electronic device), or may be a wired charger. For example, the power management module 140 may receive a charging input of a wired charger through the USB interface 130. The power management module 140 may receive wireless charging input through a wireless charging coil 142 of the electronic device.
The power management module 140 may also supply power to the electronic device while charging the battery 141. The power management module 140 receives input from the battery 141 and provides power to the processor 110, the internal memory 121, the external memory interface 120, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 140 may also be configured to monitor battery capacity, battery cycle number, battery state of health (leakage, impedance) and other parameters of the battery 141. In other embodiments, the power management module 140 may also be disposed in the processor 110.
The wireless communication function of the electronic device may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc. applied on an electronic device. The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc. for application on an electronic device. In some embodiments, the antenna 1 and the mobile communication module 150 of the electronic device are coupled, and the antenna 2 and the wireless communication module 160 are coupled, so that the electronic device can communicate with the network and other devices through wireless communication technology.
The electronic device implements display functions via a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. In some embodiments, the electronic device may include 1 or N display screens 194, N being a positive integer greater than 1.
The electronic device may implement shooting functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like. The ISP is used to process data fed back by the camera 193. In some embodiments, the ISP may be provided in the camera 193. The camera 193 is used to capture still images or video. In some embodiments, the electronic device may include 1 or N cameras 193, N being a positive integer greater than 1.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The processor 110 executes various functional applications of the electronic device and data processing by executing instructions stored in the internal memory 121. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The electronic device may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110. The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. The electronic device may be provided with at least one microphone 170C. The earphone interface 170D is used to connect a wired earphone. The headset interface 170D may be a USB interface 130 or a 3.5mm open mobile electronic device platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The electronic device may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device. The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc. The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195, or removed from the SIM card interface 195 to enable contact and separation with the electronic device. The electronic device may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support Nano SIM cards, micro SIM cards, and the like. In some embodiments, the electronic device employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device and cannot be separated from the electronic device.
The electronic device in the following embodiments may be implemented in an electronic device having the above-described hardware structure. Referring to fig. 2, fig. 2 is a schematic diagram illustrating a connection relationship of an electronic device according to an embodiment of the application. For convenience of explanation, only the portions related to the present embodiment are shown, and the detailed description is as follows:
The electronic device comprises a fusing module 20 and a determining module 30.
The fuse module 20 is a structure that can be fused by using a current, for example, the fuse module 20 may be a metal wire, a current fuse as shown in fig. 3, or the like. In the embodiment of the application, the fusing module 20 is arranged in the battery, and the fusing module 20 of the new battery is in an unfused state. That is, for a newly shipped electronic device or a new battery (if a genuine battery is used) is replaced after maintenance, the battery has the fuse module 20 in an unblown state.
First end of fusing module 20 and battery cell positive electrode V BAT+ Coupled to make use of the cell positive electrode V BAT+ The output current fuses it so that the new battery becomes the old battery. It can be seen that in the embodiment of the present application, the fusing module 20 is in an unblown state when the battery is a new battery, and may be in a fused state when the battery is an old battery, that is, the state of the fusing module 20 is different between the new battery and the old battery. As such, fuse module 20 resembles a battery "identification card" whose status can be used to identify the status of the battery as new or old. The subsequent embodiment will utilize the cell positive electrode V BAT+ The output current will describe details of implementation of fusing of the fuse module 20, and will not be described here.
The fusing state refers to a state in which the fusing module 20 is in an open circuit, and may physically appear as fusing; the unblown state refers to a state in which the fuse module 20 is not broken, and may be physically represented as unblown.
Wherein the determination module 30 is coupled to a second end of the fuse module 20. The determining module 30 is configured to obtain a state of the fusing module 20, and determine whether the battery is a new battery or an old battery according to the state of the fusing module 20.
Since the state of the fuse module 20 is different between the new battery and the old battery, the state of the fuse module 20 can be used to determine whether the battery is a new battery or an old battery. In the electronic device shown in fig. 2, the setting determining module 30 is coupled to the second end of the fusing module 20, and the determining module 30 obtains the state of the fusing module 20, so that the identification of the new battery and the old battery can be realized. The following embodiments will explain the relationship between the state of the fuse module 20 and the new and old battery in detail, and will not be described here.
It should be appreciated that the electronic device may identify whether to replace a new battery for maintenance, and may naturally determine an appropriate charging policy, thereby ensuring charging performance of the electronic device, and further ensuring good user experience and reliability of the electronic device.
Alternatively, the determination module 30 may be or be disposed in a processor, such as the processor 110 shown in FIG. 1. Still further, the determination module 30 may be a controller in the processor 110. Of course, in other embodiments, the determination module 30 may be other devices with identification capabilities other than a processor.
In some possible embodiments, the electronic device may further be provided with a fuse driving module, which is described below with reference to fig. 3, in order to make the state of the fuse module 20 different between the new battery and the old battery.
Referring to fig. 3, fig. 3 is a schematic diagram of a connection relationship of an electronic device according to an embodiment of the application.
Unlike fig. 2, the electronic device shown in fig. 3 further includes a fuse driving module 40.
Wherein the fuse driving module 40 is coupled to the second end of the fuse module 20 and the determining module 30.
The determining module 30 is further configured to control outputting a fusing control signal; the fusing control signal is a first fusing control signal or a second fusing control signal; the first fusing control signal is used for controlling the fusing driving module 40 to be turned on so as to drive the fusing module 20 to fuse, and the second fusing control signal is used for controlling the fusing driving module 40 to be turned off so as not to drive the fusing module 20 to fuse. For example, the first fuse control signal may be a high level signal and the second fuse control signal may be a low level signal.
The fuse driving module 40 is configured to receive a fuse control signal, conduct according to the first fuse control signal, to drive the fuse module 20 to fuse, and turn off according to the second fuse control signal, so as not to drive the fuse module 20 to fuse. Specifically, the fuse driving module 40 drives the battery cell positive electrode V BAT+ The output current fuses the fuse module 20.
It should be noted that, the determining module 30 may directly output the fuse control signal to the fuse driving module 40, or may directly output the fuse control signal to the fuse driving module 40, for example, by controlling other modules to output the fuse control signal to the fuse driving module 40, which is described in the following exemplary embodiments.
With continued reference to fig. 3, the fuse driving module 40 is directly connected to the determining module 30. Taking the determination module 30 as a controller as an example, the fusing driving module 40 is connected to a GPIO port of the controller, such as GPIO1. In this case, the fuse driving module 40 is directly controlled by the determining module 30 to drive the fuse module 20 to fuse. For example, the determining module 30 is configured to directly output a fuse control signal. The fusing driving module 40 is configured to receive the fusing control signal output by the determining module 30, and conduct according to the first fusing control signal to drive the positive electrode V of the battery cell BAT+ The output current fuses the fusing module 20; and is turned off according to the second fusing control signal so as not to drive the fusing module 20 to fuse.
In other embodiments, the fuse drive module 40 may also be indirectly connected to the determination module 30 through other modules of the electronic device. In this case, the determination module 30 may control the other module to indirectly control the fuse driving module 40 to drive the fuse module 20 to fuse. For example, the determining module 30 may output indication information for indicating the state of the fusing module 20, thereby informing the other module of the state of the fusing module 20 to cause the other module to output a fusing control signal. The indication information comprises first indication information and second indication information. The determining module 30 outputs first indication information for indicating that the fusing module 20 is in an un-fused state when the fusing module 20 is in the un-fused state; the second indication information is output when the fusing module 20 is in the fusing state, for indicating that the fusing module 20 is in the fusing state. Illustratively, the first indication information is bit 1, which represents a high level signal on the line, and the second indication information is bit 0, which represents a low level signal on the line. The other modules are configured to receive the indication information, and output a first fusing control signal to the fusing driving module 40 to control the fusing driving module 40 to be turned on to drive the fusing module 20 to fuse when receiving the first indication information; upon receiving the second indication information, a second fusing control signal is output to the fusing driving module 40 to control the fusing driving module 40 to be turned off so as not to drive the fusing module 20 to fuse.
In this embodiment, in the case where the battery is a new battery, the fusing module 20 is in an unfused state. By providing the fuse driving module 40, the fuse driving module 40 can be conducted under the control of the determining module 30 to drive the positive electrode V of the battery cell BAT+ The output current fuses the fuse module 20 such that the fuse module 20 is in a fused state. In this way, the new battery becomes the old battery. I.e., the fuse driving module 40 is arranged such that the state of the fuse module 20 is different between the new battery and the old battery, providing a possibility to identify whether the battery is replaced after the maintenance of the electronic device.
Specifically, the determining module 30 is configured to output a first fusing control signal to control the fuse driving module 40 to be turned on when the fusing module 20 is in an unfused state, so as to drive the fusing module 20 to fuse.
The following is an exemplary description of a specific implementation of the fuse drive module 40.
In some embodiments, please continue with fig. 3, the fuse driving module 40 may include a first switch unit M1. The first switching unit M1 is coupled to the second end of the fusing module 20 and the determining module 30. The first switch unit M1 is configured to be turned on when receiving the first fuse control signal, so as to fuse the fuse module 20. And is turned off upon receiving the second fusing control signal so as not to drive the fusing module 20 to fuse. It will be appreciated that when the first switch When the switch unit M1 is turned on, the positive electrode V of the battery cell BAT+ The current is output and fused by the fusing module 20. When the first switch unit M1 is turned off, the battery cell anode V BAT+ No current is output and therefore the fuse module 20 is not fused.
Specifically, the first switching unit M1 includes a first current terminal, a second current terminal, and a control terminal. The first current terminal of the first switching unit M1 is coupled to the second terminal of the fuse module 20, the second current terminal of the first switching unit M1 is coupled to ground, and the control terminal of the first switching unit M1 is coupled to the determination module 30. In this embodiment, when the control terminal of the first switch unit receives the first fusing control signal directly or indirectly output by the coupled determination module 30 (output by the other modules), the first current terminal and the second current terminal of the first switch unit M1 are conducted to form the cell positive electrode V BAT+ Through the fusing module 20 and the current path from the first switching unit M1 to the ground, the current is fused when flowing through the fusing module 20.
The first switching unit M1 may be a controllable switching device such as a MOS transistor, a transistor, or the like, for example. Taking the first switch unit M1 as an NMOS transistor as an example, the gate thereof is used as the control end of the first switch unit M1; the drain electrode is used as a first current end of the first switch unit M1; the source is used as the first current terminal of the first switching unit M1.
It should be noted that, in the embodiment of the present application, the current flowing through the fuse module 20 to fuse the fuse module 20 is referred to as a fusing current. It will be appreciated that when the fusing current is large, it is likely to cause the electronic device to be too hot. Based on this, in the case where it is ensured that the fuse module 20 can be fused, the smaller the fusing current, the better.
Based on this, in some embodiments, the fuse driving module 40 illustrated in fig. 3 may further include a current limiting unit for limiting the magnitude of the fuse current. It should be noted that, the magnitude of the fusing current limited by the current limiting unit may be set according to actual needs, which is not limited in the embodiment of the present application.
The current limiting unit is connected in series with the first switch unit M1, and may be coupled between the first switch unit M1 and the second end of the fuse module 20, or may be coupled between the first switch unit M1 and ground. Illustratively, the current limiting unit may be a resistor, such as resistor R0 shown in fig. 3. The resistance value of the resistor R0 can be set according to the magnitude of the fusing current actually required.
A specific implementation of the determination module 30 to acquire the state of the fuse module 20 is described below.
It should be appreciated that due to coupling to cell positive electrode V BAT+ The voltage at the second end of the fuse module 20 is not the same when the fuse module 20 is in the blown state and the unfused state. When the fusing module 20 is in the fusing state, the voltage at the second end of the fusing module 20 is zero, and the voltage at the second end of the fusing module 20 is detected but not detected; when the fuse module 20 is in the un-fused state, the voltage at the second end of the fuse module 20 is greater than zero, and detecting the voltage at the second end of the fuse module 20 will enable detection of the voltage. It can be seen that the voltage at the second end of fuse module 20 may be used to characterize the state of fuse module 20. By taking the voltage at the second end of the fuse module 20 and distinguishing it, the state of the fuse module 20 can be identified. Based on this recognition principle, one possible implementation is provided as follows:
specifically, referring to fig. 3, the determining module 30 is coupled to the second end of the fusing module 20, where the determining module 30 is specifically configured to determine that the fusing module 20 is in an unfused state when the voltage of the second end of the fusing module 20 is greater than the first preset voltage threshold, and determine that the fusing module 20 is in a fused state when the voltage of the second end of the fusing module 20 is less than or equal to the first preset voltage threshold. It should be appreciated that in other embodiments, it may be determined that fuse module 20 is in an un-fused state for an equal condition.
It should be noted that, in theory, in the case that the voltage of the second end of the fuse module 20 is greater than zero, the fuse module 20 is in an unfused state; in the case where the voltage of the second terminal of the fuse module 20 is equal to zero, the fuse module 20 is in a fused state. In a specific use process, there is an error in collecting the voltage of the second end of the fuse module 20 due to a problem of device accuracy. For example, in the case where the fuse module 20 is in the fused state, the voltage at the second end of the fuse module 20 is theoretically zero, but may eventually be a value greater than zero due to a problem of device accuracy. Therefore, zero is used as a demarcation point for distinguishing the voltage at the second end of the fuse module 20, so that the state of the fuse module 20 is identified, and erroneous identification is easily caused. Based on this, the first preset threshold may be a value greater than zero to avoid misrecognition when the state of the fuse module 20 is identified based on the voltage of the second end of the fuse module 20. The specific value of the first preset threshold is determined by being able to distinguish between the blown state and the un-blown state of the fuse module 20. The specific implementation can be obtained through experiments.
It should be noted that, in the above embodiment, the determination module 30 is not limited to obtain the voltage of the second end of the fuse module 20, and determine whether the voltage of the second end of the fuse module 20 is greater than the first preset voltage threshold. It should be appreciated that the function of acquiring the voltage at the second end of the fuse module 20 and the function of determining whether the voltage at the second end of the fuse module 20 is greater than the first preset voltage threshold may be implemented by the determining module 30 or may be implemented by other modules. It will be appreciated that voltage acquisition requires the device to be ADC-capable. Thus, when the first function is implemented by the determining module 30, the determining module 30 is required to integrate the ADC function; when the first function is implemented by another module, the other module is required to have an ADC function, such as an ADC converter.
Optionally, with continued reference to fig. 3, both functions are implemented by the determination module 30. The coupling between determination module 30 and the second end of fuse module 20 at this time refers to the direct connection of determination module 30 to the second end of fuse module 20. The determining module 30 is configured to directly obtain the voltage of the second end of the fusing module 20, and determine whether the voltage of the second end of the fusing module 20 is greater than a first preset voltage threshold after obtaining the voltage of the second end of the fusing module 20. Specifically, the determining module 30 has an ADC1 port shown in fig. 3, and the determining module 30 is directly connected to the second end of the fusing module 20 through the ADC1 port.
Alternatively, in other embodiments, the first function is performed by the other module and the second function is performed by the determining module 30, where the coupling between the determining module 30 and the second end of the fusing module 20 refers to the determining module 30 being indirectly connected to the second end of the fusing module 20 through the other module. The voltage at the second end of the fusing module 20 is collected by the other module and fed back to the determining module 30, so that the determining module 30 indirectly obtains the voltage at the second end of the fusing module 20. After acquiring the voltage of the second end of the fuse module 20, the determining module 30 determines whether the voltage of the second end of the fuse module 20 is greater than a first preset voltage threshold.
Alternatively, in other embodiments, the first function described above is implemented by the determination module 30, while the second function is implemented by other modules. At this time, the coupling between the determination module 30 and the second end of the fuse module 20 means that the determination module 30 is directly connected with the second end of the fuse module 20. The determining module 30 is configured to directly obtain the voltage of the second terminal of the fusing module 20. In this case, the determining module 30 is further connected to other modules, and is configured to output the voltage of the second end of the fusing module 20 to the other modules, so that the other modules determine whether the voltage of the second end of the fusing module 20 is greater than the first preset threshold, and feed back the determination result to the determining module 30.
Alternatively, in other embodiments, both functions are implemented by one or more other modules. At this time, the coupling between the determining module 30 and the second terminal of the fusing module 20 refers to that the determining module 30 is indirectly connected to the second terminal of the fusing module 20 through the one or more other modules, so as to collect the voltage of the second terminal of the fusing module 20 through the one or more other modules, determine whether the voltage of the second terminal of the fusing module 20 is greater than the first preset threshold, and feed back the determination result to the determining module 30.
It should be noted that the detection range of the ADC is generally within 1.8V, while the battery cell positive electrode V BAT+ The voltage at the second end of the fuse module 20 is typically above 3V, and therefore, the voltage at the second end of the fuse module is easily beyond the detection range of the ADC, and thus cannot be collected correctly. Based on this, another possible implementation of the embodiment of the present application is described below with reference to fig. 4.
Referring to fig. 4, fig. 4 is a schematic diagram of a connection relationship of an electronic device according to an embodiment of the present application. Unlike the electronic device shown in fig. 3, the electronic device shown in fig. 4 further includes a voltage dividing module 50.
Wherein the determining module 30 is coupled to the voltage dividing module 50, and the voltage dividing module 50 is coupled to the second end of the fusing module 20. That is, the coupling between the determining module 30 and the second end of the fusing module 20 means that the determining module 30 is indirectly connected to the second end of the fusing module 20 through the voltage dividing module 50.
Specifically, the voltage dividing module 50 includes a current input terminal, a current output terminal, and a voltage dividing terminal. The current input end of the voltage dividing module 50 is coupled to the second end of the fuse module 20, the current output end of the voltage dividing module 50 is coupled to ground, and the voltage dividing end of the voltage dividing module 50 is coupled to the determining module 30, for example, directly connected to the ADC1 of the determining module 30. As shown in fig. 4, the voltage dividing module 50 may include a resistor R1 and a resistor R2. A first end of the resistor R1 forms a current input end of the voltage dividing module 50; the second end of the resistor R2 forms a current output end, and the second end of the resistor R1 and the first end of the resistor R2 are coupled to form a voltage division end of the voltage division module 50.
The voltage dividing module 50 is configured to obtain the voltage of the second end of the fuse module 20 through the current input end, and output the divided voltage through the voltage dividing end after dividing the voltage of the second end of the fuse module 20.
It should be appreciated that when the fuse module 20 is in the blown state, the voltage at the second end of the fuse module 20 is zero, and thus the divided voltage is also zero; when the fuse module 20 is in the un-fused state, the voltage at the second end of the fuse module 20 is greater than zero, and the divided voltage is also greater than zero. Thus, the divided voltage may also be used to determine the state of fuse module 20.
Specifically, the determining module 30 is specifically configured to determine that the fusing module 20 is in an unfused state when the divided voltage is greater than a second preset voltage threshold, and determine that the fusing module 20 is in a fused state when the divided voltage is less than or equal to the second preset voltage threshold. In other embodiments, it may also be determined that fuse module 20 is in an un-fused state for an equal condition.
In this embodiment, the functions of obtaining the divided voltage and determining whether the divided voltage is greater than the second preset voltage threshold may be implemented by the determining module 30 or may be implemented by another module. In this case, the coupling between the determining module 30 and the voltage dividing module 50 may be a direct connection or an indirect connection through the other modules. The specific implementation may be adaptively referred to the content related to the previous embodiment, and will not be described herein. Furthermore, the implementation of the second preset voltage threshold may adaptively refer to the content related to the first preset voltage threshold.
The following describes an implementation in which the determination module 30 determines whether the battery is a new battery or an old battery according to the state of the fuse module 20.
In some embodiments, the battery may be both a new battery and an old battery, with no other situation. As can be seen from the foregoing, the fuse module 20 is in an unblown state when the battery is a new battery, and is in a fused state when the battery is an old battery. On the premise that the battery does not have other conditions, the fusing module 20 is in an un-fused state, so that the battery can be characterized as a new battery; the fuse module 20 is in a blown state and may characterize the battery as an old battery. Based on this, in this embodiment, the determining module 30 is specifically configured to determine that the battery is a new battery when the fusing module 20 is in an unfused state; in the case where the fusing module 20 is in the fused state, it is determined that the battery is an old battery.
In other embodiments, the battery may also be a non-genuine battery. In the case where the battery is a non-genuine battery, the fuse module 20 is not provided therein, and therefore, the fuse driving module 40 cannot fuse the fuse module 20. Therefore, when detecting the voltage, the situation that the voltage is smaller than the first preset voltage threshold or the second preset voltage threshold cannot be detected, and only the situation that the voltage is larger than the first preset voltage threshold or the second preset voltage threshold, that is, the situation that the fusing module 20 is in the un-fused state, can be detected. It can be seen that, in the case where the battery is a non-genuine battery, even if the battery does not have the fusing module 20, the fusing module 20 is still detected to be in an unfused state. Therefore, if the battery is determined to be a new battery only by the fuse module 20 being in the un-fused state, there is a false recognition. Based on this, in this embodiment, the determining module 30 is specifically configured to control to output the first fusing control signal to control the fusing driving module 40 to drive the fusing module 20 to fuse when the fusing module 20 is in the unfused state; if the fusing module 20 is in the fusing state after being driven to fuse, the battery is determined to be a new battery. Optionally, the determining module 30 is further configured to determine that the battery is a non-genuine battery if the fusing module 20 is in an unfused state after being driven to fuse in the unfused state.
It should be noted that, when the battery is a genuine battery, the fuse module 20 is disposed therein, and the fuse driving module 40 is controlled to drive the fuse module 20 to fuse, and then the fuse module 20 is fused, and the state of the fuse module 20 is detected again, so that the fuse module 20 is in the fused state; in the case that the battery is a non-genuine battery, since there is no fusible fuse module 20 therein, the fuse driving module 40 is controlled to drive the fuse module 20 to fuse, and then the state of the fuse module 20 is detected again, the fuse module 20 is still detected to be in an unfused state. Therefore, by detecting the state of the fuse module 20 again, it is possible to realize the distinction of the battery as a non-genuine battery from a new battery.
The layout of the modules and the specific implementation of the connection relationship mentioned in the above embodiments are exemplarily described below with reference to fig. 5.
Referring to fig. 5, fig. 5 is a schematic diagram showing a connection relationship of an electronic device according to an embodiment of the present application. The figure is modified on the basis of the embodiment shown in fig. 4. For convenience of explanation, only the portions related to the present embodiment are shown, and the detailed description is as follows:
the electronic device includes a motherboard and a battery.
The motherboard is used to integrate most of the functional devices of the electronic device, such as the processor 110, the power management module 140, the wireless communication module 160, the mobile communication module 150, etc. in fig. 1. It should be understood that the functional devices integrated on the motherboard may vary from one electronic device to another, and embodiments of the present application are not limited in this regard.
A battery can be understood as the battery 141 shown in fig. 1. The battery is used for supplying power to functional devices in the electronic equipment, which need to be supplied with power. The battery can be buckled on the main board to reduce the whole structure. In particular, the battery may include a battery cell and a battery protection plate.
Wherein the battery cell is a unit for storing electric energy of the battery, and comprises a battery cell anode V BAT+ And a cell negative electrode. Battery cell anode V BAT+ And the battery cell cathode is used for receiving external electric energy input and/or external electric energy output, so that the charging and discharging of the battery cell are realized.
The battery protection board is coupled with the battery core and the main board respectively, and can be used for realizing charge and discharge of the battery core and protecting the battery core, such as overcharge prevention, overdischarge prevention, overcurrent prevention, short circuit prevention, high-temperature protection and the like.
For example, the battery protection board may include a control chip, a MOS transistor, an NTC resistor, an ID resistor, a connector (such as a BTB connector), and the like.
The control chip controls the MOS tube to be conducted under all normal conditions, so that the battery core and the functional device needing power supply of the electronic equipment are conducted, and when overvoltage, overcurrent and short circuit conditions such as the voltage of the battery core or the current of a loop exceeds a specified value occur, the MOS tube is controlled to be turned off, and the safety of the battery core is protected.
The NTC resistor is a device that changes with the temperature of the battery cell, and is closely attached to the battery cell to monitor the temperature of the battery cell, and as the temperature of the battery cell increases, the resistance of the NTC resistor gradually decreases. And detecting the resistance value of the NTC resistor, so as to obtain the temperature of the battery cell.
The ID resistance is a device for identifying the type of battery, and different types of batteries have different resistance values. By detecting the resistance value of the ID resistor, the battery type can be determined.
And a connector for coupling between the battery protection plate and the main board. The connector may include an ID pin, an NTC pin, a p+ pin, and a P-pin.
The ID pin is coupled with the ID resistor and is used for outputting the terminal voltage of the ID resistor. It should be appreciated that the terminal voltage of the ID resistor corresponds to the ID resistor, and thus, the terminal voltage of the ID resistor may be used to characterize the type information of the battery. Based on this, by acquiring the terminal voltage of the ID resistor, the resistance value of the ID resistor and thus the battery type can be determined. It should be noted that, the functions of obtaining the terminal voltage of the ID resistor, determining the resistance value of the ID resistor, and determining the battery type may be implemented by the processor 110 shown in fig. 1, where the main board and the battery protection board are coupled through a connector, so that the processor 110 is connected to the ID pin. Of course, these functions may not be all implemented by the processor 110, for example, the function of acquiring the terminal voltage of the ID resistor may be implemented by an ADC module additionally provided, and then the function of determining the resistance value of the ID resistor and determining the battery type may be implemented by the processor 110.
The NTC pin is connected with the NTC resistor, and the NTC pin is used for outputting the terminal voltage of the NTC resistor. It will be appreciated that the terminal voltage of the NTC resistor corresponds to the NTC resistor, and thus the terminal voltage of the NTC resistor may be used to characterize the temperature information of the battery. By acquiring the terminal voltage of the NTC resistor, the resistance value of the NTC resistor can be determined, and thus the battery temperature, and the specific implementation can be referred to in the relevant content of the battery type.
P+ pin and battery cell positive electrode V BAT+ The P-pin is coupled with the cathode of the battery cell. Meanwhile, the main board is coupled with the battery protection board through the connector, so that the P+ pin and the P-pin are connected with an external circuit, and the main board is used for receiving electric energy input by the external circuit and outputting electric energy of the battery core to the external circuit. For example, the external circuit may be a power management module shown in fig. 1, which may be disposed on a motherboard.
It should be understood that as the functions of the battery protection plate increase, the battery protection plate may further include more components. The connector may also include more pins, e.g., b+ pins, B-pins, SW pins, and more pins, etc. Wherein, the B+ pin and the B-pin are used as the voltage sampling pins of the battery cell and are respectively connected with the positive electrode V of the battery cell BAT+ And the battery cell cathode is coupled for collecting the battery cell voltage. For example, the B+ pin is connected with the positive electrode V of the battery cell through a K-stage resistor BAT+ Coupled with the negative electrode of the battery cell through a K-stage resistor. By acquiring the voltages of the b+ pin and the B-pin, the cell voltage is more accurately detected, and specific implementations can be referred to in the context of the battery types described above. The SW pins are test pins used for programming in the production stage so as to realize the functions of testing and the like.
In order to be able to recognize whether the battery is replaced, the fusing module 20 shown in fig. 5 is provided on the battery protection board, and the determination module 30, the fusing driving module 40, and the voltage dividing module 50 are all provided on the main board. In this way, the coupling between the fuse module and the fuse driving module can be achieved using the existing connection pins of the connector without separately introducing additional connection structures.
It should be appreciated that in other embodiments, the fuse module 20 may be disposed at other locations within the battery, such as separately from the battery protection plate, instead of on the battery protection plate. The determination module 30, the fuse driving module 40, and the voltage dividing module 50 may not be provided on the main board, for example, on a battery protection board, or may be provided separately.
The connection relationship between the fuse module 20 and the fuse driving module 40 separately provided on the battery protection plate and the main board will be described below. The connection relationship between the voltage dividing module 50 provided on the main board and the fuse module 20 provided on the battery protection board can be implemented with reference. In some embodiments, the second end of the fuse module 20 may be coupled to the fuse driving module 40 through at least one pin of the battery protection plate.
Here, the at least one pin may refer to a pin of the above-described connector. It should be noted that, the current capacity of one pin is limited, and the fusing current required by the fusing module 20 may be larger or even exceed the current capacity of the pin, so this embodiment may be coupled with the fusing driving module 40 through a plurality of pins, so that the current capacity may be improved while ensuring that the pins are not burned out, so as to provide the fusing current to ensure that the fusing module 20 can fuse.
In selecting the pins, pins occupied by other functions are selected as little as possible, and pins not occupied by functions are selected as much as possible, for example, pins other than the pins mentioned above, such as fuse pins, are added to the connector for fusing by the fusing module 20. In the case where such a pin cannot be provided by the battery protection board, a pin that can be in an idle state (meaning that the ID detection function can be temporarily interrupted), for example, the above-mentioned b+ pin, SW pin, ID pin, and the like, are selected as much as possible. Pins that are always occupied by other functions are not selected as much as possible (if such pins are selected, functional conflicts may occur because their original functions need to be run all the time). For example, as a first pin for charging and/or discharging the battery cell, such as the p+ pin, the P-pin mentioned above, and a second pin for obtaining temperature information of the battery cell, such as the NTC pin mentioned above.
Illustratively, as shown in FIG. 5, a second end of fuse module 20 may be coupled to fuse drive module 40 via a B+ pin and an ID pin.
In other examples, a second end of fuse module 20 may be coupled to fuse drive module 40 via a b+ pin.
In other examples, a second end of fuse module 20 may be coupled with fuse drive module 40 via an ID pin.
In the above examples, when the second terminal of the fuse module 20 is coupled to the fuse driving module 40 using the ID pin, the resistance of the ID resistor is much larger than that of the fuse module 20, for example, the resistance of the ID resistor is K-stage resistor, so as to avoid that the current passes through the ID resistor to the ground when M1 is turned off, and thus the fuse is fused.
It should be noted that, in the prior art, b+ is not generally used as the cell voltage sampling pin any more, and therefore, the fuse module 20 may be used to replace the K-stage resistor originally coupled to the b+ pin, so that the second end of the fuse module 20 is coupled to the fuse driving module 40 through the b+ pin.
It should be noted that the electronic device shown in fig. 5 may further include an ID detection driving module 60. The ID detection driving module 60 shown in fig. 5 is provided on the main board. It should be appreciated that in other embodiments, the ID detection driving module 60 may not be disposed on the motherboard, such as on a battery protection board, or may be disposed separately.
Wherein the ID detection driving module 60 is coupled to the ID pin and the determining module 30.
The determining module 30 is further configured to control outputting an ID detection control signal, where the ID detection control signal includes a first ID detection control signal and a second ID detection control signal. The first ID detection control signal is used for controlling the conduction of the ID detection driving module so as to drive the ID pin to output ID voltage: the second ID detection control signal is used for controlling the ID detection driving module to be turned off so as not to drive the ID pin to output ID voltage; wherein the ID voltage is used to characterize the type information of the battery. It should be understood that the ID voltage herein is the terminal voltage of the ID resistor, and is used to identify the type information of the battery, and the voltage is not the same as the voltage output by the ID pin when the first switch unit M1 is turned on.
The ID detection driving module 60 is configured to receive the ID detection control signal, turn on according to the first ID detection control signal to drive the ID pin to output the ID voltage, and turn off according to the second ID detection control signal to not drive the ID pin to output the ID voltage.
For example, referring to fig. 5, the id detection driving module 60 may be directly connected to the determining module 30. Taking the determining module 30 as a controller for example, the ID detection driving module 60 is connected to a GPIO port of the controller, such as GPIO2. In this case, the ID detection control signal is directly output by the determination module 30 to control the ID detection driving module 60 to drive the ID pin to output the ID voltage. For example, the ID detection control signal includes a first ID detection control signal and a second ID detection control signal.
In other embodiments, the ID detection driver module 60 may be indirectly coupled to the determination module 30 through other modules. In this way, the determining module 30 controls the other modules to output the ID detection control signal, and the specific implementation may refer to the related content of the fuse driving module 40, which is not described herein.
It should be noted that, when the second end of the fuse module 20 may be coupled to the fuse driving module 40 through the ID pin to implement the fuse function, in order not to conflict with the battery type detection function of the ID pin, optionally, the determining module 30 is further configured to:
in the case that the fusing module 20 is in the fusing state, controlling to output the second fusing control signal and the first ID detection control signal to control the fusing driving module 40 to be turned off and the ID detection driving module 60 to be turned on; in the case that the fuse module 20 is in the un-fused state, the first fuse control signal and the second ID detection control signal are controlled to be outputted to control the fuse driving module 40 to be turned on and the ID detection driving module 60 to be turned off.
It should be understood that the determining module 30 controls to output the second fusing control signal and the first ID detection control signal in the case where the fusing module 20 is in the fused state, and controls to output the first fusing control signal and the second ID detection control signal in the case where the fusing module 20 is in the unfused state. In this way, the fuse driving module 40 drives the fuse unit to blow when the fuse module 20 is in an unfused state, and does not drive the fuse unit to blow when the fuse module 20 is in a blown state. The ID detection driving module 60 drives the ID pin output ID voltage when the fuse module 20 is in the fused state, and does not drive the ID pin output ID voltage when the fuse module 20 is in the unfused state, so that the two do not interfere with each other.
Specifically, the ID detection driving module 60 includes a second switching unit M2. The second switch unit M2 includes a first current terminal, a second current terminal, and a control terminal. The first current terminal of the second switching unit M2 is coupled to the power supply vdd+ (e.g. 1.8, V), the second current terminal of the second switching unit M2 is coupled to the ID pin, and the control terminal of the second switching unit M2 is coupled to the GPIO2 of the determining module 30. In some embodiments, the ID detection driving module 60 may further include a pull-up resistor R3.
In this embodiment, when the control unit of the second switch unit M2 receives the first ID detection control signal output by the determining module 30, the first current terminal and the second current terminal of the second switch unit M2 are turned on, the current flows from the power supply vdd+ to the ground, and the ID voltage is output through the second switch unit M2 and the ID resistor, so that the terminal voltage of the ID resistor can be collected. When the control terminal of the second switching unit M2 receives the second ID detection control signal output by the determining module 30, the first current terminal and the second current terminal of the second switching unit M2 are turned off, and the ID pin cannot output the ID voltage. In particular, the second switching unit M2 may refer to the specific implementation of the first switching unit M1.
As can be seen from the foregoing, the determining module 30 controls to output the first ID detection control signal when the fusing module 20 is in the fused state; the second ID detection control signal is output in the case where the fuse module 20 is in an unblown state. Based on this, the second switching unit M2 is configured to be turned on when the fuse module 20 is in the fused state, and turned off when the fuse module 20 is in the unfused state. From the foregoing, it can be seen that the determining module 30 outputs the first fusing control signal when the fusing module 20 is in the unfused state; the second fuse control signal is output in the case where the fuse module 20 is in an unfused state. Accordingly, the first switching unit M1 is configured to be turned on when the fuse module 20 is in an unfused state and turned off when the fuse module 20 is in a fused state. As can be seen, the first switching unit M1 is turned off with the second switching unit M2 turned on; the second switching unit M2 is turned off in the case that the first switching unit M1 is turned on, so that a functional conflict can be avoided. The connection between the fusing module 20 and the determination module 30 separately provided on the battery protection board and the main board will be described below.
In some embodiments, to avoid adding too many pins, the second end of the fuse module 20 may also be coupled to the determination module 30 via at least one pin for coupling to the fuse driving module 40 as described above. Therefore, at least one pin of the fusing driving module and the fusing module can be connected in a multiplexing mode, and an additional connecting structure is not required to be introduced independently, so that the purpose of saving pins is achieved.
Illustratively, a second end of fuse module 20 may be coupled to determination module 30 via a B+ pin and an ID pin. For example, in the case that the voltage division module 50 is provided on the motherboard, the second terminal of the fuse module 20 is connected to the current input terminal of the voltage division module 50 through the b+ pin and the ID pin, and the current input terminal of the voltage division module 50 is connected to the determination module 30. For another example, in the case where the voltage division module 50 is not provided on the main board, the second end of the fuse module 20 is directly connected to the determination module 30 through the b+ pin and the ID pin.
Illustratively, a second end of fuse module 20 may be coupled to determination module 30 via a b+ pin.
Illustratively, a second end of the fuse module 20 may be coupled to the determination module 30 via an ID pin.
It should be noted that, in each of the above examples, the sum of the resistance values of the resistor R1 and the resistor R2 in the voltage dividing module 50 is much larger than the resistance value of the fuse module 20, for example, the resistor R1 and the resistor R2 are K-stage resistors, so as to avoid that the current flows to the ground through the voltage dividing module 50 when the first switch unit M1 is turned off, and thus the fuse is fused.
Of course, in other embodiments, the second end of the fusing module 20 may be coupled to the determining module 30 through other pins, which is not limited by the embodiment of the present application.
In the embodiment shown in fig. 5, compared with the case where the identification of new and old batteries is performed by the anti-counterfeiting IC, the embodiment can reduce the cost, and the fuse occupies a smaller area without increasing the area of the battery protection board.
The battery identification process of the electronic device shown in fig. 5 is explained below with reference to fig. 6.
Referring to fig. 6, fig. 6 is a flowchart of a method for determining whether a battery is old or new according to an embodiment of the present application. The method for determining whether the battery is old or new comprises the following steps:
s601, the electronic device detects the state of the fusing module.
In some embodiments, the electronic device detecting the status of the fuse module may include:
acquiring the voltage of the second end of the fusing module;
under the condition that the voltage of the second end of the fusing module is larger than a first preset voltage threshold value, determining that the fusing module is in an unfused state; and determining that the fusing module is in a fusing state under the condition that the voltage of the second end of the fusing module is smaller than or equal to a first preset voltage threshold value.
In other embodiments, the electronic device detecting the state of the fuse module may include:
obtaining a divided voltage output by a voltage dividing module of the electronic equipment;
under the condition that the voltage division voltage output by the voltage division module is larger than a second preset voltage threshold value, determining that the fusing module is in an unfused state; and under the condition that the divided voltage output by the voltage dividing module is smaller than or equal to a second preset voltage threshold value, determining that the fusing module is in a fusing state.
It should be noted that, for more specific implementation of S601, reference may be made to the content of the foregoing related embodiments, which is not described herein.
The electronic device may, for example, obtain the status of the fuse module via a determination module, such as the processor 110 shown in fig. 1.
S602, determining whether the battery is a new battery or an old battery according to the state of the fuse module.
In some embodiments, S602 may include: under the condition that the fusing module is in a fusing state, determining that the battery is an old battery; and under the condition that the fusing module is in an un-fused state, determining that the battery is a new battery.
Further, in the case where the fuse module is in an unfused state, before determining that the battery is a new battery, the method shown in fig. 6 may further include controlling to output a first fuse control signal, where the first fuse control signal is used to control the fuse driving module of the electronic device to drive the fuse module to fuse. Determining that the battery is a new battery includes: if the fusing module is in a fusing state after being controlled to fuse, the battery is determined to be a new battery.
Optionally, after controlling to output the first fuse control signal, the method shown in fig. 6 may further include: and if the fusing module is in an un-fused state after being controlled to fuse, determining that the battery is a non-genuine battery.
It should be noted that, for more specific implementation of S602, reference may be made to the content of the foregoing related embodiments, which is not described herein.
After the electronic device determines the type of battery according to the state of the fuse module, different control logic may be executed: if the battery is a new battery, initializing (e.g. resetting) an aging parameter (e.g. cycle) of the electronic device, and charging according to the initialized aging parameter, wherein the aging parameter is used for indicating the aging degree of the battery; if the battery is an old battery, charging according to the aging parameters of the electronic equipment; and if the battery is a non-genuine battery, controlling the electronic equipment to be shut down.
Referring to fig. 7, fig. 7 is a flowchart of a method for determining whether a battery is old or new according to an embodiment of the present application. The method for determining whether the battery is old or new comprises the following steps:
s701, the electronic equipment executes a starting operation.
The electronic device may perform a power-on operation in response to a power-on instruction triggered by a pressing operation of a power key of the electronic device of the user or in response to a power-on instruction triggered automatically by the system.
It should be noted that, there is a starting process between the electronic device executing the startup operation and the electronic device being in the startup state, that is, the state that the electronic device displays the main screen saver. The electronic device is not powered on until then. For convenience of distinction, the state of the electronic device between the start-up operation and the start-up state is referred to as a start-up state, and the state of the electronic device before the start-up operation is performed is referred to as a shut-down state, and the following steps may occur when the electronic device is in the start-up state.
S702, controlling M1 and M2 to be turned off.
Specifically, taking the determining module 30 as an example of a controller, the controller may output a low level signal to control the M1 and M2 to turn off, such as the GPIO1 coupled to the M1 and the GPIO2 coupled to the M2. Of course, if the GPIO1 and GPIO2 of the controller are low in the default state, the default states of M1 and M2 are off, so that it is not necessary to intentionally issue low level control to turn off M1 and M2.
S703, obtaining a divided voltage.
S704, judging whether the divided voltage is larger than a second preset voltage threshold.
And if the voltage is smaller than or equal to the second preset voltage threshold, indicating that the fuse is in a fusing state, and executing S705-S706.
And if the voltage is greater than the second preset voltage threshold, indicating that the fuse is in an unblown state, and executing S707-S709.
S705, control M1 is turned off, and control M2 is turned on to detect the type information of the battery.
It should be appreciated that when M2 is turned on, the power supply VDD+ outputs a current through the ID resistor to ground, forming a current path, at which time the ID pin may output an ID voltage that is used to characterize the type information of the battery, and the controller may detect the type information of the battery based on the ID voltage.
S706, charging is performed based on the battery parameters corresponding to the cycle recorded by the electronic device.
It should be understood that when the fuse is in a fusing state, the battery is indicated to be an old battery, and the battery parameters corresponding to the recorded cycle (i.e. the aging parameters) are adopted for charging at this time, so that the risk of battery swelling can be avoided, and further user experience is ensured.
Note that S705 and S706 may be exchanged.
S707, controlling M1 to be on and controlling M2 to be off.
It will be appreciated that when the fuse is in the un-blown state, indicating that the battery may be a new battery or a non-genuine battery, the fuse is blown by performing S707 to facilitate distinguishing the battery as a new battery or a non-genuine battery further based on the state of the fuse module 20. When M1 is conducted, the output current of the positive electrode of the battery cell fuses.
S708, obtaining a divided voltage.
S709, judging whether the divided voltage is larger than a second preset voltage threshold.
And if the voltage is smaller than or equal to the second preset voltage threshold, indicating that the fuse is in a fusing state, and executing S710-S711.
If the voltage is greater than the second preset voltage threshold, S712 is performed.
S710, controlling M1 to be turned off and controlling M2 to be turned on so as to detect the type information of the battery.
S711, performing zero clearing operation on the cycle recorded by the electronic equipment.
It should be understood that after the secondary judgment after the fusing operation, if the fuse is in the fusing state, the battery is indicated to be a new battery, and at this time, the cycle is cleared. Therefore, the battery parameters corresponding to the cycle of the new battery can be used for charging, so that the condition that the battery is not fully charged or is charged slowly can be avoided, and the user experience is further ensured.
Note that S710 and S711 may be exchanged.
S712, executing a shutdown operation.
It should be understood that after the secondary judgment after the fusing operation, if the fuse is in an unblown state, the battery is indicated to be a non-genuine battery, and at this time, the shutdown operation is performed, so that the electronic device is in a shutdown state.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present application.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other manners. For example, the apparatus/terminal device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical function division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (22)

1. An electronic device, comprising:
the fusing module is arranged in the battery of the electronic equipment and comprises a first end and a second end; the first end of the fusing module is coupled with the positive electrode of the battery core of the battery; wherein, under the condition that the battery is a new battery, the fusing module is in an unfused state, and under the condition that the battery is an old battery, the fusing module is in a fused state;
the determining module is arranged in the electronic equipment and is coupled with the second end of the fusing module;
the determining module is used for obtaining the state of the fusing module, and determining that the battery is an old battery under the condition that the fusing module is in the fusing state; controlling the fusing module to fuse under the condition that the fusing module is in an unfused state; and under the condition that the fusing module is in a fusing state after being controlled to fuse, determining that the battery is a new battery.
2. The electronic device of claim 1, wherein the electronic device further comprises a fuse drive module;
wherein the fusing driving module is respectively coupled with the second end of the fusing module and the determining module;
the determining module is also used for controlling and outputting a first fusing control signal; the first fusing control signal is used for controlling the fusing driving module to be conducted so as to drive the fusing module to fuse;
the fusing driving module is used for receiving the first fusing control signal and conducting according to the first fusing control signal.
3. The electronic device of claim 2, wherein the fuse drive module comprises a first switch unit;
the first switch unit is coupled with the second end of the fusing module and the determining module;
the first switch unit is used for being conducted under the condition that the first fusing control signal is received so as to drive the fusing module to fuse.
4. The electronic device of claim 1, wherein the fusing module is a current fuse or a metal trace.
5. The electronic device according to any one of claims 1 to 4, wherein the determining module is specifically configured to:
Determining that the fusing module is in an unfused state under the condition that the voltage of the second end of the fusing module is larger than a first preset voltage threshold value;
and determining that the fusing module is in a fusing state under the condition that the voltage of the second end of the fusing module is smaller than or equal to the first preset voltage threshold value.
6. The electronic device of any one of claims 1-4, wherein the electronic device further comprises:
a voltage dividing module; the determining module is coupled with the voltage dividing module, and the voltage dividing module is coupled with the second end of the fusing module;
the voltage dividing module is used for dividing the voltage of the second end of the fusing module;
the determining module is specifically configured to determine that the fusing module is in an unfused state when the divided voltage output by the dividing module is greater than a second preset voltage threshold;
and under the condition that the divided voltage output by the voltage dividing module is smaller than or equal to the second preset voltage threshold value, determining that the fusing module is in a fusing state.
7. The electronic device of claim 1, wherein,
the fusing module is in an un-fused state after being controlled to fuse, and the determining module is further used for determining that the battery is a non-genuine battery.
8. The electronic device of any one of claims 1 to 4, wherein the electronic device further comprises a motherboard, the battery further comprising a battery cell and a battery protection plate;
the second end of the fusing module is coupled with the fusing driving module through at least one pin of the battery protection board.
9. The electronic device of claim 8,
at least one pin is a pin outside the first pin and the second pin of the battery protection plate;
wherein the first pin is a pin used for charging and/or discharging the battery cell; the second pin is used for acquiring temperature information of the battery cell.
10. The electronic device of claim 9, wherein the electronic device comprises a memory,
at least one of the pins comprises an ID pin, and the ID pin is used for acquiring type information of the battery; and/or the number of the groups of groups,
at least one of the pins further comprises a battery cell pin, and the battery cell pin is used for acquiring voltage information of the battery cell.
11. The electronic device of claim 10, wherein the battery protection board further comprises an ID detection driver module coupled with the ID pin and the determination module;
The determining module is further configured to: under the condition that the fusing module is in a fusing state, controlling a fusing driving module of the electronic equipment to be turned off and controlling to output a first ID detection control signal, wherein the first ID detection control signal is used for controlling the ID detection driving module to be turned on so as to drive the ID pin to output an ID voltage, and the ID voltage is used for representing the type information of the battery;
when the fusing module is in an unfused state, controlling the fusing driving module to be conducted and outputting a second ID detection control signal, wherein the second ID detection control signal is used for controlling the ID detection driving module to be turned off so as not to drive the ID pins to output ID voltage;
the ID detection driving module is used for being conducted according to the first ID detection control signal and being turned off according to the second ID detection control signal.
12. The electronic device of claim 11, wherein the ID detection driving module comprises a second switching unit;
the second switch unit is used for being conducted under the condition that the first ID detection control signal is received, so that the ID pin outputs the ID voltage; the second switching unit is configured to turn off when the second ID detection control signal is received.
13. The electronic device of any of claims 9 to 12, wherein the determination module is disposed on the motherboard;
at least one of the pins is also used for coupling between the second end of the fuse module and the determination module.
14. A method for determining whether a battery is old or new, which is applied to the electronic device of any one of claims 1 to 13, and includes:
detecting the state of the fusing module;
and determining whether the battery is a new battery or an old battery according to the state of the fusing module.
15. The method for determining whether a battery is old or new according to claim 14, wherein detecting the state of the fuse module comprises:
acquiring the voltage of the second end of the fusing module;
determining that the fusing module is in an unfused state under the condition that the voltage of the second end of the fusing module is larger than a first preset voltage threshold value;
and determining that the fusing module is in a fusing state under the condition that the voltage of the second end of the fusing module is smaller than or equal to the first preset voltage threshold value.
16. The method for determining whether a battery is old or new according to claim 15, wherein detecting the state of the fuse module comprises:
Obtaining a divided voltage output by a voltage dividing module of the electronic equipment;
under the condition that the divided voltage output by the voltage dividing module is larger than a second preset voltage threshold value, determining that the fusing module is in an unfused state;
and under the condition that the divided voltage output by the voltage dividing module is smaller than or equal to the second preset voltage threshold value, determining that the fusing module is in a fusing state.
17. The method for determining whether a battery is new or old according to any one of claims 14 to 16, wherein the determining that the battery is new or old according to the state of the fusing module comprises:
under the condition that the fusing module is in a fusing state, determining that the battery is an old battery;
and under the condition that the fusing module is in an un-fused state, determining that the battery is a new battery.
18. The method of determining whether a battery is new or old according to claim 17, wherein in a case where the fusing module is in an unblown state, before determining that the battery is a new battery, the method further comprises:
a first fusing control signal is controlled to be output, and the first fusing control signal is used for controlling a fusing driving module of the electronic equipment to be conducted so as to drive the fusing module to fuse;
The determining that the battery is a new battery includes:
and if the fusing module is in a fusing state after being driven to fuse, determining that the battery is a new battery.
19. The method of determining whether a battery is old or new of claim 18, wherein after the control outputs a first fuse control signal, the method further comprises:
and if the fusing module is in an un-fused state after being controlled to fuse, determining that the battery is a non-genuine battery.
20. The method of determining whether a battery is old or new according to any one of claims 14 to 16, wherein after the detecting the state of the fuse module, the method further comprises:
under the condition that the fusing module is in an unfused state, controlling and outputting a first fusing control signal and a second ID detection control signal; the first fusing control signal is used for controlling the fusing driving module of the electronic equipment to be conducted so as to drive the fusing module to fuse; the second ID detection control signal is used for controlling an ID detection driving module of the electronic equipment to be turned off so as not to drive an ID pin of the electronic equipment to output an ID voltage, and the ID voltage is used for representing the type information of the battery;
under the condition that the fusing module is in a fusing state, controlling and outputting a second fusing control signal and a first ID detection control signal; the second fusing control signal is used for controlling the fusing driving module to be turned off so as not to drive the fusing module to fuse; the first ID detection control signal is used for controlling the ID detection driving module to be conducted so as to drive the ID pin to output ID voltage.
21. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the method of any one of claims 14 to 20 when the computer program is executed.
22. A computer readable storage medium storing a computer program, which when executed by a processor implements the method of any one of claims 14 to 20.
CN202310583440.3A 2023-05-23 2023-05-23 Electronic device, method for determining whether battery is old or new, and computer-readable storage medium Active CN116365079B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310583440.3A CN116365079B (en) 2023-05-23 2023-05-23 Electronic device, method for determining whether battery is old or new, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310583440.3A CN116365079B (en) 2023-05-23 2023-05-23 Electronic device, method for determining whether battery is old or new, and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN116365079A CN116365079A (en) 2023-06-30
CN116365079B true CN116365079B (en) 2023-10-20

Family

ID=86925790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310583440.3A Active CN116365079B (en) 2023-05-23 2023-05-23 Electronic device, method for determining whether battery is old or new, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN116365079B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117388728A (en) * 2023-12-12 2024-01-12 荣耀终端有限公司 Battery detection circuit, method and electronic equipment
CN117826002A (en) * 2024-03-04 2024-04-05 荣耀终端有限公司 Electronic device and battery detection method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101740130A (en) * 2008-11-25 2010-06-16 联发科技股份有限公司 Efuse device
JP2013073897A (en) * 2011-09-29 2013-04-22 Toshiba Corp Storage battery device and storage battery device inspection and maintenance method
KR20150054532A (en) * 2013-11-12 2015-05-20 주식회사 엘지화학 Apparatus and method for managing battery pack
JP2016127769A (en) * 2015-01-08 2016-07-11 三洋電機株式会社 Battery pack
CN107634559A (en) * 2017-10-25 2018-01-26 上海伊控动力系统有限公司 A kind of echelon of new-energy automobile old and useless battery utilizes system and application method
CN208520962U (en) * 2018-05-30 2019-02-19 东莞赛微微电子有限公司 A kind of fuse state detection device
CN110336357A (en) * 2019-07-15 2019-10-15 浙江德创智能科技有限公司 A kind of novel lithium battery protection board
CN114498786A (en) * 2020-10-27 2022-05-13 北京小米移动软件有限公司 Control method, control device, electronic equipment and storage medium
CN115706428A (en) * 2021-08-09 2023-02-17 北京小米移动软件有限公司 Protection circuit board, charging and discharging system, and method and device for determining battery state

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101740130A (en) * 2008-11-25 2010-06-16 联发科技股份有限公司 Efuse device
JP2013073897A (en) * 2011-09-29 2013-04-22 Toshiba Corp Storage battery device and storage battery device inspection and maintenance method
KR20150054532A (en) * 2013-11-12 2015-05-20 주식회사 엘지화학 Apparatus and method for managing battery pack
JP2016127769A (en) * 2015-01-08 2016-07-11 三洋電機株式会社 Battery pack
CN107634559A (en) * 2017-10-25 2018-01-26 上海伊控动力系统有限公司 A kind of echelon of new-energy automobile old and useless battery utilizes system and application method
CN208520962U (en) * 2018-05-30 2019-02-19 东莞赛微微电子有限公司 A kind of fuse state detection device
CN110336357A (en) * 2019-07-15 2019-10-15 浙江德创智能科技有限公司 A kind of novel lithium battery protection board
CN114498786A (en) * 2020-10-27 2022-05-13 北京小米移动软件有限公司 Control method, control device, electronic equipment and storage medium
CN115706428A (en) * 2021-08-09 2023-02-17 北京小米移动软件有限公司 Protection circuit board, charging and discharging system, and method and device for determining battery state

Also Published As

Publication number Publication date
CN116365079A (en) 2023-06-30

Similar Documents

Publication Publication Date Title
CN116365079B (en) Electronic device, method for determining whether battery is old or new, and computer-readable storage medium
US8417292B2 (en) Device-adaptive connection establishing method and system for a mobile terminal
KR101545069B1 (en) Portable electronic device and method for recovering power to a rechargeable battery used therein
KR101494642B1 (en) Control Method of Portable Device Connected External Device And System Thereof
EP3813221B1 (en) Battery charging method, battery charging apparatus and storage medium
CN102694400B (en) Imput output circuit
US11128154B2 (en) Charging method and related device
EP2533348A1 (en) Charging system and charging method
KR20090038273A (en) Method for controlling device based on a kind of peripheral device and potable device using the same
EP4283826A1 (en) Charging circuit, charging control method and electronic device
KR20210121303A (en) Reverse charging device, and method and device for regulating reverse charging current
CN114859258B (en) Electricity meter and electronic equipment applied to multiple batteries
CN114844182B (en) Charging circuit, charging method and electronic equipment
CN114865755B (en) Multi-battery power supply, charging and discharging method and electronic equipment
CN111949107A (en) Method and device for controlling electronic equipment comprising USB Type-C interface and electronic equipment
CN117388728A (en) Battery detection circuit, method and electronic equipment
CN112153784B (en) Control circuit and electronic device
CN116707097A (en) Charging and discharging method, device, chip and readable storage medium
US9197083B2 (en) Electronic apparatus, control method, and recording medium
CN116569441A (en) Dual battery management circuit and electronic device
CN116054301B (en) Battery protection device, battery protection method and electronic equipment
CN116774092B (en) Battery detection method, circuit, device, chip and readable storage medium
CN116742106B (en) Battery module, charging control method and electronic equipment
CN112701737B (en) Battery circuit, charging method and device and electronic equipment
CN116031966B (en) Temperature compensation method and electronic equipment

Legal Events

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