CN114844144A - Charging method, electronic device, computer-readable storage medium, and chip system - Google Patents

Charging method, electronic device, computer-readable storage medium, and chip system Download PDF

Info

Publication number
CN114844144A
CN114844144A CN202210344906.XA CN202210344906A CN114844144A CN 114844144 A CN114844144 A CN 114844144A CN 202210344906 A CN202210344906 A CN 202210344906A CN 114844144 A CN114844144 A CN 114844144A
Authority
CN
China
Prior art keywords
charging
current
voltage
circuit
adapter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210344906.XA
Other languages
Chinese (zh)
Inventor
陈贤
吴彪
杨永祥
刘勤凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202210344906.XA priority Critical patent/CN114844144A/en
Publication of CN114844144A publication Critical patent/CN114844144A/en
Priority to PCT/CN2023/083755 priority patent/WO2023185685A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • H02J7/00714Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery charging or discharging current
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Abstract

The application is applicable to the technical field of terminals, and provides a charging method, electronic equipment, a computer readable storage medium and a chip system, wherein the method comprises the following steps: when a plurality of adapters are connected, determining a charging parameter corresponding to each adapter; according to the charging parameters, determining reference charging currents corresponding to the charging circuits, wherein the adapters correspond to the charging circuits in a one-to-one mode and are connected with the charging circuits; according to each reference charging current, the current charging current output by each charging circuit is adjusted, so that the current charging current output by each charging circuit is matched with the reference charging current of each charging circuit, the charging power of each adapter can be reasonably distributed, each adapter is controlled to work in the optimal state, and the charging efficiency and flexibility of the portable chargeable equipment can be improved.

Description

