CN113098085B - Charging processing method and electronic equipment - Google Patents

Charging processing method and electronic equipment Download PDF

Info

Publication number
CN113098085B
CN113098085B CN202110346680.2A CN202110346680A CN113098085B CN 113098085 B CN113098085 B CN 113098085B CN 202110346680 A CN202110346680 A CN 202110346680A CN 113098085 B CN113098085 B CN 113098085B
Authority
CN
China
Prior art keywords
charging
impedance
quick
power
charge
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.)
Active
Application number
CN202110346680.2A
Other languages
Chinese (zh)
Other versions
CN113098085A (en
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 CN202110346680.2A priority Critical patent/CN113098085B/en
Publication of CN113098085A publication Critical patent/CN113098085A/en
Application granted granted Critical
Publication of CN113098085B publication Critical patent/CN113098085B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/007182Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery voltage
    • 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/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

According to the charge processing method and the electronic equipment, when the quick charge device is abnormal due to the fact that the impedance of the charging wire is increased, the charge power of the quick charge device can be reduced, and particularly the first charge power based on the fact that the quick charge device is abnormal is reduced to the second charge power according to the actual impedance of the charging wire, so that the problem of the quick charge abnormality is solved.

Description

Charging processing method and electronic equipment
Technical Field
The application belongs to the technical field of charging, and particularly relates to a charging processing method and electronic equipment.
Background
With the improvement of the charging technology, the devices such as smart phones and the like currently enter the high-power quick charging (quick charging) era, compared with the non-quick charging technology, the quick charging technology has higher requirements on a charging wire, the charging wire is required to have lower impedance, if the impedance of the charging wire is increased, the quick charging cannot work normally easily, and the phenomenon of intermittent charging (continuous charging, breaking, charging and breaking) occurs.
At present, when the charger cannot normally charge the equipment quickly, measures are not taken, and the equipment is charged in the abnormal quick charging mode, or the equipment is charged in the non-quick charging mode instead. Neither of these methods is an ideal solution, and it is impossible to achieve the maximum quick charge process with less loss in the case of abnormal charge, and it is easy to cause customer complaints.
Disclosure of Invention
Therefore, the application discloses the following technical scheme:
a charging processing method applied to an electronic device, the method comprising:
determining whether an abnormality exists in the quick charge of the electronic device by the quick charging device based on the first charging power; the rapid charging device is connected with the electronic equipment through a charging wire;
if the quick charge is abnormal, determining a second charge power according to the impedance under the condition that the impedance of the charge wire does not meet an impedance condition;
controlling the quick charging device to charge the electronic equipment based on the second charging power;
the second charging power is not larger than the maximum charging power which enables the rapid charging device to charge the electronic equipment without abnormality, and the second charging power and the maximum charging power meet the approaching condition; the maximum charging power is smaller than the first charging power.
Optionally, the determining whether the fast charging of the electronic device by the fast charging device based on the first charging power is abnormal includes:
in the process that the quick charging device carries out quick charging on the electronic equipment based on the first charging power, determining whether communication between the electronic equipment and the quick charging device based on a preset quick charging protocol fails or not;
if the communication fails, determining that the rapid charging is abnormal.
Optionally, wherein the impedance condition includes: the impedance of the charging wire does not exceed a threshold value;
after determining that there is an abnormality in the quick charge and before determining the second charging power from the impedance, further comprising:
detecting and acquiring the impedance of the charging wire;
and determining whether the impedance of the charging wire exceeds a threshold value, and triggering the step of determining the second charging power according to the impedance if the impedance exceeds the threshold value.
Optionally, wherein the impedance condition includes: the impedance of the charging wire does not exceed a threshold value;
the determining whether the fast charging device has abnormality on the fast charging of the electronic device based on the first charging power includes:
in response to detecting that the quick charge device is connected to an electronic device, detecting an impedance of the charging wire; and determining whether the impedance exceeds a threshold value, and if so, determining that the rapid charging is abnormal.
Optionally, the detecting obtains an impedance of the charging wire, including:
controlling an output voltage of the fast charging device to be a first voltage;
detecting and acquiring a second voltage of the electronic equipment end and a current of the charging wire;
and determining the impedance of the charging wire according to the first voltage, the second voltage and the current.
Optionally, the determining the second charging power according to the impedance includes:
obtaining the maximum charging power corresponding to the impedance of the charging line from a corresponding relation set of different impedance information and different maximum charging power;
and determining the second charging power according to the acquired maximum charging power and the approaching condition.
Optionally, the controlling the fast charging device to charge the electronic device based on the second charging power includes:
and controlling the quick charging device to charge the electronic equipment at a power value which does not exceed the second charging power.
Optionally, after the determining whether the fast charging of the electronic device by the fast charging device based on the first charging power is abnormal, the method further includes:
and if the quick charging is abnormal, resetting the charging flow of the quick charging device to the electronic equipment under the condition that the impedance of the charging wire meets the impedance condition.
Optionally, resetting the charging process of the electronic device by the fast charging device includes:
controlling the quick charging device to charge the electronic equipment with a third voltage;
and controlling the quick charging device to gradually increase the voltage when the electronic equipment is charged until the quick charging device enters a quick charging mode based on the first charging power.
An electronic device, comprising:
a memory for storing a set of computer instructions;
a processor for implementing the charge processing method according to any one of the above by executing the instruction set stored on the memory.
According to the above scheme, when the quick charging device is abnormal due to the increase of the impedance of the charging wire, the charging power of the quick charging device can be reduced, and the first charging power based on the abnormal quick charging can be reduced to the second charging power according to the actual impedance of the charging wire, so that the problem of the abnormal quick charging is solved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings may be obtained according to the provided drawings without inventive effort to a person skilled in the art.
Fig. 1 is a schematic flow chart of a charging processing method according to an embodiment of the present application;
fig. 2 is a schematic flow chart of detecting and acquiring impedance of a charging wire according to an embodiment of the present application;
FIG. 3 is a block diagram of detecting and acquiring impedance of a charging wire provided by an embodiment of the present application;
fig. 4 is another flow chart of the charging processing method provided in the embodiment of the present application;
fig. 5 is a schematic flow chart of a charging processing method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
In the quick charge technology, if the impedance of the charging wire increases, the quick charge is liable to fail to work normally, and the phenomenon of intermittent charging (continuous charging→breaking→charging→breaking) occurs.
At present, when the charger cannot normally charge the electronic equipment quickly, measures are not taken, and the electronic equipment is charged in the abnormal quick charging mode, or is replaced by the electronic equipment which is charged in the non-quick charging mode. For example, no matter a smart phone supporting 30W/45W or 90W fast charging, no measures are taken when charging is interrupted, and there are other ways to directly prohibit PD (Power Delivery) 3.0.0 with PPS (programmable power supply) protocol after five or six times of charging interruption, that is, prohibit fast charging, and reduce the original 45W fast charging power to 15W for slow charging. However, the applicant has found that when the device cannot be normally and rapidly charged based on the original fast charging power due to an increase in the charging line impedance of the fast charging charger, the fast charging charger may still be capable of performing the fast charging at a lower power value than the original fast charging power. For example, a certain fast charging charger has a charging interruption phenomenon under the original 45w fast charging power due to the increase of the charging line impedance, but the fast charging charger can still work at 40w, namely, the equipment can still be charged fast under the power of 40w, and the method of the samsunote 10+ is to directly dry the fast charging as long as the fast charging is not carried out normally at 45w, and the method is replaced by a slow charging method, so that the fast charging advantage of the fast charging charger cannot be effectively utilized, and customer complaints are easily caused.
In view of this, the present application provides a charging processing method and an electronic device, so as to provide a better solution for the fast charging abnormality, and to maintain the fast charging characteristic of the fast charging charger to a high extent when the fast charging abnormality is caused by the increase of the impedance of the charging line.
Referring to fig. 1, a flowchart of a charging processing method according to an embodiment of the present application is provided, and the method may be applied to, but not limited to, an electronic device supporting a fast charging function, such as a smart phone, a tablet computer, a smart bracelet, a personal digital assistant, and the like.
As shown in fig. 1, the charging processing method of the present embodiment includes the following processing steps:
step 101, determining whether an abnormality exists in the quick charge of the electronic equipment by the quick charging device based on the first charging power; the quick charging device is connected with the electronic equipment through a charging wire.
The fast charging device may be, but is not limited to, a portable or vehicle-mounted fast charger.
The determining whether the quick charging device performs the quick charging on the electronic device based on the first charging power is abnormal or not may specifically be determining whether the quick charging on the electronic device based on the first charging power performed by the quick charging device performs the charging intermittent phenomenon of charging-breaking-charging-breaking.
The first charging power is an original fast charging power based on the fast charging device when the charging line impedance of the fast charging device is normal (not increased) and is generally a maximum fast charging power allowed or born by the charging line based on the original impedance (the impedance when leaving the factory).
In one embodiment, during the fast charging of the electronic device by the fast charging device based on the first charging power, it may be determined whether communication between the electronic device and the fast charging device based on a predetermined fast charging protocol fails, if the communication fails, it is determined that the fast charging of the fast charging device is abnormal, and if not, it is determined that the fast charging is not abnormal.
The predetermined fast-fill protocol may be, but is not limited to, the PD3.0 with PPS communication protocol.
Specifically, in the process that the quick charging device carries out quick charging on the electronic equipment based on the first charging power, the electronic equipment continuously carries out two-way communication with the quick charging device based on a communication protocol such as PD3.0 with PPS, wherein state information such as output voltage, output current and/or temperature of the quick charging device is continuously obtained based on the communication electronic equipment, and an instruction is sent to the quick charging device to dynamically indicate the output voltage/current required by the current charging of the quick charging device according to a strategy such as whether overcurrent, overvoltage and/or overtemperature and according to the first charging power based on the strategy, so that the phenomenon of overcurrent, overvoltage and/or overtemperature cannot occur, and the power of the quick charging device in the whole quick charging process based on the communication is ensured not to exceed the first charging power. If the impedance of the charging wire increases and at the same time charging with a large charging current results in communication failure/interruption of the PPS communication at the PD3.0, then when the charging current is reduced, communication can be resumed, thereby causing a charge interruption phenomenon.
Based on the above-mentioned quick charging process of the quick charging device, the embodiment can determine whether the quick charging of the quick charging device is abnormal by detecting whether the communication between the electronic device and the quick charging device based on the predetermined quick charging protocol (such as PD3.0 with PPS communication protocol) fails.
In another embodiment, whether the quick charging device has a quick charging abnormality may be determined by detecting whether the actual impedance of the charging wire of the quick charging device is abnormal, where if the impedance of the charging wire increases and increases to a value that is likely to cause the charging abnormality, it may be determined that the quick charging of the quick charging device has an abnormality.
In this embodiment, specifically, when the quick charging device is connected to the electronic device through the charging wire, in response to detecting that the quick charging device is connected to the electronic device, the impedance of the charging wire is detected and obtained, and whether the impedance of the charging wire exceeds a set threshold value is determined, if the impedance exceeds the threshold value, it is determined that the quick charging of the quick charging device is abnormal.
Preferably, the threshold value may be set as: and determining the lowest impedance value corresponding to the charging line, which can cause abnormal charging of the quick charging device according to experience, test and/or corresponding calculation.
And 102, if the quick charge is abnormal, determining a second charge power according to the impedance when the impedance of the charge wire does not meet the impedance condition.
In this embodiment, the impedance condition may be specifically set as: the impedance of the charging wire of the quick charging device does not exceed the threshold value.
There are many factors that cause a rapid charging abnormality of a rapid charging device, including but not limited to any one or more of the following:
1) The hardware components of the charger are damaged;
2) Communication protocol abnormality;
3) The charging wire impedance increases to a threshold value that would cause a rapid charging anomaly;
for example, the charging wire impedance increases during use due to a small probability of failure event (e.g., poor welding quality of the connection point) at the time of factory production, or increases during use due to poor material or stealth and material reduction (e.g., mountain-stand charging wire), or increases during long-term use due to influence of welding caused by multiple bending and pulling, or the like.
The embodiment of the present application aims to solve the problem of the quick charge abnormality caused by the abnormality (increase in impedance) of the charging line, and therefore, in the case of determining the quick charge abnormality of the quick charge device, it is necessary to determine whether or not the cause of the quick charge abnormality of the quick charge device is the abnormality of the charging line thereof (i.e., the above-described impedance condition is not satisfied).
Specifically, in the embodiment of determining whether the quick charge abnormality exists by detecting the communication condition during the quick charge, when it is determined that the quick charge abnormality exists, the impedance of the charging wire of the quick charge device may be further detected and obtained, and whether the impedance of the charging wire exceeds a threshold value may be determined, if the impedance exceeds the threshold value, it may be determined that the impedance of the charging wire does not satisfy the impedance condition, and in this case, it may be further determined that the cause of the quick charge abnormality is the impedance abnormality of the charging wire, otherwise, the cause of the quick charge abnormality is other factors.
In the embodiment of determining whether the quick charge is abnormal according to the actual impedance of the charging wire, once it is determined that the quick charge is abnormal, the reason for the quick charge abnormality may be directly determined as the charging wire impedance abnormality.
Under the condition that the quick charge is determined to be abnormal and the impedance of the charging wire does not meet the impedance condition (namely, the reason of the quick charge abnormality is the impedance abnormality of the charging wire), an adaptive second charging power which can enable the quick charge to be free of the abnormality can be further determined according to the detected and obtained impedance of the charging wire.
The second charging power is not larger than the maximum charging power which enables the rapid charging device to charge the electronic equipment without abnormality, and the second charging power and the maximum charging power meet the approaching condition; the maximum charging power is smaller than the first charging power.
The above approach condition may be set as: the absolute value of the difference between the second charging power and the maximum charging power is smaller than a preset threshold value. Based on the proximity condition, the second charging power may be specifically the above maximum charging power, or a power value smaller than the above maximum charging power and having a difference absolute value from the maximum charging power smaller than a predetermined threshold. In practice, it may be preferable to set the second charging power to the maximum charging power described above.
The applicant has found that the maximum allowable/sustained fast charge power is different when the charge lines with different impedances or the same charge line corresponds to different impedances due to impedance change (e.g. increase), and that the abnormal charge occurs if the charge power exceeds the allowable/sustained maximum fast charge power. Based on this feature, in this embodiment, a set of correspondence between different impedance information of the charging wire and different maximum charging power is prepared in advance.
Based on this, when determining the second charging power according to the detected and acquired charging line impedance, specifically, the maximum charging power corresponding to the detected charging line impedance may be acquired from a set of correspondence relationships between different impedance information and different maximum charging powers, and the second charging power may be determined according to the acquired maximum charging power and the above-mentioned proximity condition.
For example, assuming that the first charging power (the original fast charging power) corresponding to the fast charging device is 45w, when the maximum allowable fast charging power decreases from 45w to 40w due to the increase of the charging line impedance, any value, such as 38w, 39w, 40w, with an absolute value of the difference from 40w being smaller than the threshold (e.g. 3 w), may be specifically determined as the second charging power based on which the subsequent fast charging is required.
And step 103, controlling the quick charging device to charge the electronic equipment based on the second charging power.
Wherein, based on the second charging power, the fast charging device is controlled to charge the electronic device, which can be realized as follows: controlling the quick charging device to charge the electronic equipment at a power value not exceeding the second charging power
Specifically, during the charging process, the electronic device may continuously send an output voltage/current instruction to the quick charging device through a quick charging protocol (such as PD3.0 with PPS) according to a control policy such as over-current/over-voltage/over-temperature control and the determined second charging power, and the quick charging device charges the electronic device with the output voltage/current indicated by the received instruction, so as to ensure that no over-current, over-voltage and/or over-temperature phenomena occur in the whole quick charging process, and the power of the quick charging device does not exceed the second charging power.
It is easy to understand that, because the second charging power does not exceed the maximum charging power corresponding to the current impedance of the charging wire and capable of enabling the rapid charging device to charge the electronic equipment without abnormality, the second charging power is safe power adapted to the current impedance of the charging wire, and based on the second charging power, abnormal phenomena such as intermittent charging and the like in the charging process of the rapid charging device are not caused; in addition, since the second charging power and the maximum charging power meet the approaching condition, the quick charging advantage of the quick charging device can be exerted to a greater extent or even to the maximum extent (for example, the second charging power is equal to the maximum charging power), and when the quick charging is abnormal due to the increase of the impedance of the charging line, the electronic equipment can be continuously quickly charged based on the reduced adaptive charging power.
According to the charge processing method, when the quick charge device is abnormal due to the fact that the impedance of the charging wire is increased, the charge power of the quick charge device can be reduced, and particularly the first charge power based on the abnormal quick charge is reduced to the second charge power according to the actual impedance of the charging wire, so that the problem of the abnormal quick charge is solved.
Optionally, in an embodiment, when detecting the acquired charging line impedance, for example, detecting the acquired charging line impedance in response to detecting that the quick charging device is connected to the electronic device, or detecting the acquired charging line impedance when determining that there is an abnormality in the quick charging, referring to fig. 2, the detection of the charging line impedance may be specifically implemented through the following processing procedure:
step 201, controlling the output voltage of the fast charging device to be a first voltage.
Alternatively, referring to fig. 3, when the impedance of the charging wire needs to be detected and obtained, the electronic device may specifically prohibit the quick charging device from currently charging the electronic device, and control the output voltage of the quick charging device to a fixed voltage, that is, the first voltage.
Step 202, detecting and obtaining a second voltage of the electronic equipment terminal and a current of the charging wire.
Step 203, determining the impedance of the charging wire according to the first voltage, the second voltage and the current.
Specifically, the impedance of the charging wire may be calculated based on the following calculation formula (1):
Vadapter=Vphone1+I*R (1)
wherein Vadapter represents the output voltage of the quick charge device, i.e., the first voltage, vphone1 represents the second voltage at the electronic device, I represents the current of the charging wire, and R represents the impedance of the charging wire.
In practice, to ensure the reliability of the detected impedance of the charging line, it may be preferable to obtain a plurality of impedance measurements of the charging line by performing the above-described process a plurality of times, and take the maximum value thereof as the impedance of the charging line.
Now, an example is described:
for example, in the case of controlling the output voltage of the quick charging device to the first voltage Vadapter, the electronic device is first controlled to charge with a relatively small current and simultaneously test the device side voltage Vphone1 and the charging line current I1 at that time, and then the electronic device is controlled to charge with a relatively large current and simultaneously test the device side voltage Vphone2 and the charging line current I2 at that time, on the basis of which two impedance measurement values of the charging line are obtained based on the following calculation formulas (2) - (3), respectively, and the maximum value thereof is taken as the impedance of the charging line:
Vadapter=Vphone1+I1*R (2)
Vadapter=Vphone2+I2*R (3)。
the processing procedure of detecting and acquiring the charging wire impedance is not perceived by the device user, so that the charging wire impedance can be acquired under the condition that the user does not perceive, and a basis is provided for subsequent quick-charging abnormal processing.
Optionally, in an embodiment, referring to the flowchart of the charging processing method shown in fig. 4, after step 103, the charging processing method disclosed in the present application may further include:
step 104, if the quick charge is abnormal, resetting the charging flow of the electronic equipment by the quick charge device under the condition that the impedance of the charging wire meets the impedance condition.
In the case that the quick charge is abnormal and the impedance of the charging wire satisfies the impedance condition, that is, the reason for the quick charge abnormality is other factors than the impedance abnormality of the charging wire, the embodiment resets the charging flow of the electronic device by the quick charge device.
Specifically, when the quick charging device is reset to perform the charging process on the electronic device, the quick charging device may be controlled to charge the electronic device with a third voltage (output voltage) at first, and then the quick charging device is controlled to gradually increase the voltage when the electronic device is charged until the quick charging device is reset to perform the quick charging on the electronic device based on the first charging power.
Optionally, in an embodiment, referring to the flowchart of the charging processing method shown in fig. 5, after step 103, the charging processing method disclosed in the present application may further include:
step 105, generating and displaying prompt information for indicating the abnormality of the charging line.
Specifically, when the electronic device performs quick charging based on the second charging power by automatically adapting to the charging line impedance according to the situation that the quick charging is abnormal due to the abnormal charging line impedance, the electronic device may also generate and display corresponding prompt information to inform the user of the abnormal charging line, for example, in the form of voice and/or text information (which may also be combined with corresponding light auxiliary effects), prompt a user to replace the charging line or the abnormal charging line, and prompt a user to replace the charging line.
Based on the embodiment, when the quick charging is abnormal due to the abnormal impedance of the charging wire, the user can be informed of the replacement of the charging wire in time, the user experience is improved, and the customer complaint probability is effectively reduced.
In summary, compared with the prior art, the disclosed charging processing method of the embodiment of the application has the following advantages:
1) The abnormal impedance charging wire can be automatically adapted, so that the quick charging can work at relatively larger or even maximum and adapted charging power;
2) The user can be informed of changing the charging wire in time.
The embodiment of the application also discloses electronic equipment which supports high-power rapid charging and can be realized in the forms of products such as smart phones, tablet computers, smart bracelets, personal digital assistants and the like, but is not limited to the electronic equipment.
The electronic device shown in fig. 6 includes at least:
a memory 601 for storing a set of computer instructions;
the set of computer instructions may be implemented in the form of a computer program.
The memory 601 may include high-speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 602 is configured to implement the processing method disclosed in any of the method embodiments above by executing the instruction set stored on the memory.
The processor 602 may be a central processing unit (Central Processing Unit, CPU), an application-specific integrated circuit (ASIC), a Digital Signal Processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA), or other programmable logic device, etc.
In addition, the electronic device may include communication interfaces, communication buses, and the like. The memory, processor and communication interface communicate with each other via a communication bus.
The communication interface is used for communication between the electronic device and other devices. The communication bus may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus or the like, and may be classified as an address bus, a data bus, a control bus, or the like.
It should be noted that, in the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described as different from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
For convenience of description, the above system or apparatus is described as being functionally divided into various modules or units, respectively. Of course, the functions of each element may be implemented in one or more software and/or hardware elements when implemented in the present application.
From the above description of embodiments, it will be apparent to those skilled in the art that the present application may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in the embodiments or some parts of the embodiments of the present application.
Finally, it is further noted that relational terms such as first, second, third, fourth, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application and are intended to be comprehended within the scope of the present application.

