CN113904399A - Charging method and terminal equipment - Google Patents

Charging method and terminal equipment Download PDF

Info

Publication number
CN113904399A
CN113904399A CN202111034582.1A CN202111034582A CN113904399A CN 113904399 A CN113904399 A CN 113904399A CN 202111034582 A CN202111034582 A CN 202111034582A CN 113904399 A CN113904399 A CN 113904399A
Authority
CN
China
Prior art keywords
current
charging
battery
maximum charging
voltage
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.)
Granted
Application number
CN202111034582.1A
Other languages
Chinese (zh)
Other versions
CN113904399B (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 CN202111034582.1A priority Critical patent/CN113904399B/en
Publication of CN113904399A publication Critical patent/CN113904399A/en
Application granted granted Critical
Publication of CN113904399B publication Critical patent/CN113904399B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00036Charger exchanging data with battery
    • 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/425Structural combination with electronic components, e.g. electronic circuits integrated to the outside of the casing
    • 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/44Methods for charging or discharging
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J50/00Circuit arrangements or systems for wireless supply or distribution of electric power
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J50/00Circuit arrangements or systems for wireless supply or distribution of electric power
    • H02J50/20Circuit arrangements or systems for wireless supply or distribution of electric power using microwaves or radio frequency waves
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0031Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using battery or load disconnect circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0036Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using connection detecting circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • H02J7/00714Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery charging or discharging current
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • H02J7/007182Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery voltage
    • 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
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B40/00Technologies aiming at improving the efficiency of home appliances, e.g. induction cooking or efficient technologies for refrigerators, freezers or dish washers
    • 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

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application provides a charging method and terminal equipment, which can shorten the time of constant voltage charging and improve the charging efficiency while ensuring the charging safety and user experience. The method is applied to a terminal device provided with a battery, and the terminal device is connected with a charger so as to enable the battery to be in a charging state, and the method comprises the following steps: when the battery enters a constant voltage charging stage, the terminal equipment acquires limiting current data, wherein the limiting current data comprises thermal protection limiting current of the battery and limiting current of a charger; the terminal equipment determines the maximum charging current of the battery based on the limited current data; the terminal equipment determines the maximum charging voltage of the battery based on the maximum charging current; the terminal device charges the battery with the maximum charging voltage.

Description

Charging method and terminal equipment
Technical Field
The present application relates to the field of terminals, and in particular, to a charging method and a terminal device.
Background
Along with the continuous promotion of terminal equipment quantity performance, terminal equipment's consumption also is bigger and bigger, so terminal equipment needs often to charge, but traditional charger charging speed is slower, influences user experience. In order to meet the requirements of users, the users can use a charger supporting quick charging to charge the terminal equipment at present, so that the quick charging is realized.
In the process of charging by using the quick charger, the charging speed is higher when the battery capacity of the terminal equipment is lower. However, when the battery capacity of the terminal device rises to 90% or more, the terminal device maintains constant voltage charging in consideration of charging safety, resulting in a decrease in charging speed. Therefore, in the whole charging process, the constant voltage charging time is long, and the whole charging efficiency is influenced.
At present, the duration of the constant voltage charging can be shortened by increasing the voltage of the constant voltage charging. However, this method has problems of unsafe charging and poor user experience.
Disclosure of Invention
The application provides a charging method, which can ensure charging safety and user experience, shorten the constant voltage charging time and improve charging efficiency.
In a first aspect, there is provided a charging method applied to a terminal device having a battery mounted thereon, the terminal device being connected to a charger to place the battery in a charging state, the method including: when the battery enters a constant voltage charging stage, the terminal equipment acquires limiting current data, wherein the limiting current data comprises a thermal protection limiting current of the battery and a limiting current of the charger, and the limiting current of the charger comprises at least one of a type limiting current of the charger, a thermal protection limiting current of the charger or a weak charge protection limiting current of the charger; the terminal equipment determines the maximum charging current of the battery based on the limited current data; the terminal equipment determines the maximum charging voltage of the battery based on the maximum charging current; and the terminal equipment charges the battery by adopting the maximum charging voltage.
The application provides a charging method, and a terminal device can determine the maximum charging current of a battery based on the limiting current of the battery and the limiting current of a charger in the constant-voltage charging stage of the battery. The terminal device may obtain an expected maximum charging voltage of the battery based on the maximum charging current. The terminal device may use the expected maximum charging voltage as the maximum charging voltage of the battery when the expected maximum charging voltage is less than or equal to a preset safe threshold voltage of the battery. The terminal equipment can charge the battery by using the maximum charging voltage, so that the charging safety and the user experience are guaranteed, the constant-voltage charging time is shortened, and the charging efficiency is improved. In addition, the terminal equipment can also determine the current for stopping charging of the battery, so that the problems of rising of the internal pressure of the battery or deformation of the battery and the like caused by continuous charging under the condition that the electric quantity of the battery is full are avoided, the performance of the battery is guaranteed, and the charging safety is improved.
With reference to the first aspect, in certain implementations of the first aspect, before the terminal device determines the maximum charging current of the battery based on the limiting current data, the method further includes: when a battery enters a constant voltage charging stage, terminal equipment acquires a first actual charging current of the battery and a first actual charging voltage of the battery; the terminal equipment judges whether the first actual charging current is equal to the minimum value of the limiting current of the charger or not; the terminal equipment determines the maximum charging current of the battery based on the limiting current data, and the method comprises the following steps: in a case where the first actual charging current is equal to the minimum value of the limit current of the charger, the terminal device determines the maximum charging current based on the minimum value of the limit current of the charger, the first actual charging voltage, and the conversion efficiency of the charging chip of the terminal device.
With reference to the first aspect, in certain implementations of the first aspect, the method further includes: under the condition that the first actual charging current is not equal to the minimum value of the limiting current of the charger, the terminal equipment acquires the battery current of the historical time period and counts the minimum current in the battery current of the historical time period; the terminal device determines the maximum charging current based on a thermal protection limit current of the battery and a minimum current of battery currents of the historical time period.
With reference to the first aspect, in certain implementations of the first aspect, the determining, by the terminal device, the maximum charging voltage of the battery based on the maximum charging current includes: the terminal equipment acquires impedance, wherein the impedance comprises at least one of the impedance of the battery, the impedance of a hardening plate of the terminal equipment or the impedance of a connector of the terminal equipment; the terminal device determines a maximum charging voltage of the battery based on the maximum charging current and the impedance.
With reference to the first aspect, in certain implementations of the first aspect, the determining, by the terminal device, a maximum charging voltage of the battery based on the maximum charging current and the impedance includes: the terminal equipment determines the expected maximum charging voltage of the battery based on the full-charge voltage of the battery, the impedance and the maximum charging current; and in the case that the expected maximum charging voltage is less than or equal to the preset safety threshold voltage of the battery, the terminal equipment determines the expected maximum charging voltage as the maximum charging voltage.
With reference to the first aspect, in certain implementations of the first aspect, the expected maximum charging voltage is calculated by the following equation: VBATfull+R*Icvmax=CV′maxWherein, VBATfullIs the full-charge voltage of the battery, R is the sum of the impedance of the battery, the hardening impedance of the terminal equipment and the connector impedance of the terminal equipment, IcvmaxIs the maximum charging current, CV'maxThe expected maximum charging voltage.
With reference to the first aspect, in certain implementations of the first aspect, after the terminal device charges the battery with the maximum charging voltage, the method further includes: during a time period in which the terminal device charges the battery using the maximum charging voltage, the terminal device determines a second actual charging current of the battery and a stop charging current of the battery; and in the case that the second actual charging current of the battery is determined to be smaller than the charging stopping current of the battery, the terminal equipment stops charging the battery by adopting the maximum charging voltage.
With reference to the first aspect, in certain implementations of the first aspect, the determining, by the terminal device, a stop-charging current of the battery includes: in the case that the expected maximum charging voltage is less than the preset safe threshold voltage, the terminal device determines the maximum charging current as the charging stopping current; alternatively, in a case where the expected maximum charging voltage is equal to the preset safe threshold voltage, the terminal device determines the stop charging current based on the safe threshold voltage, a full-charge voltage of the battery, and the impedance.
With reference to the first aspect, in certain implementations of the first aspect, the determining, by the terminal device, a second actual charging current of the battery includes: in a time period that the terminal equipment charges the battery by using the maximum charging voltage, the terminal equipment acquires the actual maximum charging voltage of the battery and judges whether the actual maximum charging voltage is less than or equal to the maximum charging voltage; in a case where the actual maximum charging voltage is less than or equal to the maximum charging voltage, the terminal device determines the second actual charging current.
With reference to the first aspect, in certain implementations of the first aspect, the stop-charging current is calculated by the following formula: (CVBAT)max-VBATfull) Where in CVBATmaxIs the safe threshold voltage, VBAT, of the above-mentioned batteryfullR is a sum of an impedance of the battery, a hardening impedance of the terminal device, and a connector impedance of the terminal device, and ITEM is the stop charging current.
With reference to the first aspect, in some implementation manners of the first aspect, the terminal device further includes: charging chip, charging drive, charger detection module, the weak protection module that fills of charger, temperature control module, the statistical module of the maximum charging current and the maximum charging voltage calculation module, terminal equipment acquires the restriction current data, include: the charger detection module acquires the type limiting current of the charger, the charger weak charge protection module acquires the weak charge protection limiting current of the charger, and the temperature control module acquires the thermal protection limiting current of the charger or the charge drive acquires the thermal protection limiting current of the battery; the terminal equipment determines the maximum charging current of the battery based on the limiting current data, and the method comprises the following steps: the maximum charging current statistical module determines the maximum charging current of the battery based on the limiting current data; the terminal equipment determines the maximum charging voltage of the battery based on the maximum charging current and the impedance, and comprises the following steps: the maximum charging voltage calculation module determines the maximum charging voltage of the battery based on the maximum charging current and the impedance; the terminal equipment adopts the maximum charging voltage to charge the battery, and the method comprises the following steps: the charging chip charges the battery by adopting the maximum charging voltage.
With reference to the first aspect, in some implementation manners of the first aspect, the terminal device further includes: a current detection module and a voltage detection module, wherein before the maximum charging current statistic module determines the maximum charging current of the battery based on the limiting current data, the method further comprises: when the battery enters a constant voltage charging stage, the current detection module acquires a first actual charging current of the battery, and the voltage detection module acquires a first actual charging voltage of the battery; the charging chip judges whether the first actual charging current is equal to the minimum value of the limiting current of the charger; the maximum charging current statistic module determines the maximum charging current of the battery based on the limiting current data, and includes: the maximum charging current statistic module determines the maximum charging current based on a minimum value of the limit currents of the charger, the first actual charging voltage, and a conversion efficiency of a charging chip of the terminal device, when the first actual charging current is equal to the minimum value of the limit currents of the charger.
With reference to the first aspect, in certain implementations of the first aspect, the method further includes: under the condition that the first actual charging current is not equal to the minimum value of the limiting current of the charger, the current detection module acquires the battery current of a historical time period and counts the minimum current in the battery current of the historical time period; the maximum charging current statistic module determines the maximum charging current based on a thermal protection limit current of the battery and a minimum current of battery currents of the historical time period.
With reference to the first aspect, in certain implementations of the first aspect, the determining a maximum charging voltage of the battery by the maximum charging voltage calculation module based on the maximum charging current and the impedance includes: said maximum charging voltage calculation module determining an expected maximum charging voltage of said battery based on a full charge voltage of said battery, said impedance and said maximum charging current; the maximum charging voltage calculation module determines the expected maximum charging voltage as the maximum charging voltage when the expected maximum charging voltage is less than or equal to a preset safe threshold voltage of the battery.
With reference to the first aspect, in some implementation manners of the first aspect, the terminal device further includes: stopping a charging current calculation module, wherein after the charging chip charges the battery with the maximum charging voltage, the method further comprises: the current detection module determines a second actual charging current of the battery during a time period in which the charging chip charges the battery using the maximum charging voltage, and the charging-stop current calculation module determines a charging-stop current of the battery; and under the condition that the second actual charging current of the battery is determined to be smaller than the charging stopping current of the battery, the charging chip stops charging the battery by adopting the maximum charging voltage.
With reference to the first aspect, in certain implementations of the first aspect, the determining a stop-charging current of the battery by the stop-charging current calculation module includes: in a case where the expected maximum charging voltage is less than a preset safe threshold voltage, the charging-stop current calculation module determines the maximum charging current as the charging-stop current; alternatively, in a case where the expected maximum charging voltage is equal to the preset safe threshold voltage, the charging-stop current calculation module determines the charging-stop current based on the safe threshold voltage, the full-charge voltage of the battery, and the impedance.
With reference to the first aspect, in some implementation manners of the first aspect, the terminal device further includes: a charge stop control module, said current detection module determining a second actual charging current for said battery, comprising: in a time period when the charging chip charges the battery by using the maximum charging voltage, the voltage detection module acquires an actual maximum charging voltage of the battery, and the charging stop control module determines whether the actual maximum charging voltage is less than or equal to the maximum charging voltage; the current detection module determines the second actual charging current when the actual maximum charging voltage is less than or equal to the maximum charging voltage.
In a second aspect, there is provided a terminal device, including a processor, coupled to a memory, and configured to execute instructions in the memory to implement the method in any one of the possible implementations of the first aspect. Optionally, the terminal device further comprises a memory. Optionally, the terminal device further comprises a communication interface, the processor being coupled to the communication interface.
In a third aspect, a processor is provided, including: input circuit, output circuit and processing circuit. The processing circuit is configured to receive a signal via the input circuit and transmit a signal via the output circuit, so that the processor performs the method of any one of the possible implementations of the first aspect.
In a specific implementation process, the processor may be a chip, the input circuit may be an input pin, the output circuit may be an output pin, and the processing circuit may be a transistor, a gate circuit, a flip-flop, various logic circuits, and the like. The input signal received by the input circuit may be received and input by, for example and without limitation, a receiver, the signal output by the output circuit may be output to and transmitted by a transmitter, for example and without limitation, and the input circuit and the output circuit may be the same circuit that functions as the input circuit and the output circuit, respectively, at different times. The embodiment of the present application does not limit the specific implementation manner of the processor and various circuits.
In a fourth aspect, a processing apparatus is provided that includes a processor and a memory. The processor is configured to read instructions stored in the memory, and may receive signals via the receiver and transmit signals via the transmitter to perform the method of any one of the possible implementations of the first aspect.
Optionally, there are one or more processors and one or more memories.
Alternatively, the memory may be integrated with the processor, or provided separately from the processor.
In a specific implementation process, the memory may be a non-transient memory, such as a Read Only Memory (ROM), which may be integrated on the same chip as the processor, or may be separately disposed on different chips.
It will be appreciated that the associated data interaction process, for example, sending the indication information, may be a process of outputting the indication information from the processor, and receiving the capability information may be a process of receiving the input capability information from the processor. In particular, the data output by the processor may be output to a transmitter and the input data received by the processor may be from a receiver. The transmitter and receiver may be collectively referred to as a transceiver, among others.
The processing device in the fourth aspect may be a chip, and the processor may be implemented by hardware or software, and when implemented by hardware, the processor may be a logic circuit, an integrated circuit, or the like; when implemented in software, the processor may be a general-purpose processor implemented by reading software code stored in a memory, which may be integrated with the processor, located external to the processor, or stand-alone.
In a fifth aspect, there is provided a computer program product comprising: computer program (also called code, or instructions), which when executed, causes a computer to perform the method of any of the possible implementations of the first aspect described above.
In a sixth aspect, a computer-readable storage medium is provided, which stores a computer program (which may also be referred to as code or instructions) that, when executed on a computer, causes the computer to perform the method of any of the possible implementations of the first aspect described above.
Drawings
Fig. 1 is a schematic diagram of an application scenario provided in an embodiment of the present application;
fig. 2 is a schematic diagram of a system architecture of a terminal device provided in an embodiment of the present application;
fig. 3 is a schematic diagram of a software structure of a terminal device according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a relationship between a charging current and a charging voltage of a battery provided by an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating a relationship between a charging current and a battery level of a battery according to an embodiment of the present disclosure;
fig. 6 is a schematic flow chart of a charging method provided in an embodiment of the present application;
fig. 7 is a schematic flow chart of another charging method provided by an embodiment of the present application;
fig. 8 is a schematic diagram of another software structure of a terminal device according to an embodiment of the present application;
fig. 9 is a schematic flow chart of another charging method provided by an embodiment of the present application;
fig. 10 is a schematic flow chart of still another charging method provided by an embodiment of the present application;
fig. 11 is a schematic flowchart of another charging method provided in an embodiment of the present application.
Detailed Description
The technical solution in the present application will be described below with reference to the accompanying drawings.
Fig. 1 illustrates an application scenario 100 provided in an embodiment of the present application, and as shown in fig. 1, the application scenario 100 may include a terminal device 101 installed with a battery and a charger 102, where the charger 102 may connect the terminal device 101 through a data line to charge the battery of the terminal device 101.
It should be understood that the charger 102 described above is a charger that supports a quick charging function. The terminal device 101 is a terminal device supporting a fast charging function.
The quick charging function refers to a charging function which can enable the battery to reach or approach a full-charge state within a point time (such as 1-2 hours).
The fast charge phase of the battery may include the following three phases:
1. a pre-charge phase (which may also be referred to as a trickle charge phase). When the battery capacity of the terminal device 101 is insufficient, the battery voltage of the terminal device may be lower than a certain threshold, and in order to protect the battery safety, the terminal device 101 may perform recovery charging on the battery by using a small current through the charger 102.
2. In the constant current charging phase, the terminal device 101 may charge the battery with a constant current through the charger 102, and since the charging speed in this phase is fast, the phase may also be referred to as a fast charging phase.
3. In a constant voltage charging phase (also referred to as a continuous charging phase), the terminal device 101 may charge the battery with a constant voltage through the charger 102, and in this phase, since the battery is charged to be full, the charging current is reduced to ensure the safety of the battery, so the charging speed in this phase is slower than that in the constant current charging phase.
It should be understood that the charger related to the embodiments of the present application is a charger supporting a quick charging function. The terminal equipment related to the embodiment of the application is the terminal equipment supporting the quick charging function.
The terminal device according to an embodiment of the present application may be a mobile phone (mobile phone), a tablet computer, a laptop computer, a palmtop computer, a Mobile Internet Device (MID), a wearable device, a Virtual Reality (VR) device, an Augmented Reality (AR) device, a smart screen, an Artificial Intelligence (AI) sound, an earphone, a terminal in industrial control (industrial control), a terminal in unmanned driving (self driving), a terminal in remote surgery (remote medical supply), a terminal in smart grid (smart grid), a terminal in transportation safety (transportation safety), a terminal in smart city (smart city), a terminal in smart home (smart home), a terminal in Personal Digital Assistant (PDA), and so on.
Exemplarily, fig. 2 is a schematic diagram of a hardware structure of a terminal device 200 according to an embodiment of the present application. As shown in fig. 2, the terminal device 200 may include: a processor 210, an external memory interface 220, an internal memory 221, a Universal Serial Bus (USB) interface 230, a charge management module 240, a power management module 241, and a battery 242.
Processor 210 may include one or more processing units, such as: the processor 210 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, a Display Processing Unit (DPU), and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors. In some embodiments, terminal device 200 may also include one or more processors 210. The processor may be, among other things, a neural center and a command center of the terminal device 200. The processor can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution. A memory may also be provided in processor 210 for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may hold instructions or data that have been used or recycled by the processor 210. If the processor 210 needs to use the instruction or data again, it can be called directly from the memory. This avoids repeated accesses, reduces the latency of the processor 210 and thus improves the efficiency of the terminal device 200.
In some embodiments, processor 210 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc. The USB interface 230 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 230 may be used to connect a charger to charge the terminal device 200, and may also be used to transmit data between the terminal device 200 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone.
It should be understood that the interface connection relationship between the modules illustrated in the embodiment of the present application is an illustrative description, and does not limit the structure of the terminal device 200. In other embodiments of the present application, the terminal device 200 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charge management module 240 is configured to receive a charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 240 may receive charging input from a wired charger via the USB interface 230. In some wireless charging embodiments, the charging management module 240 may receive a wireless charging input through a wireless charging coil of the terminal device 200. The terminal device 200 can be powered by the power management module 241 while the battery 242 is charged by the charging management module 240.
The power management module 241 is used to connect the battery 242, the charging management module 240 and the processor 210. The power management module 241 receives input from the battery 242 and/or the charge management module 240 to power the processor 210, the internal memory 221, and the like. The power management module 241 may also be used to monitor parameters such as battery capacity, battery cycle number, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 241 may also be disposed in the processor 210. In other embodiments, the power management module 241 and the charging management module 240 may be disposed in the same device.
The external memory interface 220 may be used to connect an external memory card, such as a Micro SD card, to extend the storage capability of the terminal device 200. The external memory card communicates with the processor 210 through the external memory interface 220 to implement a data storage function. For example, data files such as music, photos, videos, and the like are saved in the external memory card.
Internal memory 221 may be used to store one or more computer programs comprising instructions. The processor 210 may cause the terminal device 200 to execute various functional applications, data processing, and the like by executing the above-described instructions stored in the internal memory 221. The internal memory 221 may include a program storage area and a data storage area. Wherein, the storage program area can store an operating system; the storage area may also store one or more application programs (e.g., gallery, contacts, etc.), etc. The storage data area may store data (such as photos, contacts, etc.) created during use of the terminal device 200, and the like. In addition, the internal memory 221 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 (UFS), and the like. In some embodiments, processor 210 may cause terminal device 100 to execute various functional applications and data processing by executing instructions stored in internal memory 221 and/or instructions stored in a memory disposed in processor 210.
The internal memory 221 may be used to store a constant voltage charging voltage, a constant current charging current, a stop charging current, and the like in the embodiment of the present application.
Optionally, the terminal device 200 may further include: antenna 1, antenna 2, mobile communication module 250, wireless communication module 260. The wireless communication function of the terminal device 200 may be implemented by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, 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 terminal device 200 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as 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 250 may provide a solution including 2G/3G/4G/5G wireless communication and the like applied to the terminal device 200. The mobile communication module 250 may include at least one filter, switch, power amplifier, low noise amplifier, etc. The mobile communication module 250 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 250 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 250 may be disposed in the processor 210. In some embodiments, at least some of the functional modules of the mobile communication module 250 may be disposed in the same device as at least some of the modules of the processor 210.
The wireless communication module 260 may provide a solution for wireless communication applied to the terminal device 200, including Wireless Local Area Networks (WLANs), bluetooth, Global Navigation Satellite System (GNSS), Frequency Modulation (FM), NFC, Infrared (IR), and the like. The wireless communication module 260 may be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 210. The wireless communication module 260 may also receive a signal to be transmitted from the processor 210, frequency-modulate and amplify the signal, and convert the signal into electromagnetic waves via the antenna 2 to radiate the electromagnetic waves.
Optionally, terminal device 200 may also include a display screen 294. The display screen 294 is used to display images, video, and the like. The display screen 294 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, terminal device 200 may include 1 or N display screens 294, N being a positive integer greater than 1.
Optionally, the terminal device 200 may further include a camera 293. The terminal device 200 may implement a photographing function through the ISP, one or more cameras 293, a video codec, a GPU, one or more display screens 294, and an application processor, etc.
Optionally, the terminal device 200 may further include: audio module 270, speaker 270A, receiver 270B, microphone 270C, headphone interface 270D, sensor 280, keys 290 and SIM card interface 295. The sensors 280 may include a pressure sensor 280A, an air pressure sensor 280C, a magnetic sensor 280D, an acceleration sensor 280E, a distance sensor 280F, a proximity light sensor 280G, a fingerprint sensor 280H, a temperature sensor 280J, a touch sensor 280K, an ambient light sensor 280L, a bone conduction sensor 280M, and the like. It is to be understood that the illustrated structure of the present embodiment does not constitute a specific limitation to the terminal device 200. In other embodiments of the present application, terminal device 200 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The software system of the terminal device 200 may adopt a hierarchical architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application exemplifies a software structure of the terminal device 200 by taking an Android system with a layered architecture as an example.
Fig. 3 is a block diagram of a software structure of a terminal device to which the embodiment of the present application is applied. The layered architecture divides the software system of the terminal device 200 into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system may be divided into five layers, an application layer (applications), an application framework layer (application framework), an Android runtime (Android runtime), and a system library, a kernel layer (kernel), and a hardware layer (hardware layer).
The application layer may include a series of application packages, and the application layer runs the application by calling an Application Programming Interface (API) provided by the application framework layer. As shown in fig. 3, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, music, video, short message, etc.
The application framework layer provides an API and programming framework for the applications of the application layer. The application framework layer includes a number of predefined functions. As shown in FIG. 3, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like. The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc. The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The phone manager is used to provide a communication function of the terminal apparatus 200. Such as management of call status (including on, off, etc.). The resource manager provides various resources, such as localized strings, icons, pictures, layout files, video files, etc., to the application. The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction.
As shown in fig. 3, the system layer may include a surface manager, a media library, and the like. The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications. The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
The kernel layer is a layer between hardware and software. The kernel layer is used for driving hardware so that the hardware works. The core layer may include a charge driver, a temperature control module, an impedance detection module, and a charge control module.
And the hardware layer can contain hardware devices such as a charging chip, a charger detection chip, a fuel gauge and a battery. The electricity meter comprises a voltage detection module and a current detection module, the charger detection chip can comprise a charger detection module, and the charging chip can comprise a charger weak charging protection module.
In one embodiment, the application framework layer, android runtime, and system library shown in FIG. 3 may be implemented as one layer, referred to as the new application framework layer, and the communication interface between the application layer and the application framework layer may be implemented as a separate toolkit (KIT) layer.
In the following embodiments, a software architecture of a terminal device includes five layers, a first layer is an application layer, a second layer is a KIT layer, a third layer is a new application framework layer, a fourth layer is a kernel layer, and a fifth layer is a hardware layer. It should be understood that, in other possible implementations, a layer that implements the same function may be referred to by other names, or a layer that implements the function of multiple layers may be referred to as one layer, or a layer that implements the function of multiple layers may be divided into multiple layers, which is not limited in this application.
Along with the continuous promotion of terminal equipment performance, lead to terminal equipment to have appeared battery power consumption fast scheduling problem, and traditional charger charging speed is slower, seriously influences user experience.
At present, a user can use a quick-charging charger to realize quick charging of a terminal device battery. However, in the stage of using the fast charger to charge the battery at a constant voltage, in order to ensure the safety of the battery, the charging current is reduced, which causes the charging speed in the constant voltage stage to be reduced, and affects the overall charging efficiency. Fig. 4 shows a relationship between the charging current and the charging voltage of the battery. As shown in fig. 4, a line 1 indicates a charging voltage, and a line 2 indicates a charging current. As can be seen from fig. 4, the charging current of the battery is the maximum charging current in the constant current charging phase, and the charging voltage gradually increases in this phase. In the constant voltage charging stage, in order to ensure the safety of the battery, the charging current is gradually reduced, the charging voltage of the battery reaches the maximum, namely the maximum charging voltage, and the charging is stopped when the charging current is reduced to the charging stopping current. The charging current in the constant voltage charging stage is small, so that the constant voltage charging time is long, and the overall charging time is influenced.
For example, with a large current of constant current charging, the voltage of the lithium battery gradually increases, and when the lithium battery is charged to a full charge (i.e., the voltage of the battery reaches the full charge voltage of the battery), lithium ions in the lithium battery are accumulated on the negative electrode of the battery, and crystals are formed to cause a short circuit of the battery. Therefore, for safety reasons and to ensure that the lithium battery can be fully charged, the terminal device can charge the lithium battery at a constant voltage and reduce the current. The charging current calculation formula of the terminal device is as follows:
CV-VBAT=(Rinternal+Rline)*IBAT
wherein CV is the output voltage of the charger supporting the quick charge (may also be referred to as the charging voltage of the battery), VBATVoltage of terminal equipment battery, RinternalAnd RlineRespectively, the battery impedance of the terminal equipment and the board-level line impedance of the terminal equipment, IBATThe output current of the charger that supports the quick charge (may also be referred to as the charging current of the battery) is set. As shown in the above formula, when the output voltage CV of the charger is constant, the battery voltage V of the terminal deviceBATWill gradually rise due to charging and the battery impedance R of the terminal device will riseinternalAnd board-level impedance R of the terminal equipmentlineThe change is small (negligible), resulting in the above-mentioned charging current IBATWill gradually decrease.
Fig. 5 shows a relationship between the charging current of the battery and the battery charge amount. As shown in fig. 5, line 1 represents the charging current, and line 2 represents the battery level. As can be seen from fig. 5, the charging current of the battery in the constant current charging phase is relatively large, and the slope of the corresponding battery capacity is relatively large, which indicates that the charging speed of the battery in the constant current charging phase is relatively fast. In the constant-voltage charging stage, the slope of the corresponding battery capacity is reduced along with the reduction of the charging current, which indicates that the charging speed in the constant-voltage charging stage is lower than the charging speed in the constant-current charging stage. Therefore, in the whole charging process, the charging current in the constant-voltage charging stage is small, the charging time is long, and the whole charging time is influenced.
At present, the duration of the constant voltage charging can be shortened by increasing the voltage of the constant voltage charging. However, this method has problems of unsafe charging and poor user experience.
In view of this, the present application provides a charging method, in which a terminal device may determine a current maximum charging current of a battery based on a limiting current of the battery and a limiting current of a charger in a constant voltage charging stage of the battery. The terminal device may obtain an expected maximum charging voltage of the battery based on the maximum charging current. The terminal equipment can take the expected maximum charging voltage as the maximum charging voltage of the battery under the condition that the expected maximum charging voltage is smaller than the preset safety threshold voltage of the battery, and charges the battery by using the maximum charging voltage, so that the constant voltage charging duration can be shortened and the charging efficiency can be improved while the charging safety and the user experience are ensured.
In order to facilitate clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, terms such as "first" and "second" are used to distinguish the same items or similar items with basically the same functions and actions, and the order of the items is not limited. Those skilled in the art will appreciate that the terms "first," "second," etc. do not denote any order or quantity, nor do the terms "first," "second," etc. denote any order or importance.
It is noted that the words "exemplary," "for example," and "such as" are used herein to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
Further, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, and c, may represent: a, or b, or c, or a and b, or a and c, or b and c, or a, b and c, wherein a, b and c can be single or multiple.
Fig. 6 is a schematic flow chart of a charging method 600 according to an embodiment of the present disclosure. The method 600 may be applied to the application scenario 100 shown in fig. 1, and may be applied to other application scenarios, which is not limited in this embodiment. The method 600 may be performed by either of the terminal devices shown in fig. 2 or fig. 3. As shown in fig. 6, the method 600 includes the steps of:
s601, when entering a constant voltage charging stage, the terminal device obtains limiting current data, wherein the limiting current data comprises a thermal protection limiting current of a battery and a limiting current of a charger, and the limiting current of the charger comprises at least one of a type limiting current of the charger, the thermal protection limiting current of the charger or a weak charge protection limiting current of the charger.
It is to be understood that the thermal protection limit current of the battery may be understood as the corresponding maximum safe current of the battery at different temperatures. The type of charger limiting current can be understood as the maximum safe current for different types of chargers. The thermal protection of the charger limits the current to be understood as the maximum safe current of the charger at different temperatures. The weak charge protection of the charger limits the current to be understood as the maximum safe current of the charger.
And S602, the terminal equipment determines the maximum charging current of the battery based on the limited current data.
In a possible implementation, the terminal device may determine the maximum charging current of the battery based on the limit current of the charger.
In another possible implementation manner, the terminal device may determine the maximum charging current of the battery based on the thermal protection limit current of the battery.
S603, the terminal device determines the maximum charging voltage of the battery based on the maximum charging current.
In one possible implementation, the terminal device may obtain an expected maximum charging voltage based on an impedance and a maximum charging current, and determine the expected maximum voltage as the maximum charging voltage if it is determined that the expected charging voltage is less than a preset safety threshold voltage, where the impedance includes at least one of an impedance of the battery, a board impedance of the terminal device, or a connector impedance of the terminal device.
And S604, the terminal equipment charges the battery by adopting the maximum charging voltage.
Alternatively, in the process of charging with the maximum voltage, the terminal device may also obtain a charging current (which may also be referred to as a second actual charging current) of the battery in real time, and determine whether the battery is fully charged based on the charging current.
S605, the terminal device determines the charging stop current of the battery based on the maximum charging current.
In one possible implementation, the terminal device may determine the maximum charging current of the battery as the stop charging current of the battery.
In another possible implementation, the terminal device may determine the stop-charging current based on a safety threshold voltage of the battery, a full-charge voltage of the battery, and the impedance.
And S606, under the condition that the second actual charging current is smaller than the charging stopping current, the terminal equipment stops charging the battery by using the maximum charging voltage.
It should be understood that the second actual charging current is the real-time charging current obtained by the terminal device during the constant-voltage charging phase of the battery using the maximum charging voltage.
According to the charging method, the terminal equipment can determine the maximum charging current of the battery based on the limiting current of the battery and the limiting current of the charger in the constant-voltage charging stage of the battery. The terminal device may obtain an expected maximum charging voltage of the battery based on the maximum charging current. The terminal device may use the expected maximum charging voltage as the maximum charging voltage of the battery when the expected maximum charging voltage is less than or equal to a preset safe threshold voltage of the battery. The terminal equipment can charge the battery by using the maximum charging voltage, so that the charging safety and the user experience are guaranteed, the constant-voltage charging time is shortened, and the charging efficiency is improved. In addition, the terminal equipment can also determine the current for stopping charging of the battery, so that the problems of rising of the internal pressure of the battery or deformation of the battery and the like caused by continuous charging under the condition that the electric quantity of the battery is full are avoided, the performance of the battery is guaranteed, and the charging safety is improved.
As an alternative embodiment, the terminal device may further obtain a current real-time charging current (which may also be referred to as a first actual charging current) of the battery and a current real-time charging voltage (which may also be referred to as a first actual charging voltage) of the battery when the battery enters the constant voltage charging phase. The terminal device may determine the maximum charging current of the battery based on a minimum value of the limit currents of the charger, the first actual charging voltage, and a conversion efficiency of a charging chip of the terminal device, in a case where the first actual charging current is equal to the minimum value of the limit currents of the charger. The terminal device may further determine an expected maximum charging voltage of the battery based on the full-charge voltage, the impedance, and the maximum charging current of the battery, and determine the expected maximum charging voltage as the maximum charging voltage in a case where the expected maximum charging voltage is determined to be less than or equal to a preset safety threshold voltage of the battery.
It should be understood that the current real-time charging current of the battery and the current real-time charging voltage of the battery are obtained by the terminal device during the constant voltage phase before the battery is charged by using the maximum charging voltage.
Fig. 7 is a schematic flow chart of yet another charging method 700 provided by an embodiment of the present application. The method 700 may be applied to the application scenario 100 shown in fig. 1, and may be applied to other application scenarios, which is not limited in this embodiment. The method 700 may be performed by either of the terminal devices shown in fig. 2 or fig. 3. As shown in fig. 7, the method 700 includes the steps of:
and S701, the terminal equipment judges whether the first actual charging current is equal to the minimum value of the limiting current of the charger.
It should be understood that the determination of whether the first actual charging current is equal to the minimum value of the limit current of the charger is to determine whether the thermal protection limit current of the battery or the limit current of the charger is effective in the constant-voltage charging phase.
For example, if the limited current of the charger is 5A, which indicates that the maximum safe current of the charger is 5A, the current exceeding 5A will affect the normal use of the charger. If the thermal protection limit current of the battery is 6A, which indicates that the maximum safe charging current of the battery is 6A, when the current exceeds 6A, the problems of battery heating, bulging and the like are caused, and the service life of the battery is influenced. The terminal device may determine the limiting current to be 5A in order to ensure that both the charger and the battery can operate normally.
S702, in the case that it is determined that the first actual charging current is equal to the minimum value of the limiting currents of the charger, the terminal device may determine the maximum charging current of the battery based on the minimum value of the limiting currents of the charger, the first actual charging voltage, and the conversion efficiency of the charging chip of the terminal device.
S703, the terminal device determines an expected maximum charging voltage of the battery based on the maximum charging current and an impedance, where the impedance includes at least one of an impedance of the battery, a board impedance of the terminal device, or a connector impedance of the terminal device.
Illustratively, in a possible implementation, the impedance includes the impedance of the battery, the impedance of the board of the terminal device, and the impedance of the connector of the terminal device, and the terminal device may further use the formula VBATfull+R*Icvmax=CV′maxCalculating to obtain expected maximum charging voltage, wherein VBATfullR is the sum of the impedance of the battery, the hardening impedance of the terminal equipment and the connector impedance of the terminal equipment, IcvmaxIs the maximum charging current, CV ', of the battery'maxThe expected maximum charging voltage is as described above.
It should be understood that in another possible implementation manner, the impedance includes any one of the impedance of the battery, the impedance of the board of the terminal device, or the impedance of the connector of the terminal device, and the R may be any one of the impedance of the battery, the impedance of the board of the terminal device, or the impedance of the connector of the terminal device.
For example, if the impedance includes an impedance of the battery, R is the impedance of the battery. And if the impedance comprises the hardened impedance of the terminal equipment, R is the hardened impedance of the terminal equipment. And if the impedance comprises the connector impedance of the terminal equipment, R is the connector impedance of the terminal equipment.
In yet another possible implementation manner, if the impedance includes any two of an impedance of the battery, a board impedance of the terminal device, or a connector impedance of the terminal device, R is a sum of any two of the impedance of the battery, the board impedance of the terminal device, or the connector impedance of the terminal device.
For example, if the impedance includes an impedance of the battery and a board impedance of the terminal device, the R may be a sum of the impedance of the battery and the board impedance of the terminal device. If the impedance includes the impedance of the battery and the connector impedance of the terminal device, the R may be a sum of the impedance of the battery and the connector impedance of the terminal device. If the impedance includes a board impedance of the terminal device and a connector impedance of the terminal device, the R may be a sum of the board impedance of the terminal device and the connector impedance of the terminal device.
S704, determine whether the expected maximum charging voltage is less than or equal to the preset safe threshold voltage.
It should be understood that the preset safe threshold voltage may indicate the maximum safe voltage of the battery, and if the voltage exceeds the preset safe threshold voltage, the charging safety is low. Therefore, in order to ensure the charging safety, the terminal device needs to determine whether the actual charging voltage meets the preset safety threshold voltage or not.
S705, in a case that it is determined that the expected maximum charging voltage is less than or equal to the preset safe threshold voltage, the terminal device determines the expected maximum charging voltage as the maximum charging voltage.
And S706, the terminal equipment charges the battery by adopting the maximum charging voltage.
Optionally, in the process of charging the battery by using the maximum charging voltage, the terminal device may further determine whether the battery is fully charged, so as to avoid the problems of increase in internal pressure of the battery, deformation of the battery, and the like caused by continuous charging even when the battery is fully charged.
And S707, the terminal equipment judges whether the expected maximum charging voltage is smaller than a preset safety threshold voltage.
And S708, under the condition that the expected maximum charging voltage is determined to be less than the preset safety threshold voltage, the terminal equipment determines the maximum charging current as the charging stopping current.
S709, the terminal device obtains an actual maximum charging voltage of the battery, and determines whether the actual maximum charging voltage is less than or equal to the maximum charging voltage.
It should be understood that the actual maximum charging voltage is obtained by the terminal device during the phase of charging the battery using the maximum charging voltage.
S710, when the actual maximum charging voltage is less than or equal to the maximum charging voltage, the terminal device obtains the second actual charging current, and determines whether the second actual charging current is less than the charging stopping current of the battery.
It should be understood that the second actual charging current is the charging current of the terminal device for the battery obtained in the constant voltage charging phase of the battery using the maximum charging voltage.
And S711, in the case that the second actual charging current is determined to be smaller than the charging stopping current of the battery, the terminal equipment stops charging the battery by adopting the maximum charging voltage.
Alternatively, if the expected maximum charging voltage is greater than a preset safe threshold voltage, it indicates that there is a safety problem with charging the battery using the expected maximum charging voltage. The terminal device continues to perform the above S701 to S704 after the above S704. I.e., the maximum charging current is re-determined and a new expected maximum charging voltage consistent with safe and efficient charging is determined based on the maximum charging current.
Alternatively, if it is determined that the first actual charging current is not equal to the minimum value of the limit current of the charger, it indicates that the battery limit current is valid. The terminal device may further perform S712 after the above S701, and the terminal device acquires the battery current for the history period. S713, the terminal device may determine the maximum charging current based on a minimum value of the limit current of the battery thermal protection and the battery current of the history period.
It should be understood that the above history time period may be any time period within the constant voltage charging phase in the above S601.
Alternatively, if the expected maximum charging voltage is equal to the preset safe threshold voltage, after S707, the terminal device may further perform S714, and the terminal device determines to stop the charging current based on the safe threshold voltage, the full charge voltage of the battery, and the impedance.
Illustratively, in a possible implementation manner, the impedance includes an impedance of the battery, a board impedance of the terminal device, and a connector impedance of the terminal device, and the terminal device may further calculate the charging stopping current according to a formula.
(CVBATmax-VBATfull)/R=ITEM
Wherein CVBATmaxIs the safe threshold voltage, VBAT, of the batteryfullThe full-charge voltage of the battery is R which is the sum of the impedance of the battery, the hardening impedance of the terminal equipment and the connector impedance of the terminal equipment, and ITEM which is the stop charging current.
It should be understood that in another possible implementation manner, the impedance includes any one of the impedance of the battery, the impedance of the board of the terminal device, or the impedance of the connector of the terminal device, and the R may be any one of the impedance of the battery, the impedance of the board of the terminal device, or the impedance of the connector of the terminal device.
For example, if the impedance includes an impedance of the battery, R is the impedance of the battery. And if the impedance comprises the hardened impedance of the terminal equipment, R is the hardened impedance of the terminal equipment. And if the impedance comprises the connector impedance of the terminal equipment, R is the connector impedance of the terminal equipment.
In yet another possible implementation manner, if the impedance includes any two of an impedance of the battery, a board impedance of the terminal device, or a connector impedance of the terminal device, R is a sum of any two of the impedance of the battery, the board impedance of the terminal device, or the connector impedance of the terminal device.
For example, if the impedance includes an impedance of the battery and a board impedance of the terminal device, the R may be a sum of the impedance of the battery and the board impedance of the terminal device. If the impedance includes the impedance of the battery and the connector impedance of the terminal device, the R may be a sum of the impedance of the battery and the connector impedance of the terminal device. If the impedance includes a board impedance of the terminal device and a connector impedance of the terminal device, the R may be a sum of the board impedance of the terminal device and the connector impedance of the terminal device.
Alternatively, if the actual maximum charging voltage is greater than the maximum charging voltage, it indicates that there is a problem of low charging safety, so after S709, the terminal device may continue to perform S706 to S709, i.e., reuse the maximum charging voltage to charge the battery.
Alternatively, if it is determined that the second actual charging current is greater than or equal to the stop charging current of the battery, which indicates that the battery is not fully charged, after S710, the terminal device continues to perform S706 to S710, i.e., continues to use the maximum charging voltage to charge the battery.
In conjunction with the architecture shown in fig. 3, fig. 9 shows a schematic flowchart of another charging method 900 provided by the embodiment of the present application. As shown in fig. 9, the method 900 includes the steps of:
s901, the kernel layer sends a message requesting the charging state to the hardware layer. Correspondingly, the hardware layer receives a message from the kernel layer requesting the charge status.
And S902, the hardware layer sends a message that the charging state is the constant voltage charging state to the kernel layer. Correspondingly, the kernel layer receives the message that the charging state is the constant voltage charging state from the hardware layer.
And S903, the kernel layer sends a message requesting the current limiting validation information to the hardware layer. Correspondingly, the hardware layer receives a message from the kernel layer requesting the limited-current validation information.
And S904, the hardware layer sends the current limiting validation information to the kernel layer. Correspondingly, the kernel layer receives the limiting current validation information from the hardware layer.
And S905, determining the maximum charging current of the battery by the inner core layer based on the limited current validation information.
In a possible implementation manner, the thermal protection limiting current of the battery is effective, and the inner core layer determines the maximum charging current of the battery through the thermal protection limiting current of the battery based on the current limiting state.
In another possible implementation manner, the limiting current of the charger is effective, and the inner core layer determines the maximum charging current of the battery through the limiting current of the charger based on the current limiting state.
And S906, determining the maximum charging voltage of the battery by the inner core layer based on the impedance, the maximum charging current and the full-charge voltage of the battery.
In one possible implementation, the core layer determines an expected maximum charging voltage of the battery based on the impedance, the maximum charging current, and a full-charge voltage of the battery. And in the case that the expected maximum charging voltage is less than or equal to the safety threshold voltage of the battery, the core layer may determine the expected maximum charging voltage as the maximum charging voltage.
And S907, the kernel layer sends the maximum charging voltage of the battery to the hardware layer. Correspondingly, the hardware layer receives the maximum charging voltage of the battery from the core layer.
S908, the hardware layer charges the battery based on the maximum charging voltage.
In S909, the core layer determines the stop charging current of the battery based on the maximum charging current.
In one possible implementation, in a case where it is determined that the expected maximum charging voltage is less than the preset safe threshold voltage, the core layer may determine the maximum charging current as the stop charging current.
In another possible implementation, in a case where it is determined that the expected maximum charging voltage is equal to the preset safe threshold voltage, the core layer determines the stop charging current based on the safe threshold voltage, a full charge voltage of the battery, and the impedance.
And S910, when the second actual charging current in the time period of charging the battery by using the maximum charging voltage is less than the charging stopping current, the kernel layer sends a message of stopping charging the battery by using the maximum charging voltage to the hardware layer. Correspondingly, the hardware layer receives a message from the kernel layer to stop charging the battery using the maximum charging voltage.
And S911, the hardware layer stops charging the battery by using the maximum charging voltage.
In fig. 3, the charging control module in the core layer may specifically include a constant voltage charging detection module, a maximum charging current statistics module, a maximum charging voltage calculation module, a charging stopping current calculation module, and a charging stopping control module. As shown in particular in fig. 8.
The charging method provided by the present application will be further described below with reference to fig. 8, taking the examples that the limited current of the charger includes the type limited current of the charger, the thermal protection limited current of the charger, and the weak charge protection limited current of the charger as examples.
Fig. 10 illustrates yet another charging method 1000 of the present application. The method 1000 may be applied to the application scenario 100 shown in fig. 1, and may be applied to other application scenarios, which is not limited in this embodiment. As shown in fig. 10, the method 1000 includes the steps of:
and S1001, the constant voltage charging detection module sends a message of requesting a charging state to the charging chip. Correspondingly, the charging chip receives a message requesting a charging state from the constant voltage charging detection module.
And S1002, the charging chip sends a message that the charging state is the constant-voltage charging state to the constant-voltage charging detection module. Correspondingly, the constant voltage charging detection module receives a message that the charging state of the charging chip is the constant voltage charging state.
And S1003, the constant voltage charging detection module sends a message that the charging state is the constant voltage charging state to the maximum charging current statistics module. Correspondingly, the maximum charging current counting module receives the message that the charging state from the constant voltage charging detection module is the constant voltage charging state.
And S1004, the maximum charging current counting module sends a message requesting for limiting the current validation information to the charging chip. Correspondingly, the charging chip receives the message of the limiting current validation information from the maximum charging current statistical module.
S1005, the charging chip sends a message of the limited current of the charger to the maximum charging current statistics module. Correspondingly, the maximum charging current statistical module receives a message of the limiting current effect from the charger of the charging chip.
S1006, the maximum charging current statistics module sends a message requesting the type of the charger to limit the current to the charger detection module. Correspondingly, the charger detection module receives a message from the maximum charging current statistics module requesting the type limit current of the charger.
And S1007, the charger detection module sends the type limit current of the charger to the maximum charging current statistic module. Correspondingly, the charging chip receives the type limit current of the charger from the charger detection module.
And S1008, the maximum charging current counting module sends a message for requesting the weak charging protection limiting current of the charger to the weak charging protection module of the charger. Correspondingly, the charger weak charge protection module receives a message requesting the weak charge protection limiting current of the charger from the maximum charging current statistic module.
And S1009, the weak charging protection module of the charger sends the weak charging protection limiting current of the charger to the maximum charging current statistic module. Correspondingly, the maximum charging current statistical module receives the weak charging protection limiting current of the charger from the charger weak charging protection module.
S1010, the maximum charging current statistics module sends a message requesting a thermal protection limit current of the charger to the temperature control module. Correspondingly, the temperature control module receives a message from the charger of the maximum charging current statistics module requesting the thermal protection of the charger to limit the current.
And S1011, the temperature control module sends the thermal protection limiting current of the charger to the maximum charging current statistic module. Correspondingly, the maximum charging current statistical module receives the thermal protection limiting current of the charger from the temperature control module.
S1012, the maximum charging current statistics module sends a message requesting a first actual charging voltage to the voltage detection module. Correspondingly, the voltage detection module receives a message requesting a first actual charging voltage from the maximum charging current statistics module.
It should be understood that the first actual charging voltage is obtained during a constant voltage charging phase before the terminal device charges the battery without using the maximum charging voltage.
S1013, the voltage detection module sends the first actual charging voltage to the maximum charging current statistics module. Correspondingly, the maximum charging current statistic module receives the first actual charging voltage from the voltage detection module.
And S1014, the maximum charging current statistical module determines the maximum charging current of the battery based on the minimum value in the limiting currents of the charger, the first actual charging voltage and the conversion efficiency of the charging chip.
It should be understood that the minimum value among the above-described limit currents is the minimum limit current among the above-described type limit current of the charger, the weak charge protection limit current of the charger, and the thermal protection limit current of the charger.
And S1015, the maximum charging current statistic module sends the maximum charging current of the battery to the maximum charging voltage calculation module. Correspondingly, the maximum charging voltage calculation module receives the maximum charging current of the battery from the maximum charging current statistics module.
And S1016, the maximum charging current counting module sends the maximum charging current of the battery to the charging stopping current calculating module. Correspondingly, the stop charging current calculation module receives the maximum charging current of the battery from the maximum charging current statistic module.
S1017, the maximum charging voltage calculation module sends a message requesting impedance to the impedance detection module. Correspondingly, the impedance detection module receives a message requesting impedance from the maximum charging voltage calculation module.
And S1018. the impedance detection module sends the impedance of the battery, the hardening impedance of the terminal equipment and the connector impedance of the terminal equipment to the maximum charging voltage calculation module. Correspondingly, the maximum charging voltage calculation module receives the impedance of the battery, the impedance of the board of the terminal device, and the impedance of the connector of the terminal device from the impedance detection module.
S1019, the maximum charging voltage calculating module determines an expected maximum charging voltage of the battery based on a sum of the impedance of the battery, the hardening impedance of the terminal device, and the connector impedance of the terminal device, the maximum charging current, and a full-charge voltage of the battery.
S1020, the maximum charging voltage calculating module determines whether the expected maximum charging voltage is less than or equal to a preset safe threshold voltage.
And S1021, under the condition that the expected maximum charging voltage is determined to be less than or equal to the preset safety threshold voltage, the maximum charging voltage calculation module determines the expected maximum charging voltage as the maximum charging voltage of the battery.
S1022, the maximum charging voltage calculating module sends the maximum charging voltage of the battery to the charging chip. Correspondingly, the charging chip receives the maximum charging voltage of the battery from the maximum charging voltage calculation module.
And S1023, sending the maximum charging voltage of the battery to the charging stopping current calculating module by the maximum charging voltage calculating module. Correspondingly, the stop charging current calculation module receives the maximum charging voltage of the battery from the maximum charging voltage calculation module.
And S1024, the charging chip charges the battery based on the maximum charging voltage.
Optionally, if the charging chip sends a message that the limiting current of the charger is not valid to the maximum charging current statistics module, it indicates that the thermal protection limiting current of the battery is valid at this time. The maximum charging current statistics module may further transmit a message requesting a thermal protection limit current of the battery to the charging driver and a message requesting a battery current of the history period to the current detection module after the above S1005. In a case where the maximum charging current statistics module receives a thermal protection limit current of a battery and a battery current of a history period, the maximum charging current statistics module may determine the maximum charging current of the battery based on a minimum value of the battery currents of the history period and the thermal protection limit current of the battery.
Alternatively, if the expected maximum charging voltage is greater than the predetermined safe threshold voltage. The maximum charging voltage calculation module may further continue to perform the above-mentioned S1004 to S1020 after the above-mentioned S1020, i.e., re-calculate the maximum charging current and calculate a new expected maximum charging voltage based on the new maximum charging current.
Optionally, the charging method 1000 illustrated in fig. 10 described above follows. Corresponding to the above S1016 and S1023, the stop charging current calculation module may determine the stop charging current of the battery during the charging of the battery, and determine whether the battery is fully charged based on the stop charging current, when receiving the above maximum charging voltage (i.e. the expected maximum charging voltage) and the maximum charging current. This process is described in detail below in conjunction with fig. 11.
Fig. 11 illustrates yet another charging method 1100 according to an embodiment of the present application. As shown in fig. 11, the method 1100 includes the steps of:
s1101, the stop charging current calculating module determines whether the expected maximum charging voltage is less than a preset safe threshold voltage.
S1102, when the maximum charging voltage is expected to be less than the preset safe threshold voltage, the charging-stopping current calculating module determines the maximum charging current as the charging-stopping current.
S1103, the charging stop current calculation module sends the charging stop current and the maximum charging voltage to the charging stop control module. Correspondingly, the stop charging control module receives the stop charging current and the maximum charging voltage from the stop charging current calculation module.
S1104, the stop charging control module sends a message requesting the current actual maximum charging voltage to the voltage detection module. Correspondingly, the voltage detection module receives a message from the stop charging control module requesting the current actual maximum charging voltage.
It is to be understood that the actual maximum charging voltage is obtained in a stage of constant-voltage charging the battery using the above-described maximum charging voltage.
S1105, the voltage detection module sends the actual maximum charging voltage to the stop charging control module. Correspondingly, the stop charging control module receives the actual maximum charging voltage from the voltage detection module.
S1106, the stop charging control module determines whether the actual maximum charging voltage is less than or equal to the maximum charging voltage.
S1107, in case that it is determined that the actual maximum charging voltage is less than or equal to the maximum charging voltage, the stop charging control module sends a message requesting the second actual charging current to the current detection module.
And S1108, the current detection module sends a second actual charging current to the charging stopping control module. Correspondingly, the stop charging control module receives the second actual charging current from the current detection module.
S1109, the stop charging control module determines whether the second actual charging current is smaller than the stop charging current.
S1110, in case that it is determined that the second actual charging current is less than the charging stopping current, the charging stopping control module sends a message to the charging chip to stop charging the battery using the maximum charging voltage.
S1111, the charging chip stops charging the battery using the maximum charging voltage.
Alternatively, if the expected maximum charging voltage is equal to the preset safe threshold voltage, after S1101 above, the stop charging current calculation module may further determine the stop charging current based on the safe threshold voltage, the full charge voltage of the battery, and the impedance.
Optionally, if the actual maximum charging voltage is greater than the maximum charging voltage, after S1106, S1024 in the above embodiment and S1101 to S1106 in this embodiment are continuously executed.
Alternatively, if the second actual charging current is not less than the stop charging current, which indicates that the battery is not fully charged, after S1109, the stop charging control module may not perform any operation, so that the charging chip may continue to charge the battery using the maximum charging voltage.
Optionally, the charging-stopping current calculating module may actively obtain the maximum charging current from the maximum charging current counting module and obtain the maximum charging voltage from the maximum charging voltage calculating module, in addition to passively obtaining the maximum charging current and the maximum charging voltage through the above S1016 and S1023, which is not limited in this application.
It should be understood that the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
In the embodiments provided in the present application, the method provided in the embodiments of the present application is introduced from the perspective of the terminal device. In order to implement the functions in the method provided by the embodiment of the present application, the terminal device may include a hardware structure and/or a software module, and implement the functions in the form of a hardware structure, a software module, or a hardware structure and a software module. Whether any of the above-described functions is implemented as a hardware structure, a software module, or a hardware structure plus a software module depends upon the particular application and design constraints imposed on the technical solution.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed 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 can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (20)

