CN107437839B - Charging processing method and device and electronic equipment - Google Patents

Charging processing method and device and electronic equipment Download PDF

Info

Publication number
CN107437839B
CN107437839B CN201710872232.XA CN201710872232A CN107437839B CN 107437839 B CN107437839 B CN 107437839B CN 201710872232 A CN201710872232 A CN 201710872232A CN 107437839 B CN107437839 B CN 107437839B
Authority
CN
China
Prior art keywords
charging
parameter
parameters
equipment
output
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
CN201710872232.XA
Other languages
Chinese (zh)
Other versions
CN107437839A (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 CN201710872232.XA priority Critical patent/CN107437839B/en
Publication of CN107437839A publication Critical patent/CN107437839A/en
Application granted granted Critical
Publication of CN107437839B publication Critical patent/CN107437839B/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
    • 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/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00036Charger exchanging data with battery
    • 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/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00034Charger exchanging data with an electronic device, i.e. telephone, whose internal battery is under charge

Landscapes

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

Abstract

The embodiment of the invention discloses a charging processing method, a charging processing device and electronic equipment, wherein the method comprises the following steps: the method comprises the steps of obtaining electrical parameters of a connecting line, controlling charging input parameters of electronic equipment or controlling charging output parameters of charging equipment based on the electrical parameters of the connecting line, wherein the electronic equipment is connected with the charging equipment through the connecting line, and output energy of the charging equipment is obtained through connection of the electronic equipment.

Description

Charging processing method and device and electronic equipment
Technical Field
The present invention relates to a charging processing technology, and in particular, to a charging processing method and apparatus, and an electronic device.
Background
Electronic devices such as smartphones, Personal Digital Assistants (PDAs) and the like may be charged by energy delivery from a charging device such as a charger, mobile charging source or the like. The electronic equipment is connected with the charging equipment through a charging wire and obtains electric quantity through the connection. Since most charging devices and charging wires are separated at present, the hybrid use of charging devices and charging wires of different models (specifications) for energy transmission of electronic devices becomes a main charging mode for charging the electronic devices. Although this can make effective use of the appliance resources, it has the following disadvantages: the problem that electrical parameters of charging equipment and charging wires which are used in a mixed mode are not matched possibly exists, and efficient energy transmission of electronic equipment cannot be achieved, namely efficient charging cannot be guaranteed; meanwhile, the phenomenon of charging overheating may occur, and the charging safety cannot be effectively guaranteed. The charging efficiency cannot be further improved due to the fact that fine management of charging is not met. The intelligent research on the charging cable is one of the key points for the inventor to find the knot and research the solution strategy to solve the problem.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide a charging processing method, a charging processing device, and an electronic device, which can at least improve charging efficiency and ensure charging security, so as to meet a fine management requirement of charging.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a charging processing method, which comprises the following steps:
acquiring electrical parameters of the connecting line;
controlling a charging input parameter of the electronic device or controlling a charging output parameter of the charging device based on an electrical parameter of the connecting line;
the electronic equipment is connected with the charging equipment through the connecting line, and the output energy of the charging equipment is obtained through the connection of the electronic equipment.
An embodiment of the present invention provides a charging processing apparatus, including:
the communication device is used for acquiring the electrical parameters of the connecting line;
a processor to perform the following operations:
controlling a charging input parameter of the electronic device or controlling a charging output parameter of the charging device based on an electrical parameter of the connecting line;
the electronic equipment is connected with the charging equipment through the connecting line, and the output energy of the charging equipment is obtained through the connection of the electronic equipment.
An embodiment of the present invention provides an electronic device, including the foregoing charging processing apparatus.
The embodiment of the invention provides a charging processing method, a charging processing device and electronic equipment, wherein the method comprises the following steps: the method comprises the steps of obtaining electrical parameters of a connecting line, controlling charging input parameters of electronic equipment or controlling charging output parameters of charging equipment based on the electrical parameters of the connecting line, wherein the electronic equipment is connected with the charging equipment through the connecting line, and output energy of the charging equipment is obtained through connection of the electronic equipment.
In this embodiment, considering the influence of the electrical parameter of the connection line (charging line) on the charging process, the electrical parameter of the connection line is used as a factor influencing the charging output parameter of the charging device or influencing the charging input parameter of the electronic device. By doing so, the requirement of charging fine management can be met; even the battery charging outfit of different models (specification) uses with the charging wire hybrid also can guarantee the security of charging, avoids the overheated phenomenon's of charging wire appearance, can improve charge efficiency greatly.
Drawings
Fig. 1 is a flowchart illustrating a first embodiment of a charging processing method according to the present invention;
fig. 2 is a flowchart illustrating a second embodiment of a charging processing method according to the present invention;
fig. 3 is a flowchart illustrating a charging processing method according to a third embodiment of the present invention;
fig. 4 is a flowchart illustrating a fourth embodiment of a charging processing method according to the present invention;
FIG. 5 is a schematic diagram of the charging implementation provided by the present invention;
FIG. 6 is a schematic diagram of a circuit configuration for implementing a charging processing method according to the present invention;
fig. 7 is a schematic structural diagram of a charging processing apparatus according to an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings, and it should be understood that the preferred embodiments described below are only for the purpose of illustrating and explaining the present invention, and are not to be construed as limiting the present invention.
The following embodiments of the charging processing method provided by the present invention can be applied to a charging device, an electronic device, and both the charging device and the electronic device, depending on the actual usage. Wherein the electronic device may be: industrial control computers, personal computers and the like, all types of computers, all-in-one computers, tablet computers, traditional mobile phones, smart phones, electronic readers and the like, and also can be wearable devices such as smart glasses, smart watches, smart shoes and the like. A preferred electronic device of the present invention is a smartphone.
In a first embodiment of the charging processing method provided by the present invention, an electronic device is connected to a charging device through a connection line (charging line), and the output energy of the charging device is obtained through the connection of the electronic device. That is, the present embodiment is directed to a case where the charging device charges the electronic device through the connection line, the charging device outputs charging energy to the electronic device through the connection line, and the electronic device receives the output energy of the charging device through the connection line so that the battery capacity in the electronic device is gradually in a sufficient state. The charging equipment outputs energy to the electronic equipment by outputting the charging output parameters, and the electronic equipment receives the charging energy output by the charging equipment by charging input parameters.
Fig. 1 is a flowchart illustrating a first embodiment of a charging processing method according to the present invention, and as shown in fig. 1, the method includes:
step 101: acquiring electrical parameters of the connecting line;
step 102: controlling a charging input parameter of the electronic device or controlling a charging output parameter of the charging device based on an electrical parameter of the connecting line;
when the embodiment of the present invention is applied to an electronic device, the main body for executing steps 101 and 102 is the electronic device. When the embodiment of the present invention is applied to a charging device, the main body for executing steps 101 and 102 is the charging device. When the embodiment of the present invention is completed through the interaction between the charging device and the electronic device, the main body performing step 101 is different from the main body performing step 102; or at least one of the electronic device and the charging device acquires the electrical parameters of the connecting line, the electronic device controls the charging input parameters of the electronic device based on the electrical parameters of the connecting line, and the charging device controls the charging output parameters of the charging device based on the electrical parameters of the connecting line. Or at least one of the electronic equipment and the charging equipment acquires electrical parameters of the connecting line, the electronic equipment controls charging output parameters of the charging equipment based on the electrical parameters of the connecting line, and the charging equipment controls charging input parameters of the electronic equipment based on the electrical parameters of the connecting line; in summary, the flow of steps 101, 102 is completed by the interaction between the electronic device and the charging device.
In summary, in this embodiment, first, the electrical parameter of the connection line is obtained, and then the charging input parameter of the electronic device is controlled according to the obtained electrical parameter of the connection line, or the charging output parameter of the charging device is controlled according to the obtained electrical parameter of the connection line. In the scheme, the electric parameter of the charging wire is used as a reference factor for determining the output of the charging equipment and the input of the electronic equipment in the charging process, and the influence of the electric parameter of the connecting wire (charging wire) on the charging process is also considered. The benefits of this are: the requirement of charging fine management can be met; even the battery charging outfit of different models (specification) and the charging wire mixed use also can guarantee the security of charging, also can avoid the overheated appearance of phenomenon of charging wire, improve charge efficiency greatly.
In a second embodiment of the charging processing method provided by the present invention, an electronic device is connected to a charging device through a connection line (charging line), and the output energy of the charging device is obtained through the connection of the electronic device. That is, the present embodiment is directed to a case where the charging device charges the electronic device through the connection line, the charging device outputs charging energy to the electronic device through the connection line, and the electronic device receives the output energy of the charging device through the connection line so that the battery capacity in the electronic device is gradually in a sufficient state. The charging equipment outputs energy to the electronic equipment by outputting the charging output parameters, and the electronic equipment receives the charging energy output by the charging equipment by charging input parameters.
Fig. 2 is a flowchart illustrating an implementation of a second embodiment of a charging processing method according to the present invention, as shown in fig. 2, the method includes:
step 201: reading the electrical parameters of the connecting wire;
here, taking the electrical parameter of the connection line (charging line) as one consideration in determining the output of the charging device during charging, a memory/chip for storing the electrical parameter is provided in the connection line in the present embodiment. The electrical parameters of the connecting wires are read from the memory chip/device. The electrical parameters may specifically be the voltage range, current range, temperature range, and resistance (impedance) or resistance (impedance) range of the connection line. It will be appreciated by those skilled in the art that the voltage/current/temperature range is from a minimum value of the corresponding electrical parameter to a maximum value of the corresponding electrical parameter. In practical use, the maximum voltage, the maximum current and the maximum temperature are applied more; of course, the electrical parameters also include other parameters used during charging, such as the superconducting rate.
Step 202: judging whether the charging output parameters of the charging equipment are matched with the electrical parameters of the connecting line;
if not, go to step 203:
if the match is determined, go to step 204;
step 203: when the judgment result shows that the charging parameters are not matched, selecting the charging output parameters of the charging equipment matched with the electrical parameters of the connecting line as target output parameters of the charging equipment;
when the charging parameters are not matched, the charging output parameters matched with the electrical parameters of the connecting line are selected as target output parameters of the charging equipment, and the charging equipment is used for charging the electronic equipment through the target output parameters.
Step 204: when the charging device is judged to be matched with the charging device, the charging output parameter of the charging device is used as a target output parameter of the charging device;
here, when matching, the charging output parameter matching the electrical parameter of the connection line is taken as the target output parameter of the charging device to charge the electronic device through the target output parameter charging device.
The main body for executing steps 201-204 is a charging device.
Fig. 5 is a schematic diagram illustrating a charging device charging an electronic device through a connection line. The connecting wire (charging wire) is connected with the electronic equipment and the charging equipment through pins 1-4, and the pins 1-4 respectively correspond to a grounding signal, a data signal (anode), a data signal (cathode) and a charging signal (V)bus/Ibus). Rx is the resistance of the charging wire itself, ICFor the charging current, in the process that the charging equipment charges the electronic equipment through the charging wire, the impedance on the charging wire can lose part of power, so that the V output by the charging equipment sidebus/Ibus(charging output voltage/current) when reaching the electronic device side upon transmission through the charging line Vin/IinThe (charging input voltage/current) is reduced in value. V on electronic device sidein/IinFor charging the battery of the electronic device.
Taking the electrical parameter as the voltage as an example, the charging device reads the maximum voltage value bearable by the charging wire stored in the memory chip/device of the charging wire, and judges the current pre-output voltage V of the charging devicebusIf the voltage is higher than the maximum voltage value bearable by the charger, the pre-output voltage V of the charging equipment is judged to be higher than the maximum voltage value bearable by the chargerbusElectrical parameter (charge) to connection lineThe maximum voltage value that the electrical appliance can bear) and in order to prevent the connecting line from being damaged due to charging overheating in the charging process, the voltage value smaller than the maximum voltage value that the charger can bear is selected as the target output parameter of the charging device within the range of the voltage value that the charging device can bear, and the electronic device is charged by outputting the target output parameter. When the voltage is judged not to be higher than the preset voltage V, the current pre-output voltage V of the charging equipmentbusThe voltage parameter is matched with an electrical parameter (the maximum voltage value bearable by the charger) of the connecting line, and the charging equipment charges the electronic equipment by using the voltage parameter.
The above description is made by taking an electrical parameter as an example of voltage, and the description made by taking current, temperature or other parameters is similar to the above scheme, which is not listed here. In short, in this embodiment, the charging efficiency can be greatly improved by such a matching determination of the charging device and adjusting the output parameter according to the determination result, and the phenomena of charging overheating and damage of the charging line do not occur in the charging process.
In the above scheme, the stored electrical parameters of the charging wire are read, the charging device judges whether the charging output parameters are matched with the electrical parameters of the connecting wire, and the parameters matched with the electrical parameters of the connecting wire are determined to charge the electronic device according to the judgment result. The electrical parameters of the charging lines are used as a reference factor for determining the output of the charging device during the charging process, i.e. the influence of the electrical parameters of the connecting lines (charging lines) on the charging process is taken into account. The benefits of this are: the charging equipment adjusts the output parameters according to the electrical parameters of the charging wires, and can meet the requirements of intelligent and fine management on charging. Even the battery charging outfit of different models (specification) and the charging wire mixed use also can guarantee the security of charging, also can avoid the overheated appearance of phenomenon of charging wire, improve charge efficiency greatly.
In a third embodiment of the charging processing method provided by the present invention, an electronic device is connected to a charging device through a connection line (charging line), and the output energy of the charging device is obtained through the connection of the electronic device. That is, the present embodiment is directed to a case where the charging device charges the electronic device through the connection line, the charging device outputs charging energy to the electronic device through the connection line, and the electronic device receives the output energy of the charging device through the connection line so that the battery capacity in the electronic device is gradually in a sufficient state. The charging equipment outputs energy to the electronic equipment by outputting the charging output parameters, and the electronic equipment receives the charging energy output by the charging equipment by charging input parameters.
Fig. 3 is a flowchart of an implementation of a third embodiment of a charging processing method provided by the present invention, and as shown in fig. 3, the method includes:
step 301: reading the electrical parameters of the connecting wire;
here, taking the electrical parameter of the connection line (charging line) as one consideration in determining the input to the electronic device during charging, a memory/chip for storing the electrical parameter is provided in the connection line in this embodiment. The electrical parameters of the connecting wires are read from the memory chip/device. The electrical parameters may specifically be the voltage range, current range, temperature range, and resistance (impedance) or resistance (impedance) range of the connection line. It will be appreciated by those skilled in the art that the voltage/current/temperature ranges from a minimum value for the corresponding electrical parameter to a maximum value for the corresponding electrical parameter. In practical use, the maximum voltage, the maximum current and the maximum temperature are applied more; of course, the electrical parameters also include other parameters used during charging, such as the superconducting rate.
Step 302: judging whether the charging input parameters of the electronic equipment are matched with the electrical parameters of the connecting line;
if not, go to step 303:
if yes, go to step 304;
step 303: when the judgment result shows that the input parameters are not matched, selecting the charging input parameters of the electronic equipment matched with the electrical parameters of the connecting line as target input parameters of the electronic equipment;
when the charging input parameters are not matched, the charging input parameters matched with the electrical parameters of the connecting line are selected as target input parameters of the electronic equipment, and the electronic equipment receives the output energy of the charging equipment through the target input parameters.
Step 304: when the electronic equipment is judged not to be matched with the electric parameters of the connecting line, taking the charging input parameters of the electronic equipment matched with the electric parameters of the connecting line as target input parameters of the charging equipment;
here, at the time of matching, the charging input parameter matching the electrical parameter of the connection line is taken as a target input parameter of the electronic device to receive the output energy of the charging device through the target input parameter electronic device.
The main body for executing steps 301-304 is an electronic device.
As shown in fig. 5, taking the electrical parameter as the current, for example, to realize the fast charging of the electronic device, the charging input parameter of the electronic device, such as I, is requiredinReaching a certain value such as 5A. Supposing that the current electronic equipment is connected with a charging wire 1, the electronic equipment reads the current range which can be borne by the charging wire 1 and is stored in a storage chip/device of the charging wire 1, the electronic equipment judges whether the charging input parameter (5A) at the moment is matched with the electrical parameter (the current range which can be borne by the charging wire) of the charging wire 1, taking the current range which can be borne by the charging wire as 4.5-4.8A as an example, the judgment is mismatching, the electronic equipment selects 4.8A as a target input parameter, the battery of the electronic equipment receives the target input parameter, and the electronic equipment gradually becomes sufficient by approaching a quick charging form as much as possible. If the range of current that can be borne by the charging wire 1 is higher than 4.8A, the battery of the electronic device receives the input of the charging input parameter 5A (target input parameter) so that the self-electricity quantity gradually tends to be sufficient.
The above description is made by taking an electrical parameter as an example of voltage, and the description made by taking current, temperature or other parameters is similar to the above scheme, which is not listed here. In a word, the matching judgment of the electronic equipment in the charging process can enable the electronic equipment to quickly finish charging according to the input mode of the matching result, and the charging efficiency is greatly improved.
In the above scheme, the stored electrical parameters of the charging wire are read, the electronic device judges whether the charging input parameters are matched with the electrical parameters of the connecting wire, and the parameters matched with the electrical parameters of the connecting wire are determined according to the judgment result so that the electronic device can be normally charged. The electrical parameters of the charging lines are used as a reference factor for determining the input of the electronic device during the charging process, i.e. the influence of the electrical parameters of the connecting lines (charging lines) on the charging process is taken into account. The benefits of this are: the electronic equipment carries out the adjustment of input parameter according to the electrical parameter of charging wire, can satisfy the demand of carrying out intellectuality, the management that becomes more meticulous to charging.
In a fourth embodiment of the charging processing method provided by the present invention, an electronic device is connected to a charging device through a connection line (charging line), and the output energy of the charging device is obtained through the connection of the electronic device. That is, the present embodiment is directed to a case where the charging device charges the electronic device through the connection line, the charging device outputs charging energy to the electronic device through the connection line, and the electronic device receives the output energy of the charging device through the connection line so that the battery capacity in the electronic device is gradually in a sufficient state. The charging equipment outputs energy to the electronic equipment by outputting the charging output parameters, and the electronic equipment receives the charging energy output by the charging equipment by charging input parameters.
Fig. 4 is a flowchart of an implementation of a fourth embodiment of a charging processing method provided by the present invention, and as shown in fig. 4, the method includes:
step 401: reading the electrical parameters of the connecting wire;
here, taking the electrical parameter of the connection line (charging line) as one consideration in determining the input to the electronic device during charging, a memory/chip for storing the electrical parameter is provided in the connection line in this embodiment. The electrical parameters of the connecting wires are read from the memory chip/device. The electrical parameters may specifically be the voltage range, current range, temperature range, and resistance (impedance) or resistance (impedance) range of the connection line. It will be appreciated by those skilled in the art that the voltage/current/temperature ranges from a minimum value for the corresponding electrical parameter to a maximum value for the corresponding electrical parameter. In practical use, the maximum voltage, the maximum current and the maximum temperature are applied more; of course, the electrical parameters also include other parameters used during charging, such as the superconducting rate.
Step 402: acquiring a charging pre-output parameter of the charging equipment or acquiring a charging pre-input parameter of the electronic equipment;
step 403: adjusting the charging pre-output parameter of the charging equipment according to the electrical parameter of the connecting line to obtain a target output parameter of the charging equipment, so that the charging equipment outputs energy to the electronic equipment based on the target output parameter; or adjusting the charging pre-input parameters of the electronic equipment according to the electrical parameters of the connecting line to obtain target input parameters of the electronic equipment.
Here, the charging pre-output parameter of the charging device or the charging pre-input parameter of the electronic device is adjusted according to the electrical parameter of the charging line to obtain the target output parameter of the charging device or obtain the target input parameter of the electronic device, so that the charging process is guaranteed to be efficiently completed through the target output parameter of the charging device and the target input parameter of the electronic device.
As an embodiment, the adjusting the charging pre-output parameter of the charging device according to the electrical parameter of the connection line to obtain the target output parameter of the charging device includes:
acquiring attribute parameters of the electronic equipment; estimating electrical parameters of the connecting line according to attribute parameters of the electronic equipment to obtain first estimation parameters; obtaining a target output parameter of the charging equipment based on the first estimation parameter; and sending the target output parameters to the charging equipment through a connecting line so that the charging equipment charges the electronic equipment by outputting the target output parameters. That is, according to the attribute parameters of the electronic device, the resistance (impedance) parameters of the connection line connected under the current connection are estimated, and according to the estimation result, the target output parameters of the charging device, specifically, the target output voltage/current, are obtained.
The acquiring of the attribute parameters of the electronic device includes:
reading at least one input voltage parameter of the electronic device;
reading at least one set of impedance parameters of the electronic device (each set comprising at least two impedance parameters);
correspondingly, the estimating the electrical parameter of the connection line according to the attribute parameter of the electronic device to obtain a first estimation parameter includes:
calculating impedance parameters of at least one connecting line according to at least one input voltage parameter and at least one group of impedance parameters of the electronic equipment;
determining the impedance parameter of one connecting line or the average value of the impedance parameters of two or more connecting lines as a first estimation parameter;
correspondingly, obtaining the target output parameter of the charging device based on the first estimation parameter includes:
comparing the first estimated parameter to a first predetermined value;
when the first estimation parameter is larger than a first preset value, increasing a pre-output parameter of the charging equipment, and determining the increased pre-output parameter as a target output parameter of the charging equipment;
and when the first estimation parameter is smaller than the first preset value, reducing the pre-output parameter of the charging equipment, and determining the reduced pre-output parameter as the target output parameter of the charging equipment.
In the above scheme, consider: the resistance of the charging wire read can be a specific value or a range of values. The resistance of the charging wire is in a range value, so that the charging wire is matched with different charging devices for use; on the other hand, Vin of the electronic equipment is fixed and unchangeable within a period of time, and to achieve high charging efficiency, the change of the resistance is calculated according to the change of Vin, namely a reasonable resistance value is selected from the resistance range value through calculation, and the output of the charging equipment is reasonably adjusted according to the resistance value, so that on one hand, the charging efficiency can be met, and on the other hand, the requirement of reducing loss caused by the existence of the resistance on a charging line as much as possible can be met; and the charging wire can be used with different specifications charging equipment in a matched manner, charging overheating, damage and other phenomena cannot be caused, and intelligent and fine management of charging can be met.
The foregoing is further described with reference to fig. 6.
In fig. 6, on the electronic device side, a control circuit is added in addition to the battery circuit. The control circuit comprises resistors R1 and R2 and a switch 1; the battery circuit includes resistor R3, switch 2, and a battery.
In the charging process, Vin of the electronic device is fixed and unchangeable within a period of time, when the Vin changes, the impedance of the charging line needs to be calculated every other section for achieving the high efficiency of charging, and the output of the charging device is reasonably adjusted according to the resistance value, so that the smooth completion of the charging process is ensured.
During charging, the switch 2 in the battery circuit is turned to the position 3, and the switch 1 of the control circuit is turned to the position 2, that is, the control circuit is in an off state during charging, and only the charging input current Vin is directly input to the battery through the R3 to charge the battery.
When the electronic device learns that Vin has changed (becomes V' in), switch 2 of the battery circuit is turned from position 3 to position 4, and switch 1 of the control circuit is turned from position 2 to position 1, i.e. the battery circuit is not charged and is in an off state. In this case, the electronic device reads the resistances of the resistors R1 and R2 in the control circuit, obtains the charging output parameter Vbus of the charging device through a USB-PD protocol (USB Power Delivery Specification, universal serial bus charging protocol), and then calculates according to the formula (1), to obtain the estimated impedance Rx of the charging line:
Figure BDA0001417345990000111
the resistance values of the resistors R1 and R2 are a group of resistance parameters and are attribute parameters of the electronic equipment; vbus is an input voltage parameter of the electronic device, and is an attribute parameter of the electronic device.
The foregoing is the estimated impedance Rx that the electronic device derives from knowing one Vbus. In consideration of the accuracy of estimation of the impedance of the charging lines, at least two Vbus may be known, the impedance of one charging line is calculated according to formula (1) for each of the known Vbus, and the calculated impedance values of all the charging lines are averaged, thereby obtaining a final estimated impedance value (first estimation parameter) of the charging line. Next, the electronic device compares the first estimated parameter with a predetermined ideal impedance value (first predetermined value);
when the first estimated parameter is larger than or equal to the first preset value, the actual resistance of the charging line is larger than the ideal resistance value, so that the energy consumed on the charging line is increased, in order to ensure the normal operation of the charging process, the output parameter of the charging equipment such as Vbus/Ibus needs to be increased, and the increased Vbus/Ibus is sent to the charging equipment by the electronic equipment through the charging line, so that the charging equipment charges the electronic equipment by using the increased Vbus/Ibus. The charging equipment charges the electronic equipment by using the increased Vbus/Ibus, the energy consumed on a charging line is taken into consideration, the electronic equipment is charged by using the increased Vbus/Ibus, and the charging of the electronic equipment is not influenced even if the output energy of the charging equipment is consumed on the charging line; that is, the increased Vbus/Ibus is used to integrate the voltage/current consumed on the charging line, and the output voltage/current (Vbus/Ibus) of the charging device can still maintain the input voltage/current (Vin/Iin) expected by the electronic device when the voltage/current consumed on the charging line reaches the electronic device side.
When the first estimated parameter is smaller than the first preset value, the actual resistance of the charging line is smaller than the ideal resistance value, so that the energy consumed on the charging line is smaller, the output parameter of the charging equipment at the moment can be properly reduced, and normal charging can be guaranteed. The electronic equipment reduces the pre-output parameter of the charging equipment, determines the reduced pre-output parameter as the target output parameter of the charging equipment, and sends the reduced Vbus/Ibus to the charging equipment through a charging wire, so that the charging equipment charges the electronic equipment by using the reduced Vbus/Ibus. Thus, efficient charging is achieved on the basis of no energy waste.
The increasing and decreasing amplitudes of the pre-output parameters can take any reasonable values, and are not particularly limited.
After the target output parameter of the charging device is adjusted by the electronic device for V' in, the electronic device controls the switch 2 in the battery circuit to be turned to the position 3, and controls the switch 1 in the battery circuit to be turned to the position 2, that is, the charging process is started in the charging process. And the charging equipment charges the electronic equipment by using the adjusted output parameters.
In the scheme, the electrical parameters (impedance values) of the connecting line are estimated according to the attribute parameters (R1, R2 and input voltage parameters) of the electronic equipment to obtain a first estimation parameter (impedance average value); obtaining a target output parameter of the charging equipment based on the first estimation parameter; and sending the target output parameters to the charging equipment through a connecting line so that the charging equipment charges the electronic equipment by outputting the target output parameters. The accurate impedance value of the charging line connected under the current connecting condition with the charging equipment and the electronic equipment can be obtained through accurate estimation of the impedance value of the connecting line; the target output parameter of the charging equipment can be accurately adjusted according to the impedance value so as to efficiently charge the electronic equipment. The intellectualization and the refinement of the charging are reflected.
The present invention also provides an embodiment of a charging processing apparatus, as shown in fig. 7, the electronic device includes:
a communication device 801 for acquiring electrical parameters of the connection line;
a memory 803 for storing a charging processing program;
a processor 804 configured to perform the following operations when executing the charging processing program:
controlling a charging input parameter of the electronic device or controlling a charging output parameter of the charging device based on an electrical parameter of the connecting line;
the electronic equipment is connected with the charging equipment through the connecting line, and the output energy of the charging equipment is obtained through the connection of the electronic equipment.
Wherein the processor 804 is configured to perform the following operations:
acquiring a charging pre-output parameter of the charging equipment;
adjusting the charging pre-output parameter of the charging equipment according to the electrical parameter of the connecting line to obtain a target output parameter of the charging equipment, so that the charging equipment outputs energy to the electronic equipment based on the target output parameter;
or,
acquiring a charging pre-input parameter of the electronic equipment;
and adjusting the charging pre-input parameters of the electronic equipment according to the electrical parameters of the connecting line to obtain target input parameters of the electronic equipment.
The processor 804 is configured to perform the following operations:
reading the electrical parameters of the connecting wire;
judging whether the charging output parameters of the charging equipment are matched with the electrical parameters of the connecting line or not, or judging whether the charging input parameters of the electronic equipment are matched with the electrical parameters of the connecting line or not;
and when the judgment result shows that the charging parameters are not matched, selecting the charging output parameters of the charging equipment matched with the electrical parameters of the connecting line as the target output parameters of the charging equipment, or selecting the charging input parameters of the electronic equipment matched with the electrical parameters of the connecting line as the target input parameters of the electronic equipment.
The processor 804 is further configured to perform the following operations:
acquiring attribute parameters of the electronic equipment;
estimating electrical parameters of the connecting line according to attribute parameters of the electronic equipment to obtain first estimation parameters;
and obtaining a target output parameter of the charging equipment based on the first estimation parameter.
The processor 804 is configured to perform the following operations:
comparing the first estimated parameter to a first predetermined value;
when the first estimation parameter is larger than a first preset value, increasing a pre-output parameter of the charging equipment, and determining the increased pre-output parameter as a target output parameter of the charging equipment;
and when the first estimation parameter is smaller than the first preset value, reducing the pre-output parameter of the charging equipment, and determining the reduced pre-output parameter as the target output parameter of the charging equipment.
In fig. 7, a bus system 800 is used to implement the connection communication among the components of the communication apparatus 801, the memory 803, and the processor 804. The bus system 800 includes a power bus, a control bus, and a status signal bus in addition to a data bus. But for the sake of clarity will be referred to as the bus system 800.
It should be noted that, in the charging processing device provided in the embodiment of the present invention, because the principle of solving the problem of the charging processing device is similar to that of the charging processing method, the implementation process and the implementation principle of the charging processing device can be described by referring to the implementation process and the implementation principle of the charging processing method, and repeated details are not repeated.
The embodiment of the invention also provides electronic equipment which comprises the charging processing device.
The embodiment of the invention also provides a charging device, which comprises the charging processing device.
The implementation process and implementation principle of the charging processing device, the electronic device or the charging device including the charging processing device provided by the embodiment of the invention can be understood by referring to the charging processing method. As understood with reference to fig. 1-6.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (13)

1. A charging processing method, characterized in that the method comprises:
acquiring electrical parameters of the connecting line;
controlling a charging output parameter of the charging device based on the electrical parameter of the connecting line;
the connecting line is used for connecting the charging equipment and the electronic equipment, and the charging output parameter is used for the charging equipment to output energy to the electronic equipment;
wherein, the electric parameter based on the connecting wire, control the output parameter of charging of battery charging outfit includes:
acquiring a charging pre-output parameter of the charging equipment;
acquiring attribute parameters of electronic equipment, wherein the attribute parameters comprise at least one input voltage parameter and at least one group of impedance parameters;
calculating the impedance parameter of at least one connecting line according to the at least one input voltage parameter and the at least one group of impedance parameters, and determining the impedance parameter of one connecting line as a first estimation parameter;
and adjusting the pre-output parameter based on the first estimation parameter to obtain a target output parameter of the charging device, so that the charging device outputs energy to the electronic device based on the target output parameter.
2. The method of claim 1, wherein the obtaining electrical parameters of the connection line comprises:
reading the electrical parameters of the connecting wire;
correspondingly, the electric parameter based on the connecting wire controls the charging output parameter of the charging equipment, and the method comprises the following steps:
judging whether the charging output parameters of the charging equipment are matched with the electrical parameters of the connecting line;
and when the judgment result shows that the charging parameters are not matched, selecting the charging output parameters of the charging equipment matched with the electrical parameters of the connecting line as the target output parameters of the charging equipment.
3. The method of claim 1, wherein the adjusting the pre-output parameter based on the first estimated parameter to obtain a target output parameter of the charging device comprises:
comparing the first estimated parameter to a first predetermined value;
when the first estimation parameter is larger than a first preset value, increasing a pre-output parameter of the charging equipment, and determining the increased pre-output parameter as a target output parameter of the charging equipment;
and when the first estimation parameter is smaller than the first preset value, reducing the pre-output parameter of the charging equipment, and determining the reduced pre-output parameter as the target output parameter of the charging equipment.
4. A charging processing method, characterized in that the method comprises:
acquiring electrical parameters of the connecting line;
controlling a charging input parameter of the electronic device based on an electrical parameter of the connecting line;
the connecting line is used for connecting a charging device and the electronic device, and the charging input parameter is used for the electronic device to receive energy output by the charging device;
wherein, the electric parameter based on the connecting wire, control the input parameter that charges of electronic equipment includes:
acquiring a charging pre-input parameter of the electronic equipment;
and adjusting the charging pre-input parameters of the electronic equipment according to the electrical parameters of the connecting line to obtain target input parameters of the electronic equipment.
5. The method of claim 4, wherein the obtaining electrical parameters of the connection line comprises:
reading the electrical parameters of the connecting wire;
correspondingly, the electric parameter based on the connecting wire controls the charging input parameter of the electronic device, and comprises:
judging whether the charging input parameters of the electronic equipment are matched with the electrical parameters of the connecting line;
and when the judgment result shows that the input parameters are not matched, selecting the charging input parameters of the electronic equipment matched with the electrical parameters of the connecting line as target input parameters of the electronic equipment.
6. A charge processing apparatus, characterized in that the apparatus comprises:
the communication device is used for acquiring the electrical parameters of the connecting line;
a processor to perform the following operations:
controlling a charging output parameter of a charging device based on an electrical parameter of a connecting line, wherein the connecting line is used for connecting the charging device and an electronic device, and the charging output parameter is used for the charging device to output energy to the electronic device;
wherein, the electric parameter based on the connecting wire, control the output parameter of charging of battery charging outfit includes:
acquiring a charging pre-output parameter of the charging equipment;
acquiring attribute parameters of electronic equipment, wherein the attribute parameters comprise at least one input voltage parameter and at least one group of impedance parameters;
calculating the impedance parameter of at least one connecting line according to the at least one input voltage parameter and the at least one group of impedance parameters, and determining the impedance parameter of one connecting line as a first estimation parameter;
and adjusting the pre-output parameter based on the first estimation parameter to obtain a target output parameter of the charging device, so that the charging device outputs energy to the electronic device based on the target output parameter.
7. The apparatus of claim 6, wherein the processor is configured to:
reading the electrical parameters of the connecting wire;
judging whether the charging output parameters of the charging equipment are matched with the electrical parameters of the connecting line;
and when the judgment result shows that the charging parameters are not matched, selecting the charging output parameters of the charging equipment matched with the electrical parameters of the connecting line as the target output parameters of the charging equipment.
8. The apparatus of claim 6, wherein the processor is configured to:
comparing the first estimated parameter to a first predetermined value;
when the first estimation parameter is larger than a first preset value, increasing a pre-output parameter of the charging equipment, and determining the increased pre-output parameter as a target output parameter of the charging equipment;
and when the first estimation parameter is smaller than the first preset value, reducing the pre-output parameter of the charging equipment, and determining the reduced pre-output parameter as the target output parameter of the charging equipment.
9. A charge processing apparatus, characterized in that the apparatus comprises:
the communication device is used for acquiring the electrical parameters of the connecting line;
a processor to perform the following operations:
controlling a charging input parameter of the electronic device based on an electrical parameter of the connecting line;
the connecting line is used for connecting a charging device and the electronic device, and the charging input parameter is used for the electronic device to receive energy output by the charging device;
wherein, the electric parameter based on the connecting wire, the input parameter of charging of control electronic equipment includes:
acquiring a charging pre-input parameter of the electronic equipment;
and adjusting the charging pre-input parameters of the electronic equipment according to the electrical parameters of the connecting line to obtain target input parameters of the electronic equipment.
10. The apparatus of claim 9, wherein the processor is configured to:
reading the electrical parameters of the connecting wire;
correspondingly, the electric parameter based on the connecting wire controls the charging input parameter of the electronic device, and comprises:
judging whether the charging input parameters of the electronic equipment are matched with the electrical parameters of the connecting line;
and when the judgment result shows that the input parameters are not matched, selecting the charging input parameters of the electronic equipment matched with the electrical parameters of the connecting line as target input parameters of the electronic equipment.
11. An electronic device characterized in that it comprises the charge processing apparatus of any one of the preceding claims 6 to 8.
12. An electronic device characterized in that it comprises the charge processing apparatus of any one of the preceding claims 9 to 10.
13. An electronic device characterized in that the electronic device comprises the charge processing apparatus of any one of the preceding claims 6 to 8 and the charge processing apparatus of any one of claims 9 to 10.
CN201710872232.XA 2017-09-25 2017-09-25 Charging processing method and device and electronic equipment Active CN107437839B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710872232.XA CN107437839B (en) 2017-09-25 2017-09-25 Charging processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710872232.XA CN107437839B (en) 2017-09-25 2017-09-25 Charging processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN107437839A CN107437839A (en) 2017-12-05
CN107437839B true CN107437839B (en) 2021-10-22

Family

ID=60462298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710872232.XA Active CN107437839B (en) 2017-09-25 2017-09-25 Charging processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN107437839B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7599647B2 (en) * 2005-10-26 2009-10-06 Sharp Kabushiki Kaisha Charging device and electrophotographic apparatus including the same
CN108767346B (en) * 2015-03-27 2020-03-17 Oppo广东移动通信有限公司 Charging control method and device and charging cable
CN205123371U (en) * 2015-11-12 2016-03-30 国网重庆市电力公司电力科学研究院 Portable electric car charging cable
CN105914807A (en) * 2016-03-21 2016-08-31 联想(北京)有限公司 Method for reducing heating of charging cable, and electronic device
CN106058959A (en) * 2016-05-30 2016-10-26 乐视控股(北京)有限公司 Charging line and charger

Also Published As

Publication number Publication date
CN107437839A (en) 2017-12-05

Similar Documents

Publication Publication Date Title
US11368039B2 (en) Battery charging method and electronic device
AU2015345832B2 (en) Fast charging method, power source adapter and mobile terminal
CN106532882B (en) A kind of charge control method and device
EP3312969A1 (en) Charging method and electronic devices
US9647475B2 (en) Charger, terminal, charging system, and charging control method
WO2016101509A1 (en) Charging control method and device
US20150145468A1 (en) Device and chip for controlling charging, and user terminal
CN105591431A (en) Charging method and equipment of mobile terminal, and mobile terminal
CN110854939B (en) Method for charging double batteries, electronic device and storage medium
CN109768599B (en) Charging method based on multiple USB-C interfaces and main equipment
CN103647318B (en) Communicating terminal, charge control method, device and circuit
EP3678277A1 (en) Quick charging method for battery, charging device, device to be charged and charging system
CN106230070B (en) Charging method and device
US20180076634A1 (en) Charging method and electronic apparatus
US20120104994A1 (en) Sink current adaptation based on power supply detection
CN110492575B (en) Quick charging system and method for handheld device and handheld device
CN107508354B (en) A kind of charging method and mobile terminal
CN105553050A (en) Self-adaptive charging method and system
CN105576753A (en) Information processing method and electronic equipment
CN104977539A (en) Method and device capable of automatically measuring at least one parameter
CN104600384B (en) A kind of charging method, charging device and relevant apparatus
CN108321900A (en) The charge control method and terminal of terminal
CN106329625B (en) charging method and device
CN107437839B (en) Charging processing method and device and electronic equipment
JP7111803B6 (en) Charging method, terminal and computer storage medium

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
TG01 Patent term adjustment