[go: up one dir, main page]

WO2018053724A1 - Mobile terminal, charging method, and charging system - Google Patents

Mobile terminal, charging method, and charging system Download PDF

Info

Publication number
WO2018053724A1
WO2018053724A1 PCT/CN2016/099614 CN2016099614W WO2018053724A1 WO 2018053724 A1 WO2018053724 A1 WO 2018053724A1 CN 2016099614 W CN2016099614 W CN 2016099614W WO 2018053724 A1 WO2018053724 A1 WO 2018053724A1
Authority
WO
WIPO (PCT)
Prior art keywords
charging
charging current
management chip
battery management
current
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.)
Ceased
Application number
PCT/CN2016/099614
Other languages
French (fr)
Chinese (zh)
Inventor
雷振飞
王向东
孙伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201680000894.1A priority Critical patent/CN108370171B/en
Priority to PCT/CN2016/099614 priority patent/WO2018053724A1/en
Publication of WO2018053724A1 publication Critical patent/WO2018053724A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/02Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries for charging batteries from AC mains by converters
    • H02J7/04Regulation of charging current or voltage

Definitions

  • the present disclosure relates to the field of charging technologies, and in particular, to a mobile terminal, a charging method, and a charging system.
  • the charger is a charging device composed of a power adapter and a charging cable, and in order to improve the portability of the charger, the power adapter and the charging cable are usually in a detachable structure.
  • the present disclosure provides a mobile terminal, a charging method, and a charging system.
  • the technical solution is as follows:
  • a mobile terminal in a first aspect, includes: a hardware charging interface, a battery management chip electrically connected to the hardware charging interface, and a battery electrically connected to the battery management chip;
  • a hardware charging interface for receiving a DC voltage transmitted by the power adapter through the charging line; an input DC voltage to the battery management chip;
  • a battery management chip configured to calculate an impedance of the charging line according to the actual voltage value of the collected DC voltage and the actual current value
  • the battery management chip is also used to set the charging current according to the impedance of the charging line; the battery is charged according to the set charging current.
  • the battery management chip is electrically connected to the hardware charging interface through a VBus (Voltage Bus, voltage bus pin) and GND (GROUND, ground pin);
  • VBus Voltage Bus, voltage bus pin
  • GND GROUND, ground pin
  • a battery management chip for receiving a DC voltage input through a hardware charging interface through the VBus
  • the battery management chip is further configured to collect at least two sets of test data at the VBus, each set of test data includes an actual voltage value and an actual current value at the VBus; and the impedance of the charging line is calculated according to at least two sets of test data.
  • the battery management chip is further electrically connected to the hardware charging interface through D+ (Data+, data plus pin) and D-(Data-, data minus pin);
  • the battery management chip is further configured to send a test command to the power adapter through D+ or D- when detecting the connection with the power adapter, the test command is used to instruct the power adapter to output a constant voltage value of the DC voltage;
  • the battery management chip is further configured to charge the battery with the first charging current; collect the first test data at the VBus, the first test data includes the first actual voltage value V 1 at the VBus and the first actual current value I 1 ;
  • the battery management chip is further configured to charge the battery with the second charging current; collect the second test data at the VBus, the second test data includes the second actual voltage value V 2 and the second actual current value I 2 at the VBus;
  • a battery management chip configured to calculate an impedance of the charging line according to the first test data and the second test data
  • the impedance of the charging line (V 1 - V 2 ) / (I 2 - I 1 ), and the first charging current ⁇ the second charging current ⁇ the rated charging current, and the rated charging current refers to the maximum charging current for charging the battery.
  • the battery management chip is configured to determine a charging current down-regulation coefficient according to the impedance of the charging line; the charging current is set according to the charging current lowering coefficient and the rated charging current, and the rated charging current refers to a maximum charging current for charging the battery.
  • the battery management chip is electrically connected to the processor
  • a battery management chip for transmitting a set charging current to the processor
  • the processor is configured to control the display screen to display a prompt message when the set charging current is less than the preset current threshold, and the prompt information is used to prompt the user to replace the charging line.
  • the mobile terminal further includes a temperature sensor, the temperature sensor is electrically connected to the processor, and the battery control chip is electrically connected to the processor;
  • the processor is configured to obtain an ambient temperature collected by the temperature sensor; when the ambient temperature is greater than the preset temperature threshold, send a control command to the battery management chip, where the control command is used to indicate that the set charging current is lowered;
  • the battery management chip is also used to lower the set charging current according to the control command.
  • a charging method for the mobile terminal according to the first aspect, the method comprising:
  • the DC voltage is passed by the power adapter through the charging line Hardware charging interface transmission;
  • the battery is charged according to the set charging current.
  • the impedance of the charging line is calculated according to the actual voltage value of the collected DC voltage and the actual current value, including:
  • each set of test data including an actual voltage value and an actual current value at the VBus;
  • the impedance of the charging line is calculated based on at least two sets of test data.
  • At least two sets of test data at the VBus are collected, including:
  • Calculate the impedance of the charging line based on at least two sets of test data including:
  • the impedance of the charging line (V 1 - V 2 ) / (I 2 - I 1 ), and the first charging current ⁇ the second charging current ⁇ the rated charging current, and the rated charging current refers to the maximum charging current for charging the battery.
  • the charging current is set according to the impedance of the charging line, including:
  • the charging current is set according to the charging current down-regulation coefficient and the rated charging current.
  • the rated charging current refers to the maximum charging current for charging the battery.
  • the method further includes:
  • the set charging current is sent to the processor, and the processor is configured to control the display screen to display a prompt message when the set charging current is less than the preset current threshold, and the prompt information is used to prompt the user to replace the charging line.
  • the method further includes:
  • the set charging current is lowered.
  • a charging system including a power adapter and a mobile terminal;
  • the power adapter and the mobile terminal are connected by a charging line;
  • the mobile terminal includes the mobile terminal as described in the first aspect.
  • the battery management chip inside the mobile terminal collects the actual voltage value and the actual current value of the input DC voltage before charging the battery, and further calculates the impedance of the charging line according to the actual voltage value and the actual current value, thereby resetting according to the impedance.
  • the charging current for charging the battery reduces the heat generation of the charging line during charging, and avoids the safety hazard caused by the inferior charging line charging when the inferior charging line with large impedance is used for charging, thereby improving the charging of the mobile terminal. Process security.
  • FIG. 1 is a block diagram showing the structure of a charging system provided by an exemplary embodiment
  • FIG. 2 is a block diagram showing the structure of a charging system provided by another exemplary embodiment
  • FIG. 3 is a block diagram showing the structure of a charging system provided by still another exemplary embodiment
  • FIG. 4 is a block diagram showing the structure of a charging system provided by still another exemplary embodiment
  • FIG. 5 shows a flow chart of a charging method provided by an exemplary embodiment
  • FIG. 6 shows a flow chart of a charging method provided by another exemplary embodiment
  • FIG. 7A is a flow chart showing a charging method provided by still another exemplary embodiment
  • FIG. 7B is a schematic view showing the implementation of the charging method shown in FIG. 7A;
  • FIG. 8 is a flow chart showing a charging method provided by still another exemplary embodiment
  • FIG. 9 is a structural block diagram of a mobile terminal according to an exemplary embodiment.
  • Multiple as referred to herein means two or more. "and/or”, describing the association relationship of the associated objects, indicating that there may be three relationships, for example, A and/or B, which may indicate that there are three cases where A exists separately, A and B exist at the same time, and B exists separately.
  • the symbol “/” generally indicates that the contextual object is an "or" relationship.
  • FIG. 1 is a block diagram showing the structure of a charging system provided by an exemplary embodiment.
  • the charging system includes a power adapter 110, a charging line 120, and a mobile terminal 130, wherein the power adapter 110 and the mobile terminal 130 are connected by a charging line 120.
  • the power adapter 110 and the charging line 120 constitute a charger for charging the mobile terminal 130.
  • the power adapter 110 inputs an AC voltage (such as 220V through an internal voltage conversion chip (not shown).
  • the AC voltage is converted to a DC voltage (such as a 5V DC voltage) and transmitted to the mobile terminal 130 via the charging line 120.
  • the power adapter 110 and the charging line 120 are of a unitary structure or a separable structure.
  • the mobile terminal 130 includes a hardware charging interface 131 , a battery management chip 132 electrically connected to the hardware charging interface 131 , and a battery 133 electrically connected to the battery management chip 132 .
  • the mobile terminal 130 is connected to the charging line 120 through the hardware charging interface 131, thereby receiving the DC voltage transmitted by the power adapter 110 through the charging line 120, and inputting the DC voltage to the connected battery management chip 132.
  • the hardware charging interface 131 can be a USB (Universal Serial Bus) 2.0 interface, a USB 3.0 interface, a Type C interface, or a Lightning interface; correspondingly, the charging line 120 can be a USB 2.0.
  • USB 3.0 data line, Type C data line or Lightning data line the present disclosure does not define the type of hardware charging interface 131 and charging line 120.
  • the battery management chip 132 in the mobile terminal 130 is provided with a voltage and current detecting function. When receiving the input DC voltage, the battery management chip 132 can collect the actual voltage value and the actual current value of the DC voltage.
  • the battery management chip 132 further includes a charging current adjustment function, by which the battery management chip 132 adjusts (eg, down-regulates) the charging current according to the calculated impedance of the charging line 120, thereby passing the internal charging according to the adjusted charging current.
  • a battery charging circuit (not shown) charges the connected battery 133.
  • the battery management chip 132 lowers the charging current, and the decreasing ratio of the charging current is proportional to the impedance of the charging line 120, that is, the greater the impedance, the greater the proportion of the charging current is lowered.
  • the smaller the impedance the smaller the down regulation ratio of the charging current.
  • the mobile terminal 130 in FIG. 1 can also adjust the charging current according to the calculated impedance of the charging line. This disclosure is not limited thereto.
  • the battery management chip lowers the charging current due to the large impedance of the inferior charging line, thereby reducing the heat generation of the charging line and avoiding the excessive heat generation of the charging line. Security risks.
  • the battery management chip inside the mobile terminal collects the actual voltage value and the actual current value of the input DC voltage before charging the battery, and further calculates the charging line according to the actual voltage value and the actual current value.
  • the impedance is thus reset to the charging current of the battery charging according to the impedance, thereby reducing the heat generation of the charging line during charging, and avoiding the use of a poor quality charging line for charging, because the inferior charging line generates a large amount of heat.
  • the safety hazard caused by the safety of the mobile terminal is improved.
  • the battery management chip 132 includes VBus and GND, and the battery management chip 132 is electrically connected to the hardware charging interface 131 through VBus and GND.
  • the hardware charging interface 131 After receiving the DC voltage transmitted by the charging line 120, the hardware charging interface 131 inputs a DC voltage to the battery management chip 132 through the VBus. Accordingly, the battery management chip 132 receives the DC voltage through the VBus. The DC voltage flowing through the battery management chip 132 flows out of GND (low potential) and flows through the charging line 120 to the power adapter 110 to form a complete charging circuit.
  • GND low potential
  • the battery management chip 132 collects at least two sets of test data at the VBus, and calculates the impedance of the charging line according to the at least two sets of test data, wherein each set of test data includes simultaneous acquisition. The actual voltage value and actual current value at the VBus.
  • the battery management chip 132 calculates the impedance of the charging line 120 according to the two sets of test data;
  • the battery management chip 132 calculates an impedance reference value according to each set of test data, and averages n(n-1)/2 impedance reference values. The value is determined as the impedance of the charging line 120.
  • the battery management chip 132 further includes D+ and D-, and the battery management chip 132 is electrically connected to the hardware charging interface 131 through D+ and D-, and the D+ and D- are used for data or signal transmission.
  • the battery management chip 120 transmits a test command to the power adapter 110 via D+ or D- when detecting the connection with the power adapter, the test command is used for A DC voltage indicating that the power adapter 110 outputs a constant voltage value.
  • the test command further includes an output voltage value for indicating a DC voltage output by the power adapter 110 at the output voltage value, wherein the output voltage value is less than or equal to a maximum charging voltage of the mobile terminal.
  • the power adapter 110 converts the AC voltage into a DC voltage of a constant voltage value through an internal voltage conversion chip, and transmits a DC voltage to the mobile terminal 130 through the charging line 120.
  • the power adapter 110 while outputting a constant DC voltage, sends a feedback command to the mobile terminal 130 through an internal adapter management chip (not shown) for indicating that the DC voltage is being output at a constant voltage value. .
  • the battery management chip 132 has a charging current adjustment function.
  • the battery management chip 132 can adjust the charging current through a MOSFET (Metal-Oxide-Semiconductor Field-Effect Transisto).
  • MOSFET Metal-Oxide-Semiconductor Field-Effect Transisto
  • the battery management chip 132 controls to charge the battery 133 with the first charging current, and during the charging process, the battery management chip 132 collects the first actual voltage value V 1 at the VBus and The first test data of the first actual current value I 1 .
  • the battery management chip 132 After collecting the first test data, the battery management chip 132 adjusts the charging current, controls charging of the battery 133 with the second charging current, and collects the second actual voltage value V 2 and the second actual current at the VBus during charging.
  • the second test data of value I 2 The second test data of value I 2 .
  • the first charging current and the second charging current are different, and the first charging current and the second charging current are both smaller than the rated charging current of the battery 133, and the rated charging current refers to a maximum charging current for charging the battery, for example, When the rated charging current is 1.5A, the first charging current is 0.5A and the second charging current is 0.8A.
  • the battery management chip 132 can still calculate the impedance of the charging line 120 according to the collected first test data and the second test data without knowing the accurate voltage value output by the power adapter 110, and because of the above formula V 1 , V 2 , I 1 and I 2 are actual measured values, and therefore, the calculated impedance is more accurate.
  • the battery management chip 132 After calculating the impedance of the charging line 120, the battery management chip 132 further determines a charging current reduction coefficient according to the impedance, and resets the charging current according to the charging current reduction coefficient and the rated charging current, so that the battery is set according to the set charging current. 133 charging.
  • the correspondence between the impedance and the charging current down-regulation coefficient is pre-stored in the battery management chip 132. The corresponding relationship is shown in Table 1.
  • the battery management chip outputs a constant direct current through the D+ or D- indicating power adapter. Pressing, and collecting at least two sets of test data at the VBus by adjusting the charging current, thereby calculating the impedance of the charging line according to the actual voltage value and the actual current value included in the test data, and ensuring the data used when calculating the charging line impedance. Both are actual measured values, which improves the accuracy of the calculated charging line impedance.
  • the battery management chip 132 in the mobile terminal 130 is also electrically connected to the processor 134. .
  • the set charging current is sent to the processor 134. Accordingly, the processor 134 receives the set charging current.
  • the processor 134 After receiving the set charging current, the processor 134 detects whether the charging current is less than a preset current threshold. When the charging current is less than the preset current threshold, the processor 134 controls the electrically connected display screen (not shown) The display prompt message prompts the user to replace the charging cable.
  • the battery management chip 132 may further send a charging current reduction coefficient to the processor, and the processor 134 determines the corresponding prompt mode according to the charging current reduction coefficient, and then prompts. For example, if the charging current reduction coefficient received by the processor is 0.7, the control display screen displays the text prompt information; for example, if the charging current reduction coefficient received by the processor is 0.3, the control display screen displays the animation prompt information.
  • the battery management chip sends the set charging current to the processor, so that the processor can display corresponding prompt information according to the charging current, prompting the user to replace the charging line as soon as possible, and avoiding the power caused by charging the inferior charging line. loss.
  • the temperature sensor 135 is further included in the mobile terminal 130, and the temperature sensor 135 is electrically connected to the processor 134.
  • the temperature sensor 135 collects the ambient temperature of the ambient environment, and correspondingly, the processor 134 acquires the ambient temperature from the temperature sensor 135.
  • the processor 134 After the processor 134 obtains the ambient temperature, detecting whether the ambient temperature is greater than a preset temperature threshold, when When the ambient temperature is greater than the preset temperature threshold, the processor 134 sends a control command to the battery management chip 132 to instruct the battery management chip to down-regulate the set charging current.
  • the processor 134 sends the control command to the battery management chip 132.
  • the battery management chip 132 performs down-regulation based on the received charging current based on the set charging current.
  • the battery management chip 132 reduces the determined charging current reduction coefficient by one level, and resets the charging current according to the adjusted charging current reduction coefficient.
  • the battery management chip 132 determines that the charging current reduction coefficient is 0.7 according to the impedance of the charging line 120. When receiving the control command sent by the processor 134, the battery management chip 132 adjusts the charging current reduction coefficient to 0.5.
  • the processor when the ambient temperature is high, the processor sends a control command to the battery management chip to instruct the battery management chip to reduce the charging current, thereby reducing the heat generated on the charging line and slowing the rising speed of the charging line temperature.
  • FIG. 5 shows a flow chart of a charging method provided by an exemplary embodiment.
  • the embodiment of the present disclosure is exemplified by the charging method applied to the mobile terminal 130 shown in FIGS. 1 to 4.
  • the charging method includes:
  • step 501 a DC voltage input by the hardware charging interface is received, and the DC voltage is transmitted by the power adapter to the hardware charging interface through the charging line.
  • step 502 the impedance of the charging line is calculated based on the actual voltage value of the collected DC voltage and the actual current value.
  • the battery management chip in the mobile terminal has a voltage and current measurement function.
  • the mobile terminal collects the actual voltage value and the actual current value through the battery management chip, and calculates according to the actual voltage value and the actual current value.
  • the impedance of the charging line is a voltage and current measurement function.
  • the battery management chip collects at least two sets of test data at the VBus, and calculates the impedance of the charging line according to at least two sets of test data, wherein each set of test data includes an actual voltage value and an actual current value at the VBus.
  • step 503 the charging current is set according to the impedance of the charging line.
  • the battery management chip in the mobile terminal has a current adjustment function, and after calculating the impedance of the charging line, the battery management chip accordingly lowers the charging current.
  • step 504 the battery is charged according to the set charging current.
  • the battery management chip in the mobile terminal includes a battery charging circuit, and the battery management chip charges the battery through the battery charging current according to the set charging current.
  • the battery management chip inside the mobile terminal collects the actual voltage value and the actual current value of the input DC voltage before charging the battery, and further calculates the charging line according to the actual voltage value and the actual current value.
  • the impedance is thus reset to the charging current of the battery charging according to the impedance, thereby reducing the heat generation of the charging line during charging, and avoiding the use of a poor quality charging line for charging, because the inferior charging line generates a large amount of heat.
  • the safety hazard caused by the safety of the mobile terminal is improved.
  • FIG. 6 shows a flow chart of a charging method provided by another exemplary embodiment.
  • the embodiment of the present disclosure is exemplified by the charging method applied to the mobile terminal 130 shown in FIGS. 1 to 4.
  • the charging method includes:
  • step 601 a test command is sent to the power adapter via D+ or D- upon detecting a connection to the power adapter.
  • the battery management chip sends a test command to the power adapter via D+ or D- when it detects a connection with the power adapter, which is used to indicate the power adapter.
  • a DC voltage that outputs a constant voltage value is used to indicate the power adapter.
  • the test command further includes an output voltage value for indicating a DC voltage output by the power adapter at the output voltage value, wherein the output voltage value is less than or equal to a maximum charging voltage of the mobile terminal.
  • step 602 a DC voltage input by the hardware charging interface is received, and the DC voltage is a constant DC voltage output by the power adapter according to the test command.
  • the power adapter After receiving the test command, the power adapter converts the AC voltage into a DC voltage of a constant voltage value through an internal voltage conversion chip, and transmits a DC voltage to the mobile terminal through the charging line.
  • the power adapter while outputting a constant DC voltage, sends a feedback command to the mobile terminal through the internal adapter management chip, and the feedback instruction is used to indicate that the DC voltage is being output at a constant voltage value.
  • the battery management chip in the mobile terminal receives the DC voltage input by the hardware charging interface.
  • step 603 the battery is charged with the first charging current, and the first test data at the VBus is collected.
  • the first test data includes the first actual voltage value V 1 and the first actual current value I 1 at the VBus.
  • the battery management chip After receiving the input constant DC voltage, the battery management chip charges the battery with the first charging current, and collects the first actual voltage value V 1 and the first actual current value I 1 at the battery management chip VBus during the charging process.
  • the first charging current is less than a rated charging current, and the rated charging current refers to a maximum charging current for charging the battery.
  • the second charging current to charge the battery, and a second test data acquisition VBus at a second test data comprises a second actual voltage value V 2 and the second actual current value I 2 VBus at.
  • the battery management chip charges the battery with the second charging current, and collects the second actual voltage value V 2 and the second actual current value I 2 at the VBus during the charging process.
  • the second charging current is the first charging current
  • the second charging current is less than the rated charging current.
  • step 605 the impedance of the charging line is calculated based on the first test data and the second test data.
  • R (V 1 - V 2 ) / (I 2 - I 1 ) can be obtained. Therefore, after measuring two sets of test data, the battery management chip can calculate the impedance of the charging line based on two sets of measurement data. . Since V 1 , V 2 , I 1 and I 2 are actual measured values in the above formula, the accuracy of the impedance calculated by the above method is high.
  • step 606 a charging current down-conversion coefficient is determined based on the impedance of the charging line.
  • the correspondence between the charging line impedance and the charging current lowering coefficient is stored in advance in the mobile terminal, and the correspondence is schematically shown in Table 1.
  • the battery management chip After calculating the charging line impedance, the battery management chip determines the charging current reduction coefficient according to the corresponding relationship.
  • the charging current is set according to the charging current down-regulation coefficient and the rated charging current, and the rated charging current refers to the maximum charging current for charging the battery.
  • the battery management chip After the charging current is down-regulated by the love, the battery management chip further sets the charging current according to the rated charging current of the mobile terminal.
  • step 608 the battery is charged according to the set charging current.
  • the battery management chip charges the battery according to the set charging current.
  • the battery management chip outputs a constant DC voltage through the D+ or D- indicating power adapter, and collects at least two sets of test data at the VBus by adjusting the charging current, thereby obtaining an actual voltage value according to the test data.
  • the actual current value is calculated to obtain the impedance of the charging line, and the data used to calculate the impedance of the charging line are all actual measured values, which improves the accuracy of the calculated charging line impedance.
  • the above step 607 may further include the following steps.
  • step 609 the set charging current is sent to the processor, and the processor is configured to control the display screen to display a prompt message when the set charging current is less than the preset current threshold, the prompt information is used to prompt the user to replace the charging line. .
  • the set charging current is sent to the processor.
  • the processor detects whether the charging current is less than a preset current threshold. When the charging current is less than the preset current threshold, the processor controls the display screen to display a corresponding prompt message, instructing the user to replace the charging line.
  • the battery management chip in the mobile terminal 72 transmits the set charging current to the processor; the processor detects that the set charging current is less than the pre-charge.
  • the current threshold is set and the display screen 73 is displayed with corresponding prompt information.
  • the battery management chip may further send a charging current reduction coefficient to the processor, and the processor may prompt according to the charging current lowering coefficient to determine a corresponding prompting mode. For example, if the charging current reduction coefficient received by the processor is 0.7, the control display screen displays the text prompt information; for example, if the charging current reduction coefficient received by the processor is 0.3, the control display screen displays the animation prompt information.
  • the battery management chip sends the set charging current to the processor, so that the processor can display corresponding prompt information according to the charging current, prompting the user to replace the charging line as soon as possible, and avoiding the power caused by charging the inferior charging line. loss.
  • step 610 a control command sent by the processor is received, where the control command is sent when the processor detects that the ambient temperature is greater than a preset temperature threshold.
  • the temperature sensor in the mobile terminal collects the ambient temperature of the external environment, and the processor acquires the ambient temperature from the temperature sensor.
  • the processor sends a control command to the battery management chip to instruct the battery management chip to lower the set charging current.
  • the processor sends the control command to the battery management chip.
  • step 611 the set charging current is lowered according to the control command.
  • the battery management chip after receiving the control instruction, reduces the determined charging current reduction coefficient by one level, and resets the charging current according to the adjusted charging current reduction coefficient.
  • the battery management chip determines that the charging current reduction coefficient is 0.7 according to the impedance of the charging line.
  • the battery management chip adjusts the charging current reduction coefficient to 0.5.
  • the processor when the ambient temperature is high, the processor sends a control command to the battery management chip to instruct the battery management chip to reduce the charging current, thereby reducing the heat generated on the charging line and slowing the rising speed of the charging line temperature.
  • FIG. 9 is a structural block diagram of a mobile terminal according to an exemplary embodiment.
  • the mobile terminal 900 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
  • the mobile terminal 900 can include one or more of the following components: a processing component 902, a memory 904, a power component 906, a multimedia component 908, an audio component 910, an input/output (I/O) interface 912, a sensor component 914, And a communication component 916.
  • Processing component 902 typically controls the overall operations of mobile terminal 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 902 can include one or more processors 918 to execute instructions to perform all or part of the steps of the above described methods.
  • processing component 902 can include one or more modules to facilitate interaction between component 902 and other components.
  • processing component 902 can include a multimedia module to facilitate multimedia component 908 and processing Interaction between components 902.
  • the memory 904 is configured to store various types of data to support operations at the mobile terminal 900. Examples of such data include instructions for any application or method operating on the mobile terminal 900, contact data, phone book data, messages, pictures, videos, and the like.
  • the memory 904 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 906 provides power to various components of mobile terminal 900.
  • Power component 906 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for mobile terminal 900.
  • the power supply component 906 includes a battery management chip, and the charging method of the embodiment of the present disclosure is performed by the battery management chip.
  • the multimedia component 908 includes a screen that provides an output interface between the mobile terminal 900 and the user.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can sense not only the boundaries of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 908 includes a front camera and/or a rear camera. When the mobile terminal 900 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 910 is configured to output and/or input an audio signal.
  • the audio component 910 includes a microphone (MIC) that is configured to receive an external audio signal when the mobile terminal 900 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 904 or transmitted via communication component 916.
  • the audio component 910 also includes a speaker for outputting an audio signal.
  • the I/O interface 912 provides an interface between the processing component 902 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor component 914 includes one or more sensors for providing various aspects to mobile terminal 900 State assessment of the face.
  • sensor component 914 can detect an open/closed state of mobile terminal 900, relative positioning of components, such as a display and keypad of mobile terminal 900, and sensor component 914 can also detect a component of mobile terminal 900 or mobile terminal 900. The location changes, the presence or absence of contact of the user with the mobile terminal 900, the orientation or acceleration/deceleration of the mobile terminal 900, and the temperature change of the mobile terminal 900.
  • Sensor assembly 914 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor component 914 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 916 is configured to facilitate wired or wireless communication between mobile terminal 900 and other devices.
  • the mobile terminal 900 can access a wireless network based on a communication standard such as Wi-Fi, 2G or 3G, or a combination thereof.
  • communication component 916 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • communication component 916 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • the mobile terminal 900 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), A programming gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation is used to perform the charging method performed by the processor in the above embodiments.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA programming gate array
  • controller microcontroller, microprocessor or other electronic component implementation is used to perform the charging method performed by the processor in the above embodiments.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 904 comprising instructions executable by processor 918 of mobile terminal 900 to perform the processor of the above-described embodiments The charging method performed.
  • the non-transitory computer readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.