1. A charging method applied to a terminal device having a battery mounted thereon, the terminal device being connected to a charger to place the battery in a charged state, the method comprising:
when the battery enters a constant voltage charging stage, the terminal equipment acquires limiting current data, wherein the limiting current data comprises a thermal protection limiting current of the battery and a limiting current of the charger, and the limiting current of the charger comprises at least one of a type limiting current of the charger, a thermal protection limiting current of the charger or a weak charge protection limiting current of the charger;
the terminal device determines the maximum charging current of the battery based on the limiting current data;
the terminal device determines the maximum charging voltage of the battery based on the maximum charging current;
and the terminal equipment charges the battery by adopting the maximum charging voltage.
2. The method of claim 1, wherein before the terminal device determines the maximum charging current of the battery based on the limiting current data, the method further comprises:
when the battery enters a constant voltage charging stage, the terminal equipment acquires a first actual charging current of the battery and a first actual charging voltage of the battery;
the terminal equipment judges whether the first actual charging current is equal to the minimum value of the limiting current of the charger or not;
the terminal device determining a maximum charging current of the battery based on the limiting current data, including:
in a case where the first actual charging current is equal to a minimum value of the limit current of the charger, the terminal device determines the maximum charging current based on the minimum value of the limit current of the charger, the first actual charging voltage, and a conversion efficiency of a charging chip of the terminal device.
3. The method of claim 2, further comprising:
under the condition that the first actual charging current is not equal to the minimum value of the limiting current of the charger, the terminal equipment acquires the battery current of a historical time period and counts the minimum current in the battery current of the historical time period;
the terminal device determines the maximum charging current based on a thermal protection limit current of the battery and a minimum current of battery currents of the historical time periods.
4. The method of any one of claims 1 to 3, wherein the terminal device determines a maximum charging voltage of the battery based on the maximum charging current, comprising:
the terminal device obtains impedance, wherein the impedance comprises at least one of impedance of the battery, impedance of a board of the terminal device, or impedance of a connector of the terminal device;
the terminal device determines a maximum charging voltage of the battery based on the maximum charging current and the impedance.
5. The method of claim 4, wherein the terminal device determines a maximum charging voltage of the battery based on the maximum charging current and the impedance, comprising:
the terminal device determining an expected maximum charging voltage of the battery based on a full-charge voltage of the battery, the impedance, and the maximum charging current;
and under the condition that the expected maximum charging voltage is less than or equal to the preset safety threshold voltage of the battery, the terminal equipment determines the expected maximum charging voltage as the maximum charging voltage.
6. The method of claim 5, wherein the expected maximum charging voltage is calculated by the following equation:
VBATfull+R*Icvmax=CV′max
wherein, VBATfullR is the full-charge voltage of the battery, R is the sum of the impedance of the battery, the hardening impedance of the terminal equipment and the connector impedance of the terminal equipment, IcvmaxIs the maximum charging current, CV'maxIs the expected maximum charging voltage.
7. The method of any of claims 1-6, wherein after the terminal device charges the battery with the maximum charging voltage, the method further comprises:
during a time period in which the terminal device charges the battery using the maximum charging voltage, the terminal device determines a second actual charging current of the battery and a stop charging current of the battery;
and under the condition that the second actual charging current of the battery is determined to be smaller than the charging stopping current of the battery, the terminal equipment stops charging the battery by adopting the maximum charging voltage.
8. The method of claim 7, wherein the terminal device determines a stop charging current for the battery, comprising:
under the condition that the expected maximum charging voltage is smaller than the preset safety threshold voltage, the terminal equipment determines the maximum charging current as the charging stopping current; alternatively, the first and second electrodes may be,
in a case where the expected maximum charging voltage is equal to the preset safe threshold voltage, the terminal device determines the stop charging current based on the safe threshold voltage, a full-charge voltage of the battery, and the impedance.
9. The method of claim 7 or 8, wherein the terminal device determines a second actual charging current for the battery, comprising:
in a time period when the terminal device charges the battery by using the maximum charging voltage, the terminal device acquires the actual maximum charging voltage of the battery and judges whether the actual maximum charging voltage is less than or equal to the maximum charging voltage;
the terminal device determines the second actual charging current in a case where the actual maximum charging voltage is less than or equal to the maximum charging voltage.
10. The method according to any one of claims 7 to 9, wherein the stop charging current is calculated by the following formula:
(CVBATmax-VBATfull)/R=ITEM
wherein CVBATmaxIs the safe threshold voltage, VBAT, of the batteryfullAnd R is the full-charge voltage of the battery, the sum of the impedance of the battery, the hardening impedance of the terminal equipment and the connector impedance of the terminal equipment, and ITEM is the charging stopping current.
11. The method according to any one of claims 1 to 10, wherein the terminal device further comprises: constant voltage charging detection module, charging chip, charging drive, charger detection module, the weak protection module that fills of charger, temperature control module, maximum charging current statistics module and maximum charging voltage calculation module before terminal equipment acquires the restriction current data, the method still includes:
the charging chip determines the charging state;
the constant voltage charging module receives a message that the charging state sent by the charging chip is the constant voltage charging state, and determines that the battery enters a constant voltage charging stage;
the terminal device acquires the limiting current data, and comprises:
the maximum charging current counting module receives the type limiting current of the charger sent by the charger detection module;
the maximum charging current statistical module receives the weak charging protection limiting current of the charger, which is sent by the weak charging protection module of the charger;
the maximum charging current statistical module receives the thermal protection limiting current of the charger sent by the temperature control module; alternatively, the first and second electrodes may be,
the maximum charging current statistical module receives the thermal protection limiting current of the battery sent by the charging driver;
the terminal device determining a maximum charging current of the battery based on the limiting current data, including:
the maximum charging current statistical module determines the maximum charging current of the battery based on the limiting current data;
the terminal device determines a maximum charging voltage of the battery based on the maximum charging current, including:
the maximum charging voltage calculation module receives the maximum charging current of the battery sent by the maximum charging current statistics module;
the maximum charging voltage calculation module determines a maximum charging voltage of the battery based on the maximum charging current;
the terminal equipment adopts the maximum charging voltage to charge the battery, and the method comprises the following steps:
the charging chip receives the maximum charging voltage sent by the maximum charging voltage calculation module;
and the charging chip charges the battery by adopting the maximum charging voltage.
12. The method of claim 11, wherein the terminal device further comprises: a current detection module and a voltage detection module, before the maximum charging current statistics module determines the maximum charging current of the battery based on the limiting current data, the method further comprising:
when the battery enters a constant voltage charging stage, the charging chip receives a first actual charging current of the battery sent by the current detection module;
the charging chip receives a first actual charging voltage of the battery sent by the voltage detection module;
the charging chip judges whether the first actual charging current is equal to the minimum value of the limiting current of the charger;
the maximum charging current statistics module determines a maximum charging current of the battery based on the limiting current data, including:
the maximum charging current counting module receives a message that the limited current of the charger takes effect and sent by the charging chip under the condition that the first actual charging current is equal to the minimum value of the limited current of the charger;
the maximum charging current statistical module determines the maximum charging current based on a minimum value in the limiting currents of the charger, the first actual charging voltage and the conversion efficiency of a charging chip of the terminal device.
13. The method of claim 12, further comprising:
under the condition that the first actual charging current is not equal to the minimum value of the limiting current of the charger, the maximum charging current counting module receives a message that the thermal protection limiting current of the battery is effective and sent by the charging chip;
the maximum charging current statistical module receives the battery current of the historical time period sent by the current detection module;
the maximum charging current statistics module determines the maximum charging current based on a thermal protection limit current of the battery and a minimum current of battery currents of the historical time period.
14. The method according to any one of claims 11 to 13, wherein the terminal device further comprises: an impedance detection module, the maximum charging voltage calculation module determining a maximum charging voltage of the battery based on the maximum charging current, comprising:
the maximum charging voltage calculation module receives the impedance sent by the impedance detection module, wherein the impedance comprises at least one of impedance of the battery, impedance of a board of the terminal device, or impedance of a connector of the terminal device;
the maximum charging voltage calculation module determines a maximum charging voltage of the battery based on the maximum charging current and the impedance.
15. The method of claim 14, wherein the maximum charging voltage calculation module determines a maximum charging voltage of the battery based on the maximum charging current and the impedance, comprising:
the maximum charging voltage calculation module determines an expected maximum charging voltage of the battery based on a full charge voltage of the battery, the impedance, and the maximum charging current;
the maximum charging voltage calculation module determines the expected maximum charging voltage as the maximum charging voltage if the expected maximum charging voltage is less than or equal to a preset safe threshold voltage of the battery.
16. The method according to any one of claims 11 to 15, wherein the terminal device further comprises: a charging current stop calculation module, a charging control stop module, after the charging chip charges the battery with the maximum charging voltage, the method further comprising:
the charging stopping current calculating module receives a second actual charging current of the battery sent by the current detection module and determines the charging stopping current of the battery;
the charging stopping control module receives the charging stopping current sent by the charging stopping current calculation module;
under the condition that the second actual charging current of the battery is determined to be smaller than the charging stopping current of the battery, the charging chip receives a message which is sent by the charging stopping control module and used for stopping charging the battery by the maximum charging voltage;
and the charging chip stops adopting the maximum charging voltage to charge the battery.
17. The method of claim 16, wherein the stop charge current calculation module determines a stop charge current for the battery, comprising:
the charging stopping current calculating module receives the maximum charging current sent by the maximum charging current counting module;
the charging stopping current calculating module receives the expected maximum charging voltage sent by the maximum charging voltage calculating module;
the charging current stopping calculation module determines the maximum charging current as the charging current stopping when the expected maximum charging voltage is less than the preset safe threshold voltage; alternatively, the first and second electrodes may be,
the stop charging current calculation module determines the stop charging current based on the safety threshold voltage, a full charge voltage of the battery, and the impedance if the expected maximum charging voltage is equal to the preset safety threshold voltage.
18. The method according to claim 16 or 17, wherein the terminal device further comprises: a stop charging control module, the current detection module determining a second actual charging current for the battery, comprising:
the charging stopping control module receives the charging stopping current sent by the charging stopping current calculation module;
the charging stopping control module receives the actual maximum charging voltage of the battery sent by the voltage detection module in a time period when the charging chip charges the battery by using the maximum charging voltage;
the charging stop control module judges whether the actual maximum charging voltage is less than or equal to the maximum charging voltage;
the charging stop control module receives the second actual charging current sent by the current detection module when the actual maximum charging voltage is less than or equal to the maximum charging voltage.
19. A terminal device, comprising: a processor coupled to a memory, the memory storing computer-executable instructions, the processor executing the memory-stored computer-executable instructions such that the processor performs the method of any of claims 1-18.
20. A computer-readable storage medium for storing a computer program comprising instructions for implementing the method of any one of claims 1 to 18.
CN202111034582.1A 2021-09-03 2021-09-03 Charging method and terminal equipment Active CN113904399B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111034582.1A CN113904399B (en) 2021-09-03 2021-09-03 Charging method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111034582.1A CN113904399B (en) 2021-09-03 2021-09-03 Charging method and terminal equipment

