Method, device and storage medium for determining battery charging time

By monitoring the charging status type and stage of electronic device batteries and calculating the charging time in real time, the problem of inaccurate charging time estimates in the prior art is solved, and the accuracy of the estimate and user experience are improved.

CN114977348BActive Publication Date: 2025-04-22BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110218636.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-26
Publication Date
2025-04-22
Estimated Expiration
2041-02-26

AI Technical Summary

Technical Problem

The prior art fails to consider changes during the charging process when estimating the charging time of electronic equipment batteries, resulting in poor accuracy of the estimate.

Method used

By monitoring the charging status type and charging stage of the electronic device battery, the charging time is calculated in real time by distinguishing the constant current charging stage and the constant voltage charging stage. The specific steps include obtaining the current charging status type of the battery, determining the charging stage, and calculating the charging time based on the charging status type and stage.

Benefits of technology

By distinguishing different charging scenarios, the battery charging time can be more accurately estimated, improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114977348B_ABST
    Figure CN114977348B_ABST
Patent Text Reader

Abstract

The present disclosure is about a method for determining the charging time of a battery, which is applied to an electronic device, and the determination method includes: when monitoring that the battery of the electronic device enters a charging state, obtaining the current charging state type of the battery; determining the charging stage of the battery, the charging stage including a constant current charging stage and a constant voltage charging stage; and determining the charging time required for the battery according to the charging state type and the charging stage. The method for determining the charging time of a battery provided by the present disclosure can determine the charging time required for the battery in real time according to the charging state type and the charging stage of the battery, and can estimate a more accurate charging time by distinguishing different charging scenarios, thereby improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of battery charging, and in particular to a method, device and storage medium for determining battery charging time. Background Art

[0002] In the related art, with the development of electronic devices, more and more electronic devices have added the estimated time of battery charging time. However, the current common estimation method is to obtain the difference between the total power of the battery and the remaining power in the battery of the electronic device to be charged, divided by the charging current, that is, t = (Q max -Q1) / I. This acquisition method does not take into account the changes in the battery charging process and has poor accuracy. Therefore, it is a technical problem that urgently needs to be addressed to provide an accurate method for determining the battery charging time of an electronic device. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the present disclosure provides a method, device and storage medium for determining the charging time of a battery.

[0004] According to a first aspect of an embodiment of the present disclosure, a method for determining a battery charging time is provided, which is applied to an electronic device, and the method comprises:

[0005] When it is detected that the battery of the electronic device enters a charging state, obtaining the current charging state type of the battery;

[0006] Determining the charging stage of the battery, wherein the charging stage includes a constant current charging stage and a constant voltage charging stage;

[0007] The charging time required for the battery is determined according to the charging state type and the charging stage.

[0008] Among them, the charging status type includes a screen-off charging state or a screen-on charging state.

[0009] Wherein, determining the charging time required for the battery according to the charging state type and the charging stage includes:

[0010] When the charging state type is the screen-off charging state and is in the constant-current charging stage, obtaining a first existing power of the battery in the current stage and a first charging current in the constant-current charging stage in the screen-off charging state;

[0011] Obtain the first maximum power in the constant current charging stage in the screen-off charging state;

[0012] Determine a first charging duration of a constant current charging stage in a screen-off charging state according to the first existing power, the first charging current, and the first maximum power;

[0013] Determine a second charging duration of the constant voltage charging stage in the screen-off charging state according to the first maximum power, the maximum power of the battery, and the terminal voltage of the battery when it is fully charged;

[0014] The sum of the first charging time and the second charging time is determined as the charging time required for the battery.

[0015] The obtaining of the first maximum power in the constant current charging stage in the screen-off state includes:

[0016] Determine a first load impedance of the battery during a constant current charging stage in a screen-off state;

[0017] A first maximum power in a constant current charging stage in a screen-off state is determined according to the first load impedance, the terminal voltage of the battery when it is fully charged, and the first charging current.

[0018] Wherein, determining the second charging duration of the constant voltage charging stage in the screen-off charging state according to the first maximum power, the maximum power of the battery, and the terminal voltage when the battery is fully charged includes:

[0019] The second charging time of the constant voltage charging stage in the screen-off charging state is determined according to the following formula:

[0020]

[0021] Wherein, T2 is the second charging time, A n and B n is a parameter describing the properties of battery materials, Q2 is the first maximum charge, Q max is the maximum charge of the battery.

[0022] Wherein, determining the charging time required for the battery according to the charging state type and the charging stage includes:

[0023] When the charging state type is the screen-off charging state and is in the constant voltage charging stage, obtaining a second existing power of the battery in the current stage;

[0024] The charging time required for the battery is determined according to the second existing power, the maximum power of the battery and the terminal voltage of the battery when it is fully charged.

[0025] Wherein, determining the charging time according to the second existing power, the maximum power of the battery and the terminal voltage when the battery is fully charged includes:

[0026] The charging time is determined according to the following formula:

[0027]

[0028] Wherein, T is the charging time, A nand B n is a parameter describing the properties of battery materials, Q3 is the second existing charge, Q max is the maximum charge of the battery.

[0029] Wherein, determining the charging time required for the battery according to the charging state type and the charging stage includes:

[0030] When the charging state type is a screen-on charging state and is in a constant current charging stage, obtaining a third existing power of the battery in the current stage and a third charging current in the constant current charging stage in the screen-on charging state;

[0031] Get the third maximum power of the constant current charging stage in the screen-on charging state;

[0032] determining a third charging duration according to the third existing power, the third charging current, and the third maximum power;

[0033] Determining the time it takes to reach the maximum temperature under the third charging current;

[0034] Determine a fourth charging duration in the constant current charging stage in the screen-on charging state according to the time when the maximum temperature is reached and the third charging duration;

[0035] Determine a fifth charging duration of the constant voltage charging stage in the screen-on charging state according to the third maximum power, the maximum power of the battery, and the terminal voltage when the battery is fully charged;

[0036] The sum of the fourth charging time and the fifth charging time is determined as the charging time required for the battery.

[0037] Wherein, determining the fourth charging duration in the constant current charging stage in the screen-on charging state according to the time when the maximum temperature is reached and the third charging duration includes:

[0038] When the time duration when the maximum temperature is reached is less than the third charging time duration, determining the power of the battery when the maximum temperature is reached according to the third existing power and the time duration when the maximum temperature is reached;

[0039] Obtaining the charging current and the third load impedance after current adjustment;

