Charging control method, electronic equipment and storage medium
By acquiring battery identifiers and temperature control data, personalized charging control is achieved, which solves the overheating risk of different batteries during the charging process and improves charging safety and flexibility.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HONOR DEVICE CO LTD
- Filing Date
- 2024-10-23
- Publication Date
- 2026-04-24
AI Technical Summary
Existing charging solutions have low charging safety, especially when charging the same model of battery from different battery manufacturers, there are safety risks such as overheating.
By acquiring the battery identifier, personalized charging control is performed using temperature control data in a preset correspondence to determine an appropriate charging current and temperature range, thereby avoiding the risk of battery overheating. A temperature sensor is used to detect the real-time temperature and adjust the charging current accordingly.
It enables personalized temperature control for different batteries, improving the safety and flexibility of the charging process and avoiding safety risks such as battery overheating.
Smart Images

Figure CN121923314A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic equipment technology, and in particular to a charging control method, electronic equipment, and storage medium. Background Technology
[0002] In electronic devices, batteries serve as the power source for all components of the terminal device, making them an indispensable and important component.
[0003] In order for the battery to have the power to continuously power the various components in the terminal device, it is often necessary to use an external device to charge the battery in time when the battery power is low, so as to replenish the power consumed by the battery in the above process.
[0004] However, existing charging solutions often have low charging safety, so improving battery charging safety has become an urgent technical problem to be solved. Summary of the Invention
[0005] To address the aforementioned technical problems, this application provides a charging control method and an electronic device that can improve the charging safety of electronic devices.
[0006] In a first aspect, this application provides a charging control method applied to an electronic device, the electronic device including a battery, a charging module, and a parameter management module. The charging control method includes: acquiring target control data of the battery; controlling the charging module to charge the battery according to the target control data; wherein, the target control data is preset control data corresponding to the battery identifier determined by the parameter management module in a preset correspondence relationship, the preset correspondence relationship including a one-to-one correspondence between multiple preset battery identifiers and multiple preset control data, each preset control data including the charging parameters of the battery corresponding to the preset battery identifier during the charging process, the charging parameters being the charging current that makes the battery temperature during the charging process less than a safe temperature threshold.
[0007] Using the above method, electronic devices can determine the target temperature control data corresponding to the battery identifier based on the battery identifier, and use the target temperature control data to perform personalized and flexible charging control of the battery, thereby enabling different charging controls for different batteries and improving charging flexibility.
[0008] Furthermore, since the charging parameters are the charging current that keeps the battery temperature below the safe temperature threshold during charging, electronic devices can use preset control information to precisely control the temperature of the battery during charging, avoiding safety risks such as overheating during battery charging, thereby improving the charging safety of electronic devices.
[0009] For example, the target control data could be target temperature control data. Target control data could be data that affects the battery temperature during battery charging.
[0010] For example, the preset battery identifier can be a battery ID. For instance, it could be an identifier for a battery model from a different battery manufacturer.
[0011] For example, the preset correspondence can be implemented as a preset temperature control data table.
[0012] For example, the preset control data can be referred to as preset temperature control data.
[0013] For example, different preset battery identifiers correspond to different preset control data. For instance, the preset control data may differ in one or more temperature control parameters, or in the charging current of one or more temperature control parameters.
[0014] For example, the safe temperature threshold is a critical temperature value that ensures battery safety. If the battery temperature exceeds the safe temperature threshold, the battery is at risk of overheating.
[0015] According to the first aspect, the target control data includes a one-to-one correspondence between multiple preset temperature ranges and multiple control parameters, and each control parameter includes at least one charging parameter.
[0016] In this way, electronic devices can perform different temperature controls on the battery when it is in different temperature ranges, thereby further improving charging safety.
[0017] For example, the control parameters can be called temperature control parameters. For example, temperature control parameter P1, temperature control parameter P2, ..., temperature control parameter Pn.
[0018] According to the first aspect, or any implementation of the first aspect above, each control parameter includes charging current in multiple charging modes, wherein the charging rates of the multiple charging modes are different.
[0019] In this way, electronic devices can perform different temperature controls on the battery in multiple charging modes, further improving charging safety.
[0020] For example, the charging current in multiple charging modes may include one or more of the following: the charging current in wireless charging mode, the charging current in ultra-fast charging mode, the charging current in fast charging mode, and the charging current in normal charging mode.
[0021] For example, the multiple charging modes can be charging modes supported by the electronic device.
[0022] According to the first aspect, or any implementation of the first aspect above, the control charging module charges the battery according to the target control data, including: acquiring battery temperature data; determining a preset temperature range in which the temperature data is located in the target control data; acquiring a first control parameter corresponding to the preset temperature range in which the temperature data is located; and controlling the charging module to charge the battery according to the first control parameter.
[0023] In this way, electronic devices can perform different temperature controls on the battery based on its real-time temperature, thereby further improving charging safety.
[0024] For example, battery temperature data can also be referred to as real-time temperature data.
[0025] According to the first aspect, or any implementation of the first aspect above, each control parameter includes a charging current in multiple charging modes, wherein the charging rates of the multiple charging modes are different, and the control charging module charges the battery according to the first control parameter, including: determining a first charging current in the current charging mode in the first control parameter; and controlling the charging module to charge the battery with the first charging current.
[0026] In this way, electronic devices can perform different temperature controls on the battery in multiple charging modes, further improving charging safety.
[0027] According to the first aspect, or any implementation of the first aspect above, batteries from different battery manufacturers have different battery markings; batteries from the same battery manufacturer of different models have different battery markings.
[0028] In this way, since the charging requirements, required safe charging currents, and temperature changes under the same charging current are different for the same model of batteries supplied by different battery manufacturers, electronic devices can provide different charging controls for the same model of batteries supplied by different battery manufacturers, thereby further improving charging safety.
[0029] Furthermore, different models of batteries from the same manufacturer have different charging requirements, and electronic devices can provide different charging controls for different battery models, thereby improving charging safety.
[0030] According to the first aspect, or any implementation of the first aspect above, the target control data is determined by the parameter management module in response to the power-on event of the electronic device.
[0031] In this way, the electronic device can reconfigure the target temperature control data after the battery is powered on, so that it can be configured with accurate temperature control data in a timely manner after the electronic device is used for the first time or after the battery is replaced. This improves the accuracy of charging control and avoids safety risks such as overheating during battery charging caused by charging current, thereby improving the safety of the terminal device.
[0032] For example, the power-on event of an electronic device can be detected and reported by the power management module.
[0033] Secondly, embodiments of this application provide a charging control method applied to an electronic device. The method includes: acquiring a battery identifier of a battery of the electronic device; determining target control data corresponding to the battery identifier in a preset correspondence; wherein the preset correspondence includes a one-to-one correspondence between multiple preset battery identifiers and multiple preset control data, and each preset control data includes charging parameters of the battery corresponding to the preset battery identifier during the charging process; the target control data is used to control the charging parameters of the battery during the charging process, and the charging parameters are charging currents that make the battery temperature during the charging process less than a safe temperature threshold.
[0034] According to the second aspect, the target control data includes a one-to-one correspondence between multiple preset temperature ranges and multiple control parameters, and each control parameter includes at least one charging parameter.
[0035] According to the second aspect and any implementation thereof, each control parameter includes the charging current in multiple charging modes.
[0036] The charging rates differ across the various charging modes.
[0037] According to the second aspect and any implementation thereof, the battery identifier of the battery of the electronic device is obtained, including:
[0038] In response to the power-on event of an electronic device, obtain the battery identifier.
[0039] The second aspect and any implementation thereof correspond to the first aspect and any implementation thereof, respectively. The technical effects of the second aspect and any implementation thereof are similar to those of the first aspect and any implementation thereof, and will not be repeated here.
[0040] Thirdly, embodiments of this application provide an electronic device, which includes: a temperature control module for acquiring target control data of a battery; and a charging module for controlling a charging module to charge the battery according to the target control data; wherein the target control data is preset control data corresponding to a battery identifier determined by a parameter management module in a preset correspondence relationship, the preset correspondence relationship including a one-to-one correspondence between multiple preset battery identifiers and multiple preset control data, each preset control data including charging parameters of the battery corresponding to the preset battery identifier during the charging process, the charging parameters being a charging current that makes the battery temperature during the charging process less than a safe temperature threshold.
[0041] For example, the electronic device may also include a battery identification node and a battery identification management module. The temperature control module can read the battery identification from the battery identification management module through the battery identification node.
[0042] For example, the electronic device may also include a parameter node, through which the parameter management module can send target control data to the temperature control module.
[0043] The third aspect and any implementation thereof correspond to the first aspect and any implementation thereof, respectively. The technical effects of the third aspect and any implementation thereof are similar to those of the first aspect and any implementation thereof, and will not be repeated here.
[0044] Fourthly, embodiments of this application provide an electronic device, comprising: a battery identification acquisition module for acquiring a battery identification of a battery of the electronic device; and a parameter management module for determining target control data corresponding to the battery identification in a preset correspondence relationship; wherein the preset correspondence relationship includes a one-to-one correspondence between multiple preset battery identifications and multiple preset control data, each preset control data including charging parameters of the battery corresponding to the preset battery identification during the charging process; and the target control data is used to control the charging parameters of the battery during the charging process, wherein the charging parameters are charging currents that ensure the battery temperature is below a safe temperature threshold during the charging process.
[0045] For example, the electronic device may also include a battery identification node. The temperature control module can read the battery identification from the battery identification management module through the battery identification node.
[0046] For example, the electronic device may also include a parameter node, through which the parameter management module can send target control data to the temperature control module.
[0047] The fourth aspect and any implementation thereof correspond to the second aspect and any implementation thereof, respectively. The technical effects of the fourth aspect and any implementation thereof can be found in the technical effects of the second aspect and any implementation thereof mentioned above, and will not be repeated here.
[0048] Fifthly, this application provides an electronic device, comprising: one or more processors; one or more memories; the one or more memories storing one or more programs, which, when executed by one or more processors, cause the electronic device to perform instructions of the method in the first aspect or any possible implementation thereof.
[0049] The fifth aspect and any implementation thereof correspond to the first aspect and any implementation thereof, respectively. The technical effects of the fifth aspect and any implementation thereof are similar to those of the first aspect and any implementation thereof, and will not be repeated here.
[0050] In a sixth aspect, this application provides an electronic device, comprising: one or more processors; one or more memories; the one or more memories storing one or more programs, which, when executed by one or more processors, cause the electronic device to perform instructions of the method in the second aspect or any possible implementation thereof.
[0051] The sixth aspect and any implementation thereof correspond to the second aspect and any implementation thereof, respectively. The technical effects corresponding to the sixth aspect and any implementation thereof are similar to those corresponding to the second aspect and any implementation thereof, and will not be repeated here.
[0052] In a seventh aspect, this application provides a computer-readable medium for storing a computer program including instructions for performing the methods in the first aspect or any possible implementation thereof.
[0053] The seventh aspect and any implementation thereof correspond to the first aspect and any implementation thereof, respectively. The technical effects of the seventh aspect and any implementation thereof are similar to those of the first aspect and any implementation thereof, and will not be repeated here.
[0054] Eighthly, this application provides a computer-readable medium for storing a computer program including instructions for performing the methods in the first aspect or any possible implementation thereof.
[0055] The eighth aspect and any implementation thereof correspond to the second aspect and any implementation thereof, respectively. The technical effects corresponding to the eighth aspect and any implementation thereof are similar to those corresponding to the second aspect and any implementation thereof, and will not be repeated here.
[0056] Ninthly, this application provides a chip including a processing circuit and transceiver pins. The transceiver pins and the processing circuit communicate with each other via an internal connection path. The processing circuit executes the method of the first aspect or any possible implementation of the first aspect to control the receiving pin to receive signals and to control the transmitting pin to transmit signals.
[0057] The ninth aspect and any implementation thereof correspond to the first aspect and any implementation thereof, respectively. The technical effects corresponding to the ninth aspect and any implementation thereof are similar to those corresponding to the first aspect and any implementation thereof, and will not be repeated here.
[0058] In a tenth aspect, this application provides a chip including a processing circuit and transceiver pins. The transceiver pins and the processing circuit communicate with each other via an internal connection path. The processing circuit executes the method in the first aspect or any possible implementation of the first aspect to control the receiving pin to receive signals and to control the transmitting pin to transmit signals.
[0059] The tenth aspect and any implementation thereof correspond to the second aspect and any implementation thereof, respectively. The technical effects corresponding to the tenth aspect and any implementation thereof are similar to those corresponding to the second aspect and any implementation thereof, and will not be repeated here.
[0060] In the eleventh aspect, this application provides a computer program comprising instructions for performing a method in the first aspect or any possible implementation thereof, and / or instructions for performing a method in any possible implementation thereof.
[0061] The eleventh aspect and any implementation thereof correspond to the first aspect and any implementation thereof, or to the second aspect and any implementation thereof. The technical effects corresponding to the eleventh aspect and any implementation thereof can be found in the technical effects corresponding to the first aspect and any implementation thereof, and will not be repeated here.
[0062] In a twelfth aspect, embodiments of this application provide a computer program product that, when run on a communication device, causes the communication device to execute a charging control method as described in the first aspect or any possible implementation thereof, and / or causes the communication device to execute a charging control method as described in the second aspect or any possible implementation thereof.
[0063] It should be understood that the descriptions of technical features, technical solutions, beneficial effects, or similar language in this application do not imply that all features and advantages can be achieved in any single embodiment. Rather, it is understood that the description of a feature or beneficial effect means that a specific technical feature, technical solution, or beneficial effect is included in at least one embodiment. Therefore, the descriptions of technical features, technical solutions, or beneficial effects in this specification do not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions, and beneficial effects described in this embodiment can be combined in any suitable manner. Those skilled in the art will understand that embodiments can be implemented without one or more specific technical features, technical solutions, or beneficial effects of a particular embodiment. In other embodiments, additional technical features and beneficial effects may be identified in specific embodiments that do not embody all embodiments. Attached Figure Description
[0064] Figure 1 An exemplary schematic diagram of a wired charging scenario for a terminal device is shown;
[0065] Figure 2 An exemplary schematic diagram of a wireless charging scenario for a terminal device is shown;
[0066] Figure 3 A schematic diagram of an exemplary charging control scenario is shown;
[0067] Figure 4 A schematic diagram of an exemplary charging control scenario provided by an embodiment of this application is shown;
[0068] Figure 5 A schematic diagram of the electronic device is shown;
[0069] Figure 6 This is a software structure block diagram of an electronic device according to an embodiment of this application;
[0070] Figure 7 This is another software structure block diagram of the electronic device according to an embodiment of this application;
[0071] Figure 8 A schematic diagram of an exemplary battery identifier provided in an embodiment of this application is shown;
[0072] Figure 9 This paper shows a schematic diagram of the structure of a charging management module provided in an embodiment of this application;
[0073] Figure 10 This paper shows a schematic flowchart of a charging control method provided in an embodiment of this application.
[0074] Figure 11 A schematic diagram of an exemplary charging control scenario provided by an embodiment of this application is shown;
[0075] Figure 12 A schematic flowchart of a charging control method provided in an embodiment of this application is shown;
[0076] Figure 13 A flowchart illustrating another charging control method provided in an embodiment of this application is shown;
[0077] Figure 14 This illustration shows an exemplary logic diagram for determining the charging current according to an embodiment of this application;
[0078] Figure 15 A schematic block diagram of an apparatus according to an embodiment of this application is shown. Detailed Implementation
[0079] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0080] In this article, the term "and / or" is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone.
[0081] The terms "first" and "second," etc., used in the specification and claims of this application are used to distinguish different objects, not to describe a specific order of objects. For example, "first target object" and "second target object," etc., are used to distinguish different target objects, not to describe a specific order of target objects.
[0082] In the embodiments of this application, directional terms such as "up," "down," "left," and "right" may include, but are not limited to, the orientation relative to the schematic placement of the components in the accompanying drawings. It should be understood that these directional terms can be relative concepts, used for relative description and clarification, and can change accordingly based on the orientation of the components in the accompanying drawings.
[0083] In the embodiments of this application, unless otherwise explicitly specified and limited, the term "connection" should be interpreted broadly. For example, "connection" can be a fixed connection, a detachable connection, or an integral part; it can be a direct connection or a connection through an intermediate medium. Furthermore, the term "coupled" can refer to an electrical connection method for achieving signal transmission.
[0084] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0085] In the description of the embodiments in this application, unless otherwise stated, "multiple" means two or more. For example, multiple processing units means two or more processing units; multiple systems means two or more systems.
[0086] Furthermore, in the embodiments of this application, the control terminal of each transistor is the gate of the transistor, the first connection terminal is one of the source and drain of the transistor, and the second connection terminal is the other of the source and drain of the transistor. Since the source and drain of the transistor can be symmetrical in structure, their source and drain can be structurally indistinguishable.
[0087] With the rapid development of technology, terminal devices such as mobile phones and tablets have become indispensable items in people's daily lives. Among them, batteries, as the power source for various components of terminal devices, have become an essential and crucial component.
[0088] In order for the battery to have the power to continuously power the various components in the terminal device, it is often necessary to use an external device to charge the battery in time when the battery power is low, so as to replenish the power consumed by the battery in the above process.
[0089] To facilitate understanding, the following will illustrate specific charging scenarios for batteries in terminal devices using several application scenarios, taking a mobile phone as an example for terminal device 100. However, it should be understood that the terminal device in this application embodiment may include, but is not limited to, mobile phones, tablets, laptops, Ultra-Mobile Personal Computers (UMPCs), Personal Digital Assistants (PDAs), Point-of-Sales (POS) machines, walkie-talkies, in-vehicle computers, televisions, smart wearable devices (such as smartwatches or smart bracelets), smart home devices (such as Bluetooth speakers), dashcams, security equipment, and other electronic devices with charging capabilities. This application embodiment does not specifically limit the type of the aforementioned terminal device.
[0090] Battery charging modes can be categorized into normal charging (also known as slow charging, low-power charging, etc.) and fast charging (fast charging modes can include regular fast charging and super-fast charging). For example, in this application, fast charging refers to charging with a power greater than 10W, such as 18W, 22.5W, 40W, 66W, 100W, etc.
[0091] For example, Figure 1 An exemplary schematic diagram of a wired charging scenario for a terminal device is shown. See also... Figure 1 As shown, the terminal device 100 may include a charging interface 110. The charging interface 110 may be a USB interface conforming to the Universal Serial Bus (USB) standard specification, specifically a Mini USB interface, a MicroUSB interface, a USB Type-C interface, etc. In this embodiment, the charging interface 110 is described using USB Type-C as an example.
[0092] When wired charging of terminal device 100 is required, it can be electrically connected to external power source 300 via wired charger 200. Wired charger 200 can be a fast charger (i.e., a charger supporting Fast Charge Protocol (FCP)) or a super-fast charger (i.e., a charger supporting Super Charger Protocol (SCP)). It should be noted that under normal charging conditions, wired charger 200 can also be a regular charger (e.g., with a charging power of 10W).
[0093] Specifically, such as Figure 1As shown, the wired charger 200 may include a data cable 210 and an adapter 220 (if the external power supply 300 integrates a connection interface, such as a USB Type A connector, the wired charger 200 may not include the adapter 220). The data cable 210 has a first connector 211 and a second connector 212. The first connector 211 is used to connect to the charging interface 110 of the terminal device 100, and the second connector 212 is used to connect to the charging interface 221 of the adapter (such as a USB Type A interface) or the connection interface of the external power supply 300. For example, the first connector 211 may be a USB Type C connector, and the second connector 212 may be a USB Type A connector. Alternatively, both the first connector 211 and the second connector 212 may be USB Type C connectors; there is no specific limitation in this regard.
[0094] The external power supply 300 can be an external device capable of providing electrical energy to the terminal device 100 (i.e., charging the terminal device 100). For example, the external power supply 300 can be a power outlet (such as...). Figure 1 The devices included are computers, servers, and mobile phones with reverse charging capabilities, etc., without specific limitations. In some embodiments, the wired charger 200 can be directly connected to an external power source 300, for example, the wired charger 200 can be directly plugged into a power outlet. In other embodiments, the wired charger 200 can be plugged into a power adapter (e.g., a power outlet), and the power adapter is connected to an external power source. This application does not limit the specific connection method.
[0095] It should be noted that the above example illustrates a scenario where a wired charger 200 is used to wire-charge the terminal device 100. In other examples, where the terminal device 100 may also have wireless charging capabilities, an external power source can also wirelessly charge the terminal device. The following will discuss this in conjunction with... Figure 2 Please provide an explanation.
[0096] Another example is, Figure 2 An exemplary schematic diagram of a wireless charging scenario for a terminal device is shown. See also Figure 2 As shown, when wireless charging of the terminal device 100 is required, an electrical connection between the terminal device 100 and the external power source 300 can be established through the wireless charger 400. The wireless charger 400 is similar to the wired charger 200; it can be a fast charger, a super-fast charger, or a regular charger. For details regarding the wired charger 200 described above, please refer to the relevant description of the wired charger 200 in this application; further elaboration will not be repeated here.
[0097] Specifically, such as Figure 2As shown, the wireless charger 400 may include a data cable 410, an adapter 420, and a wireless charging head 430. The data cable 410 and adapter 420 are described in the relevant sections of the embodiments of this application, and will not be repeated here.
[0098] The wireless charging head 430 includes a wireless charging coil and a magnet (not shown in the figure). The wireless charging head 430 can be magnetically attached to the terminal device 100 via the magnet. After the wireless charging head 430 and the terminal device 400 are attached, alternating current (AC) can be transferred between the wireless charging coil of the wireless charging head 430 and the wireless charging coil of the terminal device 100. This allows the terminal device 100 to receive AC power through its own wireless charging coil, convert the received AC power into direct current (DC) to charge its battery.
[0099] It should be noted that the terminal device 100 can also be charged by placing it on a wireless charging base (without a data cable 410), and there are no specific restrictions on this.
[0100] In passing Figures 1-2 Having introduced the charging scenarios for terminal devices, the following section uses wired charging as an example to describe the charging control scenario of this application embodiment. However, it should be understood that this application embodiment is also applicable to wireless charging scenarios, and no specific limitations are imposed thereon.
[0101] In one related scheme, Figure 3 A schematic diagram of an exemplary charging control scenario is shown. (For example...) Figure 3 As shown, when charging terminal devices (such as the first terminal device 100A and the second terminal device 100B), the batteries of each terminal device can be charged with the same charging current (preset charging current Ibat0).
[0102] Specifically, after the first terminal device 100A receives the transmission current Ibus0 through the charging interface 110A, it can convert it into a preset charging current Ibat0 through the charging chip 120A, and then use the preset charging current Ibat0 to charge the battery 130A.
[0103] Furthermore, after the second terminal device 100B receives the transmission current Ibus0 through the charging interface 110B, it can convert it into a preset charging current Ibat0 through the charging chip 120B, and then use the preset charging current Ibat0 to charge the battery 130B.
[0104] In other words, in this relevant scheme, any terminal device can be charged using the same charging current, namely the preset charging current Ibat0.
[0105] The inventors discovered that in the aforementioned related technical solutions, the batteries of different mobile phones are often charged using the same preset charging current Ibat0. For example, if multiple terminal devices are in the same temperature range, the same preset charging current is used to charge the batteries of different mobile phones.
[0106] Furthermore, the inventors discovered through research that for batteries in different mobile phones, especially for batteries in the same model (series), using the same preset charging current may lead to safety risks such as overheating during charging, affecting the charging safety of the terminal device. For example, the applicant also found that due to supply diversification and manufacturing needs, the same model of terminal device may use batteries from different battery suppliers (such as manufacturers). Even if different battery suppliers provide batteries of the same capacity, the required safe charging current may differ due to differences in their manufacturing materials.
[0107] Based on this, this application provides a charging control method that can configure different temperature control data for different batteries based on battery identifiers, thereby realizing personalized configuration of battery temperature control data, avoiding safety risks such as overheating during battery charging, and thus improving the safety of terminal devices.
[0108] In a charging control scenario provided in an embodiment of this application, Figure 4 A schematic diagram of an exemplary charging control scenario provided by an embodiment of this application is shown. Figure 4 and Figure 3 The difference is that after each terminal device detects the real-time temperature data of the terminal device through the temperature sensor, it can determine the real-time charging current through the charging control module provided in the embodiment of this application, and then use the real-time charging current to charge the battery.
[0109] Specifically, the temperature sensor 140A of the first terminal device 100A can acquire real-time temperature data of the first terminal device 100A and then send it to the charging control module 150A. Based on the real-time temperature data of the first terminal device 100A and the identification of the battery 130A, the charging control module 150A determines the real-time charging current Ibata of the first terminal device 100A. The charging control module 150A sends the real-time charging current Ibata of the first terminal device 100A to the charging chip 120A, and the charging chip 120A uses the real-time charging current Ibata to charge the battery 130A.
[0110] Furthermore, after the temperature sensor 140B of the second terminal device 100B obtains the real-time temperature data of the second terminal device 100B, the charging control module 150B determines the real-time charging current Ibatb of the second terminal device 100B based on the real-time temperature data of the second terminal device 100B and the identification of the battery 130B, and the charging chip 120B uses the real-time charging current Ibatb to charge the battery 130B.
[0111] It should be noted that, in the embodiments of this application, if different mobile phones are powered by a 130A battery, the same charging current, i.e., the real-time charging current Ibata, can be used to charge the 130A battery in the aforementioned mobile phones.
[0112] After introducing the charging control scenario of the embodiments of this application, the terminal device of the embodiments of this application will be described next. Figure 5 A schematic diagram of the electronic device 500 is shown. It should be understood that... Figure 5 The electronic device 500 shown is only one example of a terminal device, and the electronic device 500 may have more or fewer components than shown in the figure, may combine two or more components, or may have different component configurations. Figure 5 The various components shown can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.
[0113] Electronic device 500 may include: processor 510, external memory interface 520, internal memory 521, Universal Serial Bus (USB) interface 530, charging management module 540, power management module 541, battery 542, antenna 1, antenna 2, mobile communication module 550, wireless communication module 560, audio module 570, speaker 570A, receiver 570B, microphone 570C, headphone jack 570D, sensor module 580, button 590, motor 591, indicator 592, camera 593, display screen 594, and Subscriber Identification Module (SIM) card interface 595, etc. The sensor module 580 may include pressure sensors, gyroscope sensors, barometric pressure sensors, magnetic sensors, accelerometers, distance sensors, proximity sensors, fingerprint sensors, temperature sensors, touch sensors, ambient light sensors, bone conduction sensors, etc.
[0114] Processor 510 may include one or more processing units, such as an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU). These different processing units may be independent devices or integrated into one or more processors.
[0115] The controller can be the nerve center and command center of the electronic device 500. The controller can generate operation control signals based on the instruction opcode and timing signals to control the fetching and execution of instructions.
[0116] The processor 510 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 510 is a cache memory.
[0117] USB interface 530 is an interface compliant with the USB standard specification, specifically it can be a Mini USB interface, Micro USB interface, USB Type C interface, etc. USB interface 530 can be used to connect a charger to charge electronic device 500, and can also be used for data transfer between electronic device 500 and peripheral devices. It can also be used to connect headphones for audio playback. This interface can also be used to connect other electronic devices, such as AR devices. In this embodiment, USB 530 can be a charging interface 110, such as charging interface 110A or charging interface 110B.
[0118] The charging management module 540 is used to receive charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 540 can receive charging input from the wired charger via a USB interface 530. In some wireless charging embodiments, the charging management module 540 can receive wireless charging input via the wireless charging coil of the electronic device 500. While charging the battery 542, the charging management module 540 can also supply power to the electronic device via the power management module 541. In this embodiment, the charging management module 540 may include a charging control module and a charging chip, etc.
[0119] Battery 542 can power processor 510, internal memory 521, external memory, display 594, camera 593, and wireless communication module 560, etc. In this embodiment, different mobile phones can use different batteries, and different batteries can have different battery identification (ID). For example, batteries of different specifications, or batteries of the same specifications produced by different battery manufacturers, etc.
[0120] The power management module 541 connects the battery 542, the charging management module 540, and the processor 510. The power management module 541 receives input from the battery 542 and / or the charging management module 540, providing power to the processor 510, internal memory 521, external memory, display screen 594, camera 593, and wireless communication module 560, etc. The wireless communication function of the electronic device 500 can be implemented through antenna 1, antenna 2, mobile communication module 550, wireless communication module 560, modem processor, and baseband processor, etc.
[0121] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 500 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.
[0122] The mobile communication module 550 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 500. The mobile communication module 550 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc.
[0123] The wireless communication module 560 can provide solutions for wireless communication applications on electronic devices 500, 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), and Infrared (IR) technologies.
[0124] In some embodiments, antenna 1 of electronic device 500 is coupled to mobile communication module 550, and antenna 2 is coupled to wireless communication module 560, enabling electronic device 500 to communicate with networks and other devices via wireless communication technology.
[0125] Electronic device 500 implements display functions through a GPU, a display screen 594, and an application processor. The GPU is a microprocessor for image processing, connecting the display screen 594 and the application processor. The GPU performs mathematical and geometric calculations and is used for graphics rendering. Processor 510 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0126] The display screen 594 is used to display images, videos, etc. The display screen 594 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. In some embodiments, the electronic device 500 may include one or M displays 594, where M is a positive integer greater than 1. In the embodiments of this application, the display screen 594 can perform... Figures 5-9 The user interface shown is displayed, and the display screen 594 can also play unlocking animations.
[0127] Electronic device 500 can achieve shooting function through ISP, camera 593, video codec, GPU, display 594 and application processor.
[0128] Camera 593 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, electronic device 500 may include one or N cameras 593, where N is a positive integer greater than 1. In this embodiment, camera 593 may include a front-facing camera, which can be used to capture facial images so that the electronic device can unlock the device based on the captured facial images.
[0129] The external storage interface 520 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 500. The external memory card communicates with the processor 510 through the external storage interface 520 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.
[0130] The internal memory 521 can be used to store computer executable program code, which includes instructions. The processor 510 executes various functional applications of the electronic device 500 and the charging control method of this embodiment by running the instructions stored in the internal memory 521. The internal memory 521 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of the electronic device 500 (such as audio data, phonebook, etc.). Furthermore, the internal memory 521 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, Universal Flash Storage (UFS), etc.
[0131] Electronic device 500 can implement audio functions such as music playback and recording through audio module 570, speaker 570A, receiver 570B, microphone 570C, headphone jack 570D, and application processor.
[0132] The audio module 570 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 570 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 570 may be located in the processor 510, or some functional modules of the audio module 570 may be located in the processor 510.
[0133] The sensor module 580 may include pressure sensors, fingerprint sensors, touch sensors, and temperature sensors, etc.
[0134] A pressure sensor is used to sense pressure signals and convert them into electrical signals. In some embodiments, the pressure sensor may be located on the display screen 594. There are many types of pressure sensors, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive material. When force is applied to the pressure sensor, the capacitance between the electrodes changes. The electronic device 500 determines the pressure intensity based on the change in capacitance. When a touch operation is applied to the display screen 594, the electronic device 500 detects the intensity of the touch operation based on the pressure sensor. The electronic device 500 may also calculate the touch position based on the detection signal from the pressure sensor. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities may correspond to different operation commands. For example, when a touch operation with an intensity less than a first pressure threshold is applied to the SMS application icon, a command to view an SMS message is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to the SMS application icon, a command to create a new SMS message is executed.
[0135] A fingerprint sensor is used to collect fingerprints. The electronic device 500 can utilize the collected fingerprint characteristics to achieve fingerprint unlocking, access application locks, fingerprint photography, fingerprint answering of calls, etc. In this embodiment, fingerprint detection can be performed using a fingerprint sensor, and the electronic device 500 can be unlocked by fingerprint upon successful detection.
[0136] A touch sensor, also known as a "touch panel," can be located on the display screen 594. The touch sensor and display screen 594 together form a touchscreen, also called a "touch screen." The touch sensor detects touch operations applied to or near it. The touch sensor can then transmit 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 594. In some embodiments, the touch sensor may also be located on the surface of the electronic device 500, in a different position than the display screen 594.
[0137] A temperature sensor is used to detect temperature. In some embodiments, the electronic device 500 uses the temperature detected by the temperature sensor to execute a temperature handling strategy. For example, when the temperature reported by the temperature sensor exceeds a threshold, the electronic device LLC00 performs thermal protection by reducing the performance of the processor located near the temperature sensor to reduce power consumption. In other embodiments, when the temperature is below another threshold, the electronic device LLC00 heats the battery LLC42 to prevent abnormal shutdown of the electronic device LLC00 due to low temperature. In still other embodiments, when the temperature is below yet another threshold, the electronic device LLC00 boosts the output voltage of the battery LLC42 to prevent abnormal shutdown caused by low temperature.
[0138] Furthermore, in this embodiment of the application, after the electronic device 500 determines the temperature control data of the battery 542 based on the battery identifier of the battery 542, it can determine the real-time charging current corresponding to the temperature data in the temperature control data based on the real-time temperature data reported by the temperature sensor, so as to safely charge the battery 542 using the real-time charging current, thereby realizing over-temperature protection of the battery 542.
[0139] Buttons 590 include a power button, volume buttons, etc. Buttons 590 can be mechanical buttons or touch buttons. The electronic device 500 can receive button inputs and generate key signal inputs related to user settings and function control. In this embodiment, the user can power on the electronic device 500 by pressing and holding the power button.
[0140] Motor 591 can generate vibration alerts. Motor 591 can be used for incoming call vibration alerts or for touch vibration feedback. For example, different vibration feedback effects can correspond to touch operations performed in different applications (such as taking photos, playing audio, etc.). Indicator 592 can be an indicator light, used to indicate charging status, battery level changes, or to indicate messages, missed calls, notifications, etc.
[0141] In passing Figure 5 After introducing the hardware structure of the terminal device, we will now explain the software architecture of the terminal device with reference to the accompanying drawings. It should be understood that the electronic device 500 is just one example of a terminal device.
[0142] The software system of the electronic device 500 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application embodiment uses the layered architecture Android system as an example to illustrate the software structure of the electronic device 500.
[0143] Figure 6 This is a software structure block diagram of an electronic device 500 according to an embodiment of this application. Figure 7 This is another software structure block diagram of the electronic device 500 according to an embodiment of this application.
[0144] The layered architecture of the electronic device 500 divides the software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime, the system layer, and the kernel layer.
[0145] like Figure 6 and Figure 7As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and SMS.
[0146] The application framework layer provides an Application Programming Interface (API) and programming framework for applications in the application layer. The application framework layer includes some predefined functions.
[0147] like Figure 6 and Figure 7 As shown, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
[0148] The window manager is used to manage windowed applications. It can retrieve screen size, determine the presence of a status bar, lock the screen, and capture screenshots, among other things.
[0149] Content providers store and retrieve data, making that data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.
[0150] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.
[0151] The Android Runtime consists of core libraries and a virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.
[0152] The core library consists of two parts: one part is the functionalities that need to be called by the Java language, and the other part is the Android core library.
[0153] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0154] It should be noted that the application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files.
[0155] The system layer can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc.
[0156] The Surface Manager manages the display subsystem and provides fusion of 2D and 3D layers for multiple applications. The Media Library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG. The 3D graphics processing library implements 3D graphics drawing, image rendering, compositing, and layer processing. The 2D graphics engine is the drawing engine for 2D graphics. The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.
[0157] Understandable, Figure 6 and Figure 7 The layers in the illustrated software structure and the components contained in each layer do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer layers than illustrated, and each layer may include more or fewer components; this application does not impose any limitations.
[0158] In some embodiments, such as Figure 6 As shown in this embodiment, the system layer may further include a parameter management module. The kernel layer may further include a battery identifier management module, a battery identifier node, a parameter node, and a temperature control module. In this embodiment, the battery identifier management module can store the battery identifier ID1 of the electronic device 500 and manage the stored identifier. The parameter management module can read the battery identifier ID1 from the battery identifier management module through the battery identifier node, and determine the temperature control data 1 corresponding to the battery identifier ID1 in a preset temperature control data table based on the battery identifier ID1. Furthermore, the parameter management module can write the temperature control data 1 into the temperature control module through the parameter node.
[0159] In other embodiments, such as Figure 7 As shown in the embodiments of this application, the kernel layer can also include a temperature sensor driver. The electronic device can also include a hardware layer. The hardware layer can include a battery, a charging chip, a temperature sensor, etc. It should be noted that the hardware layer can also include battery-powered components such as a display screen and audio circuitry.
[0160] In this embodiment, after the temperature sensor collects real-time temperature data T1 from the electronic device 500, it can report the collected temperature data to the temperature control module. The temperature control module can determine the real-time charging current Ibat1 based on the temperature parameter T1 and then send it to the charging chip. The charging chip can then use the real-time charging current Ibat1 to charge the battery. In some other embodiments, such as... Figure 6 as well as Figure 7 As shown, the kernel layer may also include a power management module. The power management module can listen to the power-on event of the electronic device and then report the power-on event to the parameter management module. It should be noted that the modules, nodes, etc. mentioned above in the embodiments of this application may also be located in other software layers, without specific restrictions, such as the Hardware Abstraction Layer (HAL), without specific restrictions.
[0161] Having introduced the aforementioned electronic device, and considering that the charging control method provided in this application embodiment can be executed by a charging control module, for ease of understanding, the battery identification involved in this application embodiment will be explained before introducing the charging control method.
[0162] A battery identifier is used to uniquely identify a battery among different battery manufacturers. For example, the battery identifier can be a battery ID or battery brand information, or other information that can identify the battery; there are no specific limitations on this.
[0163] In some embodiments, the battery identifier can be a string, which may consist of one or more characters such as English characters, Arabic numerals, and Chinese characters. It should be noted that in this application embodiment, the battery identifier can also be an image, such as a QR code, and there are no specific limitations on this.
[0164] In this embodiment, the battery identifier can be used to indicate battery manufacturer information, specification information, etc. For example, batteries from different manufacturers can have different battery identifiers, and batteries of different specifications can have different battery identifiers. Optionally, batteries of the same specification from the same manufacturer can have the same battery identifier.
[0165] It should be noted that in the embodiments of this application, if the battery manufacturers and / or specifications of the two batteries are different, then the two batteries are different models, or they may be referred to as having different brands, or they may be different types of batteries, or they may be batteries of different generations, or they may be batteries of different brands, etc., without making specific restrictions.
[0166] Figure 8 A schematic diagram of an exemplary battery identifier provided in an embodiment of this application is shown. For example... Figure 8As shown, if battery manufacturer A provides batteries A1, A2, and A3, and battery manufacturer B provides batteries B1 and B2. Specifically, batteries A1 and B1 have the same specification 1 (e.g., the same battery capacity); batteries A2 and B2 have the same specification 2 (e.g., the same battery capacity); and battery A3 has specification 3.
[0167] In some embodiments, batteries of different specifications (e.g., different models) from the same battery manufacturer can have different battery identifiers. For example, battery A1 can have battery identifier ID11, battery A2 can have battery identifier ID12, and battery A3 can have battery identifier ID13. Battery identifiers ID11, ID12, and ID13 can be different. As another example, battery B1 can have battery identifier ID21, and battery B2 can have battery identifier ID22. Battery identifiers ID21 and ID22 can also be different.
[0168] In other embodiments, batteries of the same specifications (e.g., the same capacity) from different battery manufacturers can have different battery identifiers. For example, battery A1 from battery manufacturer A and battery B1 from battery manufacturer B may have the same specifications, but battery identifier ID11 for battery A1 and battery identifier ID21 for battery B1 may be different. Similarly, battery A2 from battery manufacturer A and battery B2 from battery manufacturer B may have the same specifications, but battery identifier ID12 for battery A2 and battery identifier ID22 for battery B2 may be different.
[0169] After introducing the battery identification through the above embodiments, the structure of the charging management module provided in this application embodiment will be described next.
[0170] Figure 9 A schematic diagram of the structure of a charging management module provided in an embodiment of this application is shown. Figure 9 As shown, the charging management module may include a battery identification management module 910, a battery identification node 920, a parameter management module 930, a parameter node 940, and a temperature control module 950.
[0171] The battery identification management module 910 is used to acquire the battery identification of a battery. In some embodiments, after acquiring the battery identification, the battery identification management module 910 can also convert the battery identification into a preset format. Alternatively, the battery identification management module 910 can also acquire battery information (including or not limited to battery manufacturer information, specification information, etc.), and produce a battery identification in a preset format based on the battery information. It should be noted that since different manufacturers may set battery identification according to different battery identification setting rules, in this embodiment, the battery identification management module 910 can convert the battery identification into a unified format to facilitate processing by the parameter management node 930.
[0172] The battery identifier node 920 can be connected to both the battery identifier management module 910 and the parameter management module 930. It is used to send the battery identifier transmitted by the battery identifier management module 910 to the parameter management module 930. For example, the battery identifier node 920 can parse the acquired battery identifier and send the parsed battery identifier to the parameter management module 930.
[0173] The parameter management module 930 can be configured within the native code of an electronic device. For example, it can be located within a binary executable file in the native code, thus being implemented as an executable file.
[0174] Specifically, the parameter management module 930 can read battery identification information from the battery identification management module 910 through the battery identification node 920, and query the target temperature control data (also referred to as target control data in this embodiment, which is described in detail in the following part of this application embodiment, and will not be described in detail here) corresponding to the battery identification information in the preset temperature control data table (this part is described in detail in the following part of this application embodiment, and will not be described in detail here), and then send the target temperature control data to the temperature control module 950 through the parameter node 940.
[0175] In some embodiments, the parameter management module 930 can also manage a preset temperature control data table. For example, the parameter management module 930 updates the preset temperature control data table. For instance, the parameter management module 930 can receive new temperature control data sent by an external device of the electronic device and replace the existing temperature control data in the preset temperature control data table with the new temperature control data. For example, the parameter management module 930 can also delete data in the preset temperature control data table. For example, if a temperature control data entry has been recorded in the preset temperature control data table for a preset duration, or if the battery corresponding to that temperature control data entry has been phased out or discontinued, that temperature control data entry can be deleted from the preset temperature control data table. It should be noted that the parameter management module 930 can also perform other management operations on the preset temperature control data table, without specific limitations.
[0176] Parameter node 940 is used to access the temperature control module 950. In this embodiment, the parameter management module 930 can write to the temperature control module 950 through parameter node 940.
[0177] The temperature control module 950 can be located within the core. For example, the temperature control module 950 can be located within the core's Advanced Digital Signal Processor (ADSP).
[0178] Specifically, the temperature control module 950 can store the target temperature control data written by the parameter management module 930 through the parameter node 940, and manage the charging process of the charging chip based on the target temperature control data. Specifically, the temperature control module 950 can limit the charging parameters of the charging chip during the charging process based on the target temperature control data.
[0179] It should be noted that the above-mentioned components or nodes can be physical devices in electronic devices or virtual modules that implement module functions by running code, and there are no specific restrictions on this.
[0180] After introducing the charging control module described above, the charging control method provided in the embodiments of this application will be described next. The charging control method of the embodiments of this application may include two parts: the first part is the configuration of target temperature control data, and the second part is the control of the charging process, which will be described one by one below. It should be noted that both parts of the charging control method can achieve the beneficial effects of the embodiments of this application when executed independently.
[0181] Figure 10 A schematic flowchart of a charging control method provided in an embodiment of this application is shown. Figure 10 As shown, the charging control method may further include steps S1001 to S1004.
[0182] S1001, the power management module listens to the power-on event of the electronic device and reports the power-on event to the parameter management module.
[0183] In the embodiments of this application, Figure 11 A schematic diagram of an exemplary charging control scenario provided by an embodiment of this application is shown. Figure 11 As shown, the electronic device 100 may include a power button 140. (As illustrated...) Figure 11As shown, the power-on process of an electronic device may include, when the electronic device 100 is in a powered-off state, if the user performs a long press operation on the power button 140, the electronic device's interface displays a boot screen 151. The boot screen 151 may play a boot animation and, after the boot animation finishes playing, display a desktop 152. The desktop 152 may display one or more application icons 1521.
[0184] Furthermore, in the background of the electronic device, when the electronic device 100 is in the off state, if the user performs a long press operation on the power button 140, the power management module can detect the long press operation, generate a power-on event, and report it to the parameter management module.
[0185] In some embodiments, after the power management module detects the power-on event of the electronic device, it can also report it to the battery identification management module, which then obtains the battery ID (i.e., battery identifier) and actively sends it to the parameter management module. This application embodiment does not impose specific limitations on this.
[0186] Through step S1001, the electronic device can reconfigure the target temperature control data after the battery is powered on. This allows for timely configuration of accurate temperature control data after the electronic device is first used or after the battery is replaced, thereby improving the accuracy of charging control and avoiding safety risks such as overheating during battery charging caused by charging current, thus enhancing the safety of the terminal device.
[0187] In other embodiments, the electronic device can also configure the target temperature control data through other triggering conditions. For example, the configuration process of the target temperature control data can be automatically triggered when the electronic device is used for the first time, when the electronic device is repaired, or when the battery of the electronic device is replaced. Alternatively, it can be manually triggered when the user's configuration command is received or when the user is detected to have enabled the temperature control data configuration function in the settings interface of the mobile phone. The specific triggering conditions can be configured according to the actual configuration scenario and specific configuration requirements, and there are no specific restrictions on them.
[0188] S1002, the parameter management module obtains the battery ID (also known as the battery identifier) from the battery identifier management module through the battery identifier node. For example, see [link to example]. Figure 11 In the background of the electronic device, after the power management module generates the power-on event, the parameter management module obtains the battery identifier.
[0189] The specific content of the battery ID can be found in the above-mentioned parts of the embodiments of this application. Figure 8 The relevant descriptions are not specifically limited in this regard.
[0190] In some embodiments, the parameter management module may obtain all information about the battery ID, or it may obtain the ID portion of the battery ID related to the manufacturer and battery specifications, without any specific restrictions.
[0191] In some embodiments of this application, the battery identification management module may also proactively send the battery ID to the parameter management module, such as by reporting periodically or by proactively reporting when the battery ID changes (for example, after the battery of an electronic device is replaced, the battery identification management module can detect that the battery ID has changed).
[0192] S1003, the parameter management module searches for the target temperature control data corresponding to the battery ID in the temperature control data table. For example, see [link to example]. Figure 11 In the background of the electronic device, after the parameter management module obtains the battery identifier, the parameter management module can determine the target temperature control data corresponding to the battery identifier.
[0193] The temperature control data table can record the correspondence between preset battery IDs and temperature control data. For example, the temperature control data table can be implemented as a two-dimensional table. It can also be implemented as a key-value table.
[0194] The preset battery IDs in the temperature control data table can include the battery IDs of batteries that can be configured with temperature control data. For example, the temperature control data table may record the battery IDs of all or some of the batteries selected by the electronic device manufacturer, as well as the temperature control data for each battery.
[0195] For example, Table 1 shows a schematic diagram of the temperature control data table provided in the embodiments of this application. As shown in Table 1, the temperature control data table may include multiple data entries, each data entry including a preset battery ID and its corresponding preset temperature control data (which may also be referred to as preset control data in the embodiments of this application), for example, preset battery ID ID11 corresponds to temperature control data 1201, and preset battery ID ID12 corresponds to preset temperature control data 1202.
[0196] Table 1 Temperature Control Data Table
[0197] Preset battery label Preset temperature control data ID11 Temperature control data 1201 ID12 Temperature control data 1202 … …
[0198] And, exemplarily, Figure 12 This document illustrates a flowchart of a charging control method provided in an embodiment of this application. Figure 12 As shown, if the battery label is as follows Figure 8 As shown, the temperature control data table 1200 may include Figure 8The temperature control data corresponding to each battery identifier is as follows: for example, the temperature control data corresponding to battery identifier ID11 is 1201, the temperature control data corresponding to battery identifier ID12 is 1202, the temperature control data corresponding to battery identifier ID13 is 1203, the temperature control data corresponding to battery identifier ID21 is 1204, and the temperature control data corresponding to battery identifier ID22 is 1205.
[0199] Furthermore, the generation method for temperature control data tables can be either manually configured or generated through data simulation, and there are no restrictions on the generation method.
[0200] After introducing the temperature control data table, the preset temperature control data will be explained next.
[0201] For preset temperature control data, it can record one or more temperature control parameters (also referred to as control parameters in this embodiment) of the corresponding preset battery ID. For example, see below. Figure 12 The temperature control data 1205 can include n temperature control parameters, such as parameters P1 to Pn, where n is a positive integer greater than or equal to 1. For example, n can be greater than or equal to 2, meaning that a single temperature control data set can include multiple temperature control parameters. For instance, to further reduce safety risks such as overheating during charging, each temperature control parameter corresponds to a preset temperature range, thereby enabling different charging controls for the battery within different temperature ranges.
[0202] For example, Table 2 shows a preset temperature data provided in an embodiment of this application. As shown in Table 2, the temperature range of 10℃ to 20℃ corresponds to one temperature control parameter, 20℃ to 30℃ corresponds to another temperature control parameter, and so on. That is to say, when the temperature of the electronic device or battery is within the temperature range of 20℃ to 30℃, such as 26℃, the charging process of the electronic device is controlled according to the temperature control parameter corresponding to 20℃ to 30℃.
[0203] For temperature control parameters, it can record charging parameters for one or more charging modes. Each charging parameter is used to control (or limit) the real-time charging parameters during the charging process of a battery with a preset battery ID within that charging parameter or within the safe charging range corresponding to that charging parameter (for example, the safe charging range may include that charging parameter, or with that charging parameter as the midpoint).
[0204] For example, charging parameters may include charging current. The charging current can be a current that keeps the battery within a safe temperature range; that is, when the battery is charged with this current, the battery temperature can be guaranteed to be safe. For example, it could be a charging current that will not cause the battery to heat up significantly. Or, it could be a charging current that will prevent the battery from cooling down rapidly in low-temperature environments.
[0205] For example, referring to Table 2, each temperature control parameter can include one or more of the following: charging current in wireless charging mode (referred to as wireless charging current), charging current in ultra-fast charging mode (referred to as ultra-fast charging current), charging current in fast charging mode (referred to as fast charging current), and charging current in normal charging mode (or slow charging mode or normal charging mode) (referred to as normal charging current). For example, the wireless charging current in the 10℃~20℃ temperature range is I11, the ultra-fast charging current is I12, the fast charging current is I13, and the normal charging current is I14; the wireless charging current in the 20℃~30℃ temperature range is I21, the ultra-fast charging current is I22, the fast charging current is I23, and the normal charging current is I24. It should be noted that charging parameters can also include other parameters that can affect the battery temperature during charging, without specific restrictions.
[0206] Table 2 Preset Temperature Control Data
[0207]
[0208] After introducing the preset temperature control data, we will now explain how S1003 is implemented.
[0209] In some embodiments, such as Figure 12 As shown, after the parameter management module reads the battery ID (e.g., ID22) sent by the battery identification management module, it can determine a preset battery ID that matches the battery ID in the temperature control data table 1200, and then determine the temperature control data corresponding to the preset battery ID as the target temperature control data. That is, if the preset battery identification ID22 matches the battery ID, then the temperature control data 1205 corresponding to the preset battery identification ID22 can be determined as the target temperature control data.
[0210] S1004, the parameter management module writes the target temperature control data into the temperature control module through the parameter node.
[0211] See also Figure 12 The parameter management module can write n parameters from the target temperature control data 1205 to the temperature control module, so that the temperature control module can control the battery charging process based on the target temperature control data.
[0212] In this embodiment, the parameter management module can determine the target temperature control data corresponding to the battery identifier based on the battery identifier, and use the target temperature control data to perform personalized and flexible charging control on the battery, thereby enabling different charging controls for different batteries and improving charging flexibility.
[0213] Furthermore, when the charging parameters of the target temperature control data are safe charging parameters that allow the battery to remain within the normal temperature range during charging, precise temperature safety control can be performed on the charging process of each battery, avoiding safety risks such as overheating during battery charging, thereby improving the safety of the terminal device.
[0214] After the above Figures 10 to 12 After introducing the configuration process of the target temperature control data, we will now continue with the second part, namely the charging control process.
[0215] Figure 13 A flowchart illustrating another charging control method provided in an embodiment of this application is shown. Figure 13 As shown, the charging control method may further include steps S1301 to S1307.
[0216] S1301, an external power supply transmits a power supply current Ibus to the charging chip through the charging interface. For example, the power supply current Ibus is direct current.
[0217] In this embodiment of the application, when one end of the charger is connected to an external power source and the other end of the charger is connected to a charging interface, the external power source can transmit the transmission current Ibus to the input terminal of the charging chip.
[0218] For charging chips, they can operate through charging circuits with current conversion capabilities. For example, charging circuits can include switched capacitor (SC) converters, direct current-to-direct current (DCDC) converters, etc. It should be noted that, besides charging chips, current conversion can also be achieved directly through charging circuits, charging devices, etc.
[0219] In other embodiments, in a wireless charging scenario, the electronic device can receive electrical energy transmitted from an external power source via a receiving coil and a power receiving (RX) chip, and convert it into a transmission current Ibus. Exemplarily, the transmitting coil L1 generates an alternating electromagnetic field in response to the first alternating current.
[0220] Furthermore, the receiving coil generates alternating current (AC) after inducing an alternating electromagnetic field, and supplies the AC to the RX chip. The RX chip converts the AC into a transmission current (Ibus), and supplies the Ibus to the charging chip.
[0221] S1302, the temperature sensor acquires the real-time temperature data of the battery (which can also be referred to as the battery temperature data in this embodiment).
[0222] In S1302, the temperature sensor can be placed near the battery or on the outer surface of the battery to collect real-time temperature data of the battery.
[0223] Real-time temperature data can be a temperature value that reflects the battery's real-time temperature. For example, real-time temperature data can be the battery's instantaneous real-time temperature, or it can be the battery's average temperature over a period of time.
[0224] In other embodiments, the temperature sensor can also acquire real-time temperature data of the electronic device to perform charging management based on the real-time temperature data of the electronic device.
[0225] S1303, the temperature sensor sends the collected real-time temperature data to the temperature control module.
[0226] In S1303, the temperature sensor can report the collected temperature information to the temperature sensor driver, and then the temperature sensor driver reports it to the temperature control module.
[0227] S1304, the temperature control module determines the charging current Ibat1 corresponding to the real-time temperature data in the target temperature control data.
[0228] For example, Figure 14 This illustration shows an exemplary logic diagram for determining the charging current according to an embodiment of this application. Figure 14 As shown, the target temperature control data includes a one-to-one correspondence between multiple preset temperature ranges and multiple temperature control parameters. For example, the first temperature range T1 corresponds to the temperature control parameter P1, the second temperature range T2 corresponds to the temperature control parameter P2, ..., and the nth temperature range Tn corresponds to the temperature control parameter Pn.
[0229] If the temperature sensor collects real-time temperature data Ta, and Ta is within the second temperature range T2 (i.e., Ta is greater than or equal to the minimum value of the second temperature range and less than the maximum value of the second temperature range), then the temperature control parameter P2 (which can be referred to as the first control parameter in this embodiment) can be determined. The temperature control parameter P2 can include charging parameters for multiple charging modes. For example, the temperature control parameter P2 can include wireless charging current I21, super-fast charging current I22, fast charging current I23, normal charging current I24, and so on.
[0230] If the current charging mode is fast charging mode, the temperature control module can query the fast charging current I23 from multiple charging parameters of the temperature control parameter P2. The fast charging current I23 is the charging current Ibat1 corresponding to the real-time temperature data.
[0231] S1305, the temperature control module informs the charging chip of the parameter information of the charging current Ibat1.
[0232] The S1306 charging chip generates a charging current Ibat1 based on the transmission current Ibus. The charging current Ibat1 is a direct current (DC).
[0233] In S1306, the charging chip can receive the power supply current Ibus and output the charging current Ibat1.
[0234] The S1307 charging chip uses the charging current Ibat1 to charge the battery.
[0235] In S1307, the charging chip can output the charging current Ibat1 to the battery to charge the battery by DC.
[0236] In this embodiment, the temperature control module can use target temperature control data to perform personalized and flexible charging control of the battery, thereby enabling different charging controls for different batteries and improving charging flexibility.
[0237] Furthermore, when the charging parameters of the target temperature control data are safe charging parameters that allow the battery to remain within the normal temperature range during charging, the temperature control module can perform precise temperature safety control on the charging process of each battery, avoiding safety risks such as overheating during battery charging, thereby improving the safety of the terminal device.
[0238] In some embodiments, the temperature sensor can report real-time temperature data to the processor of the charging chip. The temperature control module can also send target temperature control data to the processor of the charging chip. The processor of the charging chip determines the charging current Ibat1 corresponding to the real-time temperature data from the target temperature control data. The specific implementation is similar to that described above and will not be repeated here.
[0239] In some embodiments, the preset temperature control data may also include other information such as the operating speed of the cooling fan. For example, the operating speed of the cooling fan varies in different preset temperature control data sets. Each preset temperature control data set may include fan operating parameters for different temperature ranges. The fan operating speed for each temperature range includes fan operating speed values under different charging modes.
[0240] In this way, the cooling fan can provide different cooling rates for different batteries in different temperature ranges and under different charging modes, further improving charging safety.
[0241] In some embodiments, the preset temperature control data may also include a temperature rise rate threshold. This allows the charging of the battery to be stopped if the battery temperature rise rate exceeds the threshold.
[0242] In some embodiments, batteries of the same model with different battery lifespans can correspond to different battery IDs, thereby allowing them to be charged with different safe currents at different battery lifespans, further improving charging safety.
[0243] For example, batteries with shorter lifespans can be charged with a larger charging current, while batteries with longer lifespans can be charged with a smaller charging current.
[0244] For example, the current values of each charging current in the preset temperature control data corresponding to the battery life exceeding a preset lifespan can be set to 0. Optionally, the electronic device can also notify the user to replace the battery. In this way, charging can be prohibited when the battery exceeds the preset lifespan, improving charging safety.
[0245] For example, the current values of each charging current in the preset temperature control data for abnormal batteries (such as batteries that need to be returned to the factory for recall) can be set to 0. In this way, the battery can be prevented from being used when it is abnormal.
[0246] It is understood that, in order to achieve the above-mentioned functions, electronic devices include hardware and / or software modules that perform the respective functions. Based on the algorithmic steps of the examples described in the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in conjunction with the embodiments, but such implementation should not be considered beyond the scope of this application.
[0247] In one example, Figure 15 A schematic block diagram of an apparatus 1500 according to an embodiment of this application is shown. The apparatus 1500 may include a processor 1501 and a transceiver / transceiver pin 1502, and optionally, a memory 1503.
[0248] The various components of device 1500 are coupled together via bus 1504, which includes a data bus, a power bus, a control bus, and a status signal bus. However, for clarity, all buses are referred to as bus 1504 in the figure.
[0249] Optionally, the memory 1503 can be used for the instructions in the foregoing method embodiments. The processor 1501 can be used to execute the instructions in the memory 1503, control the receive pin to receive signals, and control the transmit pin to transmit signals.
[0250] Device 1500 may be an electronic device or a chip of an electronic device in the above method embodiments.
[0251] All relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here.
[0252] The steps performed by the temperature control module and parameter management module in the charging control method provided in the above-described embodiments of this application can also be performed by a chip system included in the electronic device 100. This chip system may include a processor and a Bluetooth chip. The chip system can be coupled to a memory, enabling it to call a computer program stored in the memory during operation to implement the steps performed by the temperature control module and parameter management module. The processor in this chip system can be an application processor or a non-application processor.
[0253] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A charging control method, characterized in that, Applied to an electronic device, the electronic device including a battery, a charging module, and a parameter management module, the method includes: Obtain the target control data of the battery; The charging module is controlled to charge the battery according to the target control data; The target control data is the preset control data corresponding to the battery identifier of the battery, determined by the parameter management module in a preset correspondence relationship. The preset correspondence relationship includes a one-to-one correspondence between multiple preset battery identifiers and multiple preset control data. Each preset control data includes the charging parameters of the corresponding preset battery identifier during the charging process. The charging parameters are the charging current that makes the battery temperature less than a safe temperature threshold during the charging process.
2. The charging control method according to claim 1, characterized in that, The target control data includes a one-to-one correspondence between multiple preset temperature ranges and multiple control parameters, and each control parameter includes at least one charging parameter.
3. The charging control method according to claim 2, characterized in that, Each control parameter includes the charging current for multiple charging modes. The charging rates of the multiple charging modes are different.
4. The charging control method according to claim 2, characterized in that, The control of the charging module to charge the battery according to the target control data includes: Obtain the temperature data of the battery; In the target control data, the preset temperature range in which the temperature data is located is determined; Obtain the first control parameter corresponding to the preset temperature range in which the temperature data is located; The charging module is controlled to charge the battery according to the first control parameters.
5. The charging control method according to claim 4, characterized in that, Each control parameter includes the charging current for multiple charging modes, wherein the charging rates of the multiple charging modes are different. The control of the charging module to charge the battery according to the first control parameters includes: In the first control parameter, the first charging current in the current charging mode is determined; The charging module is controlled to charge the battery with the first charging current.
6. The charging control method according to claim 1, characterized in that, Batteries from different manufacturers have different battery markings; Batteries from the same manufacturer may have different models with different battery markings.
7. The charging control method according to claim 1, characterized in that, The target control data is determined by the parameter management module in response to the power-on event of the electronic device.
8. A charging control method, characterized in that, Applied to electronic devices, the method includes: Obtain the battery identifier of the battery in the electronic device; In the preset correspondence, the target control data corresponding to the battery identifier is determined; The preset correspondence includes a one-to-one correspondence between multiple preset battery identifiers and multiple preset control data, and each preset control data includes the charging parameters of the battery corresponding to the preset battery identifier during the charging process. The target control data is used to control the charging parameters of the battery charging process. The charging parameters are the charging current that ensures the battery temperature is below a safe temperature threshold during the charging process.
9. The charging control method according to claim 8, characterized in that, The target control data includes a one-to-one correspondence between multiple preset temperature ranges and multiple control parameters, and each control parameter includes at least one charging parameter.
10. The charging control method according to claim 9, characterized in that, Each control parameter includes the charging current for multiple charging modes. The charging rates of the multiple charging modes are different.
11. The charging control method according to claim 8, characterized in that, The step of obtaining the battery identifier of the electronic device's battery includes: In response to the power-on event of the electronic device, the battery identifier of the battery is obtained.
12. An electronic device, characterized in that, The electronic device includes: The temperature control module is used to acquire target control data for the battery; and is also used to control the charging module to charge the battery according to the target control data. The target control data is the preset control data corresponding to the battery identifier of the battery, determined by the parameter management module in a preset correspondence relationship. The preset correspondence relationship includes a one-to-one correspondence between multiple preset battery identifiers and multiple preset control data. Each preset control data includes the charging parameters of the corresponding preset battery identifier during the charging process. The charging parameters are the charging current that makes the battery temperature less than a safe temperature threshold during the charging process.
13. An electronic device, characterized in that, The electronic device includes: A battery identifier acquisition module is used to acquire the battery identifier of the battery of the electronic device; The parameter management module is used to determine the target control data corresponding to the battery identifier in a preset correspondence relationship; The preset correspondence includes a one-to-one correspondence between multiple preset battery identifiers and multiple preset control data, and each preset control data includes the charging parameters of the battery corresponding to the preset battery identifier during the charging process. The target control data is used to control the charging parameters of the battery charging process. The charging parameters are the charging current that ensures the battery temperature is below a safe temperature threshold during the charging process.
14. An electronic device, characterized in that, include: One or more processors; One or more memories; the one or more memories storing one or more programs that, when executed by the one or more processors, cause the electronic device to perform the charging control method of any one of claims 1 to 7, and / or cause the electronic device to perform the charging control method of any one of claims 8 to 11.
15. A computer-readable storage medium comprising a computer program, characterized in that, When the computer program is run on the electronic device, it causes the electronic device to perform the charging control method according to any one of claims 1 to 7, and / or causes the electronic device to perform the charging control method according to any one of claims 8 to 11.
16. A chip comprising one or more interface circuits and one or more processors; in, The interface circuit is configured to receive signals from the memory of the electronic device and send the signals to the processor, the signals including computer instructions stored in the memory; and, when the processor executes the computer instructions, to cause the electronic device to perform the charging control method of any one of claims 1 to 7, and / or to cause the electronic device to perform the charging control method of any one of claims 8 to 11.
17. A computer program product containing instructions, characterized in that, When the computer program product is run on an electronic device, it causes the electronic device to perform the charging control method as described in any one of claims 1 to 7, and / or causes the electronic device to perform the charging control method as described in any one of claims 8 to 11.