Publications (2)

Publication Number Publication Date
CN113904399A true CN113904399A (en) 2022-01-07
CN113904399B CN113904399B (en) 2022-10-14

Family

ID=79188622

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111034582.1A Active CN113904399B (en) 2021-09-03 2021-09-03 Charging method and terminal equipment

Country Status (1)

Country Link
CN (1) CN113904399B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015204705A (en) * 2014-04-15 2015-11-16 リコー電子デバイス株式会社 Charge control circuit and method, and charging device
CN105790345A (en) * 2014-12-26 2016-07-20 中兴通讯股份有限公司 Charging control method and device
CN107808987A (en) * 2016-09-08 2018-03-16 宁德新能源科技有限公司 Secondary battery charging method
CN111416412A (en) * 2020-04-20 2020-07-14 Oppo广东移动通信有限公司 Charging control method and device and terminal equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015204705A (en) * 2014-04-15 2015-11-16 リコー電子デバイス株式会社 Charge control circuit and method, and charging device
CN105790345A (en) * 2014-12-26 2016-07-20 中兴通讯股份有限公司 Charging control method and device
CN107808987A (en) * 2016-09-08 2018-03-16 宁德新能源科技有限公司 Secondary battery charging method
CN111416412A (en) * 2020-04-20 2020-07-14 Oppo广东移动通信有限公司 Charging control method and device and terminal equipment