Charging method, electronic device, computer-readable storage medium, and chip system
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a charging method, an electronic device, a computer-readable storage medium, and a chip system.
Background
With the continuous development of terminal equipment, the endurance requirement of the terminal equipment is continuously improved, and the battery capacity of the terminal equipment is also continuously increased. Accordingly, the time taken to charge the terminal device increases accordingly.
To reduce the time it takes to charge a terminal device, multiple adapters may be employed to charge the terminal device. By connecting the plurality of adapters with the terminal device, the battery in the terminal device can be charged by the current output by the plurality of adapters simultaneously, and the time taken for charging the terminal device can be reduced.
However, in the charging process using a plurality of adapters, it is not possible to allocate an appropriate charging power to each adapter so that each adapter operates in an optimum state.
Disclosure of Invention
The application provides a charging method, an electronic device, a computer readable storage medium and a chip system, which solve the problem that proper charging power cannot be distributed to each adapter in the prior art.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect, a charging method applied to an electronic device is provided, including:
when a plurality of adapters are connected, determining a charging parameter corresponding to each adapter;
According to the charging parameters, determining reference charging currents corresponding to the charging circuits, wherein the adapters correspond to the charging circuits one by one and are connected with the charging circuits;
and adjusting the current charging current output by each charging circuit according to each reference charging current.
The current charging current output by each charging circuit is detected, and then each charging circuit is adjusted according to the detection result, so that the current charging current output by each charging circuit is matched with the reference charging current formulated according to each adapter, the charging power of each adapter can be reasonably distributed, each adapter is controlled to work in the best state, and the charging efficiency and flexibility of the portable chargeable device can be improved.
In a first possible implementation manner of the first aspect, the adjusting, according to each of the reference charging currents, a current charging current output by each of the charging circuits includes:
for each charging circuit, acquiring the current charging current output by the charging circuit;
and adjusting the current charging current according to the magnitude relation between the current charging current and the reference charging current corresponding to the charging circuit.
By adjusting the current charging current output by each charging circuit, the charging power of each adapter can be accurately adjusted, so that each adapter works in an optimal state.
Based on the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the adjusting the current charging current according to a magnitude relationship between the current charging current and a reference charging current corresponding to the charging circuit includes:
if the current charging current is greater than the reference charging current and the difference value between the current charging current and the reference charging current is greater than a first current threshold, reducing the current charging voltage of the charging circuit;
if the current charging current is smaller than the reference charging current and the difference value between the current charging current and the reference charging current is larger than the first current threshold, the current charging voltage of the charging circuit is increased;
and if the difference value between the current charging current and the reference charging current is smaller than or equal to the first current threshold, stopping adjusting the current charging current.
According to the magnitude relation between the current charging current and the reference charging current and the difference value between the current charging current and the reference charging current, when the current charging current is determined to have larger deviation with the reference charging current, the current charging voltage of the charging circuit is adjusted, so that the current charging current is adjusted, the time spent on adjusting the current charging voltage and the current charging current can be reduced, and the efficiency of adjusting the current charging voltage and the current charging current is improved.
Based on the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, after the reducing the current charging voltage of the charging circuit, the method further includes:
comparing the magnitude relation between the reduced voltage of the charging circuit and a first voltage threshold value, wherein the first voltage threshold value is used for determining whether the current charging voltage output by the charging circuit can be reduced or not;
and if the reduced voltage is smaller than the first voltage threshold, stopping adjusting the current charging current and reporting an error.
By comparing the voltage with the first voltage threshold, it can be determined whether or not the voltage of the charging circuit can be continuously reduced, and if the voltage of the charging circuit cannot be continuously reduced, it is necessary to stop the adjustment and report an error if the adapter or the electronic device is abnormal, thereby improving the safety of charging.
Based on the second possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, after the increasing the current charging voltage of the charging circuit, the method further includes:
comparing the magnitude relation between the increased voltage of the charging circuit and a second voltage threshold value, wherein the second voltage threshold value is used for determining whether the current charging voltage output by the charging circuit can be increased or not;
and if the increased voltage is greater than the second voltage threshold, stopping adjusting the current charging current and reporting an error.
Whether the voltage of the charging circuit can be continuously increased or not can be determined by comparing the voltage with the second voltage threshold, if the voltage of the charging circuit cannot be continuously increased, the current voltage is over high, potential safety hazards can be caused by continuous increase, adjustment needs to be stopped, and errors need to be reported, so that the charging safety can be improved.
Based on the third or fourth possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, the method further includes:
if the reduced voltage is greater than or equal to a first voltage threshold, or the increased voltage is less than or equal to a second voltage threshold, determining whether the time spent on adjusting the current charging current is overtime;
If the time spent on adjusting the current charging current is not overtime, continuing to adjust the current charging current;
and if the time spent on adjusting the current charging current is overtime, stopping adjusting the current charging current.
By judging the time spent on adjusting the current charging current, the problem of abnormity caused by long-time adjustment of a certain charging circuit can be avoided, and the reliability and flexibility of adjusting the current charging current can be improved.
Based on the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, the stopping of the adjustment of the current charging current includes:
if the difference value between the current charging current and the reference charging current is smaller than or equal to a preset second current threshold value, stopping adjusting the current charging current, wherein the second current threshold value is larger than the first current threshold value;
and if the difference value between the current charging current and the reference charging current is larger than the second current threshold, stopping adjusting the current charging current and reporting an error.
Based on any one of the foregoing possible implementation manners of the first aspect, in a seventh possible implementation manner of the first aspect, after the determining the charging parameter corresponding to each adapter, the method further includes:
acquiring battery voltage, wherein the battery voltage is the voltage at two ends of a battery of the electronic equipment;
if the battery voltage is greater than or equal to a third voltage threshold, reducing the reference charging current corresponding to each charging circuit, wherein the third voltage threshold is used for determining whether the electronic equipment can be charged in a constant voltage mode;
and adjusting the current charging current output by each charging circuit according to each reduced reference charging current.
By judging whether the constant voltage mode can be adopted for charging or not, the current charging current output by each charging circuit can be timely reduced after the voltage of the battery is increased to a certain degree, and the damage to the battery caused by continuously adopting large-current charging is avoided, so that the service life of the battery can be prolonged.
Based on the seventh possible implementation manner of the first aspect, in an eighth possible implementation manner of the first aspect, after the adjusting the current charging current output by each charging circuit according to each reduced reference charging current, the method further includes:
Determining a total charging current according to the current charging current output by each charging circuit;
if the total charging current is smaller than or equal to a third current threshold, charging the electronic equipment in a single adapter mode through a target adapter in each adapter, wherein the third current threshold is used for determining whether the electronic equipment can be charged in the single adapter mode;
if the total charging current is greater than the third current threshold, adjusting the current charging current output by each charging circuit again according to each reduced reference charging current until the total charging current is less than or equal to the third current threshold.
Through after reaching certain electric quantity to battery charging, adopt single adapter to charge to electronic equipment, can reduce the quantity that is used for the adapter that charges to can reduce the loss that each adapter caused in the charging process, can also improve the security of charging.
Based on the eighth possible implementation manner of the first aspect, in a ninth possible implementation manner of the first aspect, after the charging is performed in the single adapter mode through a target adapter of the adapters, the method further includes:
Acquiring current charging current output by a target charging circuit, wherein the target charging circuit is a charging circuit connected with the target adapter;
if the current charging current output by the target charging circuit is smaller than or equal to a fourth current threshold, stopping charging, wherein the fourth current threshold is used for determining whether the electronic equipment is charged completely;
if the current charging current output by the target charging circuit is larger than the fourth current threshold, the current charging current output by the target charging circuit is obtained again until the current charging current output by the target charging circuit is smaller than or equal to the fourth current threshold.
Based on any one of the foregoing possible implementation manners of the first aspect, in a tenth possible implementation manner of the first aspect, the method further includes:
detecting whether the number of adapters connected with the electronic equipment changes;
if the number of the adapters connected with the electronic equipment is not changed, the current charging current output by each charging circuit is continuously adjusted according to each reference charging current;
and if the number of the adapters connected with the electronic equipment is changed, re-determining the reference charging current corresponding to each charging circuit.
By detecting the connected adapters in real time, the determined reference charging current can be adjusted in time when the number of the connected adapters changes, so that the connected adapters can be controlled to continuously work in the best state, and the charging efficiency can be improved.
In a second aspect, a charging device applied to an electronic device is provided, including:
the device comprises a first determining module, a second determining module and a charging module, wherein the first determining module is used for determining charging parameters corresponding to each adapter when the adapter is connected with a plurality of adapters;
the second determining module is used for determining reference charging current corresponding to each charging circuit according to each charging parameter, and each adapter corresponds to and is connected with each charging circuit one by one;
and the first adjusting module is used for adjusting the current charging current output by each charging circuit according to each reference charging current.
In a first possible implementation manner of the second aspect, the first adjusting module is specifically configured to, for each charging circuit, obtain the current charging current output by the charging circuit; and adjusting the current charging current according to the magnitude relation between the current charging current and the reference charging current corresponding to the charging circuit.
Based on the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the first adjusting module is further specifically configured to decrease the current charging voltage of the charging circuit if the current charging current is greater than the reference charging current and a difference between the current charging current and the reference charging current is greater than a first current threshold; if the current charging current is smaller than the reference charging current and the difference value between the current charging current and the reference charging current is larger than the first current threshold, the current charging voltage of the charging circuit is increased; and if the difference value between the current charging current and the reference charging current is smaller than or equal to the first current threshold, stopping adjusting the current charging current.
Based on the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the apparatus further includes:
the first comparison module is used for comparing the magnitude relation between the reduced voltage of the charging circuit and a first voltage threshold value, wherein the first voltage threshold value is used for determining whether the current charging voltage output by the charging circuit can be reduced or not;
A first stopping module, configured to stop adjusting the current charging current and report an error if the reduced voltage is smaller than the first voltage threshold.
Based on the second possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the apparatus further includes:
the second comparison module is used for comparing the magnitude relation between the voltage increased by the charging circuit and a second voltage threshold value, wherein the second voltage threshold value is used for determining whether the current charging voltage output by the charging circuit can be increased or not;
and the second stopping module is used for stopping adjusting the current charging current and reporting an error if the improved voltage is greater than the second voltage threshold.
Based on the third or fourth possible implementation manner of the second aspect, in a fifth possible implementation manner of the second aspect, the apparatus further includes:
a determining module, configured to determine whether time taken to adjust the current charging current is overtime if the reduced voltage is greater than or equal to the first voltage threshold or the increased voltage is less than or equal to the second voltage threshold;
The second adjusting module is used for continuously adjusting the current charging current if the time spent on adjusting the current charging current is not overtime;
and the third stopping module is used for stopping adjusting the current charging current if the time spent on adjusting the current charging current is overtime.
Based on a fifth possible implementation manner of the second aspect, in a sixth possible implementation manner of the second aspect, the third stopping module is specifically configured to stop adjusting the current charging current if a difference between the current charging current and the reference charging current is less than or equal to a preset second current threshold, where the second current threshold is greater than the first current threshold; and if the difference value between the current charging current and the reference charging current is larger than the second current threshold, stopping adjusting the current charging current and reporting an error.
Based on any one of the foregoing possible implementation manners of the second aspect, in a seventh possible implementation manner of the second aspect, the apparatus further includes:
the first acquisition module is used for acquiring battery voltage, wherein the battery voltage is the voltage at two ends of a battery of the electronic equipment;
The reference adjusting module is configured to reduce the reference charging current corresponding to each charging circuit if the battery voltage is greater than or equal to a third voltage threshold, where the third voltage threshold is used to determine whether the electronic device can be charged in a constant voltage mode;
and the third adjusting module is used for adjusting the current charging current output by each charging circuit according to each reduced reference charging current.
Based on the seventh possible implementation manner of the second aspect, in an eighth possible implementation manner of the second aspect, the apparatus further includes:
the third determining module is used for determining the total charging current according to the current charging current output by each charging circuit;
the single-adapter charging module is used for charging the electronic equipment in a single-adapter mode through a target adapter in each adapter if the total charging current is smaller than or equal to a third current threshold, and the third current threshold is used for determining whether the electronic equipment can be charged in the single-adapter mode;
the first adjusting module is further configured to adjust the current charging current output by each charging circuit again according to each reduced reference charging current until the total charging current is less than or equal to the third current threshold if the total charging current is greater than the third current threshold.
Based on the eighth possible implementation manner of the second aspect, in a ninth possible implementation manner of the second aspect, the apparatus further includes:
the second acquisition module is used for acquiring the current charging current output by a target charging circuit, and the target charging circuit is a charging circuit connected with the target adapter;
the charging end module is used for stopping charging if the current charging current output by the target charging circuit is smaller than or equal to a fourth current threshold, and the fourth current threshold is used for determining whether the charging of the electronic equipment is finished;
the second obtaining module is further configured to obtain the current charging current output by the target charging circuit again if the current charging current output by the target charging circuit is greater than the fourth current threshold value until the current charging current output by the target charging circuit is less than or equal to the fourth current threshold value.
Based on any one of the foregoing possible implementation manners of the second aspect, in a tenth possible implementation manner of the second aspect, the apparatus further includes:
the detection module is used for detecting whether the number of the adapters connected with the electronic equipment changes or not;
The first adjusting module is further configured to, if the number of adapters connected to the electronic device is not changed, continue to adjust the current charging current output by each charging circuit according to each reference charging current;
and the second determining module is used for re-determining the reference charging current corresponding to each charging circuit if the number of the adapters connected with the electronic equipment is changed.
In a third aspect, an electronic device is provided, including: the charging device comprises a charging controller, a battery, a plurality of charging circuits and a plurality of charging ports, wherein the plurality of charging circuits correspond to the plurality of charging ports one to one;
the input end of each charging circuit is connected with the corresponding charging port, the output end of each charging circuit is connected with the battery, and each charging circuit is also connected with the charging controller;
the charging controller is configured to run a computer program stored in a memory to cause the electronic device to implement the charging method according to any one of the first aspect.
In a first possible implementation manner of the third aspect, the electronic device further includes: the charging circuits are respectively in one-to-one correspondence with the reverse-filling prevention circuits and the current detection circuits;
Each anti-reverse-filling circuit is connected between the corresponding charging circuit and the battery in series, and the input end of each current detection circuit is connected with the output end of the corresponding charging circuit;
the current detection circuit is used for monitoring the charging current output by the charging circuit;
the reverse-flow prevention circuit is used for preventing charging current from flowing into the charging circuit from the battery.
In a fourth aspect, there is provided a computer readable storage medium storing a computer program which, when executed by a processor, implements the charging method according to any one of the first aspect.
In a fifth aspect, a chip system is provided, which includes a memory and a processor, and the processor executes a computer program stored in the memory to implement the charging method according to any one of the first aspect.
It is understood that the beneficial effects of the second aspect to the fifth aspect can be referred to the related description of the first aspect, and are not described herein again.
Drawings
Fig. 1A is a schematic block diagram of a charging circuit according to a charging method according to an embodiment of the present disclosure;
Fig. 1B is a schematic block diagram of a charging circuit according to another charging method of the present application;
fig. 1C is a schematic flowchart of a charging method according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of another charging method provided in the embodiment of the present application;
fig. 3 is a schematic flow chart of a portable chargeable device reformulating a charging strategy according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of adjusting a present charging current output by a charging circuit according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other cases, detailed descriptions of well-known charging circuit structures, voltage and current adjusting methods of the charging circuit output, methods of the adapter interacting with the terminal device, and electronic devices are omitted so as not to obscure the description of the present application with unnecessary details.
The terminology used in the following examples is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, such as "one or more", unless the context clearly indicates otherwise.
With the continuous development of terminal devices, the types of portable rechargeable devices, such as mobile phones, tablet computers, notebook computers, mobile speakers, etc., are also gradually increasing. In the working process of the portable rechargeable device, each component in the device can be supplied with power according to the built-in battery.
Accordingly, during the charging process of each portable rechargeable device, the portable rechargeable device can be connected to the adapter through a preset interface (such as a Type-C interface), and then the adapter charges the battery arranged in the portable rechargeable device.
Also, portable rechargeable devices may be recharged through a single adapter or through multiple adapters. When charging through a single adapter, the time required for charging the portable rechargeable device to complete is long, limited by the maximum charging power of the adapter. Moreover, single adapter charging can cause problems with heat generation of the portable rechargeable device.
And in the scene that a plurality of adapters carry out charging, can effectively promote charging power, can also reduce the condition that portable chargeable equipment generates heat. However, during the charging process, the plurality of adapters cannot accurately allocate appropriate charging power to each adapter, so that each adapter cannot work in an optimal state.
Therefore, the present application provides a charging method, in which a plurality of adapters are used to charge a portable rechargeable device, each adapter can be connected to a corresponding charging circuit in the portable rechargeable device during charging, the portable rechargeable device can distribute charging power output by each adapter and monitor current output by each adapter and output through the charging circuit, and the output charging current can be adjusted by each charging circuit, that is, the output charging current of each adapter is adjusted, so that each adapter can work in an optimal state, thereby reasonably distributing charging power of each adapter on the basis of charging of the plurality of adapters, and improving charging efficiency and flexibility of the portable rechargeable device.
It should be noted that, in practical applications, the adapter may be used with different types of charging elements for charging. Wherein the charging element may include: directly fill the component and directly not fill the component, directly fill the component and be the switched capacitor who possesses the current detection function and charge the component, directly fill the component and can realize N through switched capacitor circuit: m, wherein N and M are both positive integers. The non-direct charging element is a charging element for realizing voltage conversion through a traditional buck (a common circuit topology)/boost (a common circuit topology) circuit.
For example, the direct charging element may comprise 1: 1 direct charging element and 2: 1a direct charging element, etc., and a non-direct charging element may include: a buck-boost charging element and a buck charging element.
The direct charging element has high charging efficiency, but needs to be matched with an adapter with a voltage regulation function, and the required cost is higher. The non-direct charging element can be matched with an adapter with fixed output voltage, so that the cost is lower, but the charging efficiency is lower than that of the direct charging element.
The following describes a charging method proposed in the present application and a charging circuit related to the charging method based on a non-direct charging element.
Referring to fig. 1A, fig. 1A is a schematic block diagram of a charging circuit according to a charging method provided in an embodiment of the present application, where the charging circuit may include: a portable rechargeable device 110 and a plurality of adapters 120, the portable rechargeable device 110 may include: a battery 1101, a charge controller 1102, a plurality of charge ports 1103, a plurality of charge circuits 1104, and a plurality of anti-reverse-flow circuits 1105.
The battery 1101 may be a battery pack, the charging controller 1102 may be an integrated control unit, and each charging circuit 1104 may be implemented by a non-direct-charging element.
Also, the charging controller 1102 and each charging circuit 1104 may be connected via a signal line for transmitting the magnitude of the charging current detected by the charging circuit 1104 to the charging controller 1102 and a control line for transmitting an instruction to adjust the magnitude of the charging current to the charging circuit 1104, so that a feedback loop of the charging current may be formed according to the signal line and the control line.
Similarly, each charging circuit 1104 also corresponds to each charging port 1103 one to one. For each charging circuit 1104, the charging circuit 1104 may be connected to the corresponding charging port 1103 via a device communication line and a device power line. The device power line is used for transmitting electric energy, and the device communication line is used for transmitting data, so that the adaptor 120 can perform data interaction with the portable rechargeable device 110 through the device communication line based on a matched charging protocol, and thus, charging parameters such as charging voltage, charging power, charging current and the like provided by each adaptor 120 for the portable rechargeable device 110 in the charging process are determined.
In addition, each charging circuit 1104 is connected to the battery 1101 through a combined power line of each charging power line, so that the battery is charged by each charging circuit 1104. Also, in order to prevent current from flowing backwards, a back-flow prevention circuit 1105 may be provided between the battery 1101 and each charging circuit 1104 to prevent current from flowing backwards from the battery 1101 into the charging circuit 1104. For example, the anti-reverse-flow circuit 1105 may be a diode, the anode of which may be connected to the output of the charging circuit 1104 and the cathode of which may be connected to the input of the battery 1101.
In addition, each adapter 120 may also be connected to each charging port 1103 of the portable rechargeable device 110 via an adapter communication line and an adapter power line. Similar to the device communication lines and the device power lines, the adapter power lines are used for transmitting power and the adapter communication lines are used for transmitting data, so that the adapters 120 can perform data interaction with the portable rechargeable device 110 through the adapter communication lines based on a matched charging protocol, thereby determining charging parameters such as charging voltage, charging power and charging current provided by each adapter 120 to the portable rechargeable device 110 during charging.
For example, referring to fig. 1B, a PD (power delivery) protocol chip is disposed between the charging ports 1103 and the charging controller 1102, and each adapter 120 performs data interaction with the portable chargeable device 110 through the PD protocol chip 1106 based on a PD protocol, and determines charging parameters such as a charging voltage, a charging power, and a charging current provided by each adapter in a charging process. Moreover, each charging circuit in the portable rechargeable device 110 may be a buck circuit or a buck-boost circuit, and the charging circuit is not limited in this embodiment of the application.
In practical applications, a current detection circuit may be disposed between the charging circuit 1104 and the battery 1101, so that the charging current output by the charging circuit 1104 is detected by the current detection circuit to determine the magnitude of the charging current. Further, the charging controller 1102 may adjust the charging current output from the charging circuit 1104 in accordance with the detected magnitude of the charging current, thereby distributing the charging power to each adapter.
Referring to fig. 1C, fig. 1C is a schematic flowchart of a charging method according to an embodiment of the present disclosure, and the charging method is applied to a portable rechargeable device of the charging circuit, and the method may include:
and S1, identifying the connected adapters and determining the charging parameters of each adapter for charging.
The charging parameters are used for representing parameters such as the maximum charging voltage, the maximum charging current and the maximum charging power which can be output by the adapter during charging.
And S2, formulating a charging strategy according to the charging parameters corresponding to each adapter.
And S3, adjusting the charging current output by each charging circuit according to the charging strategy until the charging is finished.
Specifically, after detecting connection with multiple adapters 120, the portable chargeable device 110 may perform data interaction with the adapters 120 based on a preset charging protocol, and determine a charging voltage and a charging current that each adapter 120 can output during charging, that is, determine charging parameters of the adapters 120.
Then, the portable rechargeable device 110 may allocate corresponding charging power to each adapter 120 based on the charging parameters corresponding to each adapter 120, and in combination with the maximum charging voltage and the maximum charging current that the portable rechargeable device 110 can bear, that is, allocate the output reference charging current and the output reference charging voltage to each adapter 120, so that each adapter 120 may output according to the reference charging current and the reference charging voltage, and thus operate in an optimal state.
Correspondingly, the portable rechargeable device 110 can adjust the charging current output by each charging circuit 1104 through the charging controller 1102, so that the adjusted charging current is matched with the reference charging current corresponding to each adapter 120, and the charging is performed by adopting the established charging strategy, so that the charging efficiency of the portable rechargeable device 110 can be effectively improved on the premise of not increasing the cost, and the heating problem of the portable rechargeable device 110 in the charging process can be effectively reduced.
It should be noted that, in practical applications, each adapter 120 is connected in series with a corresponding charging circuit 1104, and the charging current output by each charging circuit 1104 is the charging current output by the connected adapter 120. Accordingly, the reference charging current allocated by the portable rechargeable device 110 to each adapter 120 may also be the reference charging current of the charging circuit 1104 corresponding to the adapter 120.
In addition, the reference charging current distributed by the portable rechargeable device 110 to each adapter 120 and corresponding charging circuit 1104 may be used as a current parameter to direct each adapter 120 and corresponding charging circuit 1104 to output a charging current that is the same as or close to the reference charging current. Moreover, the reference charging current corresponding to each adapter 120 may be smaller than or equal to the current indicated by the charging parameter of the adapter, that is, the charging current and the charging voltage indicated by the charging parameter are the maximum charging current and the maximum charging voltage output by the adapter 120 during the charging process.
Fig. 2 is a schematic flow chart of another charging method provided in the embodiment of the present application, which may be applied to the portable chargeable device of the charging circuit described above by way of example and not limitation, and referring to fig. 2, the method includes:
step 201, determining the charging parameters of each adapter.
The charging parameters are used for indicating parameters such as the maximum charging voltage, the maximum charging power and the maximum charging current output by the adapter in the charging process. Also, the charging parameter may be determined based on a charging protocol between the adapter and the portable chargeable device. For example, after the adapter is connected to the portable rechargeable device, based on a charging protocol preset in the portable rechargeable device, the adapter may perform data communication with the portable rechargeable device using the matching charging protocol, and determine a maximum charging voltage, a maximum charging power, and a maximum charging current that the adapter may provide, thereby determining charging parameters of the adapter.
The portable rechargeable device can be connected with the adapter in the charging process, and the voltage and the current provided by the commercial power are converted into the charging voltage and the charging current indicated by the charging parameters through the adapter, so that the battery in the portable rechargeable device is charged. Therefore, before the portable rechargeable device is charged through the adapters, the portable rechargeable device can identify the connected adapters and determine the charging parameters corresponding to each adapter, so that in the subsequent step, the portable rechargeable device can adjust the charging current and the charging voltage output by each adapter according to the charging parameters corresponding to each adapter.
In an optional embodiment, if the portable rechargeable device detects that the portable rechargeable device is connected to at least one adapter, the portable rechargeable device may perform data interaction with each connected adapter through the adapter communication line and the device communication line to determine the charging parameter corresponding to each adapter.
It should be noted that, in practical applications, after the adapter is connected to the portable rechargeable device through the charging port, the adapter may charge the portable rechargeable device according to the preset default current and default voltage. Meanwhile, the adapter and the portable chargeable device can perform data interaction based on the charging protocols matched with the adapter and the portable chargeable device, and parameters such as the maximum charging voltage, the maximum charging power and the maximum charging current supported by the portable chargeable device are determined, so that the charging parameters corresponding to the adapter are determined.
For example, after an adapter is connected to a portable rechargeable device, the adapter may first output a default current of 2 amps (a) and a default voltage of 5 volts (V) to begin charging the portable rechargeable device. Meanwhile, the adapter can also perform data interaction with the portable rechargeable device to determine whether the portable rechargeable device supports fast charging. If the portable rechargeable device supports fast charging, the adapter can output the charging current and the charging voltage which are matched according to the current parameter and the voltage parameter which correspond to the fast charging. If the portable rechargeable device does not support fast charging, the adapter may output a charging current and a charging voltage that match according to the default current parameter and voltage parameter.
Step 202, determining a charging strategy according to the number of the adapters and the charging parameters of each adapter.
The charging strategy is used for distributing the output charging voltage, charging power and charging current for each adapter, namely determining the reference charging current and the reference charging voltage output by each adapter and the corresponding charging circuit.
Specifically, after the adapters determine corresponding charging parameters, the portable rechargeable device may determine the maximum charging voltage, the maximum charging power, and the maximum charging current that each adapter can output according to the charging parameters corresponding to each adapter. Then, the portable rechargeable device may allocate a corresponding reference charging current and reference charging voltage to each adapter according to the number of the adapters connected and the maximum charging voltage and maximum charging current that can be borne by the portable rechargeable device and the battery, so that in the subsequent steps, the charging current and charging voltage output by the adapters and the charging circuit may be adjusted according to the reference charging current and reference charging voltage.
If the total power that each adapter can output is less than or equal to the maximum power that the portable rechargeable device and the battery can bear, the current and voltage indicated in the charging parameters corresponding to each adapter can be used as the reference charging current and reference charging voltage corresponding to the adapter.
If the total power that each adapter can output is greater than the maximum power that the portable rechargeable device and the battery can withstand, the reference charging current and the reference charging voltage that are allocated to each adapter may be reduced based on the charging parameters corresponding to each adapter.
For example, the maximum power that can be borne by the portable rechargeable device and the battery is 150 watts (W), if the total power that can be output by each adapter is 100W, the total power that can be output by each adapter is smaller than the maximum power that can be borne by the portable rechargeable device and the battery, and when each adapter outputs the maximum charging current and the maximum charging voltage that are indicated by the charging parameters, the total power that can be output by each adapter does not exceed the maximum power that can be borne by the portable rechargeable device and the battery, so the current and voltage magnitudes indicated by the charging parameters of each adapter can be used as the reference charging current and the reference charging voltage corresponding to that adapter.
However, if the total power that can be output by each adapter is 200W, the total power that can be output by each adapter is greater than the maximum power that can be borne by the portable rechargeable device and the battery, and when each adapter outputs full power, the maximum power that can be borne by the portable rechargeable device and the battery is exceeded, so the current and voltage indicated by the charging parameters can be reduced based on the charging parameters corresponding to each adapter, and then the reduced current and voltage can be used as the reference charging current and reference charging voltage corresponding to the adapter.
It should be noted that, in practical applications, the portable rechargeable device may be connected to another adapter during the charging process, so that a new adapter is added, or the adapter connected to the portable rechargeable device may be disconnected from the portable rechargeable device. Accordingly, when the portable rechargeable device detects that the number of connected adapters changes, the portable rechargeable device may reformulate a charging strategy based on each currently connected adapter, and reallocate the reference charging current and the reference charging voltage for each adapter, so that each adapter may perform output charging according to the reallocated reference charging current and reference charging voltage.
Referring to fig. 3, fig. 3 is a schematic flowchart of an embodiment of a portable rechargeable device reformulating a charging policy, where the portable rechargeable device reformulating the charging policy may include the following steps:
and S1, detecting whether the number of connected adapters changes.
And S2, if the number of the connected adapters is not changed, continuing to perform charging according to the charging strategy.
And S3, if the number of the connected adapters changes, the charging strategy is newly established.
In the charging process, the portable rechargeable device can detect whether the connection state between the portable rechargeable device and each adapter changes in real time, namely, whether the portable rechargeable device is disconnected with a certain adapter or not is detected, or whether the portable rechargeable device is connected with a certain newly added adapter or not is detected.
If the number of the adapters is not changed, the portable rechargeable device does not need to update the charging strategy, and the portable rechargeable device can continue to be charged according to the original charging strategy. If the number of the adapters changes, the portable rechargeable device needs to restart to make a charging strategy according to each adapter currently connected.
Moreover, when the number of adapters changes, the number of adapters may increase or decrease, and the portable rechargeable device needs to re-establish the charging strategy in different manners. Specifically, if the number of adapters increases, it is indicated that the portable rechargeable device is connected to the newly added adapter. The portable chargeable device may repeat the above steps 201 to 202 to re-formulate the charging strategy, so that the updated reference charging current and the updated reference charging voltage may be allocated to each adapter.
However, if the number of adapters is reduced, which indicates that the portable rechargeable device is disconnected from a certain adapter, the portable rechargeable device may re-establish a charging policy according to each currently connected adapter, so that an updated reference charging current and an updated reference charging voltage may be allocated to each adapter. Further, if the number of connected adapters is reduced to 0, indicating that the portable rechargeable device is not currently connected to the adapters, the charging may be stopped and each charging circuit may be set to a high impedance state.
Step 203, for each adapter, adjusting the current charging current output by the charging circuit connected with the adapter according to the reference charging current corresponding to the adapter.
After the charging strategy is determined, the portable rechargeable device can traverse the current output by each charging circuit to obtain the current charging current output by each charging circuit. In addition, in the traversal process, after the current charging current output by one charging circuit is determined, the portable rechargeable device can adjust the current charging current output by the charging circuit according to the reference charging current corresponding to the charging circuit through the charging controller.
Referring to fig. 4, fig. 4 is a schematic flow chart of adjusting the present charging current output by the charging circuit according to an embodiment of the present application, and a process of adjusting the present charging current of the adapter by the portable rechargeable device may include the following steps:
step 2031, for each charging circuit, obtain the current charging current output by the charging circuit.
Wherein the portable rechargeable device includes a plurality of charging circuits, an input terminal of each charging circuit being connected in series with a corresponding adapter, and an output terminal of each charging circuit being connected in series with a battery of the portable rechargeable device. Correspondingly, the current charging current output by the adapter flows through the charging circuits, and then the current charging current is output to the battery by the charging circuits, so that the current charging current output by each charging circuit is the current charging current output by the adapter corresponding to the charging circuit.
In the charging process of the portable chargeable device, the current output by each charging circuit can be monitored, and then the current charging current output by the charging circuit is sent to the charging controller through a signal line between the charging circuit and the charging controller, so that in the subsequent step, the charging controller can adjust the current charging voltage output by the charging circuit according to the detected current charging current, and the adjustment of the current charging current output by the adapter is completed.
Specifically, the charging circuit may detect a present charging current output by the charging circuit through a connected current detection circuit. The charging current may then send the present charging current to the charging controller via a signal line. Correspondingly, the charging controller can receive the current charging current sent by the charging circuit, and in the subsequent step, the current charging current output by the charging circuit is adjusted through the control line according to the received current charging current.
Step 2032, a magnitude relationship and a difference between the reference charging current corresponding to the charging circuit and the current charging current are obtained.
After receiving the current charging current sent by the charging circuit, the charging controller may obtain a reference charging current corresponding to the charging circuit, compare the reference charging current with the received current charging current, and determine a magnitude relationship between the reference charging current and the received current charging current and a difference value between the reference charging current and the received current charging current, so that in a subsequent step, the charging controller may adopt different adjustment modes according to the difference value and the magnitude relationship between the reference charging current and the received current charging current.
In the process of acquiring the reference charging current, the charging controller may determine an adapter corresponding to the charging circuit according to the identification information of the charging circuit, and then search for the reference charging current corresponding to the adapter from the determined charging strategy according to the corresponding adapter.
Step 2033, if the current charging current is smaller than the reference charging current and the difference between the current charging current and the reference charging current is greater than the first current threshold, then the current charging voltage of the charging circuit is increased.
The first current threshold is used for judging whether the current charging current needs to be adjusted.
If the charging controller determines that the current charging current is smaller than the reference charging current and the difference (or the absolute value of the difference) between the current charging current and the reference charging current is larger than the first current threshold, the current charging current is smaller, and the current charging voltage of the charging circuit can be increased according to the preset voltage variation, so that the current charging current output by the charging circuit can be increased through the internal circuit structure of the charging circuit, and the charging efficiency of the portable chargeable device can be increased.
For example, in the j acquisition process of the ith charging circuit, the output current charging current is I chg (i) j The current charging voltage is V (i) j The reference charging current corresponding to the ith charging circuit is I (i), and the first current threshold isI error The voltage variable is dV, then in I chg (i) j -I(i)<0, and | I chg (i) j -I(i)|>I error In the process, the charging controller can adjust the current charging voltage output by the ith charging circuit, so that the ith charging circuit can output the current charging voltage V (i) in the j +1 th acquisition process j+1 =V(i) j + dV to increase the present charging current of the ith charging circuit.
It should be noted that, in the process of increasing the current charging voltage of the charging circuit, the charging controller may adjust the on-off time of an internal switching device in the charging circuit, gradually increase the current charging voltage output by the charging circuit, and after a plurality of on-off cycles of the switching device, increase the charging voltage output by the charging circuit to a preset voltage variation.
Step 2034, if the charging voltage increased by the charging circuit is greater than the second voltage threshold, an error is reported and the adjustment is stopped.
The second voltage threshold is used for determining whether the current charging voltage output by the charging circuit can be increased, and the second voltage threshold can be set according to the charging parameter of the adapter and the maximum voltage that the portable chargeable device can bear.
In order to improve the safety of the charging process, after the charging voltage of the charging circuit is increased, the increased charging voltage of the charging circuit needs to be detected to determine whether the increased charging voltage exceeds the second voltage threshold. If the increased charging voltage is greater than the second voltage threshold, it indicates that the charging voltage of the current charging circuit is too high, which may cause a potential safety hazard, and an error needs to be reported in time, and the adjustment of the current charging current is stopped.
Step 2035, if the charging voltage increased by the charging circuit is not greater than the second voltage threshold, determining whether the time taken to adjust the current charging current is overtime.
If the charging voltage increased by the charging circuit is not greater than the second voltage threshold, that is, the increased charging voltage is less than or equal to the second voltage threshold, it indicates that the charging voltage output by the charging circuit is safe, and does not cause potential safety hazard, and the charging voltage and the charging current can be continuously adjusted.
However, in order to avoid the excessive time spent on adjusting the current charging current, the number of times of adjusting the current charging current may be counted, or the time may be counted from the adjustment of the current charging current, so that whether the time spent on adjusting the current charging current is overtime may be determined according to the counted number of times or the counted time length.
If the counting method is adopted, the counting may be performed in any one of step 2031 to step 2035, so that the number of times of adjusting the current charging current may be determined. If the counted number of times is greater than the preset maximum adjustment number of times, it indicates that after the current charging current is adjusted for multiple times, the current charging current output by the charging circuit still does not meet the requirement of the charging policy, and it may be determined that the time taken to adjust the charging current is over time, and the charging circuit or the adapter may have a fault, step 20310 may be performed to determine whether an error needs to be reported and to remind the user.
However, if the counted number of times is less than or equal to the preset maximum adjustment number, step 2039 may be executed to continue adjusting the current charging current of the charging circuit.
If timing is used, timing may be started when step 2031 is performed, so that the time taken to adjust the present charging current may be determined. If the timed duration is longer than the preset maximum adjustment duration, it indicates that the current charging current output by the charging circuit still does not meet the requirement of the charging policy after the current charging current is adjusted for multiple times, and it may be determined that the time taken to adjust the charging current is over time, and the charging circuit or the adapter may have a fault, step 20310 may be performed to determine whether an error needs to be reported to remind the user.
However, if the timed period is less than or equal to the preset maximum adjustment period, step 2039 may be executed to continue adjusting the current charging current of the charging circuit.
Step 2036, if the current charging current is greater than the reference charging current and the difference between the current charging current and the reference charging current is greater than the first current threshold, then the current charging voltage of the charging circuit is decreased.
Similar to step 2033, if the current charging current is greater than the reference charging current and the difference (or the absolute value of the difference) between the current charging current and the reference charging current is greater than the first current threshold, it indicates that the current charging current output by the charging circuit is relatively large, and the current charging voltage of the charging circuit needs to be reduced according to the preset voltage variation, so that the current charging current output by the charging circuit can be reduced through the internal circuit structure of the charging circuit, and the safety of the portable chargeable device can be improved.
For example, in the j acquisition process of the ith charging circuit, the output current charging current is I chg (i) j The current charging voltage is V (i) j The reference charging current corresponding to the ith charging circuit is I (I), and the first current threshold is I error The voltage variable is dV, then in I chg (i) j -I(i)>0, and | I chg (i) j -I(i)|>I error In the process, the charging controller can adjust the current charging voltage output by the ith charging circuit, so that the ith charging circuit can output the current charging voltage V (i) in the j +1 th acquisition process j+1 =V(i) j dV, thereby reducing the present charging current of the ith charging circuit.
It should be noted that, if it is determined in step 2032 that the absolute value of the difference between the present charging current and the reference charging current is smaller than or equal to the first current threshold, it indicates that the difference between the present charging current and the reference charging current is small, and step 2033 or step 2036 may not be executed, but the adjustment of the present charging current output by the charging circuit is stopped, and the adjustment of the present charging currents output by other charging circuits is continued.
Step 2037, if the charging voltage reduced by the charging circuit is smaller than the first voltage threshold, an error is reported and the adjustment is stopped.
The first voltage threshold is used for determining whether the current charging voltage output by the charging circuit can be reduced, and the first voltage threshold can be set according to the charging parameters of the adapter and the lowest voltage at which the portable chargeable device can be charged.
Similar to step 2034, in order to ensure normal charging of the portable rechargeable device, after the charging voltage of the charging circuit is reduced, the reduced charging voltage of the charging circuit needs to be detected to determine whether the reduced charging voltage is less than the first voltage threshold. If the reduced charging voltage is smaller than the first voltage threshold, it indicates that the charging voltage of the current charging circuit is abnormal, and an error needs to be reported in time, and the adjustment of the current charging current is stopped.
Step 2038, if the charging voltage reduced by the charging circuit is not less than the first voltage threshold, determining whether the time taken to adjust the current charging current is time out.
Step 2038 is similar to step 2035 and will not be described herein again.
In step 2039, if the time taken to adjust the current charging current is not time out, the current charging current output by the charging circuit is adjusted again.
If the counted number of times is less than or equal to the preset maximum adjustment number of times, or if the timed duration is less than or equal to the preset maximum adjustment duration, it indicates that the time taken to adjust the charging current is not overtime, step 2031 and step 2032 may be executed again, the charging current output by the charging circuit is detected again, and compared with the reference charging current corresponding to the charging circuit, and the comparison result is obtained again until the charging current is adjusted, or the adjustment of the charging current is stopped.
Step 20310, if the time taken to adjust the current charging current is time-out, it is determined whether the difference between the current charging current and the reference charging current is greater than a second current threshold.
Wherein the second current threshold is used to determine whether an abnormality occurs in the charging process, and the second current threshold is greater than the first current threshold in step 2033 and step 2036.
After determining that the adjustment for the present charging current has timed out, the charging controller may further confirm whether an abnormality has occurred in the charging circuit or the adapter. Accordingly, the charge controller may compare the difference (or the absolute value of the difference) between the current charging current and the reference charging current with the preset second current threshold based on the difference between the current charging current and the reference charging current obtained in step 2032.
If the absolute value of the difference between the current charging current and the reference charging current is greater than the second current threshold, it indicates that the current charging current output by the charging circuit is too large in difference from the reference charging current of the charging policy, and the charging circuit and/or the adapter may be abnormal, step 20311 may be performed to report an error, and the adjustment of the current charging current is stopped.
If the absolute value of the difference between the current charging current and the reference charging current is smaller than or equal to the second current threshold, it indicates that the current charging current output by the charging circuit has a smaller difference from the reference charging current of the charging policy, and neither the charging circuit nor the adapter is abnormal, step 20312 may be executed to stop adjusting the current charging current, so as to continue to adjust in the next traversal process, and avoid that it takes more time to adjust the current charging current.
Step 20311, if the difference between the current charging current and the reference charging current is greater than the second current threshold, stopping adjusting the current charging current and reporting an error.
After the difference (absolute value of the difference) between the current charging current and the reference charging current is determined to be greater than the second current threshold, the charging controller can stop adjusting the current charging current output by the charging circuit, and report an error through the portable rechargeable device, so as to remind a user that the charging circuit of the portable rechargeable device or an adapter corresponding to the charging circuit is abnormal, and ask the user to check in time, thereby avoiding safety accidents.
Step 20312, if the difference between the current charging current and the reference charging current is less than or equal to the second current threshold, stopping adjusting the current charging current.
Similar to step 20311, after determining that the difference (absolute value of the difference) between the present charging current and the reference charging current is less than or equal to the second current threshold, the charging controller may stop adjusting the present charging current output by the charging circuit, but without error reporting by the portable rechargeable device.
It should be noted that, when the current output current of each charging circuit is traversed in step 203, if the current output by a certain charging circuit is abnormal, which results in an error report of the portable rechargeable device, it indicates that the charging circuit is abnormal, or an adapter connected to the charging circuit is abnormal, the portable rechargeable device may remove the charging branch where the charging circuit is located, set the charging circuit in a high-impedance state, and stop charging the battery through the charging circuit.
For example, the portable rechargeable device includes N charging circuits connected to the adapter for charging, and if the current charging current output by the ith charging circuit is abnormal, the ith charging circuit may be set to a high impedance state, and charging of the battery by the ith charging circuit may be stopped. Moreover, the number of adapters connected with the portable chargeable device is changed from N to N-1, and the numbers corresponding to the i +1, i +2 to the Nth charging circuits are adjusted to i, i +1 to N-1.
And step 204, judging whether the battery voltage is smaller than a third voltage threshold value.
Wherein a third voltage threshold is used to determine whether the portable rechargeable device can be charged in a constant voltage mode, the third voltage threshold being related to a battery characteristic of a battery in the portable rechargeable device. For example, the third voltage threshold may be 4.4V or 13.2V.
Also, the battery voltage is the voltage across the battery of the portable rechargeable device. If the battery voltage is higher, the battery capacity is higher. In addition, as the voltage of the battery increases, the charging current transmitted to the battery by each charging circuit also decreases. Correspondingly, when the charging is finished, the battery electric quantity is the highest, the battery voltage is the highest, and the charging current is the smallest.
After the current charging current output by each charging circuit is traversed and adjusted, the portable rechargeable device can detect the voltage of the battery and compare the voltage of the battery with a preset third voltage threshold value to determine the charging progress of the battery, so that whether constant-voltage low-current charging can be performed on the battery can be determined according to the charging progress.
If the battery voltage is less than the voltage parameter indicated by the third voltage threshold, it indicates that the battery still needs to be charged with a large amount of electric energy, step 203 may be executed again, the current charging current is continuously adjusted, and the above steps 203 to 204 are repeated until the battery voltage is not less than the third voltage threshold, and the low-current charging may be performed in the constant voltage mode.
If the battery voltage is not less than the voltage parameter indicated by the third voltage threshold, it indicates that the battery power reaches a certain level, and step 205 may be executed to perform low-current charging in a constant-voltage mode, so as to avoid damage to the battery.
It should be noted that, in the embodiment of the present application, the step 203 is executed first, and then the step 204 is executed as an example, but in an actual application, the step 204 may also be executed in the process of executing the step 203, so that the step 203 and the step 204 are executed simultaneously, and the order of the step 203 and the step 204 is not limited in the embodiment of the present application.
And step 205, reducing the reference charging current corresponding to each adapter.
After comparing the electric field voltage with the third voltage threshold, if the battery voltage is greater than or equal to the third voltage threshold, it indicates that the battery voltage is higher, and the current electric quantity of the battery is not suitable for large-current charging, and it is necessary to switch to the constant-voltage mode for small-current charging.
Thus, the portable chargeable device may reformulate the charging strategy, again assigning a reference charging current and a reference charging voltage to each adapter and corresponding charging circuit. Specifically, the portable chargeable device may decrease the reference charging current corresponding to each charging circuit according to a preset current variation amount.
For example, the ith charging circuit corresponds to a primary reference charging current of I 0 (i) If the preset current variation is dI (e.g., 10 milliamperes (mA)), the updated reference charging current corresponding to the I-th charging circuit is I 1 (i)=I 0 (i)-dI。
It should be noted that the process of reducing the current charging current output by each charging circuit is similar to the process of adjusting the current charging circuit in step 203, and is not described herein again.
And step 206, judging whether the total charging current is larger than a third current threshold value.
The total charging current is the sum of the current charging currents output by the charging circuits. Also, the third current threshold is used to determine whether the portable rechargeable device can be charged in the single adapter mode. If the total charging current is not greater than the third current threshold (e.g., 3A), the portable rechargeable device can enter a single adapter charging mode, i.e., charging via one adapter.
In addition, the third current threshold may be set in combination with the charging current that each adapter can provide, depending on whether the portable rechargeable device can generate heat when each adapter is charged alone. For example, if the rated current for adapter a is 1A, the rated current for adapter B is 0.5A, and the rated current for adapter C is 2A, the rated current for adapter C may be determined as the third current threshold.
After the reference charging current corresponding to each adapter is reduced, the current charging current output by the charging circuit corresponding to each adapter is also reduced synchronously after adjustment. Then, the portable rechargeable device can determine the current charging current output by each charging circuit through the charging controller, so as to determine the total charging current and judge whether the portable rechargeable device can enter the single-adapter charging mode.
Specifically, each charging circuit in the portable rechargeable device may detect a current charging current output by the charging circuit according to the corresponding current detection circuit, and then feed back the current charging current to the charging controller through the signal line. Correspondingly, the charging controller can add up each current charging current according to each current charging current fed back to obtain the total charging current.
And then, the portable rechargeable device can compare the magnitude relation between the total charging current and the third current threshold value through the charging controller, so that whether the portable rechargeable device can enter a single-adapter charging mode or not can be determined according to the magnitude relation between the total charging current and the third current threshold value, further, the current charging current output by each charging circuit is determined to be continuously adjusted, or a plurality of charging circuits are set to be in a high-impedance state, and only one charging circuit is reserved for charging.
If the total charging current is not greater than the third current threshold, that is, the total charging current is less than or equal to the third current threshold, which indicates that the charging current required by the portable rechargeable device is smaller, step 207 may be executed to perform charging in the single adapter charging mode.
If the total charging current is greater than the third current threshold, it indicates that the charging current required by the portable rechargeable device is still large, and the current output by only one adapter cannot reach the total charging current, or the portable rechargeable device may generate heat when charging is performed by only one adapter, step 203 needs to be performed again, the current charging current output by each charging circuit is adjusted according to the reduced reference current, so as to reduce the total charging current, and the above steps 203 to 206 are repeated until the adjusted total charging current is not greater than the third current threshold.
And step 207, charging through a target adapter in each adapter.
Wherein the target adapter may be an adapter capable of providing a maximum charging current among the plurality of adapters.
If the total charging current is less than or equal to the third current threshold, it indicates that the charging of the portable rechargeable device can be completed through a certain adapter, and the portable rechargeable device does not generate heat, and a plurality of adapters are not required to charge the portable rechargeable device at the same time.
Specifically, after determining that the total charging current is not greater than the third current threshold, the charging controller may select a target adapter capable of providing the maximum charging current from the plurality of adapters, and set the charging circuit corresponding to the other adapter to a high impedance state, so that the portable rechargeable device cannot be charged through the other adapter any longer, and can only be charged through the target adapter.
It should be noted that, in practical applications, the portable rechargeable device may be charged by multiple adapters of the same model, and then the multiple adapters may be all used as target adapters. Moreover, when it is determined that the total charging current is not greater than the third current threshold, the charging may be continued through any one of the target adapters, and the charging of the other target adapters is stopped.
In addition, after the portable rechargeable device is charged in the single-adapter charging mode, the user can be reminded to pull out all adapters except the target adapter from the multiple adapters, and therefore potential safety hazards are reduced. For example, the portable rechargeable device may broadcast and/or display, by means of voice and/or image, information that the portable rechargeable device has started to perform charging in the single-adapter charging mode, and remind the user to pull out an adapter, which is not currently used for charging, from the portable rechargeable device; in addition, in the reminding process, the adapters which can be pulled out can be marked and indicated through parameters and the like of each adapter.
In addition, it should be noted that, while the above steps 206 to 207 describe the process of charging the portable rechargeable device in the single-adapter charging mode, in practical applications, the charging may be performed in the multi-adapter mode continuously instead of the single-adapter charging mode until the charging is completed. That is, in practical applications, the portable chargeable device may not perform step 206 to step 207, and after performing step 205, perform step 208.
Step 208, detecting whether the current charging current output by the target charging circuit is greater than a fourth current threshold.
And the target charging circuit is a charging circuit corresponding to the target adapter.
Also, the fourth current threshold is used to determine whether the portable rechargeable device is fully charged. If the present charging current is less than or equal to the fourth current threshold, it may be considered that the battery of the portable rechargeable device is charged. The fourth current threshold may be set according to the battery capacity, and the larger the battery capacity is, the larger the fourth current threshold is, for example, the fourth current threshold may be 100 mA.
After the portable rechargeable device is charged in the single-adapter charging mode, the current charging current can be continuously detected, namely the current charging current output by the target charging circuit is detected, and whether the charging of the battery of the portable rechargeable device is finished or not is determined.
Based on the relationship between the battery voltage and the battery power introduced in step 204, when the power of the battery gradually increases, the battery voltage also gradually increases, the voltage difference between the battery voltage and the target charging circuit gradually decreases, and the current charging current output by the target charging circuit also gradually decreases. When the current charging current output by the target charging circuit is reduced to a certain degree, the voltage of the battery is close to or the same as the voltage of the target charging circuit, and the battery is charged completely.
Correspondingly, after the current charging current output by the target charging circuit is obtained, the portable rechargeable device can compare the current charging current with a preset fourth current threshold value through the charging controller to determine the magnitude relation between the current charging current and the fourth current threshold value, so that whether charging is finished or not can be judged according to the magnitude relation between the current charging current and the fourth current threshold value.
If the current charging current is greater than the fourth current threshold, it indicates that the battery is not completely charged, and a certain voltage difference still exists between the battery voltage and the current charging voltage of the target charging circuit, the battery may be continuously charged in the single adapter mode, that is, step 207 to step 208 may be cyclically performed, the portable rechargeable device may be continuously charged, and the current charging current output by the target charging circuit may be detected again until the current charging current is less than or equal to the fourth current threshold.
If the present charging current is less than or equal to the fourth current threshold, which indicates that the battery has been charged, step 209 may be executed to stop charging.
Step 209, stop charging.
After the current charging current is compared with the fourth current threshold, if the current charging current is smaller than or equal to the fourth current threshold, it is indicated that the voltage of the battery is close to or the same as the voltage of the target charging circuit, and the battery is charged completely without continuing charging, so that the target charging circuit can be set to be in a high-impedance state, and the charging of the portable chargeable device through the target adapter is stopped.
Moreover, the portable rechargeable device can remind a user that the battery is charged, and the target adapter can be pulled out, so that potential safety hazards are reduced, and the charging safety of the portable rechargeable device is improved. For example, similar to the example in step 207, the portable rechargeable device may report and/or show to the user that the portable rechargeable device is charged by voice and/or image, and please pull the adapter out of the portable rechargeable device in time.
It should be noted that, the embodiment of the present application is only described as an example of a charging circuit configured by applying to a non-direct charging element, and in practical applications, the charging method provided by the embodiment of the present application may also be applied to a charging circuit configured by a direct charging element, or simultaneously applied to a charging circuit including a direct charging element and/or a non-direct charging element, and the composition of the charging circuit is not limited in the embodiment of the present application.
To sum up, according to the charging method provided by the embodiment of the application, in the process of charging the portable rechargeable device by the plurality of adapters, each adapter is connected with the corresponding charging circuit in the portable rechargeable device, the current charging current output by each charging circuit is detected, and then each charging circuit is adjusted according to the detection result, so that the current charging current output by each charging circuit is matched with the charging strategy formulated according to each adapter, the charging power of each adapter can be reasonably distributed, each adapter is controlled to work in the best state, and the charging efficiency and flexibility of the portable rechargeable device can be improved.
Furthermore, the charging method proposed by the present application, based on non-direct charging elements, can reach a charge of 50 watts per hour (Wh) in 20 minutes, which is about 77% of the charge of the battery of the portable rechargeable device. Whereas in the prior art, charging was performed via a single adapter, the charge was only 30Wh in 20 minutes, which is about 46% of the charge of the battery of the portable rechargeable device. By adopting the charging method provided by the application to charge, the charging speed can be improved by about 66%.
In addition, under the condition of equal charging power and equal path impedance, the charging method provided by the embodiment of the application can effectively reduce the heat generation phenomenon of the portable rechargeable device, and compared with the single-adapter charging, the multi-adapter charging method based on the non-direct charging element in the embodiment of the application has the advantage that the heat generation is only 1/4 generated when the single-adapter is charged. For example, when a single adapter and the multi-adapter provided by the present application are respectively used to charge a notebook computer under a power of 90 watts (W), the palm rest maximum temperature of the notebook computer can reach 36.8 ℃ when the single adapter is used for charging, and the palm rest maximum temperature of the notebook computer is only 30 ℃ when the multi-adapter provided by the present application is used for charging.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Corresponding to the charging method described in the foregoing embodiment, an embodiment of the present application further provides a charging device having a function of implementing the charging method corresponding to any one of fig. 1A to fig. 4, which is not described herein again.
The electronic device according to the embodiment of the present application is described below by taking a terminal device as an example. Referring to fig. 5, fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure.
The terminal device may include a processor 510, an external memory interface 520, an internal memory 521, a Universal Serial Bus (USB) interface 530, a charging management module 540, a power management module 541, a battery 542, an antenna 1, an antenna 2, a mobile communication module 550, a wireless communication module 560, an audio module 570, a speaker 570A, a receiver 570B, a microphone 570C, an earphone interface 570D, a sensor module 580, a button 590, a motor 591, a pointer 592, a camera 593, a display 594, a Subscriber Identification Module (SIM) card interface 595, and the like. The sensor module 580 may include a pressure sensor 580A, a gyroscope sensor 580B, an air pressure sensor 580C, a magnetic sensor 580D, an acceleration sensor 580E, a distance sensor 580F, a proximity light sensor 580G, a fingerprint sensor 580H, a temperature sensor 580J, a touch sensor 580K, an ambient light sensor 580L, a bone conduction sensor 580M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the terminal device. In other embodiments of the present application, a terminal device may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components may be used. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 510 may include one or more processing units, such as: processor 510 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), among others. The different processing units may be separate devices or may be integrated into one or more processors.
The controller can be a neural center and a command center of the terminal equipment. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 510 for storing instructions and data. In some embodiments, the memory in processor 510 is a cache memory. The memory may hold instructions or data that have just been used or recycled by processor 510. If the processor 510 needs to use the instruction or data again, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 510, thereby increasing the efficiency of the system.
In some embodiments, processor 510 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 510 may include multiple sets of I2C buses. The processor 510 may be coupled to the touch sensor 580K, the charger, the flash, the camera 593, etc. through different I2C bus interfaces. For example: the processor 510 may be coupled to the touch sensor 580K through an I2C interface, so that the processor 510 and the touch sensor 580K communicate through an I2C bus interface to implement the touch function of the terminal device.
The I2S interface may be used for audio communication. In some embodiments, processor 510 may include multiple sets of I2S buses. The processor 510 may be coupled to the audio module 570 via an I2S bus to enable communication between the processor 510 and the audio module 570. In some embodiments, the audio module 570 can communicate audio signals to the wireless communication module 560 through the I2S interface to enable answering a call through a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 570 and the wireless communication module 560 may be coupled by a PCM bus interface. In some embodiments, the audio module 570 can also transmit audio signals to the wireless communication module 560 through the PCM interface, so as to receive phone calls through the bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 510 with the wireless communication module 560. For example: the processor 510 communicates with the bluetooth module in the wireless communication module 560 through the UART interface to implement the bluetooth function. In some embodiments, the audio module 570 can transmit the audio signal to the wireless communication module 560 through the UART interface, so as to realize the function of playing music through the bluetooth headset.
The MIPI interface may be used to connect the processor 510 with peripheral devices such as the display screen 594, the camera 593, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 510 and camera 593 communicate through a CSI interface to implement the shooting function of the terminal device. The processor 510 and the display screen 594 communicate through the DSI interface, so that the display function of the terminal device is realized.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 510 with the camera 593, the display screen 594, the wireless communication module 560, the audio module 570, the sensor module 580, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 530 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 530 may be used to connect a charger to charge the terminal device, and may also be used to transmit data between the terminal device and the peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other terminal devices, such as AR devices and the like.
It should be understood that the interface connection relationship between the modules in the embodiment of the present invention is only an exemplary illustration, and does not form a structural limitation on the terminal device. In other embodiments of the present application, the terminal device may also adopt different interface connection manners or a combination of multiple interface connection manners in the foregoing embodiments.
The charging management module 540 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 540 may receive charging input from a wired charger via the USB interface 530. In some wireless charging embodiments, the charging management module 540 may receive the wireless charging input through a wireless charging coil of the terminal device. The charging management module 540 may also supply power to the terminal device through the power management module 541 while charging the battery 542.
The power management module 541 is used to connect 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, and provides power to the processor 510, the internal memory 521, the external memory, the display 594, the camera 593, the wireless communication module 560, and the like. The power management module 541 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 541 may also be disposed in the processor 510. In other embodiments, the power management module 541 and the charging management module 540 may be disposed in the same device.
The wireless communication function of the terminal device may be implemented by the antenna 1, the antenna 2, the mobile communication module 550, the wireless communication module 560, the modem processor, the baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in a terminal device may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 550 may provide a solution including 2G/3G/4G/5G wireless communication applied on a terminal device. The mobile communication module 550 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 550 can receive electromagnetic waves from the antenna 1, and can perform filtering, amplification, and other processing on the received electromagnetic waves, and transmit the electromagnetic waves to the modem processor for demodulation. The mobile communication module 550 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 550 may be disposed in the processor 510. In some embodiments, at least some of the functional modules of the mobile communication module 550 may be disposed in the same device as at least some of the modules of the processor 510.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 570A, the receiver 570B, etc.) or displays images or videos through the display screen 594. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be separate from the processor 510, and may be located in the same device as the mobile communication module 550 or other functional modules.
The wireless communication module 560 may provide a solution for wireless communication applied to a terminal device, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 560 may be one or more devices integrating at least one communication processing module. The wireless communication module 560 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 510. The wireless communication module 560 may also receive a signal to be transmitted from the processor 510, frequency-modulate it, amplify it, and convert it into electromagnetic waves via the antenna 2 to radiate it.
In some embodiments, the terminal device's antenna 1 is coupled to the mobile communication module 550 and the antenna 2 is coupled to the wireless communication module 560 so that the terminal device can communicate with the network and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The terminal device realizes the display function through the GPU, the display screen 594, the application processor and the like. The GPU is an image processing microprocessor connected to a display screen 594 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 510 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 594 is used for displaying images, video, and the like. The display screen 594 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the terminal device may include 1 or N display screens 594, N being a positive integer greater than 1.
The internal memory 521 may be used to store computer-executable program code, including instructions. The processor 510 executes various functional applications of the terminal device and data processing by executing instructions stored in the internal memory 521. The internal memory 521 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, a phonebook, etc.) created during use of the terminal device, and the like. In addition, the internal memory 521 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The terminal device can implement an audio function through the audio module 570, the speaker 570A, the receiver 570B, the microphone 570C, the headphone interface 570D, the application processor, and the like. Such as music playing, recording, etc.
The audio module 570 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 570 may also be used to encode and decode audio signals. In some embodiments, the audio module 570 may be disposed in the processor 510, or some functional modules of the audio module 570 may be disposed in the processor 510.
The speaker 570A, also called a "horn", is used to convert electrical audio signals into sound signals. The terminal device can listen to music through the speaker 570A or listen to a handsfree call.
Receiver 570B, also known as a "handset," is used to convert electrical audio signals into acoustic signals. When the terminal device answers a call or voice information, it can answer a voice by bringing the receiver 570B close to the ear of the person.
The microphone 570C, also known as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal into the microphone 570C by speaking the user's mouth near the microphone 570C. The terminal device may be provided with at least one microphone 570C. In other embodiments, the terminal device may be provided with two microphones 570C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the terminal device may further include three, four, or more microphones 570C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
The keys 590 include a power-on key, a volume key, etc. The keys 590 may be mechanical keys. Or may be touch keys. The terminal device may receive a key input, and generate a key signal input related to user setting and function control of the terminal device.
The motor 591 may generate a vibration indication. The motor 591 can be used for incoming call vibration prompt and also can be used for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 591 may also respond to different vibration feedback effects for touch operations on different areas of the display screen 594. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 592 can be an indicator light that can be used to indicate a charge status, a charge change, a message, a missed call, a notification, etc.
The SIM card interface 595 is used to connect a SIM card. The SIM card can be connected to and disconnected from the terminal device by being inserted into the SIM card interface 595 or being pulled out of the SIM card interface 595. The terminal equipment can support 1 or N SIM card interfaces, and N is a positive integer greater than 1. The SIM card interface 595 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. Multiple cards can be inserted into the same SIM card interface 595 at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 595 may also be compatible with different types of SIM cards. The SIM card interface 595 may also be compatible with an external memory card. The terminal equipment interacts with the network through the SIM card to realize functions of conversation, data communication and the like. In some embodiments, the end-point device employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the terminal device and cannot be separated from the terminal device.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or apparatus capable of carrying computer program code to an electronic device, a recording medium, computer Memory, Read-Only Memory (ROM), Random-Access Memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In some jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and proprietary practices.
Finally, it should be noted that: the above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (15)