[0040] Determining a maximum amount of electricity after the current is adjusted according to the charging current after the current is adjusted and the third load impedance;

[0041] determining a sixth charging duration according to the maximum power after the current is adjusted, the power when the maximum temperature is reached, and the charging current after the current is adjusted;

[0042] The sum of the time until the maximum temperature is reached and the sixth charging time is determined as the fourth charging time.

[0043] Wherein, determining the fourth charging duration in the constant current charging stage in the screen-on charging state according to the time when the maximum temperature is reached and the third charging duration includes:

[0044] When the time duration for reaching the maximum temperature is greater than the third charging time duration, the third charging time duration is determined as the fourth charging time duration.

[0045] Wherein, the time duration for reaching the highest temperature under the third charging current includes:

[0046] Determine the temperature rise rate during the constant current charging stage in the screen-on charging state;

[0047] The time required to reach the highest temperature under the third charging current is determined according to the temperature rising speed.

[0048] Among them, determining the temperature rise rate in the constant current charging stage under the bright screen charging state includes:

[0049] Get the temperature difference within N unit time;

[0050] The average value of the temperature difference within the N unit times is determined as the heating rate.

[0051] Wherein, determining the charging time required for the battery according to the charging state type and the charging stage includes:

[0052] When the charging state type is the screen-on charging state and is in the constant voltage charging stage, obtaining the fourth existing power of the battery in the current stage;

[0053] The charging time required for the battery is determined according to the fourth existing power, the maximum power of the battery and the terminal voltage when the battery is fully charged.

[0054] According to a second aspect of an embodiment of the present disclosure, a device for determining a battery charging time is provided, the device comprising:

[0055] An acquisition module, used to acquire the current charging state type of the battery after monitoring that the battery of the electronic device enters the charging state;

[0056] A first determination module is used to determine the charging stage of the battery, wherein the charging stage includes a constant current charging stage and a constant voltage charging stage;

[0057] The second determination module is used to determine the charging time required for the battery according to the charging state type and the charging stage.

[0058] According to a third aspect of an embodiment of the present disclosure, a device for determining a battery charging time is provided, including:

[0059] processor;

[0060] a memory for storing processor-executable instructions;

[0061] Wherein, the processor is configured to:

[0062] When the battery of the electronic device is detected to be in a charging state, the current charging state type of the battery is obtained;

[0063] Determining the charging stage of the battery, wherein the charging stage includes a constant current charging stage and a constant voltage charging stage;

[0064] The charging time required for the battery is determined according to the charging state type and the charging stage.

[0065] According to a fourth aspect of an embodiment of the present disclosure, a non-transitory computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform a method for determining a battery charging time, the method comprising:

[0066] When it is detected that the battery of the electronic device enters a charging state, obtaining the current charging state type of the battery;

[0067] Determining the charging stage of the battery, wherein the charging stage includes a constant current charging stage and a constant voltage charging stage;

[0068] The charging time required for the battery is determined according to the charging state type and the charging stage.

[0069] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: the method for determining the battery charging time provided by the present disclosure can determine the charging time required for the battery in real time according to the battery's charging status type and charging stage, and can estimate a more accurate charging time by distinguishing different charging scenarios, thereby improving the user experience.

[0070] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0071] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0072] Figure 1 is a flow chart showing a method for determining a battery charging time according to an exemplary embodiment;

[0073] Figure 2 Shows Figure 1 In step S13, a flow chart of a method for determining the charging time required for the battery according to the charging state type and the charging stage;

[0074] Figure 3 Shows Figure 2 In step S132, a flowchart of a method for obtaining a first maximum power Q2 in a constant current charging stage in a screen-off state;

[0075] Figure 4 A schematic diagram of an OCV curve of an OCV model is illustrated;

[0076] Figure 5 Shows Figure 1 In step S13, a flow chart of a method for determining the charging time required for the battery according to the charging state type and the charging stage;

[0077] Figure 6 Shows Figure 1 In step S13, a flow chart of a method for determining the charging time required for the battery according to the charging state type and the charging stage;

[0078] Figure 7 Shows Figure 6 In step S139, a flowchart of a method for obtaining a third maximum power Q5 in a constant current charging stage in a bright screen charging state;

[0079] Figure 8 The time t when the highest temperature is reached at the third charging current of the constant current charging stage in the bright screen charging state is shown. f Flow chart of the method;

[0080] Fig. 9 Shows Figure 8 In step S1411, a flow chart of a method for determining a heating rate F' in a constant current charging stage in a bright screen charging state;

[0081] Fig.10 Shows Figure 6 In the step S143, a flowchart of a method for determining a fourth charging duration in the constant current charging stage in the screen-on charging state according to the duration when the maximum temperature is reached and the third charging duration;

[0082] Fig.11 Shows Figure 1 In step S13, a flow chart of a method for determining the charging time required for the battery according to the charging state type and the charging stage;

[0083] Fig.12 is a block diagram of a device for determining battery charging time according to an exemplary embodiment;

[0084] Fig.13 It is a block diagram of a device for determining battery charging time according to an exemplary embodiment (general structure of an electronic device). DETAILED DESCRIPTION

[0085] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0086] The present disclosure provides a method for determining a battery charging time, which is applied to electronic devices, such as mobile terminals. Figure 1 is a flow chart showing a method for determining a battery charging time according to an exemplary embodiment. Figure 1 As shown, the method for determining the battery charging time includes the following steps.

[0087] In step S11, when it is detected that the battery of the electronic device enters a charging state, the current charging state type of the battery is obtained;

[0088] In step S12, the charging stage of the battery is determined, and the charging stage includes a constant current charging stage and a constant voltage charging stage;

[0089] In step S13, the charging time required for the battery is determined according to the charging state type and the charging stage.

[0090] In the method for determining the battery charging time provided by the present disclosure, when it is monitored that the battery of the electronic device enters the charging state, the current charging state type of the battery is obtained, the charging stage of the battery of the electronic device is determined, and the charging time required for the battery is determined based on the charging state type and the charging stage.

[0091] The method for determining the battery charging time provided in the present disclosure can determine the charging time required for the battery in real time according to the battery's charging state type and charging stage. By distinguishing different charging scenarios, a more accurate charging time can be estimated, thereby improving the user experience.