Landscapes

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

Abstract

The present disclosure relates to the technical field of charging. Provided are a mobile terminal, a charging method, and a charging system. The mobile terminal comprises a hardware charging interface, a battery management chip electrically connected to the hardware charging interface, and a battery electrically connected to the battery management chip. The hardware charging interface is used for receiving a direct voltage transmitted by a power adapter through a charging wire, and for inputting the direct voltage to the battery management chip. The battery management chip is used for computing an impedance of the charging wire according to an actual voltage value of the collected direct voltage and an actual current value; the battery management chip is also used for setting a charging current according to the impedance of the charging wire, and charging the battery according to the set charging current. By means of embodiments of the present disclosure, hidden safety hazards caused by high heat generated by a bad-quality charging wire when charging is performed by using the bad-quality charging wire having a high impedance are avoided, thereby improving the safety of a charging process of a mobile terminal.

Description

移动终端、充电方法及充电系统Mobile terminal, charging method and charging system 技术领域Technical field

本公开涉及充电技术领域,特别涉及一种移动终端、充电方法及充电系统。The present disclosure relates to the field of charging technologies, and in particular, to a mobile terminal, a charging method, and a charging system.

背景技术Background technique

充电器是一种由电源适配器和充电线构成的充电设备,且为了提高充电器的便携性,电源适配器和充电线通常采用可分离结构。The charger is a charging device composed of a power adapter and a charging cable, and in order to improve the portability of the charger, the power adapter and the charging cable are usually in a detachable structure.