1. A charging method applied to an electronic device includes:
when a plurality of adapters are connected, determining charging parameters corresponding to each adapter;
according to the charging parameters, determining reference charging currents corresponding to the charging circuits, wherein the adapters correspond to the charging circuits in a one-to-one mode and are connected with the charging circuits;
and adjusting the current charging current output by each charging circuit according to each reference charging current.
2. The method of claim 1, wherein said adjusting a present charging current output by each of said charging circuits according to each of said reference charging currents comprises:
for each charging circuit, acquiring the current charging current output by the charging circuit;
And adjusting the current charging current according to the magnitude relation between the current charging current and the reference charging current corresponding to the charging circuit.
3. The method of claim 2, wherein the adjusting the present charging current according to a magnitude relationship between the present charging current and a reference charging current corresponding to the charging circuit comprises:
if the current charging current is greater than the reference charging current and the difference value between the current charging current and the reference charging current is greater than a first current threshold, reducing the current charging voltage of the charging circuit;
if the current charging current is smaller than the reference charging current and the difference value between the current charging current and the reference charging current is larger than the first current threshold, the current charging voltage of the charging circuit is increased;
and if the difference value between the current charging current and the reference charging current is smaller than or equal to the first current threshold, stopping adjusting the current charging current.
4. The method of claim 3, wherein after said reducing the present charging voltage of the charging circuit, the method further comprises:
Comparing the magnitude relation between the reduced voltage of the charging circuit and a first voltage threshold value, wherein the first voltage threshold value is used for determining whether the current charging voltage output by the charging circuit can be reduced or not;
and if the reduced voltage is smaller than the first voltage threshold, stopping adjusting the current charging current and reporting an error.
5. The method of claim 3, wherein after said increasing the present charging voltage of the charging circuit, the method further comprises:
comparing the magnitude relation between the increased voltage of the charging circuit and a second voltage threshold value, wherein the second voltage threshold value is used for determining whether the current charging voltage output by the charging circuit can be increased or not;
and if the increased voltage is greater than the second voltage threshold, stopping adjusting the current charging current and reporting an error.
6. The method according to claim 4 or 5, further comprising:
if the reduced voltage is greater than or equal to a first voltage threshold, or the increased voltage is less than or equal to a second voltage threshold, determining whether the time spent on adjusting the current charging current is overtime;
If the time spent on adjusting the current charging current is not overtime, continuing to adjust the current charging current;
and if the time spent on adjusting the current charging current is overtime, stopping adjusting the current charging current.
7. The method of claim 6, wherein the stopping the adjustment of the present charging current comprises:
if the difference value between the current charging current and the reference charging current is smaller than or equal to a preset second current threshold value, stopping adjusting the current charging current, wherein the second current threshold value is larger than the first current threshold value;
and if the difference value between the current charging current and the reference charging current is larger than the second current threshold, stopping adjusting the current charging current and reporting an error.
8. The method of any of claims 1 to 7, wherein after said determining the charging parameters for each of said adapters, said method further comprises:
acquiring battery voltage, wherein the battery voltage is the voltage at two ends of a battery of the electronic equipment;
if the battery voltage is greater than or equal to a third voltage threshold, reducing the reference charging current corresponding to each charging circuit, wherein the third voltage threshold is used for determining whether the electronic equipment can be charged in a constant voltage mode;
And adjusting the current charging current output by each charging circuit according to each reduced reference charging current.
9. The method of claim 8, wherein after said adjusting a present charging current output by each of said charging circuits according to each reduced reference charging current, said method further comprises:
determining a total charging current according to the current charging current output by each charging circuit;
if the total charging current is smaller than or equal to a third current threshold, charging in a single adapter mode through a target adapter in each adapter, wherein the third current threshold is used for determining whether the electronic equipment can be charged in the single adapter mode;
if the total charging current is greater than the third current threshold, adjusting the current charging current output by each charging circuit again according to each reduced reference charging current until the total charging current is less than or equal to the third current threshold.
10. The method of claim 9, wherein after said charging in single adapter mode by a target adapter of the respective adapters, the method further comprises:
Acquiring current charging current output by a target charging circuit, wherein the target charging circuit is a charging circuit connected with the target adapter;
if the current charging current output by the target charging circuit is smaller than or equal to a fourth current threshold, stopping charging, wherein the fourth current threshold is used for determining whether the electronic equipment is charged completely;
if the current charging current output by the target charging circuit is larger than the fourth current threshold, the current charging current output by the target charging circuit is obtained again until the current charging current output by the target charging circuit is smaller than or equal to the fourth current threshold.
11. The method of any one of claims 1 to 10, further comprising:
detecting whether the number of adapters connected with the electronic equipment changes;
if the number of the adapters connected with the electronic equipment is not changed, the current charging current output by each charging circuit is continuously adjusted according to each reference charging current;
and if the number of the adapters connected with the electronic equipment is changed, re-determining the reference charging current corresponding to each charging circuit.
12. An electronic device, comprising: the charging device comprises a charging controller, a battery, a plurality of charging circuits and a plurality of charging ports, wherein the plurality of charging circuits correspond to the plurality of charging ports one to one;
the input end of each charging circuit is connected with the corresponding charging port, the output end of each charging circuit is connected with the battery, and each charging circuit is also connected with the charging controller;
the charging controller is configured to run a computer program stored in a memory to cause the electronic device to implement the charging method according to any one of claims 1 to 11.
13. The electronic device of claim 12, further comprising: the charging circuits are respectively in one-to-one correspondence with the reverse-filling prevention circuits and the current detection circuits;
each anti-reverse-filling circuit is connected between the corresponding charging circuit and the battery in series, and the input end of each current detection circuit is connected with the output end of the corresponding charging circuit;
the current detection circuit is used for monitoring the charging current output by the charging circuit;
The reverse-flow prevention circuit is used for preventing charging current from flowing into the charging circuit from the battery.
14. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the charging method according to any one of claims 1 to 11.
15. A chip system, comprising a memory and a processor, wherein the processor executes a computer program stored in the memory to implement the charging method according to any one of claims 1 to 11.
CN202210344906.XA 2022-03-31 2022-03-31 Charging method, electronic device, computer-readable storage medium, and chip system Pending CN114844144A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210344906.XA CN114844144A (en) 2022-03-31 2022-03-31 Charging method, electronic device, computer-readable storage medium, and chip system
PCT/CN2023/083755 WO2023185685A1 (en) 2022-03-31 2023-03-24 Charging method, electronic device, computer-readable storage medium, and chip system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210344906.XA CN114844144A (en) 2022-03-31 2022-03-31 Charging method, electronic device, computer-readable storage medium, and chip system