Claims (10)

1. A charging processing method applied to an electronic device, the method comprising:
determining whether an abnormality exists in the quick charge of the electronic device by the quick charging device based on the first charging power; the rapid charging device is connected with the electronic equipment through a charging wire;
if the quick charge is abnormal, determining a second charge power according to the impedance under the condition that the impedance of the charge wire does not meet an impedance condition;
controlling the quick charging device to charge the electronic equipment based on the second charging power;
the second charging power is not larger than the maximum charging power which enables the rapid charging device to charge the electronic equipment without abnormality, and the second charging power and the maximum charging power meet the approaching condition; the maximum charging power is smaller than the first charging power.
2. The method of claim 1, the determining whether there is an anomaly in the fast charging of the electronic device by the fast charging apparatus based on the first charging power, comprising:
in the process that the quick charging device carries out quick charging on the electronic equipment based on the first charging power, determining whether communication between the electronic equipment and the quick charging device based on a preset quick charging protocol fails or not;
if the communication fails, determining that the rapid charging is abnormal.
3. The method of claim 2, wherein the impedance condition comprises: the impedance of the charging wire does not exceed a threshold value;
after determining that there is an abnormality in the quick charge and before determining the second charging power from the impedance, further comprising:
detecting and acquiring the impedance of the charging wire;
and determining whether the impedance of the charging wire exceeds a threshold value, and triggering the step of determining the second charging power according to the impedance if the impedance exceeds the threshold value.
4. The method of claim 1, wherein the impedance condition comprises: the impedance of the charging wire does not exceed a threshold value;
the determining whether the fast charging device has abnormality on the fast charging of the electronic device based on the first charging power includes:
in response to detecting that the quick charge device is connected to an electronic device, detecting an impedance of the charging wire; and determining whether the impedance exceeds a threshold value, and if so, determining that the rapid charging is abnormal.
5. The method of claim 3 or 4, the detecting acquiring the impedance of the charging wire comprising:
controlling an output voltage of the fast charging device to be a first voltage;
detecting and acquiring a second voltage of the electronic equipment end and a current of the charging wire;
and determining the impedance of the charging wire according to the first voltage, the second voltage and the current.
6. The method of claim 1, the determining a second charging power from the impedance comprising:
obtaining the maximum charging power corresponding to the impedance of the charging line from a corresponding relation set of different impedance information and different maximum charging power;
and determining the second charging power according to the acquired maximum charging power and the approaching condition.
7. The method of claim 1, the controlling the fast charging device to charge an electronic device based on the second charging power, comprising:
and controlling the quick charging device to charge the electronic equipment at a power value which does not exceed the second charging power.
8. A method according to claim 2 or 3, further comprising, after said determining whether there is an abnormality in the quick charging of the electronic device by the quick charging apparatus based on the first charging power:
and if the quick charging is abnormal, resetting the charging flow of the quick charging device to the electronic equipment under the condition that the impedance of the charging wire meets the impedance condition.
9. The method of claim 8, the resetting the charging process of the electronic device by the fast charging apparatus, comprising:
controlling the quick charging device to charge the electronic equipment with a third voltage;
and controlling the quick charging device to gradually increase the voltage when the electronic equipment is charged until the quick charging device enters a quick charging mode based on the first charging power.
10. An electronic device, comprising:
a memory for storing a set of computer instructions;
a processor for implementing the charge processing method according to any one of claims 1 to 9 by executing a set of instructions stored on a memory.
CN202110346680.2A 2021-03-31 2021-03-31 Charging processing method and electronic equipment Active CN113098085B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110346680.2A CN113098085B (en) 2021-03-31 2021-03-31 Charging processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110346680.2A CN113098085B (en) 2021-03-31 2021-03-31 Charging processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN113098085A CN113098085A (en) 2021-07-09
CN113098085B true CN113098085B (en) 2023-05-02