用户对电源适配器和充电线进行组合时,只需将充电线的连接端插入电源适配器的适配器接口即可。根据发热功率的计算公式P=I2×R可知,在电流恒定的情况下,充电线的阻抗越大,充电线的发热量越高,因此,使用阻抗较大的劣质充电线进行充电存在较大的安全隐患。When the user combines the power adapter and the charging cable, simply plug the connector of the charging cable into the adapter connector of the power adapter. According to the calculation formula of the heating power P=I 2 ×R, when the current is constant, the higher the impedance of the charging line is, the higher the heat generation of the charging line is. Therefore, it is more difficult to charge the inferior charging line with a larger impedance. A big security risk.

发明内容Summary of the invention

本公开提供了一种移动终端、充电方法及充电系统。所述技术方案如下:The present disclosure provides a mobile terminal, a charging method, and a charging system. The technical solution is as follows:

第一方面,提供了一种移动终端,该移动终端包括:硬件充电接口、与硬件充电接口电性相连的电池管理芯片以及与电池管理芯片电性相连的电池;In a first aspect, a mobile terminal is provided. The mobile terminal includes: a hardware charging interface, a battery management chip electrically connected to the hardware charging interface, and a battery electrically connected to the battery management chip;

硬件充电接口,用于接收电源适配器通过充电线传输的直流电压;向电池管理芯片的输入直流电压;a hardware charging interface for receiving a DC voltage transmitted by the power adapter through the charging line; an input DC voltage to the battery management chip;

电池管理芯片,用于根据采集到的直流电压的实际电压值和实际电流值计算充电线的阻抗;a battery management chip, configured to calculate an impedance of the charging line according to the actual voltage value of the collected DC voltage and the actual current value;

电池管理芯片,还用于根据充电线的阻抗设定充电电流;根据设定后的充电电流为电池充电。The battery management chip is also used to set the charging current according to the impedance of the charging line; the battery is charged according to the set charging current.

可选的,电池管理芯片通过VBus(Voltage Bus,电压总线引脚)和GND(GROUND,接地引脚)与硬件充电接口电性相连;Optionally, the battery management chip is electrically connected to the hardware charging interface through a VBus (Voltage Bus, voltage bus pin) and GND (GROUND, ground pin);

电池管理芯片,用于通过VBus接收硬件充电接口输入的直流电压;a battery management chip for receiving a DC voltage input through a hardware charging interface through the VBus;

电池管理芯片,还用于采集VBus处的至少两组测试数据,每组测试数据中包括VBus处的实际电压值和实际电流值;根据至少两组测试数据计算充电线的阻抗。 The battery management chip is further configured to collect at least two sets of test data at the VBus, each set of test data includes an actual voltage value and an actual current value at the VBus; and the impedance of the charging line is calculated according to at least two sets of test data.

可选的,电池管理芯片还通过D+(Data+,数据加引脚)和D-(Data-,数据减引脚)与硬件充电接口电性相连;Optionally, the battery management chip is further electrically connected to the hardware charging interface through D+ (Data+, data plus pin) and D-(Data-, data minus pin);

电池管理芯片,还用于在检测到与电源适配器建立连接时,通过D+或D-向电源适配器发送测试指令,测试指令用于指示电源适配器输出恒定电压值的直流电压;The battery management chip is further configured to send a test command to the power adapter through D+ or D- when detecting the connection with the power adapter, the test command is used to instruct the power adapter to output a constant voltage value of the DC voltage;

电池管理芯片,还用于以第一充电电流为电池充电;采集VBus处的第一测试数据,第一测试数据包括VBus处的第一实际电压值V1和第一实际电流值I1The battery management chip is further configured to charge the battery with the first charging current; collect the first test data at the VBus, the first test data includes the first actual voltage value V 1 at the VBus and the first actual current value I 1 ;

电池管理芯片,还用于以第二充电电流为电池充电;采集VBus处的第二测试数据,第二测试数据包括VBus处的第二实际电压值V2和第二实际电流值I2The battery management chip is further configured to charge the battery with the second charging current; collect the second test data at the VBus, the second test data includes the second actual voltage value V 2 and the second actual current value I 2 at the VBus;

电池管理芯片,还用于根据第一测试数据和第二测试数据计算充电线的阻抗;a battery management chip, configured to calculate an impedance of the charging line according to the first test data and the second test data;

其中,充电线的阻抗=(V1-V2)/(I2-I1),且第一充电电流≠第二充电电流≤额定充电电流,额定充电电流指为电池充电的最大充电电流。Wherein, the impedance of the charging line = (V 1 - V 2 ) / (I 2 - I 1 ), and the first charging current ≠ the second charging current ≤ the rated charging current, and the rated charging current refers to the maximum charging current for charging the battery.

可选的,电池管理芯片,用于根据充电线的阻抗确定充电电流下调系数;根据充电电流下调系数和额定充电电流设定充电电流,额定充电电流指为电池充电的最大充电电流。Optionally, the battery management chip is configured to determine a charging current down-regulation coefficient according to the impedance of the charging line; the charging current is set according to the charging current lowering coefficient and the rated charging current, and the rated charging current refers to a maximum charging current for charging the battery.

可选的,电池管理芯片与处理器电性相连;Optionally, the battery management chip is electrically connected to the processor;

电池管理芯片,用于向处理器发送设定后的充电电流;a battery management chip for transmitting a set charging current to the processor;

处理器,用于在设定后的充电电流小于预设电流阈值时,控制显示屏显示提示信息,提示信息用于提示用户更换充电线。The processor is configured to control the display screen to display a prompt message when the set charging current is less than the preset current threshold, and the prompt information is used to prompt the user to replace the charging line.

可选的,移动终端还包括温度传感器,温度传感器与处理器电性相连,电池控制芯片与处理器电性相连;Optionally, the mobile terminal further includes a temperature sensor, the temperature sensor is electrically connected to the processor, and the battery control chip is electrically connected to the processor;

处理器,用于获取温度传感器采集的环境温度;当环境温度大于预设温度阈值时,向电池管理芯片发送控制指令,控制指令用于指示下调设定后的充电电流;The processor is configured to obtain an ambient temperature collected by the temperature sensor; when the ambient temperature is greater than the preset temperature threshold, send a control command to the battery management chip, where the control command is used to indicate that the set charging current is lowered;

电池管理芯片,还用于根据控制指令,下调设定后的充电电流。The battery management chip is also used to lower the set charging current according to the control command.

第二方面,提供了一种充电方法,用于如第一方面所述的移动终端,该方法包括:In a second aspect, a charging method is provided for the mobile terminal according to the first aspect, the method comprising:

接收硬件充电接口输入的直流电压,直流电压由电源适配器通过充电线向 硬件充电接口传输;Receiving the DC voltage input from the hardware charging interface, the DC voltage is passed by the power adapter through the charging line Hardware charging interface transmission;

根据采集到的直流电压的实际电压值和实际电流值计算充电线的阻抗;Calculating the impedance of the charging line according to the actual voltage value of the collected DC voltage and the actual current value;

根据充电线的阻抗设定充电电流;Setting the charging current according to the impedance of the charging line;

根据设定后的充电电流为电池充电。The battery is charged according to the set charging current.

可选的,根据采集到的直流电压的实际电压值和实际电流值计算充电线的阻抗,包括:Optionally, the impedance of the charging line is calculated according to the actual voltage value of the collected DC voltage and the actual current value, including:

采集VBus处的至少两组测试数据,每组测试数据中包括VBus处的实际电压值和实际电流值;Collecting at least two sets of test data at the VBus, each set of test data including an actual voltage value and an actual current value at the VBus;

根据至少两组测试数据计算充电线的阻抗。The impedance of the charging line is calculated based on at least two sets of test data.

可选的,采集VBus处的至少两组测试数据,包括:Optionally, at least two sets of test data at the VBus are collected, including:

在检测到与电源适配器建立连接时,通过D+或D-向电源适配器发送测试指令;Send a test command to the power adapter via D+ or D- when a connection to the power adapter is detected;

以第一充电电流为电池充电,并采集VBus处的第一测试数据,第一测试数据包括VBus处的第一实际电压值V1和第一实际电流值I1 Charging the battery with the first charging current, and collecting first test data at the VBus, the first test data including the first actual voltage value V 1 at the VBus and the first actual current value I 1

以第二充电电流为电池充电,并采集VBus处的第二测试数据,第二测试数据包括VBus处的第二实际电压值V2和第二实际电流值I2Charging the battery with the second charging current, and collecting the second test data at the VBus, the second test data including the second actual voltage value V 2 and the second actual current value I 2 at the VBus;

根据至少两组测试数据计算充电线的阻抗,包括:Calculate the impedance of the charging line based on at least two sets of test data, including:

根据第一测试数据和第二测试数据计算充电线的阻抗;Calculating an impedance of the charging line according to the first test data and the second test data;

其中,充电线的阻抗=(V1-V2)/(I2-I1),且第一充电电流≠第二充电电流≤额定充电电流,额定充电电流指为电池充电的最大充电电流。Wherein, the impedance of the charging line = (V 1 - V 2 ) / (I 2 - I 1 ), and the first charging current ≠ the second charging current ≤ the rated charging current, and the rated charging current refers to the maximum charging current for charging the battery.

可选的,根据充电线的阻抗设定充电电流,包括:Optionally, the charging current is set according to the impedance of the charging line, including:

根据充电线的阻抗确定充电电流下调系数;Determining the charging current down-regulation coefficient according to the impedance of the charging line;

根据充电电流下调系数和额定充电电流设定充电电流,额定充电电流指为电池充电的最大充电电流。The charging current is set according to the charging current down-regulation coefficient and the rated charging current. The rated charging current refers to the maximum charging current for charging the battery.

可选的,该方法,还包括:Optionally, the method further includes:

向处理器发送设定后的充电电流,处理器用于在设定后的充电电流小于预设电流阈值时,控制显示屏显示提示信息,提示信息用于提示用户更换充电线。The set charging current is sent to the processor, and the processor is configured to control the display screen to display a prompt message when the set charging current is less than the preset current threshold, and the prompt information is used to prompt the user to replace the charging line.

可选的,该方法,还包括:Optionally, the method further includes:

接收处理器发送的控制指令,控制指令是处理器检测到环境温度大于预设温度阈值时发送的,用于指示下调设定后的充电电流;Receiving, by the processor, a control instruction sent by the processor, when the processor detects that the ambient temperature is greater than a preset temperature threshold, and is used to indicate that the set charging current is lowered;

根据控制指令,下调设定后的充电电流。 According to the control command, the set charging current is lowered.

第三方面,提供了一种充电系统,该充电系统包括电源适配器和移动终端;In a third aspect, a charging system is provided, the charging system including a power adapter and a mobile terminal;

电源适配器和移动终端之间通过充电线相连;The power adapter and the mobile terminal are connected by a charging line;

移动终端包括如第一方面所述的移动终端。The mobile terminal includes the mobile terminal as described in the first aspect.

本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:

