CN117834315A - Control method and electronic equipment - Google Patents

Control method and electronic equipment Download PDF

Info

Publication number
CN117834315A
CN117834315A CN202311865079.XA CN202311865079A CN117834315A CN 117834315 A CN117834315 A CN 117834315A CN 202311865079 A CN202311865079 A CN 202311865079A CN 117834315 A CN117834315 A CN 117834315A
Authority
CN
China
Prior art keywords
charging
target
current
communication channel
obtaining
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
CN202311865079.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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202311865079.XA priority Critical patent/CN117834315A/en
Publication of CN117834315A publication Critical patent/CN117834315A/en
Pending legal-status Critical Current

Links

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application provides a control method and electronic equipment. The control method comprises the following steps: obtaining target parameters; if the target parameter characterizes the communication channel to be affected by the charging loop, obtaining a target charging current; the communication channel is established between the charging adapter and the charging equipment; the charging loop is a loop established by the charging adapter and a battery of the charging equipment; the communication channel is at least used for sending a plurality of charging currents included by the target strategy in the process that the charging equipment charges the battery of the charging equipment by using the charging adapter based on the target strategy; and if the target strategy indicates that the maximum charging current in the plurality of charging currents is adopted, sending the target charging current through the communication channel, wherein each of the plurality of charging currents corresponds to a different stage of the charging process of the battery by the target strategy.

Description