[0092] In the method for determining the battery charging time provided by the present disclosure, the battery charging state type may include a screen-off charging state or a screen-on charging state. Among them, the screen-off charging state means that the electronic device is in a non-power consumption state, and the screen of the electronic device is in a screen-off state. The screen-on charging state means that the electronic device is in a power consumption state, and the electronic device is in use, for example, a smart terminal is in a call, a game, or a movie watching state, etc. The method for determining the battery charging time provided by the present disclosure takes into account the battery charging state type, and determines the charging time according to different charging state type scenarios, thereby improving the accuracy of determining the charging time required for the battery of the electronic device.

[0093] In an embodiment of the present disclosure, a method for determining the battery charging time is provided. Figure 2 As shown, Figure 2 Shows Figure 1 In step S13, a method flow chart for determining the charging time required for the battery according to the charging state type and the charging stage is as follows:

[0094] In step S131, when the charging state type is the screen-off charging state and is in the constant-current charging stage, the first existing power of the battery in the current stage and the first charging current in the constant-current charging stage in the screen-off charging state are obtained;

[0095] In step S132, a first maximum power in a constant current charging stage in a screen-off charging state is obtained;

[0096] In step S133, a first charging duration of a constant current charging stage in a screen-off charging state is determined according to the first existing power, the first charging current, and the first maximum power;

[0097] In step S134, the second charging duration of the constant voltage charging stage in the screen-off charging state is determined according to the first maximum power, the maximum power of the battery, and the terminal voltage when the battery is fully charged;

[0098] In step S135 , the sum of the first charging time and the second charging time is determined as the charging time required for the battery.

[0099] The battery charging stage can include the constant current (CC) charging stage and the constant voltage (CV) charging stage. When the battery starts to charge, the constant current charging method can be used. The battery voltage is very low at the beginning of charging. If constant current charging is not used, the charging current will be very large, which will affect the battery life of the electronic device. When the power of the electronic device reaches a given size, the constant voltage charging method can be used. The constant voltage is the terminal voltage when the battery of the electronic device is fully charged to prevent the battery of the electronic device from being overcharged.

[0100] In the method for determining the battery charging time provided in the present disclosure, when the charging state type is the screen-off charging state and is in the constant current charging stage, the first charging time of the constant current charging stage is first determined, and then the second charging time of the constant voltage charging stage is determined, and the sum of the first charging time and the second charging time is determined as the charging time required for the battery.

[0101] When determining the first charging duration of the constant current charging stage in the screen-off charging state, the first charging duration T1 of the constant current charging stage in the screen-off charging state is determined according to the first existing power Q1 of the battery in the current stage, the first maximum power Q2 of the constant current charging stage in the screen-off charging state, and the first charging current I1 of the constant current charging stage in the screen-off charging state, where T1 = (Q2-Q1) / I1. The first existing power Q1 of the battery in the current stage represents the remaining power in the battery of the electronic device in the current stage.

[0102] The first maximum power Q2 represents the power of the battery at the moment when the battery charging process changes from the constant current charging stage to the constant voltage charging stage in the screen-off charging state. In the method for determining the battery charging time provided in the present disclosure, if Figure 3 As shown, Figure 3 Shows Figure 2 In step S132, a method flow chart of obtaining the first maximum power Q2 in the constant current charging stage in the screen-off state:

[0103] In step S1321, a first load impedance R of a battery of the electronic device in a constant current charging stage in a screen-off state is determined. a ;

[0104] In step S1322, according to the first load impedance R a 、The terminal voltage V when the battery is fully charged max and the first charging current I1 in the constant current charging stage in the screen-off state, determine the first maximum power in the constant current charging stage in the screen-off state.

[0105] In the constant voltage stage in the screen-off state, the charging voltage is the terminal voltage V when the battery of the electronic device is fully charged. max , then, the voltage at the moment when the battery charges from the constant current charging stage to the constant voltage charging stage is V max According to the OCV (Open Circuit Voltage) model, the first maximum charge Q2 in the constant current charging stage can be calculated based on the open circuit voltage V at the moment when the battery charging process changes from the constant current charging stage to the constant voltage charging stage. ocv2 Determine. Among them, the open circuit voltage V ocv2 Equal to V max Subtract the first load impedance R in the constant current charging stage aThe voltage occupied by the first charging current I1 in the constant current charging stage, that is, V ocv2 =V max -R a* I1. When the open circuit voltage V ocv2 After the determination, the first maximum power Q2 of the constant current charging stage in the screen-off state can be determined according to the OCV model.

[0106] like Figure 4 As shown, Figure 4 The figure shows a schematic diagram of the OCV curve of the OCV model, where the horizontal axis is the battery capacity Q and the vertical axis is the battery open circuit voltage V ocv Among them, according to the terminal voltage V of the electronic device when the battery is fully charged max , the first load impedance R in the constant current charging stage in the screen-off state a The first charging current I1 in the constant current charging stage in the screen-off state determines the corresponding open circuit voltage V ocv2 Afterwards, according to Figure 4 The OCV curve shown determines the first maximum power Q2 in the constant current charging stage in the screen-off state.

[0107] In the screen-off charging state, after determining the first maximum power Q2 of the constant-current charging stage, the first charging duration T1 of the constant-current charging stage in the screen-off charging state can be determined according to the first existing power Q1 and the first maximum power Q2 of the battery in the current stage, and the first charging current I1, where T1 = (Q2-Q1) / I1.

[0108] After determining the first charging time length T1 of the constant current stage in the screen-off charging state, the second charging time length T2 of the constant voltage stage in the screen-off charging state is determined.

[0109] In the constant voltage charging stage in the screen-off charging state, it is necessary to determine the maximum charge Q2 from the first maximum charge Q2 to the maximum charge Q2 of the battery in the constant current charging stage in the screen-off charging state. max The time required can be calculated based on the first maximum charge Q2 and the maximum charge Q of the battery in the constant current charging stage under the screen-off charging state. max Determine the second charging duration of the constant voltage charging stage in the screen-off charging state.

[0110] According to the OCV model, the open circuit voltage can be determined according to the fitting formula of the open circuit voltage. For example, the open circuit voltage can be determined according to the following fitting formula:

[0111]

[0112] Among them, Q is the battery power, A n A parameter describing the properties of battery materials, open circuit voltage V ocv A high-order polynomial fitting of the battery capacity Q is used, and the fitting degree is ≥ 0.98.

[0113] The load impedance R of the battery is determined according to the fitting formula of the load impedance of the battery. For example, the load impedance of the battery can be determined according to the following fitting formula:

[0114]