移动终端内部的电池管理芯片为电池充电前,采集输入的直流电压的实际电压值和实际电流值,并进一步根据该实际电压值和实际电流值计算充电线的阻抗,从而根据该阻抗重新设定为电池充电的充电电流,降低充电过程中充电线的发热量,避免了使用阻抗较大的劣质充电线进行充电时,因劣质充电线发热量较大而引起的安全隐患,提高了移动终端充电过程的安全性。The battery management chip inside the mobile terminal collects the actual voltage value and the actual current value of the input DC voltage before charging the battery, and further calculates the impedance of the charging line according to the actual voltage value and the actual current value, thereby resetting according to the impedance. The charging current for charging the battery reduces the heat generation of the charging line during charging, and avoids the safety hazard caused by the inferior charging line charging when the inferior charging line with large impedance is used for charging, thereby improving the charging of the mobile terminal. Process security.

应当理解的是,以上的一般描述和后文的细节描述仅是示意性的,并不能限制本公开。The above general description and the following detailed description are intended to be illustrative and not restrictive.

附图说明DRAWINGS

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并于说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in the claims of the claims

图1示出了一示例性实施例提供的充电系统的结构方框图;1 is a block diagram showing the structure of a charging system provided by an exemplary embodiment;

图2示出了另一示例性实施例提供的充电系统的结构方框图;2 is a block diagram showing the structure of a charging system provided by another exemplary embodiment;

图3示出了再一示例性实施例提供的充电系统的结构方框图;FIG. 3 is a block diagram showing the structure of a charging system provided by still another exemplary embodiment;

图4示出了又一示例性实施例提供的充电系统的结构方框图;4 is a block diagram showing the structure of a charging system provided by still another exemplary embodiment;

图5示出了一示例性实施例所提供的充电方法的流程图;FIG. 5 shows a flow chart of a charging method provided by an exemplary embodiment;

图6示出了另一示例性实施例所提供的充电方法的流程图;FIG. 6 shows a flow chart of a charging method provided by another exemplary embodiment;

图7A示出了再一示例性实施例所提供的充电方法的流程图;FIG. 7A is a flow chart showing a charging method provided by still another exemplary embodiment; FIG.

图7B是图7A所示充电方法的实施示意图;7B is a schematic view showing the implementation of the charging method shown in FIG. 7A;

图8示出了又一示例性实施例所提供的充电方法的流程图;FIG. 8 is a flow chart showing a charging method provided by still another exemplary embodiment;

图9是根据一示例性实施例示出的一种移动终端的结构框图。FIG. 9 is a structural block diagram of a mobile terminal according to an exemplary embodiment.

具体实施方式detailed description

这里将详细地对示意性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示意性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相 一致的装置和方法的例子。The illustrative embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. The following description refers to the same or similar elements in the different figures unless otherwise indicated. The embodiments described in the following illustrative embodiments do not represent all embodiments consistent with the present disclosure. Rather, they are only related to some aspects of the present disclosure as detailed in the appended claims. Examples of consistent devices and methods.

在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。符号“/”一般表示前后关联对象是一种“或”的关系。"Multiple" as referred to herein means two or more. "and/or", describing the association relationship of the associated objects, indicating that there may be three relationships, for example, A and/or B, which may indicate that there are three cases where A exists separately, A and B exist at the same time, and B exists separately. The symbol "/" generally indicates that the contextual object is an "or" relationship.

图1示出了一示例性实施例提供的充电系统的结构方框图。该充电系统中包括电源适配器110、充电线120和移动终端130,其中,电源适配器110和移动终端130之间通过充电线120相连。FIG. 1 is a block diagram showing the structure of a charging system provided by an exemplary embodiment. The charging system includes a power adapter 110, a charging line 120, and a mobile terminal 130, wherein the power adapter 110 and the mobile terminal 130 are connected by a charging line 120.