Control method and electronic equipment
Technical Field
The present disclosure relates to the field of controlling electronic devices, and in particular, to a control method and an electronic device.
Background
Currently, charging is performed between an electronic device and a charging device through a charging wire connection such as a universal serial bus (Universal Serial Bus, USB) data line. In the charging process, one end of the charging wire connected with the electronic equipment is provided with a wire grounding end (GND), and the other end connected with the charging equipment is also provided with a GND end. There is a voltage drop at the two GND terminals, and the larger the GND line impedance, the larger the charging current, and the larger the voltage drop at the wire Ground (GND) line. In the process of rapidly charging electronic equipment, the electronic equipment and the charging equipment need to perform real-time communication interaction for accurate control and safety requirements. However, because voltage drops exist at two ends of the GND, the waveform of the communication signal can generate a larger offset, so that the communication signal between the electronic equipment and the charging equipment is easy to identify and error, and the charging is disconnected.
Disclosure of Invention
Aiming at the technical problems in the prior art, the application provides a control method and electronic equipment.
In a first aspect, an embodiment of the present application provides a control method, where the method includes:
obtaining target parameters;
if the target parameter characterizes the communication channel to be affected by the charging loop, obtaining a target charging current; the communication channel is established between the charging adapter and the charging equipment; the charging loop is a loop established by the charging adapter and a battery of the charging equipment; the communication channel is at least used for sending a plurality of charging currents included by the target strategy in the process that the charging equipment charges the battery of the charging equipment by using the charging adapter based on the target strategy; and if the target strategy indicates that the maximum charging current in the plurality of charging currents is adopted, sending the target charging current through the communication channel, wherein each of the plurality of charging currents corresponds to a different stage of the charging process of the battery by the target strategy.
In some embodiments, the obtaining the target parameter comprises: obtaining an impedance value of a return channel of the charging loop; the obtaining the target charging current if the target parameter characterizes the communication channel as being affected by the charging loop comprises: and if the impedance value is matched with one of the configuration tables, obtaining the target charging current.
In some embodiments, the obtaining the target charging current if the target parameter characterizes the communication channel as being affected by the charging loop comprises: and if the impedance value is greater than an impedance threshold value, obtaining a target charging current based on the impedance value and a configuration table.
In some embodiments, the obtaining the impedance value of the return path of the charging loop comprises: notifying the charging adapter to operate at a target operating voltage and a target operating current through the communication channel; obtaining a first input voltage and a first input current; obtaining a second input voltage and a second input current; an impedance value of the return channel is calculated based on the first input voltage, the first input current, the second input voltage, and the second input current.
In some embodiments, before the obtaining the impedance value of the return path of the charging loop, the method further comprises: closing a charge pump in a charge path of the charge circuit; the obtaining a first input voltage and a first input current includes: adjusting a step-down pump in the charging path to work at a first threshold value to obtain a first input voltage and a first input current; the obtaining the second input voltage and the second input current includes: and adjusting a pressure reducing pump in the charging path to work at a second threshold value to obtain a second input voltage and a second input current.
In some embodiments, the obtaining the target parameter includes one of: acquiring target parameters before charging a battery of the charging equipment by using the charging adapter based on a target strategy; and obtaining target parameters by using the charging adapter to charge the battery of the charging equipment based on the target strategy.
In some embodiments, the process of charging the battery of the charging device with the charging adapter based on the target policy, the obtaining the target parameter includes: monitoring the communication channel; if a first charging current is sent through the communication channel, feedback information for the first charging current is not received.
In some embodiments, the obtaining the target charging current if the target parameter characterizes the communication channel as being affected by the charging loop comprises: closing a charge pump in a charge path of the charge loop to restore the communication channel to unaffected; the target charging current is obtained based on a first charging current reduction target current for sending to the charging adapter through the communication channel instead of the first charging current if a charge pump in a charging path of the charging loop is enabled.
In a second aspect, an embodiment of the present application provides an electronic device, including a battery and a processor, where a communication channel is established between the electronic device and a charging adapter, and a charging loop is established between the battery of the electronic device and the charging adapter, where the communication channel is at least used for sending, by the electronic device, a plurality of charging currents included in a target policy in a process that the electronic device charges the battery of the electronic device with the charging adapter based on the target policy, where each of the plurality of charging currents corresponds to different phases of a charging process performed by the target policy on the battery; the processor is configured to: obtaining target parameters; if the target parameter characterizes the communication channel to be influenced by the charging loop, obtaining a target charging current; and if the target strategy indicates that the maximum charging current in the plurality of charging currents is adopted, transmitting the target charging current through the communication channel.
In some embodiments, the electronic device further comprises a charge pump and a buck pump communicatively coupled to the processor,
the processor is further configured to:
closing a charge pump in a charge path of the charge circuit;
notifying the charging adapter to operate at a target operating voltage and a target operating current through the communication channel;
adjusting a step-down pump in the charging path to work at a first threshold value to obtain a first input voltage and a first input current;
adjusting a pressure reducing pump in the charging path to work at a second threshold value to obtain a second input voltage and a second input current;
calculating an impedance value of a return path of the charging loop based on the first input voltage, the first input current, the second input voltage, and the second input current;
and if the impedance value is matched with one of the configuration tables, obtaining the target charging current.
Drawings
In the drawings, which are not necessarily drawn to scale, like numerals may describe similar components in different views. The accompanying drawings illustrate various embodiments by way of example in general and not by way of limitation, and together with the description and claims serve to explain the disclosed embodiments. Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts. Such embodiments are illustrative and not intended to be exhaustive or exclusive of the present apparatus or method.
Fig. 1 is an application scenario diagram of a control method according to an embodiment of the present application;
FIG. 2 is a first flowchart of a control method according to an embodiment of the present application;
FIG. 3 is a second flowchart of a control method according to an embodiment of the present application;
FIG. 4 is a third flow chart of a control method according to an embodiment of the present application;
FIG. 5 is a fourth flowchart of a control method according to an embodiment of the present disclosure;
FIG. 6 is a fifth flowchart of a control method according to an embodiment of the present application;
FIG. 7 is a sixth flowchart of a control method according to an embodiment of the present disclosure;
fig. 8 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
It will be appreciated that various modifications may be made to the embodiments herein. Therefore, the above description should not be taken as limiting, but merely as exemplification of the embodiments. Other modifications within the scope and spirit of this application will occur to those skilled in the art.
The embodiment of the application provides a control method, which can be applied to a charging device 100, where the charging device 100 can be an electronic device, and the product form of the electronic device is not limited, and may include, but is not limited to, a smart phone, a tablet computer, a wearable device, a personal computer (personal computer, PC) and the like, and may be selected according to application requirements.
As shown in fig. 1, fig. 1 is an application scenario diagram of a control method according to an embodiment of the present application, where the charging adapter 200 is capable of supplying power to the charging device 100, it is understood that the greater the power supply capability of the charging adapter 200, the shorter the time it takes for charging the battery 3 of the charging device 100. The above-described power supply capability is related to the charging current supplied from the charging adapter 200, and the larger the charging current is, the larger the power supply capability is. Among them, the detection module 5 shown in fig. 1 can be understood as detecting the current supplied to the battery 3, and the charging device 100 can communicate with the charging adapter 200 via the communication channel through the communication module 4.
The charge pump 1 and the step-down pump 2 of the charging device 100 may be implemented to charge the battery 3 in cooperation, or may charge the battery 3 independently. The number of charge pumps 1 is not particularly limited in this application, and the two charge pumps 1 shown in fig. 1 are only examples.
As shown in fig. 2, the method includes steps S101 to S103.
Step S101: obtaining target parameters.
Alternatively, the above target parameter may be understood as an attribute parameter generated after the charging device 100 establishes a connection with the charging adapter 200, where the attribute parameter is unchanged during this charging process, and the attribute parameter may change with the use condition and the type of the charging device 100 and/or the charging adapter 200, for example, the target parameters corresponding to different charging adapters 200 are different, and an increase in the use time may cause a change in the target parameters corresponding to the charging adapter 200.
Step S102: if the target parameter characterizes the communication channel to be affected by the charging loop, obtaining a target charging current; wherein, the communication channel is a communication channel established by the charging adapter 200 and the charging device 100; the charging circuit is a circuit established between the charging adapter 200 and the battery 3 of the charging device 100; the communication channel is at least used for transmitting a plurality of charging currents included in a target policy during a process of charging the battery 3 of the charging device 100 by the charging adapter 200 based on the target policy by the charging device 100.
The above-described target parameter relates to stability of the communication channel established between the charging adapter 200 and the charging device 100. For example, in the case that the target parameter exceeds a preset threshold, it may be indicated that the communication channel is affected by the charging loop; in case the target parameter does not exceed the preset threshold value, it may be indicated that the communication channel is not affected by the charging loop.
The communication channel being affected by the charging circuit is understood to be that the communication channel may be affected by the charging circuit, whereas the effect does not occur, or that the communication channel has been affected by the charging circuit, at which point the effect has occurred. The charging adapter 200 may be a wired charging or a wireless charging for charging the battery 3 of the charging device 100. The corresponding charging adapter 200 may be a wired adapter, a charger, or the like, or may be a wireless adapter, a charger, or the like, which is not particularly limited in this application.
Alternatively, the charging control manner between the charging adapter 200 and the charging device 100 may include a passive processing mode and an active processing mode. In the passive processing mode, the target charging current is obtained when the communication channel has been affected by the charging loop. In the active processing mode, the target charging current is obtained when charging adapter 200 has just established a connection with charging device 100 and the communication channel is not affected by the charging loop.
Alternatively, the target parameter may include an impedance value of a return path of the charging loop, which may be understood as a GND (ground) line. If the voltage drop across the GND line is too large, the signal recognition of the communication channel may be wrong, so the voltage drops of the charging adapter 200 and the charging device 100 across the GND line should be within the preset voltage drop threshold range, so the target charging current may be reduced under the condition that the impedance value of the return channel of the charging circuit is increased, so as to ensure that the voltage drop across the GND line can meet the preset voltage drop threshold range.
Alternatively, the above-described target charging current may be understood as a current capable of stabilizing the charging adapter 200 to supply power to the charging device 100, and in the case of charging with the target charging current, the communication channel established by the charging adapter 200 and the charging device 100 can normally communicate, and rapid charging between the charging adapter 200 and the charging device 100 can be achieved. It should be noted that, the charging apparatus 100 may be charged by the charge pump 1 to achieve rapid charging, whereas charging by the pressure-reducing pump 2 alone may be charged by the slow charging.
Alternatively, the above target policy may be understood as being stored in the memory of the charging device 100, which is stored in advance when the charging device 100 leaves the factory. The target policy may instruct the charging adapter 200 to operate with a plurality of different charging currents during each charging, e.g., the plurality of charging currents may be divided into a maximum charging current, a medium charging current, and a minimum charging current in order of magnitude. Different charging currents characterize different power supply capacities, and as the charging current increases, the power supply capacity increases.
The execution process of the target strategy is as follows: the processor of the charging device 100 may send the charging current to the charging adapter 200 through the communication channel after determining the current suitable charging current based on the target policy, so that the charging adapter 200 supplies power to the charging device 100 based on the charging current.
Step S103: and if the target strategy indicates that the maximum charging current in the plurality of charging currents is adopted, sending the target charging current through the communication channel, wherein each of the plurality of charging currents corresponds to a different stage of the charging process of the battery 3 by the target strategy.
It may be understood that if the target policy indicates that the maximum charging current of the plurality of charging currents is adopted, it indicates that the charging adapter 200 is charging the charging device 100 at the maximum charging speed, and at this time, the target charging current may be sent through the communication channel, so that the charging adapter 200 may work with the target charging current instead of the maximum charging current, so as to ensure that the charging adapter 200 may charge the charging device 100 with the target charging current in a subsequent stage of the current charging process, that is, it may be realized that the current value exceeding the target charging current does not supply the charging device 100 with the current value of the current charging current, thereby ensuring the stability of the current charging.
The target charging current may be understood as being smaller than the maximum charging current, the passive processing mode and the active processing mode may be understood as a current reduction mode, and after the passive processing mode or the active processing mode is adopted, the charging adapter 200 operates with the target charging current lower than the maximum charging current, so as to achieve the purpose that the voltage drop across the GND line can be within the preset voltage drop threshold range, so that the signal identification of the communication channel is normal, and stable communication can be performed between the charging adapter 200 and the charging device 100.
The above steps S101 to S103 can be understood as being performed during one charging, at which time the charging connection between the charging adapter 200 and the charging device 100 is not interruptible. If the charging connection between the charging adapter 200 and the charging device 100 is interrupted in the process of executing the above-described steps S101 to S103, it is necessary to re-determine the target parameter.
According to the method and the device, the target parameters are obtained, when the communication channel is characterized by being influenced by the charging loop, the target charging current is obtained, the obtained target charging current is sent through the communication channel when the target strategy indicates that the maximum charging current in the plurality of charging currents is adopted for charging, the charging adapter 200 can charge the charging equipment 100 by using the target charging current, the stability of the communication channel between the charging adapter 200 and the charging equipment 100 can be guaranteed while the stability of quick charging is improved, the problem that GND line pressure drop caused by charging the charging equipment 100 by using the maximum charging current is large, and the problem that continuous disconnection phenomenon occurs when the communication signal between the charging adapter 200 and the charging equipment 100 is identified to be wrong is solved.
In some embodiments, as shown in fig. 3, the obtaining the target parameter of step S101 includes step S201. Step S201: an impedance value of a return channel of the charging loop is obtained. The step S102 of obtaining the target charging current includes a step S202, if the target parameter characterizes the communication channel as being affected by the charging loop. Step S202: and if the impedance value is matched with one of the configuration tables, obtaining the target charging current.
In this way, the target charging current can be accurately determined by the impedance value of the return channel of the charging circuit and the configuration table, so that the obtained target charging current can satisfy the normal communication of the charging adapter 200 and the charging device 100.
Optionally, in the case of a wireless charging connection between the charging adapter 200 and the charging device 100, the impedance value of the return path of the charging loop may include one or more of the following: charging adapter 200 self-impedance and charging device 100 self-impedance.
Alternatively, in the case where the charging adapter 200 is connected to the charging device 100 using a connection line based on a wired charging manner, the impedance value of the return path of the charging circuit may include one or more of the following: the connection impedance of the charging adapter 200 and the connection line, the connection line self-impedance, the connection impedance of the connection line and the charging device 100, and the charging device 100 self-impedance.
The above-described step S201 and step S202 may be understood as steps performed in the active processing mode, and the above-described step S201 and step S202 are performed immediately upon establishment of a connection between the charging adapter 200 and the charging device 100.
Alternatively, a configuration table may be stored in the memory of the charging device 100, in which an impedance value characterizing that the communication channel is affected by the charging loop and a target charging current corresponding thereto are stored. That is, if the obtained impedance value matches one of the configuration tables, it may be determined that the impedance value is indicative of the communication channel being affected by the charging loop, and a target charging current corresponding to the impedance value is determined in the configuration table based thereon.
In order to meet the requirement that the voltage drop at two ends of the GND line is within the preset voltage drop threshold range, the larger the impedance value in the configuration table is, the smaller the target charging current corresponding to the impedance value is; conversely, the smaller the impedance value, the larger the target charging current corresponding thereto.
In some embodiments, the if the target parameter characterizes the communication channel as being affected by the charging loop of step S102, obtaining the target charging current includes: and if the impedance value is greater than an impedance threshold value, obtaining a target charging current based on the impedance value and a configuration table.
Therefore, the impedance value can be compared with the impedance threshold before the configuration table is called, whether the configuration table is called or not is determined according to the comparison result, the number of times of calling the configuration table can be reduced, and the judgment of the impedance value can be more accurate and efficient.
Alternatively, the impedance threshold may be set based on a preset voltage drop threshold range, or may be set empirically before the charging device 100 leaves the factory, which is not specifically limited in this application. The impedance value of the return path of the charging loop being greater than the impedance threshold value characterizes the communication path as being affected by the charging loop at the impedance value.
In some embodiments, as shown in fig. 4, the obtaining the impedance value of the return channel of the charging loop in step S201 includes steps S301 to S304.
Step S301: the charging adapter 200 is notified to operate at a target operating voltage and a target operating current through the communication channel.
Step S302: a first input voltage and a first input current are obtained.
Step S303: a second input voltage and a second input current are obtained.
Step S304: an impedance value of the return channel is calculated based on the first input voltage, the first input current, the second input voltage, and the second input current.
Thus, the impedance value of the return channel can be accurately calculated by the input voltage and the input current obtained respectively twice, so as to obtain the target charging current after obtaining the impedance value of the return channel.
Alternatively, the impedance value of the return path of the charging loop may be understood as GND line impedance, which may be denoted by R (GND). In calculating R (GND), the following equations 1.1 and 1.2 can be used for calculation:
vta =r (Vbus) ichg1+vchg1+r (GND) Ichg1; equation 1.1
Vta =r (Vbus) ichg2+vchg2+r (GND) Ichg2; equation 1.2
Wherein Vta is the target operating voltage of charging adapter 200 being notified by charging device 100 via the communication channel; r (VBUS) is the impedance of the charging path of the charging loop; ichg1 is a first input current; vchg1 is the first input voltage; ichg2 is the second input current; vchg2 is the second input voltage.
Based on the above equations 1.1 and 1.2, R (vbus+gnd), R (VBUS) and R (GND) can be calculated by the following equations 1.3, 1.4 and 1.5, respectively.
R (vbus+gnd) =r (Vbus) +r (GND) = (Vchg 2-Vchg 1)/(Ichg 2-Ichg 1); equation 1.3
R (Vbus) = ((Vta-Vchg 1)/Ichg1+ (Vta-Vchg 1)/Ichg 1)/2; equation 1.4
R (GND) =r (vbus+gnd) -R (Vbus); equation 1.5
Wherein R (VBUS+GND) is the sum of R (GND) and R (VBUS).
It can be appreciated that when the input voltage and the input current are obtained twice respectively, the target operating voltage and the target operating current of the charging adapter 200 may be notified to be the same through the communication channel, so that the R (vbus+gnd) can be directly calculated through the formula 1.1 and the formula 1.2 without knowing the specific value of Vta, and the problem of error introduction caused by different target operating voltages and target operating currents can be reduced, so that the accuracy of the calculated impedance value of the backflow channel is further improved.
In some embodiments, as shown in fig. 5, before the obtaining the impedance value of the return channel of the charging loop in step S201, the method further includes step S401. Step S401: the charge pump 1 in the charge path of the charge circuit is closed.
The obtaining of the first input voltage and the first input current of step S302 includes step S402. Step S402: the step-down pump 2 in the charging path is adjusted to operate at a first threshold value, and a first input voltage and a first input current are obtained.
The obtaining of the second input voltage and the second input current of step S303 includes step S403. Step S403: and adjusting the step-down pump 2 in the charging path to work at a second threshold value to obtain a second input voltage and a second input current.
In this way, in the case where the charge pump 1 is turned off and the battery 3 is charged only by the pressure-reducing pump 2, the input voltage and the input current are obtained by adjusting the threshold value of the pressure-reducing pump 2 twice, so that the difference between the obtained input voltages is large, that is, the difference between Vchg2 and Vchg1 is large, to increase the accuracy of the calculated impedance value of the return channel.
It will be appreciated that after switching off the charge pump 1 described above, the electrical energy provided by the charge adapter 200 will only be able to power the battery 3 via the pressure reducing pump 2. The current supplied to the battery 3 can be regulated by the pressure reducing pump 2, and by adjusting the threshold value of the pressure reducing pump 2, the current supplied to the battery 3 by the pressure reducing pump 2 can be regulated, whereby the current charging the battery 3 can be controlled.
Illustratively, after the charge pump 1 is turned off, the charge adapter 200 may be notified to operate at a target operating voltage (e.g., 5V) and a target operating current (e.g., 3A) through the communication channel, and then the buck pump 2 in the charge path is adjusted to operate at a first threshold (e.g., 0.5A), at which time the first input voltage and the first input current actually provided are read. After the first input voltage and the first input current are obtained, the step-down pump 2 in the charging path is adjusted to operate at a second threshold value (e.g., 1A), at which time the second input voltage and the second input current that are actually supplied are read.
Alternatively, the input voltage and the input current are obtained in a plurality of times after the charge pump 1 is turned off in the charging path of the charging circuit, not just two times. For example, the pressure reducing pump 2 in the charging path may be adjusted multiple times to work with different thresholds, and the obtained multiple actual input currents and input voltages are used in a pair manner for calculating the equation 1.1 and the equation 1.2, that is, the input currents and input voltages obtained every two times may be used to calculate the impedance value of the return channel once, and after obtaining the impedance values of the multiple return channels, the impedance value of the return channel may be further accurately calculated by determining the average value of the impedance values of the multiple return channels.
It should be noted that, in the case of obtaining the input voltage and the input current in multiple times, the threshold values of the step-down pump 2 corresponding to the input voltage and the input current obtained at least twice are different to increase the difference between the obtained input voltages, thereby improving the accuracy of the calculated impedance value of the return channel.
In some embodiments, the obtaining the target parameter of step S101 includes one of:
obtaining target parameters before charging the battery 3 of the charging apparatus 100 using the charging adapter 200 based on a target policy;
the target parameters are obtained based on a process of charging the battery 3 of the charging apparatus 100 by the charging adapter 200 based on a target policy.
In this way, the target parameter may be obtained immediately before the charging adapter 200 charges the battery 3 of the charging device 100, or the target parameter may be obtained according to the real-time situation of charging during the charging process of the charging adapter 200 for the battery 3 of the charging device 100, so as to implement two different ways of obtaining the target parameter.
The above-described manner of timely obtaining the target parameter before the charging adapter 200 charges the battery 3 of the charging apparatus 100 can be understood as corresponding to the active processing mode. In the active processing mode, taking the example of connection between the charging adapter 200 and the charging device 100 through a connection line, the target parameters are directly obtained when both ends of the connection line are just plugged into the charging adapter 200 and the charging device 100 respectively, at this time, the charging adapter 200 has not yet charged the battery 3 of the charging device 100 based on the target policy, the charging pump 1 is not operated, and only the pressure reducing pump 2 is operated. And then obtaining the target charging current under the condition that the directly obtained target parameter characterizes the communication channel to be influenced by the charging loop.
The above-described acquisition of the target parameters in the process of charging the battery 3 of the charging apparatus 100 by the charging adapter 200 can be understood as corresponding to the passive processing mode. In the passive processing mode, it is determined that charging adapter 200 has charged charging device 100, and that the communication channel has been affected by the charging loop, a target parameter is obtained, and a target charging current is obtained if the target parameter characterizes that the communication channel will be affected by the charging loop.
In some embodiments, as shown in fig. 6, the process of charging the battery 3 of the charging device 100 using the charging adapter 200 based on the target policy, and obtaining the target parameter includes steps S501 to S502.
Step S501: the communication channel is monitored.
Step S502: if a first charging current is sent through the communication channel, feedback information for the first charging current is not received.
Therefore, the method can realize the operation of quickly obtaining the target parameters and obtaining the target charging current when the communication channel is in an abnormal state by monitoring the state of the communication channel in the passive processing mode.
Alternatively, the first charging current may be understood as the charging device 100 informing the operating current of the charging adapter 200 through the communication channel. In the case where the charging apparatus 100 transmits the first charging current and the charging adapter 200 does not transmit the feedback information to the charging apparatus 100 at the first charging current, it may be determined that the state of the communication channel is in an abnormal state, at which time the charging apparatus 100 has failed to control the operation current of the charging adapter 200, and the communication channels of both are abnormal.
In some other embodiments, it may also be determined that the state of the communication channel is in an abnormal state by: the charging adapter 200 may enter the above-mentioned passive processing mode after determining that the communication channel is abnormal, so as to obtain the target parameter, where the feedback time of the feedback information generated based on the first charging current is abnormal and/or the feedback content is abnormal.
In some embodiments, as shown in fig. 7, if the target parameter characterizes the communication channel in step S102 is affected by the charging loop, obtaining the target charging current includes steps S601 to S602.
Step S601: the charge pump 1 in the charge path of the charge loop is turned off so that the communication channel is restored to be unaffected.
Step S602: the target charging current is obtained based on a decrease in the first charging current, which is used for sending to the charging adapter 200 through the communication channel instead of the first charging current if the charging pump 1 is enabled in the charging path of the charging loop.
In this way, the obtained target charging current can be sent through the communication channel under the condition that the communication channel is restored to be unaffected, so that the charging adapter 200 can supply power for the charging device 100 by using the target charging current, and can supply power for the battery 3 by using the charge pump 1, thereby achieving the purpose of rapid charging.
It will be appreciated that turning off the charge pump 1 can rapidly reduce the charge current by simply charging the battery 3 with the buck pump 2, thereby causing the voltage drop across the GND line to decrease rapidly, and allowing the communication channel to revert to an unaffected state, i.e. a normal state.
Alternatively, the number of times the first charge current is lowered by the target current may be one or more times, whereby the target charge current that enables the charge pump 1 and the communication channel in a normal state can be obtained.
Illustratively, the first charging current may switch on the charge pump 1 in the charging path after the target current is reduced once, and then monitor the state of the communication channel. If the communication channel can be in a normal state, determining that a current value obtained after the first charging current is reduced by the target current at one time is the target charging current; if the communication channel is still in an abnormal state, the charge pump 1 can be turned off again, and the first charge current can be reduced by the target current again, namely, the first charge current is reduced by the target current twice, then the charge pump 1 is turned on, and the state of the communication channel is monitored, if the communication channel is still in an abnormal state, the charge pump 1 is turned off again, the first charge current is reduced by the target current again, until the state of the communication channel can be monitored to be in a normal state after the charge pump 1 is turned on, and the target charge current is determined based on the target current reduced by the first charge current.
The embodiment of the application provides electronic equipment 300. The electronic device 300 may be the charging device 100 described above, or may be a device including the same components as the charging device 100. As shown in fig. 8, the electronic device 300 includes a battery 3 and a processor 6, a communication channel is established between the electronic device 300 and the charging adapter 200, and a charging loop is established between the battery 3 of the electronic device 300 and the charging adapter 200, where the communication channel is at least used for transmitting a plurality of charging currents included in a target policy during a process that the electronic device 300 charges the battery 3 of the electronic device 300 by using the charging adapter 200 based on the target policy, and each of the plurality of charging currents corresponds to a different stage of a process that the target policy charges the battery 3 once. The processor 6 is configured to: obtaining target parameters; if the target parameter characterizes the communication channel to be influenced by the charging loop, obtaining a target charging current; and if the target strategy indicates that the maximum charging current in the plurality of charging currents is adopted, transmitting the target charging current through the communication channel.
According to the method and the device, the target parameters are obtained, when the communication channel is characterized by being influenced by the charging loop, the target charging current is obtained, when the target strategy indicates that the maximum charging current in the plurality of charging currents is adopted for charging, the obtained target charging current is sent through the communication channel, so that the charging adapter 200 can charge the electronic equipment 300 by using the target charging current, the stability of the communication channel between the charging adapter 200 and the electronic equipment 300 can be ensured while the stability of quick charging is improved, the problem that GND line pressure drop caused by charging the electronic equipment 300 by using the maximum charging current is large, and the problem that communication signals between the charging adapter 200 and the electronic equipment 300 are wrong in recognition and the phenomenon of continuous disconnection is caused is solved.
In some embodiments, the electronic device 300 further comprises a charge pump 1 and a buck pump 2 communicatively connected to the processor 6. The processor 6 is further configured to: closing a charging pump 1 in a charging path of the charging loop; notifying the charging adapter 200 to operate at a target operating voltage and a target operating current through the communication channel; adjusting a step-down pump 2 in the charging path to work at a first threshold value to obtain a first input voltage and a first input current; adjusting a step-down pump 2 in the charging path to work at a second threshold value to obtain a second input voltage and a second input current; calculating an impedance value of a return path of the charging loop based on the first input voltage, the first input current, the second input voltage, and the second input current; and if the impedance value is matched with one of the configuration tables, obtaining the target charging current.
In some embodiments, the processor 6 is further configured to: the target parameters are obtained in the following way: obtaining target parameters before charging the battery 3 of the electronic device 300 with the charging adapter 200 based on a target policy; the target parameters are obtained based on a target policy by using the charging adapter 200 to charge the battery 3 of the electronic device 300.
In some embodiments, the processor 6 is further configured to: monitoring the communication channel; if a first charging current is sent through the communication channel, feedback information for the first charging current is not received.
In some embodiments, the processor 6 is further configured to: closing a charge pump 1 in a charge path of the charge loop so that the communication channel is restored to be unaffected; the target charging current is obtained based on a decrease in the first charging current, which is used for sending to the charging adapter 200 through the communication channel instead of the first charging current if the charging pump 1 is enabled in the charging path of the charging loop.
Furthermore, although exemplary embodiments have been described herein, the scope thereof includes any and all embodiments having equivalent elements, modifications, omissions, combinations (e.g., of the various embodiments across), adaptations or alterations as pertains to the present application. Elements in the claims are to be construed broadly based on the language employed in the claims and are not limited to examples described in the present specification or during the practice of the present application, which examples are to be construed as non-exclusive.
The above description is intended to be illustrative and not restrictive. For example, the above-described examples (or one or more aspects thereof) may be used in combination with each other. For example, other embodiments may be used by those of ordinary skill in the art upon reading the above description. In addition, in the above detailed description, various features may be grouped together to streamline the application. This is not to be interpreted as an intention that the disclosed features not being claimed are essential to any claim. Rather, the subject matter of the present application is capable of less than all of the features of a particular disclosed embodiment. Thus, the claims are hereby incorporated into the detailed description as examples or embodiments, with each claim standing on its own as a separate embodiment, and it is contemplated that these embodiments may be combined with one another in various combinations or permutations. The scope of the application should be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.
The above embodiments are only exemplary embodiments of the present application and are not intended to limit the present application, the scope of which is defined by the claims. Various modifications and equivalent arrangements may be made to the present application by those skilled in the art, which modifications and equivalents are also considered to be within the scope of the present application.