Publications (1)

Publication Number Publication Date
CN114844144A true CN114844144A (en) 2022-08-02

Family

ID=82564555

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210344906.XA Pending CN114844144A (en) 2022-03-31 2022-03-31 Charging method, electronic device, computer-readable storage medium, and chip system

Country Status (2)

Country Link
CN (1) CN114844144A (en)
WO (1) WO2023185685A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116155081A (en) * 2023-04-23 2023-05-23 深圳市澳博森科技有限公司 Overload adjustment method and device based on multiport power adapter
WO2023185685A1 (en) * 2022-03-31 2023-10-05 华为技术有限公司 Charging method, electronic device, computer-readable storage medium, and chip system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010022118A (en) * 2008-07-09 2010-01-28 Panasonic Corp Charging device
US20200083740A1 (en) * 2018-09-11 2020-03-12 Dell Products L.P. Load-based management of multiple dc power sources
WO2020061983A1 (en) * 2018-09-28 2020-04-02 深圳市柔宇科技有限公司 Charge control method and electronic device
CN111162593A (en) * 2019-06-04 2020-05-15 深圳传音控股股份有限公司 Charging control method, intelligent terminal, charging system and readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114844144A (en) * 2022-03-31 2022-08-02 华为技术有限公司 Charging method, electronic device, computer-readable storage medium, and chip system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010022118A (en) * 2008-07-09 2010-01-28 Panasonic Corp Charging device
US20200083740A1 (en) * 2018-09-11 2020-03-12 Dell Products L.P. Load-based management of multiple dc power sources
WO2020061983A1 (en) * 2018-09-28 2020-04-02 深圳市柔宇科技有限公司 Charge control method and electronic device
CN111162593A (en) * 2019-06-04 2020-05-15 深圳传音控股股份有限公司 Charging control method, intelligent terminal, charging system and readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023185685A1 (en) * 2022-03-31 2023-10-05 华为技术有限公司 Charging method, electronic device, computer-readable storage medium, and chip system
CN116155081A (en) * 2023-04-23 2023-05-23 深圳市澳博森科技有限公司 Overload adjustment method and device based on multiport power adapter
CN116155081B (en) * 2023-04-23 2023-06-27 深圳市澳博森科技有限公司 Overload adjustment method and device based on multiport power adapter

