[0016] In order to make the technical problems, technical solutions, and beneficial effects to be solved by the present invention clearer, the following further describes the present invention in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
[0017] See figure 1 and figure 2 The method for shortening the charging time in the preferred embodiment of the present invention is applied to portable electronic devices containing rechargeable batteries, such as mobile terminals. The method includes the following steps:
[0018] Step S110: Obtain the current value and voltage value of the battery and calculate the parasitic resistance of the battery. Through a device, the battery voltage and charging and discharging current data at any time can be obtained, such as a fuel gauge and a coulomb meter. Specifically, it can be acquired once at an interval of a preset time, and the change of the parasitic resistance of the battery can be accurately monitored. Of course, it can also be real-time monitoring.
[0019] Step S120, starting to charge the battery with the preset charging current and the preset full-charge voltage.
[0020] Specifically, the preset full charge voltage is the sum of the voltage when the battery is fully charged and the product of the preset charging current and the parasitic resistance. When the system enters the charging state, the system sets the charging current in the current state, and sets the charging full charge voltage of the charging IC V=V1 (the full charge voltage of the battery) + I*R (I is the set charge current, and R is the battery parasitic Resistance, that is, I*R is the voltage drop from the charging IC to the battery cell during charging).
[0021] Step S130, detecting the actual charging current, and adjusting the preset full-charge voltage according to the change of the actual charging current relative to the preset charging current until the battery is fully charged.
[0022] Specifically, the system starts charging and periodically detects the actual charging current. If the actual charging current becomes smaller than the preset charging current, it means that the charging IC has entered the constant voltage charging stage. At this time, the charging full charge voltage V of the charging IC needs to be updated. To protect the battery; loop detection until the end of charging.
[0023] Before step S120, it also includes the step of detecting whether there is an adapter (charger) inserted, if so, step S120 is executed; otherwise, the detection is continued.
[0024] In a preferred embodiment, step S110 is specifically: recording the current value and voltage value of the battery at two adjacent moments, and calculating the parasitic resistance of the battery based on the current value and voltage value of the two adjacent moments.
[0025] Suppose the battery voltage at the first moment is V 1 , The current is I 1 , The battery voltage at the second moment is V 2 , The current is I 2 , Then the parasitic resistance R=(V 1 -V 2 )/(I 2 -I 1 ). It should be noted here that the greater the difference between the current values at two adjacent moments, the more accurate the calculated parasitic resistance; in addition, many of the factors that affect the internal resistance of the battery will change with time, temperature, etc., so the parasitic resistance value needs More frequent updates can shorten the charging time. It is recommended that when the system of the electronic device is turned on or wakes up from sleep, the electronic device records the current value and voltage value once before turning on the display backlight, and then records the current value and voltage value again after the electronic device turns on the display backlight. Value to calculate the internal resistance of the battery.
[0026] Step S130 specifically includes detecting whether the battery is fully charged in real time, and if so, ending charging. If not, delay a certain time, detect the current actual charging current, and judge whether the actual charging current is equal to the preset charging current. If they are equal, continue to check whether the battery is fully charged, until the actual charging current is less than the preset charging current, that is, when the fully charged voltage reaches the full battery voltage, the constant current charging phase ends, and the charging current will be adjusted to switch to constant voltage Charging stage.
[0027] Through the optimization of this scheme, the charging time can be reduced by 10% to 15% after testing. The actual test data is as follows: the charging current is 1.8A, the battery capacity is 4700mAh, and the previous charging time was 3 hours and 20 minutes. After this program is changed, the charging time becomes 3 hours and the charging time is shortened by 20 minutes.
[0028] In addition, see figure 2 , A device for shortening the charging time is also provided, including a resistance acquisition unit 110, a charging judgment unit 120, a charging control unit 130, and a detection adjustment unit 140.
[0029] The resistance obtaining unit 110 is used to obtain the current value and voltage value of the battery, and calculate the parasitic resistance of the battery; the charging judgment unit 120 is used to detect whether an adapter is inserted, and if so, the charging control unit 130 uses a preset charging The current and the preset full-charge voltage charge the battery; otherwise, continue testing. The charging control unit 130 is used to start charging the battery with a preset charging current and a preset full-charge voltage; the detection adjustment unit 140 is used to detect the actual charging current, and adjust according to the actual charging current relative to the preset charging current. The preset full-charge voltage until the battery is fully charged.
[0030] The preset full charge voltage is the sum of the voltage when the battery is fully charged and the product of the preset charging current and the parasitic resistance.
[0031] Further, the resistance acquiring unit includes: a recording module for recording the current value and voltage value of the battery at two adjacent moments; a calculation module for calculating the battery current value and voltage value at the two adjacent moments Parasitic resistance.
[0032] The current value and voltage value at the two adjacent moments are: the current value and voltage value before the electronic device turns on the display screen backlight, and the current value and voltage value after the electronic device turns on the display screen backlight.
[0033] Those skilled in the art can clearly understand that for the convenience and conciseness of description, only the division of the above-mentioned functional units is used as an example. In actual applications, the above-mentioned function allocation can be completed by different functional units as required, namely The internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. The functional units in the embodiments can be integrated in one processing unit, or each unit can exist alone physically, or two or more units can be integrated in one unit. The above integrated units can be implemented in the form of hardware. It can also be implemented in the form of software functional units. In addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present application. For the specific working process of the unit in the above device, reference may be made to the corresponding process in the foregoing method embodiment, which will not be repeated here.
[0034] A person of ordinary skill in the art may realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered as going beyond the scope of the present invention.
[0035] In the embodiments provided by the present invention, it should be understood that the disclosed device and method may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be It can be combined or integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
[0036] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
[0037] In addition, the functional units in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be realized in the form of hardware or software functional unit.
[0038] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage The medium includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in the embodiments of the present invention. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program code .
[0039] The above-mentioned embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that it can still implement the foregoing The technical solutions recorded in the examples are modified, or some of the technical features are equivalently replaced; these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.