Claims (10)

1. A control method, the method comprising:
obtaining target parameters;
if the target parameter characterizes the communication channel to be affected by the charging loop, obtaining a target charging current; the communication channel is established between the charging adapter and the charging equipment; the charging loop is a loop established by the charging adapter and a battery of the charging equipment; the communication channel is at least used for sending a plurality of charging currents included by the target strategy in the process that the charging equipment charges the battery of the charging equipment by using the charging adapter based on the target strategy;
and if the target strategy indicates that the maximum charging current in the plurality of charging currents is adopted, sending the target charging current through the communication channel, wherein each of the plurality of charging currents corresponds to a different stage of the charging process of the battery by the target strategy.
2. The control method according to claim 1, the obtaining a target parameter comprising:
obtaining an impedance value of a return channel of the charging loop;
the obtaining the target charging current if the target parameter characterizes the communication channel as being affected by the charging loop comprises:
and if the impedance value is matched with one of the configuration tables, obtaining the target charging current.
3. The control method of claim 2, wherein the obtaining the target charging current if the target parameter characterizes the communication channel as being affected by the charging loop comprises:
and if the impedance value is greater than an impedance threshold value, obtaining a target charging current based on the impedance value and a configuration table.
4. The control method according to claim 2, the obtaining an impedance value of a return channel of a charging circuit comprising:
notifying the charging adapter to operate at a target operating voltage and a target operating current through the communication channel;
obtaining a first input voltage and a first input current;
obtaining a second input voltage and a second input current;
an impedance value of the return channel is calculated based on the first input voltage, the first input current, the second input voltage, and the second input current.
5. The control method according to claim 4, further comprising, before the obtaining the impedance value of the return channel of the charging circuit:
closing a charge pump in a charge path of the charge circuit;
the obtaining a first input voltage and a first input current includes:
adjusting a step-down pump in the charging path to work at a first threshold value to obtain a first input voltage and a first input current;
the obtaining the second input voltage and the second input current includes:
and adjusting a pressure reducing pump in the charging path to work at a second threshold value to obtain a second input voltage and a second input current.
6. The control method according to claim 1, the obtaining a target parameter comprising one of:
acquiring target parameters before charging a battery of the charging equipment by using the charging adapter based on a target strategy;
and obtaining target parameters by using the charging adapter to charge the battery of the charging equipment based on the target strategy.
7. The control method according to claim 6, wherein the process of charging the battery of the charging device with the charging adapter based on the target policy, the obtaining the target parameter includes:
monitoring the communication channel;
if a first charging current is sent through the communication channel, feedback information for the first charging current is not received.
8. The control method of claim 7, wherein the obtaining the target charging current if the target parameter characterizes the communication channel as being affected by the charging loop comprises:
closing a charge pump in a charge path of the charge loop to restore the communication channel to unaffected;
the target charging current is obtained based on a first charging current reduction target current for sending to the charging adapter through the communication channel instead of the first charging current if a charge pump in a charging path of the charging loop is enabled.
9. An electronic device comprises a battery and a processor, wherein a communication channel is established between the electronic device and a charging adapter, and a charging loop is established between the battery of the electronic device and the charging adapter, the communication channel is at least used for transmitting a plurality of charging currents included in a target strategy in the process that the electronic device charges the battery of the electronic device by the charging adapter based on the target strategy, and each charging current corresponds to different stages of a charging process of the battery by the target strategy;
the processor is configured to:
obtaining target parameters;
if the target parameter characterizes the communication channel to be influenced by the charging loop, obtaining a target charging current;
and if the target strategy indicates that the maximum charging current in the plurality of charging currents is adopted, transmitting the target charging current through the communication channel.
10. The electronic device of claim 9, further comprising a charge pump and a buck pump communicatively coupled to the processor,
the processor is further configured to:
closing a charge pump in a charge path of the charge circuit;
notifying the charging adapter to operate at a target operating voltage and a target operating current through the communication channel;
adjusting a step-down pump in the charging path to work at a first threshold value to obtain a first input voltage and a first input current;
adjusting a pressure reducing pump in the charging path to work at a second threshold value to obtain a second input voltage and a second input current;
calculating an impedance value of a return path of the charging loop based on the first input voltage, the first input current, the second input voltage, and the second input current;
and if the impedance value is matched with one of the configuration tables, obtaining the target charging current.
CN202311865079.XA 2023-12-29 2023-12-29 Control method and electronic equipment Pending CN117834315A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311865079.XA CN117834315A (en) 2023-12-29 2023-12-29 Control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311865079.XA CN117834315A (en) 2023-12-29 2023-12-29 Control method and electronic equipment