Family

ID=76672017

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110346680.2A Active CN113098085B (en) 2021-03-31 2021-03-31 Charging processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN113098085B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117674321A (en) * 2022-08-22 2024-03-08 华为技术有限公司 Power supply method, readable medium, and electronic device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015002068A (en) * 2013-06-14 2015-01-05 パナソニック インテレクチュアル プロパティ コーポレーション オブアメリカPanasonic Intellectual Property Corporation of America Electronic apparatus system, battery charger and electronic apparatus
CN106252761A (en) * 2016-08-11 2016-12-21 深圳市金立通信设备有限公司 A kind of method regulating charging current and terminal
CN107196372B (en) * 2017-06-30 2021-03-09 北京小米移动软件有限公司 Charging method and device
CN112311035B (en) * 2019-07-31 2023-08-29 北京小米移动软件有限公司 Charge control method, charge control device, and readable storage medium
CN111711238A (en) * 2020-06-05 2020-09-25 Oppo(重庆)智能科技有限公司 Charging control method, electronic device, and computer-readable storage medium

Also Published As

Publication number Publication date
CN113098085A (en) 2021-07-09

Similar Documents

Publication Publication Date Title
US10910853B2 (en) Quick charging method, power adapter and mobile terminal
US10250048B2 (en) Charging protection method and apparatus
JP2018174699A (en) Power supply adapter, terminal, and method of handling impedance abnormalities of charging circuit
AU2017387185B2 (en) Battery leakage current detection method, device and circuit
CN106463996A (en) Power adapter, terminal, and method for processing exception of charging loop
CN107918076B (en) Power adapter detection method and power adapter detection device
CN108599290A (en) A kind of charge protection method, device, terminal device and storage medium
CN113098085B (en) Charging processing method and electronic equipment
WO2015113461A1 (en) Power adapter and terminal
CN107425986A (en) A kind of method and device of POE power protection
WO2020097864A1 (en) Charging detection method, charging detection apparatus, and terminal device
CN106131241A (en) A kind of method for connecting network, device and mobile terminal
CN115211011A (en) Power supply method and device, electronic equipment and readable storage medium
CN112039064B (en) Control method based on power supply system and related device
US20200185948A1 (en) Charging control method, power adapter and mobile terminal
CN106972558B (en) Charging control method and electronic equipment
US10742057B2 (en) Self-loop detection method and apparatus for charging device
WO2018145390A1 (en) Fault detection method and device
CN109683049B (en) Method for detecting faults of electric heating circuit, computer device and computer readable storage medium
CN108736082B (en) Method, device, equipment and storage medium for improving endurance capacity of terminal battery
CN113809793A (en) Charging control method, device, equipment and storage medium
CN106602535B (en) A kind of transient voltage suppressor TVS short-circuit protection method and device
CN110737562A (en) method and system for monitoring process and electronic equipment
CN111276931B (en) New energy peripheral alternating current line protection fixed value checking method, system and equipment
TWI693489B (en) Design method of DC ship micro-grid protection device

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
GR01 Patent grant
GR01 Patent grant