Also Published As

Publication number Publication date
WO2023185685A1 (en) 2023-10-05

Similar Documents

Publication Publication Date Title
CN113382397B (en) Bluetooth connection method, device and system
WO2023185685A1 (en) Charging method, electronic device, computer-readable storage medium, and chip system
CN113163435B (en) Method for determining back-off power and method for adjusting transmission power
CN111601199A (en) Wireless earphone box and system
CN114710768B (en) Bluetooth connection method and related device
US11553268B2 (en) Wireless headset
CN112806092B (en) Microphone MIC switching method and device
CN114079892A (en) Bluetooth communication method, wearable device and system
EP4283826A1 (en) Charging circuit, charging control method and electronic device
CN111385777A (en) TWS earphone low-power reminding method and electronic equipment
CN112737566A (en) Interface conversion circuit and electronic equipment
CN210725254U (en) Wireless earphone
WO2024027492A1 (en) Charging method, electronic device, computer-readable storage medium, and chip system
EP4050754B1 (en) Power supply system, and electronic device
CN116054299B (en) Electronic equipment
CN107996027B (en) Earphone control device and wired earphone
WO2022041681A1 (en) Wireless earpieces, method for controlling wireless earpieces, and storage medium
CN114123385A (en) Charging and discharging circuit, charging method and electronic equipment
CN114915359A (en) Method, device, electronic equipment and readable storage medium for selecting channel
CN219834364U (en) Audio circuit and terminal equipment
CN114449492B (en) Data transmission method and terminal equipment
CN116707050B (en) Method and device for recording charge and discharge times, electronic equipment and readable storage medium
CN210247016U (en) Bluetooth headset is worn to neck
CN216489841U (en) Charging and discharging circuit and electronic equipment
CN110010984B (en) Management method of battery pack and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination