Battery charging control method and related device
By dynamically adjusting the charging cutoff voltage and current, and optimizing the charging mode according to the degree of battery aging, the charging time consistency problem under the influence of battery aging in the prior art is solved, and the charging speed and user experience are improved.
Patent Information
- Application Number
- CN202310604335.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-25
- Publication Date
- 2024-11-26
AI Technical Summary
The prior art fails to effectively consider the aging of batteries, resulting in the fixed charging cutoff voltage set by batteries of different aging levels in the general charging stage, resulting in poor consistency of charging time, and slow charging speed and long charging time for batteries with severe aging levels.
By obtaining the initial charging cutoff voltage and battery internal resistance of the battery, the equivalent cutoff voltage rise value is determined, the target charging cutoff voltage and current is determined based on the initial charging cutoff voltage and equivalent cutoff voltage rise value, and the charging cutoff current is counted in the fast charging mode. Number of occurrences. When the occurrences are greater than or equal to the preset number, switch to normal charging mode until the battery capacity reaches full charge capacity.
Dynamically determine the charging cutoff voltage based on the degree of battery aging, accurately control battery charging, improve charging speed, improve user experience, and shorten charging time without increasing hardware costs.
Smart Images

Figure CN119030062A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic technology, and in particular to a battery charging control method and related devices. Background Art
[0002] With the widespread popularization of electronic devices (such as mobile phones, tablet computers, etc.), electronic devices can support more and more applications and have more and more powerful functions. Electronic devices are developing in a diversified and personalized direction and have become an indispensable electronic product in users' lives.
[0003] Taking mobile phones as an example, the lithium battery of mobile phones will age due to various reasons during daily use. During normal use, lithium ions will detach from the positive electrode and gradually age, and the aging speed is relatively slow. Charging and discharging will accelerate the aging of lithium-ion batteries. Battery temperature that is too high or too low will affect the battery life. Therefore, battery aging is inevitable. After the battery ages, the internal resistance will increase. When the internal resistance increases, the battery voltage float pressure will be relatively large under the same charging current. When the float pressure is large, the final charging cut-off voltage cv will be cut off for a long time, that is, the battery aging is not taken into account. The cv voltage set in the general charging stage of machines with different aging degrees is fixed, thereby limiting the charging speed and reducing the user experience. Summary of the invention
[0004] The embodiments of the present application provide a battery charging control method and related devices, which can dynamically determine the charging cut-off voltage based on the aging degree of the battery, thereby accurately controlling the charging of the battery, helping to increase the battery charging speed and improve the user experience.
[0005] In a first aspect, an embodiment of the present application provides a battery charging control method, which is applied to an electronic device, wherein the electronic device includes a battery, and the method includes:
[0006] Obtaining an initial charging cut-off voltage of the battery;
[0007] determining a battery internal resistance of the battery;
[0008] Determine the equivalent cut-off voltage lift value;
[0009] Determining a target charging cut-off voltage according to the initial charging cut-off voltage and the equivalent cut-off voltage raising value;
[0010] Determining a target charge cut-off current according to the target charge cut-off voltage and the battery internal resistance;
[0011] In the process of charging the battery in a fast charging mode, counting the number of occurrences of the target charging cut-off current;
[0012] When the number of occurrences is greater than or equal to a preset number of times, the normal charging mode is switched to charge the battery until the battery capacity of the battery reaches a specified capacity, and the specified capacity is equal to the full charge capacity of the battery or is close to the full charge capacity.
[0013] In a second aspect, an embodiment of the present application provides a battery charging control device, which is applied to an electronic device, wherein the electronic device includes a battery, and the device includes: an acquisition unit, a determination unit, a statistical unit, and a charging control unit, wherein:
[0014] The acquisition unit is used to acquire the initial charging cut-off voltage of the battery;
[0015] The determination unit is used to determine the battery internal resistance of the battery; determine the equivalent cut-off voltage raise value; determine the target charge cut-off voltage according to the initial charge cut-off voltage and the equivalent cut-off voltage raise value; determine the target charge cut-off current according to the target charge cut-off voltage and the battery internal resistance;
[0016] The statistical unit is used to count the number of occurrences of the target charging cut-off current during the process of charging the battery in a fast charging mode;
[0017] The charging control unit is used to switch to the normal charging mode to charge the battery until the battery capacity of the battery reaches a specified capacity when the number of occurrences is greater than or equal to a preset number of times, and the specified capacity is equal to the full charge capacity of the battery or is close to the full charge capacity.
[0018] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory, wherein the memory is used to store one or more programs and is configured to be executed by the processor, wherein the program includes a method for executing some or all of the steps described by the first party.
[0019] In a fourth aspect, an embodiment of the present application provides a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps described in the first aspect of the embodiment of the present application.
[0020] In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in the first aspect of the embodiment of the present application. The computer program product may be a software installation package.
[0021] The implementation of the embodiments of the present application has the following beneficial effects:
[0022] It can be seen that the battery charging control method and related devices described in the embodiments of the present application are applied to electronic equipment, which includes a battery, obtaining the initial charging cut-off voltage of the battery; determining the battery internal resistance of the battery, and determining the equivalent cut-off voltage raise value; determining the target charging cut-off voltage according to the initial charging cut-off voltage and the equivalent cut-off voltage raise value; determining the target charging cut-off current according to the target charging cut-off voltage and the battery internal resistance; in the process of charging the battery in the fast charging mode, counting the number of occurrences of the target charging cut-off current; when the number of occurrences is greater than or equal to the preset number of times, switching to the normal charging mode to charge the battery until the battery capacity of the battery reaches a specified capacity, and the specified capacity is equal to the full charge capacity of the battery or is close to the full charge capacity, and then, the charging cut-off voltage can be dynamically determined based on the aging degree of the battery, thereby accurately controlling the charging of the battery, which helps to increase the battery charging speed and improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0024] Figure 1 is a structural schematic diagram of an electronic device provided in an embodiment of the present application;
[0025] Figure 2 It is a schematic diagram of the software structure of an electronic device provided in an embodiment of the present application;
[0026] Figure 3A is a schematic diagram of the architecture of a signal processing system provided in an embodiment of the present application;
[0027] Figure 3B It is a flow chart of a traditional cross-correlation detection algorithm provided in an embodiment of the present application;
[0028] Figure 3C is a flow chart of another battery charging control method provided in an embodiment of the present application;
[0029] Figure 4 is a flow chart of another battery charging control method provided in an embodiment of the present application;
[0030] Figure 5 is a schematic diagram of the structure of another electronic device provided in an embodiment of the present application;
[0031] Fig. 6AIt is a block diagram of the functional units of a battery charging control device provided in an embodiment of the present application;
[0032] Figure 6B It is a block diagram of the functional units of another battery charging control device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0033] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0034] In order to better understand the solutions of the embodiments of the present application, the relevant terms and concepts that may be involved in the embodiments of the present application are first introduced below.
[0035] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0036] In a specific implementation, in an embodiment of the present application, the electronic device may include various devices with computing functions, such as handheld devices (smart phones, tablet computers, etc.), smart cars, vehicle-mounted devices (navigators, assisted reversing systems, driving recorders, car refrigerators, etc.), wearable devices (smart bracelets, wireless headphones, smart watches, smart glasses, etc.), computing devices or other processing devices connected to a wireless modem, as well as various forms of user equipment (UE), mobile stations (MS), virtual reality / augmented reality devices, terminal devices, tag devices, etc. The electronic device may also be a base station, a server, or a smart battery.
[0037] Electronic devices may also include smart home devices, which may be at least one of the following: smart speakers, smart cameras, smart rice cookers, smart wheelchairs, smart massage chairs, smart furniture, smart dishwashers, smart televisions, smart refrigerators, smart electric fans, smart heaters, smart clothes drying racks, smart lights, smart routers, smart switches, smart switch panels, smart humidifiers, smart air conditioners, smart doors, smart windows, smart stoves, smart disinfection cabinets, smart toilets, sweeping robots, etc., without limitation.
[0038] In the embodiment of the present application, the charging cut-off voltage can be understood as the voltage when the battery of the electronic device stops charging, and correspondingly, the charging cut-off current can be understood as the current when the battery of the electronic device stops charging.
[0039] In the first part, the software and hardware operating environment of the technical solution disclosed in this application is introduced as follows.
[0040] As shown in the figure, Figure 1 1 shows a schematic diagram of the structure of the electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a compass 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195.
[0041] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0042] The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor AP, a modem processor, a graphics processor GPU, an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processor NPU, etc. Among them, different processing units may be independent components or integrated into one or more processors. In some embodiments, the electronic device 100 may also include one or more processors 110. Among them, the controller may generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions. In some other embodiments, a memory may also be provided in the processor 110 for storing instructions and data. Exemplarily, the memory in the processor 110 may be a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. In this way, repeated access is avoided, the waiting time of the processor 110 is reduced, and the efficiency of the electronic device 100 in processing data or executing instructions is improved. The processor may further include an image processor, which may be an image preprocessor (preprocess image signal processor, Pre-ISP), which may be understood as a simplified ISP, and which may also perform some image processing operations, for example, may obtain image statistical information.
[0043] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a SIM card interface and / or a USB interface, etc. Among them, the USB interface 130 is an interface that complies with the USB standard specification, and can specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and a peripheral device. The USB interface 130 can also be used to connect headphones to play audio through the headphones.
[0044] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0045] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.
[0046] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193 and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0047] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, the baseband processor, and the like.
[0048] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0049] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G / 6G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0050] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and filters it, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0051] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0052] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a mini light-emitting diode (miniLED), MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or more display screens 194.
[0053] The electronic device 100 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor.
[0054] The ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera 193.
[0055] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include one or more cameras 193.
[0056] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0057] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0058] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0059] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0060] The internal memory 121 can be used to store one or more computer programs, which include instructions. The processor 110 can execute the above instructions stored in the internal memory 121, so that the electronic device 100 executes the method of displaying page elements provided in some embodiments of the present application, as well as various applications and data processing. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system; the program storage area can also store one or more applications (such as a gallery, contacts, etc.). The data storage area can store data (such as photos, contacts, etc.) created during the use of the electronic device 100. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage components, flash memory components, universal flash storage (UFS), etc. In some embodiments, the processor 110 can execute the method of displaying page elements provided in the embodiments of the present application, as well as other applications and data processing by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor 110. The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0061] The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
[0062] Among them, the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
[0063] The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., X, Y, and Z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.
[0064] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.
[0065] The ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
[0066] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.
[0067] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of a processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
[0068] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.
[0069] For example, Figure 2 The software structure diagram of the electronic device 100 is shown. The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, respectively, the application layer, the application framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer. The application layer can include a series of application packages.
[0070] like Figure 2 As shown, the application layer may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
[0071] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0072] like Figure 2 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
[0073] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0074] Content providers are used to store and retrieve data and make it accessible to applications. The data can include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0075] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
[0076] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).
[0077] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0078] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.
[0079] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.
[0080] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
[0081] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0082] The system library may include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0083] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
[0084] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0085] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0086] A 2D graphics engine is a drawing engine for 2D drawings.
[0087] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
[0088] In the second part, the battery charging control method and related devices disclosed in the embodiments of the present application are introduced as follows.
[0089] In the related technology, the battery charging process can be divided into high-current fast charging and low-current normal charging. Due to the high float pressure of the high-current fast-charging battery, the fast charging will be entered in advance, while the normal charging current is small, the time from fast charging exit to the actual CV charging cut-off will be very long. When the CV charging is terminated, SOC=100%, where the state of charge (SOC) is uniquely corresponding to the open circuit voltage (OCV). When fully charged, the open circuit voltage (OCV) remains unchanged. Therefore, the battery needs to be charged to a fixed OCV. However, in fact, what is measured by software control or hardware is the battery CV voltage (charging requires a loop). The relationship between OCV and CV is: OCV=CV-I*R. The internal resistance of the battery increases. The same i is used by ADC to obtain a battery CV voltage that is seriously higher than the OCV voltage, which leads to a long time to increase to the rated OCV. The battery process is divided into the CC stage (constant current stage) and the CV stage (constant voltage stage). If the general charging is to be accelerated, according to the previous logic, the CV voltage needs to be increased to accelerate the charging in the CC range as much as possible. However, the current charging scheme does not dynamically set the CV voltage according to the degree of battery aging, which makes the charging time consistency of different aging degrees very poor. Therefore, it is necessary to design a method for dynamically and adaptively setting the CV voltage according to the degree of battery aging to accelerate the charging of aging batteries.
[0090] The battery charging control scheme in the related art has the following defects:
[0091] 1. The battery aging is not taken into account. The CV voltage set for electronic devices with different aging degrees during the general charging stage is fixed;
[0092] 2. The fixed CV voltage results in poor consistency in charging time for batteries with different aging degrees. Batteries with severe aging have slow charging speeds and long charging times.
[0093] In order to overcome the defects in the related art, in the embodiment of the present application, the CV voltage is dynamically and adaptively set according to the degree of battery aging to accelerate the charging of the aged battery. The specific scheme is as follows:
[0094] Obtaining an initial charging cut-off voltage of the battery;
[0095] determining a battery internal resistance of the battery;
[0096] Determine the equivalent cut-off voltage lift value;
[0097] Determining a target charging cut-off voltage according to the initial charging cut-off voltage and the equivalent cut-off voltage raising value;
[0098] Determining a target charge cut-off current according to the target charge cut-off voltage and the battery internal resistance;
[0099] In the process of charging the battery in a fast charging mode, counting the number of occurrences of the target charging cut-off current;
[0100] When the number of occurrences is greater than or equal to a preset number of times, the normal charging mode is switched to charge the battery until the battery capacity of the battery reaches a specified capacity, and the specified capacity is equal to the full charge capacity of the battery or is close to the full charge capacity.
[0101] In this way, the charging cut-off voltage can be dynamically determined based on the degree of battery aging, thereby accurately controlling the charging of the battery, helping to increase the battery charging speed and improve the user experience.
[0102] For example, Figure 3A As shown, Figure 3A It includes unoptimized charging curves and optimized charging curves. Each charging curve is a curve between current and time. The optimized charging curve can quickly achieve full charge and improve charging efficiency.
[0103] See also Figure 3B , Figure 3B The flowchart of a battery charging control method provided by an embodiment of the present application is shown in the figure. As shown in the figure, the method is applied to an electronic device. The electronic device includes a battery. The battery charging control method may include the following steps:
[0104] 301. Obtain an initial charging cut-off voltage of the battery.
[0105] In the embodiment of the present application, the initial charging cut-off voltage can be preset or set by system default. The initial charging cut-off voltage can also be understood as the voltage at which the battery of the electronic device stops charging when the battery is not aged.
[0106] The number of batteries may be one or more. When the number of batteries is one, the charging of one battery may be controlled. When the number of batteries is more than one, the charging of a group of batteries may be controlled.
[0107] In a specific implementation, when the fast charging adapter is just inserted, that is, when the battery charging is initialized, the initial charging cut-off voltage of the battery can be obtained.
[0108] In some possible examples, the above step 301, obtaining the initial charging cut-off voltage of the battery, may include the following steps:
[0109] 11. When the fast charging adapter is detected to be inserted, an insertion interrupt is generated;
[0110] 12. Call a preset charging thread to initialize charging configuration parameters of the integrated power management circuit, where the charging configuration parameters include the initial charging cut-off voltage, and the thread duration corresponding to the preset charging thread is a first duration.
[0111] In the embodiment of the present application, the preset charging thread can be preset or the system defaults, and the preset charging thread can be used to implement the charging initialization operation, specifically to initialize the charging configuration parameters of the integrated power management circuit (power management IC, PMIC), and the thread duration corresponding to the preset charging thread can be the first duration, and the first duration can be preset or the system defaults, for example, the first duration is 5s, that is, the preset charging thread can be a charging 5s thread. The charging configuration parameters of the integrated power management circuit may include the initial charging cut-off voltage, and the charging configuration parameters may also include at least one of the following: charging current, charging voltage, charging power, watchdog related parameters, register parameters, etc., which are not limited here.
[0112] In an embodiment of the present application, when it is detected that an electronic device is plugged into a fast charging adapter, an insertion interrupt, i.e., a plug-in interrupt, may be generated, and a preset charging thread may be called to initialize the charging configuration parameters of the integrated power management circuit. The charging configuration parameters include an initial charging cut-off voltage. In this way, the initial charging cut-off voltage of the battery may be obtained.
[0113] In the specific implementation, when the fast charging adapter is inserted, the voltage bus (voltage bus, vbus) generates a plugin interrupt, and the plugin interrupt will schedule the charging 5s thread, which will initialize the standardized configuration of the charging PMIC, that is, initialize the charging configuration parameters of the integrated power management circuit, and the charging configuration parameters include the initial charging cut-off voltage, that is, the cv cut-off voltage v_std.
[0114] Among them, v_std is established according to the system specification standard of the battery without aging, then, the initial charging current can be set to 500ma, and the configuration input current can be 2A. At this time, the battery aging resistance calculation thread will be started, and the thread will be executed every 1s.
[0115] 302. Determine the battery internal resistance of the battery.
[0116] In the embodiment of the present application, the battery internal resistance of the battery is determined by software, and the battery internal resistance may be an equivalent resistance. The change of the battery internal resistance may indicate the degree of battery aging to a certain extent.
[0117] In some possible examples, the above step 302, determining the battery internal resistance of the battery, may include the following steps:
[0118] 21. Obtain the battery voltage and battery current of the battery at preset time intervals within the preset charging thread, obtaining a pairs of battery voltage and battery current, where 1 < a <= the first duration / the preset time interval;
[0119] 22. Determine the internal resistance of the battery according to the a pairs of battery voltage and battery current.
[0120] In the embodiments of the present application, the preset time interval can be set in advance or be the system default.
[0121] In specific implementation, the battery voltage and battery current of the battery can be obtained at preset time intervals within the preset charging thread, obtaining a pairs of battery voltage and battery current, where 1 < a <= the first duration / the preset time interval, that is, each pair of battery voltage and battery current can be expressed as (battery voltage, battery current), and then the internal resistance of the battery is determined according to the a pairs of battery voltage and battery current. Due to the software timing relationship, the sampled battery voltage and battery current are not at exactly the same moment, so there will be a precision error. By calculating the internal resistance through multiple pairs of sampled battery voltage and battery current, the precision error can be reduced, and further, the calculation precision of the battery internal resistance can be improved, which helps to improve the charging control precision.
[0122] In some possible examples, for the above step 22, determining the internal resistance of the battery according to the a pairs of battery voltage and battery current may include the following steps:
[0123] A221. Determine the resistance value corresponding to each pair of battery voltage and battery current among the a pairs of battery voltage and battery current, obtaining a resistance values;
[0124] A222. Determine the average value of the a resistance values, and determine the internal resistance of the battery according to the average value.
[0125] In the embodiments of the present application, the resistance value corresponding to each pair of battery voltage and battery current among the a pairs of battery voltage and battery current can be determined, that is, the ratio between the battery voltage and the battery current in each pair of battery voltage and battery current is determined, obtaining a resistance values, and then the average value of the a resistance values is determined, and this average value is used as the internal resistance of the battery. Further, by calculating the internal resistance through multiple pairs of sampled battery voltage and battery current, the precision error can be reduced, and further, the calculation precision of the battery internal resistance can be improved, which helps to improve the charging control precision.
[0126] In some possible examples, for the above step A222, determining the internal resistance of the battery according to the average value may include the following steps:
[0127] A1. Determine the target mean square deviation of the a resistance values;
[0128] A2. Determine the target adjustment parameter corresponding to the target mean square deviation;
[0129] A3. Adjust the mean value according to the target adjustment parameter to obtain a target mean value, and determine the target mean value as the battery internal resistance.
[0130] In the embodiment of the present application, the target mean square deviation of a resistance values can be determined, and the mean square deviation reflects the fluctuation of the internal resistance. Furthermore, a mapping relationship between a preset mean square deviation and an adjustment parameter can be pre-set, wherein the value range of the adjustment parameter can be -0.01-0.01. The target adjustment parameter corresponding to the target mean square deviation is determined according to the mapping relationship, and then the mean is adjusted according to the target adjustment parameter to obtain the target mean, specifically: target mean = (1 + target adjustment parameter) * mean, that is, the target mean can be determined as the battery internal resistance. In this way, the internal resistance of the mean can be dynamically adjusted based on the fluctuation of different internal resistances, which helps to improve the calculation accuracy of the battery internal resistance and helps to improve the charging control accuracy.
[0131] In some possible examples, the above step 22, determining the battery internal resistance according to the a battery voltage and battery current pairs, may include the following steps:
[0132] B221. Determine a battery voltage difference and a battery current difference between two different battery voltage and battery current pairs among the a battery voltages and battery currents to obtain b battery voltage difference and battery current difference pairs, where b is a positive integer greater than 1;
[0133] B222, determining the resistance value corresponding to each pair of the b pairs of battery voltage difference and battery current difference, to obtain b resistance values;
[0134] B223. Determine an average of the b resistance values, and determine the internal resistance of the battery according to the average.
[0135] In a specific implementation, the battery voltage difference and the battery current difference between two different battery voltage and battery current pairs among a battery voltage and battery current can be determined, that is, the corresponding battery voltages are subtracted, and the corresponding battery currents are subtracted to obtain b battery voltage difference and battery current difference pairs, where b is a positive integer greater than 1, and then the resistance value corresponding to each battery voltage difference and battery current difference pair among the b battery voltage difference and battery current difference pairs is determined to obtain b resistance values, and then the average of the b resistance values is determined, and the battery internal resistance is determined according to the average value. Furthermore, the internal resistance is calculated by using the battery voltage and battery current pairs collected multiple times, which can reduce the accuracy error, thereby improving the calculation accuracy of the battery internal resistance, and helping to improve the charging control accuracy.
[0136] For example, the calculation process of the battery internal resistance can be done by taking the current battery voltage U1 and battery current I1 once every 1s, then increasing the charging current by 100ma, delaying for 1s, and then taking the current battery voltage U2 and battery current I2. Since the battery OCV changes little before and after 1s, the battery internal resistance can be estimated using the formula, as follows:
[0137] R_count=abs((U2-U1) / (I2-I1))
[0138] Wherein, R_count represents the battery internal resistance calculated at one time.
[0139] Next, the battery internal resistance calculation can be repeated three times, and the average value of the three battery internal resistances can be calculated to obtain the final battery internal resistance R_efficient.
[0140] In some possible examples, the above step B223, determining the battery internal resistance according to the mean value, may include the following steps:
[0141] B1. Obtain target battery temperature;
[0142] B2. Determine a target optimization coefficient corresponding to the target battery temperature;
[0143] B3. Optimizing the mean value according to the target optimization coefficient to obtain the battery internal resistance.
[0144] In the embodiment of the present application, considering the influence of battery temperature, it may also cause certain errors in the calculation of battery internal resistance. Therefore, the target battery temperature can be obtained, and the mapping relationship between the preset battery temperature and the optimization coefficient can be pre-stored. Then, the target optimization coefficient corresponding to the target battery temperature can be determined based on the mapping relationship, and then the mean is optimized according to the target optimization coefficient to obtain the battery internal resistance. In this way, the influence of temperature can be taken into account, and the battery internal resistance results of multiple battery internal resistance calculations can be optimized, so that the final battery internal resistance is more in line with the actual scenario, further improving the calculation accuracy of the battery internal resistance, which helps to improve the charging control accuracy.
[0145] In some possible examples, the electronic device includes a fuel gauge chip, and the above step 302, determining the battery internal resistance of the battery, can be implemented as follows:
[0146] The internal resistance of the battery is determined by the fuel gauge chip.
[0147] In an embodiment of the present application, the fuel meter chip can be used to collect relevant information of the battery, such as voltage, current, temperature and other information, and battery modeling parameters can be set inside the fuel meter chip. The external device can know the various parameters of the battery by accessing the fuel meter chip, and then the battery internal resistance can be directly estimated by using the battery voltage and battery current at the same time to obtain the battery internal resistance.
[0148] In practical applications, the calculation of the internal resistance of the aged battery is obtained through the application processor AP. Due to the AP software timing relationship, the sampled battery voltage and battery current are not completely simultaneous. Therefore, there will be accuracy errors. However, the asynchrony of the battery voltage and battery current timing can be overcome inside the fuel gauge chip. The battery voltage and battery current at a certain moment can be obtained at the same time to realize the battery internal resistance estimation, thereby ensuring the accuracy of the battery internal resistance calculation.
[0149] 303. Determine the equivalent cut-off voltage lift value.
[0150] In the embodiment of the present application, the equivalent cut-off voltage increase value cv_diff is related to the aging degree of the battery. In a specific implementation, the equivalent cut-off voltage increase value may be related to the full charge capacity of the battery. The full charge capacity changes with the aging of the battery, which reflects the aging degree of the battery.
[0151] In some possible examples, the above step 303, determining the equivalent cut-off voltage raising value, may include the following steps:
[0152] 31. Obtaining the full charge capacity and set capacity of the battery;
[0153] 32. Determine the equivalent cut-off voltage increase value according to the full charge capacity and the set capacity.
[0154] In the embodiment of the present application, the full charge capacity (FCC) is a variable. When the battery is not aged, the full charge capacity can be understood as the maximum capacity of the battery. As the battery ages, the FCC will become smaller. The design charge capacity (DCC) can be a fixed value, which can be pre-set or system default. For example, the DCC can be the maximum capacity of the battery when the battery is not aged, that is, the maximum capacity set for a new battery.
[0155] Among them, the relative ratio between the full charge capacity and the set capacity can be determined, and then the relative voltage value corresponding to the relative ratio can be determined according to the mapping relationship between the preset ratio and the voltage value, and the relative voltage value is used as the equivalent cut-off voltage raise value.
[0156] In the specific implementation, since FCC changes with the aging of the battery, it reflects the degree of battery aging, while DCC is fixed. Therefore, the equivalent cut-off voltage increase value that matches the current degree of battery aging can be determined based on FCC and DCC, which helps to accurately determine the charging cut-off voltage corresponding to the current degree of battery aging.
[0157] Further, in some possible examples, the above step 32, determining the equivalent cut-off voltage raising value according to the full charge capacity and the set capacity, may include the following steps:
[0158] 321. When the ratio between the full charge capacity and the set capacity is greater than a first threshold, a preset first voltage value is determined as the equivalent cut-off voltage raising value, and a value range of the first threshold is 0 to 1;
[0159] 322. When the ratio between the full charge capacity and the set capacity is greater than a second threshold and less than or equal to the first threshold, a preset second voltage value is determined as the equivalent cut-off voltage raising value, and the value range of the second threshold is 0 to 1;
[0160] 323. When the ratio between the full charge capacity and the set capacity is less than or equal to the second threshold, determine a preset third voltage value as the equivalent cut-off voltage increase value.
[0161] The first threshold and the second threshold can be preset or set by system default, the value range of the first threshold is 0 to 1, and the value range of the second threshold is 0 to 1. The first threshold is greater than the second threshold.
[0162] The preset first voltage value, the preset second voltage value, and the preset third voltage value can all be preset or set by system default. The preset first voltage value, the preset second voltage value, and the preset third voltage value can be set before the battery leaves the factory, and can be obtained based on battery testing.
[0163] In an embodiment of the present application, when the ratio between the full charge capacity and the set capacity is greater than the first threshold, it means that the battery has not aged or the battery aging is not obvious, and the preset first voltage value can be determined as the equivalent cut-off voltage raise value; when the ratio between the full charge capacity and the set capacity is greater than the second threshold and less than or equal to the first threshold, it means that the battery has aged moderately, and the preset second voltage value can be determined as the equivalent cut-off voltage raise value; when the ratio between the full charge capacity and the set capacity is less than or equal to the second threshold, it means that the battery has aged severely, and the preset third voltage value can be determined as the equivalent cut-off voltage raise value.
[0164] For example, since the equivalent resistance R_efficient is a software estimated value, in order to avoid the software estimation accuracy is insufficient, it is necessary to use software to prevent errors. The full charge capacity FCC of the battery can also reflect the degree of battery aging. Therefore, use the full charge capacity FFC / battery capacity DCC; if FCC / DCC>90%, it indicates that the battery aging is not too serious; if cv_diff>15mv at this time, the maximum limit of cv_diff is 15mv; if FCC / DCC>80%, the maximum limit of cv_diff is 25mv; and fcc / dcc<80%, directly limit cv_diff to 25mv.
[0165] 304. Determine a target charging cut-off voltage according to the initial charging cut-off voltage and the equivalent cut-off voltage raising value.
[0166] In the embodiment of the present application, the initial charging cut-off voltage and the equivalent cut-off voltage raising value may be summed to obtain the target charging cut-off voltage.
[0167] In the specific implementation, the charging cut-off voltage will be added to cv_efficient plus cv_diff, and then the adjusted cv_efficient_adjust voltage will be sent to the register of the integrated power management circuit PMIC for general charging. Then, the charging thread will always monitor the charging current at this time. If the real-time charging current is less than 80% of the charging current set in the register or starts to be less than the cut-off current, the exit_count count will be added by 1. If the count is greater than 3 times, it will be necessary to switch the standard cv_efficent voltage to the PMIC register for general charging. At this time, because a small cv voltage is used, the charging will be quickly cut off and fully charged.
[0168] In a specific implementation, the equivalent cut-off voltage raise value may also be dynamic. For example, the change in the equivalent cut-off voltage raise value may also be related to the battery temperature. As the battery temperature changes, the equivalent cut-off voltage raise value may also change. For example, a mapping relationship between a preset temperature and a change in the equivalent cut-off voltage raise value may be pre-set. Then, the target change corresponding to the current battery temperature may be determined based on the mapping relationship. The equivalent cut-off voltage raise value may be incremented according to the target change to obtain the final equivalent cut-off voltage raise value. In this way, an equivalent cut-off voltage raise value that is strongly correlated with the actual battery properties may be obtained. In step 304, the initial charging cut-off voltage and the final equivalent cut-off voltage raise value may be summed to obtain the target charging cut-off voltage.
[0169] 305. Determine a target charging cutoff current according to the target charging cutoff voltage and the battery internal resistance.
[0170] In the embodiment of the present application, according to Ohm's law, that is, U=RI, the target charging cut-off current can be determined based on the target charging cut-off voltage and the battery internal resistance. Specifically, the target charging cut-off current=target charging cut-off voltage / battery internal resistance.
[0171] 306. During charging of the battery in a fast charging mode, count the number of occurrences of the target charging cut-off current.
[0172] In the embodiment of the present application, when the battery is charged in the fast charging mode, the number of occurrences of the target charging cut-off current can be counted, that is, when the battery is about to be fully charged, the target charging cut-off current will appear.
[0173] 307. When the number of occurrences is greater than or equal to a preset number of times, switch to a normal charging mode to charge the battery until the battery capacity of the battery reaches a specified capacity, and the specified capacity is equal to the full charge capacity of the battery or is close to the full charge capacity.
[0174] In the embodiment of the present application, the preset number of times can be pre-set or system default, and the preset number of times can be a times, where a is a positive integer.
[0175] The preset number of times may also be related to the degree of battery aging. For example, the greater the degree of battery aging, the greater the preset number of times. Conversely, the smaller the degree of battery aging, the smaller the preset number of times.
[0176] Of course, the preset number of times may also be related to the battery temperature, or the preset number of times may be related to the battery temperature and the battery aging degree.
[0177] The specified capacity is equal to the full charge capacity of the battery or close to the full charge capacity, that is, the difference between the specified capacity and the full charge capacity is within a preset range, and the preset range can be preset or system default.
[0178] In actual applications, the specified capacity can also be preset or the system defaults. The specified capacity can be the maximum capacity of the battery when the battery is not aged, that is, the maximum capacity set for a new battery. Of course, the specified capacity can also be slightly smaller than (close to) the maximum capacity set for a new battery, that is, the difference between the specified capacity and the maximum capacity is in a preset range, and the preset range can be preset or the system defaults. As the battery ages, the specified capacity can also be adjusted down to a certain extent. In a specific implementation, the target battery aging degree parameter of the battery can be determined, and the mapping relationship between the preset battery aging degree parameter and the battery capacity value can be pre-stored, and the target battery capacity value corresponding to the target battery aging degree parameter is determined as the specified capacity. In this way, the maximum battery capacity that can be achieved by charging the battery can be dynamically adjusted based on the battery aging degree, which helps to improve the charging efficiency of the battery.
[0179] In a specific implementation, when the number of occurrences is greater than or equal to a preset number of times, the battery is charged normally until the battery capacity reaches a specified capacity. In this way, the battery charging can be accurately controlled, which helps to increase the battery charging speed and improve the user experience.
[0180] In the embodiment of the present application, the CV voltage of each charge can be dynamically and adaptively adjusted, and the influence of aging on charging can be dynamically compensated. Under the premise of considering safety, the charging speed can be greatly improved, thereby further improving the charging speed and improving the user experience.
[0181] For example, in the specific implementation, the charging cut-off voltage will be added to cv_diff on the basis of cv_efficient, and then the target charging cut-off voltage cv_efficient_adjust will be obtained. The cv_efficient_adjust is used in the register of the integrated power management circuit PMIC for general charging. Then, the charging thread will always monitor the charging current at this time. If the real-time charging current is less than 80% of the charging current set in the register or starts to be less than the cut-off current, the number of occurrences of the target charging cut-off current (exit_count) will be counted plus 1. If the count is greater than 3 times, it will be necessary to switch the standard cv_efficent voltage to the PMIC register for general charging. At this time, because a small cv voltage is used, charging with a small current will be quickly cut off and fully charged.
[0182] In the embodiment of the present application, the charging cut-off voltage (cv voltage) is dynamically adjusted based on the real-time calculation of the battery aging degree, and the relevant charging logic is designed.
[0183] In some possible examples, the following steps may also be included:
[0184] S1, detecting whether a software freeze occurs through the watchdog function of the integrated power management circuit;
[0185] S2. When the software freezes, a reset operation is performed and charging is terminated.
[0186] In the embodiment of the present application, a watchdog function of the integrated power management circuit can be set, and the watchdog function is used to detect whether the software freezes. Specifically, the watchdog function is used to detect whether the software freezes based on a specified time interval. If the software freezes, a reset operation is performed and charging is terminated. Otherwise, charging can continue, thereby ensuring the safety of the electronic device. The specified time interval can be preset or the system defaults, for example, the specified time interval is 10s.
[0187] In the embodiment of the present application, because a larger charging cut-off voltage is set during the charging process, in order to avoid safety risks, such as low-probability events such as software crashes, a watchdog can be set. The software periodically sets the dog feeding register of the integrated power management circuit PMIC. If the register is not operated within 10 seconds, the hardware will directly reset and end charging.
[0188] Among them, crash can be understood as the electronic device entering dump, that is, the system crashes, or freezes.
[0189] Among them, the watchdog function can stop charging when the software crashes, that is, the electronic device is reset / restarted, and the charging operation can be continued until the electronic device is normal (no crash occurs), thereby ensuring the safety of the electronic device.
[0190] For example, Figure 3C As shown, in the specific implementation, when the fast charging adapter is inserted, the vbus generates a plugin interrupt, and the plugin interrupt schedules the charging 5s thread. This thread initializes the standardized configuration of the charging PMIC, including the cv cutoff voltage v_std, which is established according to the system specification standard of the battery without aging, and then the initial charging current is set to 500ma and the input current is configured to 2a. At this time, the battery aging resistance calculation thread will be started, and this thread will be executed every 1s.
[0191] Furthermore, in the process of calculating the battery internal resistance, the current battery voltage U1 and battery current I1 are taken once every 1 second, then the charging current is increased by 100 mA, delayed for 1 second, and then the current battery voltage U2 and battery current I2 are taken again. Since the battery OCV changes relatively little before and after 1 second, the battery internal resistance can be estimated using the following formula: R_count = abs((U2-U1) / (I2-I1)). Then, the calculation is repeated 3 times, and then the average value R_efficient of the 3 battery internal resistances is calculated.
[0192] Next, according to the characteristics of battery aging, the battery internal resistance r and the equivalent cut-off voltage rise value cv_diff are obtained in advance through battery modeling. By looking up the table, we can know R_efficient and get the rise value cv_diff. In specific implementation, the battery modeling process can be as follows: test the internal resistance of batteries with different aging degrees in the laboratory in advance (for example, the fast Fourier transform method to obtain the battery impedance spectrum analysis method), and then test how large the cut-off voltage capacity is required to achieve full charge at different internal resistances.
[0193] In practical applications, since the equivalent resistance R_efficient is a software estimated value, in order to avoid insufficient software estimation accuracy, software error prevention is required. The full charge capacity FCC of the battery can also reflect the degree of battery aging. Therefore, use the full charge capacity FFC / battery capacity DCC. If FCC / DCC>90%, it indicates that the battery aging is not too serious. If cv_diff>15mv at this time, the maximum limit of cv_diff is 15mv; if FCC / DCC>80%, the maximum limit of cv_diff is 25mv; and FCC / DCC<80%; directly limit cv_diff to 25mv.
[0194] Furthermore, the charging cut-off voltage will be added to cv_diff based on cv_efficient, and then the adjusted cv_efficient_adjust voltage will be sent to the PMIC register for general charging. Then the charging thread will always monitor the charging current at this time. If the real-time charging current (Ibatt current) is less than 80% of the charging current set in the register (Ibatt current < 80% of the charging current setting) or the real-time charging current (Ibatt current) begins to be less than the cut-off current, the exit_count count will be added by 1. If the count is greater than 3 times, it will be necessary to switch the standard cv_efficent voltage to the PMIC register for general charging. At this time, because a small cv voltage is used, the charging will be quickly terminated and fully charged.
[0195] In addition, because a larger charging cut-off voltage is set during the charging process, in order to avoid safety risks, such as low-probability events such as software crashes, a watchdog will be set. The software periodically sets the PMIC's watchdog feeding register. If the register is not operated within 10 seconds, the hardware will directly reset and end charging.
[0196] Furthermore, the embodiments of the present application can shorten the charging time by dynamically adjusting parameters through software without increasing hardware costs. Specifically, the charging cut-off voltage is dynamically determined based on the aging degree of the battery, thereby accurately controlling the charging of the battery. For example, the charging time of an aged battery (such as an internal resistance of about 200mΩ) while still maintaining the original cycle life of the battery is shortened from 01:07 to 00:47, an increase of 20 minutes, and a 30% charging speed gain is obtained, thereby increasing the battery charging speed and improving the user experience.
[0197] It can be seen that the battery charging control method described in the embodiment of the present application is applied to an electronic device, which includes a battery, obtaining the initial charging cut-off voltage of the battery; determining the battery internal resistance of the battery, and determining the equivalent cut-off voltage raise value; determining the target charging cut-off voltage according to the initial charging cut-off voltage and the equivalent cut-off voltage raise value; determining the target charging cut-off current according to the target charging cut-off voltage and the battery internal resistance; in the process of charging the battery in the fast charging mode, counting the number of occurrences of the target charging cut-off current; when the number of occurrences is greater than or equal to the preset number of times, switching to the normal charging mode to charge the battery until the battery capacity of the battery reaches a specified capacity, and the specified capacity is equal to the full charge capacity of the battery or is close to the full charge capacity, and then, the charging cut-off voltage can be dynamically determined based on the aging degree of the battery, thereby accurately controlling the charging of the battery, which helps to increase the battery charging speed and improve the user experience.
[0198] Consistent with the above, see Figure 4 , Figure 4 1 is a flow chart of another battery charging control method provided by an embodiment of the present application. As shown in the figure, it is applied to an electronic device, wherein the electronic device includes a battery and an integrated power management circuit. The battery charging control method includes:
[0199] 401. Obtain an initial charging cut-off voltage of the battery.
[0200] 402. Determine the battery internal resistance of the battery.
[0201] 403. Determine an equivalent cut-off voltage lift value.
[0202] 404. Determine a target charging cut-off voltage according to the initial charging cut-off voltage and the equivalent cut-off voltage raising value.
[0203] 405. Determine a target charging cutoff current according to the target charging cutoff voltage and the battery internal resistance.
[0204] 406. During charging of the battery in a fast charging mode, count the number of occurrences of the target charging cut-off current.
[0205] 407. When the number of occurrences is greater than or equal to a preset number of times, switch to a normal charging mode to charge the battery until the battery capacity of the battery reaches a specified capacity, and the specified capacity is equal to the full charge capacity of the battery or is close to the full charge capacity.
[0206] 408. Detect whether a software freeze occurs by using the watchdog function of the integrated power management circuit.
[0207] 409. When the software freezes, a reset operation is performed and charging is terminated.
[0208] The specific description of the above steps 401 to 409 can be referred to as follows Figure 3B The relevant steps of the battery charging control method are not repeated here.
[0209] It can be seen that the battery charging control method described in the embodiment of the present application is applied to an electronic device, which includes a battery and an integrated power management circuit, to obtain the initial charging cut-off voltage of the battery; determine the battery internal resistance of the battery, and determine the equivalent cut-off voltage rise value; determine the target charging cut-off voltage according to the initial charging cut-off voltage and the equivalent cut-off voltage rise value; determine the target charging cut-off current according to the target charging cut-off voltage and the battery internal resistance; in the process of charging the battery in the fast charging mode, count the number of occurrences of the target charging cut-off current; when the number of occurrences is greater than or equal to the preset number of times, switch to the normal charging mode to charge the battery until the battery capacity of the battery reaches a specified capacity, and the specified capacity is equal to the full charge capacity of the battery or close to the full charge capacity, and detect whether the software freezes through the watchdog function of the integrated power management circuit. When the software freezes, a reset operation is performed and charging is terminated. Then, the charging cut-off voltage can be dynamically determined based on the aging degree of the battery, thereby accurately controlling the charging of the battery, which helps to improve the battery charging speed, improve the user experience, and ensure the safety of the electronic device.
[0210] In accordance with the above embodiment, please refer to Figure 5 , Figure 5 1 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. As shown in the figure, the electronic device includes a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor. In the embodiment of the present application, the program includes instructions for executing the following steps:
[0211] Obtaining an initial charging cut-off voltage of the battery;
[0212] determining a battery internal resistance of the battery;
[0213] Determine the equivalent cut-off voltage lift value;
[0214] Determining a target charging cut-off voltage according to the initial charging cut-off voltage and the equivalent cut-off voltage raising value;
[0215] Determining a target charge cut-off current according to the target charge cut-off voltage and the battery internal resistance;
[0216] In the process of charging the battery in a fast charging mode, counting the number of occurrences of the target charging cut-off current;
[0217] When the occurrence times are greater than or equal to a preset number of times, switch to the normal charging mode to charge the battery until the battery capacity of the battery reaches a specified capacity, and the specified capacity is equal to or close to the full charge capacity of the battery.
[0218] In some possible examples, the electronic device further includes an integrated power management circuit. In terms of obtaining the initial charging cut-off voltage of the battery, the above program includes instructions for performing the following steps:
[0219] When detecting the insertion of a fast charging adapter, generate an insertion interrupt;
[0220] Call a preset charging thread to initialize the charging configuration parameters of the integrated power management circuit. The charging configuration parameters include the initial charging cut-off voltage, and the thread duration corresponding to the preset charging thread is a first duration.
[0221] Further, in some possible examples, in terms of determining the internal resistance of the battery, the above program includes instructions for performing the following steps:
[0222] Obtain the battery voltage and battery current of the battery at preset time intervals within the preset charging thread, and obtain a pairs of battery voltage and battery current, where 1 < a <= the first duration / the preset time interval;
[0223] Determine the internal resistance of the battery according to the a pairs of battery voltage and battery current.
[0224] In some possible examples, in terms of determining the equivalent cut-off voltage rise value, the above program includes instructions for performing the following steps:
[0225] Obtain the full charge capacity and the set capacity of the battery;
[0226] Determine the equivalent cut-off voltage rise value according to the full charge capacity and the set capacity.
[0227] In some possible examples, in terms of determining the equivalent cut-off voltage rise value according to the full charge capacity and the set capacity, the above program includes instructions for performing the following steps:
[0228] When the ratio between the full charge capacity and the set capacity is greater than a first threshold, determine a preset first voltage value as the equivalent cut-off voltage rise value, and the value range of the first threshold is 0 to 1;
[0229] When the ratio between the full charge capacity and the set capacity is greater than a second threshold and less than or equal to the first threshold, determine a preset second voltage value as the equivalent cut-off voltage rise value, and the value range of the second threshold is 0 to 1;
[0230] When the ratio between the full charge capacity and the set capacity is less than or equal to the second threshold, a preset third voltage value is determined as the equivalent cut-off voltage raising value.
[0231] In some possible examples, the above program also includes instructions for performing the following steps:
[0232] Detecting whether a software freeze occurs by using the watchdog function of the integrated power management circuit;
[0233] When the software freezes, a reset operation is performed and charging is terminated.
[0234] In some possible examples, the electronic device includes a fuel gauge chip, and in determining the battery internal resistance of the battery, the program includes instructions for performing the following steps:
[0235] The internal resistance of the battery is determined by the fuel gauge chip.
[0236] It can be seen that the electronic device described in the embodiment of the present application includes a battery, which obtains the initial charging cut-off voltage of the battery; determines the battery internal resistance of the battery, and determines the equivalent cut-off voltage raise value; determines the target charging cut-off voltage according to the initial charging cut-off voltage and the equivalent cut-off voltage raise value; determines the target charging cut-off current according to the target charging cut-off voltage and the battery internal resistance; in the process of charging the battery in fast charging mode, counts the number of occurrences of the target charging cut-off current; when the number of occurrences is greater than or equal to the preset number of times, switches to normal charging mode to charge the battery until the battery capacity of the battery reaches a specified capacity, and the specified capacity is equal to the full charge capacity of the battery or is close to the full charge capacity, and then, the charging cut-off voltage can be dynamically determined based on the aging degree of the battery, thereby accurately controlling the charging of the battery, which helps to increase the battery charging speed and improve the user experience.
[0237] The above mainly introduces the scheme of the embodiment of the present application from the perspective of the execution process on the method side. It is understandable that, in order to realize the above functions, the electronic device includes a hardware structure and / or software module corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and algorithm steps of each example described in the embodiments provided herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.
[0238] The embodiment of the present application can divide the electronic device into functional units according to the above method example. For example, each functional unit can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0239] See also Fig. 6A , Fig. 6A 6 is a functional unit block diagram of a battery charging control device 600 involved in an embodiment of the present application. The battery charging control device 600 is applied to an electronic device, the electronic device includes a battery, and the device 600 includes: an acquisition unit 601, a determination unit 602, a statistics unit 603 and a charging control unit 604, wherein:
[0240] The acquisition unit 601 is used to acquire the initial charging cut-off voltage of the battery;
[0241] The determining unit 602 is used to determine the battery internal resistance of the battery; determine the equivalent cut-off voltage raising value; determine the target charge cut-off voltage according to the initial charge cut-off voltage and the equivalent cut-off voltage raising value; determine the target charge cut-off current according to the target charge cut-off voltage and the battery internal resistance;
[0242] The statistical unit 603 is used to count the number of occurrences of the target charging cut-off current during the process of charging the battery in the fast charging mode;
[0243] The charging control unit 604 is used to switch to the normal charging mode to charge the battery until the battery capacity of the battery reaches a specified capacity when the number of occurrences is greater than or equal to a preset number of times, and the specified capacity is equal to the full charge capacity of the battery or is close to the full charge capacity.
[0244] In some possible examples, the electronic device further includes an integrated power management circuit, and in acquiring the initial charging cut-off voltage of the battery, the acquiring unit 601 is specifically used to:
[0245] When the fast charging adapter is detected to be inserted, an insertion interrupt is generated;
[0246] A preset charging thread is called to initialize charging configuration parameters of the integrated power management circuit, the charging configuration parameters including the initial charging cut-off voltage, and the thread duration corresponding to the preset charging thread is a first duration.
[0247] Further, in some possible examples, in determining the internal resistance of the battery, the determining unit 602 is specifically configured to:
[0248] Obtain the battery voltage and battery current of the battery at preset time intervals within the preset charging thread, to obtain a pairs of battery voltage and battery current, where 1 < a <= the first duration / the preset time interval;
[0249] Determine the internal resistance of the battery according to the a pairs of battery voltage and battery current.
[0250] In some possible examples, in determining the equivalent cut-off voltage rise value, the determining unit 602 is specifically configured to:
[0251] Obtain the full charge capacity and the set capacity of the battery;
[0252] Determine the equivalent cut-off voltage rise value according to the full charge capacity and the set capacity.
[0253] In some possible examples, in determining the equivalent cut-off voltage rise value according to the full charge capacity and the set capacity, the determining unit 602 is specifically configured to:
[0254] When the ratio between the full charge capacity and the set capacity is greater than a first threshold, determine a preset first voltage value as the equivalent cut-off voltage rise value, where the value range of the first threshold is 0 to 1;
[0255] When the ratio between the full charge capacity and the set capacity is greater than a second threshold and less than or equal to the first threshold, determine a preset second voltage value as the equivalent cut-off voltage rise value, where the value range of the second threshold is 0 to 1;
[0256] When the ratio between the full charge capacity and the set capacity is less than or equal to the second threshold, determine a preset third voltage value as the equivalent cut-off voltage rise value.
[0257] In some possible examples, as Figure 6B shown, the device 600 further includes: a detection unit 605 and a reset unit 606, where
[0258] The detection unit 605 is configured to detect whether a software crash occurs through the watchdog function of the integrated power management circuit;
[0259] The reset unit 606 is configured to perform a reset operation and end the charging when the software crash occurs.
[0260] In some possible examples, the electronic device includes a fuel gauge chip, and in determining the battery internal resistance of the battery, the determining unit 602 is specifically configured to:
[0261] The internal resistance of the battery is determined by the fuel gauge chip.
[0262] It can be seen that the battery charging control device described in the embodiment of the present application is applied to an electronic device, which includes a battery, obtaining the initial charging cut-off voltage of the battery; determining the battery internal resistance of the battery, and determining the equivalent cut-off voltage raise value; determining the target charging cut-off voltage according to the initial charging cut-off voltage and the equivalent cut-off voltage raise value; determining the target charging cut-off current according to the target charging cut-off voltage and the battery internal resistance; in the process of charging the battery in the fast charging mode, counting the number of occurrences of the target charging cut-off current; when the number of occurrences is greater than or equal to the preset number of times, switching to the normal charging mode to charge the battery until the battery capacity of the battery reaches a specified capacity, and the specified capacity is equal to the full charge capacity of the battery or is close to the full charge capacity, and then, the charging cut-off voltage can be dynamically determined based on the aging degree of the battery, thereby accurately controlling the charging of the battery, which helps to increase the battery charging speed and improve the user experience.
[0263] It should be noted that the electronic device described in the embodiments of the present application is presented in the form of a functional unit. The term "unit" used here should be understood as the broadest possible meaning, and the object used to implement the functions described by each "unit" may be, for example, an integrated circuit ASIC, a single circuit, a processor (shared, dedicated or chipset) and memory for executing one or more software or firmware programs, a combinational logic circuit, and / or other suitable components that provide the above functions.
[0264] Among them, the acquisition unit 601, the determination unit 602, the statistical unit 603 and the charging control unit 604 can all be processors, and the processor can be an artificial intelligence chip, NPU, CPU, GPU, PMIC, etc., which are not limited here. Based on the above unit modules, the functions or steps of any of the above methods can be implemented.
[0265] This embodiment also provides a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program for electronic data exchange, wherein the above-mentioned computer program enables a computer to execute the embodiments of the present application to implement any method in the above-mentioned embodiments.
[0266] This embodiment further provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement any method in the above-mentioned embodiments.
[0267] In addition, an embodiment of the present application also provides a battery charging control device, which may specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer-executable instructions, and when the device is running, the processor may execute the computer-executable instructions stored in the memory so that the chip executes any one of the methods in the above-mentioned method embodiments.
[0268] Among them, the electronic device, non-volatile computer storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.
[0269] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0270] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0271] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0272] In addition, each functional unit in each embodiment of the present application 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-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0273] 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 readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application 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, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0274] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A battery charging control method, characterized in that: Applied to an electronic device, the electronic device includes a battery, and the method includes: Obtain an initial charging cut-off voltage of the battery; Determine an internal resistance of the battery; Determine an equivalent cut-off voltage boost value; Determine a target charging cut-off voltage according to the initial charging cut-off voltage and the equivalent cut-off voltage boost value; Determine a target charging cut-off current according to the target charging cut-off voltage and the internal resistance of the battery; During the process of charging the battery in a fast charging mode, count the number of occurrences of the target charging cut-off current; When the number of occurrences is greater than or equal to a preset number, switch to a normal charging mode to charge the battery until the battery capacity of the battery reaches a specified capacity, and the specified capacity is equal to or close to the full charge capacity of the battery.
2. The method according to claim 1, characterized in that The electronic device further includes an integrated power management circuit, and obtaining the initial charging cut-off voltage of the battery includes: When detecting the insertion of a fast charging adapter, generate an insertion interrupt; Call a preset charging thread to initialize charging configuration parameters of the integrated power management circuit, and the charging configuration parameters include the initial charging cut-off voltage, and the thread duration corresponding to the preset charging thread is a first duration.
3. The method according to claim 2, characterized in that Determining the internal resistance of the battery includes: Obtain the battery voltage and battery current of the battery at preset time intervals within the preset charging thread, and obtain a pairs of battery voltage and battery current, where 1 < a <= the first duration / the preset time interval; Determine the internal resistance of the battery according to the a pairs of battery voltage and battery current.
4. The method according to any one of claims 1 to 3, characterized in that: Determining the equivalent cut-off voltage boost value includes: Obtain the full charge capacity and the set capacity of the battery; Determine the equivalent cut-off voltage boost value according to the full charge capacity and the set capacity.
5. The method according to claim 4, characterized in that The determining the equivalent cut-off voltage boost value according to the full charge capacity and the set capacity includes: When the ratio between the full charge capacity and the set capacity is greater than a first threshold, determine a preset first voltage value as the equivalent cut-off voltage boost value, and the value range of the first threshold is 0 to 1; When the ratio between the full charge capacity and the set capacity is greater than a second threshold and less than or equal to the first threshold, determine a preset second voltage value as the equivalent cut-off voltage boost value, and the value range of the second threshold is 0 to 1; When the ratio between the full charge capacity and the set capacity is less than or equal to the second threshold, determine a preset third voltage value as the equivalent cut-off voltage boost value.
6. The method according to claim 2 or 3, characterized in that: The method further includes: Detect whether software crashes through the watchdog function of the integrated power management circuit; When the software crash occurs, perform a reset operation and end the charging.
7. The method according to claim 1, characterized in that The electronic device includes a fuel gauge chip, and determining the internal resistance of the battery includes: Determine the internal resistance of the battery through the fuel gauge chip.
8. A battery charging control device, characterized in that: Applied to an electronic device, the electronic device includes a battery, and the device includes: an acquisition unit, a determination unit, a statistics unit, and a charging control unit, where The acquisition unit is configured to acquire an initial charging cut-off voltage of the battery; The determination unit is used to determine the battery internal resistance of the battery; determine the equivalent cut-off voltage raise value; determine the target charge cut-off voltage according to the initial charge cut-off voltage and the equivalent cut-off voltage raise value; determine the target charge cut-off current according to the target charge cut-off voltage and the battery internal resistance; The statistical unit is used to count the number of occurrences of the target charging cut-off current during the process of charging the battery in a fast charging mode; The charging control unit is used to switch to the normal charging mode to charge the battery until the battery capacity of the battery reaches a specified capacity when the number of occurrences is greater than or equal to a preset number of times, and the specified capacity is equal to the full charge capacity of the battery or is close to the full charge capacity.
9. An electronic device, characterized in that: The electronic device includes a processor and a memory, wherein the memory is used to store one or more programs and is configured to be executed by the processor, wherein the program includes instructions for executing the steps in the method according to any one of claims 1 to 7.
10. A non-volatile computer-readable storage medium, characterized in that: A computer program for electronic data exchange is stored, wherein the computer program enables a computer to execute the method according to any one of claims 1 to 7.
Citation Information
Cited By
Battery charging method, device, equipment, medium and product
CN119650912A