Also Published As

Publication number Publication date
CN113904399B (en) 2022-10-14

Similar Documents

Publication Publication Date Title
US9509828B2 (en) Method of providing notification and electronic device thereof
KR102147088B1 (en) Method and apparatus for offering received information to user in a electronic device
US9784797B2 (en) Method for controlling and an electronic device thereof
CN110622522B (en) Electronic device and current consumption control method thereof
CN104869305A (en) Method for processing image data and apparatus for the same
KR102134420B1 (en) Apparatas and method for measuring a charge of location in the way of low power in an electronic device
US10432926B2 (en) Method for transmitting contents and electronic device thereof
KR20150066876A (en) Method for controlling an user interface and an electronic device
CN105320402A (en) Method of managing data and electronic device for processing the same
JP2016506587A (en) Page adaptation method, page adaptation device, terminal device, program, and recording medium
KR20150057085A (en) Apparatas and method for reducing a power consumption in an electronic device
KR20150027934A (en) Apparatas and method for generating a file of receiving a shoot image of multi angle in an electronic device
CN116094083B (en) Charging method, device and storage medium
KR20150054430A (en) Apparatas and method for conducting a multi sensor function in an electronic device
KR20150019813A (en) Method for controlling an content integrity and an electronic device
KR20150007723A (en) Mobile apparutus and control method thereof
CN113904399B (en) Charging method and terminal equipment
CN116231815B (en) Method for controlling charging and electronic equipment
KR20150026257A (en) Apparatas and method for updating a information of accessory in an electronic device
CN114123364A (en) Charging method for electronic device, electronic device and medium
CN111868668A (en) Method, terminal and server for searching candidate words of Chinese input method
CN207053558U (en) Remote read-write solid state hard disc and system
CN109167418A (en) A kind of wireless charging edge power down process method, system and storage medium
KR20150045560A (en) Apparatas and method for sorting a contents using for updated post information in an electronic device
CN115562514B (en) Touch display method, graphical interface and related device

Legal Events

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