[0115] Among them, Q is the capacity of the battery, B n To describe the parameters of the battery material properties, the load impedance is fitted with a high-order polynomial of the battery capacity Q. The fitting degree is ≥ 0.98.

[0116] According to the first maximum power Q2 and the maximum power Q of the battery in the constant current charging stage under the screen-off charging state max and the terminal voltage when the battery is fully charged, the second charging time T2 of the constant voltage charging stage in the screen-off charging state can be determined in the following manner:

[0117]

[0118] Among them, T is the charging time of the battery, A n and B n is a parameter describing the properties of battery materials, Q3 is the amount of electricity obtained at the current stage, and Q max is the maximum capacity of the battery, V max It is the terminal voltage when the battery is fully charged.

[0119] The second charging time T2 of the constant voltage charging stage in the screen-off charging state is determined, and the sum of the first charging time T1 and the second charging time T2 is determined as the charging time required for the battery of the electronic device.

[0120] In the method for determining the battery charging time provided by the present disclosure, when the type of charging state is the screen-off charging state and is in the constant current charging stage, the first charging time of the constant current charging stage and the second charging time of the constant voltage charging stage in the screen-off charging state can be calculated, and the sum of the charging time of the two stages is determined as the charging time of the battery. The method for determining the battery charging time provided by the present disclosure fully considers the characteristics of each stage in the constant current charging stage and the constant voltage charging stage in the battery charging in the screen-off charging state, determines the charging time of each stage respectively, and then finally determines the charging time of the battery, thereby improving the accuracy of the method for determining the battery charging time.

[0121] In the method for determining the battery charging time provided in the present disclosure, when the charging state type is the screen-off charging state and is in the constant voltage charging stage, only the characteristics of the constant voltage charging stage can be considered, and only the charging time of the constant voltage charging stage can be determined as the battery charging time. Figure 5 As shown, Figure 5 Shows Figure 1In step S13, a method flow chart for determining the charging time required for the battery according to the charging state type and the charging stage is as follows:

[0122] In step S136, when the charging state type is the screen-off charging state and is in the constant voltage charging stage, the current second existing power of the battery is obtained;

[0123] In step S137, the charging time required for the battery is determined according to the second existing power, the maximum power of the battery and the terminal voltage when the battery is fully charged.

[0124] In the method for determining the battery charging time provided by the present disclosure, when the type of charging state is the screen-off charging state and is in the constant voltage charging stage, the second existing power Q3 of the current stage in the constant voltage stage of the electronic device in the screen-off charging state can be obtained, and according to the second existing power Q3 of the current stage and the maximum power Q max , determine the charging time of the constant voltage charging stage in the screen-off charging state, and the charging time of the constant voltage charging stage in the screen-off charging state is the charging time required for the battery.

[0125] As described above, according to the OCV model, the open circuit voltage can be determined according to the fitting formula of the open circuit voltage. For example, the open circuit voltage can be determined according to the following fitting formula:

[0126]

[0127] Among them, Q is the battery power, A n A parameter describing the properties of battery materials, open circuit voltage V ocv A high-order polynomial fitting of the battery capacity Q is used, and the fitting degree is ≥ 0.98.

[0128] The load impedance R of the battery is determined according to the fitting formula of the load impedance of the battery. For example, the load impedance of the battery can be determined according to the following fitting formula:

[0129]

[0130] Among them, Q is the capacity of the battery, B n To describe the parameters of the battery material properties, the load impedance is fitted with a high-order polynomial of the battery capacity Q. The fitting degree is ≥ 0.98.

[0131] According to the second existing power Q3 and the maximum power Q max and the terminal voltage when the battery is fully charged, determine the charging time of the constant voltage charging stage in the screen-off charging state, that is, the charging time T of the battery can be determined as follows:

[0132]

[0133] Among them, T is the charging time of the battery, A n and B n is a parameter describing the properties of battery materials, Q3 is the amount of electricity obtained at the current stage, and Q max is the maximum capacity of the battery, V max It is the terminal voltage when the battery is fully charged.

[0134] In the method for determining the battery charging time provided by the present invention, when the charging state type is the screen-off charging state and is in the constant-voltage charging stage, only the characteristics of the constant-voltage charging stage can be considered, and only the charging time of the constant-voltage charging stage can be determined as the charging time of the battery, thereby improving the accuracy of the method for determining the battery charging time.

[0135] In an embodiment of the present disclosure, a method for determining the battery charging time is provided. Figure 6 As shown, Figure 6 Shows Figure 1 In step S13, a method flow chart for determining the charging time required for the battery according to the charging state type and the charging stage is as follows:

[0136] In step S138, when the charging state type is the screen-on charging state and is in the constant current charging stage, the third existing power Q4 of the battery in the current stage and the third charging current I2 in the constant current charging stage in the screen-on charging state are obtained;

[0137] In step S139, the third maximum power Q5 in the constant current charging stage in the screen-on charging state is obtained;

[0138] In step S140, a third charging time T3 is determined according to the third existing power Q4, the third charging current I2 and the third maximum power Q5;

[0139] In step S141, the time t when the maximum temperature is reached under the third charging current is determined. f ;

[0140] In step S142, according to the time t when the maximum temperature is reached f and the third charging time T3, determining the fourth charging time T4 of the constant current charging stage in the screen-on charging state;

[0141] In step S143, according to the third maximum power Q5, the maximum power of the battery Q max and the terminal voltage V when the battery is fully charged max , determine the fifth charging time T5 of the constant voltage charging stage in the screen-on charging state;

[0142] In step S144, the sum of the fourth charging time period T4 and the fifth charging time period T5 is determined as the charging time period required for the battery.

[0143] In the method for determining the battery charging time provided by the present invention, when the charging state type is the screen-on charging state and is in the constant current charging stage, the fourth charging time of the constant current charging stage is first determined, and then the fifth charging time of the constant voltage charging stage is determined, and the sum of the fourth charging time and the fifth charging time is determined as the charging time of the battery.

[0144] According to the third existing power Q4 and the third maximum power Q5, as well as the third charging current I2, the third charging duration T3 is determined, T3 = (Q5-Q4) / I2. Among them, the third existing power Q4 of the battery at the current stage represents the remaining power in the battery of the electronic device at the current stage. The third maximum power Q5 of the constant current charging stage in the screen-on charging state represents the power of the battery at the moment when the battery charging process changes from the constant current charging stage to the constant voltage charging stage in the screen-on charging state.