Publications (1)

Publication Number Publication Date
CN117834315A true CN117834315A (en) 2024-04-05

Family

ID=90509276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311865079.XA Pending CN117834315A (en) 2023-12-29 2023-12-29 Control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN117834315A (en)

Similar Documents

Publication Publication Date Title
CN107749648B (en) Mobile terminal
US10097022B2 (en) Mobile terminal and rapid charging method
US10110038B2 (en) Mobile terminal and rapid charging method
US10910853B2 (en) Quick charging method, power adapter and mobile terminal
US11689029B2 (en) Terminal with charging circuit and device thereof
US10044217B2 (en) Mobile terminal, DC-charging power source adaptor, and rapid charging method
KR102138091B1 (en) Adapter and charging control method
US9647475B2 (en) Charger, terminal, charging system, and charging control method
CN106537720B (en) Charging method and electronic device
US10277052B2 (en) Controlling power delivery to a battery
JP6325118B2 (en) Power adapter, terminal and charging circuit abnormality handling method
US20160064977A1 (en) Usb charger, mobile terminal and charging method thereof
WO2016177214A1 (en) Power consumption control method and device, and mobile terminal
KR20160135711A (en) Power Adapter, Terminal, and Method for Processing Impedance Exception of Charging Loop
CN103647318B (en) Communicating terminal, charge control method, device and circuit
US20130049680A1 (en) Electronic device
JP2017509294A (en) Fast charge control method and system
EP3148039A1 (en) Fast charging method, power source adapter and mobile terminal
CN211018337U (en) Charging control device and mobile terminal
KR20190086005A (en) POWER SUPPLY CIRCUIT, POWER SUPPLY DEVICE AND CONTROL METHOD,
US10461555B2 (en) Battery charging for mobile devices
CN117834315A (en) Control method and electronic equipment
US10481576B2 (en) Method and device for implementing connection control
CN111245070B (en) Quick charge control method, device, equipment and storage medium
CN116345624A (en) Power supply device and charge-discharge control method thereof

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