WO2015081868A1 - 一种充电方法及电子设备 - Google Patents
一种充电方法及电子设备 Download PDFInfo
- Publication number
- WO2015081868A1 WO2015081868A1 PCT/CN2014/093012 CN2014093012W WO2015081868A1 WO 2015081868 A1 WO2015081868 A1 WO 2015081868A1 CN 2014093012 W CN2014093012 W CN 2014093012W WO 2015081868 A1 WO2015081868 A1 WO 2015081868A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- charging
- time
- battery
- current value
- phase
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/44—Methods for charging or discharging
- H01M10/446—Initial charging measures
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/44—Methods for charging or discharging
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/007—Regulation of charging or discharging current or voltage
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/007—Regulation of charging or discharging current or voltage
- H02J7/0071—Regulation of charging or discharging current or voltage with a programmable schedule
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/48—Accumulators combined with arrangements for measuring, testing or indicating the condition of cells, e.g. the level or density of the electrolyte
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0047—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
- H02J7/0048—Detection of remaining charge capacity or state of charge [SOC]
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Definitions
- the present invention relates to mobile communication technologies, and in particular, to a charging method and an electronic device.
- Electronic devices such as mobile phones and PADs.
- Electronic devices such as mobile phones and PADs generally use batteries for power supply.
- the battery power of electronic devices is insufficient, the battery needs to be charged to ensure the normal operation of the electronic devices.
- the way to charge the battery is to charge the battery at a fixed charging speed when there is a charging power input.
- the charging time has a certain limit, and the existing charging method charges the battery at a fixed charging speed even if the charging time is limited, and the charging according to the limitation cannot be achieved.
- the charging speed is adjusted in time to fully charge the battery during a limited charging time.
- the technical problem to be solved by the present invention is to provide a charging method and an electronic device to enable the charging speed to be adjusted according to a limited charging time, thereby fully charging the battery within a limited charging time.
- an embodiment of the present invention provides a charging method, which presets at least two current values, and the method includes:
- the battery is charged based on the charging current value.
- the charging phase of the battery includes a trickle charging phase, a constant current charging phase, and a constant voltage charging phase;
- the charging the battery based on the charging current value is specifically: charging the battery based on the charging current value in the constant current charging phase;
- the t 2 is a charging time for charging the battery from a start time of the constant current charging phase to an ending time of the constant current charging phase based on the candidate current value, wherein t 3 is Charging time of the battery from a start time of the constant voltage charging phase to an end time of the constant voltage charging phase;
- the t 1 is 0, and the t 2 is that the battery is charged from the remaining power to the The charging time at the end of the constant current charging phase, the t 3 being a charging time for charging the battery from the start time of the constant voltage charging phase to the end time of the constant voltage charging phase.
- the obtaining, by the preset current value, the at least one candidate current value is specific for:
- the t 2 being a charging time for charging the battery from a start time of the constant current charging phase to an ending time of the constant current charging phase based on the preset current value i
- the obtaining the at least one candidate current value from the preset current value is specific for:
- the amount of charge to be charged of the battery is obtained according to the remaining amount of electricity.
- the charging based on the preset current value i, charging the battery during the target charging time
- the q 1 is a total power of the trickle charging phase of the battery
- the t m is the target charging time
- the t 1 is the charging of the battery from the start time of the trickle charging phase to the trickle charging phase a charging time at the end time
- t 3 is a charging time for charging the battery from a start time of the constant voltage charging phase to an end time of the constant voltage charging phase
- t 1 and t 3 are a pre-measured time
- the q 3 is a total amount of electricity in the constant voltage charging phase of the battery
- the obtaining, by the preset current value, the at least one candidate current value is specific for:
- the q 2 is a total power of the constant current charging phase of the battery
- the t m is the target charging time
- Said t 1 is a charging time for charging the battery from a start time of the trickle charging phase to an end time of the trickle charging phase
- the t 3 being a period of charging the battery from the constant voltage charging phase Charging time from the start time to the end time of the constant voltage charging phase, wherein t 1 and t 3 are pre-measured times;
- the selecting one of the to-be-selected current values is specifically as follows:
- the method further includes: if the preset When the candidate current value does not exist in the current value, the largest current value is selected as the charging current value among the preset current values.
- the method further includes:
- the charging the battery is specifically: charging the battery at the target charging start time;
- the target charging time being an interval time between the target charging start time and the target charging stop time.
- the method further includes:
- t m is the target charging time, T C
- T D is the current time, and the time used for charging the battery from the remaining power of the current time to the full power based on the re-acquired candidate current value is less than or equal to the time New target charging time;
- the battery is charged based on the new charging current value.
- an embodiment of the present invention provides an electronic device, where the device includes: a receiving module, a power supply module, a processor, and a memory;
- the receiving module is configured to receive a target charging time input by a user
- the processor is configured to preset at least two current values, acquire a remaining power of the battery, acquire at least one candidate current value from the preset current value, and select a current value from the candidate current values as a charging current value;
- the candidate current value is a current value obtained by charging the battery from the remaining power to the full amount based on the candidate current value, and a time value less than or equal to the target charging time;
- the power supply module is configured to charge the battery based on the charging current value.
- the charging phase of the battery includes a trickle charging phase, a constant current charging phase, and a constant voltage charging phase;
- the power supply module is configured to charge the battery based on the charging current value: the power supply module is configured to charge the battery based on the charging current value in the constant current charging phase;
- the start time t 1 is charged from the battery to the trickle charge phase to the trickle charge phase a charging time at the end time, the t 2 being a charging time for charging the battery from a start time of the constant current charging phase to an ending time of the constant current charging phase based on the candidate current value, t 3 is a charging time for charging the battery from a start time of the constant voltage charging phase to an end time of the constant voltage charging phase;
- the processor determines that the battery is in the constant current charging phase according to the remaining power, the t 1 is 0, and the t 2 is that the battery is removed from the remaining power based on the to-be-selected current value.
- the processor is configured to obtain at least one candidate from the preset current value
- the current value is specifically:
- the processor is configured to acquire a predicted charging time used to charge the battery from the remaining power to a full power based on the preset current value, and to use the predicted charging time that is less than or equal to the target charging time Selecting a time, the preset current value on which the candidate time is obtained is taken as the candidate current value.
- the start time t 1 is charged from the battery to the trickle charge phase to the trickle charge phase a charging time at the end time, the t 2 being a charging time for charging the battery from a start time of the constant current charging phase to an ending time of the constant current charging phase based on the preset current value i
- the processor is configured to obtain at least one candidate from the preset current value
- the current value is specifically:
- the processor is configured to obtain a predicted charging power amount that is charged to the battery during the target charging time based on the preset current value, and use the predicted charging power that is greater than or equal to the battery to be charged.
- the electric quantity is used as the to-be-selected current value based on the preset current value when the electric quantity to be selected is obtained; and the electric quantity to be charged of the battery is acquired according to the remaining electric quantity.
- the charging according to the preset current value i, charging the battery during the target charging time
- the t m is the target charging time
- the t 3 is a charging time for charging the battery from a start time of the constant voltage charging phase to an ending time of the constant voltage charging phase, where t 3 is a pre-measured time
- the q 3 is the total amount of electricity in the constant voltage charging phase of the battery.
- the processor is configured to obtain at least one candidate from the preset current value
- the current value is specifically:
- the processor is configured to acquire a minimum current value when the battery is charged from the remaining power to a full charge during the target charging time; and the predetermined current value that is greater than or equal to the minimum current value is used as a Describe the current value to be selected.
- the processor determines that the battery is in the trickle charging phase according to the remaining power, the q 2 is a total power of the constant current charging phase of the battery, and the t m is the target a charging time, the t 1 being a charging time for charging the battery from a start time of the trickle charging phase to an end time of the trickle charging phase, wherein the t 3 is to keep the battery from the constant Charging time to the end time of the constant voltage charging phase, the t 1 and the t 3 being pre-measured times;
- the processor is configured to use the to-be-selected current value Select a current value as the charging current value specifically as:
- the processor is configured to select a minimum current value from the candidate current values or a current value lower than a preset threshold as the charging current value.
- the processor is further configured to: if preset When the candidate current value does not exist in the current value, a maximum current value is selected as the charging current value among the preset current values.
- the receiving module is further configured to receive a target input by a user Charging start time
- the power supply module is configured to charge the battery, where the power supply module is configured to charge the battery at the target charging start time;
- the receiving module is further configured to receive a target charging stop time input by the user;
- the power supply module is further configured to stop charging the battery when the target charging stop time is met;
- the target charging time is an interval time between the target charging start time and the target charging stop time.
- the processor is further configured to: After the battery is charged, obtaining the remaining power of the current time of the battery and the charging current value of the current time, determining, based on the current charging current value, charging the battery from the remaining power of the current time to the full power. Whether the time is greater than the new target charging time, and if so, retrieving at least one candidate current value from the preset current value, and selecting a current value from the re-acquired candidate current value as a new Charging current value;
- t m is the target charging time, and
- T C is the starting time of charging the battery
- T D is the current time, and the time used for charging the battery from the remaining power of the current time to the full power based on the re-acquired candidate current value is less than or equal to the new target charging time;
- the power supply module is further configured to charge the battery based on the new charging current value.
- an embodiment of the present invention provides an electronic device, where the device includes: a preset unit, a receiving unit, an obtaining unit, a selecting unit, and a charging unit;
- the preset unit is configured to preset at least two current values
- the receiving unit is configured to receive a target charging time input by a user
- the obtaining unit is configured to acquire a remaining battery power, and obtain at least one candidate current value from the preset current value; the candidate current value is to remove the battery based on the candidate current value The time during which the remaining power is charged to the full charge is less than or equal to the current value of the target charging time;
- the selecting unit is configured to select a current value from the to-be-selected current values as a charging current value
- the charging unit is configured to charge the battery based on the charging current value.
- the charging phase of the battery includes a trickle charging phase, a constant current charging phase, and a constant voltage charging phase;
- the charging unit is configured to charge the battery based on the charging current value, wherein the charging unit is configured to charge the battery based on the charging current value in the constant current charging phase;
- the t 2 is a charging time for charging the battery from a start time of the constant current charging phase to an ending time of the constant current charging phase based on the candidate current value, wherein t 3 is Charging time of the battery from a start time of the constant voltage charging phase to an end time of the constant voltage charging phase;
- the t 1 is 0, and the t 2 is that the battery is charged from the remaining power to the The charging time at the end of the constant current charging phase, the t 3 being a charging time for charging the battery from the start time of the constant voltage charging phase to the end time of the constant voltage charging phase.
- the acquiring unit is configured to obtain at least one to be received from the preset current value.
- the selected current value is specifically:
- the obtaining unit is configured to acquire a predicted charging time used to charge the battery from the remaining power to a full power based on the preset current value, and use the predicted charging time that is less than or equal to the target charging time as The to-be-selected time is used as the to-be-selected current value based on the preset current value on which the candidate time is obtained.
- the t 2 being a charging time for charging the battery from a start time of the constant current charging phase to an ending time of the constant current charging phase based on the preset current value i
- the acquiring unit is configured to obtain at least one to be received from the preset current value.
- the selected current value is specifically:
- the obtaining unit is configured to acquire, according to the preset current value, a predicted charging power quantity that is charged to the battery during the target charging time, and the said charging quantity is greater than or equal to the battery to be charged
- the charging power is predicted as the to-be-selected power, and the preset current value based on the obtained power to be selected is used as the to-be-selected current value.
- the charging based on the preset current value i, charging the battery during the target charging time
- the q 1 is a total power of the trickle charging phase of the battery
- the t m is the target charging time
- the t 1 is the charging of the battery from the start time of the trickle charging phase to the trickle charging phase a charging time at the end time
- t 3 is a charging time for charging the battery from a start time of the constant voltage charging phase to an end time of the constant voltage charging phase
- t 1 and t 3 are a pre-measured time
- the q 3 is a total amount of electricity in the constant voltage charging phase of the battery
- the acquiring unit is configured to obtain at least one to be received from the preset current value.
- the selected current value is specifically:
- the obtaining unit is configured to acquire a minimum current value when the battery is charged from the remaining power to a full charge during the target charging time; and the preset current value that is greater than or equal to the minimum current value is used as The candidate current value.
- the q 2 is a total power of the constant current charging phase of the battery
- the t m is the target charging time
- Said t 1 is a charging time for charging the battery from a start time of the trickle charging phase to an end time of the trickle charging phase
- the t 3 being a period of charging the battery from the constant voltage charging phase Charging time from the start time to the end time of the constant voltage charging phase, wherein t 1 and t 3 are pre-measured times;
- the selecting unit is used for the current to be selected Select a current value as the charging current value in the value:
- the selecting unit is configured to select a minimum current value or a current value lower than a preset threshold from the candidate current values as the charging current value.
- the selecting unit is further configured to: if preset When the candidate current value does not exist in the current value, a maximum current value is selected as the charging current value among the preset current values.
- the receiving unit is further configured to receive a target input by a user Charging start time
- the charging unit is configured to charge the battery, where the charging unit is configured to charge the battery at the target charging start time;
- the receiving unit is further configured to receive a target charging stop time input by the user;
- the charging unit is further configured to stop charging the battery when the target charging stop time is met;
- the target charging time is an interval time between the target charging start time and the target charging stop time.
- the device further includes: a determining unit;
- the obtaining unit is further configured to: after the charging unit charges the battery, acquire a remaining power of the current time of the battery and a charging current value at a current time;
- the determining unit is configured to determine, according to the charging current value of the current time, whether the time used for charging the battery from the remaining power of the current time to the full power is greater than a new target charging time, and if so, Notifying the acquiring unit to re-acquire at least one candidate current value from the preset current value;
- t m is the target charging time, and
- T C is the starting time of charging the battery
- T D is the current time, and the time used for charging the battery from the remaining power of the current time to the full power based on the re-acquired candidate current value is less than or equal to the new target charging time;
- the selecting unit is further configured to select a current value from the re-acquired candidate current values as a new charging current value
- the charging unit is further configured to charge the battery based on the new charging current value.
- a current value is selected as the charging current value from the preset current value, thereby adjusting the charging speed, and the selected charging current is selected.
- the value is such that the time taken to charge the battery from the remaining power to the full charge based on the current value is not greater than the target charging time, thereby enabling the battery to be fully charged during the target charging time input by the user.
- FIG. 1 is a schematic flowchart of a first embodiment of a charging method according to an embodiment of the present invention
- FIG. 2 is a schematic flowchart diagram of a second embodiment of a charging method according to an embodiment of the present disclosure
- FIG. 3 is a schematic flowchart of a third embodiment of a charging method according to an embodiment of the present invention.
- FIG. 4 is a schematic flowchart of a fourth embodiment of a charging method according to an embodiment of the present invention.
- FIG. 5 is a schematic flowchart of a fifth embodiment of a charging method according to an embodiment of the present disclosure.
- FIG. 6 is a schematic flowchart diagram of a sixth embodiment of a charging method according to an embodiment of the present disclosure.
- FIG. 7 is a schematic structural diagram of a first embodiment of an electronic device according to an embodiment of the present disclosure.
- FIG. 8 is a schematic structural diagram of a second embodiment of an electronic device according to an embodiment of the present disclosure.
- FIG. 9 is a schematic structural diagram of a third embodiment of an electronic device according to an embodiment of the present disclosure.
- FIG. 10 is a schematic structural diagram of a fourth embodiment of an electronic device according to an embodiment of the present disclosure.
- FIG. 11 is a schematic structural diagram of a fifth embodiment of an electronic device according to an embodiment of the present disclosure.
- FIG. 12 is a schematic structural diagram of a sixth embodiment of an electronic device according to an embodiment of the present disclosure.
- FIG. 13 is a schematic structural diagram of a seventh embodiment of an electronic device according to an embodiment of the present disclosure.
- FIG. 14 is a schematic structural diagram of an eighth embodiment of an electronic device according to an embodiment of the present invention.
- the way to charge the battery is to turn on the charging switch when the charging power source is input, and the charging power source inputs a charging current with a fixed current value to the battery, that is, charging the battery at a fixed charging speed.
- the charging power source inputs a charging current with a fixed current value to the battery, that is, charging the battery at a fixed charging speed.
- the charging time has certain limitations.
- the charging power source can only supply power for a limited time, or the user can only access the charging power source for a limited time.
- the existing charging method even in the case where the charging time is limited, still inputs a charging current having a fixed current value to the battery, that is, charging the battery at a fixed charging speed, and cannot achieve a limited charging time.
- the charging speed is adjusted to fully charge the battery during a limited charging time.
- a charging method and an electronic device are provided to enable the charging speed to be adjusted according to a limited charging time, thereby fully charging the battery within a limited charging time.
- an embodiment of the present invention provides a first embodiment of a charging method.
- at least two current values are preset, and the embodiment specifically includes:
- S101 Receive a target charging time input by a user.
- This embodiment can be applied to an electronic device that can provide a user interface interface for receiving a target charging time input by a user. Therefore, when the battery can only be charged for a limited charging time, the user inputs a target charging time to the electronic device through the user interface interface, indicating that the battery can only be charged during the target charging time.
- the remaining amount of the battery can be obtained by the fuel gauge.
- step S101 and step S102 is not limited, and may be performed simultaneously or sequentially.
- an application may be set. After the user enters the user program, the remaining battery power is obtained, and then the user is prompted to input the target charging time. After the user enters the user program, the target charging time input by the user may be received first. Then, get the remaining battery power.
- the candidate current value is a current value that is used to charge the battery from the remaining power to the full charge based on the candidate current value, and is less than or equal to the target charging time.
- At least one candidate current value is obtained from the preset current value, and each candidate current value ensures that the battery is charged with the candidate current value, so that the battery can be obtained from step S102.
- the remaining power is charged to the full charge, that is, when the battery is fully charged, the time used is less than or equal to the target charging time. Therefore, each candidate current value is guaranteed, and charging the battery using the candidate current value enables The battery is fully charged during the target charging time.
- S104 Select one current value from the candidate current values acquired in step S103 as the charging current value.
- the minimum current value may be selected from the candidate current values as the charging current value.
- a current value lower than a preset threshold may be selected from the candidate current values as a charging current value, and the preset threshold may be set according to actual conditions. Thereby improving the battery life.
- each of the to-be-selected current values can be ensured, charging the battery using the to-be-selected current value enables the battery to be fully charged during the target charging time, and the charging current value is selected from the candidate current values. Therefore, charging the battery based on the charging current value can also ensure that the battery is charged from the remaining battery to the full amount during the target charging time.
- At least two current values are preset, and the candidate current value is selected from a preset current value by a certain condition, and the charging current value is selected from the to-be-selected current values. Therefore, the charging current value for finally charging the battery is actually one of the preset current values. Therefore, in the embodiment, the magnitude of the current for charging the battery can be controlled by the preset current value, thereby adjusting the speed of charging the battery. size.
- the preset at least two current values respectively correspond to at least two different charging speeds.
- step S105 Charging the battery based on the charging current value selected in step S104.
- a charging current is actually input to the battery to charge the battery, and the current value of the charging current is the charging current value.
- At least two current values are preset, which respectively correspond to different charging speeds.
- a current value is selected as the charging current value from the preset current value, thereby adjusting the charging speed, and the selected charging current value causes the battery to be charged from the remaining battery based on the current value.
- the time used until the full charge is less than or equal to the target charging time, so that the battery can be fully charged within the target charging time input by the user.
- the executor of the embodiment may be an electronic device, and the electronic device may be a terminal device such as a mobile phone, a PAD, or a computer, and the battery in the embodiment is charged by an external charging power source. At this time, the battery can supply power to the electronic device.
- the electronic device can also be a charging device such as a charger, and charges the battery in this embodiment through the power supply provided by the electronic device.
- the time used to fully charge the battery based on the value of the candidate current is less than or equal to the target charging time.
- the battery has different charging stages, and depending on the charging phase of the battery, the time used to fully charge the battery based on the value of the candidate current is also different. The following describes the charging phase of the battery.
- the trickle charging phase generally refers to when the remaining battery power is low (for example, less than 8% of the total power), it will be smaller.
- the current is charged to the battery.
- the remaining current of the battery in the constant current charging phase belongs to the medium power (for example, 8%-92% of the total power)
- the battery is charged by the constant current method.
- the constant voltage charging phase refers to the remaining power of the battery is high. For example, when the total amount of electricity is 92% or more, the battery is charged by constant voltage.
- the charging current value is not adjustable, that is, the charging time is fixed.
- the time t used to charge the battery from the remaining power to the full power based on the candidate current value in step S103 in this embodiment is actually the above three
- the phase is based on the time to be charged when charging the candidate current value, and t 3 is the time to be charged of the battery during the constant voltage charging phase.
- step S105 is specifically to charge the battery based on the charging current value in a constant current charging phase.
- the different values of t 1 , t 2 and t 3 when the battery is in different charging phases are respectively described below.
- the remaining power of the battery can be considered to be 0 at this time, so t 1 is to charge the battery from the start time of the trickle charging phase to the a charging time at an end time of the flow charging phase, the t 2 being a charging time for charging the battery from a start time of the constant current charging phase to an ending time of the constant current charging phase based on the candidate current value And t 3 is a charging time for charging the battery from the start time of the constant voltage charging phase to the end time of the constant voltage charging phase.
- t 1 and t 3 are not adjustable, so they can be measured in advance.
- the charging power in the constant current charging phase is proportional to the charging time and the charging current value. Therefore, t 2 can be measured in advance, or can be calculated according to the total amount of power in the constant current charging phase of the battery and the value of the current to be selected.
- t 1 is 0.
- t 2 is a charging time for charging the battery from the remaining power amount to an end time of the constant current charging phase based on the candidate current value
- t 3 is a start of the battery from the constant voltage charging phase The charging time is charged to the end time of the constant voltage charging phase.
- t 3 is not adjustable, so it can be measured in advance.
- the charging power in the constant current charging phase is proportional to the charging time and the charging current value, so t 2 can be measured in advance, or can be calculated according to the amount of the battery to be charged and the current to be selected charged by the battery during the constant current charging phase. inferred.
- the above embodiment of the present invention describes different ways of obtaining the time t for fully charging the battery according to different charging stages when the charging phase of the battery includes a trickle charging phase, a constant current charging phase, and a constant voltage charging phase.
- the embodiment of the present invention can also be applied to the case where the charging phase of the battery is not divided into the above three charging phases, and will not be described in detail herein.
- the candidate current value must satisfy the relationship that the time taken to charge the battery from the remaining power to the full power based on the candidate current value is less than or equal to the target charging time input by the user.
- the candidate current value is specifically obtained, not only the time used to fully charge the battery but also the time less than or equal to the target charging time can be obtained from the acquired time, thereby obtaining the candidate current value. It is also possible to obtain the candidate current value by not acquiring the time, but by obtaining the total power value for charging the battery during the target charging time or the minimum current value for fully charging the battery during the target charging time.
- the three methods for obtaining the current value to be selected are specifically described below through three embodiments.
- an embodiment of the present invention provides a second embodiment of a charging method.
- the preset three current values: 500 mA (milliampere), 1000 mA, and 2000 mA are taken as an example for description.
- This embodiment specifically includes:
- S201 Receive a target charging time input by the user.
- This step can be specifically obtained by a fuel gauge.
- steps S201 and S202 are not limited. It can be executed at the same time or in sequential order.
- S203 Acquire a predicted charging time used to charge the battery from the remaining power to the full power based on the preset current values (500 mA, 1000 mA, and 2000 mA), and the prediction that is less than or equal to the target charging time
- the charging time is taken as the time to be selected, and the preset current value on which the candidate time is obtained is taken as the to-be-selected current value.
- the predicted charging time used to charge the battery from the remaining power to the full power based on the preset current value i is different according to the charging phase of the battery.
- the charging phase of the battery includes a trickle charging phase, a constant current charging phase, and a constant voltage charging phase
- t 1 is the charging time of the battery in the trickle charging phase
- t 2 is the target charging time of the battery in the constant current charging phase when charging according to the candidate current value
- t 3 is the constant voltage of the battery.
- Charging time of the charging phase The values of t 1 , t 2 and t 3 are related depending on the charging phase in which the battery is located.
- t 1 is the time from the start of charging the battery trickle charging phase to the trickle charge phase end time of the charging time.
- t 2 is a charging time for charging the battery from the start time of the constant current charging phase to the end time of the constant current charging phase based on the preset current value i.
- t 3 is a charging time for charging the battery from the start time of the constant voltage charging phase to the end time of the constant voltage charging phase.
- t 1 and t 3 are not adjustable, and thus may be a pre-measured time
- q 2 is The total amount of electricity in the constant current charging phase of the battery.
- the battery is in the trickle charging phase, and it is pre-measured that the charging time t j , that is, the sum of t 1 , t 2 and t 3 , is 3 hours, based on 1000 mA in the constant current charging phase, based on 1000 mA in the constant current phase.
- the predicted charging time t j is 2 hours.
- the predicted charging time t j is 1.5 hours. Since the target charging time input by the user is 2 hours, 1.5 hours and 1 hour are The waiting time, 1000mA and 2000mA are the values of the candidate current.
- t 1 is 0.
- t 2 is a charging time for charging the battery from the remaining power amount to an end time of the constant current charging phase based on the preset current value i
- t 3 is to keep the battery from the constant
- the charging time of the end of the voltage charging phase is charged to the charging time of the end of the constant voltage charging phase.
- the entire constant current charging phase can be divided into a plurality of sub-charging phases, for example, a power amount of 5% of the total amount of electricity is used as the power interval of the sub-charging phase.
- the charging time from the charging of each sub-charging stage to the end of the constant-current charging phase is measured in advance. For example, 8-12% of the total charge is a sub-charge phase, and it is measured from 8-12% (the power at the start point, the midpoint or the end point can be taken) to 92% of the total charge, that is, the constant current charge phase.
- the charging time used At the end of the time, the charging time used. Therefore, if it is judged that the remaining electric quantity belongs to a certain sub-charging stage, the charging time of the sub-charging stage measured in advance to the end time of the constant current charging stage is taken as t 2 .
- the flow may be ended at this time, or the charging may be performed according to the target charging time and the pre-measured constant voltage.
- the charging time of the stage determines whether the power can be fully charged within the target charging time input by the user at this time, and prompts the user to determine the result.
- step S204 Select one current value from the candidate current values acquired in step S203 as a charging current value.
- the step may be selecting a minimum current value from the candidate current values as the charging current value, or selecting a current value lower than the preset threshold from the candidate current values as the charging current value. For example, if the candidate current values obtained in step S203 are 1000 mA and 2000 mA, the minimum current value of 1000 mA is selected as the charging current value in this step.
- step S205 Charging the battery based on the charging current value selected in step S204 in a constant current charging phase of the battery.
- this step adjusts the charging current of the constant current charging phase. In the trickle charge phase of the battery and the constant voltage charge phase, it can still be charged in the existing manner.
- the candidate current value is obtained by acquiring the predicted charging time used to fully charge the battery.
- the charging phase of the battery includes a trickle charging phase, a constant current charging phase, and a constant voltage charging phase, it is necessary to obtain a predicted charging time for fully charging the battery according to different charging phase selection methods.
- an embodiment of the present invention provides a third embodiment of a charging method.
- the preset three current values: 500 mA, 1000 mA, and 2000 mA are taken as an example for description.
- This embodiment specifically includes:
- S301 Receive a target charging time input by a user.
- the received target charging time is 2 hours as an example.
- This step can be specifically obtained by a fuel gauge.
- steps S301 and S302 are not limited. It can be executed at the same time or in sequential order.
- S303 Acquire a predicted charging power that is charged to the battery according to the preset current value (500 mA, 1000 mA, and 2000 mA) during the target charging time, and the predicted charging amount that is greater than or equal to the battery to be charged.
- the electric quantity is used as the electric quantity to be selected, and the preset current value based on the electric quantity to be selected is obtained as the electric current to be selected.
- the battery to be charged is obtained according to the remaining power.
- the battery to be charged is the difference between the total battery power and the remaining power.
- the predicted charging power for charging the battery based on the preset current value i during the target charging time is different according to the charging phase of the battery, and the acquiring manner thereof is also different.
- the charging phase of the battery includes a trickle charging phase, a constant current charging phase, and a constant voltage charging phase
- q 1 is the amount of charge to be charged of the battery during the trickle charging phase
- q 2 is the predicted charge amount of the battery during the constant current charging phase when charging according to the preset current value
- q 3 is The amount of charge to be charged of the battery during the constant voltage charging phase.
- the values of q 1 , q 2 and q 3 are related depending on the charging phase in which the battery is located.
- q 1 is the total amount of power in the trickle charging phase of the battery
- t 1 and t 3 may be pre-measured Time; q 3 is the total amount of electricity of the battery during the constant voltage charging phase.
- the battery is in the trickle charging phase
- the charging time t 1 for charging the battery from the start time of the trickle charging phase to the end of the trickle charging phase is specifically measured to be 0.3 h.
- the charging time t 3 of the battery charging from the start time of the constant voltage charging phase to the end time of the constant voltage charging phase is specifically 0.2 h
- the target charging time t m -t 1 -t 3 of the stream charging phase is 1.5 h.
- q 3 is the total amount of electricity in the constant voltage charging phase of the battery.
- the flow may be ended at this time, or the charging may be performed according to the target charging time and the pre-measured constant voltage.
- the charging time of the stage determines whether the power can be fully charged within the target charging time input by the user at this time, and prompts the user to determine the result.
- step S304 Select one current value from the candidate current values acquired in step S303 as a charging current value.
- the step may be selecting a minimum current value from the candidate current values as the charging current value, or selecting a current value lower than the preset threshold from the candidate current values as the charging current value. For example, if the candidate current values obtained in step S303 are 1000 mA and 2000 mA, then In this step, the minimum current value of 1000 mA is selected as the charging current value.
- step S305 Charging the battery based on the charging current value selected in step S304 in a constant current charging phase of the battery.
- this step adjusts the charging current of the constant current charging phase. In the trickle charge phase of the battery and the constant voltage charge phase, it can still be charged in the existing manner.
- the candidate current value is obtained by acquiring the predicted charging power amount for charging the battery during the target charging time.
- the charging phase of the battery includes a trickle charging phase, a constant current charging phase, and a constant voltage charging phase, it is necessary to select a different manner according to different charging phases to obtain a predicted charging of the battery during the target charging time. Electricity.
- the acquired candidate current values are the same. This is because, for a preset current value, if the predicted charging power for charging the battery during the target charging time is greater than or equal to the amount of power to be charged based on the current value, the battery is removed from the remaining based on the current value.
- the predicted charging time used to charge the battery to full charge must be less than or equal to the target charging time.
- an embodiment of the present invention provides a fourth embodiment of a charging method.
- the preset three current values: 500 mA, 1000 mA, and 2000 mA are taken as an example for description.
- This embodiment specifically includes:
- S401 Receive a target charging time input by a user.
- the received target charging time is 2 hours as an example.
- This step can be specifically obtained by a fuel gauge.
- steps S401 and S402 are not limited. It can be executed at the same time or in sequential order.
- S403 Acquire a minimum current value when the battery is charged from the remaining power to a full charge during the target charging time; and set the preset current value equal to or greater than the minimum current value as The candidate current value.
- the minimum current value when the battery is charged from the remaining power to the full charge during the target charging time is different according to the charging phase of the battery.
- the charging phase of the battery includes a trickle charging phase, a constant current charging phase, and a constant voltage charging phase
- the minimum current value of the embodiment Refers to the minimum current value during the constant current charging phase.
- q 2 is the minimum charging power of the battery in the constant current charging phase
- t 1 is the charging time of the battery in the trickle charging phase
- t 3 is the battery to be charged in the constant voltage charging phase.
- Time, the t m is the target charging time input by the user.
- the values of q 2 , t 1 and t 3 are related depending on the charging phase in which the battery is located.
- the q 2 is a total power of the constant current charging phase of the battery
- t 1 is a charging phase of the battery from the trickle
- the start time is charged to the charging time at the end of the trickle charging phase
- t 3 is a charging time for charging the battery from the start time of the constant voltage charging phase to the end time of the constant voltage charging phase.
- t 1 and t 3 are not adjustable, and thus may be a time measured in advance.
- the battery is in a trickle charging phase
- the charging time t 1 for charging the battery from the start time of the trickle charging phase to the end of the trickle charging phase is 0.3 h
- the battery is
- the charging time t 3 from the start of the constant voltage charging phase to the end of the constant voltage charging phase is 0.2 h
- the time t m -t 1 -t 3 is 1.5h.
- t 3 is a charging time for charging the battery from the start time of the constant voltage charging phase to the end time of the constant voltage charging phase. Since t 3 is not adjustable, it can be a time measured in advance.
- the battery is in the constant current charging phase, and the charging time t 3 at which the battery is charged from the start time of the constant voltage charging phase to the end of the constant voltage charging phase is 0.2h, and the target charging is performed.
- it is necessary to achieve charging at least q t -q s -q 3 , q t -q s -q 3 in the constant current charging phase during t m -t 3 .
- the minimum current value i 2 is 544 mA, and therefore, two preset current values of 544 mA or more, that is, 1000 mA and 2000 mA are the values of the standby current.
- the flow may be ended at this time, or the charging may be performed according to the target charging time and the pre-measured constant voltage.
- the charging time of the stage determines whether the power can be fully charged within the target charging time input by the user at this time, and prompts the user to determine the result.
- S404 Select a current value from the candidate current values acquired in step S403 as a charging current value.
- the step may be selecting a minimum current value from the candidate current values as the charging current value, or selecting a current value lower than the preset threshold from the candidate current values as the charging current value. For example, if the candidate current values obtained in step S403 are 1000 mA and 2000 mA, 1000 mA is selected as the charging current value in this step.
- step S405 Charging the battery based on the charging current value selected in step S404 in a constant current charging phase of the battery.
- this step adjusts the charging current of the constant current charging phase. In the trickle charge phase of the battery and the constant voltage charge phase, it can still be charged in the existing manner.
- the candidate current value is obtained by acquiring the minimum current value required to fully charge the battery during the target charging time.
- the charging phase of the battery includes a trickle charging phase, a constant current charging phase, and a constant voltage charging phase
- the minimum current value needs to be obtained according to different charging phase selections.
- the manner of obtaining the candidate current value by the minimum current value, the manner of obtaining the candidate current value by predicting the charging power amount, and the manner of obtaining the candidate current value by predicting the charging time although the acquired parameters are different.
- the acquired current values are the same. This is because, for the preset current value, if the minimum current value is greater than or equal to
- the predicted charging power for charging the battery during the target charging time must be greater than or equal to the total battery power, and also indicating that the battery is charged from the remaining battery to the full battery based on the preset current value.
- the predicted charging time used by the battery must be less than or equal to the target charging time.
- the to-be-selected current value After obtaining the candidate current value, one of the candidate current values is selected as the charging current value for charging the battery.
- the preset current value does not have a current value to be selected, it means that no matter which preset current value is used, the battery cannot be fully charged within the target charging time, so The maximum current value may be selected as the charging current value among the preset current values, so that the charging amount during the target charging time is maximized.
- the battery is charged in such a way that when there is a charging power input, the battery is charged at a fixed charging speed. Obviously, this charging method cannot control the start time or end time of charging.
- the target charging start time input by the user may also be received, and the charging to the battery is specifically: charging the battery at the target charging start time.
- a target charging stop time input by the user is received, and when the target charging stop time is stopped, charging of the battery is stopped.
- the target charging start time is specifically: charging the battery at the target charging start time, and in the When the target charging stop time is stopped, charging of the battery is stopped.
- the target charging time is an interval time between the target charging start time and the target charging stop time.
- the target charging time is calculated by receiving the target charging start time input by the user and the target charging stop time.
- an embodiment of the present invention provides a fifth embodiment of a charging method.
- at least two current values are preset.
- the start time and the end time of battery charging are simultaneously controlled.
- the target charging time is calculated by receiving the target charging start time and the target charging stop time input by the user. This embodiment specifically includes:
- S501 Receive a target charging start time and a target charging stop time input by the user.
- the time interval from the target charging start time to the target charging stop time received in this step is the target charging time, and the target charging time is actually equivalent to being indirectly input by the user.
- the remaining amount of the battery can be obtained by the fuel gauge.
- steps S501 and 502 are not limited. It can be executed at the same time or in sequential order.
- S503 Acquire at least one candidate current value from the preset current value.
- the candidate current value is a current value that is used to charge the battery from the remaining power to the full charge based on the candidate current value, and is less than or equal to the target charging time.
- step S503 The specific manner of obtaining the current value to be selected in step S503 may be specifically referred to the second embodiment to the fourth embodiment of the method, and details are not described herein.
- step S504 Select a current value from the candidate current values acquired in step S503 as a charging current value.
- the step may be selecting a minimum current value from the candidate current values as the charging current value, or selecting a current value lower than the preset threshold from the candidate current values as the charging current value.
- S505 Charging the battery at the target charging start time based on the charging current value selected in step S504.
- the specific implementation of charging the battery at a specific time may be by turning on the charging switch of the charging chip or enabling the charging chip at a certain time.
- the charging chip is used to charge a battery.
- S506 Stop charging the battery at the target charging stop time. At this time, the charging time of the battery reaches the target charging time.
- the specific way to stop charging the battery at a particular moment may be by turning off the charging switch of the charging chip or disabling the charging chip at a certain moment.
- the target charging time is calculated based on the target charging start time and the target charging stop time input by the user, and the charging of the battery is controlled based on the starting time and the ending time.
- the charging current value after charging the battery based on the selected charging current value, it is also possible to detect in real time whether the charging current value can be filled in the target charging time based on the charging current value. Electricity, if not, re-selects the charging current value, which is described in detail below by way of an embodiment.
- an embodiment of the present invention provides a sixth embodiment of a charging method.
- at least two current values are preset.
- this embodiment after charging the battery, it is further detected whether the battery can be fully charged within the target charging time.
- This embodiment specifically includes:
- This step can be specifically obtained by a fuel gauge.
- steps S601 and S602 are not limited. It can be executed at the same time or in sequential order.
- S603 Acquire at least one candidate current value from the preset current value.
- the candidate current value is a current value that is used to charge the battery from the remaining power to the full charge based on the candidate current value, and is less than or equal to the target charging time.
- step S603 The specific manner of obtaining the current value to be selected in step S603 may be specifically referred to the second embodiment to the fourth embodiment of the method, and details are not described herein.
- S604 Select one current value from the candidate current values acquired in step S603 as the charging current value.
- the step may be selecting a minimum current value from the candidate current values as the charging current value, or selecting a current value lower than the preset threshold from the candidate current values as the charging current value.
- the steps S601-S605 are the same as the steps S101-S105 in the first embodiment, and the related embodiments may be referred to in the first embodiment.
- a charging current value is selected from the preset current values to charge the battery, and it is predicted that the battery can be fully charged within the target charging time input by the user. Thereafter, during the charging of the battery, the following steps may be further performed to detect whether the battery can satisfy the predicted result according to the charging condition of the battery, that is, to fully charge the battery during the target charging time.
- S606 Acquire a remaining power of the current time of the battery and a charging current value of the current time.
- the current time refers to a certain time after step S605.
- the electric current value refers to the current value for charging the battery at the current time. If the charging current value is not adjusted after step S605, the current charging current value refers to the charging of the battery in step S605. The value of the charging current.
- S607 determining, according to the charging current value of the current time, whether the time for charging the battery from the remaining power of the current time to the full power is greater than a new target charging time t m ', and if yes, executing S607 .
- the target charging stop time refers to the time at which the target charging time is added from the start time of the battery charging in step S605, that is, the time at which the expected battery charging ends.
- the target charging stop time refers to the time at which the target charging time is added from the start time of the battery charging in step S605, that is, the time at which the expected battery charging ends.
- it is judged whether the time taken to charge the battery from the remaining power of the current time to the full power is greater than the new target charging time t m '.
- the foregoing judgment result may be obtained by directly obtaining the predicted charging time, or may be obtained by obtaining the predicted charging power amount or the minimum current value.
- step S608 is performed, thereby the charging current value. Make adjustments. If the determination result in the step is no, it means that the charging current value based on the current time can charge the remaining capacity of the battery from the current time to the full power at the expected battery charging stop time, so the flow can be ended, or the process can be resumed in a certain period. S606, thereby realizing adjusting the charging current value according to the charging condition in real time.
- S608 retrieve at least one candidate current value from the preset current value. The time taken to charge the battery from the remaining power of the current time to the full charge based on the re-acquired candidate current value is less than or equal to the new target charging time.
- the candidate current value is reacquired in this step. And charging, according to the re-acquired current value, the time that the battery is charged from the current time to the full power is less than or equal to the new target charging time, that is, based on the re-acquired candidate current. The value enables the battery to be charged from the remaining capacity at the current time to full charge during the new target charging time.
- the preset current value does not have a current value to be selected, it means that no one is used.
- the current value cannot fully charge the battery during the new target charging time. Therefore, the maximum current value can be selected as the charging current value among the preset current values, so that the charging power is within the new target charging time. The value is the largest.
- step S609 Select a current value from the re-acquired candidate current values in step S608 as a new charging current value.
- the step may be selecting a minimum current value from the re-acquired candidate current values as the charging current value, or selecting a current value lower than the preset threshold from the re-acquired candidate current values as the charging current value.
- the cycle 606 can be performed cyclically in a certain cycle, so that the charging current value is adjusted according to the charging condition of the battery in real time, and it is ensured that the battery can be fully charged at the expected battery charging stop time.
- the charging current value is selected and charged to the battery, it is further determined according to the charging condition of the battery, that is, the remaining power and the charging current value of the current time of the battery.
- the charging condition of the battery that is, the remaining power and the charging current value of the current time of the battery.
- the battery is stopped, the battery is fully charged. If not, the charging current value is reselected, and the battery is charged based on the reselected charging current value, thereby realizing the adjustment of the charging current value based on the battery charging condition.
- an embodiment of the present invention provides a first embodiment of an electronic device.
- the electronic device in this embodiment specifically includes: a receiving module 701, a power supply module 702, a processor 703, and a memory 704.
- the receiving module 701 is configured to receive a target charging time input by a user.
- the electronic device of this embodiment may provide a user interface interface for receiving a target charging time input by the user. Therefore, when the battery can only be charged for a limited charging time, the user inputs a target charging time to the electronic device through the user interface interface, indicating that the battery can only be charged during the target charging time.
- the processor 703 is configured to preset at least two current values, acquire a remaining power of the battery, acquire at least one candidate current value from the preset current value, and select a current value from the candidate current values as a charging current value; the candidate current value is based on the candidate current value to the battery The time during which the remaining power is charged to the full charge is less than or equal to the current value of the target charging time.
- the processor 703 can specifically obtain the remaining power of the battery through the fuel gauge.
- the processor 703 Since each of the to-be-selected current values obtained by the processor 703 can be guaranteed, charging the battery using the to-be-selected current value enables the battery to be fully charged during the target charging time, and the charging current value is the processor 703 from the candidate current value. It is selected, therefore, charging the battery based on the charging current value can also ensure that the battery is charged from the remaining battery to the full amount during the target charging time. Since the charging current value is selected from the to-be-selected current values, the charging current value that is finally charged to the battery is actually one of the preset current values. Therefore, in this embodiment, the processor 703 passes the preset current. The value enables control of the amount of current that charges the battery, thereby adjusting the rate at which the battery is charged. The preset at least two current values respectively correspond to at least two different charging speeds.
- the processor 703 selects the charging current value, the minimum current value may be selected from the candidate current values as the charging current value.
- a current value lower than a preset threshold may be selected from the candidate current values as a charging current value, and the preset threshold may be set according to actual conditions. Thereby improving the battery life.
- the power supply module 702 is configured to charge the battery based on the charging current value.
- the power supply module 702 actually inputs a charging current to the battery to charge the battery, and the current value of the charging current is the charging current value.
- the power supply module 702 may have its own power supply, and may charge the battery through its own power supply, or may be externally connected to the power supply to charge the external power supply to the battery.
- the processor 703 presets at least two current values, which respectively correspond to different charging speeds.
- the processor 703 selects a current value as the charging current value from the preset current value according to the target charging time of the user input received by the receiving module 701, and then charges the battery through the power supply module 702 based on the selected charging current value, thereby The charging speed is adjusted, and the selected charging current value is such that the time taken to charge the battery from the remaining battery to the full amount based on the current value is less than or equal to the target charging time, thereby achieving the target charging time input by the user.
- the electronic device in this embodiment may be a terminal device such as a mobile phone, a PAD, or a computer, and the battery in the embodiment is charged by an external charging power source. At this time, the battery may be powered by the electronic device.
- the electronic device can also be a charging device such as a charger, and charges the battery in this embodiment through the power supply provided by the electronic device.
- the number of processors in this embodiment may be one or more, and one processor 703 is taken as an example in FIG.
- the receiving module 701, the power supply module 702, the processor 703, and the memory 704 may be connected by a bus or other means, wherein the bus connection is taken as an example in FIG.
- the program 705 may be stored in the memory 704.
- the processor 703 causes the receiving module 701 to perform the target charging time for receiving the user input by executing the program 705, and the processor executes 703 to perform preset at least two current values and acquires. Retrieving a remaining amount of the battery, obtaining at least one candidate current value from the preset current value, and selecting a current value from the candidate current value as a charging current value; the candidate current value is based on the waiting The current selection value is used to charge the battery from the remaining power to a full charge for a time less than or equal to the current value of the target charging time, and the power supply module 702 performs charging of the battery based on the charging current value.
- the time used to fully charge the battery based on the value of the candidate current is less than or equal to the target charging time.
- the battery has different charging stages, and depending on the charging phase of the battery, the time used to fully charge the battery based on the value of the candidate current is also different.
- the battery is charged from the remaining power to the full power based on the candidate current value.
- the power supply module 702 is configured to charge the battery based on the charging current value.
- the power supply module 702 is configured to charge the battery based on the charging current value in the constant current charging phase.
- the remaining power of the battery can be considered to be 0 at this time, so t 1 is to charge the battery from the start time of the trickle charging phase to a charging time at an end time of the trickle charging phase, wherein t 2 is based on the candidate current value, charging the battery from a start time of the constant current charging phase to an ending moment of the constant current charging phase
- the charging time, t 3 is the charging time for charging the battery from the start time of the constant voltage charging phase to the end time of the constant voltage charging phase.
- t 1 and t 3 are not adjustable, so they can be measured in advance.
- the charging power in the constant current charging phase is proportional to the charging time and the charging current value. Therefore, t 2 can be measured in advance, or can be calculated according to the total amount of power in the constant current charging phase of the battery and the value of the current to be selected.
- t 1 is 0.
- t 2 is a charging time for charging the battery from the remaining power amount to an end time of the constant current charging phase based on the candidate current value
- t 3 is a start of the battery from the constant voltage charging phase The charging time is charged to the end time of the constant voltage charging phase.
- t 3 is not adjustable, so it can be measured in advance.
- the charging power in the constant current charging phase is proportional to the charging time and the charging current value, so t 2 can be measured in advance, or can be calculated according to the amount of the battery to be charged and the current to be selected charged by the battery during the constant current charging phase. inferred.
- the above embodiment of the present invention describes different ways of obtaining the time t for fully charging the battery according to different charging stages when the charging phase of the battery includes a trickle charging phase, a constant current charging phase, and a constant voltage charging phase.
- the embodiment of the present invention can also be applied to the case where the charging phase of the battery is not divided into the above three charging phases, and will not be described in detail herein.
- the candidate current value must satisfy the relationship that the time taken to charge the battery from the remaining power to the full power based on the candidate current value is less than or equal to the target charging time input by the user.
- the candidate current value is specifically obtained, not only the time used to fully charge the battery but also the time less than or equal to the target charging time can be obtained from the acquired time, thereby obtaining the candidate current value. It is also possible to obtain the candidate current value by not acquiring the time, but by obtaining the total power value for charging the battery during the target charging time or the minimum current value for fully charging the battery during the target charging time.
- the three methods for obtaining the current value to be selected are specifically described below through three embodiments.
- an embodiment of the present invention provides a second embodiment of an electronic device.
- the preset three current values 500 mA (milliampere), 1000 mA, and 2000 mA are taken as an example.
- the electronic device of this embodiment specifically includes: a receiving module 801, a power supply module 802, a processor 803, and a memory 804.
- the receiving module 801 is configured to receive a target charging time input by the user.
- the processor 803 is configured to preset three current values: 500 mA, 1000 mA, and 2000 mA, acquire the remaining power of the battery, obtain at least one candidate current value from the preset current value, and obtain the current value from the candidate current value.
- a current value is selected as the charging current value;
- the candidate current value is a current value used to charge the battery from the remaining power amount to the full power amount based on the candidate current value, which is less than or equal to the target charging time.
- the power supply module 802 is configured to charge the battery based on the charging current value. Since the trickle charging phase of the battery and the charging time of the constant voltage charging phase are not adjustable, the present embodiment adjusts the charging current of the constant current charging phase. During the trickle charge phase and constant voltage charge phase of the battery, the power supply module 802 can still charge the battery in the manner as present.
- the processor 803 is configured to obtain at least one candidate current value from the preset current value, specifically:
- the processor 803 is configured to acquire, according to the preset current value (500 mA, 1000 mA, and 2000 mA), a predicted charging time used to charge the battery from the remaining power to a full power, which is less than or equal to the target charging time.
- the predicted charging time is used as the candidate time, and the preset current value on which the candidate time is acquired is taken as the candidate current value.
- the predicted charging time used to charge the battery from the remaining power to the full power based on the preset current value i is different according to the charging phase of the battery.
- the charging phase of the battery includes a trickle charging phase, a constant current charging phase, and a constant voltage charging phase
- t 1 is the charging time of the battery in the trickle charging phase
- t 2 is the target charging time of the battery in the constant current charging phase when charging according to the candidate current value
- t 3 is the constant voltage of the battery.
- Charging time of the charging phase The values of t 1 , t 2 and t 3 are related depending on the charging phase in which the battery is located.
- t 1 is the start time of charging the battery from the trickle charge phase to the end time of trickle charging phase of time.
- t 2 is a charging time for charging the battery from the start time of the constant current charging phase to the end time of the constant current charging phase based on the preset current value i.
- t 3 is a charging time for charging the battery from the start time of the constant voltage charging phase to the end time of the constant voltage charging phase.
- t 1 and t 3 are not adjustable, and thus may be a pre-measured time
- q 2 is The total amount of electricity in the constant current charging phase of the battery.
- the battery is in the trickle charging phase, and it is pre-measured that the charging time t j , that is, the sum of t 1 , t 2 and t 3 , is 3 hours, based on 1000 mA in the constant current charging phase, based on 1000 mA in the constant current phase.
- the predicted charging time t j is 2 hours.
- the predicted charging time t j is 1.5 hours. Since the target charging time input by the user is 2 hours, 1.5 hours and 1 hour are The waiting time, 1000mA and 2000mA are the values of the candidate current.
- t 1 is 0.
- t 2 is a charging time for charging the battery from the remaining power amount to an end time of the constant current charging phase based on the preset current value i
- t 3 is to keep the battery from the constant
- the charging time of the end of the voltage charging phase is charged to the charging time of the end of the constant voltage charging phase.
- the entire constant current charging phase can be divided into a plurality of sub-charging phases, for example, a power amount of 5% of the total amount of electricity is used as the power interval of the sub-charging phase.
- the charging time from the charging of each sub-charging stage to the end of the constant-current charging phase is measured in advance. For example, 8-12% of the total charge is a sub-charge phase, and it is measured from 8-12% (the power at the start point, the midpoint or the end point can be taken) to 92% of the total charge, that is, the constant current charge phase.
- the charging time used At the end of the time, the charging time used. Therefore, if it is judged that the remaining electric quantity belongs to a certain sub-charging stage, the charging time of the sub-charging stage measured in advance to the end time of the constant current charging stage is taken as t 2 .
- the flow may be ended at this time, or may be based on the target charging time and the pre-measured
- the charging time of the constant voltage charging phase determines whether the power can be fully charged within the target charging time input by the user at this time, and prompts the user to determine the result.
- the processor 803 obtains the candidate current value by acquiring the predicted charging time used to fully charge the battery.
- the charging phase of the battery includes a trickle charging phase, a constant current charging phase, and a constant voltage charging phase, it is necessary to obtain a predicted charging time for fully charging the battery according to different charging phase selection methods.
- an embodiment of the present invention provides a third embodiment of an electronic device.
- the preset three current values: 500 mA (mA), 1000 mA, and 2000 mA are taken as an example.
- the electronic device of this embodiment specifically includes: a receiving module 901, a power supply module 902, a processor 903, and a memory 904.
- the receiving module 901 is configured to receive a target charging time input by the user.
- the processor 903 is configured to preset three current values: 500 mA, 1000 mA, and 2000 mA, acquire the remaining power of the battery, acquire at least one candidate current value from the preset current value, and obtain the current value from the candidate current value.
- a current value is selected as the charging current value;
- the candidate current value is a current value used to charge the battery from the remaining power amount to the full power amount based on the candidate current value, which is less than or equal to the target charging time.
- the power supply module 902 is configured to charge the battery based on the charging current value. Since the trickle charging phase of the battery and the charging time of the constant voltage charging phase are not adjustable, the present embodiment adjusts the charging current of the constant current charging phase. During the trickle charge phase and constant voltage charge phase of the battery, the power supply module 902 can still charge the battery in the manner as present.
- the processor 903 is configured to obtain at least one candidate current value from the preset current value, specifically:
- the processor 903 is configured to acquire, according to the preset current value (500 mA, 1000 mA, and 2000 mA), a predicted charging power amount for charging the battery during the target charging time, which is greater than or equal to the electric quantity
- the predicted charging power of the battery to be charged is used as the to-be-selected power, and the preset current value based on the obtained power to be selected is used as the candidate current value.
- the amount of charge of the battery to be charged is obtained according to the remaining power.
- the amount of charge to be charged of the battery is the difference between the total amount of power of the battery and the remaining amount of power.
- the predicted charging amount for charging the battery based on the preset current value i during the target charging time is different according to the charging phase of the battery, and the acquiring manner thereof is also different.
- the charging phase of the battery includes a trickle charging phase, a constant current charging phase, and a constant voltage charging phase
- q 1 is the amount of charge to be charged of the battery during the trickle charging phase
- q 2 is the predicted charge amount of the battery during the constant current charging phase when charging according to the preset current value
- q 3 is The amount of charge to be charged of the battery during the constant voltage charging phase.
- the values of q 1 , q 2 and q 3 are related depending on the charging phase in which the battery is located.
- q 1 is the total power of the trickle charging phase of the battery
- q 2 i ⁇ (t m -t 1 - t 3 ) calculated, wherein t m is the target charging time, and t 1 is a charging time for charging the battery from a start time of the trickle charging phase to an end time of the trickle charging phase
- t 3 is a charging time for charging the battery from the start time of the constant voltage charging phase to the end time of the constant voltage charging phase, since t 1 and t 3 are not adjustable, t 1 and t 3 may be The pre-measured time; q 3 is the total amount of electricity of the battery during the constant voltage charging phase.
- the battery is in the trickle charging phase
- the charging time t 1 for charging the battery from the start time of the trickle charging phase to the end of the trickle charging phase is specifically measured to be 0.3 h.
- the charging time t 3 of the battery charging from the start time of the constant voltage charging phase to the end time of the constant voltage charging phase is specifically 0.2 h
- the target charging time t m -t 1 -t 3 of the stream charging phase is 1.5 h.
- q 1 is 0.
- q 3 is the total amount of electricity in the constant voltage charging phase of the battery.
- the flow may be ended at this time, or may be based on the target charging time and the pre-measured
- the charging time of the constant voltage charging phase determines whether the power can be fully charged within the target charging time input by the user at this time, and prompts the user to determine the result.
- the processor 903 acquires the to-be-selected current value by acquiring the predicted charging power amount for charging the battery during the target charging time.
- the charging phase of the battery includes a trickle charging phase, a constant current charging phase, and a constant voltage charging phase, it is necessary to select a different manner according to different charging phases to obtain a predicted charging of the battery during the target charging time. Electricity.
- the acquired candidate current values are the same. This is because, for a preset current value, if the predicted charging power for charging the battery during the target charging time is greater than or equal to the amount of power to be charged based on the current value, the battery is removed from the remaining based on the current value.
- the predicted charging time used to charge the battery to full charge must be less than or equal to the target charging time.
- an embodiment of the present invention provides a fourth embodiment of an electronic device.
- the preset three current values: 500 mA (mA), 1000 mA, and 2000 mA are taken as an example.
- the electronic device of this embodiment specifically includes: a receiving module 1001, a power supply module 1002, a processor 1003, and a memory 1004.
- the receiving module 1001 is configured to receive a target charging time input by a user.
- the processor 1003 is configured to preset three current values: 500 mA, 1000 mA, and 2000 mA, obtain a remaining battery power, obtain at least one candidate current value from the preset current value, and obtain the current value from the candidate current value.
- a current value is selected as the charging current value;
- the candidate current value is a current value used to charge the battery from the remaining power amount to the full power amount based on the candidate current value, which is less than or equal to the target charging time.
- the power supply module 1002 is configured to charge the battery based on the charging current value. Since the trickle charging phase of the battery and the charging time of the constant voltage charging phase are not adjustable, the present embodiment adjusts the charging current of the constant current charging phase. During the trickle charge phase and constant voltage charge phase of the battery, the power supply module 1002 can still charge the battery in the manner as present.
- the processor 1003 is configured to obtain at least one candidate current value from the preset current value, specifically:
- the processor 1003 is configured to acquire a minimum current value when the battery is charged from the remaining power to a full charge during the target charging time; and the preset current value that is greater than or equal to the minimum current value is used as a Describe the current value to be selected.
- the minimum current value when the battery is charged from the remaining power to the full charge during the target charging time is different according to the charging phase of the battery.
- the charging phase of the battery includes a trickle charging phase, a constant current charging phase, and a constant voltage charging phase
- the minimum current value of the embodiment Refers to the minimum current value during the constant current charging phase.
- q 2 is the minimum charging power of the battery in the constant current charging phase
- t 1 is the charging time of the battery in the trickle charging phase
- t 3 is the battery to be charged in the constant voltage charging phase.
- Time, the t m is the target charging time input by the user.
- the values of q 2 , t 1 and t 3 are related depending on the charging phase in which the battery is located.
- the processor 1003 determines that the battery is in a trickle charge phase according to the remaining power of the battery, the q 2 is the total power of the constant current charging phase of the battery, and t 1 is the battery from the battery The charging time of the end of the current charging phase is charged to the charging time of the end of the trickle charging phase.
- t 3 is a charging time for charging the battery from the start time of the constant voltage charging phase to the end time of the constant voltage charging phase.
- t 1 and t 3 are not adjustable, and thus may be a time measured in advance.
- the battery is in a trickle charging phase
- the charging time t 1 for charging the battery from the start time of the trickle charging phase to the end of the trickle charging phase is 0.3 h
- the battery is
- the charging time t 3 from the start of the constant voltage charging phase to the end of the constant voltage charging phase is 0.2 h
- the time t m -t 1 -t 3 is 1.5h.
- t 1 the total electric quantity of the battery
- q s the remaining electric quantity
- q 3 the constant voltage charging stage of the battery Total electricity.
- t 3 is a charging time for charging the battery from the start time of the constant voltage charging phase to the end time of the constant voltage charging phase. Since t 3 is not adjustable, it can be a time measured in advance.
- the battery is in the constant current charging phase, and the charging time t 3 at which the battery is charged from the start time of the constant voltage charging phase to the end of the constant voltage charging phase is 0.2h, and the target charging is performed.
- it is necessary to achieve charging at least q t -q s -q 3 , q t -q s -q 3 in the constant current charging phase during t m -t 3 .
- the minimum current value i 2 is 544 mA, and therefore, two preset current values of 544 mA or more, that is, 1000 mA and 2000 mA are the values of the standby current.
- the flow may be ended at this time, or may be based on the target charging time and the pre-measured
- the charging time of the constant voltage charging phase determines whether the power can be fully charged within the target charging time input by the user at this time, and prompts the user to determine the result.
- the processor 1003 obtains the candidate current value by acquiring the minimum current value required to fully charge the battery during the target charging time.
- the charging phase of the battery includes a trickle charging phase, a constant current charging phase, and a constant voltage charging phase
- the minimum current needs to be selected according to different charging phases. value.
- the manner of obtaining the candidate current value by the minimum current value, the manner of obtaining the candidate current value by predicting the charging power amount, and the manner of obtaining the candidate current value by predicting the charging time although the acquired parameters are different,
- the acquired current values are the same. The reason is that, for the preset current value, if the minimum current value is greater than or equal to, the predicted charging power for charging the battery in the target charging time based on the preset current value is determined to be greater than It is equal to the total power of the battery, and also indicates that the predicted charging time used to charge the battery from the remaining power to the full power based on the preset current value must be less than or equal to the target charging time.
- the processor in the embodiment of the invention may be further configured to: when the preset current value does not have a candidate current value, select a maximum current value as the charging current value in the preset current value, thereby making the target The charging power is the largest during the charging time.
- the battery is charged in such a way that when there is a charging power input, the battery is charged at a fixed charging speed. Obviously, this charging method cannot control the start time or end time of charging.
- the receiving module is further configured to receive a target charging start time input by the user, and the power supply module is configured to charge the battery, where the power supply module is configured to be used at the target charging start time. Charge the battery.
- the receiving module is further configured to receive a target charging stop time input by the user; and the power supply module is further configured to stop charging the battery when the target charging stop time.
- the receiving module is further configured to receive a target charging start time input by the user and a target charging stop time input by the user, and the power supply module is configured to charge the battery, specifically: the power supply module is configured to start at the target charging start time. At the time, the battery is charged. Moreover, the power supply module is further configured to stop charging the battery when the target charging stop time. At this time, the target charging time is an interval time between the target charging start time and the target charging stop time, and the target charging time is actually equivalent to being indirectly input by the user. Thereby, control of the start and/or end time of charging of the battery is achieved.
- the power supply module may include a charging chip, and the charging chip charges the battery. Therefore, the specific implementation manner of the power supply module to charge the battery at a specific moment may be to turn on the charging switch of the charging chip at a certain moment. Or enable the charging chip. The specific way in which the power supply module stops charging the battery at a specific time may be to turn off the charging switch of the charging chip or disable the charging chip at a certain moment.
- the specific implementation is:
- the processor of the embodiment of the present invention is further configured to: after charging the battery, acquire a remaining power of the current time of the battery and a charging current value of the current time, and determine, according to the charging current value of the current time, the battery Whether the time from the charging of the remaining power at the current time to the full power is greater than the new target charging time, and if so, retrieving at least one candidate current value from the preset current value, and from the One of the re-acquired candidate current values is selected as the new charging current value.
- t m is the target charging time, and
- T C is the starting time of charging the battery
- T D is the current time, and the time used for charging the battery from the remaining power of the current time to the full power based on the re-acquired candidate current value is less than or equal to the new target charging time.
- the power supply module of the embodiment of the invention is further configured to charge the battery based on the new charging current value.
- the processor of the embodiment of the present invention can also cyclically execute the above functions in a certain cycle, thereby adjusting the charging current value according to the charging condition of the battery in real time, and ensuring that the battery can be fully charged at the expected battery charging stop timing.
- the electronic device in the embodiment of the present invention is described above from the perspective of hardware processing.
- the electronic device in the embodiment of the present invention will be described below from the perspective of a modular functional entity.
- an embodiment of the present invention provides a fifth embodiment of an electronic device.
- the electronic device in this embodiment includes: a preset unit 1101 , a receiving unit 1102 , an obtaining unit 1103 , a selecting unit 1104 , and a charging unit 1105 .
- the preset unit 1101 is configured to preset at least two current values.
- the receiving unit 1102 is configured to receive a target charging time input by the user.
- the electronic device of this embodiment may provide a user interface interface for receiving a target charging time input by the user. Therefore, when the battery can only be charged for a limited charging time, the user inputs a target charging time to the electronic device through the user interface interface, indicating that the battery can only be charged during the target charging time.
- the obtaining unit 1103 is configured to acquire a remaining power of the battery, and obtain at least one candidate current value from the preset current value; the candidate current value is to use the battery from the selected current value The time during which the remaining power is charged to the full charge is less than or equal to the current value of the target charging time.
- the acquisition unit 1103 can obtain the remaining amount of power of the battery through the fuel gauge.
- the obtaining unit 1103 acquires at least one candidate current value from the preset current value, and each candidate current value ensures that the battery is charged with the candidate current value, so that the battery can be charged from the obtained remaining power to When the battery is fully charged, that is, when the battery is fully charged, the time used is less than or equal to the target charging time. Therefore, each candidate current value is guaranteed, and charging the battery using the to-be-selected current value enables the target charging time to be given. The battery is fully charged.
- the selecting unit 1104 is configured to select one current value from the candidate current values as the charging current value.
- the selection unit 1104 selects the charging current value, the minimum current value may be selected from the candidate current values as the charging current value.
- a current value lower than a preset threshold may be selected from the candidate current values as a charging current value, and the preset threshold may be set according to actual conditions. Thereby improving the battery life.
- each of the to-be-selected current values can be ensured, charging the battery using the to-be-selected current value enables the battery to be fully charged during the target charging time, and the charging current value is the selection unit 1104 from the candidate current. The value is selected, so charging the battery based on the charging current value also ensures that the battery is charged from the remaining battery to the full amount during the target charging time.
- the preset unit 1101 presets at least two current values, and the candidate current value is selected by the obtaining unit 1103 from a preset current value by a certain condition, and the charging current value is a selection unit. 1104 is selected from the value of the candidate current, and therefore, the charging of the battery is finally charged.
- the current value is actually one of the preset current values. Therefore, in the embodiment, the magnitude of the current for charging the battery can be controlled by the preset current value, thereby adjusting the speed of charging the battery.
- the preset at least two current values respectively correspond to at least two different charging speeds.
- the charging unit 1105 is configured to charge the battery based on the charging current value.
- the charging unit 1105 actually inputs a charging current to the battery to charge the battery, and the current value of the charging current is the charging current value.
- the charging unit 1105 may have its own power supply, and may charge the battery through its own power supply, or may be externally connected to the power supply to charge the external power supply to the battery.
- the preset unit 1101 presets at least two current values, which respectively correspond to different charging speeds. According to the target charging time of the user input received by the receiving unit 1102, the obtaining unit 1103 and the selecting unit 1104 select one current value as the charging current value from the preset current values, and then pass the charging unit 1105 to the battery based on the selected charging current value. Charging, thereby adjusting the charging speed, and the selected charging current value is such that the time taken to charge the battery from the remaining battery to the full amount based on the current value is less than or equal to the target charging time, thereby achieving the target input by the user. The battery can be fully charged during the charging time.
- the electronic device in this embodiment may be a terminal device such as a mobile phone, a PAD, a computer, or the like, and the battery in the embodiment is charged by an external charging power source.
- the battery may be a power supply source of the electronic device; the electronic device may also be charged.
- the charging device such as a device charges the battery in this embodiment by the power supply itself.
- the time used to fully charge the battery based on the value of the candidate current is less than or equal to the target charging time.
- the battery has different charging stages, and depending on the charging phase of the battery, the time used to fully charge the battery based on the value of the candidate current is also different.
- the battery is charged from the remaining power to the full power based on the candidate current value.
- charging unit 1105 is configured to charge the battery based on the charging current value. Specifically, charging unit 1105 is configured to charge the battery based on the charging current value in the constant current charging phase.
- the remaining power of the battery can be considered to be 0 at this time, so t 1 is to charge the battery from the start time of the trickle charging phase to the a charging time at an end time of the flow charging phase, the t 2 being a charging time for charging the battery from a start time of the constant current charging phase to an ending time of the constant current charging phase based on the candidate current value And t 3 is a charging time for charging the battery from the start time of the constant voltage charging phase to the end time of the constant voltage charging phase.
- t 1 and t 3 are not adjustable, so they can be measured in advance.
- the charging power in the constant current charging phase is proportional to the charging time and the charging current value. Therefore, t 2 can be measured in advance, or can be calculated according to the total amount of power in the constant current charging phase of the battery and the value of the current to be selected.
- t 1 is 0.
- t 2 is a charging time for charging the battery from the remaining power amount to an end time of the constant current charging phase based on the candidate current value
- t 3 is a start of the battery from the constant voltage charging phase The charging time is charged to the end time of the constant voltage charging phase.
- t 3 is not adjustable, so it can be measured in advance.
- the charging power in the constant current charging phase is proportional to the charging time and the charging current value, so t 2 can be measured in advance, or can be calculated according to the amount of the battery to be charged and the current to be selected charged by the battery during the constant current charging phase. inferred.
- the above embodiment of the present invention describes different ways of obtaining the time t for fully charging the battery according to different charging stages when the charging phase of the battery includes a trickle charging phase, a constant current charging phase, and a constant voltage charging phase.
- the embodiment of the present invention can also be applied to the case where the charging phase of the battery is not divided into the above three charging phases, and will not be described in detail herein.
- the candidate current value must satisfy the relationship that the time taken to charge the battery from the remaining power to the full power based on the candidate current value is less than or equal to the target charging time input by the user.
- the candidate current value is specifically obtained, not only the time used to fully charge the battery but also the time less than or equal to the target charging time can be obtained from the acquired time, thereby obtaining the candidate current value. It is also possible to obtain the candidate current value by not acquiring the time, but by obtaining the total power value for charging the battery during the target charging time or the minimum current value for fully charging the battery during the target charging time.
- the three methods for obtaining the current value to be selected are specifically described below through three embodiments.
- an embodiment of the present invention provides a sixth embodiment of an electronic device.
- the preset three current values 500 mA (mA), 1000 mA, and 2000 mA are taken as an example.
- the electronic device of this embodiment specifically includes: a preset unit 1201, a receiving unit 1202, an obtaining unit 1203, a selecting unit 1204, and a charging unit 1205.
- the preset unit 1201 is configured to preset three current values: 500 mA, 1000 mA, and 2000 mA.
- the receiving unit 1202 is configured to receive a target charging time input by the user.
- the obtaining unit 1203 is configured to acquire a remaining power of the battery, and obtain at least one candidate current value from the preset current value; the candidate current value is to use the battery from the selected current value The time during which the remaining power is charged to the full charge is less than or equal to the current value of the target charging time.
- the selecting unit 1204 is configured to select one current value from the candidate current values as the charging current value.
- the selecting unit 1204 may be configured to select a minimum current value from the candidate current values as the charging current value, or may select a current value lower than the preset threshold from the candidate current values as the charging current value.
- the charging unit 1205 is configured to charge the battery based on the charging current value. Since the trickle charging phase of the battery and the charging time of the constant voltage charging phase are not adjustable, the present embodiment adjusts the charging current of the constant current charging phase. During the trickle charge phase and constant voltage charge phase of the battery, the charging unit 1205 can still charge the battery in the manner as present.
- the obtaining unit 1203 is configured to obtain at least one candidate current value from the preset current value, specifically:
- the obtaining unit 1203 is configured to acquire, according to the preset current value (500 mA, 1000 mA, and 2000 mA), a predicted charging time used to charge the battery from the remaining power to a full power, which is less than or equal to the target charging time.
- the predicted charging time is used as the candidate time, and the preset current value on which the candidate time is acquired is taken as the candidate current value.
- the predicted charging time used to charge the battery from the remaining power to the full power based on the preset current value i is different according to the charging phase of the battery.
- the charging phase of the battery includes a trickle charging phase, a constant current charging phase, and a constant voltage charging phase
- t 1 is the charging time of the battery in the trickle charging phase
- t 2 is the target charging time of the battery in the constant current charging phase when charging according to the candidate current value
- t 3 is the constant voltage of the battery.
- Charging time of the charging phase The values of t 1 , t 2 and t 3 are related depending on the charging phase in which the battery is located.
- t 1 is the time from the start of charging the battery trickle charging phase to the trickle charge phase end time of the charging time.
- t 2 is a charging time for charging the battery from the start time of the constant current charging phase to the end time of the constant current charging phase based on the preset current value i.
- t 3 is a charging time for charging the battery from the start time of the constant voltage charging phase to the end time of the constant voltage charging phase.
- t 1 and t 3 are not adjustable, and thus may be a pre-measured time
- q 2 is The total amount of electricity in the constant current charging phase of the battery.
- the battery is in the trickle charging phase, and it is pre-measured that the charging time t j , that is, the sum of t 1 , t 2 and t 3 , is 3 hours, based on 1000 mA in the constant current charging phase, based on 1000 mA in the constant current phase.
- the predicted charging time t j is 2 hours.
- the predicted charging time t j is 1.5 hours. Since the target charging time input by the user is 2 hours, 1.5 hours and 1 hour are The waiting time, 1000mA and 2000mA are the values of the candidate current.
- t 1 is 0.
- t 2 is a charging time for charging the battery from the remaining power amount to an end time of the constant current charging phase based on the preset current value i
- t 3 is to keep the battery from the constant
- the charging time of the end of the voltage charging phase is charged to the charging time of the end of the constant voltage charging phase.
- the entire constant current charging phase can be divided into a plurality of sub-charging phases, for example, a power amount of 5% of the total amount of electricity is used as the power interval of the sub-charging phase.
- the charging time from the charging of each sub-charging stage to the end of the constant-current charging phase is measured in advance. For example, 8-12% of the total charge is a sub-charge phase, and it is measured from 8-12% (the power at the start point, the midpoint or the end point can be taken) to 92% of the total charge, that is, the constant current charge phase.
- the charging time used At the end of the time, the charging time used. Therefore, if it is judged that the remaining electric quantity belongs to a certain sub-charging stage, the charging time of the sub-charging stage measured in advance to the end time of the constant current charging stage is taken as t 2 .
- the flow may be ended at this time, or the charging may be performed according to the target charging time and the pre-measured constant voltage.
- the charging time of the stage determines whether the power can be fully charged within the target charging time input by the user at this time, and prompts the user to determine the result.
- the acquisition unit 1203 acquires the candidate current value by acquiring the predicted charging time used to fully charge the battery.
- the charging phase of the battery includes a trickle charging phase, a constant current charging phase, and a constant voltage charging phase, it is necessary to obtain a predicted charging time for fully charging the battery according to different charging phase selection methods.
- a seventh embodiment of an electronic device is provided.
- three preset current values 500 mA (milliampere), 1000 mA, and 2000 mA are taken as examples.
- the electronic device of this embodiment specifically includes: a preset unit 1301, a receiving unit 1302, an obtaining unit 1303, a selecting unit 1304, and a charging unit 1305.
- the preset unit 1301 is configured to preset three current values: 500 mA, 1000 mA, and 2000 mA.
- the receiving unit 1302 is configured to receive a target charging time input by the user.
- the obtaining unit 1303 is configured to acquire a remaining battery power, and the preset current value Obtaining at least one candidate current value; the candidate current value is a current value that is used to charge the battery from the remaining power to the full charge based on the candidate current value is less than or equal to the target charging time.
- the selecting unit 1304 is configured to select one current value from the candidate current values as the charging current value.
- the selecting unit 1304 may be configured to select a minimum current value from the candidate current values as the charging current value, or may select a current value lower than the preset threshold from the candidate current values as the charging current value.
- the charging unit 1305 is configured to charge the battery based on the charging current value. Since the trickle charging phase of the battery and the charging time of the constant voltage charging phase are not adjustable, the present embodiment adjusts the charging current of the constant current charging phase. During the trickle charging phase and the constant voltage charging phase of the battery, the charging unit 1305 can still charge the battery in the manner as present.
- the acquiring unit 1303 is configured to obtain at least one candidate current value from the preset current value, specifically:
- the obtaining unit 1303 is configured to acquire, according to the preset current value (500 mA, 1000 mA, and 2000 mA), a predicted charging power amount for charging the battery during the target charging time, which is greater than or equal to the battery to be charged.
- the predicted charging power is used as the to-be-selected power, and the preset current value based on when the to-be-selected power is obtained is used as the candidate current value.
- the amount of charge of the battery to be charged is obtained according to the remaining power.
- the amount of charge to be charged of the battery is the difference between the total amount of power of the battery and the remaining amount of power.
- the predicted charging amount for charging the battery based on the preset current value i during the target charging time is different according to the charging phase of the battery, and the acquiring manner thereof is also different.
- the charging phase of the battery includes a trickle charging phase, a constant current charging phase, and a constant voltage charging phase
- q 1 is the amount of charge to be charged of the battery during the trickle charging phase
- q 2 is the predicted charge amount of the battery during the constant current charging phase when charging according to the preset current value
- q 3 is The amount of charge to be charged of the battery during the constant voltage charging phase.
- the values of q 1 , q 2 and q 3 are related depending on the charging phase in which the battery is located.
- q 1 is the total amount of power in the trickle charging phase of the battery
- t 1 and t 3 may be pre-measured Time; q 3 is the total amount of electricity of the battery during the constant voltage charging phase.
- the battery is in the trickle charging phase
- the charging time t 1 for charging the battery from the start time of the trickle charging phase to the end of the trickle charging phase is specifically measured to be 0.3 h.
- the charging time t 3 of the battery charging from the start time of the constant voltage charging phase to the end time of the constant voltage charging phase is specifically 0.2 h
- the target charging time t m -t 1 -t 3 of the stream charging phase is 1.5 h.
- q 3 is the total amount of electricity in the constant voltage charging phase of the battery.
- the flow may be ended at this time, or the charging may be performed according to the target charging time and the pre-measured constant voltage.
- the charging time of the stage determines whether the power can be fully charged within the target charging time input by the user at this time, and prompts the user to determine the result.
- the obtaining unit 1303 acquires the to-be-selected current value by acquiring the predicted charging power amount for charging the battery during the target charging time.
- the charging phase of the battery includes a trickle charging phase, a constant current charging phase, and a constant voltage charging phase
- the acquired candidate current values are the same. This is because, for a preset current value, if the predicted charging power for charging the battery during the target charging time is greater than or equal to the amount of power to be charged based on the current value, the battery is removed from the remaining based on the current value.
- the predicted charging time used to charge the battery to full charge must be less than or equal to the target charging time.
- an embodiment of the present invention provides an eighth embodiment of an electronic device.
- three preset current values 500 mA (mA), 1000 mA, and 2000 mA are taken as an example.
- the electronic device of this embodiment specifically includes: a preset unit 1401, a receiving unit 1402, an obtaining unit 1403, a selecting unit 1404, and a charging unit 1405.
- the preset unit 1401 is configured to preset three current values: 500 mA, 1000 mA, and 2000 mA.
- the receiving unit 1402 is configured to receive a target charging time input by the user.
- the obtaining unit 1403 is configured to acquire a remaining power of the battery, and obtain at least one candidate current value from the preset current value; the candidate current value is to use the battery from the selected current value The time during which the remaining power is charged to the full charge is less than or equal to the current value of the target charging time.
- the selecting unit 1404 is configured to select one current value from the candidate current values as the charging current value.
- the selecting unit 1404 may be configured to select a minimum current value from the candidate current values as the charging current value, or may select a current value lower than the preset threshold from the candidate current values as the charging current value.
- the charging unit 1405 is configured to charge the battery based on the charging current value. Since the trickle charging phase of the battery and the charging time of the constant voltage charging phase are not adjustable, the present embodiment adjusts the charging current of the constant current charging phase. Charging during the trickle charge phase and constant voltage charge phase of the battery Unit 1405 can still charge the battery in the manner as present.
- the obtaining unit 1403 is configured to obtain at least one candidate current value from the preset current value, specifically:
- the obtaining unit 1403 is configured to acquire a minimum current value when the battery is charged from the remaining power to the full power during the target charging time; and the preset current value that is greater than or equal to the minimum current value is used as The candidate current value.
- the minimum current value when the battery is charged from the remaining power to the full charge during the target charging time is different according to the charging phase of the battery.
- the charging phase of the battery includes a trickle charging phase, a constant current charging phase, and a constant voltage charging phase
- the minimum current value of the embodiment Refers to the minimum current value during the constant current charging phase.
- q 2 is the minimum charging power of the battery in the constant current charging phase
- t 1 is the charging time of the battery in the trickle charging phase
- t 3 is the battery to be charged in the constant voltage charging phase.
- Time, the t m is the target charging time input by the user.
- the values of q 2 , t 1 and t 3 are related depending on the charging phase in which the battery is located.
- the q 2 is a total power of the constant current charging phase of the battery
- t 1 is a charging phase of the battery from the trickle
- the start time is charged to the charging time at the end of the trickle charging phase
- t 3 is a charging time for charging the battery from the start time of the constant voltage charging phase to the end time of the constant voltage charging phase.
- t 1 and t 3 are not adjustable, and thus may be a time measured in advance.
- the battery is in a trickle charging phase
- the charging time t 1 for charging the battery from the start time of the trickle charging phase to the end of the trickle charging phase is 0.3 h
- the battery is
- the charging time t 3 from the start of the constant voltage charging phase to the end of the constant voltage charging phase is 0.2 h
- the time t m -t 1 -t 3 is 1.5h.
- t 3 is a charging time for charging the battery from the start time of the constant voltage charging phase to the end time of the constant voltage charging phase. Since t 3 is not adjustable, it can be a time measured in advance.
- the battery is in the constant current charging phase, and the charging time t 3 at which the battery is charged from the start time of the constant voltage charging phase to the end of the constant voltage charging phase is 0.2h, and the target charging is performed.
- it is necessary to achieve charging at least q t -q s -q 3 , q t -q s -q 3 in the constant current charging phase during t m -t 3 .
- the minimum current value i 2 is 544 mA, and therefore, two preset current values of 544 mA or more, that is, 1000 mA and 2000 mA are the values of the standby current.
- the flow may be ended at this time, or the charging may be performed according to the target charging time and the pre-measured constant voltage.
- the charging time of the stage determines whether the power can be fully charged within the target charging time input by the user at this time, and prompts the user to determine the result.
- the obtaining unit 1403 acquires the candidate current value by acquiring the minimum current value required to fully charge the battery during the target charging time.
- the charging phase of the battery includes a trickle charging phase, a constant current charging phase, and a constant voltage charging phase
- the minimum current value needs to be obtained according to different charging phase selections.
- the manner of obtaining the candidate current value by the minimum current value, the manner of obtaining the candidate current value by predicting the charging power amount, and the manner of obtaining the candidate current value by predicting the charging time although the acquired parameters are different,
- the acquired current values are the same. The reason is that, for the preset current value, if the minimum current value is greater than or equal to, the predicted charging power for charging the battery in the target charging time based on the preset current value is determined to be greater than It is equal to the total power of the battery, and also indicates that the predicted charging time used to charge the battery from the remaining power to the full power based on the preset current value must be less than or equal to the target charging time.
- the selecting unit in the embodiment of the present invention may be further configured to: when the preset current value does not have a candidate current value, select a maximum current value as the charging current value among the preset current values, thereby making the target The charging power is the largest during the charging time.
- the battery is charged in such a way that when there is a charging power input, the battery is charged at a fixed charging speed. Obviously, this charging method cannot control the start time or end time of charging.
- the receiving unit is further configured to receive a target charging start time input by the user, and the charging unit is configured to charge the battery, where the charging unit is configured to be used at the target charging start time. Charge the battery.
- the receiving unit is further configured to receive a target charging stop time input by the user; and the charging unit is further configured to stop charging the battery when the target charging stop time.
- the receiving unit is further configured to receive a target charging start time input by the user and a target charging stop time input by the user, and the charging unit is configured to charge the battery
- the charging unit is configured to be used at the target charging start time.
- the battery is charged.
- the charging unit is further configured to stop charging the battery when the target charging stop time.
- the target charging time is an interval time between the target charging start time and the target charging stop time, and the target charging time is actually equivalent to being indirectly input by the user. Thereby, control of the start and/or end time of charging of the battery is achieved.
- the charging unit may include a charging chip, and the charging chip charges the battery. Therefore, the specific implementation manner of charging the battery to the charging unit at a certain time may be to turn on the charging switch of the charging chip at a certain moment. Or enable the charging chip. The specific way in which the charging unit stops charging the battery at a certain time may be to turn off the charging switch of the charging chip or disable the charging chip at a certain moment.
- the specific implementation is:
- the electronic device of the embodiment of the invention further includes: a determining unit.
- the obtaining unit of the embodiment of the invention is further used for: charging unit of the embodiment of the invention to the battery After charging, the remaining power of the current time of the battery and the charging current value of the current time are obtained.
- the determining unit of the embodiment of the present invention is configured to determine, according to the charging current value of the current time, whether the time used for charging the battery from the remaining power of the current time to the full power is greater than a new target charging time, if If yes, the acquiring unit is notified to obtain at least one candidate current value from the preset current value.
- t m is the target charging time, and
- T C is the starting time of charging the battery
- T D is the current time, and the time used for charging the battery from the remaining power of the current time to the full power based on the re-acquired candidate current value is less than or equal to the new target charging time;
- the selecting unit of the embodiment of the present invention is further configured to select a current value from the re-acquired candidate current values as a new charging current value.
- the charging unit of the embodiment of the invention is further for charging the battery based on the new charging current value.
- the specific manners of the acquisition unit re-acquiring the value of the current to be selected may be specifically referred to the second embodiment to the fourth embodiment of the electronic device, and details are not described herein.
- the obtaining unit of the embodiment of the present invention can also cyclically execute the above functions in a certain cycle, thereby adjusting the charging current value according to the charging condition of the battery in real time, and ensuring that the battery can be fully charged at the expected battery charging stop time.
- the disclosed system, apparatus, and method may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
- the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, may be located in one place. Or it can be distributed to multiple network elements. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
- the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
- a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
Landscapes
- Engineering & Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Chemical & Material Sciences (AREA)
- Chemical Kinetics & Catalysis (AREA)
- Electrochemistry (AREA)
- General Chemical & Material Sciences (AREA)
- Power Engineering (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
- Secondary Cells (AREA)
Abstract
本发明实施例提供了一种充电方法及电子设备,所述方法预设了至少两个电流值,包括:接收用户输入的目标充电时间;获取电池的剩余电量;从预设的所述电流值中获取至少一个待选电流值,所待选电流值为基于该待选电流值将电池从所述剩余电量充电至满电量所使用的时间小于等于目标充电时间的电流值;从所述待选电流值中选择一个电流值作为充电电流值;基于所述充电电流值向电池充电。可见,本发明实施例根据目标充电时间,从预设的电流值中选择一个电流值作为充电电流值,从而对充电速度进行了调整,而充电电流值使得基于该电流值将电池从剩余电量充电至满电量时所使用的时间不大于目标充电时间,实现了在用户输入的目标充电时间内能够将电池充满电。
Description
本发明涉及移动通信技术,尤其涉及一种充电方法及电子设备。
随着电子技术的不断发展,人们对手机、PAD等电子设备的依赖性也越来越强。手机、PAD等电子设备一般采用电池进行供电,当电子设备的电池电量不足时,就需要对电池进行充电,以保证电子设备的正常工作。
目前对电池充电的方式是,当有充电电源输入时,该充电电源就以固定的充电速度给电池充电。
然而在某些情况下,充电时间具有一定的限制,而现有的充电方式即使在这种充电时间受限的情况下,也仍然以固定的充电速度给电池充电,不能实现根据受限的充电时间调整充电速度,以使得在受限的充电时间内给电池充满电。
发明内容
本发明解决的技术问题在于提供一种充电方法及电子设备,以实现能够根据受限的充电时间对充电速度进行调整,从而在受限的充电时间内给电池充满电。
为此,本发明解决技术问题的技术方案是:
第一方面,本发明实施例提供了一种充电方法,预设至少两个电流值,所述方法包括:
接收用户输入的目标充电时间;
获取电池的剩余电量;
从预设的所述电流值中获取至少一个待选电流值,所述待选电流值为基于该待选电流值将所述电池从所述剩余电量充电至满电量所使用的时间小于等于所述目标充电时间的电流值;
从所述待选电流值中选择一个电流值作为充电电流值;
基于所述充电电流值向所述电池充电。
在第一方面的第一种可能的实现方式中,所述电池的充电阶段包括涓流充电阶段、恒流充电阶段和恒压充电阶段;
所述基于该待选电流值将所述电池从所述剩余电量充电至满电量所使用的时间t为:t=t1+t2+t3;
所述基于所述充电电流值向所述电池充电具体为:在所述恒流充电阶段基于所述充电电流值向所述电池充电;
若根据所述剩余电量判断出所述电池处于所述涓流充电阶段,所述t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间,所述t2为基于该待选电流值,将所述电池从所述恒流充电阶段的开始时刻充电至所述恒流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间;
若根据所述剩余电量判断出所述电池处于所述恒流充电阶段,所述t1为0,所述t2为基于该待选电流值将所述电池从所述剩余电量充电至所述恒流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间。
结合第一方面或者第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述从预设的所述电流值中获取至少一个待选电流值具体为:
获取基于预设的所述电流值将所述电池从所述剩余电量充电至满电量所使用的预测充电时间,将小于等于所述目标充电时间的所述预测充电时间作为待选时间,将获取所述待选时间时所基于的预设的所述电流值作为所述待选电流值。
结合第一方面的第二种可能的实现方式,在第一方面的第三种可能的实现方式中,所述基于预设的所述电流值i将所述电池从所述剩余电量充电至满电量所使用的预测充电时间tj为tj=t1+t2+t3;
若根据所述剩余电量判断出所述电池处于所述涓流充电阶段,所述t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间,所述t2为基于预设的所述电流值i,将所述电池从所述
恒流充电阶段的开始时刻充电至所述恒流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间;其中,所述t1和所述t3为预先测出的时间,所述t2为预先测出的或者根据t2=q2/i计算得出的时间;q2为所述电池的所述恒流充电阶段的总电量;
若根据所述剩余电量判断出所述电池处于所述恒流充电阶段,所述t1为0,所述t2为基于预设的所述电流值i将所述电池从所述剩余电量充电至所述恒流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间;所述t3为预先测出的时间,所述t2为预先测出的或者根据t2=(qt-qs-q3)/i计算得出的时间;所述qt为所述电池的总电量,所述qs为所述剩余电量,所述q3为所述电池的所述恒压充电阶段的总电量。
结合第一方面或者第一方面的第一种可能的实现方式,在第一方面的第四种可能的实现方式中,所述从预设的所述电流值中获取至少一个待选电流值具体为:
获取基于预设的所述电流值在所述目标充电时间内给所述电池充电的预测充电电量,将大于等于所述电池的待充电电量的所述预测充电电量作为待选电量,将获取所述待选电量时所基于的预设的所述电流值作为所述待选电流值;
所述电池的待充电电量根据所述剩余电量获取。
结合第一方面的第四种可能的实现方式,在第一方面的第五种可能的实现方式中,所述基于预设的所述电流值i在所述目标充电时间内给所述电池充电的预测充电电量qj为qj=q1+q2+q3;
若根据所述剩余电量判断出所述电池处于所述涓流充电阶段,所述q1为所述电池的所述涓流充电阶段的总电量,所述q2根据q2=i×(tm-t1-t3)计算得到,所述tm为所述目标充电时间,所述t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间,所述t1和所述t3为预先测出的时间;所述q3为所述电池的所述恒压充电阶段的总电量;
若根据所述剩余电量判断出所述电池处于所述恒流充电阶段,所述q1为0,所述q2根据q2=i×(tm-t3)计算得到,所述tm为所述目标充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间,所述t3为预先测出的时间;所述q3为所述电池的所述恒压充电阶段的总电量。
结合第一方面或者第一方面的第一种可能的实现方式,在第一方面的第六种可能的实现方式中,所述从预设的所述电流值中获取至少一个待选电流值具体为:
获取在所述目标充电时间内将所述电池从所述剩余电量充电至满电量时的最小电流值;将大于等于所述最小电流值的预设的所述电流值作为所述待选电流值。
结合第一方面的第六种可能的实现方式,在第一方面的第七种可能的实现方式中,所述在所述目标充电时间内将所述电池从所述剩余电量充电至满电量时的最小电流值i2为i2=q2/(tm-t1-t3);
若根据所述剩余电量判断出所述电池处于所述涓流充电阶段,所述q2为所述电池的所述恒流充电阶段的总电量,所述tm为所述目标充电时间,所述t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间,所述t1和所述t3为预先测出的时间;
若根据所述剩余电量判断出所述电池处于所述恒流充电阶段,所述t1为0,所述q2根据q2=qt-qs-q3计算得到,所述qt为所述电池的总电量,所述qs为所述剩余电量,所述q3为所述电池的所述恒压充电阶段的总电量;所述tm为所述目标充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间,所述t3为预先测出的时间。
结合第一方面、第一方面的第一种至第七种任一种可能的实现方式,在第一方面的第八种可能的实现方式中,所述从所述待选电流值中选择一个电流值作为充电电流值具体为:
从所述待选电流值中选择最小的电流值、或者低于预设阈值的电流值作
为所述充电电流值。
结合第一方面、第一方面的第一种至第八种任一种可能的实现方式,在第一方面的第九种可能的实现方式中,所述方法还包括:若预设的所述电流值中不存在所述待选电流值时,在预设的所述电流值中选择最大的电流值作为所述充电电流值。
结合第一方面、第一方面的第一种至第九种任一种可能的实现方式,在第一方面的第十种可能的实现方式中,所述方法还包括:
接收用户输入的目标充电开始时刻;
所述向所述电池充电具体为:在所述目标充电开始时刻时,向所述电池充电;
和/或,
接收用户输入的目标充电停止时刻;
在所述目标充电停止时刻时,停止向所述电池充电;
若接收所述目标充电开始时刻和所述目标充电停止时刻,所述目标充电时间为所述目标充电开始时刻和所述目标充电停止时刻之间的间隔时间。
结合第一方面、第一方面的第一种至第十种任一种可能的实现方式,在第一方面的第十一种可能的实现方式中,所述向所述电池充电之后还包括:
获取所述电池当前时刻的剩余电量和当前时刻的充电电流值;
判断基于所述当前时刻的充电电流值,将所述电池从所述当前时刻的剩余电量充电至满电量所使用的时间是否大于新的目标充电时间,如果是,则重新从预设的所述电流值中获取至少一个待选电流值;其中,所述新的目标充电时间tm'为tm'=tm-(TD-TC);tm为所述目标充电时间,TC为所述向所述电池充电的开始时刻,TD为当前时刻,基于重新获取的待选电流值将所述电池从所述当前时刻的剩余电量充电至满电量所使用的时间小于等于所述新的目标充电时间;
从所述重新获取的待选电流值中选择一个电流值作为新的充电电流值;
基于所述新的充电电流值,向所述电池充电。
第二方面,本发明实施例提供了一种电子设备,所述设备包括:接收模块、供电模块、处理器和存储器;
所述接收模块用于接收用户输入的目标充电时间;
所述处理器用于预设至少两个电流值、获取电池的剩余电量、从预设的所述电流值中获取至少一个待选电流值、以及从所述待选电流值中选择一个电流值作为充电电流值;所述待选电流值为基于该待选电流值将所述电池从所述剩余电量充电至满电量所使用的时间小于等于所述目标充电时间的电流值;
所述供电模块用于基于所述充电电流值向所述电池充电。
在第二方面的第一种可能的实现方式中,所述电池的充电阶段包括涓流充电阶段、恒流充电阶段和恒压充电阶段;
所述基于该待选电流值将所述电池从所述剩余电量充电至满电量所使用的时间t为:t=t1+t2+t3;
所述供电模块用于基于所述充电电流值向所述电池充电具体为:所述供电模块用于,在所述恒流充电阶段基于所述充电电流值向所述电池充电;
若所述处理器根据所述剩余电量判断出所述电池处于所述涓流充电阶段,所述t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间,所述t2为基于该待选电流值,将所述电池从所述恒流充电阶段的开始时刻充电至所述恒流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间;
若所述处理器根据所述剩余电量判断出所述电池处于所述恒流充电阶段,所述t1为0,所述t2为基于该待选电流值将所述电池从所述剩余电量充电至所述恒流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间。
结合第二方面或者第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述处理器用于从预设的所述电流值中获取至少一个待选电流值具体为:
所述处理器用于获取基于预设的所述电流值将所述电池从所述剩余电量充电至满电量所使用的预测充电时间,将小于等于所述目标充电时间的所述预测充电时间作为待选时间,将获取所述待选时间时所基于的预设的所述电流值作为所述待选电流值。
结合第二方面的第二种可能的实现方式,在第二方面的第三种可能的实
现方式中,所述基于预设的所述电流值i将所述电池从所述剩余电量充电至满电量所使用的预测充电时间tj为tj=t1+t2+t3;
若所述处理器根据所述剩余电量判断出所述电池处于所述涓流充电阶段,所述t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间,所述t2为基于预设的所述电流值i,将所述电池从所述恒流充电阶段的开始时刻充电至所述恒流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间;其中,所述t1和所述t3为预先测出的时间,所述t2为预先测出的或者根据t2=q2/i计算得出的时间;q2为所述电池的所述恒流充电阶段的总电量;
若所述处理器根据所述剩余电量判断出所述电池处于所述恒流充电阶段,所述t1为0,所述t2为基于预设的所述电流值i将所述电池从所述剩余电量充电至所述恒流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间;所述t3为预先测出的时间,所述t2为预先测出的或者根据t2=(qt-qs-q3)/i计算得出的时间;所述qt为所述电池的总电量,所述qs为所述剩余电量,所述q3为所述电池的所述恒压充电阶段的总电量。
结合第二方面或者第二方面的第一种可能的实现方式,在第二方面的第四种可能的实现方式中,所述处理器用于从预设的所述电流值中获取至少一个待选电流值具体为:
所述处理器用于获取基于预设的所述电流值在所述目标充电时间内给所述电池充电的预测充电电量,将大于等于所述电池的待充电电量的所述预测充电电量作为待选电量,将获取所述待选电量时所基于的预设的所述电流值作为所述待选电流值;所述电池的待充电电量根据所述剩余电量获取。
结合第二方面的第四种可能的实现方式,在第二方面的第五种可能的实现方式中,所述基于预设的所述电流值i在所述目标充电时间内给所述电池充电的预测充电电量qj为qj=q1+q2+q3;
若所述处理器根据所述剩余电量判断出所述电池处于所述涓流充电阶段,所述q1为所述电池的所述涓流充电阶段的总电量,所述q2根据q2=i×(tm-t1-t3)计算得到,所述tm为所述目标充电时间,所述t1为将所述
电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间,所述t1和所述t3为预先测出的时间;所述q3为所述电池的所述恒压充电阶段的总电量;
若所述处理器根据所述剩余电量判断出所述电池处于所述恒流充电阶段,所述q1为0,所述q2根据q2=i×(tm-t3)计算得到,所述tm为所述目标充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间,所述t3为预先测出的时间;所述q3为所述电池的所述恒压充电阶段的总电量。
结合第二方面或者第二方面的第一种可能的实现方式,在第二方面的第六种可能的实现方式中,所述处理器用于从预设的所述电流值中获取至少一个待选电流值具体为:
所述处理器用于获取在所述目标充电时间内将所述电池从所述剩余电量充电至满电量时的最小电流值;将大于等于所述最小电流值的预设的所述电流值作为所述待选电流值。
结合第二方面的第六种可能的实现方式,在第二方面的第七种可能的实现方式中,所述在所述目标充电时间内将所述电池从所述剩余电量充电至满电量时的最小电流值i2为i2=q2/(tm-t1-t3);
若所述处理器根据所述剩余电量判断出所述电池处于所述涓流充电阶段,所述q2为所述电池的所述恒流充电阶段的总电量,所述tm为所述目标充电时间,所述t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间,所述t1和所述t3为预先测出的时间;
若所述处理器根据所述剩余电量判断出所述电池处于所述恒流充电阶段,所述t1为0,所述q2根据q2=qt-qs-q3计算得到,所述qt为所述电池的总电量,所述qs为所述剩余电量,所述q3为所述电池的所述恒压充电阶段的总电量;所述tm为所述目标充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间,所述t3为预先测出的时间。
结合第二方面、第二方面的第一种至第七种任一种可能的实现方式,在第二方面的第八种可能的实现方式中,所述处理器用于从所述待选电流值中选择一个电流值作为充电电流值具体为:
所述处理器用于从所述待选电流值中选择最小的电流值、或者低于预设阈值的电流值作为所述充电电流值。
结合第二方面、第二方面的第一种至第八种任一种可能的实现方式,在第二方面的第九种可能的实现方式中,所述处理器还用于:若预设的所述电流值中不存在所述待选电流值时,在预设的所述电流值中选择最大的电流值作为所述充电电流值。
结合第二方面、第二方面的第一种至第九种任一种可能的实现方式,在第二方面的第十种可能的实现方式中,所述接收模块还用于接收用户输入的目标充电开始时刻;
所述供电模块用于向所述电池充电具体为:所述供电模块用于在所述目标充电开始时刻时,向所述电池充电;
和/或,
所述接收模块还用于接收用户输入的目标充电停止时刻;
所述供电模块还用于在所述目标充电停止时刻时,停止向所述电池充电;
若所述接收模块用于接收所述目标充电开始时刻和所述目标充电停止时刻,所述目标充电时间为所述目标充电开始时刻和所述目标充电停止时刻之间的间隔时间。
结合第二方面、第二方面的第一种至第十种任一种可能的实现方式,在第二方面的第十一种可能的实现方式中,所述处理器还用于:向所述电池充电之后,获取所述电池当前时刻的剩余电量和当前时刻的充电电流值,判断基于所述当前时刻的充电电流值,将所述电池从所述当前时刻的剩余电量充电至满电量所使用的时间是否大于新的目标充电时间,如果是,则重新从预设的所述电流值中获取至少一个待选电流值,以及从所述重新获取的待选电流值中选择一个电流值作为新的充电电流值;
其中,所述新的目标充电时间tm'为tm'=tm-(TD-TC);tm为所述目标充电时间,TC为所述向所述电池充电的开始时刻,TD为当前时刻,基于重新
获取的待选电流值将所述电池从所述当前时刻的剩余电量充电至满电量所使用的时间小于等于所述新的目标充电时间;
所述供电模块还用于基于所述新的充电电流值,向所述电池充电。
第三方面,本发明实施例提供了一种电子设备,所述设备包括:预设单元、接收单元、获取单元、选择单元和充电单元;
所述预设单元用于,预设至少两个电流值;
所述接收单元用于,接收用户输入的目标充电时间;
所述获取单元用于,获取电池的剩余电量,以及从预设的所述电流值中获取至少一个待选电流值;所述待选电流值为基于该待选电流值将所述电池从所述剩余电量充电至满电量所使用的时间小于等于所述目标充电时间的电流值;
所述选择单元用于,从所述待选电流值中选择一个电流值作为充电电流值;
所述充电单元用于,基于所述充电电流值向所述电池充电。
在第三方面的第一种可能的实现方式中,所述电池的充电阶段包括涓流充电阶段、恒流充电阶段和恒压充电阶段;
所述基于该待选电流值将所述电池从所述剩余电量充电至满电量所使用的时间t为:t=t1+t2+t3;
所述充电单元用于基于所述充电电流值向所述电池充电具体为:所述充电单元用于,在所述恒流充电阶段基于所述充电电流值向所述电池充电;
若根据所述剩余电量判断出所述电池处于所述涓流充电阶段,所述t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间,所述t2为基于该待选电流值,将所述电池从所述恒流充电阶段的开始时刻充电至所述恒流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间;
若根据所述剩余电量判断出所述电池处于所述恒流充电阶段,所述t1为0,所述t2为基于该待选电流值将所述电池从所述剩余电量充电至所述恒流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间。
结合第三方面或者第三方面的第一种可能的实现方式,在第三方面的第二种可能的实现方式中,所述获取单元用于从预设的所述电流值中获取至少一个待选电流值具体为:
所述获取单元用于获取基于预设的所述电流值将所述电池从所述剩余电量充电至满电量所使用的预测充电时间,将小于等于所述目标充电时间的所述预测充电时间作为待选时间,将获取所述待选时间时所基于的预设的所述电流值作为所述待选电流值。
结合第三方面的第二种可能的实现方式,在第三方面的第三种可能的实现方式中,所述基于预设的所述电流值i将所述电池从所述剩余电量充电至满电量所使用的预测充电时间tj为tj=t1+t2+t3;
若根据所述剩余电量判断出所述电池处于所述涓流充电阶段,所述t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间,所述t2为基于预设的所述电流值i,将所述电池从所述恒流充电阶段的开始时刻充电至所述恒流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间;其中,所述t1和所述t3为预先测出的时间,所述t2为预先测出的或者根据t2=q2/i计算得出的时间;q2为所述电池的所述恒流充电阶段的总电量;
若根据所述剩余电量判断出所述电池处于所述恒流充电阶段,所述t1为0,所述t2为基于预设的所述电流值i将所述电池从所述剩余电量充电至所述恒流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间;所述t3为预先测出的时间,所述t2为预先测出的或者根据t2=(qt-qs-q3)/i计算得出的时间;所述qt为所述电池的总电量,所述qs为所述剩余电量,所述q3为所述电池的所述恒压充电阶段的总电量。
结合第三方面或者第三方面的第一种可能的实现方式,在第三方面的第四种可能的实现方式中,所述获取单元用于从预设的所述电流值中获取至少一个待选电流值具体为:
所述获取单元用于获取基于预设的所述电流值在所述目标充电时间内给所述电池充电的预测充电电量,将大于等于所述电池的待充电电量的所述
预测充电电量作为待选电量,将获取所述待选电量时所基于的预设的所述电流值作为所述待选电流值。
结合第三方面的第四种可能的实现方式,在第三方面的第五种可能的实现方式中,所述基于预设的所述电流值i在所述目标充电时间内给所述电池充电的预测充电电量qj为qj=q1+q2+q3;
若根据所述剩余电量判断出所述电池处于所述涓流充电阶段,所述q1为所述电池的所述涓流充电阶段的总电量,所述q2根据q2=i×(tm-t1-t3)计算得到,所述tm为所述目标充电时间,所述t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间,所述t1和所述t3为预先测出的时间;所述q3为所述电池的所述恒压充电阶段的总电量;
若根据所述剩余电量判断出所述电池处于所述恒流充电阶段,所述q1为0,所述q2根据q2=i×(tm-t3)计算得到,所述tm为所述目标充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间,所述t3为预先测出的时间;所述q3为所述电池的所述恒压充电阶段的总电量。
结合第三方面或者第三方面的第一种可能的实现方式,在第三方面的第六种可能的实现方式中,所述获取单元用于从预设的所述电流值中获取至少一个待选电流值具体为:
所述获取单元用于获取在所述目标充电时间内将所述电池从所述剩余电量充电至满电量时的最小电流值;将大于等于所述最小电流值的预设的所述电流值作为所述待选电流值。
结合第三方面的第六种可能的实现方式,在第三方面的第七种可能的实现方式中,所述在所述目标充电时间内将所述电池从所述剩余电量充电至满电量时的最小电流值i2为i2=q2/(tm-t1-t3);
若根据所述剩余电量判断出所述电池处于所述涓流充电阶段,所述q2为所述电池的所述恒流充电阶段的总电量,所述tm为所述目标充电时间,所述t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始
时刻充电至所述恒压充电阶段的结束时刻的充电时间,所述t1和所述t3为预先测出的时间;
若根据所述剩余电量判断出所述电池处于所述恒流充电阶段,所述t1为0,所述q2根据q2=qt-qs-q3计算得到,所述qt为所述电池的总电量,所述qs为所述剩余电量,所述q3为所述电池的所述恒压充电阶段的总电量;所述tm为所述目标充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间,所述t3为预先测出的时间。
结合第三方面、第三方面的第一种至第七种任一种可能的实现方式,在第三方面的第八种可能的实现方式中,所述选择单元用于从所述待选电流值中选择一个电流值作为充电电流值具体为:
所述选择单元用于从所述待选电流值中选择最小的电流值、或者低于预设阈值的电流值作为所述充电电流值。
结合第三方面、第三方面的第一种至第八种任一种可能的实现方式,在第三方面的第九种可能的实现方式中,所述选择单元还用于,若预设的所述电流值中不存在所述待选电流值时,在预设的所述电流值中选择最大的电流值作为所述充电电流值。
结合第三方面、第三方面的第一种至第九种任一种可能的实现方式,在第三方面的第十种可能的实现方式中,所述接收单元还用于接收用户输入的目标充电开始时刻;
所述充电单元用于向所述电池充电具体为:所述充电单元用于在所述目标充电开始时刻时,向所述电池充电;
和/或,
所述接收单元还用于接收用户输入的目标充电停止时刻;
所述充电单元还用于在所述目标充电停止时刻时,停止向所述电池充电;
若所述接收单元用于接收所述目标充电开始时刻和所述目标充电停止时刻,所述目标充电时间为所述目标充电开始时刻和所述目标充电停止时刻之间的间隔时间。
结合第三方面、第三方面的第一种至第十种任一种可能的实现方式,在
第三方面的第十一种可能的实现方式中,所述设备还包括:判断单元;
所述获取单元还用于:所述充电单元向所述电池充电之后,获取所述电池当前时刻的剩余电量和当前时刻的充电电流值;
所述判断单元用于,判断基于所述当前时刻的充电电流值,将所述电池从所述当前时刻的剩余电量充电至满电量所使用的时间是否大于新的目标充电时间,如果是,则通知所述获取单元重新从预设的所述电流值中获取至少一个待选电流值;
其中,所述新的目标充电时间tm'为tm'=tm-(TD-TC);tm为所述目标充电时间,TC为所述向所述电池充电的开始时刻,TD为当前时刻,基于重新获取的待选电流值将所述电池从所述当前时刻的剩余电量充电至满电量所使用的时间小于等于所述新的目标充电时间;
所述选择单元还用于从所述重新获取的待选电流值中选择一个电流值作为新的充电电流值;
所述充电单元还用于基于所述新的充电电流值,向所述电池充电。
通过上述技术方案可知,本发明实施例中,根据用户输入的目标充电时间,从预设的电流值中选择一个电流值作为充电电流值,从而对充电的速度进行了调整,而选择的充电电流值使得基于该电流值将电池从剩余电量充电至满电量时所使用的时间不大于目标充电时间,从而实现了在用户输入的目标充电时间内,能够将电池充满电。
图1为本发明实施例提供的充电方法第一实施例的流程示意图;
图2为本发明实施例提供的充电方法第二实施例的流程示意图;
图3为本发明实施例提供的充电方法第三实施例的流程示意图;
图4为本发明实施例提供的充电方法第四实施例的流程示意图;
图5为本发明实施例提供的充电方法第五实施例的流程示意图;
图6为本发明实施例提供的充电方法第六实施例的流程示意图;
图7为本发明实施例提供的电子设备第一实施例的结构示意图;
图8为本发明实施例提供的电子设备第二实施例的结构示意图;
图9为本发明实施例提供的电子设备第三实施例的结构示意图;
图10为本发明实施例提供的电子设备第四实施例的结构示意图;
图11为本发明实施例提供的电子设备第五实施例的结构示意图;
图12为本发明实施例提供的电子设备第六实施例的结构示意图;
图13为本发明实施例提供的电子设备第七实施例的结构示意图;
图14为本发明实施例提供的电子设备第八实施例的结构示意图。
现有技术中,对电池充电的方式是,当有充电电源输入时,就打开充电开关,该充电电源向电池输入具有固定电流值的充电电流,也就是以固定的充电速度给电池充电,当电池充满电后,关闭充电开关。
然而在某些情况下,充电时间具有一定的限制,例如,充电电源只能在有限的时间内供电,或者用户只能在有限的时间内接触到充电电源。而现有的充电方式即使在这种充电时间受限的情况下,也仍然向电池输入具有固定电流值的充电电流,也就是以固定的充电速度给电池充电,不能实现根据受限的充电时间调整充电速度,以使得在受限的充电时间内给电池充满电。
而在本发明实施例中,提供了一种充电方法及电子设备,以实现能够根据受限的充电时间对充电速度进行调整,从而在受限的充电时间内给电池充满电。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”“第四”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过
程、方法、产品或设备固有的其它步骤或单元。
请参阅图1,本发明实施例提供了充电方法的第一实施例,在本实施例中,预设至少两个电流值,本实施例具体包括:
S101:接收用户输入的目标充电时间。
本实施例可以应用于电子设备中,所述电子设备可以提供用户界面接口,用于接收用户输入的目标充电时间。因此,当只能在有限的充电时间对电池进行充电时,用户通过用户界面接口,向电子设备输入目标充电时间,表示只能在目标充电时间内对电池进行充电。
S102:获取电池的剩余电量。
本实施例具体可以通过电量计获得电池的剩余电量。
需要说明的是,步骤S101和步骤S102的执行顺序不受限定,可以同时执行,也可以以先后顺序执行。例如,可以设置一应用程序,当用户进入该用户程序后,即获取电池的剩余电量,之后提示用户输入目标充电时间,也可以当用户进入该用户程序后,先接收由用户输入的目标充电时间,之后再获取电池的剩余电量。
S103:从预设的所述电流值中获取至少一个待选电流值。其中,所述待选电流值为基于该待选电流值将所述电池从所述剩余电量充电至满电量所使用的时间小于等于所述目标充电时间的电流值。
在该步骤中,从预设的所述电流值中获取了至少一个待选电流值,而每个待选电流值保证了用该待选电流值向电池充电,使得电池能从步骤S102中获得的剩余电量充电到满电量,也就是给电池充满电时,所使用的时间小于或等于目标充电时间,因此,每个待选电流值保证了,使用该待选电流值给电池充电能够使得在目标充电时间内给电池充满电。
S104:从步骤S103中获取的所述待选电流值中选择一个电流值作为充电电流值。
而由于给电池充电的电流值越小,电池的使用寿命越长,因此,该步骤中选择充电电流值时,可以是从所述待选电流值中选择最小的电流值作为充电电流值,也可以是从所述待选电流值中选择低于预设阈值的一个电流值作为充电电流值,该预设阈值可以根据实际情况进行设定。从而提高电池的使用寿命。
由于在本实施例中,每个待选电流值都能够保证,使用该待选电流值给电池充电能够使得在目标充电时间内给电池充满电,而充电电流值是从待选电流值中选择的,因此,基于充电电流值向电池充电也能够保证在目标充电时间内将电池从剩余电量充电至满电量。
在本实施例中,预设了至少两个电流值,而待选电流值是从预设的电流值中通过一定的条件筛选出的,而充电电流值是从待选电流值中选择的,因此,最终给电池充电的充电电流值实际是预设的电流值中的一个,因此,本实施例中,通过预设电流值能够实现控制向电池充电的电流大小,从而调节向电池充电的速度大小。而预设的至少两个电流值,分别对应至少两个不同的充电速度。
S105:基于步骤S104中选择的所述充电电流值,向所述电池充电。
该步骤中,实际上是向电池输入充电电流以向电池充电,而充电电流的电流值为所述充电电流值。
通过上述技术方案可知,本发明实施例中,预设了至少两个电流值,分别对应不同的充电速度。根据用户输入的目标充电时间,从预设的电流值中选择一个电流值作为充电电流值,从而对充电的速度进行了调整,而选择的充电电流值使得基于该电流值将电池从剩余电量充电至满电量时所使用的时间小于等于目标充电时间,从而实现了在用户输入的目标充电时间内,能够将电池充满电。
本实施例的执行主体可以是一电子设备,该电子设备可以为手机、PAD、电脑等终端设备,通过外接充电电源向本实施例中的电池充电,此时该电池可以为该电子设备的供电电源;该电子设备还可以为充电器等充电设备,通过自身具有的供电电源向本实施例中的电池充电。
在本实施例中,基于待选电流值将电池充满电所使用的时间小于等于目标充电时间。实际上,电池具有不同的充电阶段,根据电池的充电阶段的不同,上述基于待选电流值将电池充满电所使用的时间也不同。下面首先介绍电池的充电阶段。
目前,大部分电池(例如锂电池、聚合物类的电池等)在充电时,都分为涓流充电阶段、恒流充电阶段和恒压充电阶段。其中,涓流充电阶段一般指的当电池的剩余电量属于低电量(例如总电量的8%以下)时,会采用较小
的电流向电池充电。恒流充电阶段指的电池的剩余电量属于中电量(例如总电量的8%-92%)时,会通过恒流方式向电池充电,恒压充电阶段指的是电池的剩余电量属于高电量(例如总电量的92%以上)时,会通过恒压的方式向电池充电。其中,对于涓流充电阶段和恒压充电阶段来说,充电电流值都是不可调节的,即充电时间固定。
当电池的充电阶段包括上述三个充电阶段时,本实施例中步骤S103中的基于该待选电流值将所述电池从所述剩余电量充电至满电量所使用的时间t实际上为上述三个充电阶段的待充电时间之和,即t=t1+t2+t3;其中,t1为所述电池在涓流充电阶段的待充电时间,t2为所述电池在恒流充电阶段基于待选电流值充电时的待充电时间,t3为所述电池在恒压充电阶段的待充电时间。并且步骤S105具体为在恒流充电阶段基于所述充电电流值,向所述电池充电。下面分别说明电池处于不同的充电阶段时,t1、t2和t3的不同取值。
若根据电池的剩余电量判断出电池处于涓流充电阶段时,此时可以认为电池的剩余电量为0,因此t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间,所述t2为基于该待选电流值,将所述电池从所述恒流充电阶段的开始时刻充电至所述恒流充电阶段的结束时刻的充电时间,t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间。其中,t1和t3不可调节,因此可以预先测出。而恒流充电阶段的充电电量与充电时间和充电电流值呈正比关系,因此t2即可以预先测出,也可以根据电池的恒流充电阶段的总电量和待选电流值计算得出。
若根据电池的剩余电量判断出电池处于恒流充电阶段时,则电池在涓流充电阶段的待充电时间为0,即t1为0。而t2为基于该待选电流值将所述电池从所述剩余电量充电至所述恒流充电阶段的结束时刻的充电时间,t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间。其中,t3不可调节,因此可以预先测出。而恒流充电阶段的充电电量与充电时间和充电电流值呈正比关系,因此t2即可以预先测出,也可以根据电池在所述恒流充电阶段充电的待充电电量和待选电流值计算得出。
上面本发明实施例介绍了当电池的充电阶段包括涓流充电阶段、恒流充电阶段和恒压充电阶段时,具体根据不同的充电阶段获取将所述电池充满电的时间t的不同方式。实际上,本发明实施例也能适用于电池的充电阶段并不划分为上述三个充电阶段的情况,这里不再详述。
在本发明实施例中,待选电流值一定满足下述关系:基于该待选电流值将所述电池从所述剩余电量充电至满电量所使用的时间小于等于用户输入的目标充电时间。而在具体获取待选电流值时,不仅可以通过获取将电池充满电所使用的时间,从获取的时间中再获取小于等于目标充电时间的时间,从而得到待选电流值。还可以不通过获取时间,而是通过获取在目标充电时间内给电池充电的总电量值,或者在目标充电时间内给电池充满电的最小电流值,来获取待选电流值。下面分别通过三个实施例对这三种获取待选电流值的方式做具体说明。
(一)、通过获取将电池充满电所使用的预测充电时间获取待选电流值。
请参阅图2,本发明实施例提供了充电方法的第二实施例。为了更好的描述实施例,本实施例中以预设三个电流值:500mA(毫安)、1000mA、2000mA为例加以说明。本实施例具体包括:
S201:接收用户输入的目标充电时间。
本实施例中,以接收到的目标充电时间为2小时为例进行说明。
S202:获取电池的剩余电量。
该步骤具体可以通过电量计获取。
在本实施例中,步骤S201和S202的执行顺序不受限定。可以同时执行,也可以以先后顺序执行。
S203:获取基于预设的所述电流值(500mA、1000mA和2000mA)将所述电池从所述剩余电量充电至满电量所使用的预测充电时间,将小于等于所述目标充电时间的所述预测充电时间作为待选时间,将获取所述待选时间时所基于的预设的所述电流值作为所述待选电流值。
在该步骤中,所述基于预设的所述电流值i将所述电池从所述剩余电量充电至满电量所使用的预测充电时间根据电池充电阶段的不同,其获取方式也不相同。例如若所述电池的充电阶段包括涓流充电阶段、恒流充电阶段和恒压充电阶段,则所述预测充电时间tj为tj=t1+t2+t3。其中,t1为所述
电池在涓流充电阶段的待充电时间,t2为基于待选电流值充电时所述电池在恒流充电阶段的目标充电时间,t3为所述电池在恒压充电阶段的待充电时间。t1、t2和t3的值根据电池所处于的充电阶段相关。
若根据电池的剩余电量判断出所述电池处于涓流充电阶段,t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间。t2为基于预设的所述电流值i,将所述电池从所述恒流充电阶段的开始时刻充电至所述恒流充电阶段的结束时刻的充电时间。t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间。其中,t1和t3不可调节,因此可以是预先测出的时间,而t2可以为预先测出的时间,也可以为根据t2=q2/i计算得出的时间,q2为所述电池的恒流充电阶段的总电量。
例如,电池处于涓流充电阶段,已预先测出基于500mA在恒流充电阶段充电时,预测充电时间tj,即t1、t2以及t3之和为3小时,基于1000mA在恒流阶段充电时,预测充电时间tj为2小时,基于2000mA在恒流阶段充电时,预测充电时间tj为1.5小时,由于用户输入的目标充电时间为2小时,因此此时1.5小时和1小时为待选时间,1000mA和2000mA为待选电流值。
若根据电池的剩余电量判断出所述电池处于恒流充电阶段,此时给电池充电并不会经过涓流充电阶段,因此电池在涓流充电阶段的待充电时间,即t1为0。并且此时t2为基于预设的所述电流值i将所述电池从所述剩余电量充电至所述恒流充电阶段的结束时刻的充电时间,t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间。其中,t3不可调节,因此可以是预先测出的时间,而t2可以为预先测出的时间,也可以为根据t2=(qt-qs-q3)/i计算得出的时间;qt为所述电池的总电量,qs为所述剩余电量,q3为所述电池的恒压充电阶段的总电量。
首先举例说明t2根据t2=(qt-qs-q3)/i计算得出的情况。电池处于恒流充电阶段,已预先测出电池的总电量qt为1500mAh(毫安时),所述电池的恒压充电阶段的总电量q3为120mAh,所述电池的剩余电量qs为500mAh。因此,电池在恒流充电阶段的待充电电量为qt-qs-q3,即880mAh,电池基于预设电流值i=500mA将所述电池从所述剩余电量充电至所述恒流充电阶段的结束时刻所使用的时间为t2=(qt-qs-q3)/i,即1.76h。预先测出的
电池在恒压充电阶段的总充电时间t3为0.2h,因此将电池从剩余电量500mAh充电至满电量1500mAh所使用的预测充电时间tj为1.76h+0.2h=1.96h。同样可以计算出分别基于1000mA和2000mA将电池充满电使用的预测充电时间。
其次举例说明t2为预先测出的时间的情况。可以将整个恒流充电阶段划分为多个子充电阶段,例如,以总电量5%的电量作为子充电阶段的电量区间。预先测出从每个子充电阶段充电至恒流充电阶段的结束时刻的充电时间。例如,总电量的8-12%为一个子充电阶段,测出从8-12%(可以取起始点、中点或者结束点的电量)充电至总电量的92%,即恒流充电阶段的结束时刻,所使用的充电时间。因此,若判断出剩余电量属于某个子充电阶段,就将预先测出的该子充电阶段充电至恒流充电阶段的结束时刻的充电时间作为t2。
若根据所述电池的剩余电量判断出所述电池处于恒压充电阶段,由于恒压充电阶段的充电时间不可调整,此时可以结束流程,或者可以根据目标充电时间和预先测出的恒压充电阶段的充电时间判断此时是否能够在用户输入的目标充电时间内充满电,并向用户提示判断结果。
S204:从步骤S203中获取的所述待选电流值中选择一个电流值作为充电电流值。
该步骤可以是从所述待选电流值中选择最小的电流值作为充电电流值,也可以是从所述待选电流值中选择低于预设阈值的一个电流值作为充电电流值。例如,若步骤S203中获取的所述待选电流值为1000mA和2000mA,则该步骤中选择最小的电流值1000mA作为充电电流值。
S205:在电池的恒流充电阶段中基于步骤S204中选择的所述充电电流值,向所述电池充电。
由于电池的涓流充电阶段和恒压充电阶段的充电时间不可调整,因此该步骤调整的是恒流充电阶段的充电电流。在电池的涓流充电阶段和恒压充电阶段,可以仍然按照现有的方式充电。
通过上述技术方案可知,在本实施例中,重点说明了通过获取将电池充满电所使用的预测充电时间获取待选电流值。此外,还具体说明了当电池的充电阶段包括涓流充电阶段、恒流充电阶段和恒压充电阶段时,需要根据不同的充电阶段选择不同的方式获取将电池充满电所使用的预测充电时间。
(二)、通过获取在目标充电时间内给电池充电的预测充电电量获取待选电流值。
请参阅图3,本发明实施例提供了充电方法的第三实施例。为了更好的描述实施例,本实施例中以预设三个电流值:500mA、1000mA、2000mA为例加以说明。本实施例具体包括:
S301:接收用户输入的目标充电时间。
本实施例中以接收到的目标充电时间为2小时为例进行说明。
S302:获取电池的剩余电量。
该步骤具体可以通过电量计获取。
在本实施例中,步骤S301和S302的执行顺序不受限定。可以同时执行,也可以以先后顺序执行。
S303:获取基于预设的所述电流值(500mA、1000mA和2000mA)在所述目标充电时间内给所述电池充电的预测充电电量,将大于等于所述电池的待充电电量的所述预测充电电量作为待选电量,将获取所述待选电量时所基于的预设的所述电流值作为所述待选电流值。
在该步骤中,电池的待充电电量根据所述剩余电量获取,实际上,电池的待充电电量为电池的总电量与所述剩余电量之差。
在该步骤中,所述基于预设的所述电流值i在目标充电时间内给所述电池充电的预测充电电量根据电池充电阶段的不同,其获取方式也不相同。例如若所述电池的充电阶段包括涓流充电阶段、恒流充电阶段和恒压充电阶段,则所述预测充电电量qj为qj=q1+q2+q3。其中,q1为所述电池在涓流充电阶段的待充电电量,q2为基于预设的所述电流值充电时,所述电池在恒流充电阶段的预测充电电量,q3为所述电池在恒压充电阶段的待充电电量。q1、q2和q3的值根据电池所处于的充电阶段相关。
若根据所述电池的剩余电量判断出所述电池处于涓流充电阶段,q1为所述电池的涓流充电阶段的总电量,q2根据q2=i×(tm-t1-t3)计算得到,其中,tm为所述目标充电时间,t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间,t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间,由于t1和t3不可调节,因此t1和t3可以为预先测出的时间;q3为所述电池
在恒压充电阶段的总电量。
例如,电池处于涓流充电阶段,已预先测出将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间t1具体为0.3h,将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间t3具体为0.2h,而用户输入的目标充电时间为tm=2h,因此计算出恒流充电阶段的目标充电时间tm-t1-t3为1.5h。电池基于电流值i=500mA在恒流充电阶段的预测充电电量为i×(tm-t1-t3),即750mAh,再加上涓流充电阶段的总电量(例如120mAh)和恒压充电阶段的总电量(例如120mAh)则得到基于该预设电流,在目标充电时间内给所述电池充电的预测充电电量qj,即750+120+120=990mAh。同样可以计算出分别基于1000mA和2000mA在恒流充电阶段充电,在目标充电阶段内充电的预测充电电量。
若根据所述电池的剩余电量判断出所述电池处于恒流充电阶段,则此时给电池充电时并不会经过涓流充电阶段,因此电池在涓流充电阶段的待充电电量,即q1为0。而q2根据q2=i×(tm-t3)计算得到,其中,tm为用户输入的目标充电时间,t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间,由于t3不可调节,因此t3可以为预先测出的时间。q3为所述电池的恒压充电阶段的总电量。
在电池处于恒流充电阶段时计算出的qj,相比于涓流充电阶段计算出的qj,少了q1和t1两个参数。这里不再举例说明电池处于恒流充电阶段时qj的计算方式。
若根据所述电池的剩余电量判断出所述电池处于恒压充电阶段,由于恒压充电阶段的充电时间不可调整,此时可以结束流程,或者可以根据目标充电时间和预先测出的恒压充电阶段的充电时间判断此时是否能够在用户输入的目标充电时间内充满电,并向用户提示判断结果。
S304:从步骤S303中获取的所述待选电流值中选择一个电流值作为充电电流值。
该步骤可以是从所述待选电流值中选择最小的电流值作为充电电流值,也可以是从所述待选电流值中选择低于预设阈值的一个电流值作为充电电流值。例如,若步骤S303中获取的所述待选电流值为1000mA和2000mA,则
该步骤中选择最小的电流值1000mA作为充电电流值。
S305:在电池的恒流充电阶段中基于步骤S304中选择的所述充电电流值,向所述电池充电。
由于电池的涓流充电阶段和恒压充电阶段的充电时间不可调整,因此该步骤调整的是恒流充电阶段的充电电流。在电池的涓流充电阶段和恒压充电阶段,可以仍然按照现有的方式充电。
通过上述技术方案可知,在本实施例中,重点说明了通过获取在目标充电时间内给电池充电的预测充电电量获取待选电流值。此外,还具体说明了当电池的充电阶段包括涓流充电阶段、恒流充电阶段和恒压充电阶段时,需要根据不同的充电阶段选择不同的方式获取在目标充电时间内给电池充电的预测充电电量。
需要说明的是,通过预测充电电量获取待选电流值的方式,与通过预测充电时间获取待选电流值的方式相比,虽然获取的参数不同,但是获取到的待选电流值是相同的。这是因为,对于预设的电流值来说,若基于该电流值在目标充电时间内给所述电池充电的预测充电电量大于等于待充电电量,则说明基于该电流值将所述电池从剩余电量充电至满电量所使用的预测充电时间一定小于等于目标充电时间。
(三)、通过获取在目标充电时间内给电池充满电所需的最小电流值获取待选电流值。
请参阅图4,本发明实施例提供了充电方法的第四实施例。为了更好的描述实施例,本实施例中以预设三个电流值:500mA、1000mA、2000mA为例加以说明。本实施例具体包括:
S401:接收用户输入的目标充电时间。
本实施例中以接收到的目标充电时间为2小时为例进行说明。
S402:获取电池的剩余电量。
该步骤具体可以通过电量计获取。
在本实施例中,步骤S401和S402的执行顺序不受限定。可以同时执行,也可以以先后顺序执行。
S403:获取在所述目标充电时间内将所述电池从所述剩余电量充电至满电量时的最小电流值;将大于等于所述最小电流值的预设的所述电流值作为
所述待选电流值。
该步骤中,在所述目标充电时间内将所述电池从所述剩余电量充电至满电量时的最小电流值根据电池充电阶段的不同,其获取方式也不相同。例如若所述电池的充电阶段包括涓流充电阶段、恒流充电阶段和恒压充电阶段,由于涓流充电阶段和恒压充电阶段的充电电流值不可调节,因此本实施例的最小电流值,指的是恒流充电阶段的最小电流值。并且,所述最小电流值i2为i2=q2/(tm-t1-t3)。其中,所述q2为所述电池在恒流充电阶段的最小充电电量,t1为所述电池在涓流充电阶段的待充电时间,t3为所述电池在恒压充电阶段的待充电时间,所述tm为用户输入的目标充电时间。其中q2、t1和t3的值根据电池所处于的充电阶段相关。
若根据所述电池的剩余电量判断出所述电池处于涓流充电阶段,所述q2为所述电池的恒流充电阶段的总电量,t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间。t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间。其中,t1和t3不可调节,因此可以是预先测出的时间。
例如,电池处于涓流充电阶段,预先测出将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间t1为0.3h,将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间t3为0.2h,而目标充电时间为tm=2h,因此计算出恒流充电阶段的目标充电时间tm-t1-t3,为1.5h。为了能够在目标充电时间给电池充满电,在tm-t1-t3时间内的充电电量至少为恒流充电阶段的总电量(例如1260mAh),因此,最小电流值为i2=q2/(tm-t1-t3),即840mA。因此,大于等于840mA的两个预设电流值,即1000mA和2000mA为待选电流值。
若根据所述电池的剩余电量判断出所述电池处于所述恒流充电阶段,此时给电池充电时并不会经过涓流充电阶段,因此电池在涓流充电阶段的待充电时间,即t1为0。而且q2根据q2=qt-qs-q3计算得到,其中,qt为所述电池的总电量,qs为所述剩余电量,q3为所述电池的恒压充电阶段的总电量。t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间。由于t3不可调节,因此可以是预先测出的时间。
例如,电池处于恒流充电阶段,已预先测出将所述电池从所述恒压充电
阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间t3为0.2h,而目标充电时间为tm=2h,因此计算出恒流充电阶段的目标充电时间tm-t3,即1.8h。为了在目标充电时间给电池充满电,需要实现在tm-t3时间内至少充电qt-qs-q3,qt-qs-q3为恒流充电阶段的最小充电电量。已预先测出qt为1500mAh,qs为400mAh,q3为120mAh,则获取到恒流充电阶段的待充电电量qt-qs-q3为980mAh。因此,最小电流值i2为544mA,因此,大于等于544mA的两个预设电流值,即1000mA和2000mA为待选电流值。
若根据所述电池的剩余电量判断出所述电池处于恒压充电阶段,由于恒压充电阶段的充电时间不可调整,此时可以结束流程,或者可以根据目标充电时间和预先测出的恒压充电阶段的充电时间判断此时是否能够在用户输入的目标充电时间内充满电,并向用户提示判断结果。
S404:从步骤S403中获取的所述待选电流值中选择一个电流值作为充电电流值。
该步骤可以是从所述待选电流值中选择最小的电流值作为充电电流值,也可以是从所述待选电流值中选择低于预设阈值的一个电流值作为充电电流值。例如,若步骤S403中获取的所述待选电流值为1000mA和2000mA,则该步骤中选择1000mA作为充电电流值。
S405:在电池的恒流充电阶段中基于步骤S404中选择的所述充电电流值,向所述电池充电。
由于电池的涓流充电阶段和恒压充电阶段的充电时间不可调整,因此该步骤调整的是恒流充电阶段的充电电流。在电池的涓流充电阶段和恒压充电阶段,可以仍然按照现有的方式充电。
通过上述技术方案可知,在本实施例中,重点说明了通过获取在目标充电时间内给电池充满电所需的最小电流值获取待选电流值。此外,还具体说明了当电池的充电阶段包括涓流充电阶段、恒流充电阶段和恒压充电阶段时,需要根据不同的充电阶段选择不同的方式获取所述最小电流值。
需要说明的是,通过最小电流值获取待选电流值的方式,与通过预测充电电量获取待选电流值的方式,以及与通过预测充电时间获取待选电流值的方式,虽然获取的参数不同,但是获取到的待选电流值是相同的。这是因为,对于预设的所述电流值来说,若大于等于所述最小电流值,则说明基于预设
的所述电流值在目标充电时间内给所述电池充电的预测充电电量一定大于等于电池的总电量,同时也说明基于预设的所述电流值将所述电池从所述剩余电量充电至满电量所使用的预测充电时间一定小于等于目标充电时间。
通过上述三个实施例,本发明实施例中提供了三种获取待选电流值的方式。在获取所述待选电流值后,会从待选电流值中选择一个作为充电电流值,用于给电池充电。本发明实施例中,若预设的所述电流值不存在待选电流值时,说明无论使用哪一个预设的所述电流值,都不能实现在目标充电时间内给电池充满电,因此此时可以在预设的所述电流值中选择最大的电流值作为充电电流值,从而使得在目标充电时间内的充电电量最大。
在现有技术中,对电池充电的方式是,当有充电电源输入时,就以固定的充电速度给电池充电。显然,这种充电方式不能对充电的开始时间或者结束时间进行控制。
而在本发明实施例中,还可以接收用户输入的目标充电开始时刻,并且所述向所述电池充电具体为:在所述目标充电开始时刻时,向所述电池充电。
或者还可以是接收用户输入的目标充电停止时刻,在所述目标充电停止时刻时,停止向所述电池充电。
或者还可以是接收用户输入的目标充电开始时刻和用户输入的目标充电停止时刻,所述向所述电池充电具体为:在所述目标充电开始时刻时,向所述电池充电,并且在所述目标充电停止时刻时,停止向所述电池充电。此时,目标充电时间为所述目标充电开始时刻和所述目标充电停止时刻之间的间隔时间。从而实现对电池的充电开始和/或结束时间进行控制。
下面通过一个实施例,说明同时控制向电池充电的开始时刻和结束时刻的情况,并且,以接收用户输入的目标充电开始时刻和目标充电停止时刻计算出目标充电时间。而在其它实施例中,可以是只控制向电池充电的开始或结束时刻,并且其他实施例中,对如何获取目标充电时间也不做限制。
请参阅图5,本发明实施例提供了充电方法的第五实施例。在本实施例中,预设至少两个电流值。与其他实施例不同的是,本实施例中同时控制电池充电的开始时刻和结束时刻。并且,以接收用户输入的目标充电开始时刻和目标充电停止时刻计算出目标充电时间。本实施例具体包括:
S501:接收用户输入的目标充电开始时刻和目标充电停止时刻。
该步骤接收到的目标充电开始时刻至目标充电停止时刻的时间间隔为目标充电时间,该目标充电时间实际上相当于是用户间接输入的。
S502:获取电池的剩余电量。
该步骤中具体可以是通过电量计获取电池的剩余电量。
本实施例中,步骤S501和步骤502的执行顺序不受限定。可以同时执行,也可以以先后顺序执行。
S503:从预设的所述电流值中获取至少一个待选电流值。所述待选电流值为基于该待选电流值将所述电池从所述剩余电量充电至满电量所使用的时间小于等于所述目标充电时间的电流值。
步骤S503中获取待选电流值的具体方式,具体可以参考方法的第二实施例至第四实施例,这里不再详述。
S504:从步骤S503中获取的所述待选电流值中选择一个电流值作为充电电流值。
该步骤可以是从所述待选电流值中选择最小的电流值作为充电电流值,也可以是从所述待选电流值中选择低于预设阈值的一个电流值作为充电电流值。
S505:基于步骤S504中选择的所述充电电流值,在所述目标充电开始时刻向所述电池充电。
某一特定时刻向电池充电的具体实现方式,可以是通过在某一特定时刻,打开充电芯片的充电开关,或者使能充电芯片。这里,所述充电芯片用于向电池充电。
S506:在所述目标充电停止时刻,停止向所述电池充电。此时电池的充电时间达到了目标充电时间。
某一特定时刻停止向电池充电的具体方式,可以是通过在某一特定时刻,关闭充电芯片的充电开关,或者禁用充电芯片。
通过上述技术方案可知,在本实施例中,重点说明了根据用户输入的目标充电开始时刻和目标充电停止时刻,计算出目标充电时间,并且根据该开始时刻和结束时刻对电池的充电进行控制。
在本发明实施例中,当基于选择的充电电流值向电池充电之后,还可以实时地检测基于该充电电流值,判断是否能够在目标充电时间内给电池充满
电,如果不能,则重新选择充电电流值,下面通过一个实施例作具体说明。
请参阅图6,本发明实施例提供了充电方法的第六实施例。在本实施例中,预设至少两个电流值。与其他实施例不同的是,本实施例中在向电池充电后,进一步检测是否能够在目标充电时间内给电池充满电。本实施例具体包括:
S601:接收用户输入的目标充电时间tm。
S602:获取电池的剩余电量。
该步骤具体可以通过电量计获取。
步骤S601和S602的执行顺序不受限定。可以同时执行,也可以以先后顺序执行。
S603:从预设的所述电流值中获取至少一个待选电流值。其中,所述待选电流值为基于该待选电流值将所述电池从所述剩余电量充电至满电量所使用的时间小于等于所述目标充电时间的电流值。
步骤S603中获取待选电流值的具体方式,具体可以参考方法的第二实施例至第四实施例,这里不再详述。
S604:从步骤S603中获取的所述待选电流值中选择一个电流值作为充电电流值。
该步骤可以是从所述待选电流值中选择最小的电流值作为充电电流值,也可以是从所述待选电流值中选择低于预设阈值的一个电流值作为充电电流值。
S605:基于步骤S604中选择的所述充电电流值,向所述电池充电。
步骤S601-S605与第一实施例中的步骤S101-S105一致,相关之处参见第一实施例即可,本实施例不再赘述。
通过S601-S605,实现了从预设的电流值中选择出一个充电电流值向电池充电,并且预测出能够在用户输入的目标充电时间内将电池充满电。之后,在给电池充电的过程中,可以进一步通过执行下述步骤,根据电池的充电情况检测电池是否能够满足预测的结果,也就是在目标充电时间内将电池充满电。
S606:获取所述电池当前时刻的剩余电量和当前时刻的充电电流值。
这里,当前时刻指的是在步骤S605之后的某一时刻。而当前时刻的充
电电流值,指的是当前时刻给电池充电的电流值,若在步骤S605之后未对充电电流值做调整,则当前时刻的充电电流值指的就是步骤S605中的向所述电池充电所基于的充电电流值。
S607:判断基于所述当前时刻的充电电流值,将所述电池从所述当前时刻的剩余电量充电至满电量所使用的时间是否大于新的目标充电时间tm',如果是,则执行S607。其中,所述新的目标电时间tm'为tm'=tm-(TD-TC);其中,tm为步骤S601中接收到的用户输入的目标充电时间,TC为步骤S604中向所述电池充电的开始时刻,TD为步骤S606中的当前时刻。
该步骤中实际上是判断,基于已经选择的充电电流值和电池当前时刻的剩余电量,是否能够在目标充电停止时刻给电池充满电。这里目标充电停止时刻,指的从步骤S605向电池充电的开始时刻加上目标充电时间的时刻,也就是预计的电池充电结束的时刻。而在具体判断时,判断的是将所述电池从所述当前时刻的剩余电量充电至满电量所使用的时间是否大于新的目标充电时间tm'。其中,上述判断结果可以是通过直接获取预测充电时间得出,也可以是通过获取预测充电电量或者最小电流值得出,具体请参见方法第二实施例至第四实施例,这里不再赘述。
当该步骤的判断结果为是时,表示基于当前时刻的充电电流值不能在预计的电池充电停止时刻将电池从当前时刻的剩余电量充电至满电量,因此,执行步骤S608,从而对充电电流值做调整。若该步骤的判断结果为否,则表示基于当前时刻的充电电流值能够在预计的电池充电停止时刻,将电池从当前时刻的剩余电量充电至满电量,因此可以结束流程,或者一定周期返回执行S606,从而实现实时根据充电情况调整充电电流值。
S608:重新从预设的所述电流值中获取至少一个待选电流值。基于重新获取的待选电流值将所述电池从所述当前时刻的剩余电量充电至满电量所使用的时间小于等于所述新的目标充电时间。
由于不能在预计的电池充电停止时刻给电池充满电,因此该步骤中重新获取待选电流值。而基于重新获取的待选电流值将所述电池从所述当前时刻的剩余电量充电至满电量所使用的时间小于等于所述新的目标充电时间,也就是说,基于重新获取的待选电流值能够使得在新的目标充电时间内,将电池从当前时刻的剩余电量充电至满电量。
若预设的所述电流值不存在待选电流值时,说明无论使用哪一个预设电
流值,都不能实现在新的目标充电时间内给电池充满电,因此此时可以在预设的电流值中选择最大的电流值作为充电电流值,从而在新的目标充电时间内的充电电量值最大。
S609:从步骤S608中的重新获取的待选电流值中选择一个电流值作为新的充电电流值。
该步骤可以是从重新获取的待选电流值中选择最小的电流值作为充电电流值,也可以是从重新获取的待选电流值中选择低于预设阈值的一个电流值作为充电电流值。
S610:基于步骤S609中选择的新的充电电流值,向所述电池充电。
本实施例中,可以以一定周期循环执行606,从而实时地根据电池的充电情况调整充电电流值,保证能够在预计的电池充电停止时刻,给电池充满电。
通过上述技术方案可知,本发明实施例中,在选择了充电电流值并向电池充电后,还进一步根据电池的充电情况,也就是电池当前时刻的剩余电量和充电电流值,判断是否能够在预计的电池充电停止时刻给电池充满电,若不能,则重新选择充电电流值,基于重新选择的充电电流值给电池充电,从而实现了基于电池的充电情况调整充电电流值。
上面对本发明实施例中的充电方法的实施例进行了描述,下面将从硬件处理的角度对本发明实施例中的电子设备进行描述。
请参阅图7,本发明实施例提供了电子设备的第一实施例,本实施例的电子设备具体包括:接收模块701、供电模块702、处理器703和存储器704。
接收模块701用于接收用户输入的目标充电时间。
本实施例的电子设备可以提供用户界面接口,用于接收用户输入的目标充电时间。因此,当只能在有限的充电时间对电池进行充电时,用户通过用户界面接口,向电子设备输入目标充电时间,表示只能在目标充电时间内对电池进行充电。
处理器703用于预设至少两个电流值、获取电池的剩余电量、从预设的所述电流值中获取至少一个待选电流值、以及从所述待选电流值中选择一个电流值作为充电电流值;所述待选电流值为基于该待选电流值将所述电池从
所述剩余电量充电至满电量所使用的时间小于等于所述目标充电时间的电流值。
处理器703具体可以通过电量计获得电池的剩余电量。
由于处理器703获取的每个待选电流值都能够保证,使用该待选电流值给电池充电能够使得在目标充电时间内给电池充满电,而充电电流值是处理器703从待选电流值中选择的,因此,基于充电电流值向电池充电也能够保证在目标充电时间内将电池从剩余电量充电至满电量。而由于充电电流值是从待选电流值中选择的,因此,最终给电池充电的充电电流值实际是预设的电流值中的一个,因此,本实施例中,处理器703通过预设电流值能够实现控制向电池充电的电流大小,从而调节向电池充电的速度大小。而预设的至少两个电流值,分别对应至少两个不同的充电速度。
而由于给电池充电的电流值越小,电池的使用寿命越长,因此,处理器703选择充电电流值时,可以是从所述待选电流值中选择最小的电流值作为充电电流值,也可以是从所述待选电流值中选择低于预设阈值的一个电流值作为充电电流值,该预设阈值可以根据实际情况进行设定。从而提高电池的使用寿命。
供电模块702用于基于所述充电电流值向所述电池充电。供电模块702实际上是向电池输入充电电流以向电池充电,而充电电流的电流值为所述充电电流值。
供电模块702可以是自身带有供电电源,通过自身带有的供电电源向电池充电,也可以是能够外接供电电源,将外接的供电电源向电池充电。
通过上述技术方案可知,本发明实施例中,处理器703预设了至少两个电流值,分别对应不同的充电速度。根据接收模块701接收到的用户输入的目标充电时间,处理器703从预设的电流值中选择一个电流值作为充电电流值,再通过供电模块702基于选择的充电电流值向电池充电,从而对充电的速度进行了调整,而选择的充电电流值使得基于该电流值将电池从剩余电量充电至满电量时所使用的时间小于等于目标充电时间,从而实现了在用户输入的目标充电时间内,能够将电池充满电。
本实施例的电子设备可以为手机、PAD、电脑等终端设备,通过外接充电电源向本实施例中的电池充电,此时该电池可以为该电子设备的供电电
源;该电子设备还可以为充电器等充电设备,通过自身具有的供电电源向本实施例中的电池充电。
本实施例中处理器的数量可以一个或多个,图7中以一个处理器703为例。在本发明的一些实施例中,接收模块701、供电模块702、处理器703和存储器704可通过总线或其它方式连接,其中,图7中以通过总线连接为例。
在本发明实施例中,可以在存储器704中存储程序705,处理器703通过执行程序705使得接收模块701执行接收用户输入的目标充电时间,处理器执行703执行预设至少两个电流值、获取电池的剩余电量、从预设的所述电流值中获取至少一个待选电流值、以及从所述待选电流值中选择一个电流值作为充电电流值;所述待选电流值为基于该待选电流值将所述电池从所述剩余电量充电至满电量所使用的时间小于等于所述目标充电时间的电流值,并且供电模块702执行基于所述充电电流值向所述电池充电。
在本实施例中,基于待选电流值将电池充满电所使用的时间小于等于目标充电时间。实际上,电池具有不同的充电阶段,根据电池的充电阶段的不同,上述基于待选电流值将电池充满电所使用的时间也不同。
当电池的充电阶段包括涓流充电阶段、恒流充电阶段和恒压充电阶段三个充电阶段时,本实施例中基于该待选电流值将所述电池从所述剩余电量充电至满电量所使用的时间t实际上为上述三个充电阶段的待充电时间之和,即t=t1+t2+t3;其中,t1为所述电池在涓流充电阶段的待充电时间,t2为所述电池在恒流充电阶段基于待选电流值充电时的待充电时间,t3为所述电池在恒压充电阶段的待充电时间。并且供电模块702用于基于所述充电电流值向所述电池充电具体为:供电模块702用于,在所述恒流充电阶段基于所述充电电流值向所述电池充电。
若处理器703根据电池的剩余电量判断出电池处于涓流充电阶段时,此时可以认为电池的剩余电量为0,因此t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间,所述t2为基于该待选电流值,将所述电池从所述恒流充电阶段的开始时刻充电至所述恒流充电阶段的结束时刻的充电时间,t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间。其中,t1和t3不可
调节,因此可以预先测出。而恒流充电阶段的充电电量与充电时间和充电电流值呈正比关系,因此t2即可以预先测出,也可以根据电池的恒流充电阶段的总电量和待选电流值计算得出。
若处理器703根据电池的剩余电量判断出电池处于恒流充电阶段时,则电池在涓流充电阶段的待充电时间为0,即t1为0。而t2为基于该待选电流值将所述电池从所述剩余电量充电至所述恒流充电阶段的结束时刻的充电时间,t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间。其中,t3不可调节,因此可以预先测出。而恒流充电阶段的充电电量与充电时间和充电电流值呈正比关系,因此t2即可以预先测出,也可以根据电池在所述恒流充电阶段充电的待充电电量和待选电流值计算得出。
上面本发明实施例介绍了当电池的充电阶段包括涓流充电阶段、恒流充电阶段和恒压充电阶段时,具体根据不同的充电阶段获取将所述电池充满电的时间t的不同方式。实际上,本发明实施例也能适用于电池的充电阶段并不划分为上述三个充电阶段的情况,这里不再详述。
在本发明实施例中,待选电流值一定满足下述关系:基于该待选电流值将所述电池从所述剩余电量充电至满电量所使用的时间小于等于用户输入的目标充电时间。而在具体获取待选电流值时,不仅可以通过获取将电池充满电所使用的时间,从获取的时间中再获取小于等于目标充电时间的时间,从而得到待选电流值。还可以不通过获取时间,而是通过获取在目标充电时间内给电池充电的总电量值,或者在目标充电时间内给电池充满电的最小电流值,来获取待选电流值。下面分别通过三个实施例对这三种获取待选电流值的方式做具体说明。
(一)、通过获取将电池充满电所使用的预测充电时间获取待选电流值。
请参阅图8,本发明实施例提供了电子设备的第二实施例,为了更好的描述实施例,本实施例中以预设三个电流值:500mA(毫安)、1000mA、2000mA为例加以说明。本实施例的电子设备具体包括:接收模块801、供电模块802、处理器803和存储器804。
接收模块801用于接收用户输入的目标充电时间。
本实施例中,以接收到的目标充电时间为2小时为例进行说明。
处理器803用于预设三个电流值:500mA、1000mA和2000mA、获取电池的剩余电量、从预设的所述电流值中获取至少一个待选电流值、以及从所述待选电流值中选择一个电流值作为充电电流值;所述待选电流值为基于该待选电流值将所述电池从所述剩余电量充电至满电量所使用的时间小于等于所述目标充电时间的电流值。
供电模块802用于基于所述充电电流值向所述电池充电。由于电池的涓流充电阶段和恒压充电阶段的充电时间不可调整,因此本实施例调整的是恒流充电阶段的充电电流。在电池的涓流充电阶段和恒压充电阶段,供电模块802可以仍然按照现有的方式向电池充电。
其中,处理器803用于从预设的所述电流值中获取至少一个待选电流值具体为:
处理器803用于,获取基于预设的所述电流值(500mA、1000mA和2000mA)将所述电池从所述剩余电量充电至满电量所使用的预测充电时间,将小于等于所述目标充电时间的所述预测充电时间作为待选时间,将获取所述待选时间时所基于的预设的所述电流值作为所述待选电流值。
所述基于预设的所述电流值i将所述电池从所述剩余电量充电至满电量所使用的预测充电时间根据电池充电阶段的不同,其获取方式也不相同。例如若所述电池的充电阶段包括涓流充电阶段、恒流充电阶段和恒压充电阶段,则所述预测充电时间tj为tj=t1+t2+t3。其中,t1为所述电池在涓流充电阶段的待充电时间,t2为基于待选电流值充电时所述电池在恒流充电阶段的目标充电时间,t3为所述电池在恒压充电阶段的待充电时间。t1、t2和t3的值根据电池所处于的充电阶段相关。
若处理器803根据电池的剩余电量判断出所述电池处于涓流充电阶段,t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间。t2为基于预设的所述电流值i,将所述电池从所述恒流充电阶段的开始时刻充电至所述恒流充电阶段的结束时刻的充电时间。t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间。其中,t1和t3不可调节,因此可以是预先测出的时间,而t2可以为预先测出的时间,也可以为根据t2=q2/i计算得出的时间,q2为所述电池的恒流充电阶段的总电量。
例如,电池处于涓流充电阶段,已预先测出基于500mA在恒流充电阶段充电时,预测充电时间tj,即t1、t2以及t3之和为3小时,基于1000mA在恒流阶段充电时,预测充电时间tj为2小时,基于2000mA在恒流阶段充电时,预测充电时间tj为1.5小时,由于用户输入的目标充电时间为2小时,因此此时1.5小时和1小时为待选时间,1000mA和2000mA为待选电流值。
若处理器803根据电池的剩余电量判断出所述电池处于恒流充电阶段,此时给电池充电并不会经过涓流充电阶段,因此电池在涓流充电阶段的待充电时间,即t1为0。并且此时t2为基于预设的所述电流值i将所述电池从所述剩余电量充电至所述恒流充电阶段的结束时刻的充电时间,t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间。其中,t3不可调节,因此可以是预先测出的时间,而t2可以为预先测出的时间,也可以为根据t2=(qt-qs-q3)/i计算得出的时间;qt为所述电池的总电量,qs为所述剩余电量,q3为所述电池的恒压充电阶段的总电量。
首先举例说明t2根据t2=(qt-qs-q3)/i计算得出的情况。电池处于恒流充电阶段,已预先测出电池的总电量qt为1500mAh(毫安时),所述电池的恒压充电阶段的总电量q3为120mAh,所述电池的剩余电量qs为500mAh。因此,电池在恒流充电阶段的待充电电量为qt-qs-q3,即880mAh,电池基于预设电流值i=500mA将所述电池从所述剩余电量充电至所述恒流充电阶段的结束时刻所使用的时间为t2=(qt-qs-q3)/i,即1.76h。预先测出的电池在恒压充电阶段的总充电时间t3为0.2h,因此将电池从剩余电量500mAh充电至满电量1500mAh所使用的预测充电时间tj为1.76h+0.2h=1.96h。同样可以计算出分别基于1000mA和2000mA将电池充满电使用的预测充电时间。
其次举例说明t2为预先测出的时间的情况。可以将整个恒流充电阶段划分为多个子充电阶段,例如,以总电量5%的电量作为子充电阶段的电量区间。预先测出从每个子充电阶段充电至恒流充电阶段的结束时刻的充电时间。例如,总电量的8-12%为一个子充电阶段,测出从8-12%(可以取起始点、中点或者结束点的电量)充电至总电量的92%,即恒流充电阶段的结束时刻,所使用的充电时间。因此,若判断出剩余电量属于某个子充电阶段,就将预先测出的该子充电阶段充电至恒流充电阶段的结束时刻的充电时间作为t2。
若处理器803根据所述电池的剩余电量判断出所述电池处于恒压充电阶段,由于恒压充电阶段的充电时间不可调整,此时可以结束流程,或者可以根据目标充电时间和预先测出的恒压充电阶段的充电时间判断此时是否能够在用户输入的目标充电时间内充满电,并向用户提示判断结果。
通过上述技术方案可知,在本实施例中,重点说明了处理器803通过获取将电池充满电所使用的预测充电时间获取待选电流值。此外,还具体说明了当电池的充电阶段包括涓流充电阶段、恒流充电阶段和恒压充电阶段时,需要根据不同的充电阶段选择不同的方式获取将电池充满电所使用的预测充电时间。
(二)、通过获取在目标充电时间内给电池充电的预测充电电量获取待选电流值。
请参阅图9,本发明实施例提供了电子设备的第三实施例,为了更好的描述实施例,本实施例中以预设三个电流值:500mA(毫安)、1000mA、2000mA为例加以说明。本实施例的电子设备具体包括:接收模块901、供电模块902、处理器903和存储器904。
接收模块901用于接收用户输入的目标充电时间。
本实施例中,以接收到的目标充电时间为2小时为例进行说明。
处理器903用于预设三个电流值:500mA、1000mA和2000mA、获取电池的剩余电量、从预设的所述电流值中获取至少一个待选电流值、以及从所述待选电流值中选择一个电流值作为充电电流值;所述待选电流值为基于该待选电流值将所述电池从所述剩余电量充电至满电量所使用的时间小于等于所述目标充电时间的电流值。
供电模块902用于基于所述充电电流值向所述电池充电。由于电池的涓流充电阶段和恒压充电阶段的充电时间不可调整,因此本实施例调整的是恒流充电阶段的充电电流。在电池的涓流充电阶段和恒压充电阶段,供电模块902可以仍然按照现有的方式向电池充电。
其中,处理器903用于从预设的所述电流值中获取至少一个待选电流值具体为:
处理器903用于获取基于预设的所述电流值(500mA、1000mA和2000mA)在所述目标充电时间内给所述电池充电的预测充电电量,将大于等于所述电
池的待充电电量的所述预测充电电量作为待选电量,将获取所述待选电量时所基于的预设的所述电流值作为所述待选电流值。
电池的待充电电量根据所述剩余电量获取,实际上,电池的待充电电量为电池的总电量与所述剩余电量之差。
所述基于预设的所述电流值i在目标充电时间内给所述电池充电的预测充电电量根据电池充电阶段的不同,其获取方式也不相同。例如若所述电池的充电阶段包括涓流充电阶段、恒流充电阶段和恒压充电阶段,则所述预测充电电量qj为qj=q1+q2+q3。其中,q1为所述电池在涓流充电阶段的待充电电量,q2为基于预设的所述电流值充电时,所述电池在恒流充电阶段的预测充电电量,q3为所述电池在恒压充电阶段的待充电电量。q1、q2和q3的值根据电池所处于的充电阶段相关。
若处理器903根据所述电池的剩余电量判断出所述电池处于涓流充电阶段,q1为所述电池的涓流充电阶段的总电量,q2根据q2=i×(tm-t1-t3)计算得到,其中,tm为所述目标充电时间,t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间,t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间,由于t1和t3不可调节,因此t1和t3可以为预先测出的时间;q3为所述电池在恒压充电阶段的总电量。
例如,电池处于涓流充电阶段,已预先测出将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间t1具体为0.3h,将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间t3具体为0.2h,而用户输入的目标充电时间为tm=2h,因此计算出恒流充电阶段的目标充电时间tm-t1-t3为1.5h。电池基于电流值i=500mA在恒流充电阶段的预测充电电量为i×(tm-t1-t3),即750mAh,再加上涓流充电阶段的总电量(例如120mAh)和恒压充电阶段的总电量(例如120mAh)则得到基于该预设电流,在目标充电时间内给所述电池充电的预测充电电量qj,即750+120+120=990mAh。同样可以计算出分别基于1000mA和2000mA在恒流充电阶段充电,在目标充电阶段内充电的预测充电电量。
若处理器903根据所述电池的剩余电量判断出所述电池处于恒流充电阶
段,则此时给电池充电时并不会经过涓流充电阶段,因此电池在涓流充电阶段的待充电电量,即q1为0。而q2根据q2=i×(tm-t3)计算得到,其中,tm为用户输入的目标充电时间,t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间,由于t3不可调节,因此t3可以为预先测出的时间。q3为所述电池的恒压充电阶段的总电量。
在电池处于恒流充电阶段时计算出的qj,相比于涓流充电阶段计算出的qj,少了q1和t1两个参数。这里不再举例说明电池处于恒流充电阶段时qj的计算方式。
若处理器903根据所述电池的剩余电量判断出所述电池处于恒压充电阶段,由于恒压充电阶段的充电时间不可调整,此时可以结束流程,或者可以根据目标充电时间和预先测出的恒压充电阶段的充电时间判断此时是否能够在用户输入的目标充电时间内充满电,并向用户提示判断结果。
通过上述技术方案可知,在本实施例中,重点说明了处理器903通过获取在目标充电时间内给电池充电的预测充电电量获取待选电流值。此外,还具体说明了当电池的充电阶段包括涓流充电阶段、恒流充电阶段和恒压充电阶段时,需要根据不同的充电阶段选择不同的方式获取在目标充电时间内给电池充电的预测充电电量。
需要说明的是,通过预测充电电量获取待选电流值的方式,与通过预测充电时间获取待选电流值的方式相比,虽然获取的参数不同,但是获取到的待选电流值是相同的。这是因为,对于预设的电流值来说,若基于该电流值在目标充电时间内给所述电池充电的预测充电电量大于等于待充电电量,则说明基于该电流值将所述电池从剩余电量充电至满电量所使用的预测充电时间一定小于等于目标充电时间。
(三)、通过获取在目标充电时间内给电池充满电所需的最小电流值获取待选电流值。
请参阅图10,本发明实施例提供了电子设备的第四实施例,为了更好的描述实施例,本实施例中以预设三个电流值:500mA(毫安)、1000mA、2000mA为例加以说明。本实施例的电子设备具体包括:接收模块1001、供电模块1002、处理器1003和存储器1004。
接收模块1001用于接收用户输入的目标充电时间。
本实施例中,以接收到的目标充电时间为2小时为例进行说明。
处理器1003用于预设三个电流值:500mA、1000mA和2000mA、获取电池的剩余电量、从预设的所述电流值中获取至少一个待选电流值、以及从所述待选电流值中选择一个电流值作为充电电流值;所述待选电流值为基于该待选电流值将所述电池从所述剩余电量充电至满电量所使用的时间小于等于所述目标充电时间的电流值。
供电模块1002用于基于所述充电电流值向所述电池充电。由于电池的涓流充电阶段和恒压充电阶段的充电时间不可调整,因此本实施例调整的是恒流充电阶段的充电电流。在电池的涓流充电阶段和恒压充电阶段,供电模块1002可以仍然按照现有的方式向电池充电。
其中,处理器1003用于从预设的所述电流值中获取至少一个待选电流值具体为:
处理器1003用于获取在所述目标充电时间内将所述电池从所述剩余电量充电至满电量时的最小电流值;将大于等于所述最小电流值的预设的所述电流值作为所述待选电流值。
在所述目标充电时间内将所述电池从所述剩余电量充电至满电量时的最小电流值根据电池充电阶段的不同,其获取方式也不相同。例如若所述电池的充电阶段包括涓流充电阶段、恒流充电阶段和恒压充电阶段,由于涓流充电阶段和恒压充电阶段的充电电流值不可调节,因此本实施例的最小电流值,指的是恒流充电阶段的最小电流值。并且,所述最小电流值i2为i2=q2/(tm-t1-t3)。其中,所述q2为所述电池在恒流充电阶段的最小充电电量,t1为所述电池在涓流充电阶段的待充电时间,t3为所述电池在恒压充电阶段的待充电时间,所述tm为用户输入的目标充电时间。其中q2、t1和t3的值根据电池所处于的充电阶段相关。
若处理器1003根据所述电池的剩余电量判断出所述电池处于涓流充电阶段,所述q2为所述电池的恒流充电阶段的总电量,t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间。t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间。其中,t1和t3不可调节,因此可以是预先测出的时间。
例如,电池处于涓流充电阶段,预先测出将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间t1为0.3h,将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间t3为0.2h,而目标充电时间为tm=2h,因此计算出恒流充电阶段的目标充电时间tm-t1-t3,为1.5h。为了能够在目标充电时间给电池充满电,在tm-t1-t3时间内的充电电量至少为恒流充电阶段的总电量(例如1260mAh),因此,最小电流值为i2=q2/(tm-t1-t3),即840mA。因此,大于等于840mA的两个预设电流值,即1000mA和2000mA为待选电流值。
若处理器1003根据所述电池的剩余电量判断出所述电池处于所述恒流充电阶段,此时给电池充电时并不会经过涓流充电阶段,因此电池在涓流充电阶段的待充电时间,即t1为0。而且q2根据q2=qt-qs-q3计算得到,其中,qt为所述电池的总电量,qs为所述剩余电量,q3为所述电池的恒压充电阶段的总电量。t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间。由于t3不可调节,因此可以是预先测出的时间。
例如,电池处于恒流充电阶段,已预先测出将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间t3为0.2h,而目标充电时间为tm=2h,因此计算出恒流充电阶段的目标充电时间tm-t3,即1.8h。为了在目标充电时间给电池充满电,需要实现在tm-t3时间内至少充电qt-qs-q3,qt-qs-q3为恒流充电阶段的最小充电电量。已预先测出qt为1500mAh,qs为400mAh,q3为120mAh,则获取到恒流充电阶段的待充电电量qt-qs-q3为980mAh。因此,最小电流值i2为544mA,因此,大于等于544mA的两个预设电流值,即1000mA和2000mA为待选电流值。
若处理器1003根据所述电池的剩余电量判断出所述电池处于恒压充电阶段,由于恒压充电阶段的充电时间不可调整,此时可以结束流程,或者可以根据目标充电时间和预先测出的恒压充电阶段的充电时间判断此时是否能够在用户输入的目标充电时间内充满电,并向用户提示判断结果。
通过上述技术方案可知,在本实施例中,重点说明了处理器1003通过获取在目标充电时间内给电池充满电所需的最小电流值获取待选电流值。此外,还具体说明了当电池的充电阶段包括涓流充电阶段、恒流充电阶段和恒压充电阶段时,需要根据不同的充电阶段选择不同的方式获取所述最小电流
值。
需要说明的是,通过最小电流值获取待选电流值的方式,与通过预测充电电量获取待选电流值的方式,以及与通过预测充电时间获取待选电流值的方式,虽然获取的参数不同,但是获取到的待选电流值是相同的。这是因为,对于预设的所述电流值来说,若大于等于所述最小电流值,则说明基于预设的所述电流值在目标充电时间内给所述电池充电的预测充电电量一定大于等于电池的总电量,同时也说明基于预设的所述电流值将所述电池从所述剩余电量充电至满电量所使用的预测充电时间一定小于等于目标充电时间。
通过上述三个实施例,本发明实施例中提供了三种获取待选电流值的方式。在获取所述待选电流值后,会从待选电流值中选择一个作为充电电流值,用于给电池充电。本发明实施例中,若预设的所述电流值不存在待选电流值时,说明无论使用哪一个预设的所述电流值,都不能实现在目标充电时间内给电池充满电,因此本发明实施例中的处理器还可以用于若预设的所述电流值不存在待选电流值时,在预设的所述电流值中选择最大的电流值作为充电电流值,从而使得在目标充电时间内的充电电量最大。
在现有技术中,对电池充电的方式是,当有充电电源输入时,就以固定的充电速度给电池充电。显然,这种充电方式不能对充电的开始时间或者结束时间进行控制。
而在本发明实施例中,可以是接收模块还用于接收用户输入的目标充电开始时刻,并且供电模块用于向所述电池充电具体为:供电模块用于在所述目标充电开始时刻时,向所述电池充电。
或者还可以是接收模块还用于接收用户输入的目标充电停止时刻;供电模块还用于在所述目标充电停止时刻时,停止向所述电池充电。
或者还可以是接收模块还用于接收用户输入的目标充电开始时刻和用户输入的目标充电停止时刻,并且供电模块用于向所述电池充电具体为:供电模块用于在所述目标充电开始时刻时,向所述电池充电。并且,供电模块还用于在所述目标充电停止时刻时,停止向所述电池充电。此时,目标充电时间为所述目标充电开始时刻和所述目标充电停止时刻之间的间隔时间,该目标充电时间实际上相当于是用户间接输入的。从而实现对电池的充电开始和/或结束时间进行控制。
其中,供电模块可以包括一充电芯片,由该充电芯片向电池充电,因此供电模块实现某一特定时刻向电池充电的具体实现方式,可以是通过在某一特定时刻,打开充电芯片的充电开关,或者使能充电芯片。供电模块实现某一特定时刻停止向电池充电的具体方式,可以是通过在某一特定时刻,关闭充电芯片的充电开关,或者禁用充电芯片。
在本发明实施例中,当基于选择的充电电流值向电池充电之后,还可以实时地检测基于该充电电流值,判断是否能够在目标充电时间内给电池充满电,如果不能,则重新选择充电电流值。具体实现方式是:
本发明实施例的处理器还用于:向所述电池充电之后,获取所述电池当前时刻的剩余电量和当前时刻的充电电流值,判断基于所述当前时刻的充电电流值,将所述电池从所述当前时刻的剩余电量充电至满电量所使用的时间是否大于新的目标充电时间,如果是,则重新从预设的所述电流值中获取至少一个待选电流值,以及从所述重新获取的待选电流值中选择一个电流值作为新的充电电流值。
其中,所述新的目标充电时间tm'为tm'=tm-(TD-TC);tm为所述目标充电时间,TC为所述向所述电池充电的开始时刻,TD为当前时刻,基于重新获取的待选电流值将所述电池从所述当前时刻的剩余电量充电至满电量所使用的时间小于等于所述新的目标充电时间。
本发明实施例的供电模块还用于基于所述新的充电电流值,向所述电池充电。
其中,处理器重新获取待选电流值的具体方式,具体可以参考电子设备的第二实施例至第四实施例,这里不再详述。本发明实施例的处理器还可以以一定周期循环执行上述功能,从而实时地根据电池的充电情况调整充电电流值,保证能够在预计的电池充电停止时刻,给电池充满电。
上面从硬件处理的角度对本发明实施例中的电子设备进行描述,下面将从模块化功能实体的角度对本发明实施例中的电子设备进行描述。
请参阅图11,本发明实施例提供了电子设备的第五实施例,本实施例的电子设备具体包括:预设单元1101、接收单元1102、获取单元1103、选择单元1104和充电单元1105。
预设单元1101用于,预设至少两个电流值。
接收单元1102用于,接收用户输入的目标充电时间。
本实施例的电子设备可以提供用户界面接口,用于接收用户输入的目标充电时间。因此,当只能在有限的充电时间对电池进行充电时,用户通过用户界面接口,向电子设备输入目标充电时间,表示只能在目标充电时间内对电池进行充电。
获取单元1103用于,获取电池的剩余电量,以及从预设的所述电流值中获取至少一个待选电流值;所述待选电流值为基于该待选电流值将所述电池从所述剩余电量充电至满电量所使用的时间小于等于所述目标充电时间的电流值。
获取单元1103可以通过电量计获得电池的剩余电量。
获取单元1103从预设的所述电流值中获取了至少一个待选电流值,而每个待选电流值保证了用该待选电流值向电池充电,使得电池能从获得的剩余电量充电到满电量,也就是给电池充满电时,所使用的时间小于或等于目标充电时间,因此,每个待选电流值保证了,使用该待选电流值给电池充电能够使得在目标充电时间内给电池充满电。
选择单元1104用于,从所述待选电流值中选择一个电流值作为充电电流值。
而由于给电池充电的电流值越小,电池的使用寿命越长,因此,选择单元1104选择充电电流值时,可以是从所述待选电流值中选择最小的电流值作为充电电流值,也可以是从所述待选电流值中选择低于预设阈值的一个电流值作为充电电流值,该预设阈值可以根据实际情况进行设定。从而提高电池的使用寿命。
由于在本实施例中,每个待选电流值都能够保证,使用该待选电流值给电池充电能够使得在目标充电时间内给电池充满电,而充电电流值是选择单元1104从待选电流值中选择的,因此,基于充电电流值向电池充电也能够保证在目标充电时间内将电池从剩余电量充电至满电量。
在本实施例中,预设单元1101预设了至少两个电流值,而待选电流值是获取单元1103从预设的电流值中通过一定的条件筛选出的,而充电电流值是选择单元1104从待选电流值中选择的,因此,最终给电池充电的充电
电流值实际是预设的电流值中的一个,因此,本实施例中,通过预设电流值能够实现控制向电池充电的电流大小,从而调节向电池充电的速度大小。而预设的至少两个电流值,分别对应至少两个不同的充电速度。
充电单元1105用于,基于所述充电电流值向所述电池充电。充电单元1105实际上是向电池输入充电电流以向电池充电,而充电电流的电流值为所述充电电流值。
充电单元1105可以是自身带有供电电源,通过自身带有的供电电源向电池充电,也可以是能够外接供电电源,将外接的供电电源向电池充电。
通过上述技术方案可知,本发明实施例中,预设单元1101预设了至少两个电流值,分别对应不同的充电速度。根据接收单元1102接收到的用户输入的目标充电时间,获取单元1103和选择单元1104从预设的电流值中选择一个电流值作为充电电流值,再通过充电单元1105基于选择的充电电流值向电池充电,从而对充电的速度进行了调整,而选择的充电电流值使得基于该电流值将电池从剩余电量充电至满电量时所使用的时间小于等于目标充电时间,从而实现了在用户输入的目标充电时间内,能够将电池充满电。
本实施例的电子设备可以为手机、PAD、电脑等终端设备,通过外接充电电源向本实施例中的电池充电,此时该电池可以为该电子设备的供电电源;该电子设备还可以为充电器等充电设备,通过自身具有的供电电源向本实施例中的电池充电。
在本实施例中,基于待选电流值将电池充满电所使用的时间小于等于目标充电时间。实际上,电池具有不同的充电阶段,根据电池的充电阶段的不同,上述基于待选电流值将电池充满电所使用的时间也不同。
当电池的充电阶段包括涓流充电阶段、恒流充电阶段和恒压充电阶段三个充电阶段时,本实施例中基于该待选电流值将所述电池从所述剩余电量充电至满电量所使用的时间t实际上为上述三个充电阶段的待充电时间之和,即t=t1+t2+t3;其中,t1为所述电池在涓流充电阶段的待充电时间,t2为所述电池在恒流充电阶段基于待选电流值充电时的待充电时间,t3为所述电池在恒压充电阶段的待充电时间。并且充电单元1105用于基于所述充电电流值向所述电池充电具体为:充电单元1105用于,在所述恒流充电阶段基于所述充电电流值向所述电池充电。
若根据电池的剩余电量判断出电池处于涓流充电阶段时,此时可以认为电池的剩余电量为0,因此t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间,所述t2为基于该待选电流值,将所述电池从所述恒流充电阶段的开始时刻充电至所述恒流充电阶段的结束时刻的充电时间,t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间。其中,t1和t3不可调节,因此可以预先测出。而恒流充电阶段的充电电量与充电时间和充电电流值呈正比关系,因此t2即可以预先测出,也可以根据电池的恒流充电阶段的总电量和待选电流值计算得出。
若根据电池的剩余电量判断出电池处于恒流充电阶段时,则电池在涓流充电阶段的待充电时间为0,即t1为0。而t2为基于该待选电流值将所述电池从所述剩余电量充电至所述恒流充电阶段的结束时刻的充电时间,t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间。其中,t3不可调节,因此可以预先测出。而恒流充电阶段的充电电量与充电时间和充电电流值呈正比关系,因此t2即可以预先测出,也可以根据电池在所述恒流充电阶段充电的待充电电量和待选电流值计算得出。
上面本发明实施例介绍了当电池的充电阶段包括涓流充电阶段、恒流充电阶段和恒压充电阶段时,具体根据不同的充电阶段获取将所述电池充满电的时间t的不同方式。实际上,本发明实施例也能适用于电池的充电阶段并不划分为上述三个充电阶段的情况,这里不再详述。
在本发明实施例中,待选电流值一定满足下述关系:基于该待选电流值将所述电池从所述剩余电量充电至满电量所使用的时间小于等于用户输入的目标充电时间。而在具体获取待选电流值时,不仅可以通过获取将电池充满电所使用的时间,从获取的时间中再获取小于等于目标充电时间的时间,从而得到待选电流值。还可以不通过获取时间,而是通过获取在目标充电时间内给电池充电的总电量值,或者在目标充电时间内给电池充满电的最小电流值,来获取待选电流值。下面分别通过三个实施例对这三种获取待选电流值的方式做具体说明。
(一)、通过获取将电池充满电所使用的预测充电时间获取待选电流值。
请参阅图12,本发明实施例提供了电子设备的第六实施例,为了更好的描述实施例,本实施例中以预设三个电流值:500mA(毫安)、1000mA、2000mA为例加以说明。本实施例的电子设备具体包括:预设单元1201、接收单元1202、获取单元1203、选择单元1204和充电单元1205。
预设单元1201用于,预设三个电流值:500mA、1000mA和2000mA。
接收单元1202用于,接收用户输入的目标充电时间。
本实施例中,以接收到的目标充电时间为2小时为例进行说明。
获取单元1203用于,获取电池的剩余电量,以及从预设的所述电流值中获取至少一个待选电流值;所述待选电流值为基于该待选电流值将所述电池从所述剩余电量充电至满电量所使用的时间小于等于所述目标充电时间的电流值。
选择单元1204用于,从所述待选电流值中选择一个电流值作为充电电流值。
选择单元1204可以是从所述待选电流值中选择最小的电流值作为充电电流值,也可以是从所述待选电流值中选择低于预设阈值的一个电流值作为充电电流值。
充电单元1205用于,基于所述充电电流值向所述电池充电。由于电池的涓流充电阶段和恒压充电阶段的充电时间不可调整,因此本实施例调整的是恒流充电阶段的充电电流。在电池的涓流充电阶段和恒压充电阶段,充电单元1205可以仍然按照现有的方式向电池充电。
其中,获取单元1203用于从预设的所述电流值中获取至少一个待选电流值具体为:
获取单元1203用于,获取基于预设的所述电流值(500mA、1000mA和2000mA)将所述电池从所述剩余电量充电至满电量所使用的预测充电时间,将小于等于所述目标充电时间的所述预测充电时间作为待选时间,将获取所述待选时间时所基于的预设的所述电流值作为所述待选电流值。
所述基于预设的所述电流值i将所述电池从所述剩余电量充电至满电量所使用的预测充电时间根据电池充电阶段的不同,其获取方式也不相同。例如若所述电池的充电阶段包括涓流充电阶段、恒流充电阶段和恒压充电阶段,则所述预测充电时间tj为tj=t1+t2+t3。其中,t1为所述电池在涓流
充电阶段的待充电时间,t2为基于待选电流值充电时所述电池在恒流充电阶段的目标充电时间,t3为所述电池在恒压充电阶段的待充电时间。t1、t2和t3的值根据电池所处于的充电阶段相关。
若根据电池的剩余电量判断出所述电池处于涓流充电阶段,t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间。t2为基于预设的所述电流值i,将所述电池从所述恒流充电阶段的开始时刻充电至所述恒流充电阶段的结束时刻的充电时间。t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间。其中,t1和t3不可调节,因此可以是预先测出的时间,而t2可以为预先测出的时间,也可以为根据t2=q2/i计算得出的时间,q2为所述电池的恒流充电阶段的总电量。
例如,电池处于涓流充电阶段,已预先测出基于500mA在恒流充电阶段充电时,预测充电时间tj,即t1、t2以及t3之和为3小时,基于1000mA在恒流阶段充电时,预测充电时间tj为2小时,基于2000mA在恒流阶段充电时,预测充电时间tj为1.5小时,由于用户输入的目标充电时间为2小时,因此此时1.5小时和1小时为待选时间,1000mA和2000mA为待选电流值。
若根据电池的剩余电量判断出所述电池处于恒流充电阶段,此时给电池充电并不会经过涓流充电阶段,因此电池在涓流充电阶段的待充电时间,即t1为0。并且此时t2为基于预设的所述电流值i将所述电池从所述剩余电量充电至所述恒流充电阶段的结束时刻的充电时间,t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间。其中,t3不可调节,因此可以是预先测出的时间,而t2可以为预先测出的时间,也可以为根据t2=(qt-qs-q3)/i计算得出的时间;qt为所述电池的总电量,qs为所述剩余电量,q3为所述电池的恒压充电阶段的总电量。
首先举例说明t2根据t2=(qt-qs-q3)/i计算得出的情况。电池处于恒流充电阶段,已预先测出电池的总电量qt为1500mAh(毫安时),所述电池的恒压充电阶段的总电量q3为120mAh,所述电池的剩余电量qs为500mAh。因此,电池在恒流充电阶段的待充电电量为qt-qs-q3,即880mAh,电池基于预设电流值i=500mA将所述电池从所述剩余电量充电至所述恒流充电阶段的结束时刻所使用的时间为t2=(qt-qs-q3)/i,即1.76h。预先测出的
电池在恒压充电阶段的总充电时间t3为0.2h,因此将电池从剩余电量500mAh充电至满电量1500mAh所使用的预测充电时间tj为1.76h+0.2h=1.96h。同样可以计算出分别基于1000mA和2000mA将电池充满电使用的预测充电时间。
其次举例说明t2为预先测出的时间的情况。可以将整个恒流充电阶段划分为多个子充电阶段,例如,以总电量5%的电量作为子充电阶段的电量区间。预先测出从每个子充电阶段充电至恒流充电阶段的结束时刻的充电时间。例如,总电量的8-12%为一个子充电阶段,测出从8-12%(可以取起始点、中点或者结束点的电量)充电至总电量的92%,即恒流充电阶段的结束时刻,所使用的充电时间。因此,若判断出剩余电量属于某个子充电阶段,就将预先测出的该子充电阶段充电至恒流充电阶段的结束时刻的充电时间作为t2。
若根据所述电池的剩余电量判断出所述电池处于恒压充电阶段,由于恒压充电阶段的充电时间不可调整,此时可以结束流程,或者可以根据目标充电时间和预先测出的恒压充电阶段的充电时间判断此时是否能够在用户输入的目标充电时间内充满电,并向用户提示判断结果。
通过上述技术方案可知,在本实施例中,重点说明了获取单元1203通过获取将电池充满电所使用的预测充电时间获取待选电流值。此外,还具体说明了当电池的充电阶段包括涓流充电阶段、恒流充电阶段和恒压充电阶段时,需要根据不同的充电阶段选择不同的方式获取将电池充满电所使用的预测充电时间。
(二)、通过获取在目标充电时间内给电池充电的预测充电电量获取待选电流值。
请参阅图13,本发明实施例提供了电子设备的第七实施例,为了更好的描述实施例,本实施例中以预设三个电流值:500mA(毫安)、1000mA、2000mA为例加以说明。本实施例的电子设备具体包括:预设单元1301、接收单元1302、获取单元1303、选择单元1304和充电单元1305。
预设单元1301用于,预设三个电流值:500mA、1000mA和2000mA。
接收单元1302用于,接收用户输入的目标充电时间。
本实施例中,以接收到的目标充电时间为2小时为例进行说明。
获取单元1303用于,获取电池的剩余电量,以及从预设的所述电流值
中获取至少一个待选电流值;所述待选电流值为基于该待选电流值将所述电池从所述剩余电量充电至满电量所使用的时间小于等于所述目标充电时间的电流值。
选择单元1304用于,从所述待选电流值中选择一个电流值作为充电电流值。
选择单元1304可以是从所述待选电流值中选择最小的电流值作为充电电流值,也可以是从所述待选电流值中选择低于预设阈值的一个电流值作为充电电流值。
充电单元1305用于,基于所述充电电流值向所述电池充电。由于电池的涓流充电阶段和恒压充电阶段的充电时间不可调整,因此本实施例调整的是恒流充电阶段的充电电流。在电池的涓流充电阶段和恒压充电阶段,充电单元1305可以仍然按照现有的方式向电池充电。
其中,获取单元1303用于从预设的所述电流值中获取至少一个待选电流值具体为:
获取单元1303用于,获取基于预设的所述电流值(500mA、1000mA和2000mA)在所述目标充电时间内给所述电池充电的预测充电电量,将大于等于所述电池的待充电电量的所述预测充电电量作为待选电量,将获取所述待选电量时所基于的预设的所述电流值作为所述待选电流值。
电池的待充电电量根据所述剩余电量获取,实际上,电池的待充电电量为电池的总电量与所述剩余电量之差。
所述基于预设的所述电流值i在目标充电时间内给所述电池充电的预测充电电量根据电池充电阶段的不同,其获取方式也不相同。例如若所述电池的充电阶段包括涓流充电阶段、恒流充电阶段和恒压充电阶段,则所述预测充电电量qj为qj=q1+q2+q3。其中,q1为所述电池在涓流充电阶段的待充电电量,q2为基于预设的所述电流值充电时,所述电池在恒流充电阶段的预测充电电量,q3为所述电池在恒压充电阶段的待充电电量。q1、q2和q3的值根据电池所处于的充电阶段相关。
若根据所述电池的剩余电量判断出所述电池处于涓流充电阶段,q1为所述电池的涓流充电阶段的总电量,q2根据q2=i×(tm-t1-t3)计算得到,其中,tm为所述目标充电时间,t1为将所述电池从所述涓流充电阶段的开始时
刻充电至所述涓流充电阶段的结束时刻的充电时间,t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间,由于t1和t3不可调节,因此t1和t3可以为预先测出的时间;q3为所述电池在恒压充电阶段的总电量。
例如,电池处于涓流充电阶段,已预先测出将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间t1具体为0.3h,将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间t3具体为0.2h,而用户输入的目标充电时间为tm=2h,因此计算出恒流充电阶段的目标充电时间tm-t1-t3为1.5h。电池基于电流值i=500mA在恒流充电阶段的预测充电电量为i×(tm-t1-t3),即750mAh,再加上涓流充电阶段的总电量(例如120mAh)和恒压充电阶段的总电量(例如120mAh)则得到基于该预设电流,在目标充电时间内给所述电池充电的预测充电电量qj,即750+120+120=990mAh。同样可以计算出分别基于1000mA和2000mA在恒流充电阶段充电,在目标充电阶段内充电的预测充电电量。
若根据所述电池的剩余电量判断出所述电池处于恒流充电阶段,则此时给电池充电时并不会经过涓流充电阶段,因此电池在涓流充电阶段的待充电电量,即q1为0。而q2根据q2=i×(tm-t3)计算得到,其中,tm为用户输入的目标充电时间,t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间,由于t3不可调节,因此t3可以为预先测出的时间。q3为所述电池的恒压充电阶段的总电量。
在电池处于恒流充电阶段时计算出的qj,相比于涓流充电阶段计算出的qj,少了q1和t1两个参数。这里不再举例说明电池处于恒流充电阶段时qj的计算方式。
若根据所述电池的剩余电量判断出所述电池处于恒压充电阶段,由于恒压充电阶段的充电时间不可调整,此时可以结束流程,或者可以根据目标充电时间和预先测出的恒压充电阶段的充电时间判断此时是否能够在用户输入的目标充电时间内充满电,并向用户提示判断结果。
通过上述技术方案可知,在本实施例中,重点说明了获取单元1303通过获取在目标充电时间内给电池充电的预测充电电量获取待选电流值。此
外,还具体说明了当电池的充电阶段包括涓流充电阶段、恒流充电阶段和恒压充电阶段时,需要根据不同的充电阶段选择不同的方式获取在目标充电时间内给电池充电的预测充电电量。
需要说明的是,通过预测充电电量获取待选电流值的方式,与通过预测充电时间获取待选电流值的方式相比,虽然获取的参数不同,但是获取到的待选电流值是相同的。这是因为,对于预设的电流值来说,若基于该电流值在目标充电时间内给所述电池充电的预测充电电量大于等于待充电电量,则说明基于该电流值将所述电池从剩余电量充电至满电量所使用的预测充电时间一定小于等于目标充电时间。
(三)、通过获取在目标充电时间内给电池充满电所需的最小电流值获取待选电流值。
请参阅图14,本发明实施例提供了电子设备的第八实施例,为了更好的描述实施例,本实施例中以预设三个电流值:500mA(毫安)、1000mA、2000mA为例加以说明。本实施例的电子设备具体包括:预设单元1401、接收单元1402、获取单元1403、选择单元1404和充电单元1405。
预设单元1401用于,预设三个电流值:500mA、1000mA和2000mA。
接收单元1402用于,接收用户输入的目标充电时间。
本实施例中,以接收到的目标充电时间为2小时为例进行说明。
获取单元1403用于,获取电池的剩余电量,以及从预设的所述电流值中获取至少一个待选电流值;所述待选电流值为基于该待选电流值将所述电池从所述剩余电量充电至满电量所使用的时间小于等于所述目标充电时间的电流值。
选择单元1404用于,从所述待选电流值中选择一个电流值作为充电电流值。
选择单元1404可以是从所述待选电流值中选择最小的电流值作为充电电流值,也可以是从所述待选电流值中选择低于预设阈值的一个电流值作为充电电流值。
充电单元1405用于,基于所述充电电流值向所述电池充电。由于电池的涓流充电阶段和恒压充电阶段的充电时间不可调整,因此本实施例调整的是恒流充电阶段的充电电流。在电池的涓流充电阶段和恒压充电阶段,充电
单元1405可以仍然按照现有的方式向电池充电。
其中,获取单元1403用于从预设的所述电流值中获取至少一个待选电流值具体为:
获取单元1403用于,获取在所述目标充电时间内将所述电池从所述剩余电量充电至满电量时的最小电流值;将大于等于所述最小电流值的预设的所述电流值作为所述待选电流值。
在所述目标充电时间内将所述电池从所述剩余电量充电至满电量时的最小电流值根据电池充电阶段的不同,其获取方式也不相同。例如若所述电池的充电阶段包括涓流充电阶段、恒流充电阶段和恒压充电阶段,由于涓流充电阶段和恒压充电阶段的充电电流值不可调节,因此本实施例的最小电流值,指的是恒流充电阶段的最小电流值。并且,所述最小电流值i2为i2=q2/(tm-t1-t3)。其中,所述q2为所述电池在恒流充电阶段的最小充电电量,t1为所述电池在涓流充电阶段的待充电时间,t3为所述电池在恒压充电阶段的待充电时间,所述tm为用户输入的目标充电时间。其中q2、t1和t3的值根据电池所处于的充电阶段相关。
若根据所述电池的剩余电量判断出所述电池处于涓流充电阶段,所述q2为所述电池的恒流充电阶段的总电量,t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间。t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间。其中,t1和t3不可调节,因此可以是预先测出的时间。
例如,电池处于涓流充电阶段,预先测出将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间t1为0.3h,将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间t3为0.2h,而目标充电时间为tm=2h,因此计算出恒流充电阶段的目标充电时间tm-t1-t3,为1.5h。为了能够在目标充电时间给电池充满电,在tm-t1-t3时间内的充电电量至少为恒流充电阶段的总电量(例如1260mAh),因此,最小电流值为i2=q2/(tm-t1-t3),即840mA。因此,大于等于840mA的两个预设电流值,即1000mA和2000mA为待选电流值。
若根据所述电池的剩余电量判断出所述电池处于所述恒流充电阶段,此时给电池充电时并不会经过涓流充电阶段,因此电池在涓流充电阶段的待充
电时间,即t1为0。而且q2根据q2=qt-qs-q3计算得到,其中,qt为所述电池的总电量,qs为所述剩余电量,q3为所述电池的恒压充电阶段的总电量。t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间。由于t3不可调节,因此可以是预先测出的时间。
例如,电池处于恒流充电阶段,已预先测出将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间t3为0.2h,而目标充电时间为tm=2h,因此计算出恒流充电阶段的目标充电时间tm-t3,即1.8h。为了在目标充电时间给电池充满电,需要实现在tm-t3时间内至少充电qt-qs-q3,qt-qs-q3为恒流充电阶段的最小充电电量。已预先测出qt为1500mAh,qs为400mAh,q3为120mAh,则获取到恒流充电阶段的待充电电量qt-qs-q3为980mAh。因此,最小电流值i2为544mA,因此,大于等于544mA的两个预设电流值,即1000mA和2000mA为待选电流值。
若根据所述电池的剩余电量判断出所述电池处于恒压充电阶段,由于恒压充电阶段的充电时间不可调整,此时可以结束流程,或者可以根据目标充电时间和预先测出的恒压充电阶段的充电时间判断此时是否能够在用户输入的目标充电时间内充满电,并向用户提示判断结果。
通过上述技术方案可知,在本实施例中,重点说明了获取单元1403通过获取在目标充电时间内给电池充满电所需的最小电流值获取待选电流值。此外,还具体说明了当电池的充电阶段包括涓流充电阶段、恒流充电阶段和恒压充电阶段时,需要根据不同的充电阶段选择不同的方式获取所述最小电流值。
需要说明的是,通过最小电流值获取待选电流值的方式,与通过预测充电电量获取待选电流值的方式,以及与通过预测充电时间获取待选电流值的方式,虽然获取的参数不同,但是获取到的待选电流值是相同的。这是因为,对于预设的所述电流值来说,若大于等于所述最小电流值,则说明基于预设的所述电流值在目标充电时间内给所述电池充电的预测充电电量一定大于等于电池的总电量,同时也说明基于预设的所述电流值将所述电池从所述剩余电量充电至满电量所使用的预测充电时间一定小于等于目标充电时间。
通过上述三个实施例,本发明实施例中提供了三种获取待选电流值的方式。在获取所述待选电流值后,会从待选电流值中选择一个作为充电电流值,
用于给电池充电。本发明实施例中,若预设的所述电流值不存在待选电流值时,说明无论使用哪一个预设的所述电流值,都不能实现在目标充电时间内给电池充满电,因此本发明实施例中的选择单元还可以用于若预设的所述电流值不存在待选电流值时,在预设的所述电流值中选择最大的电流值作为充电电流值,从而使得在目标充电时间内的充电电量最大。
在现有技术中,对电池充电的方式是,当有充电电源输入时,就以固定的充电速度给电池充电。显然,这种充电方式不能对充电的开始时间或者结束时间进行控制。
而在本发明实施例中,可以是接收单元还用于接收用户输入的目标充电开始时刻,并且充电单元用于向所述电池充电具体为:充电单元用于在所述目标充电开始时刻时,向所述电池充电。
或者还可以是接收单元还用于接收用户输入的目标充电停止时刻;充电单元还用于在所述目标充电停止时刻时,停止向所述电池充电。
或者还可以是接收单元还用于接收用户输入的目标充电开始时刻和用户输入的目标充电停止时刻,并且充电单元用于向所述电池充电具体为:充电单元用于在所述目标充电开始时刻时,向所述电池充电。并且,充电单元还用于在所述目标充电停止时刻时,停止向所述电池充电。此时,目标充电时间为所述目标充电开始时刻和所述目标充电停止时刻之间的间隔时间,该目标充电时间实际上相当于是用户间接输入的。从而实现对电池的充电开始和/或结束时间进行控制。
其中,充电单元可以包括一充电芯片,由该充电芯片向电池充电,因此充电单元实现某一特定时刻向电池充电的具体实现方式,可以是通过在某一特定时刻,打开充电芯片的充电开关,或者使能充电芯片。充电单元实现某一特定时刻停止向电池充电的具体方式,可以是通过在某一特定时刻,关闭充电芯片的充电开关,或者禁用充电芯片。
在本发明实施例中,当基于选择的充电电流值向电池充电之后,还可以实时地检测基于该充电电流值,判断是否能够在目标充电时间内给电池充满电,如果不能,则重新选择充电电流值。具体实现方式是:
本发明实施例的电子设备还包括:判断单元。
本发明实施例的获取单元还用于:本发明实施例的充电单元向所述电池
充电之后,获取所述电池当前时刻的剩余电量和当前时刻的充电电流值。
本发明实施例的判断单元用于,判断基于所述当前时刻的充电电流值,将所述电池从所述当前时刻的剩余电量充电至满电量所使用的时间是否大于新的目标充电时间,如果是,则通知所述获取单元重新从预设的所述电流值中获取至少一个待选电流值。
其中,所述新的目标充电时间tm'为tm'=tm-(TD-TC);tm为所述目标充电时间,TC为所述向所述电池充电的开始时刻,TD为当前时刻,基于重新获取的待选电流值将所述电池从所述当前时刻的剩余电量充电至满电量所使用的时间小于等于所述新的目标充电时间;
本发明实施例的选择单元还用于从所述重新获取的待选电流值中选择一个电流值作为新的充电电流值。
本发明实施例的充电单元还用于基于所述新的充电电流值,向所述电池充电。
其中,获取单元重新获取待选电流值的具体方式,具体可以参考电子设备的第二实施例至第四实施例,这里不再详述。本发明实施例的获取单元还可以以一定周期循环执行上述功能,从而实时地根据电池的充电情况调整充电电流值,保证能够在预计的电池充电停止时刻,给电池充满电。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,
或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。
Claims (36)
- 一种充电方法,其特征在于,预设至少两个电流值,所述方法包括:接收用户输入的目标充电时间;获取电池的剩余电量;从预设的所述电流值中获取至少一个待选电流值,所述待选电流值为基于该待选电流值将所述电池从所述剩余电量充电至满电量所使用的时间小于等于所述目标充电时间的电流值;从所述待选电流值中选择一个电流值作为充电电流值;基于所述充电电流值向所述电池充电。
- 根据权利要求1所述的方法,其特征在于,所述电池的充电阶段包括涓流充电阶段、恒流充电阶段和恒压充电阶段;所述基于该待选电流值将所述电池从所述剩余电量充电至满电量所使用的时间t为:t=t1+t2+t3;所述基于所述充电电流值向所述电池充电具体为:在所述恒流充电阶段基于所述充电电流值向所述电池充电;若根据所述剩余电量判断出所述电池处于所述涓流充电阶段,所述t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间,所述t2为基于该待选电流值,将所述电池从所述恒流充电阶段的开始时刻充电至所述恒流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间;若根据所述剩余电量判断出所述电池处于所述恒流充电阶段,所述t1为0,所述t2为基于该待选电流值将所述电池从所述剩余电量充电至所述恒流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间。
- 根据权利要求1或2所述的方法,其特征在于,所述从预设的所述电流值中获取至少一个待选电流值具体为:获取基于预设的所述电流值将所述电池从所述剩余电量充电至满电量所使用的预测充电时间,将小于等于所述目标充电时间的所述预测充电时间作为待选时间,将获取所述待选时间时所基于的预设的所述电流值作为所述 待选电流值。
- 根据权利要求3所述的方法,其特征在于,所述基于预设的所述电流值i将所述电池从所述剩余电量充电至满电量所使用的预测充电时间tj为tj=t1+t2+t3;若根据所述剩余电量判断出所述电池处于所述涓流充电阶段,所述t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间,所述t2为基于预设的所述电流值i,将所述电池从所述恒流充电阶段的开始时刻充电至所述恒流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间;其中,所述t1和所述t3为预先测出的时间,所述t2为预先测出的或者根据t2=q2/i计算得出的时间;q2为所述电池的所述恒流充电阶段的总电量;若根据所述剩余电量判断出所述电池处于所述恒流充电阶段,所述t1为0,所述t2为基于预设的所述电流值i将所述电池从所述剩余电量充电至所述恒流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间;所述t3为预先测出的时间,所述t2为预先测出的或者根据t2=(qt-qs-q3)/i计算得出的时间;所述qt为所述电池的总电量,所述qs为所述剩余电量,所述q3为所述电池的所述恒压充电阶段的总电量。
- 根据权利要求1或2所述的方法,其特征在于,所述从预设的所述电流值中获取至少一个待选电流值具体为:获取基于预设的所述电流值在所述目标充电时间内给所述电池充电的预测充电电量,将大于等于所述电池的待充电电量的所述预测充电电量作为待选电量,将获取所述待选电量时所基于的预设的所述电流值作为所述待选电流值;所述电池的待充电电量根据所述剩余电量获取。
- 根据权利要求5所述的方法,其特征在于,所述基于预设的所述电流值i在所述目标充电时间内给所述电池充电的预测充电电量qj为qj=q1+q2+q3;若根据所述剩余电量判断出所述电池处于所述涓流充电阶段,所述q1 为所述电池的所述涓流充电阶段的总电量,所述q2根据q2=i×(tm-t1-t3)计算得到,所述tm为所述目标充电时间,所述t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间,所述t1和所述t3为预先测出的时间;所述q3为所述电池的所述恒压充电阶段的总电量;若根据所述剩余电量判断出所述电池处于所述恒流充电阶段,所述q1为0,所述q2根据q2=i×(tm-t3)计算得到,所述tm为所述目标充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间,所述t3为预先测出的时间;所述q3为所述电池的所述恒压充电阶段的总电量。
- 根据权利要求1或2所述的方法,其特征在于,所述从预设的所述电流值中获取至少一个待选电流值具体为:获取在所述目标充电时间内将所述电池从所述剩余电量充电至满电量时的最小电流值;将大于等于所述最小电流值的预设的所述电流值作为所述待选电流值。
- 根据权利要求7所述的方法,其特征在于,所述在所述目标充电时间内将所述电池从所述剩余电量充电至满电量时的最小电流值i2为i2=q2/(tm-t1-t3);若根据所述剩余电量判断出所述电池处于所述涓流充电阶段,所述q2为所述电池的所述恒流充电阶段的总电量,所述tm为所述目标充电时间,所述t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间,所述t1和所述t3为预先测出的时间;若根据所述剩余电量判断出所述电池处于所述恒流充电阶段,所述t1为0,所述q2根据q2=qt-qs-q3计算得到,所述qt为所述电池的总电量,所述qs为所述剩余电量,所述q3为所述电池的所述恒压充电阶段的总电量;所述tm为所述目标充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间,所述t3为预先测出 的时间。
- 根据权利要求1至8任一项所述的方法,其特征在于,所述从所述待选电流值中选择一个电流值作为充电电流值具体为:从所述待选电流值中选择最小的电流值、或者低于预设阈值的电流值作为所述充电电流值。
- 根据权利要求1至9任一项所述的方法,其特征在于,所述方法还包括:若预设的所述电流值中不存在所述待选电流值时,在预设的所述电流值中选择最大的电流值作为所述充电电流值。
- 根据权利要求1至10任一项所述的方法,其特征在于,所述方法还包括:接收用户输入的目标充电开始时刻;所述向所述电池充电具体为:在所述目标充电开始时刻时,向所述电池充电;和/或,接收用户输入的目标充电停止时刻;在所述目标充电停止时刻时,停止向所述电池充电;若接收所述目标充电开始时刻和所述目标充电停止时刻,所述目标充电时间为所述目标充电开始时刻和所述目标充电停止时刻之间的间隔时间。
- 根据权利要求1至11任一项所述的方法,其特征在于,所述向所述电池充电之后还包括:获取所述电池当前时刻的剩余电量和当前时刻的充电电流值;判断基于所述当前时刻的充电电流值,将所述电池从所述当前时刻的剩余电量充电至满电量所使用的时间是否大于新的目标充电时间,如果是,则重新从预设的所述电流值中获取至少一个待选电流值;其中,所述新的目标充电时间tm'为tm'=tm-(TD-TC);tm为所述目标充电时间,TC为所述向所述电池充电的开始时刻,TD为当前时刻,基于重新获取的待选电流值将所述电池从所述当前时刻的剩余电量充电至满电量所使用的时间小于等于所述新的目标充电时间;从所述重新获取的待选电流值中选择一个电流值作为新的充电电流值;基于所述新的充电电流值,向所述电池充电。
- 一种电子设备,其特征在于,所述设备包括:接收模块、供电模块、处理器和存储器;所述接收模块用于接收用户输入的目标充电时间;所述处理器用于预设至少两个电流值、获取电池的剩余电量、从预设的所述电流值中获取至少一个待选电流值、以及从所述待选电流值中选择一个电流值作为充电电流值;所述待选电流值为基于该待选电流值将所述电池从所述剩余电量充电至满电量所使用的时间小于等于所述目标充电时间的电流值;所述供电模块用于基于所述充电电流值向所述电池充电。
- 根据权利要求13所述的设备,其特征在于,所述电池的充电阶段包括涓流充电阶段、恒流充电阶段和恒压充电阶段;所述基于该待选电流值将所述电池从所述剩余电量充电至满电量所使用的时间t为:t=t1+t2+t3;所述供电模块用于基于所述充电电流值向所述电池充电具体为:所述供电模块用于,在所述恒流充电阶段基于所述充电电流值向所述电池充电;若所述处理器根据所述剩余电量判断出所述电池处于所述涓流充电阶段,所述t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间,所述t2为基于该待选电流值,将所述电池从所述恒流充电阶段的开始时刻充电至所述恒流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间;若所述处理器根据所述剩余电量判断出所述电池处于所述恒流充电阶段,所述t1为0,所述t2为基于该待选电流值将所述电池从所述剩余电量充电至所述恒流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间。
- 根据权利要求13或14所述的设备,其特征在于,所述处理器用于从预设的所述电流值中获取至少一个待选电流值具体为:所述处理器用于获取基于预设的所述电流值将所述电池从所述剩余电量充电至满电量所使用的预测充电时间,将小于等于所述目标充电时间的所述预测充电时间作为待选时间,将获取所述待选时间时所基于的预设的所述 电流值作为所述待选电流值。
- 根据权利要求15所述的设备,其特征在于,所述基于预设的所述电流值i将所述电池从所述剩余电量充电至满电量所使用的预测充电时间tj为tj=t1+t2+t3;若所述处理器根据所述剩余电量判断出所述电池处于所述涓流充电阶段,所述t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间,所述t2为基于预设的所述电流值i,将所述电池从所述恒流充电阶段的开始时刻充电至所述恒流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间;其中,所述t1和所述t3为预先测出的时间,所述t2为预先测出的或者根据t2=q2/i计算得出的时间;q2为所述电池的所述恒流充电阶段的总电量;若所述处理器根据所述剩余电量判断出所述电池处于所述恒流充电阶段,所述t1为0,所述t2为基于预设的所述电流值i将所述电池从所述剩余电量充电至所述恒流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间;所述t3为预先测出的时间,所述t2为预先测出的或者根据t2=(qt-qs-q3)/i计算得出的时间;所述qt为所述电池的总电量,所述qs为所述剩余电量,所述q3为所述电池的所述恒压充电阶段的总电量。
- 根据权利要求13或14所述的设备,其特征在于,所述处理器用于从预设的所述电流值中获取至少一个待选电流值具体为:所述处理器用于获取基于预设的所述电流值在所述目标充电时间内给所述电池充电的预测充电电量,将大于等于所述电池的待充电电量的所述预测充电电量作为待选电量,将获取所述待选电量时所基于的预设的所述电流值作为所述待选电流值;所述电池的待充电电量根据所述剩余电量获取。
- 根据权利要求17所述的设备,其特征在于,所述基于预设的所述电流值i在所述目标充电时间内给所述电池充电的预测充电电量qj为qj=q1+q2+q3;若所述处理器根据所述剩余电量判断出所述电池处于所述涓流充电阶段,所述q1为所述电池的所述涓流充电阶段的总电量,所述q2根据 q2=i×(tm-t1-t3)计算得到,所述tm为所述目标充电时间,所述t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间,所述t1和所述t3为预先测出的时间;所述q3为所述电池的所述恒压充电阶段的总电量;若所述处理器根据所述剩余电量判断出所述电池处于所述恒流充电阶段,所述q1为0,所述q2根据q2=i×(tm-t3)计算得到,所述tm为所述目标充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间,所述t3为预先测出的时间;所述q3为所述电池的所述恒压充电阶段的总电量。
- 根据权利要求13或14所述的设备,其特征在于,所述处理器用于从预设的所述电流值中获取至少一个待选电流值具体为:所述处理器用于获取在所述目标充电时间内将所述电池从所述剩余电量充电至满电量时的最小电流值;将大于等于所述最小电流值的预设的所述电流值作为所述待选电流值。
- 根据权利要求19所述的设备,其特征在于,所述在所述目标充电时间内将所述电池从所述剩余电量充电至满电量时的最小电流值i2为i2=q2/(tm-t1-t3);若所述处理器根据所述剩余电量判断出所述电池处于所述涓流充电阶段,所述q2为所述电池的所述恒流充电阶段的总电量,所述tm为所述目标充电时间,所述t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间,所述t1和所述t3为预先测出的时间;若所述处理器根据所述剩余电量判断出所述电池处于所述恒流充电阶段,所述t1为0,所述q2根据q2=qt-qs-q3计算得到,所述qt为所述电池的总电量,所述qs为所述剩余电量,所述q3为所述电池的所述恒压充电阶段的总电量;所述tm为所述目标充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间,所述t3为预先测出的时间。
- 根据权利要求13至20任一项所述的设备,其特征在于,所述处理器用于从所述待选电流值中选择一个电流值作为充电电流值具体为:所述处理器用于从所述待选电流值中选择最小的电流值、或者低于预设阈值的电流值作为所述充电电流值。
- 根据权利要求13至21任一项所述的设备,其特征在于,所述处理器还用于:若预设的所述电流值中不存在所述待选电流值时,在预设的所述电流值中选择最大的电流值作为所述充电电流值。
- 根据权利要求13至22任一项所述的设备,其特征在于,所述接收模块还用于接收用户输入的目标充电开始时刻;所述供电模块用于向所述电池充电具体为:所述供电模块用于在所述目标充电开始时刻时,向所述电池充电;和/或,所述接收模块还用于接收用户输入的目标充电停止时刻;所述供电模块还用于在所述目标充电停止时刻时,停止向所述电池充电;若所述接收模块用于接收所述目标充电开始时刻和所述目标充电停止时刻,所述目标充电时间为所述目标充电开始时刻和所述目标充电停止时刻之间的间隔时间。
- 根据权利要求13至23任一项所述的设备,其特征在于,所述处理器还用于:向所述电池充电之后,获取所述电池当前时刻的剩余电量和当前时刻的充电电流值,判断基于所述当前时刻的充电电流值,将所述电池从所述当前时刻的剩余电量充电至满电量所使用的时间是否大于新的目标充电时间,如果是,则重新从预设的所述电流值中获取至少一个待选电流值,以及从所述重新获取的待选电流值中选择一个电流值作为新的充电电流值;其中,所述新的目标充电时间tm'为tm'=tm-(TD-TC);tm为所述目标充电时间,TC为所述向所述电池充电的开始时刻,TD为当前时刻,基于重新获取的待选电流值将所述电池从所述当前时刻的剩余电量充电至满电量所使用的时间小于等于所述新的目标充电时间;所述供电模块还用于基于所述新的充电电流值,向所述电池充电。
- 一种电子设备,其特征在于,所述设备包括:预设单元、接收单元、获取单元、选择单元和充电单元;所述预设单元用于,预设至少两个电流值;所述接收单元用于,接收用户输入的目标充电时间;所述获取单元用于,获取电池的剩余电量,以及从预设的所述电流值中获取至少一个待选电流值;所述待选电流值为基于该待选电流值将所述电池从所述剩余电量充电至满电量所使用的时间小于等于所述目标充电时间的电流值;所述选择单元用于,从所述待选电流值中选择一个电流值作为充电电流值;所述充电单元用于,基于所述充电电流值向所述电池充电。
- 根据权利要求25所述的设备,其特征在于,所述电池的充电阶段包括涓流充电阶段、恒流充电阶段和恒压充电阶段;所述基于该待选电流值将所述电池从所述剩余电量充电至满电量所使用的时间t为:t=t1+t2+t3;所述充电单元用于基于所述充电电流值向所述电池充电具体为:所述充电单元用于,在所述恒流充电阶段基于所述充电电流值向所述电池充电;若根据所述剩余电量判断出所述电池处于所述涓流充电阶段,所述t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间,所述t2为基于该待选电流值,将所述电池从所述恒流充电阶段的开始时刻充电至所述恒流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间;若根据所述剩余电量判断出所述电池处于所述恒流充电阶段,所述t1为0,所述t2为基于该待选电流值将所述电池从所述剩余电量充电至所述恒流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间。
- 根据权利要求25或26所述的设备,其特征在于,所述获取单元用于从预设的所述电流值中获取至少一个待选电流值具体为:所述获取单元用于获取基于预设的所述电流值将所述电池从所述剩余 电量充电至满电量所使用的预测充电时间,将小于等于所述目标充电时间的所述预测充电时间作为待选时间,将获取所述待选时间时所基于的预设的所述电流值作为所述待选电流值。
- 根据权利要求27所述的设备,其特征在于,所述基于预设的所述电流值i将所述电池从所述剩余电量充电至满电量所使用的预测充电时间tj为tj=t1+t2+t3;若根据所述剩余电量判断出所述电池处于所述涓流充电阶段,所述t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间,所述t2为基于预设的所述电流值i,将所述电池从所述恒流充电阶段的开始时刻充电至所述恒流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间;其中,所述t1和所述t3为预先测出的时间,所述t2为预先测出的或者根据t2=q2/i计算得出的时间;q2为所述电池的所述恒流充电阶段的总电量;若根据所述剩余电量判断出所述电池处于所述恒流充电阶段,所述t1为0,所述t2为基于预设的所述电流值i将所述电池从所述剩余电量充电至所述恒流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间;所述t3为预先测出的时间,所述t2为预先测出的或者根据t2=(qt-qs-q3)/i计算得出的时间;所述qt为所述电池的总电量,所述qs为所述剩余电量,所述q3为所述电池的所述恒压充电阶段的总电量。
- 根据权利要求25或26所述的设备,其特征在于,所述获取单元用于从预设的所述电流值中获取至少一个待选电流值具体为:所述获取单元用于获取基于预设的所述电流值在所述目标充电时间内给所述电池充电的预测充电电量,将大于等于所述电池的待充电电量的所述预测充电电量作为待选电量,将获取所述待选电量时所基于的预设的所述电流值作为所述待选电流值。
- 根据权利要求29所述的设备,其特征在于,所述基于预设的所述电流值i在所述目标充电时间内给所述电池充电的预测充电电量qj为qj=q1+q2+q3;若根据所述剩余电量判断出所述电池处于所述涓流充电阶段,所述q1为所述电池的所述涓流充电阶段的总电量,所述q2根据q2=i×(tm-t1-t3)计算得到,所述tm为所述目标充电时间,所述t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间,所述t1和所述t3为预先测出的时间;所述q3为所述电池的所述恒压充电阶段的总电量;若根据所述剩余电量判断出所述电池处于所述恒流充电阶段,所述q1为0,所述q2根据q2=i×(tm-t3)计算得到,所述tm为所述目标充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间,所述t3为预先测出的时间;所述q3为所述电池的所述恒压充电阶段的总电量。
- 根据权利要求25或26所述的设备,其特征在于,所述获取单元用于从预设的所述电流值中获取至少一个待选电流值具体为:所述获取单元用于获取在所述目标充电时间内将所述电池从所述剩余电量充电至满电量时的最小电流值;将大于等于所述最小电流值的预设的所述电流值作为所述待选电流值。
- 根据权利要求31所述的设备,其特征在于,所述在所述目标充电时间内将所述电池从所述剩余电量充电至满电量时的最小电流值i2为i2=q2/(tm-t1-t3);若根据所述剩余电量判断出所述电池处于所述涓流充电阶段,所述q2为所述电池的所述恒流充电阶段的总电量,所述tm为所述目标充电时间,所述t1为将所述电池从所述涓流充电阶段的开始时刻充电至所述涓流充电阶段的结束时刻的充电时间,所述t3为将所述电池从所述恒压充电阶段的开始时刻充电至所述恒压充电阶段的结束时刻的充电时间,所述t1和所述t3为预先测出的时间;若根据所述剩余电量判断出所述电池处于所述恒流充电阶段,所述t1为0,所述q2根据q2=qt-qs-q3计算得到,所述qt为所述电池的总电量,所述qs为所述剩余电量,所述q3为所述电池的所述恒压充电阶段的总电量;所述tm为所述目标充电时间,所述t3为将所述电池从所述恒压充电阶段的开 始时刻充电至所述恒压充电阶段的结束时刻的充电时间,所述t3为预先测出的时间。
- 根据权利要求25至32任一项所述的设备,其特征在于,所述选择单元用于从所述待选电流值中选择一个电流值作为充电电流值具体为:所述选择单元用于从所述待选电流值中选择最小的电流值、或者低于预设阈值的电流值作为所述充电电流值。
- 根据权利要求25至33任一项所述的设备,其特征在于,所述选择单元还用于,若预设的所述电流值中不存在所述待选电流值时,在预设的所述电流值中选择最大的电流值作为所述充电电流值。
- 根据权利要求25至34任一项所述的设备,其特征在于,所述接收单元还用于接收用户输入的目标充电开始时刻;所述充电单元用于向所述电池充电具体为:所述充电单元用于在所述目标充电开始时刻时,向所述电池充电;和/或,所述接收单元还用于接收用户输入的目标充电停止时刻;所述充电单元还用于在所述目标充电停止时刻时,停止向所述电池充电;若所述接收单元用于接收所述目标充电开始时刻和所述目标充电停止时刻,所述目标充电时间为所述目标充电开始时刻和所述目标充电停止时刻之间的间隔时间。
- 根据权利要求25至35任一项所述的设备,其特征在于,所述设备还包括:判断单元;所述获取单元还用于:所述充电单元向所述电池充电之后,获取所述电池当前时刻的剩余电量和当前时刻的充电电流值;所述判断单元用于,判断基于所述当前时刻的充电电流值,将所述电池从所述当前时刻的剩余电量充电至满电量所使用的时间是否大于新的目标充电时间,如果是,则通知所述获取单元重新从预设的所述电流值中获取至少一个待选电流值;其中,所述新的目标充电时间tm'为tm'=tm-(TD-TC);tm为所述目标充电时间,TC为所述向所述电池充电的开始时刻,TD为当前时刻,基于重新 获取的待选电流值将所述电池从所述当前时刻的剩余电量充电至满电量所使用的时间小于等于所述新的目标充电时间;所述选择单元还用于从所述重新获取的待选电流值中选择一个电流值作为新的充电电流值;所述充电单元还用于基于所述新的充电电流值,向所述电池充电。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310645790.4A CN103682498B (zh) | 2013-12-04 | 2013-12-04 | 一种充电方法及电子设备 |
CN201310645790.4 | 2013-12-04 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015081868A1 true WO2015081868A1 (zh) | 2015-06-11 |
Family
ID=50319297
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/093012 WO2015081868A1 (zh) | 2013-12-04 | 2014-12-04 | 一种充电方法及电子设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103682498B (zh) |
WO (1) | WO2015081868A1 (zh) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107240729A (zh) * | 2017-05-10 | 2017-10-10 | 上海蔚来汽车有限公司 | 电池充电方法 |
CN111371140A (zh) * | 2020-03-11 | 2020-07-03 | Oppo广东移动通信有限公司 | 充电控制方法、装置、终端设备以及存储介质 |
IT201900021297A1 (it) * | 2019-11-15 | 2021-05-15 | Futura Batterie Srl | Metodo di carica di un accumulatore |
EP3840104A4 (en) * | 2018-12-25 | 2021-09-22 | Huawei Technologies Co., Ltd. | METHOD OF CHARGING AN OPTIONAL TERMINAL DEVICE, GRAPHIC USER INTERFACE AND ELECTRONIC DEVICE |
CN113997823A (zh) * | 2021-11-05 | 2022-02-01 | 珠海格力电器股份有限公司 | 一种充电控制方法、装置、系统及充电桩 |
Families Citing this family (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103682498B (zh) * | 2013-12-04 | 2016-03-02 | 华为终端有限公司 | 一种充电方法及电子设备 |
CN105226741B (zh) * | 2014-07-03 | 2019-10-22 | 腾讯科技(深圳)有限公司 | 一种移动终端的充电方法、电量测试方法、相关设备及系统 |
CN104362684A (zh) * | 2014-10-10 | 2015-02-18 | 华为技术有限公司 | 充电方法和可充电设备 |
CN104659881B (zh) * | 2015-03-06 | 2017-04-19 | 广东欧珀移动通信有限公司 | 移动终端的充电方法及装置 |
CN105226765B (zh) * | 2015-10-30 | 2018-03-27 | 上海斐讯数据通信技术有限公司 | 一种电子设备充电时间调节方法、系统以及一种电子设备 |
CN105529787A (zh) * | 2016-02-24 | 2016-04-27 | 北京新能源汽车股份有限公司 | 充电桩 |
CN106340922A (zh) * | 2016-09-26 | 2017-01-18 | 依偎科技(南昌)有限公司 | 一种充电方法及移动终端 |
CN106655318A (zh) * | 2016-09-27 | 2017-05-10 | 广东欧珀移动通信有限公司 | 充电控制方法、装置及终端 |
CN106340691A (zh) * | 2016-09-27 | 2017-01-18 | 北京珠穆朗玛移动通信有限公司 | 充电管理方法以及移动通信终端 |
CN107980190A (zh) * | 2016-10-28 | 2018-05-01 | 深圳市柔宇科技有限公司 | 电子装置及按需充电方法 |
CN106787034A (zh) * | 2017-04-06 | 2017-05-31 | 深圳天珑无线科技有限公司 | 一种充电方法及装置 |
CN107181298A (zh) * | 2017-05-26 | 2017-09-19 | 珠海市魅族科技有限公司 | 充电控制方法、装置、终端装置及存储介质 |
CN107994656B (zh) * | 2017-12-29 | 2021-02-09 | 国网山东省电力公司滨州供电公司 | 一种提高电池使用寿命的智能充电系统及终端 |
CN108859803A (zh) * | 2018-04-27 | 2018-11-23 | 北海和思科技有限公司 | 一种电动车充电器智能控制系统及其控制方法 |
CN108777331B (zh) * | 2018-06-08 | 2021-04-30 | 广东小天才科技有限公司 | 一种电子设备中锂离子电池的充电控制方法及装置 |
CN110203099A (zh) * | 2019-05-22 | 2019-09-06 | 湖北国电众恒电气有限公司 | 考虑用户可用充电时间的动力锂电池高效充电方法 |
CN112152271B (zh) * | 2019-06-27 | 2023-05-05 | Oppo广东移动通信有限公司 | 快速充电方法、充电装置、电子设备和充电系统 |
CN110783652B (zh) | 2019-10-23 | 2021-06-29 | 北京小米移动软件有限公司 | 电池充电方法、电池充电装置及存储介质 |
CN110767950B (zh) * | 2019-10-31 | 2021-04-16 | Oppo广东移动通信有限公司 | 充电方法、装置、终端设备及计算机可读存储介质 |
TWI732640B (zh) * | 2020-07-29 | 2021-07-01 | 華碩電腦股份有限公司 | 電子裝置及其充電方法 |
CN117936952A (zh) * | 2024-02-02 | 2024-04-26 | 武汉盛帆电子股份有限公司 | 电池充电方法、装置、电子设备及存储介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101409456A (zh) * | 2008-08-04 | 2009-04-15 | 深圳市同洲电子股份有限公司 | 充电装置充电的方法及充电装置 |
CN102386643A (zh) * | 2010-08-25 | 2012-03-21 | 三菱自动车工业株式会社 | 充电控制装置 |
CN103098340A (zh) * | 2011-03-11 | 2013-05-08 | 日产自动车株式会社 | 车辆的充电控制装置 |
CN103682498A (zh) * | 2013-12-04 | 2014-03-26 | 华为终端有限公司 | 一种充电方法及电子设备 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0898426A (ja) * | 1994-09-21 | 1996-04-12 | Toyota Motor Corp | バッテリの充電方法 |
CN201315495Y (zh) * | 2008-10-30 | 2009-09-23 | 深圳华为通信技术有限公司 | 一种电子设备 |
JP5982736B2 (ja) * | 2011-03-30 | 2016-08-31 | ソニー株式会社 | 蓄電装置、蓄電方法およびプログラム |
-
2013
- 2013-12-04 CN CN201310645790.4A patent/CN103682498B/zh active Active
-
2014
- 2014-12-04 WO PCT/CN2014/093012 patent/WO2015081868A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101409456A (zh) * | 2008-08-04 | 2009-04-15 | 深圳市同洲电子股份有限公司 | 充电装置充电的方法及充电装置 |
CN102386643A (zh) * | 2010-08-25 | 2012-03-21 | 三菱自动车工业株式会社 | 充电控制装置 |
CN103098340A (zh) * | 2011-03-11 | 2013-05-08 | 日产自动车株式会社 | 车辆的充电控制装置 |
CN103682498A (zh) * | 2013-12-04 | 2014-03-26 | 华为终端有限公司 | 一种充电方法及电子设备 |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107240729A (zh) * | 2017-05-10 | 2017-10-10 | 上海蔚来汽车有限公司 | 电池充电方法 |
CN107240729B (zh) * | 2017-05-10 | 2019-10-22 | 上海蔚来汽车有限公司 | 电池充电方法 |
EP3840104A4 (en) * | 2018-12-25 | 2021-09-22 | Huawei Technologies Co., Ltd. | METHOD OF CHARGING AN OPTIONAL TERMINAL DEVICE, GRAPHIC USER INTERFACE AND ELECTRONIC DEVICE |
IT201900021297A1 (it) * | 2019-11-15 | 2021-05-15 | Futura Batterie Srl | Metodo di carica di un accumulatore |
EP3826136A1 (en) | 2019-11-15 | 2021-05-26 | Futura Batterie S.r.l. | Method of charging a storage battery |
CN111371140A (zh) * | 2020-03-11 | 2020-07-03 | Oppo广东移动通信有限公司 | 充电控制方法、装置、终端设备以及存储介质 |
CN111371140B (zh) * | 2020-03-11 | 2024-03-29 | Oppo广东移动通信有限公司 | 充电控制方法、装置、终端设备以及存储介质 |
CN113997823A (zh) * | 2021-11-05 | 2022-02-01 | 珠海格力电器股份有限公司 | 一种充电控制方法、装置、系统及充电桩 |
Also Published As
Publication number | Publication date |
---|---|
CN103682498A (zh) | 2014-03-26 |
CN103682498B (zh) | 2016-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2015081868A1 (zh) | 一种充电方法及电子设备 | |
CN102012487B (zh) | 一种电池充电的检测方法及充电检测装置 | |
WO2016101509A1 (zh) | 一种充电控制方法及装置 | |
CN104577231B (zh) | 一种实现快速充电的方法、适配器、终端及系统 | |
CN102623768B (zh) | 一种多电池充电方法、装置以及一种手持移动终端 | |
EP2180573B1 (en) | System and method for controlling charging of battery of portable terminal | |
WO2014101807A1 (zh) | 一种显示电池电量的方法和终端 | |
CN104993534B (zh) | 一种移动终端及其充电控制方法 | |
WO2021238198A1 (zh) | 一种充电方法、充电芯片和终端设备 | |
WO2012089086A1 (zh) | 充电方法和用户设备 | |
CN104135053A (zh) | 电量共享方法和装置 | |
KR20170020543A (ko) | 전자 디바이스의 고속 충전 방법, 장치 및 디바이스 | |
WO2019119326A1 (zh) | 充电方法、装置、终端设备及计算机可读存储介质 | |
CN106486706B (zh) | 一种铅酸蓄电池配组方法及配组装置 | |
CN108964182A (zh) | 反向充电设备、反向充电电流的调节方法及装置 | |
TW201138259A (en) | Charging method for rechargeable battery and its charging battery | |
CN103326432A (zh) | 一种电子设备的电池充电控制方法及系统 | |
WO2020259181A1 (zh) | 快速充电方法、充电装置、电子设备和充电系统 | |
WO2014154044A1 (zh) | 一种电子设备的智能充电方法及装置 | |
CN107959314A (zh) | 一种慢充电方法及智能终端 | |
US10312701B2 (en) | Charging method and portable electronic device using the same | |
WO2015090077A1 (zh) | 移动终端充电的控制方法、装置、系统和移动终端 | |
CN111146837A (zh) | 充电方法及装置、电子设备、存储介质 | |
US8438412B1 (en) | System, method, and computer program for enabling an amount of multitasking for use by an operating system | |
CN109148986B (zh) | 一种充电方法及装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14866958 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14866958 Country of ref document: EP Kind code of ref document: A1 |