[0145] To obtain the third maximum power Q5, refer to the above Figure 3 The method for obtaining the first maximum power Q2 in the constant current charging stage under the screen-off charging state is given in FIG. Figure 7 As shown, Figure 7 Shows Figure 6 In step S139, a flow chart of a method for obtaining the third maximum power Q5 in the constant current charging stage in the bright screen charging state:

[0146] In step S1391, the second load impedance R of the battery of the electronic device in the constant current charging stage in the screen-on state is determined. b ;

[0147] In step S1392, according to the second load impedance R in the constant current charging stage in the bright screen state, b 、The terminal voltage V when the battery is fully charged max and the third charging current I2 in the constant current charging stage in the screen-on state, determine the third maximum power Q5 in the constant current charging stage in the screen-on state.

[0148] In the constant voltage stage in the bright screen state, the charging voltage is the terminal voltage V when the battery of the electronic device is fully charged. max , then, the voltage at the moment when the battery charges from the constant current charging stage to the constant voltage charging stage is V max According to the OCV model, the third maximum charge Q5 in the constant current charging stage in the screen-on state can be calculated based on the open circuit voltage V at the moment when the battery changes from the constant current charging stage to the constant voltage charging stage during the charging process. ocv5 Determine. Among them, the open circuit voltage V ocv5 Equal to V max Subtract the second load impedance R in the constant current charging stage of the screen on state b The voltage occupied by the third charging current I2 in the constant current charging stage, that is, V ocv5 =Vmax -R b* I2. When the open circuit voltage V ocv5 After the determination, the third maximum power Q5 in the constant current charging stage can be determined according to the OCV model.

[0149] Determine the time t when the maximum temperature is reached under the third charging current I2 of the constant current charging stage in the bright screen charging state f In the method for determining the battery charging time provided in the present disclosure, if Figure 8 As shown, Figure 8 The time t when the highest temperature is reached under the third charging current I2 of the constant current charging stage in the bright screen charging state is shown. f Flowchart of the method:

[0150] In step S1411, the temperature rise rate F' in the constant current charging stage in the screen-on charging state is determined;

[0151] In step S1412, according to the heating rate F', the time t to reach the highest temperature under the third charging current I2 is determined. f .

[0152] In the screen-on charging state, for example, when the mobile terminal is playing games, watching movies, or talking on the phone, the electronic device is in a power consumption state. When it is in the constant current charging stage, the charging current is large. In this case, it is necessary to consider that the temperature of the electronic device changes due to the power consumption of the electronic device, which affects the charging time of the battery of the electronic device. In the method for determining the battery charging time provided in the present disclosure, the time t to reach the highest temperature under the charging current of the constant current charging stage in the screen-on charging state is determined according to the temperature rise rate of the constant current charging stage in the screen-on charging state. f .

[0153] The temperature rise rate F' during the constant current charging stage in the bright screen charging state can be determined in any manner that can be determined, for example, it can be determined in the following manner. Fig. 9 As shown, Fig. 9 Shows Figure 8 In step S1411, a flow chart of a method for determining a heating rate F' in a constant current charging stage in a bright screen charging state:

[0154] In step S14111, the temperature difference within N unit time is obtained;

[0155] In step S14112, the average value of the temperature difference within N unit times is determined as the temperature rise rate F' in the constant current charging stage in the bright screen charging state.

[0156] The temperature difference between the two endpoint temperatures per unit time is the heating rate per unit time. For example, read the temperature values ​​of the two endpoints for 1 second, calculate the difference between the two temperature values, and obtain the heating rate per 1 second. The temperature difference within N unit times can be obtained, and the average value of the temperature difference within the N unit times is determined as the heating rate F' during the constant current charging stage under the bright screen charging state. The N unit times can be continuous N unit times or discontinuous. For example, N unit times can be obtained at equal intervals. This disclosure is not limited.

[0157] After the heating rate is determined, the time t to reach the highest temperature under the third charging current can be determined according to the determined heating rate F'. f For example, the time t to reach the maximum temperature can be determined as follows: f :

[0158] The maximum temperature F reached by the electronic device at the third charging current max The ratio of the temperature F1 of the electronic device at the current stage to the heating rate F' is used as the time t to reach the highest temperature. f , that is, t f =(F max -F1) / F'.

[0159] According to the time t when the maximum temperature is reached f and the third charging time, determine the fourth charging time in the constant current charging stage in the screen-on charging state. Fig.10 As shown, Fig.10 Shows Figure 6 In the step S143, according to the time when the highest temperature is reached and the third charging time, a method flow chart for determining the fourth charging time in the constant current charging stage in the screen-on charging state is as follows:

[0160] In step S1431, the time t when the maximum temperature is reached f When the charging time is less than the third charging time T3, according to the third existing charge Q4 of the battery at the current stage and the time t when the maximum temperature is reached f , determine the battery charge when it reaches the maximum temperature Q6;

[0161] In step S1432, the adjusted charging current I3 and the third load impedance R3 are obtained;

[0162] In step S1433, according to the adjusted charging current I3 and the third load impedance R3, the maximum amount of electricity Q7 after the current adjustment in the constant current charging stage is determined;

[0163] In step S1434, the sixth charging duration T6 is determined according to the maximum power Q7 after the current adjustment, the power Q6 of the battery when the battery reaches the highest temperature, and the adjusted charging current I3;

[0164] In step S1435, the time t when the maximum temperature is reached is f The sum of the sixth charging time period T6 is determined as the fourth charging time period.

[0165] In the method for determining the battery charging time provided in the present disclosure, if the time t when the battery reaches the maximum temperature is f When it is less than the third charging time T3, it means that in the constant current charging stage under the bright screen charging state, the charging time under the third charging current is t f After that, the battery of the electronic device reaches the maximum temperature of the battery. The battery power Q6 when reaching the maximum temperature is the third existing power Q4 of the battery in the current stage, the point charging current I2 in the constant current charging stage, and the time t when reaching the maximum temperature. f Sum of products:

[0166] Q6=t f *I2+Q4;

[0167] When the battery of the electronic device reaches the maximum temperature of the battery, the temperature control mechanism is triggered. After the temperature control mechanism is triggered, the charging current of the battery is adjusted down to the charging current I3 after the current adjustment. According to the charging current I3 after the current adjustment and the third load impedance R3 under the charging current I3 after the current adjustment, the maximum current Q7 after the current adjustment in the constant current charging stage can be determined, and the open circuit voltage V under the charging current I3 after the current adjustment can be determined. ocv3 Equal to V max -R 3* I3, that is, V ocv3 =V max -R 3* I3. Obtain the open circuit voltage V according to the OCV curve of the OCV model ocv3 The corresponding power, that is, the maximum power Q7 after current adjustment in the constant current charging stage.