电源适配器110和充电线120构成为移动终端130充电的充电器,当电源适配器110外接电源时,电源适配器110即通过内部的电压转换芯片(图中未示出)将输入的交流电压(比如220V交流电压)转换为直流电压(比如5V直流电压),并通过充电线120向移动终端130传输该直流电压。The power adapter 110 and the charging line 120 constitute a charger for charging the mobile terminal 130. When the power adapter 110 is externally connected to the power source, the power adapter 110 inputs an AC voltage (such as 220V through an internal voltage conversion chip (not shown). The AC voltage is converted to a DC voltage (such as a 5V DC voltage) and transmitted to the mobile terminal 130 via the charging line 120.

可选的,电源适配器110与充电线120采用一体结构或可分离结构。Optionally, the power adapter 110 and the charging line 120 are of a unitary structure or a separable structure.

如图1所示,移动终端130中包括硬件充电接口131、与硬件充电接口131电性相连的电池管理芯片132以及与电池管理芯片132电性相连的电池133。As shown in FIG. 1 , the mobile terminal 130 includes a hardware charging interface 131 , a battery management chip 132 electrically connected to the hardware charging interface 131 , and a battery 133 electrically connected to the battery management chip 132 .

移动终端130通过硬件充电接口131与充电线120相连,从而接收电源适配器110通过充电线120传输的直流电压,并向相连的电池管理芯片132输入该直流电压。The mobile terminal 130 is connected to the charging line 120 through the hardware charging interface 131, thereby receiving the DC voltage transmitted by the power adapter 110 through the charging line 120, and inputting the DC voltage to the connected battery management chip 132.

可选的,硬件充电接口131可以为USB(Universal Serial Bus,通用串行总线)2.0接口、USB3.0接口、Type C接口或Lightning(闪电)接口;相应的,充电线120可以为USB2.0数据线、USB 3.0数据线、Type C数据线或Lightning数据线,本公开并不对硬件充电接口131和充电线120的类型进行限定。Optionally, the hardware charging interface 131 can be a USB (Universal Serial Bus) 2.0 interface, a USB 3.0 interface, a Type C interface, or a Lightning interface; correspondingly, the charging line 120 can be a USB 2.0. The data line, USB 3.0 data line, Type C data line or Lightning data line, the present disclosure does not define the type of hardware charging interface 131 and charging line 120.

移动终端130中的电池管理芯片132具备电压和电流检测功能,当接收到输入的直流电压时,电池管理芯片132即可采集该直流电压的实际电压值和实际电流值。The battery management chip 132 in the mobile terminal 130 is provided with a voltage and current detecting function. When receiving the input DC voltage, the battery management chip 132 can collect the actual voltage value and the actual current value of the DC voltage.

由于充电线120具有一定阻抗,因此当直流电压流经充电线120时,充电线120会分担部分电压,相应的,电池管理芯片132测得的实际电压值小于电源适配器110输出电压的电压值。根据阻抗计算公式R=U/I可知,电池管理芯片132根据采集到的实际电压值和实际电流值,即可计算得到充电线120的阻 抗。Since the charging line 120 has a certain impedance, when the DC voltage flows through the charging line 120, the charging line 120 shares a part of the voltage. Accordingly, the actual voltage value measured by the battery management chip 132 is smaller than the voltage value of the output voltage of the power adapter 110. According to the impedance calculation formula R=U/I, the battery management chip 132 can calculate the resistance of the charging line 120 according to the collected actual voltage value and the actual current value. anti.

电池管理芯片132还具备充电电流调节功能,通过该功能,电池管理芯片132根据计算得到的充电线120的阻抗对充电电流进行调整(比如下调),从而根据调整后的充电电流,并通过内部的电池充电电路(图中未示出)为相连的电池133充电。The battery management chip 132 further includes a charging current adjustment function, by which the battery management chip 132 adjusts (eg, down-regulates) the charging current according to the calculated impedance of the charging line 120, thereby passing the internal charging according to the adjusted charging current. A battery charging circuit (not shown) charges the connected battery 133.

可选的,当充电线120的阻抗较大时,电池管理芯片132下调充电电流,且充电电流的下调比例与充电线120的阻抗成正比例关系,即阻抗越大,充电电流的下调比例越大;阻抗越小,充电电流的下调比例越小。Optionally, when the impedance of the charging line 120 is large, the battery management chip 132 lowers the charging current, and the decreasing ratio of the charging current is proportional to the impedance of the charging line 120, that is, the greater the impedance, the greater the proportion of the charging current is lowered. The smaller the impedance, the smaller the down regulation ratio of the charging current.

需要说明的是,当使用具有充电功能的设备(比如移动电源或台式计算机等等)为移动终端充电时,图1中的移动终端130也可以根据计算得到的充电线的阻抗对充电电流进行调整,本公开并不对此限定。It should be noted that when the mobile terminal is charged by using a charging function device (such as a mobile power source or a desktop computer or the like), the mobile terminal 130 in FIG. 1 can also adjust the charging current according to the calculated impedance of the charging line. This disclosure is not limited thereto.

通过上述充电电流调节机制,在使用劣质充电线进行充电时,由于劣质充电线的阻抗较大,电池管理芯片下调充电电流,从而减小充电线的发热量,避免充电线发热量过大引起的安全隐患。Through the above charging current adjustment mechanism, when charging is performed using a poor quality charging line, the battery management chip lowers the charging current due to the large impedance of the inferior charging line, thereby reducing the heat generation of the charging line and avoiding the excessive heat generation of the charging line. Security risks.

综上所述,本实施例中,移动终端内部的电池管理芯片为电池充电前,采集输入的直流电压的实际电压值和实际电流值,并进一步根据该实际电压值和实际电流值计算充电线的阻抗,从而根据该阻抗重新设定为电池充电的充电电流,降低充电过程中充电线的发热量,避免了使用阻抗较大的劣质充电线进行充电时,因劣质充电线发热量较大而引起的安全隐患,提高了移动终端充电过程的安全性。In summary, in this embodiment, the battery management chip inside the mobile terminal collects the actual voltage value and the actual current value of the input DC voltage before charging the battery, and further calculates the charging line according to the actual voltage value and the actual current value. The impedance is thus reset to the charging current of the battery charging according to the impedance, thereby reducing the heat generation of the charging line during charging, and avoiding the use of a poor quality charging line for charging, because the inferior charging line generates a large amount of heat. The safety hazard caused by the safety of the mobile terminal is improved.

在图1所示充电系统的基础上,如图2所示,电池管理芯片132包括VBus和GND,且电池管理芯片132通过VBus和GND与硬件充电接口131电性相连。On the basis of the charging system shown in FIG. 1, as shown in FIG. 2, the battery management chip 132 includes VBus and GND, and the battery management chip 132 is electrically connected to the hardware charging interface 131 through VBus and GND.

硬件充电接口131接收到充电线120传输的直流电压后,即通过VBus向电池管理芯片132输入直流电压,相应的,电池管理芯片132通过VBus接收该直流电压。流经电池管理芯片132的直流电压从GND(低电势)流出,并通过充电线120流向电源适配器110,形成完整的充电回路。After receiving the DC voltage transmitted by the charging line 120, the hardware charging interface 131 inputs a DC voltage to the battery management chip 132 through the VBus. Accordingly, the battery management chip 132 receives the DC voltage through the VBus. The DC voltage flowing through the battery management chip 132 flows out of GND (low potential) and flows through the charging line 120 to the power adapter 110 to form a complete charging circuit.

在计算充电线120阻抗的过程中,电池管理芯片132即采集VBus处的至少两组测试数据,并根据该至少两组测试数据计算得到充电线的阻抗,其中,每组测试数据中包含同时采集的VBus处的实际电压值和实际电流值。 In the process of calculating the impedance of the charging line 120, the battery management chip 132 collects at least two sets of test data at the VBus, and calculates the impedance of the charging line according to the at least two sets of test data, wherein each set of test data includes simultaneous acquisition. The actual voltage value and actual current value at the VBus.

可选的,当采集到两组测试数据,电池管理芯片132即根据两组测试数据计算得到充电线120的阻抗;Optionally, when two sets of test data are collected, the battery management chip 132 calculates the impedance of the charging line 120 according to the two sets of test data;

可选的,当采集到n组测试数据时,n≥3,电池管理芯片132根据每两组测试数据计算得到一个阻抗参考值,并将n(n-1)/2个阻抗参考值的平均值确定为充电线120的阻抗。Optionally, when n sets of test data are collected, n≥3, the battery management chip 132 calculates an impedance reference value according to each set of test data, and averages n(n-1)/2 impedance reference values. The value is determined as the impedance of the charging line 120.

下面对电池管理芯片132计算充电线120阻抗的具体过程进行示意性说明。The specific process of calculating the impedance of the charging line 120 by the battery management chip 132 is schematically illustrated below.

如图2所示,电池管理芯片132还包括D+和D-,且电池管理芯片132通过D+和D-与硬件充电接口131电性相连,该D+和D-用于进行数据或信号传输。As shown in FIG. 2, the battery management chip 132 further includes D+ and D-, and the battery management chip 132 is electrically connected to the hardware charging interface 131 through D+ and D-, and the D+ and D- are used for data or signal transmission.

为了确保计算阻抗过程中电源适配器110输出的直流电压保持不变,电池管理芯片120在检测到与电源适配器建立连接时,即通过D+或D-向电源适配器110发送测试指令,该测试指令用于指示电源适配器110输出恒定电压值的直流电压。In order to ensure that the DC voltage output by the power adapter 110 remains unchanged during the calculation of the impedance, the battery management chip 120 transmits a test command to the power adapter 110 via D+ or D- when detecting the connection with the power adapter, the test command is used for A DC voltage indicating that the power adapter 110 outputs a constant voltage value.

可选的,该测试指令中还包括输出电压值,用于指示电源适配器110以该输出电压值输出的直流电压,其中,该输出电压值小于等于移动终端的最大充电电压。Optionally, the test command further includes an output voltage value for indicating a DC voltage output by the power adapter 110 at the output voltage value, wherein the output voltage value is less than or equal to a maximum charging voltage of the mobile terminal.

相应的,电源适配器110接收到该测试指令后,通过内部的电压转换芯片将交流电压转换为恒定电压值的直流电压,并通过充电线120向移动终端130传输直流电压。Correspondingly, after receiving the test command, the power adapter 110 converts the AC voltage into a DC voltage of a constant voltage value through an internal voltage conversion chip, and transmits a DC voltage to the mobile terminal 130 through the charging line 120.

可选的,在输出恒定直流电压的同时,电源适配器110通过内部的适配器管理芯片(图中未示出)向移动终端130发送反馈指令,该反馈指令用于指示正以恒定电压值输出直流电压。Optionally, while outputting a constant DC voltage, the power adapter 110 sends a feedback command to the mobile terminal 130 through an internal adapter management chip (not shown) for indicating that the DC voltage is being output at a constant voltage value. .

电池管理芯片132具备充电电流调节功能,比如,电池管理芯片132可以通过MOSFET(Metal-Oxide-Semiconductor Field-Effect Transisto,金属-氧化层半导体场效晶体管)调节充电电流。当接收到电源适配器110发送的反馈指令时,电池管理芯片132即控制以第一充电电流为电池133充电,且在充电过程中,电池管理芯片132采集包含VBus处第一实际电压值V1和第一实际电流值I1的第一测试数据。The battery management chip 132 has a charging current adjustment function. For example, the battery management chip 132 can adjust the charging current through a MOSFET (Metal-Oxide-Semiconductor Field-Effect Transisto). When receiving the feedback command sent by the power adapter 110, the battery management chip 132 controls to charge the battery 133 with the first charging current, and during the charging process, the battery management chip 132 collects the first actual voltage value V 1 at the VBus and The first test data of the first actual current value I 1 .

采集到第一测试数据后,电池管理芯片132对充电电流进行调整,控制以第二充电电流为电池133充电,并在充电过程中采集包含VBus处第二实际电 压值V2和第二实际电流值I2的第二测试数据。After collecting the first test data, the battery management chip 132 adjusts the charging current, controls charging of the battery 133 with the second charging current, and collects the second actual voltage value V 2 and the second actual current at the VBus during charging. The second test data of value I 2 .

需要说明的是,第一充电电流和第二充电电流不同,且第一充电电流和第二充电电流均小于电池133的额定充电电流,该额定充电电流指为电池充电的最大充电电流,比如,当额定充电电流为1.5A时,第一充电电流为0.5A,第二充电电流为0.8A。It should be noted that the first charging current and the second charging current are different, and the first charging current and the second charging current are both smaller than the rated charging current of the battery 133, and the rated charging current refers to a maximum charging current for charging the battery, for example, When the rated charging current is 1.5A, the first charging current is 0.5A and the second charging current is 0.8A.

由于电源适配器110输出恒定直流电压,因此在先后两次测量过程中,充电线110分担的电压与流入电池管理芯片132的实际电压之和保持不变,即R×I1+V1=R×I2+V2,其中,R为充电线120的阻抗。根据上述等式即可得到R=(V1-V2)/(I2-I1)。Since the power adapter 110 outputs a constant DC voltage, the sum of the voltage shared by the charging line 110 and the actual voltage flowing into the battery management chip 132 remains unchanged during two successive measurements, that is, R × I 1 + V 1 = R × I 2 + V 2 , where R is the impedance of the charging line 120. According to the above equation, R = (V 1 - V 2 ) / (I 2 - I 1 ) can be obtained.

显然,电池管理芯片132在无法知悉电源适配器110输出的准确电压值的情况下,仍旧能够根据采集到的第一测试数据和第二测试数据计算得到充电线120的阻抗,且由于上述公式中V1、V2、I1和I2均为实际测量值,因此,计算得到的阻抗的精确度较高。Obviously, the battery management chip 132 can still calculate the impedance of the charging line 120 according to the collected first test data and the second test data without knowing the accurate voltage value output by the power adapter 110, and because of the above formula V 1 , V 2 , I 1 and I 2 are actual measured values, and therefore, the calculated impedance is more accurate.

计算得到充电线120的阻抗后,电池管理芯片132进一步根据该阻抗确定充电电流下调系数,并根据该充电电流下调系数和额定充电电流重新设定充电电流,从而根据设定后的充电电流为电池133充电。其中,电池管理芯片132中预先存储有阻抗与充电电流下调系数之间的对应关系,示意性的,该对应关系如表一所示。After calculating the impedance of the charging line 120, the battery management chip 132 further determines a charging current reduction coefficient according to the impedance, and resets the charging current according to the charging current reduction coefficient and the rated charging current, so that the battery is set according to the set charging current. 133 charging. The correspondence between the impedance and the charging current down-regulation coefficient is pre-stored in the battery management chip 132. The corresponding relationship is shown in Table 1.

表一Table I

充电线阻抗RCharging line impedance R 充电电流下调系数Charging current reduction factor R<0.3ΩR<0.3Ω 11 0.3Ω≤R<0.5Ω0.3Ω≤R<0.5Ω 0.70.7 0.5Ω≤R<1.0Ω0.5Ω≤R<1.0Ω 0.50.5 1.0Ω≤R<3.0Ω1.0Ω≤R<3.0Ω 0.30.3 R≥3.0ΩR≥3.0Ω 00

比如,当计算得到充电线的阻抗为0.2Ω时,电池管理芯片132以额定充电电流为电池133充电;又比如,电池管理芯片132计算得到充电线的阻抗为0.45Ω,且额定充电电流为1.5A,则将充电电流设定为1.5×0.45=0.675A;又比如,当计算得到充电线的阻抗为3.5Ω时,电池管理芯片132停止对电池133进行充电。For example, when the impedance of the charging line is calculated to be 0.2 Ω, the battery management chip 132 charges the battery 133 with the rated charging current; for example, the battery management chip 132 calculates the impedance of the charging line to be 0.45 Ω, and the rated charging current is 1.5. A, the charging current is set to 1.5 × 0.45 = 0.675 A; for another example, when the impedance of the charging line is calculated to be 3.5 Ω, the battery management chip 132 stops charging the battery 133.

本实施例中,电池管理芯片通过D+或D-指示电源适配器输出恒定直流电 压,并通过调整充电电流的方式采集VBus处的至少两组测试数据,从而根据该测试数据中包含的实际电压值和实际电流值计算得到充电线的阻抗,确保计算充电线阻抗时使用的数据均为实际测量值,提高了计算得到的充电线阻抗的精确度。In this embodiment, the battery management chip outputs a constant direct current through the D+ or D- indicating power adapter. Pressing, and collecting at least two sets of test data at the VBus by adjusting the charging current, thereby calculating the impedance of the charging line according to the actual voltage value and the actual current value included in the test data, and ensuring the data used when calculating the charging line impedance. Both are actual measured values, which improves the accuracy of the calculated charging line impedance.

相较于根据额定充电电流为电池充电,根据下调后的充电电流为电池充电需要花费更长的时间才能将电池充满,且充电过程中充电线消耗大量电量。因此,为了提醒用户及时对劣质充电线进行更换,并缩短充电时间,可选的,在图2所述充电系统的基础上,移动终端130中的电池管理芯片132还与处理器134电性相连。Compared to charging the battery according to the rated charging current, it takes a longer time to charge the battery according to the adjusted charging current, and the charging line consumes a large amount of power during charging. Therefore, in order to remind the user to replace the inferior charging line in time and shorten the charging time, optionally, based on the charging system of FIG. 2, the battery management chip 132 in the mobile terminal 130 is also electrically connected to the processor 134. .

电池管理芯片132完成充电电流设定后,即向处理器134发送设定后的充电电流,相应的,处理器134接收该设定后的充电电流。After the battery management chip 132 completes the charging current setting, the set charging current is sent to the processor 134. Accordingly, the processor 134 receives the set charging current.

处理器134接收到设定后的充电电流后,检测该充电电流是否小于预设电流阈值,当该充电电流小于预设电流阈值时,处理器134控制电性相连的显示屏(图中未示出)显示提示信息,从而提示用户对充电线进行更换。After receiving the set charging current, the processor 134 detects whether the charging current is less than a preset current threshold. When the charging current is less than the preset current threshold, the processor 134 controls the electrically connected display screen (not shown) The display prompt message prompts the user to replace the charging cable.

可选的,电池管理芯片132还可以向处理器发送充电电流下调系数,处理器134根据该充电电流下调系数确定对应的提示方式后进行提示。比如,处理器接收到的充电电流下调系数为0.7,则控制显示屏显示文字提示信息;又比如,处理器接收到的充电电流下调系数为0.3,则控制显示屏显示动画提示信息。Optionally, the battery management chip 132 may further send a charging current reduction coefficient to the processor, and the processor 134 determines the corresponding prompt mode according to the charging current reduction coefficient, and then prompts. For example, if the charging current reduction coefficient received by the processor is 0.7, the control display screen displays the text prompt information; for example, if the charging current reduction coefficient received by the processor is 0.3, the control display screen displays the animation prompt information.

本实施例中,电池管理芯片向处理器发送设定后的充电电流,使得处理器能够根据该充电电流显示相应的提示信息,提示用户尽快更换充电线,避免使用劣质充电线充电时造成的电量损耗。In this embodiment, the battery management chip sends the set charging current to the processor, so that the processor can display corresponding prompt information according to the charging current, prompting the user to replace the charging line as soon as possible, and avoiding the power caused by charging the inferior charging line. loss.

当环境温度较高时,充电线上产生的热量难以散发,导致充电线温度上升较快,为了避免上述情况,可选的,在图3所示充电系统的基础上,如图4所示,移动终端130中还包括温度传感器135,且该温度传感器135与处理器134电性相连。When the ambient temperature is high, the heat generated on the charging line is difficult to dissipate, resulting in a faster rise of the charging line temperature. To avoid the above situation, optionally, based on the charging system shown in FIG. 3, as shown in FIG. The temperature sensor 135 is further included in the mobile terminal 130, and the temperature sensor 135 is electrically connected to the processor 134.

在计算充电线120阻抗的过程中,温度传感器135采集外界环境的环境温度,相应的,处理器134从温度传感器135处获取该环境温度。In calculating the impedance of the charging line 120, the temperature sensor 135 collects the ambient temperature of the ambient environment, and correspondingly, the processor 134 acquires the ambient temperature from the temperature sensor 135.

处理器134获取到环境温度后,检测环境温度是否大于预设温度阈值,当 环境温度大于预设温度阈值时,处理器134向电池管理芯片132发送控制指令,指示电池管理芯片下调设定后的充电电流。After the processor 134 obtains the ambient temperature, detecting whether the ambient temperature is greater than a preset temperature threshold, when When the ambient temperature is greater than the preset temperature threshold, the processor 134 sends a control command to the battery management chip 132 to instruct the battery management chip to down-regulate the set charging current.

比如,当获取到的环境温度高于28℃时,处理器134向电池管理芯片132发送该控制指令。For example, when the acquired ambient temperature is above 28 ° C, the processor 134 sends the control command to the battery management chip 132.

相应的,电池管理芯片132根据接收到的控制指令,在设定后的充电电流的基础上进行下调。Correspondingly, the battery management chip 132 performs down-regulation based on the received charging current based on the set charging current.

可选的,电池管理芯片132接收到该控制指令后,将确定出的充电电流下调系数下调一个等级,并根据调整后充电电流下调系数重新设定充电电流。Optionally, after receiving the control command, the battery management chip 132 reduces the determined charging current reduction coefficient by one level, and resets the charging current according to the adjusted charging current reduction coefficient.

比如,电池管理芯片132根据充电线120的阻抗确定充电电流下调系数为0.7,当接收到处理器134发送的控制指令时,电池管理芯片132将充电电流下调系数调整为0.5。For example, the battery management chip 132 determines that the charging current reduction coefficient is 0.7 according to the impedance of the charging line 120. When receiving the control command sent by the processor 134, the battery management chip 132 adjusts the charging current reduction coefficient to 0.5.

本实施例中,当环境温度较高时,处理器向电池管理芯片发送控制指令,指示电池管理芯片降低充电电流,从而降低充电线上产生的热量,减缓充电线温度的上升速度。In this embodiment, when the ambient temperature is high, the processor sends a control command to the battery management chip to instruct the battery management chip to reduce the charging current, thereby reducing the heat generated on the charging line and slowing the rising speed of the charging line temperature.

图5示出了一示例性实施例所提供的充电方法的流程图。本公开实施例以该充电方法应用于图1至图4所示的移动终端130来举例说明。该充电方法包括:FIG. 5 shows a flow chart of a charging method provided by an exemplary embodiment. The embodiment of the present disclosure is exemplified by the charging method applied to the mobile terminal 130 shown in FIGS. 1 to 4. The charging method includes:

在步骤501中,接收硬件充电接口输入的直流电压,直流电压由电源适配器通过充电线向硬件充电接口传输。In step 501, a DC voltage input by the hardware charging interface is received, and the DC voltage is transmitted by the power adapter to the hardware charging interface through the charging line.

在步骤502中,根据采集到的直流电压的实际电压值和实际电流值计算充电线的阻抗。In step 502, the impedance of the charging line is calculated based on the actual voltage value of the collected DC voltage and the actual current value.

移动终端中的电池管理芯片具备电压和电流测量功能,在计算充电线阻抗的过程中,移动终端即通过电池管理芯片采集实际电压值和实际电流值,并根据该实际电压值和实际电流值计算充电线的阻抗。The battery management chip in the mobile terminal has a voltage and current measurement function. In the process of calculating the impedance of the charging line, the mobile terminal collects the actual voltage value and the actual current value through the battery management chip, and calculates according to the actual voltage value and the actual current value. The impedance of the charging line.

可选的,电池管理芯片采集VBus处的至少两组测试数据,并根据至少两组测试数据计算充电线的阻抗,其中,每组测试数据中包括VBus处的实际电压值和实际电流值。Optionally, the battery management chip collects at least two sets of test data at the VBus, and calculates the impedance of the charging line according to at least two sets of test data, wherein each set of test data includes an actual voltage value and an actual current value at the VBus.

在步骤503中,根据充电线的阻抗设定充电电流。In step 503, the charging current is set according to the impedance of the charging line.

移动终端中的电池管理芯片具备电流调节功能,计算得到充电线的阻抗后,电池管理芯片即相应下调充电电流。 The battery management chip in the mobile terminal has a current adjustment function, and after calculating the impedance of the charging line, the battery management chip accordingly lowers the charging current.

在步骤504中,根据设定后的充电电流为电池充电。In step 504, the battery is charged according to the set charging current.

可选的,移动终端中的电池管理芯片中包含电池充电电路,电池管理芯片即根据设定后的充电电流通过该电池充电电流为电池充电。Optionally, the battery management chip in the mobile terminal includes a battery charging circuit, and the battery management chip charges the battery through the battery charging current according to the set charging current.

综上所述,本实施例中,移动终端内部的电池管理芯片为电池充电前,采集输入的直流电压的实际电压值和实际电流值,并进一步根据该实际电压值和实际电流值计算充电线的阻抗,从而根据该阻抗重新设定为电池充电的充电电流,降低充电过程中充电线的发热量,避免了使用阻抗较大的劣质充电线进行充电时,因劣质充电线发热量较大而引起的安全隐患,提高了移动终端充电过程的安全性。In summary, in this embodiment, the battery management chip inside the mobile terminal collects the actual voltage value and the actual current value of the input DC voltage before charging the battery, and further calculates the charging line according to the actual voltage value and the actual current value. The impedance is thus reset to the charging current of the battery charging according to the impedance, thereby reducing the heat generation of the charging line during charging, and avoiding the use of a poor quality charging line for charging, because the inferior charging line generates a large amount of heat. The safety hazard caused by the safety of the mobile terminal is improved.

图6示出了另一示例性实施例所提供的充电方法的流程图。本公开实施例以该充电方法应用于图1至图4所示的移动终端130来举例说明。该充电方法包括:FIG. 6 shows a flow chart of a charging method provided by another exemplary embodiment. The embodiment of the present disclosure is exemplified by the charging method applied to the mobile terminal 130 shown in FIGS. 1 to 4. The charging method includes:

在步骤601中,在检测到与电源适配器建立连接时,通过D+或D-向电源适配器发送测试指令。In step 601, a test command is sent to the power adapter via D+ or D- upon detecting a connection to the power adapter.

为了确保计算阻抗过程中电源适配器输出的直流电压保持不变,电池管理芯片在检测到与电源适配器建立连接时,即通过D+或D-向电源适配器发送测试指令,该测试指令用于指示电源适配器输出恒定电压值的直流电压。In order to ensure that the DC voltage output from the power adapter remains unchanged during the calculation of the impedance, the battery management chip sends a test command to the power adapter via D+ or D- when it detects a connection with the power adapter, which is used to indicate the power adapter. A DC voltage that outputs a constant voltage value.

可选的,该测试指令中还包括输出电压值,用于指示电源适配器以该输出电压值输出的直流电压,其中,该输出电压值小于等于移动终端的最大充电电压。Optionally, the test command further includes an output voltage value for indicating a DC voltage output by the power adapter at the output voltage value, wherein the output voltage value is less than or equal to a maximum charging voltage of the mobile terminal.

在步骤602中,接收硬件充电接口输入的直流电压,该直流电压是电源适配器根据测试指令输出的恒定直流电压。In step 602, a DC voltage input by the hardware charging interface is received, and the DC voltage is a constant DC voltage output by the power adapter according to the test command.

电源适配器接收到该测试指令后,通过内部的电压转换芯片将交流电压转换为恒定电压值的直流电压,并通过充电线向移动终端传输直流电压。After receiving the test command, the power adapter converts the AC voltage into a DC voltage of a constant voltage value through an internal voltage conversion chip, and transmits a DC voltage to the mobile terminal through the charging line.

可选的,在输出恒定直流电压的同时,电源适配器通过内部的适配器管理芯片向移动终端发送反馈指令,该反馈指令用于指示正以恒定电压值输出直流电压。Optionally, while outputting a constant DC voltage, the power adapter sends a feedback command to the mobile terminal through the internal adapter management chip, and the feedback instruction is used to indicate that the DC voltage is being output at a constant voltage value.

相应的,移动终端中的电池管理芯片接收到该反馈指令后,接收硬件充电接口输入的直流电压。Correspondingly, after receiving the feedback instruction, the battery management chip in the mobile terminal receives the DC voltage input by the hardware charging interface.

在步骤603中,以第一充电电流为电池充电,并采集VBus处的第一测试 数据,第一测试数据包括VBus处的第一实际电压值V1和第一实际电流值I1In step 603, the battery is charged with the first charging current, and the first test data at the VBus is collected. The first test data includes the first actual voltage value V 1 and the first actual current value I 1 at the VBus.

电池管理芯片接收到输入的恒定直流电压后,以第一充电电流为电池充电,并在充电过程中采集电池管理芯片VBus处的第一实际电压值V1和第一实际电流值I1。其中,该第一充电电流小于额定充电电流,该额定充电电流指为电池充电的最大充电电流。After receiving the input constant DC voltage, the battery management chip charges the battery with the first charging current, and collects the first actual voltage value V 1 and the first actual current value I 1 at the battery management chip VBus during the charging process. Wherein, the first charging current is less than a rated charging current, and the rated charging current refers to a maximum charging current for charging the battery.

在步骤604中,以第二充电电流为电池充电,并采集VBus处的第二测试数据,第二测试数据包括VBus处的第二实际电压值V2和第二实际电流值I2In step 604, the second charging current to charge the battery, and a second test data acquisition VBus at a second test data comprises a second actual voltage value V 2 and the second actual current value I 2 VBus at.

完成第一测试数据采集后,电池管理芯片以第二充电电流为电池充电,并在充电过程中采集VBus处的第二实际电压值V2和第二实际电流值I2。其中,第二充电电流≠第一充电电流,且第二充电电流小于额定充电电流。After the first test data acquisition is completed, the battery management chip charges the battery with the second charging current, and collects the second actual voltage value V 2 and the second actual current value I 2 at the VBus during the charging process. Wherein, the second charging current is the first charging current, and the second charging current is less than the rated charging current.

在步骤605中,根据第一测试数据和第二测试数据计算充电线的阻抗。In step 605, the impedance of the charging line is calculated based on the first test data and the second test data.

由于电源适配器输出恒定直流电压,因此在先后两次测量过程中,充电线分担的电压与流入电池管理芯片的实际电压之和保持不变,即R×I1+V1=R×I2+V2,其中,R为充电线120的阻抗。Since the power adapter outputs a constant DC voltage, the sum of the voltage shared by the charging line and the actual voltage flowing into the battery management chip remains unchanged during the two measurements, that is, R × I 1 + V 1 = R × I 2 + V 2 , where R is the impedance of the charging line 120.

根据上述等式可以得到R=(V1-V2)/(I2-I1),因此,在测量得到两组测试数据后,电池管理芯片即可根据两组测量数据计算充电线的阻抗。由于上述公式中V1、V2、I1和I2均为实际测量值,因此,通过上述方法计算得到的阻抗的精确度较高。According to the above equation, R = (V 1 - V 2 ) / (I 2 - I 1 ) can be obtained. Therefore, after measuring two sets of test data, the battery management chip can calculate the impedance of the charging line based on two sets of measurement data. . Since V 1 , V 2 , I 1 and I 2 are actual measured values in the above formula, the accuracy of the impedance calculated by the above method is high.

在步骤606中,根据充电线的阻抗确定充电电流下调系数。In step 606, a charging current down-conversion coefficient is determined based on the impedance of the charging line.

移动终端中预先存储有充电线阻抗与充电电流下调系数之间的对应关系,该对应关系示意性如表一所示。The correspondence between the charging line impedance and the charging current lowering coefficient is stored in advance in the mobile terminal, and the correspondence is schematically shown in Table 1.

计算得到充电线阻抗后,电池管理芯片即根据该对应关系确定充电电流下调系数。After calculating the charging line impedance, the battery management chip determines the charging current reduction coefficient according to the corresponding relationship.

在步骤607中,根据充电电流下调系数和额定充电电流设定充电电流,额定充电电流指为电池充电的最大充电电流。In step 607, the charging current is set according to the charging current down-regulation coefficient and the rated charging current, and the rated charging current refers to the maximum charging current for charging the battery.

爱而定充电电流下调系数后,电池管理芯片进一步根据移动终端的额定充电电流设定充电电流。After the charging current is down-regulated by the love, the battery management chip further sets the charging current according to the rated charging current of the mobile terminal.

比如,电池管理芯片计算得到充电线的阻抗为0.45Ω,且额定充电电流为1.5A,则将充电电流设定为1.5×0.45=0.675A。For example, if the battery management chip calculates that the impedance of the charging line is 0.45 Ω and the rated charging current is 1.5 A, the charging current is set to 1.5×0.45=0.675A.

在步骤608中,根据设定后的充电电流为电池充电。In step 608, the battery is charged according to the set charging current.

完成充电电流设定后,电池管理芯片根据设定后的充电电流为电池充电。 After the charging current setting is completed, the battery management chip charges the battery according to the set charging current.

需要说明的是,相较于根据额定充电电流为电池充电,根据下调后的充电电流为电池充电需要花费更长的时间才能将电池充满,且充电过程中充电线消耗大量电量。It should be noted that, compared with charging the battery according to the rated charging current, it takes a longer time to charge the battery according to the reduced charging current to charge the battery, and the charging line consumes a large amount of power during charging.

本实施例中,电池管理芯片通过D+或D-指示电源适配器输出恒定直流电压,并通过调整充电电流的方式采集VBus处的至少两组测试数据,从而根据该测试数据中包含的实际电压值和实际电流值计算得到充电线的阻抗,确保计算充电线阻抗时使用的数据均为实际测量值,提高了计算得到的充电线阻抗的精确度。In this embodiment, the battery management chip outputs a constant DC voltage through the D+ or D- indicating power adapter, and collects at least two sets of test data at the VBus by adjusting the charging current, thereby obtaining an actual voltage value according to the test data. The actual current value is calculated to obtain the impedance of the charging line, and the data used to calculate the impedance of the charging line are all actual measured values, which improves the accuracy of the calculated charging line impedance.

为了使用户知悉当前使用的充电线为劣质充电线,从而及时对劣质充电线进行更换,基于图6所示的充电方法,如图7A所示,上述步骤607之后还可以包括如下步骤。In order to make the user know that the currently used charging line is a poor quality charging line, and then replace the inferior charging line in time, based on the charging method shown in FIG. 6, as shown in FIG. 7A, the above step 607 may further include the following steps.

在步骤609中,向处理器发送设定后的充电电流,处理器用于在设定后的充电电流小于预设电流阈值时,控制显示屏显示提示信息,该提示信息用于提示用户更换充电线。In step 609, the set charging current is sent to the processor, and the processor is configured to control the display screen to display a prompt message when the set charging current is less than the preset current threshold, the prompt information is used to prompt the user to replace the charging line. .

电池管理芯片根据充电电流下调系数设定充电电流后,将设定后的充电电流发送至处理器。处理器接收到该充电电流后,检测该充电电流是否小于预设电流阈值,当该充电电流小于预设电流阈值时,处理器即控制显示屏显示相应的提示信息,指示用户更换充电线。After the battery management chip sets the charging current according to the charging current reduction coefficient, the set charging current is sent to the processor. After receiving the charging current, the processor detects whether the charging current is less than a preset current threshold. When the charging current is less than the preset current threshold, the processor controls the display screen to display a corresponding prompt message, instructing the user to replace the charging line.

比如,如图7B所示,使用电源适配器71为移动终端72充电时,移动终端72中的电池管理芯片向处理器发送设定后的充电电流;处理器检测到设定后的充电电流小于预设电流阈值,并指示显示屏73显示相应提示信息。For example, as shown in FIG. 7B, when the power adapter 71 is used to charge the mobile terminal 72, the battery management chip in the mobile terminal 72 transmits the set charging current to the processor; the processor detects that the set charging current is less than the pre-charge. The current threshold is set and the display screen 73 is displayed with corresponding prompt information.

可选的,电池管理芯片还可以向处理器发送充电电流下调系数,处理器即可根据该充电电流下调系数确定对应的提示方式后进行提示。比如,处理器接收到的充电电流下调系数为0.7,则控制显示屏显示文字提示信息;又比如,处理器接收到的充电电流下调系数为0.3,则控制显示屏显示动画提示信息。Optionally, the battery management chip may further send a charging current reduction coefficient to the processor, and the processor may prompt according to the charging current lowering coefficient to determine a corresponding prompting mode. For example, if the charging current reduction coefficient received by the processor is 0.7, the control display screen displays the text prompt information; for example, if the charging current reduction coefficient received by the processor is 0.3, the control display screen displays the animation prompt information.

本实施例中,电池管理芯片向处理器发送设定后的充电电流,使得处理器能够根据该充电电流显示相应的提示信息,提示用户尽快更换充电线,避免使用劣质充电线充电时造成的电量损耗。In this embodiment, the battery management chip sends the set charging current to the processor, so that the processor can display corresponding prompt information according to the charging current, prompting the user to replace the charging line as soon as possible, and avoiding the power caused by charging the inferior charging line. loss.

当移动终端为图4所示充电系统中的移动终端130时,在图6所示充电方 法的基础上,如图8所示,上述步骤607之后,还包括如下步骤:When the mobile terminal is the mobile terminal 130 in the charging system shown in FIG. 4, the charging side shown in FIG. On the basis of the method, as shown in FIG. 8, after the above step 607, the following steps are further included:

在步骤610中,接收处理器发送的控制指令,控制指令是处理器检测到环境温度大于预设温度阈值时发送的。In step 610, a control command sent by the processor is received, where the control command is sent when the processor detects that the ambient temperature is greater than a preset temperature threshold.

在计算充电线阻抗的过程中,移动终端中的温度传感器采集外界环境的环境温度,处理器即从温度传感器处获取该环境温度。In the process of calculating the impedance of the charging line, the temperature sensor in the mobile terminal collects the ambient temperature of the external environment, and the processor acquires the ambient temperature from the temperature sensor.

处理器获取到的检测环境温度是否大于预设温度阈值,当环境温度大于预设温度阈值时,处理器向电池管理芯片发送控制指令,指示电池管理芯片下调设定后的充电电流。Whether the detected ambient temperature obtained by the processor is greater than a preset temperature threshold. When the ambient temperature is greater than the preset temperature threshold, the processor sends a control command to the battery management chip to instruct the battery management chip to lower the set charging current.

比如,当获取到的环境温度高于28℃时,处理器即向电池管理芯片发送该控制指令。For example, when the obtained ambient temperature is higher than 28 ° C, the processor sends the control command to the battery management chip.

在步骤611中,根据控制指令,下调设定后的充电电流。In step 611, the set charging current is lowered according to the control command.

可选的,接收到该控制指令后,电池管理芯片将确定出的充电电流下调系数下调一个等级,并根据调整后充电电流下调系数重新设定充电电流。Optionally, after receiving the control instruction, the battery management chip reduces the determined charging current reduction coefficient by one level, and resets the charging current according to the adjusted charging current reduction coefficient.

比如,电池管理芯片根据充电线的阻抗确定充电电流下调系数为0.7,当接收到处理器134发送的控制指令时,电池管理芯片将充电电流下调系数调整为0.5。For example, the battery management chip determines that the charging current reduction coefficient is 0.7 according to the impedance of the charging line. When receiving the control command sent by the processor 134, the battery management chip adjusts the charging current reduction coefficient to 0.5.

本实施例中,当环境温度较高时,处理器向电池管理芯片发送控制指令,指示电池管理芯片降低充电电流,从而降低充电线上产生的热量,减缓充电线温度的上升速度。In this embodiment, when the ambient temperature is high, the processor sends a control command to the battery management chip to instruct the battery management chip to reduce the charging current, thereby reducing the heat generated on the charging line and slowing the rising speed of the charging line temperature.

图9是根据一示例性实施例示出的一种移动终端的结构框图。例如,移动终端900可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。FIG. 9 is a structural block diagram of a mobile terminal according to an exemplary embodiment. For example, the mobile terminal 900 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.

参照图9,移动终端900可以包括以下一个或多个组件:处理组件902,存储器904,电源组件906,多媒体组件908,音频组件910,输入/输出(I/O)接口912,传感器组件914,以及通信组件916。Referring to FIG. 9, the mobile terminal 900 can include one or more of the following components: a processing component 902, a memory 904, a power component 906, a multimedia component 908, an audio component 910, an input/output (I/O) interface 912, a sensor component 914, And a communication component 916.

处理组件902通常控制移动终端900的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件902可以包括一个或多个处理器918来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件902可以包括一个或多个模块,便于处理组件902和其他组件之间的交互。例如,处理组件902可以包括多媒体模块,以方便多媒体组件908和处理 组件902之间的交互。Processing component 902 typically controls the overall operations of mobile terminal 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing component 902 can include one or more processors 918 to execute instructions to perform all or part of the steps of the above described methods. Moreover, processing component 902 can include one or more modules to facilitate interaction between component 902 and other components. For example, processing component 902 can include a multimedia module to facilitate multimedia component 908 and processing Interaction between components 902.

存储器904被配置为存储各种类型的数据以支持在移动终端900的操作。这些数据的示例包括用于在移动终端900上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器904可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 904 is configured to store various types of data to support operations at the mobile terminal 900. Examples of such data include instructions for any application or method operating on the mobile terminal 900, contact data, phone book data, messages, pictures, videos, and the like. The memory 904 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable. Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Disk or Optical Disk.

电源组件906为移动终端900的各种组件提供电力。电源组件906可以包括电源管理系统,一个或多个电源,及其他与为移动终端900生成、管理和分配电力相关联的组件。本公开实施例中,电源组件906包括电池管理芯片,且本公开实施例的充电方法由该电池管理芯片执行。Power component 906 provides power to various components of mobile terminal 900. Power component 906 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for mobile terminal 900. In the embodiment of the present disclosure, the power supply component 906 includes a battery management chip, and the charging method of the embodiment of the present disclosure is performed by the battery management chip.

多媒体组件908包括在移动终端900和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件908包括一个前置摄像头和/或后置摄像头。当移动终端900处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 908 includes a screen that provides an output interface between the mobile terminal 900 and the user. In some embodiments, the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can sense not only the boundaries of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front camera and/or a rear camera. When the mobile terminal 900 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.

音频组件910被配置为输出和/或输入音频信号。例如,音频组件910包括一个麦克风(MIC),当移动终端900处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器904或经由通信组件916发送。在一些实施例中,音频组件910还包括一个扬声器,用于输出音频信号。The audio component 910 is configured to output and/or input an audio signal. For example, the audio component 910 includes a microphone (MIC) that is configured to receive an external audio signal when the mobile terminal 900 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may be further stored in memory 904 or transmitted via communication component 916. In some embodiments, the audio component 910 also includes a speaker for outputting an audio signal.

I/O接口912为处理组件902和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 912 provides an interface between the processing component 902 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.

传感器组件914包括一个或多个传感器,用于为移动终端900提供各个方 面的状态评估。例如,传感器组件914可以检测到移动终端900的打开/关闭状态,组件的相对定位,例如组件为移动终端900的显示器和小键盘,传感器组件914还可以检测移动终端900或移动终端900一个组件的位置改变,用户与移动终端900接触的存在或不存在,移动终端900方位或加速/减速和移动终端900的温度变化。传感器组件914可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件914还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件914还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor component 914 includes one or more sensors for providing various aspects to mobile terminal 900 State assessment of the face. For example, sensor component 914 can detect an open/closed state of mobile terminal 900, relative positioning of components, such as a display and keypad of mobile terminal 900, and sensor component 914 can also detect a component of mobile terminal 900 or mobile terminal 900. The location changes, the presence or absence of contact of the user with the mobile terminal 900, the orientation or acceleration/deceleration of the mobile terminal 900, and the temperature change of the mobile terminal 900. Sensor assembly 914 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 914 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

通信组件916被配置为便于移动终端900和其他设备之间有线或无线方式的通信。移动终端900可以接入基于通信标准的无线网络,如Wi-Fi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件916经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,通信组件916还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。Communication component 916 is configured to facilitate wired or wireless communication between mobile terminal 900 and other devices. The mobile terminal 900 can access a wireless network based on a communication standard such as Wi-Fi, 2G or 3G, or a combination thereof. In an exemplary embodiment, communication component 916 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, communication component 916 also includes a near field communication (NFC) module to facilitate short range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

在示例性实施例中,移动终端900可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述实施例中处理器执行的充电方法。In an exemplary embodiment, the mobile terminal 900 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), A programming gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation is used to perform the charging method performed by the processor in the above embodiments.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器904,上述指令可由移动终端900的处理器918执行以完成上述实施例中处理器执行的充电方法。例如,非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium comprising instructions, such as a memory 904 comprising instructions executable by processor 918 of mobile terminal 900 to perform the processor of the above-described embodiments The charging method performed. For example, the non-transitory computer readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示意性的,本公开的真正范围和精神由下面的权利要求指出。 Other embodiments of the present disclosure will be apparent to those skilled in the <RTIgt; The present application is intended to cover any variations, uses, or adaptations of the present disclosure, which are in accordance with the general principles of the disclosure and include common general knowledge or common technical means in the art that are not disclosed in the present disclosure. . The specification and examples are to be regarded as illustrative only,

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。 It is to be understood that the invention is not limited to the details of the details and The scope of the disclosure is to be limited only by the appended claims.