[0168] According to the maximum power Q7 after current adjustment in the constant current charging stage in the screen-on charging state, the power Q6 when the highest temperature is reached, and the charging time after current adjustment, the sixth charging time T6 is determined:

[0169] T6=(Q7-Q6) / I3

[0170] The time t at which the maximum temperature is reached f In the scenario where the charging time is less than the third charging time T3, the charging time of the electronic device in the constant current charging stage in the screen-on charging state will reach the time t when the temperature reaches the highest level. fThe sum of the first charging time and the sixth charging time T6 is determined as the fourth charging time T4.

[0171] In the method for determining the battery charging time provided in the present disclosure, the time t when the maximum temperature is reached is f When it is greater than the third charging time T3, it means that in the constant current charging stage in the screen-on charging state, the temperature of the battery of the electronic device will not rise to the maximum temperature of the battery, and the stabilization mechanism will not be triggered. At this time, the charging time of the electronic device in the constant current charging stage in the screen-on charging state is the third charging time T3, that is, the fourth charging time T4 is the third charging time T3.

[0172] After determining the charging time duration of the electronic device in the constant current charging stage in the screen-on charging state, the fifth charging time duration T5 of the constant voltage stage is determined.

[0173] When the electronic device is in the constant voltage charging stage in the screen-on charging state, it is necessary to determine the maximum power from the constant current charging stage to the maximum power Q of the battery. max The time required. When the electronic device is in the constant voltage charging stage with the screen on, the current gradually decreases and the temperature control mechanism will not be triggered, so the effect of temperature on the charging time can be ignored. The maximum power of the constant current charging stage with the screen on and the maximum power of the battery Q max Determine the fifth charging time of the constant voltage charging stage in the bright screen charging state. The time when the maximum temperature is reached t f In the scenario where the third charging time is greater than T3, the maximum power of the electronic device in the constant current charging stage in the screen-on charging state is Q5. When the maximum temperature is reached, the time t f In the scenario where the charging time is less than the third charging time T3, the maximum power of the electronic device in the constant current charging stage in the screen-on charging state is the maximum power Q7 after current adjustment of the electronic device in the constant current charging stage in the screen-on charging state.

[0174] According to the OCV model, the open circuit voltage can be determined according to the fitting formula of the open circuit voltage. For example, the open circuit voltage can be determined according to the following fitting formula:

[0175]

[0176] Among them, Q is the battery power, A n A parameter describing the properties of battery materials, open circuit voltage V ocv A high-order polynomial fitting of the battery capacity Q is used, and the fitting degree is ≥ 0.98.

[0177] The load impedance R of the battery is determined according to the fitting formula of the load impedance of the battery. For example, the load impedance of the battery can be determined according to the following fitting formula:

[0178]

[0179] Among them, Q is the capacity of the battery, B n To describe the parameters of the battery material properties, the load impedance is fitted with a high-order polynomial of the battery capacity Q. The fitting degree is ≥ 0.98.

[0180] The time t at which the maximum temperature is reached f When the maximum power of the electronic device in the constant current charging stage in the bright screen charging state is Q5, the fifth charging time T5 of the electronic device in the constant voltage stage in the bright screen charging state can be determined as follows:

[0181]

[0182] Among them, T5 is the fifth charging time of the constant voltage stage in the bright screen charging state, A n and B n Q5 is the maximum charge of the electronic device during constant current charging when the screen is on. max is the maximum capacity of the battery, V max It is the terminal voltage when the battery is fully charged.

[0183] The time t at which the maximum temperature is reached f When the maximum power of the electronic device in the constant current charging stage in the screen-on charging state is Q7, the fifth charging time T5 of the electronic device in the constant voltage stage in the screen-on charging state can be determined as follows:

[0184]

[0185] Among them, T5 is the fifth charging time of the constant voltage stage in the bright screen charging state, A n and B n is a parameter describing the properties of battery materials. Q7 is the maximum power of the electronic device during constant current charging when the screen is on. Q max is the maximum capacity of the battery, V max It is the terminal voltage when the battery is fully charged.

[0186] The fifth charging time T5 of the electronic device in the constant voltage stage when the screen is on charging state is determined, and the sum of the fourth charging time T4 of the electronic device in the constant current charging stage when the screen is on charging state and the fifth charging time T5 of the electronic device in the constant voltage stage when the screen is on charging state is determined as the charging time of the battery.

[0187] In the method for determining the battery charging time provided by the present invention, when the charging state type is the screen-on charging state and is in the constant current charging stage, the influence of the power consumption of the electronic device on the temperature of the electronic device in the screen-on charging state, and the influence of the temperature of the electronic device on the charging time of the battery of the electronic device are considered. Based on the influence of temperature, a method for determining the battery charging time is provided, thereby improving the accuracy of the method for determining the battery charging time.

[0188] In the method for determining the battery charging time provided in the present disclosure, when the charging state type is the screen-on charging state and is in the constant voltage charging stage, only the characteristics of the constant voltage charging stage can be considered, and only the charging time of the constant voltage charging stage can be determined as the battery charging time. Fig.11 As shown, Fig.11 Shows Figure 1 In step S13, a method flow chart for determining the charging time required for the battery according to the charging state type and the charging stage is as follows:

[0189] In step S146, when the charging state type is the screen-on charging state and is in the constant voltage charging stage, the fourth current existing power Q8 of the battery is obtained;

[0190] In step S147, according to the fourth existing power Q8, the maximum battery power Q max and the terminal voltage when the battery is fully charged to determine the charging time.

[0191] In the method for determining the battery charging time provided by the present disclosure, when the charging state type is the screen-on charging state and is in the constant voltage charging stage, although the electronic device is in a power consumption state in the screen-on state, the current gradually decreases in the constant voltage charging stage, and the temperature control mechanism will not be triggered, so the effect of temperature on the charging time can be ignored. Therefore, when the electronic device is in the screen-on charging state and is in the constant voltage charging stage, the fourth existing power Q8 of the current stage in the constant voltage stage of the electronic device in the screen-on charging state can be obtained, and according to the fourth existing power Q8 of the current stage and the maximum power Q max The charging time of the constant voltage charging stage is determined by the terminal voltage when the battery is fully charged. The charging time of the constant voltage charging stage is the charging time of the battery.

[0192] As described above, according to the OCV model, the open circuit voltage can be determined according to the fitting formula of the open circuit voltage. For example, the open circuit voltage can be determined according to the following fitting formula:

[0193]

[0194] Among them, Q is the battery power, A n A parameter describing the properties of battery materials, open circuit voltage V ocv A high-order polynomial fitting of the battery capacity Q is used, and the fitting degree is ≥ 0.98.

[0195] The load impedance R of the battery is determined according to the fitting formula of the load impedance of the battery. For example, the load impedance of the battery can be determined according to the following fitting formula:

[0196]

[0197] Among them, Q is the capacity of the battery, B n To describe the parameters of the battery material properties, the load impedance is fitted with a high-order polynomial of the battery capacity Q. The fitting degree is ≥ 0.98.

[0198] In the constant voltage charging stage with the screen on, according to the fourth available power Q8 and the maximum power Q max , determine the charging time of the constant voltage charging stage in the bright screen state, that is, the charging time T of the battery can be determined as follows:

[0199]

[0200] Among them, T is the charging time, A n and B n is a parameter describing the properties of battery materials, Q8 is the fourth amount of electricity obtained in the current stage, Q max is the maximum battery capacity, V max It is the terminal voltage when the battery is fully charged.

[0201] In the method for determining the battery charging time provided by the present invention, when the charging state type is the screen-on charging state and is in the constant voltage charging stage, only the characteristics of the constant voltage charging stage can be considered, and only the charging time of the constant voltage charging stage can be determined as the charging time of the battery, thereby improving the accuracy of the method for determining the battery charging time.

[0202] In an exemplary embodiment of the present disclosure, a device for determining a battery charging time is provided. Fig.12 As shown, Fig.12 is a block diagram of a device for determining a battery charging time according to an exemplary embodiment. Figure 7 The determination device includes an acquisition module 1201, a first determination module 1202, and a second determination module 1203.

[0203] The acquisition module 1201 is used to acquire the current charging state type of the battery after monitoring that the battery of the electronic device enters the charging state;

[0204] A first determining module 1202 is used to determine the charging stage of the battery, wherein the charging stage includes a constant current charging stage and a constant voltage charging stage;

[0205] The second determination module 1203 is used to determine the charging time required for the battery according to the charging state type and the charging stage.

[0206] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0207] Fig.13 1 is a block diagram of a device 1300 for determining a battery charging time according to an exemplary embodiment. For example, the device 1300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0208] Reference Fig.13 , the device 1300 may include one or more of the following components: a processing component 1302 , a memory 1304 , a power component 1306 , a multimedia component 1308 , an audio component 1310 , an input / output (I / O) interface 1312 , a sensor component 1314 , and a communication component 1316 .

[0209] The processing component 1302 generally controls the overall operation of the device 1300, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1302 may include one or more processors 1320 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 1302 may include one or more modules to facilitate the interaction between the processing component 1302 and other components. For example, the processing component 1302 may include a multimedia module to facilitate the interaction between the multimedia component 1308 and the processing component 1302.

[0210] The memory 1304 is configured to store various types of data to support operations on the device 1300. Examples of such data include instructions for any application or method operating on the device 1300, contact data, phone book data, messages, pictures, videos, etc. The memory 1304 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0211] The power component 1306 provides power to the various components of the device 1300. The power component 1306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 1300.

[0212] The multimedia component 1308 includes a screen that provides an output interface between the device 1300 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1308 includes a front camera and / or a rear camera. When the device 1300 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0213] The audio component 1310 is configured to output and / or input audio signals. For example, the audio component 1310 includes a microphone (MIC), and when the device 1300 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 1304 or sent via the communication component 1316. In some embodiments, the audio component 1310 also includes a speaker for outputting audio signals.

[0214] I / O interface 1312 provides an interface between processing component 1302 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0215] The sensor assembly 1314 includes one or more sensors for providing various aspects of the status assessment of the device 1300. For example, the sensor assembly 1314 can detect the open / closed state of the device 1300, the relative positioning of components, such as the display and keypad of the device 1300, the sensor assembly 1314 can also detect the position change of the device 1300 or a component of the device 1300, the presence or absence of user contact with the device 1300, the orientation or acceleration / deceleration of the device 1300, and the temperature change of the device 1300. The sensor assembly 1314 can include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1314 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1314 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0216] The communication component 1316 is configured to facilitate wired or wireless communication between the device 1300 and other devices. The device 1300 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1316 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1316 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0217] In an exemplary embodiment, the device 1300 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above-mentioned methods.

[0218] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1304 including instructions, and the instructions can be executed by the processor 1320 of the device 1300 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0219] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform a method for determining a battery charging time, the method comprising:

[0220] When it is detected that the battery of the electronic device enters a charging state, obtaining the current charging state type of the battery;

[0221] Determining the charging stage of the battery, wherein the charging stage includes a constant current charging stage and a constant voltage charging stage;

[0222] The charging time required for the battery is determined according to the charging state type and the charging stage.

[0223] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.

[0224] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A method for determining battery charging time, applied to electronic equipment, characterized in that: The determination method comprises: When it is detected that the battery of the electronic device enters a charging state, obtaining the current charging state type of the battery, wherein the charging state type includes a screen-off charging state or a screen-on charging state; Determining the charging stage of the battery, wherein the charging stage includes a constant current charging stage and a constant voltage charging stage; Determining a charging time required for the battery according to the charging state type and the charging stage; The determining, according to the charging state type and the charging stage, the charging time required for the battery comprises: When the charging state type is the screen-off charging state and is in the constant voltage charging stage, obtaining a second existing power of the battery in the current stage; The charging time required for the battery is determined according to the second existing power, the maximum power of the battery and the terminal voltage of the battery when it is fully charged.

2. The method for determining the battery charging time according to claim 1, characterized in that: The determining, according to the charging state type and the charging stage, the charging time required for the battery comprises: When the charging state type is the screen-off charging state and is in the constant-current charging stage, obtaining a first existing power of the battery in the current stage and a first charging current in the constant-current charging stage in the screen-off charging state; Obtain the first maximum power in the constant current charging stage in the screen-off charging state; Determine a first charging duration of a constant current charging stage in a screen-off charging state according to the first existing power, the first charging current, and the first maximum power; Determine a second charging duration of the constant voltage charging stage in the screen-off charging state according to the first maximum power, the maximum power of the battery, and the terminal voltage of the battery when it is fully charged; The sum of the first charging time and the second charging time is determined as the charging time required for the battery.

3. The method for determining the battery charging time according to claim 2, characterized in that: The obtaining of the first maximum power in the constant current charging stage in the screen-off state includes: Determine a first load impedance of the battery during a constant current charging stage in a screen-off state; A first maximum power in a constant current charging stage in a screen-off state is determined according to the first load impedance, the terminal voltage of the battery when it is fully charged, and the first charging current.

4. The method for determining the battery charging time according to claim 2, characterized in that: The determining, according to the first maximum power, the maximum power of the battery, and the terminal voltage when the battery is fully charged, the second charging duration of the constant voltage charging stage in the screen-off charging state comprises: The second charging time of the constant voltage charging stage in the screen-off charging state is determined according to the following formula: Wherein, T2 is the second charging time, A n and B n is a parameter describing the properties of battery materials, Q2 is the first maximum charge, Q max is the maximum charge of the battery.

5. The method for determining the battery charging time according to claim 1, characterized in that: The determining the charging time according to the second existing power, the maximum power of the battery, and the terminal voltage of the battery when it is fully charged includes: The charging time is determined according to the following formula: Wherein, T is the charging time, A n and B n is a parameter describing the properties of battery materials, Q3 is the second existing charge, Q max is the maximum charge of the battery.

6. The method for determining the battery charging time according to claim 1, characterized in that: The determining, according to the charging state type and the charging stage, the charging time required for the battery comprises: When the charging state type is a screen-on charging state and is in a constant current charging stage, obtaining a third existing power of the battery in the current stage and a third charging current in the constant current charging stage in the screen-on charging state; Get the third maximum power of the constant current charging stage in the screen-on charging state; determining a third charging duration according to the third existing power, the third charging current, and the third maximum power; Determining the time it takes to reach the maximum temperature under the third charging current; Determine a fourth charging duration in the constant current charging stage in the screen-on charging state according to the time when the maximum temperature is reached and the third charging duration; Determine a fifth charging duration of the constant voltage charging stage in the screen-on charging state according to the third maximum power, the maximum power of the battery, and the terminal voltage when the battery is fully charged; The sum of the fourth charging time and the fifth charging time is determined as the charging time required for the battery.

7. The method for determining the battery charging time according to claim 6, characterized in that: Determining the fourth charging duration in the constant current charging stage in the screen-on charging state according to the duration when the maximum temperature is reached and the third charging duration includes: When the time duration when the maximum temperature is reached is less than the third charging time duration, determining the power of the battery when the maximum temperature is reached according to the third existing power and the time duration when the maximum temperature is reached; Obtaining the charging current and the third load impedance after current adjustment; Determining a maximum amount of electricity after the current is adjusted according to the charging current after the current is adjusted and the third load impedance; determining a sixth charging duration according to the maximum power after the current is adjusted, the power when the maximum temperature is reached, and the charging current after the current is adjusted; The sum of the time until the maximum temperature is reached and the sixth charging time is determined as the fourth charging time.

8. The method for determining the battery charging time according to claim 6, characterized in that: Determining the fourth charging duration in the constant current charging stage in the screen-on charging state according to the duration when the maximum temperature is reached and the third charging duration includes: When the time duration for reaching the maximum temperature is greater than the third charging time duration, the third charging time duration is determined as the fourth charging time duration.

9. The method for determining the battery charging time according to claim 6, characterized in that: The time duration for reaching the maximum temperature under the third charging current includes: Determine the temperature rise rate during the constant current charging stage in the screen-on charging state; The time required to reach the highest temperature under the third charging current is determined according to the temperature rising speed.

10. The method for determining the battery charging time according to claim 9, characterized in that: Determine the temperature rise rate during the constant current charging stage in the bright screen charging state including: Get the temperature difference within N unit time; The average value of the temperature difference within the N unit times is determined as the heating rate.

11. The method for determining battery charging time according to claim 1, characterized in that: The determining, according to the charging state type and the charging stage, the charging time required for the battery comprises: When the charging state type is the screen-on charging state and is in the constant voltage charging stage, obtaining the fourth existing power of the battery in the current stage; The charging time required for the battery is determined according to the fourth existing power, the maximum power of the battery and the terminal voltage when the battery is fully charged.

12. A device for determining battery charging time, characterized in that: The determining device comprises: An acquisition module, configured to acquire the current charging state type of the battery after monitoring that the battery of the electronic device enters the charging state, wherein the charging state type includes a screen-off charging state or a screen-on charging state; A first determination module is used to determine the charging stage of the battery, wherein the charging stage includes a constant current charging stage and a constant voltage charging stage; A second determination module, used to determine the charging time required for the battery according to the charging state type and the charging stage; The second determining module is further used for: When the charging state type is the screen-off charging state and is in the constant voltage charging stage, obtaining a second existing power of the battery in the current stage; The charging time required for the battery is determined according to the second existing power, the maximum power of the battery and the terminal voltage of the battery when it is fully charged.

13. A device for determining battery charging time, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: When the battery of the electronic device is detected to be in a charging state, the current charging state type of the battery is obtained, wherein the charging state type includes a screen-off charging state or a screen-on charging state; Determining the charging stage of the battery, wherein the charging stage includes a constant current charging stage and a constant voltage charging stage; Determining a charging time required for the battery according to the charging state type and the charging stage; The determining, according to the charging state type and the charging stage, the charging time required for the battery comprises: When the charging state type is the screen-off charging state and is in the constant voltage charging stage, obtaining a second existing power of the battery in the current stage; The charging time required for the battery is determined according to the second existing power, the maximum power of the battery and the terminal voltage of the battery when it is fully charged.

14. A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform a method for determining a battery charging time, the method comprising: When it is detected that the battery of the electronic device enters a charging state, obtaining the current charging state type of the battery, wherein the charging state type includes a screen-off charging state or a screen-on charging state; Determining the charging stage of the battery, wherein the charging stage includes a constant current charging stage and a constant voltage charging stage; Determining a charging time required for the battery according to the charging state type and the charging stage; The determining, according to the charging state type and the charging stage, the charging time required for the battery comprises: When the charging state type is the screen-off charging state and is in the constant voltage charging stage, obtaining a second existing power of the battery in the current stage; The charging time required for the battery is determined according to the second existing power, the maximum power of the battery and the terminal voltage of the battery when it is fully charged.

Citation Information

Patent Citations

  • Method and device for displaying charge time of electronic equipment and electronic equipment

    CN105322591A