Claims (13)

一种移动终端,其特征在于,所述移动终端包括:硬件充电接口、与所述硬件充电接口电性相连的电池管理芯片以及与所述电池管理芯片电性相连的电池;A mobile terminal, comprising: a hardware charging interface, a battery management chip electrically connected to the hardware charging interface; and a battery electrically connected to the battery management chip; 所述硬件充电接口,用于接收电源适配器通过充电线传输的直流电压;向所述电池管理芯片的输入所述直流电压;The hardware charging interface is configured to receive a DC voltage transmitted by the power adapter through the charging line; and input the DC voltage to the battery management chip; 所述电池管理芯片,用于根据采集到的所述直流电压的实际电压值和实际电流值计算所述充电线的阻抗;The battery management chip is configured to calculate an impedance of the charging line according to an actual voltage value and an actual current value of the collected DC voltage; 所述电池管理芯片,还用于根据所述充电线的阻抗设定充电电流;根据设定后的所述充电电流为所述电池充电。The battery management chip is further configured to set a charging current according to an impedance of the charging line; and charge the battery according to the set charging current. 根据权利要求1所述的移动终端,其特征在于,所述电池管理芯片通过电压总线引脚VBus和接地引脚GND与所述硬件充电接口电性相连;The mobile terminal according to claim 1, wherein the battery management chip is electrically connected to the hardware charging interface through a voltage bus pin VBus and a ground pin GND; 所述电池管理芯片,用于通过所述VBus接收所述硬件充电接口输入的所述直流电压;The battery management chip is configured to receive the DC voltage input by the hardware charging interface through the VBus; 所述电池管理芯片,还用于采集所述VBus处的至少两组测试数据,每组所述测试数据中包括所述VBus处的所述实际电压值和所述实际电流值;根据所述至少两组测试数据计算所述充电线的阻抗。The battery management chip is further configured to collect at least two sets of test data at the VBus, where each set of the test data includes the actual voltage value and the actual current value at the VBus; Two sets of test data calculate the impedance of the charging line. 根据权利要求2所述的移动终端,其特征在于,所述电池管理芯片还通过数据加引脚D+和数据减引脚D-与所述硬件充电接口电性相连;The mobile terminal according to claim 2, wherein the battery management chip is further electrically connected to the hardware charging interface through a data plus pin D+ and a data minus pin D-; 所述电池管理芯片,还用于在检测到与所述电源适配器建立连接时,通过所述D+或所述D-向所述电源适配器发送测试指令,所述测试指令用于指示所述电源适配器输出恒定电压值的直流电压;The battery management chip is further configured to send a test instruction to the power adapter through the D+ or the D- when detecting a connection with the power adapter, the test command is used to indicate the power adapter a DC voltage that outputs a constant voltage value; 所述电池管理芯片,还用于以第一充电电流为所述电池充电;采集所述VBus处的第一测试数据,所述第一测试数据包括所述VBus处的第一实际电压值V1和第一实际电流值I1The battery management chip is further configured to charge the battery with a first charging current; collect first test data at the VBus, the first test data includes a first actual voltage value V 1 at the VBus And a first actual current value I 1 ; 所述电池管理芯片,还用于以第二充电电流为所述电池充电;采集所述VBus处的第二测试数据,所述第二测试数据包括所述VBus处的第二实际电压值V2和第二实际电流值I2The battery management chip is further configured to charge the battery with a second charging current; collect second test data at the VBus, the second test data includes a second actual voltage value V 2 at the VBus And a second actual current value I 2 ; 所述电池管理芯片,还用于根据所述第一测试数据和所述第二测试数据计算所述充电线的阻抗;The battery management chip is further configured to calculate an impedance of the charging line according to the first test data and the second test data; 其中,所述充电线的阻抗=(V1-V2)/(I2-I1),且所述第一充电电流≠所述第二充电电流≤额定充电电流,所述额定充电电流指为所述电池充电的最大充电电流。Wherein the impedance of the charging line=(V 1 -V 2 )/(I 2 -I 1 ), and the first charging current ≠the second charging current ≤the rated charging current, the rated charging current refers to The maximum charging current for charging the battery. 根据权利要求1至3任一所述的移动终端,其特征在于,A mobile terminal according to any one of claims 1 to 3, characterized in that 所述电池管理芯片,用于根据所述充电线的阻抗确定充电电流下调系数;根据所述充电电流下调系数和额定充电电流设定所述充电电流,所述额定充电电流指为所述电池充电的最大充电电流。The battery management chip is configured to determine a charging current reduction coefficient according to an impedance of the charging line; set the charging current according to the charging current lowering coefficient and a rated charging current, where the rated charging current refers to charging the battery Maximum charging current. 根据权利要求1至3任一所述的移动终端,其特征在于,所述电池管理芯片与处理器电性相连;The mobile terminal according to any one of claims 1 to 3, wherein the battery management chip is electrically connected to the processor; 所述电池管理芯片,用于向所述处理器发送设定后的所述充电电流;The battery management chip is configured to send the set charging current to the processor; 所述处理器,用于在设定后的所述充电电流小于预设电流阈值时,控制显示屏显示提示信息,所述提示信息用于提示用户更换所述充电线。The processor is configured to: when the set charging current is less than a preset current threshold, control the display screen to display prompt information, where the prompt information is used to prompt the user to replace the charging line. 根据权利要求1至3任一所述的移动终端,其特征在于,所述移动终端还包括温度传感器,所述温度传感器与处理器电性相连,所述电池控制芯片与所述处理器电性相连;The mobile terminal according to any one of claims 1 to 3, wherein the mobile terminal further comprises a temperature sensor, the temperature sensor is electrically connected to the processor, and the battery control chip and the processor are electrically connected. Connected 所述处理器,用于获取所述温度传感器采集的环境温度;当所述环境温度大于预设温度阈值时,向所述电池管理芯片发送控制指令,所述控制指令用于指示下调设定后的所述充电电流;The processor is configured to acquire an ambient temperature collected by the temperature sensor; when the ambient temperature is greater than a preset temperature threshold, send a control instruction to the battery management chip, where the control instruction is used to indicate a downward adjustment setting The charging current; 所述电池管理芯片,还用于根据所述控制指令,下调设定后的所述充电电流。The battery management chip is further configured to: according to the control instruction, reduce the set charging current. 一种充电方法,其特征在于,用于如权利要求1至6任一所述的移动终端,所述方法包括:A charging method, characterized in that it is used in a mobile terminal according to any one of claims 1 to 6, the method comprising: 接收所述硬件充电接口输入的所述直流电压,所述直流电压由所述电源适配器通过所述充电线向所述硬件充电接口传输;Receiving the DC voltage input by the hardware charging interface, where the DC voltage is transmitted by the power adapter to the hardware charging interface through the charging line; 根据采集到的所述直流电压的所述实际电压值和所述实际电流值计算所述 充电线的阻抗;Calculating the actual voltage value and the actual current value of the collected DC voltage The impedance of the charging line; 根据所述充电线的阻抗设定所述充电电流;Setting the charging current according to an impedance of the charging line; 根据设定后的所述充电电流为所述电池充电。The battery is charged according to the set charging current. 根据权利要求7所述的方法,其特征在于,用于如权利要求2或3所述的移动终端,所述根据采集到的所述直流电压的所述实际电压值和所述实际电流值计算所述充电线的阻抗,包括:The method according to claim 7, wherein the mobile terminal according to claim 2 or 3, wherein the calculating is based on the collected actual voltage value of the DC voltage and the actual current value The impedance of the charging line includes: 采集所述VBus处的至少两组测试数据,每组所述测试数据中包括所述VBus处的所述实际电压值和所述实际电流值;Collecting at least two sets of test data at the VBus, each set of the test data including the actual voltage value and the actual current value at the VBus; 根据所述至少两组测试数据计算所述充电线的阻抗。The impedance of the charging line is calculated based on the at least two sets of test data. 根据权利要求8所述的方法,其特征在于,用于如权利要求3所述的移动终端,所述采集所述VBus处的至少两组测试数据,包括:The method according to claim 8, wherein for the mobile terminal of claim 3, the collecting the at least two sets of test data at the VBus comprises: 在检测到与所述电源适配器建立连接时,通过所述D+或所述D-向所述电源适配器发送所述测试指令;Sending the test command to the power adapter through the D+ or the D- when detecting a connection with the power adapter; 以所述第一充电电流为所述电池充电,并采集所述VBus处的所述第一测试数据,所述第一测试数据包括所述VBus处的所述第一实际电压值V1和所述第一实际电流值I1Charging the battery with the first charging current, and collecting the first test data at the VBus, the first test data including the first actual voltage value V 1 and the location at the VBus Said first actual current value I 1 ; 以所述第二充电电流为所述电池充电,并采集所述VBus处的所述第二测试数据,所述第二测试数据包括所述VBus处的所述第二实际电压值V2和所述第二实际电流值I2Charging the battery with the second charging current, and collecting the second test data at the VBus, the second test data including the second actual voltage value V 2 and the location at the VBus Said second actual current value I 2 ; 所述根据所述至少两组测试数据计算所述充电线的阻抗,包括:Calculating the impedance of the charging line according to the at least two sets of test data, including: 根据所述第一测试数据和所述第二测试数据计算所述充电线的阻抗;Calculating an impedance of the charging line according to the first test data and the second test data; 其中,所述充电线的阻抗=(V1-V2)/(I2-I1),且所述第一充电电流≠所述第二充电电流≤额定充电电流,所述额定充电电流指为所述电池充电的最大充电电流。Wherein the impedance of the charging line=(V 1 -V 2 )/(I 2 -I 1 ), and the first charging current ≠the second charging current ≤the rated charging current, the rated charging current refers to The maximum charging current for charging the battery. 根据权利要求7至9任一所述的方法,其特征在于,所述根据所述充电线的阻抗设定所述充电电流,包括:The method according to any one of claims 7 to 9, wherein the setting the charging current according to the impedance of the charging line comprises: 根据所述充电线的阻抗确定充电电流下调系数;Determining a charging current down-regulation coefficient according to an impedance of the charging line; 根据所述充电电流下调系数和额定充电电流设定所述充电电流,所述额定 充电电流指为所述电池充电的最大充电电流。Setting the charging current according to the charging current down-regulation coefficient and the rated charging current, the rating The charging current refers to the maximum charging current that charges the battery. 根据权利要求7至9任一所述的方法,其特征在于,所述方法,还包括:The method according to any one of claims 7 to 9, wherein the method further comprises: 向处理器发送设定后的所述充电电流,所述处理器用于在设定后的所述充电电流小于预设电流阈值时,控制显示屏显示提示信息,所述提示信息用于提示用户更换所述充电线。Sending the set charging current to the processor, the processor is configured to control the display screen to display prompt information when the set charging current is less than a preset current threshold, where the prompt information is used to prompt the user to replace The charging line. 根据权利要求7至9任一所述的方法,其特征在于,所述方法,还包括:The method according to any one of claims 7 to 9, wherein the method further comprises: 接收处理器发送的控制指令,所述控制指令是所述处理器检测到环境温度大于预设温度阈值时发送的,用于指示下调设定后的所述充电电流;Receiving a control command sent by the processor, where the control command is sent when the processor detects that the ambient temperature is greater than a preset temperature threshold, and is used to indicate that the charging current after the setting is lowered; 根据所述控制指令,下调设定后的所述充电电流。The set charging current is lowered according to the control command. 一种充电系统,其特征在于,所述充电系统包括电源适配器和移动终端;A charging system, characterized in that the charging system comprises a power adapter and a mobile terminal; 所述电源适配器和所述移动终端之间通过充电线相连;The power adapter and the mobile terminal are connected by a charging line; 所述移动终端包括如权利要求1至6任一所述的移动终端。 The mobile terminal comprises the mobile terminal of any one of claims 1 to 6.
PCT/CN2016/099614 2016-09-21 2016-09-21 Mobile terminal, charging method, and charging system Ceased WO2018053724A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201680000894.1A CN108370171B (en) 2016-09-21 2016-09-21 Mobile terminal, charging method and charging system
PCT/CN2016/099614 WO2018053724A1 (en) 2016-09-21 2016-09-21 Mobile terminal, charging method, and charging system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/099614 WO2018053724A1 (en) 2016-09-21 2016-09-21 Mobile terminal, charging method, and charging system

Publications (1)

Publication Number Publication Date
WO2018053724A1 true WO2018053724A1 (en) 2018-03-29

Family

ID=61690110

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/099614 Ceased WO2018053724A1 (en) 2016-09-21 2016-09-21 Mobile terminal, charging method, and charging system

Country Status (2)

Country Link
CN (1) CN108370171B (en)
WO (1) WO2018053724A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220060034A1 (en) * 2019-05-07 2022-02-24 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Charging current control method, electronic device, and power supply device
CN115754480A (en) * 2022-11-14 2023-03-07 歌尔科技有限公司 Method for monitoring impedance of rear battery cable of head-mounted display device and head-mounted display device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104330638A (en) * 2014-11-19 2015-02-04 惠州Tcl移动通信有限公司 Identifying method and system for original charging cable
CN105720631A (en) * 2016-01-22 2016-06-29 珠海市魅族科技有限公司 Electronic terminal and charging device
CN105826955A (en) * 2015-01-06 2016-08-03 宝创企业股份有限公司 Mobile power supply device suitable for measuring impedance of charging wire
CN105896666A (en) * 2016-05-19 2016-08-24 北京小米移动软件有限公司 Charging method and device of terminal and terminal
CN105914807A (en) * 2016-03-21 2016-08-31 联想(北京)有限公司 Method for reducing heating of charging cable, and electronic device
CN106415983A (en) * 2015-05-19 2017-02-15 华为技术有限公司 Charging method, charging device and terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9419452B2 (en) * 2013-08-14 2016-08-16 Nokia Technologies Oy Charging connector overheat detection and protection apparatus
CN104638712B (en) * 2013-11-15 2018-10-16 维沃移动通信有限公司 A kind of mobile handsets for preventing USB socket from being overheated in charging process and method
CN103887571A (en) * 2014-03-28 2014-06-25 乐视致新电子科技(天津)有限公司 Charging mode switching method and charging mode switching device
CN103941123A (en) * 2014-04-15 2014-07-23 上海君世电气科技有限公司 Cable insulation online monitoring system
US9997943B2 (en) * 2014-12-11 2018-06-12 Mediatek Inc. Electronic device and power adapter capable of communicating with each other, and associated charging system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104330638A (en) * 2014-11-19 2015-02-04 惠州Tcl移动通信有限公司 Identifying method and system for original charging cable
CN105826955A (en) * 2015-01-06 2016-08-03 宝创企业股份有限公司 Mobile power supply device suitable for measuring impedance of charging wire
CN106415983A (en) * 2015-05-19 2017-02-15 华为技术有限公司 Charging method, charging device and terminal
CN105720631A (en) * 2016-01-22 2016-06-29 珠海市魅族科技有限公司 Electronic terminal and charging device
CN105914807A (en) * 2016-03-21 2016-08-31 联想(北京)有限公司 Method for reducing heating of charging cable, and electronic device
CN105896666A (en) * 2016-05-19 2016-08-24 北京小米移动软件有限公司 Charging method and device of terminal and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220060034A1 (en) * 2019-05-07 2022-02-24 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Charging current control method, electronic device, and power supply device
CN115754480A (en) * 2022-11-14 2023-03-07 歌尔科技有限公司 Method for monitoring impedance of rear battery cable of head-mounted display device and head-mounted display device

Also Published As

Publication number Publication date
CN108370171B (en) 2022-02-22
CN108370171A (en) 2018-08-03

Similar Documents

Publication Publication Date Title
WO2017016163A1 (en) Charging method and apparatus
CN107196372B (en) Charging method and device
CN107843802A (en) Internal short-circuit detection method and device
CN106786871A (en) Charge control method, apparatus and system
CN113725954B (en) Charging method, device, equipment and storage medium
CN106786997A (en) Charging method and device
CN106505688A (en) Charging control method and device
CN107872075A (en) Mobile terminal, charging method and charging system
CN106329635A (en) Terminal charging method and device
CN106898832A (en) Charging method and device
CN107331910A (en) Charging method and device
WO2018094795A1 (en) Method and device for controlling power supply of power strip, and power strip
CN106972598B (en) Short circuit detection method and device
US11205906B2 (en) Charging processing method, terminal device and storage medium
CN106877451B (en) Charging port short circuit protection method and device
CN105490332B (en) Charging method, apparatus and system
CN106549455A (en) Charge control method and device
CN105449764B (en) Charging method, apparatus and system
WO2018053724A1 (en) Mobile terminal, charging method, and charging system
CN216564606U (en) Chargers and Charging Equipment
CN107733021B (en) Control method and device of electronic equipment
US11635468B2 (en) Method, apparatus and storage medium for determining charging time length of battery
CN107706985A (en) terminal charging method and device
CN106712172A (en) Charging control method and device
CN112448054A (en) Charging method and device of mobile terminal, terminal and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16916463

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16916463

Country of ref document: EP

Kind code of ref document: A1