WO2018040170A1 - 一种充电方法及装置 - Google Patents

一种充电方法及装置 Download PDF

Info

Publication number
WO2018040170A1
WO2018040170A1 PCT/CN2016/100660 CN2016100660W WO2018040170A1 WO 2018040170 A1 WO2018040170 A1 WO 2018040170A1 CN 2016100660 W CN2016100660 W CN 2016100660W WO 2018040170 A1 WO2018040170 A1 WO 2018040170A1
Authority
WO
WIPO (PCT)
Prior art keywords
charging
type
voltage
port
protocol
Prior art date
Application number
PCT/CN2016/100660
Other languages
English (en)
French (fr)
Inventor
丁兆刚
许奕波
沈小波
Original Assignee
宇龙计算机通信科技(深圳)有限公司
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 宇龙计算机通信科技(深圳)有限公司 filed Critical 宇龙计算机通信科技(深圳)有限公司
Publication of WO2018040170A1 publication Critical patent/WO2018040170A1/zh

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
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a charging method and apparatus.
  • the charger uses a fixed charging mode for charging the connected mobile terminal, such as constant voltage charging, which will prolong the battery capacity.
  • the charging time of the mobile terminal reduces the charging efficiency of the mobile terminal.
  • the technical problem to be solved by the embodiments of the present invention is to provide a charging method and device, which can improve the charging efficiency by detecting the port type of the charger and the corresponding charging protocol, and charging by using the fast charging method corresponding to the protocol.
  • an embodiment of the present invention provides a charging method, where the method includes:
  • charging is performed by using the charging scheme corresponding to the QC3.0 or the charging scheme corresponding to QC2.0;
  • the charging protocol includes the high-pass fast charging protocol QC2.0
  • charging is performed by using the charging scheme corresponding to the QC2.0;
  • charging is performed by using the charging scheme corresponding to the PE+3.0 or the charging scheme corresponding to PE+2.0;
  • charging is performed by using the charging scheme corresponding to the PE+2.0.
  • the embodiment of the invention further provides a charging device, the device comprising:
  • the type judging module is configured to obtain a port type of the charger, and determine whether the port type is a DCP type;
  • a protocol obtaining module configured to acquire a charging protocol when the port type is the DCP type
  • a charging module configured to perform charging by using a charging scheme corresponding to the QC3.0 when the charging protocol includes QC3.0;
  • the charging module is further configured to perform charging by using a charging scheme corresponding to the QC2.0 when the charging protocol includes QC2.0;
  • the charging module is further configured to perform charging by using a charging scheme corresponding to the PE+3.0 or a charging scheme corresponding to PE+2.0 when the charging protocol includes PE+3.0;
  • the charging module is further configured to perform charging by using a charging scheme corresponding to the PE+2.0 when the charging protocol includes PE+2.0.
  • the port type of the charger is first obtained, and it is determined whether the port type is a dedicated charging port DCP type, and if so, the included charging protocol is acquired: the concurrent charging protocol PE+3.0 and/or the connection.
  • Express fast charging protocol PE+2.0 and / or Qualcomm fast charging protocol QC3.0 and / or Qualcomm fast charging protocol QC2.0 and then use PE +3.0 or PE +2.0 or QC3.0 or QC2.0 corresponding charging scheme Charging.
  • FIG. 1 is a schematic flow chart of a charging method in an embodiment of the present invention
  • FIG. 2 is a schematic structural view of a charging device in an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a type judging module of a charging device according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a type judging module of a charging device according to another embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a type judging module of a charging apparatus according to another embodiment of the present invention.
  • FIG. 6 is a block diagram of a computer system for performing the above charging method in an embodiment of the present invention.
  • the execution of the charging method mentioned in the embodiments of the present invention relies on a computer program that can run on a computer system of the Von Oyman system.
  • the computer program can operate based on a charging device.
  • the charging device may be a mobile terminal device such as a personal computer, a tablet computer, a notebook computer, a smart phone, or a smart wearable device.
  • FIG. 1 is a schematic flow chart of a charging method according to an embodiment of the present invention, where the method includes at least:
  • Step S101 Obtain a port type of the charger, and determine whether the port type is a dedicated charging port DCP type.
  • a charging device such as a mobile phone, a tablet computer, or a personal computer is connected to the charger through a universal serial bus (USB) port of the charger, and after being connected, detects the charging specification of the charger in the USB battery.
  • USB universal serial bus
  • CDP Portable Charging Downstream Port
  • the BC1.2 specification determines how each port should enumerate to the terminal device and the protocol that identifies the port type.
  • USB BC1.2 the port types of the USB BC1.2 specification are shown in Table 1, including SDP, CDP, Dedicated Charging Port (DCP), and other port types.
  • Determining whether the port type is a dedicated charging port DCP type including:
  • the port type is a DCP type.
  • the charging device when the charging device is connected to the DCP type charger, firstly, the (Data +, D+) signal level of the charging device is higher than the D+ signal comparison level of the charger, and the DCP type charging D+ and (Data- , D-) signal is short-circuited, so the D-signal is pulled high and higher than the judgment level of the D-signal.
  • the port type of the charger is recognized as DCP type or CDP type; then the charging device D-signal is turned on.
  • the pull-up power supply that is, maintains the D-signal high level, disconnects the pull-up power of the D+ signal, and simultaneously turns on the pull-down power of the D+ signal, at which time the D+ signal will become a high level, that is, when the charging device D+ is detected When the signal is high, it is determined that the port of the charger is of the DCP type.
  • the dedicated charging port (DCP) type port does not support any data transmission, but can provide more than 1.5A current, so it is often used for wall chargers and car chargers that support higher charging capacity, without enumeration.
  • the charging device acquires the D+ voltage and the D-voltage in the charging device after the charger is connected, and compares them with the corresponding preset thresholds respectively. When the comparison result is greater than the corresponding preset threshold, the acquiring is performed.
  • the level of D+ is connected to the pull-up power supply of D- and the pull-down power supply condition of D+, and when the level of D+ is high, it is determined that the port type is DCP type.
  • the method further includes:
  • the port type is not the DCP type, determining whether the port type is a standard downlink port SDP type or a charging downlink port CDP type;
  • charging is performed by using a first preset current threshold
  • charging is performed by using a second preset current threshold
  • charging is performed by using a third preset current threshold.
  • the port type is the SDP type
  • charging is performed by using a first preset current threshold.
  • the corresponding current limit value is 2.5 mA when suspended, 100 mA when connected, 500 mA when connected and configured for higher power
  • the first preset current threshold may be 500 mA
  • the port type is the CDP type
  • charging is performed by using a second preset current threshold, where the second preset current threshold may be 900 mA
  • the port type is not the SDP type and is not the
  • charging is performed using a third preset current threshold, which may be 500 mA.
  • the determining whether the port type is a standard downlink port SDP type includes:
  • the positive signal line D+ and the negative signal line D- line of the port of the SDP type have a 15 k ⁇ pull-down resistor
  • the D+ voltage of the charging device is charged.
  • the pull-down resistor of the internal D+ signal is pulled low, and the D-voltage of the charging device is also pulled down by the pull-down resistor of the internal D-signal of the charger, that is, when the charging device (access device) detects the D+ voltage and D inside the charging device.
  • the D+ and D- voltages of the charging device before the connection of the charger and the D+ and D- voltages of the charging device after the charger are connected are respectively obtained, and then the D+ voltage and the D-voltage before and after the connection are respectively compared, and the connection is judged. Whether the front D+ voltage and the D-voltage are both small.
  • the determining whether the port type is a charging downlink port CDP type includes:
  • the port type is a CDP type.
  • the D+ signal level of the charging device is higher than the D+ signal comparison level of the charger, and at this time, the CDP device is powered on, and the D-signal is pulled high and high.
  • the port type of the charger is recognized as the CDP type or the DCP type; then the pull-up power of the D-signal of the charging device is turned on, that is, the D-signal is maintained at a high level, and the D+ is turned off.
  • the pull-up power of the signal simultaneously turns on the pull-down power of the D+ signal.
  • the D+ signal will become a low level, that is, when it is detected that the charging device D+ signal is low, it is determined that the port of the charger is of the CDP type.
  • the charging downlink port (CDP) type port supports both high current charging and full USB 2.0 compatible data transmission, and the port has a 15k ⁇ pull-down resistor necessary for D+ and D-communication, and also has a charger detection phase.
  • the internal circuit of the switch is not limited to the USB 2.0 compatible data transmission.
  • the charging device acquires the D+ voltage and the D-voltage in the charging device after the charger is connected, and compares them with the corresponding preset thresholds respectively. When the comparison result is greater than the corresponding preset threshold, the acquiring is performed. Connect the D- pull-up power supply and the D+ level of the D+ pull-down power supply, and at the D+ level is low, determine that the port type is CDP type.
  • Step S102 Acquire a charging protocol when the port type is the DCP type.
  • the charging protocol at this time is obtained, such as the Link Express Fast Charge Protocol (Pump Express Plus 3.0, PE+3.0), and the Uniform Express Charger. Protocol (Pump Express Plus 2.0, PE+2.0), Qualcomm Fast Charge Protocol (QC3.0) and Qualcomm Fast Charge Protocol (QC2.0).
  • Link Express Fast Charge Protocol Pump Express Plus 3.0, PE+3.0
  • Uniform Express Charger. Protocol Pump Express Plus 2.0, PE+2.0
  • Qualcomm Fast Charge Protocol QC3.0
  • Qualcomm Fast Charge Protocol QC2.0
  • Step S103 when the charging protocol includes the high-pass fast charging protocol QC3.0, charging is performed by using the charging scheme corresponding to the QC3.0 or the charging scheme corresponding to QC2.0.
  • Qualcomm Fast Charge Protocol QC3.0 is a fast charging protocol that increases the charging voltage and increases the charging current. 3.0 is the version number. Compared with QC2.0, it mainly improves the charging flexibility and charging speed. fast.
  • QC2.0/3.0 has two standards, Class A and Class B. Among them, Class A standard QC2.0 supports 5V/9V/12V three voltages, QC3.0 supports 3.6V ⁇ 12V fluctuation voltage; Class B standard QC2.0 supports 5V/9V/12V/20V four voltages QC3.0 supports fluctuation voltages from 3.6V to 20V. Since the 20V voltage is not used in the smart phone field, the QC2.0/3.0 of the charger and mobile power supply around it is mainly based on the Class A standard.
  • the protocols are backward compatible, that is, when QC3.0 is supported, QC2.0 is also supported. Therefore, when the charging protocol includes QC3.0, one of QC3.0 and QC2.0 can be used. The corresponding charging scheme is charged.
  • Step S104 When the charging protocol includes the high-pass fast charging protocol QC2.0, charging is performed by using the charging scheme corresponding to the QC2.0.
  • Qualcomm Fast Charge Protocol QC2.0 is a fast charging protocol.
  • the chip of the protocol controller such as FP6600, can automatically identify the charger type and adjust the output voltage of the charger to obtain the safe maximum charging voltage allowed by the charger. Save time on the premise of protecting the charger.
  • the charging scheme corresponding to QC2.0 is: QC2.0 fast charging charger and charging device communicate with the voltage on the signal lines D+ and D- of the USB interface to adjust the output voltage of QC2.0. Specifically, when the charger (QC2.0 identification chip FP6600) is connected to the charging device through the data line, the charger temporarily shorts D+ and D-, and the charging device detects that the charger type is DCP type. At this time, the output voltage is 5v, and the charging device is normally charged. If the charging device supports the QC2.0 fast charging protocol, the hvdcp process of the Android user space will be started, and the voltage of 0.325V is started to be loaded on the D+.
  • the charger When this voltage is maintained for 1.25s, the charger will disconnect D+ and D-, and the voltage on D- will drop. After the charging device detects the voltage drop on D-, hvdcp reads /sys/class/ The value of power_supply/usb/voltage_max, if it is 9000000 (mV), set the voltage on D+ to 3.3V, the voltage on D- to 0.6V, and the charger to output 9v. If 5000000 (mV) is set D+ is 0.6V, D- is 0V, and the charger outputs 5V.
  • step S105 when the charging protocol includes the concurrent charging protocol PE+3.0, charging is performed by using the charging scheme corresponding to the PE+3.0 or the charging scheme corresponding to PE+2.0.
  • the charger of the Unicom Fast Charge Protocol PE+3.0 supports a charging voltage and a charging current of 5V/7V/9V 2A or 12V 1.5A, and is adaptively adjustable.
  • Step S106 when the charging protocol includes the concurrent charging protocol PE+2.0, charging is performed by using the charging scheme corresponding to the PE+2.0.
  • PE+2.0 is a fast charging protocol of MediaTek
  • the output voltage of the charger in the charging scheme corresponding to PE+2.0 is 3.6V, 3.8V, 4.0V, 4.2V, 4.4V, 4.6V, 4.8V, 5.0V, 7V, 9V, 12V are adaptively adjustable to ensure that the charging device is not susceptible to heat during charging.
  • the method further includes:
  • the charging protocol includes the Qualcomm Fast Charge Protocol QC2.0, the Uniform Express Charging Protocol PE+3.0, and the Uniform Fast Charge Protocol PE+2.0
  • the priority attribute of the QC2.0, the PE+3.0 is obtained respectively.
  • Charging is performed by using a charging protocol with a preferred priority attribute in the QC2.0, the PE+3.0, and the PE+2.0;
  • the priority level attribute includes at least one of a priority, a detection duration, and a detection sequence.
  • the priority is a parameter that determines the priority level of each operating program to accept system resources when the computer time-sharing operating system processes multiple operating programs. If the priority parameter has a higher priority, the QC3.0 and QC2 are used. .0 and PE+3.0, PE+2.0, the charging scheme corresponding to the protocol with a higher priority parameter is charged; if the detection time is short, the priority is high, then QC3.0, QC2.0 PE+3.0, and PE The charging scheme corresponding to the protocol with a shorter detection time in +2.0 is charged; if the priority of the detection order is high, the protocol detected first in QC3.0, QC2.0, PE+3.0, and PE+2.0 The corresponding charging scheme is charged.
  • the port type of the charger is first obtained, and it is determined whether the port type is a dedicated charging port DCP type, and if so, the included charging protocol is acquired: the concurrent charging protocol PE+3.0 and/or the connection.
  • Express fast charging protocol PE+2.0 and / or Qualcomm fast charging protocol QC3.0 and / or Qualcomm fast charging protocol QC2.0 and then use PE +3.0 or PE +2.0 or QC3.0 or QC2.0 corresponding charging scheme Charging.
  • FIG. 2 is a schematic structural diagram of a charging device according to an embodiment of the present invention. As shown in the figure, the device includes:
  • the type judging module 210 is configured to obtain a port type of the charger, and determine whether the port type is a DCP type.
  • the charging device such as a mobile phone, a tablet computer or a personal computer is connected to the charger through the USB port of the charger, and after the connection, detects the port type of the charger under the USB BC1.2 specification, and determines that the detection is detected.
  • the port type is the standard downlink port SDP type or the charging downlink port CDP type.
  • the BC1.2 specification determines how each port should enumerate to the terminal device and the protocol that identifies the port type.
  • port types of the USB BC1.2 specification are shown in Table 1, including SDP, CDP, DCP, and other port types.
  • the type determining module 210 determines whether the port type is a DCP type, including:
  • the first voltage acquiring unit 211 is configured to acquire a first voltage of the positive signal D+ of the differential line and a second voltage of the negative signal D- of the differential line;
  • the first level obtaining unit 212 is configured to connect the pull-up power source of the D- and the pull-down power source of the D+ when the first voltage is greater than the first voltage threshold and the second voltage is greater than the second voltage threshold Obtaining the level of the D+;
  • the first port determining unit 213 is configured to determine that the port type is a DCP type when the level of the D+ is a high level.
  • the D+ signal level of the charging device is higher than the D+ signal comparison level of the charger, and the D+ and D- signals of the DCP type charging are short-circuited,
  • the D-signal is pulled high and higher than the judgment level of the D-signal.
  • the port type of the charger is recognized as DCP type or CDP type; then the pull-up power supply of the D-signal of the charging device is turned on, that is, the D-signal is maintained.
  • the pull-up power of the D+ signal is turned off, and the pull-down power of the D+ signal is turned on at the same time.
  • the D+ signal will become a high level, that is, when the charging device D+ signal is detected to be high level, the charger is determined.
  • the port is of the DCP type.
  • the dedicated charging port (DCP) type port does not support any data transmission, but can provide more than 1.5A current, so it is often used for wall chargers and car chargers that support higher charging capacity, without enumeration.
  • the charging device acquires the D+ voltage and the D-voltage in the charging device after the charger is connected, and compares them with the corresponding preset thresholds respectively. When the comparison result is greater than the corresponding preset threshold, the acquiring is performed.
  • the level of D+ is connected to the pull-up power supply of D- and the pull-down power supply condition of D+, and when the level of D+ is high, it is determined that the port type is DCP type.
  • the protocol obtaining module 220 is configured to acquire a charging protocol when the port type is the DCP type.
  • the port type is DCP type
  • multiple charging protocols are supported, and the charging protocol at this time is obtained, such as the Unicom Fast Charge Protocol PE+3.0, the Uniform Fast Charge Protocol PE+2.0, and the Qualcomm Express. Charge agreement QC3.0 and Qualcomm fast charge agreement QC2.0.
  • the charging module 230 is configured to perform charging by using a charging scheme corresponding to the QC3.0 or a charging scheme corresponding to QC2.0 when the charging protocol includes QC3.0.
  • Qualcomm Fast Charge Protocol QC3.0 is a fast charging protocol that increases the charging voltage and increases the charging current. 3.0 is the version number. Compared with QC2.0, it mainly improves the charging flexibility and charging speed. fast.
  • QC2.0/3.0 has two standards, Class A and Class B. Among them, Class A standard QC2.0 supports 5V/9V/12V three voltages, QC3.0 supports 3.6V ⁇ 12V fluctuation voltage; Class B standard QC2.0 supports 5V/9V/12V/20V four voltages QC3.0 supports fluctuation voltages from 3.6V to 20V. Since the 20V voltage is not used in the smart phone field, the QC2.0/3.0 of the charger and mobile power supply around it is mainly based on the Class A standard.
  • the protocols are backward compatible, that is, when QC3.0 is supported, QC2.0 is also supported. Therefore, when the charging protocol includes QC3.0, one of QC3.0 and QC2.0 can be used. The corresponding charging scheme is charged.
  • the charging module 230 is further configured to perform charging by using a charging scheme corresponding to the QC2.0 when the charging protocol includes QC2.0.
  • Qualcomm Fast Charge Protocol QC2.0 is a fast charging protocol.
  • the chip of the protocol controller such as FP6600, can automatically identify the charger type and adjust the output voltage of the charger to obtain the safe maximum charging voltage allowed by the charger. Save time on the premise of protecting the charger.
  • the charging scheme corresponding to QC2.0 is: QC2.0 fast charging charger and charging device communicate with the voltage on the signal lines D+ and D- of the USB interface to adjust the output voltage of QC2.0. Specifically, when the charger (QC2.0 identification chip FP6600) is connected to the charging device through the data line, the charger temporarily shorts D+ and D-, and the charging device detects that the charger type is DCP type. At this time, the output voltage is 5v, and the charging device is normally charged. If the charging device supports the QC2.0 fast charging protocol, the hvdcp process of the Android user space will be started, and the voltage of 0.325V is started to be loaded on the D+.
  • the charger When this voltage is maintained for 1.25s, the charger will disconnect D+ and D-, and the voltage on D- will drop. After the charging device detects the voltage drop on D-, hvdcp reads /sys/class/ The value of power_supply/usb/voltage_max, if it is 9000000 (mV), set the voltage on D+ to 3.3V, the voltage on D- to 0.6V, and the charger to output 9v. If 5000000 (mV) is set D+ is 0.6V, D- is 0V, and the charger outputs 5V.
  • the charging module is further configured to perform charging by using a charging scheme corresponding to the PE+3.0 or a charging scheme corresponding to PE+2.0 when the charging protocol includes PE+3.0.
  • the charger of the Unicom Fast Charge Protocol PE+3.0 supports a charging voltage and a charging current of 5V/7V/9V 2A or 12V 1.5A, and is adaptively adjustable.
  • the charging module 230 is further configured to perform charging by using the charging scheme corresponding to the PE+2.0 when the charging protocol includes PE+2.0.
  • PE+2.0 is a fast charging protocol of MediaTek
  • the output voltage of the charger in the charging scheme corresponding to PE+2.0 is 3.6V, 3.8V, 4.0V, 4.2V, 4.4V, 4.6V, 4.8V, 5.0V, 7V, 9V, 12V are adaptively adjustable to ensure that the charging device is not susceptible to heat during charging.
  • the type determining module 210 is further configured to: determine, when the port type is not the DCP type, whether the port type is an SDP type or a CDP type;
  • the charging module 230 is further configured to perform charging by using a first preset current threshold when the port type is the SDP type;
  • the charging module 230 is further configured to perform charging by using a second preset current threshold when the port type is the CDP type;
  • the charging module 230 is further configured to perform charging by using a third preset current threshold when the port type is not the SDP type and not the CDP type.
  • the port type is the SDP type
  • charging is performed by using a first preset current threshold.
  • the corresponding current limit value is 2.5 mA when suspended, 100 mA when connected, 500 mA when connected and configured for higher power
  • the first preset current threshold may be 500 mA
  • the port type is the CDP type
  • charging is performed by using a second preset current threshold, where the second preset current threshold may be 900 mA
  • the port type is not the SDP type and is not the
  • charging is performed using a third preset current threshold, which may be 500 mA.
  • the type determining module 210 determines whether the port type is an SDP type, and includes:
  • the second voltage obtaining unit 214 is configured to acquire a third voltage of the positive signal D+ of the differential line and a fourth voltage of the negative signal D ⁇ of the differential line, wherein the third voltage and the fourth voltage are connected The voltage before the charger;
  • the second voltage acquiring unit 214 is further configured to acquire a fifth voltage of the positive signal D+ of the differential line and a sixth voltage of the negative signal D- of the differential line, wherein the fifth voltage and the sixth voltage are a voltage after connecting the charger;
  • the second port determining unit 215 is configured to determine that the port type is the SDP type when the third voltage is greater than the fifth voltage and the fourth voltage is greater than the sixth voltage.
  • the positive signal line D+ and the negative signal line D- line of the port of the SDP type have a 15 k ⁇ pull-down resistor
  • the D+ voltage of the charging device is charged.
  • the pull-down resistor of the internal D+ signal is pulled low, and the D-voltage of the charging device is also pulled down by the pull-down resistor of the internal D-signal of the charger, that is, when the charging device (access device) detects the D+ voltage and D inside the charging device.
  • the D+ and D- voltages of the charging device before the connection of the charger and the D+ and D- voltages of the charging device after the charger are connected are respectively obtained, and then the D+ voltage and the D-voltage before and after the connection are respectively compared, and the connection is judged. Whether the front D+ voltage and the D-voltage are both small.
  • the type determining module 210 determines whether the port type is a CDP type, and includes:
  • the third voltage obtaining unit 216 is configured to acquire a seventh voltage of the positive signal D+ of the differential line and an eighth voltage of the negative signal D- of the differential line;
  • the second level obtaining unit 217 is further configured to connect the pull-up power source of the D- and the pull-down of the D+ when the seventh voltage is greater than a third voltage threshold and the eighth voltage is greater than a fourth voltage threshold a power source that acquires the level of the D+;
  • the third port determining unit 218 is configured to determine that the port type is a CDP type when the level of the D+ is a low level.
  • the D+ signal level of the charging device is higher than the D+ signal comparison level of the charger, and at this time, the CDP device is powered on, and the D-signal is pulled high and high.
  • the port type of the charger is recognized as the CDP type or the DCP type; then the pull-up power of the D-signal of the charging device is turned on, that is, the D-signal is maintained at a high level, and the D+ is turned off.
  • the pull-up power of the signal simultaneously turns on the pull-down power of the D+ signal.
  • the D+ signal will become a low level, that is, when it is detected that the charging device D+ signal is low, it is determined that the port of the charger is of the CDP type.
  • the charging downlink port (CDP) type port supports both high current charging and full USB 2.0 compatible data transmission, and the port has a 15k ⁇ pull-down resistor necessary for D+ and D-communication, and also has a charger detection phase.
  • the internal circuit of the switch is not limited to the USB 2.0 compatible data transmission.
  • the charging device acquires the D+ voltage and the D-voltage in the charging device after the charger is connected, and compares them with the corresponding preset thresholds respectively. When the comparison result is greater than the corresponding preset threshold, the acquiring is performed. Connect the D- pull-up power supply and the D+ level of the D+ pull-down power supply, and at the D+ level is low, determine that the port type is CDP type.
  • the apparatus further includes:
  • the attribute obtaining module 240 is configured to obtain the priority level attribute of the QC3.0 and the priority level of the QC2.0, respectively, when the charging protocol includes QC3.0, QC2.0, PE+3.0, and PE+2.0. Attribute, the priority attribute of the PE+3.0, and the priority attribute of the PE+2.0;
  • the charging module 230 is further configured to perform charging by using a charging protocol with a priority attribute of the QC3.0, the QC2.0, the PE+3.0, and the PE+2.0;
  • the priority level attribute includes at least one of a priority, a detection duration, and a detection sequence.
  • the priority is a parameter that determines the priority level of each operating program to accept system resources when the computer time-sharing operating system processes multiple operating programs. If the priority parameter has a higher priority, the QC3.0 and QC2 are used. .0, PE+3.0 and PE+2.0, the charging scheme corresponding to the protocol with a higher priority parameter is charged; if the detection time is short, the priority is high, then QC3.0, QC2.0, PE+3.0 and PE The charging scheme corresponding to the protocol with a shorter detection time in +2.0 is charged; if the priority of the detection order is high, the protocol detected in QC3.0, QC2.0, PE+3.0, and PE+2.0 corresponds first. The charging scheme is charging.
  • the port type of the charger is first obtained, and it is determined whether the port type is a dedicated charging port DCP type, and if so, the included charging protocol is acquired: the concurrent charging protocol PE+3.0 and/or the connection.
  • Express fast charging protocol PE+2.0 and / or Qualcomm fast charging protocol QC3.0 and / or Qualcomm fast charging protocol QC2.0 and then use PE +3.0 or PE +2.0 or QC3.0 or QC2.0 corresponding charging scheme Charging.
  • FIG. 6 illustrates a von Neumann system based computer system 10 that operates the above described charging method.
  • the computer system 10 can be a user terminal device such as a smart phone, a tablet computer, a palmtop computer, a notebook computer or a personal computer.
  • an external input interface 1001, a processor 1002, a memory 1003, and an output interface 1004 connected through a system bus may be included.
  • the external input interface 1001 can include a touch screen 10016, and optionally can include a network interface 10018.
  • the memory 1003 may include an external memory 10032 (eg, a hard disk, an optical disk, or a floppy disk, etc.) and an internal memory 10034.
  • the output interface 1004 can include a display screen 10042 and an audio/horn 10044 device.
  • the operation of the method is based on a computer program, the program file of which is stored in the external memory 10032 of the aforementioned von Neumann system-based computer system 10, and is loaded into the internal memory 10034 at runtime, Then, it is compiled into a machine code and then transferred to the processor 1002 for execution, so that the logical type determination module 210, the protocol acquisition module 220, the charging module 230, and the attribute acquisition module 240 are formed in the von Neumann system-based computer system 10.
  • the input parameters are received by the external input interface 1001, and transferred to the buffer in the memory 1003, and then input to the processor 1002 for processing, and the processed result data is cached in the memory 1003. Subsequent processing, or passed to output interface 1004 for output.
  • the memory 1003 stores a plurality of instructions that are executed by the processor 1002 to implement a charging method.
  • the processor 1002 acquires a port type of the charger, determines whether the port type is a dedicated charging port DCP type, and acquires a charging protocol when the port type is the DCP type; when the charging protocol Including the Qualcomm Fast Charge Protocol QC3.0, charging is performed by using the charging scheme corresponding to the QC3.0 or the charging scheme corresponding to QC2.0; when the charging protocol includes the Qualcomm Fast Charge Protocol QC2.0, the QC2 is adopted.
  • the charging scheme corresponding to .0 is charged; when the charging protocol includes the concurrent charging protocol PE+3.0, charging is performed by using the charging scheme corresponding to the PE+3.0 or the charging scheme corresponding to PE+2.0; when the charging When the protocol includes the concurrent charging protocol PE+2.0, the charging scheme corresponding to the PE+2.0 is used for charging.
  • the processor 1002 determines whether the port type is a standard downlink port SDP type or a charging downlink port CDP type; When the SDP type is used, charging is performed by using a first preset current threshold; when the port type is the CDP type, charging is performed by using a second preset current threshold; the port type is not the SDP type and When not in the CDP type, the third preset current threshold is used for charging.
  • the processor 1002 acquires a first voltage of the positive signal D+ of the differential line and a second voltage of the negative signal D- of the differential line; wherein the first voltage is greater than the first voltage threshold and When the second voltage is greater than the second voltage threshold, connecting the pull-up power of the D- and the pull-down power of the D+ to obtain the level of the D+; if the level of the D+ is high, It is determined that the port type is a DCP type.
  • the processor 1002 acquires a third voltage of the positive signal D+ of the differential line and a fourth voltage of the negative signal D- of the differential line, the third voltage and the fourth voltage being a voltage before the charger is connected; acquiring a fifth voltage of the positive signal D+ of the differential line and a sixth voltage of the negative signal D- of the differential line, the fifth voltage and the sixth voltage being connected a voltage after the charger; when the third voltage is greater than the fifth voltage and the fourth voltage is greater than the sixth voltage, determining that the port type is the SDP type.
  • the processor 1002 acquires a seventh voltage of the positive signal D+ of the differential line and an eighth voltage of the negative signal D- of the differential line; wherein the seventh voltage is greater than the third voltage threshold and When the eighth voltage is greater than the fourth voltage threshold, connecting the pull-up power of the D- and the pull-down power of the D+ to obtain the level of the D+; if the level of the D+ is a low level, It is determined that the port type is a CDP type.
  • the charging protocol includes a Qualcomm Fast Charge Protocol QC3.0, a Qualcomm Fast Charge Protocol QC2.0, a Uniform Fast Charge Protocol PE+3.0, and a Uniform Fast Charge Protocol PE+2.0
  • the processor 1002 obtains the priority level attribute of the QC3.0, the priority level attribute of the QC2.0, the priority level attribute of the PE+3.0, and the priority attribute of the PE+2.0, respectively; using the QC3. 0.
  • the charging protocol of the QC2.0, the PE+3.0, and the PE+2.0 with a preferential priority attribute is charged; wherein the priority attribute includes at least a priority, a detection duration, or a detection sequence.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

一种充电方法及装置,所述方法包括:获取充电器的端口类型,判断所述端口类型是否为专用充电端口DCP类型(S101);在所述端口类型为所述DCP类型时,获取充电协议(S102);当所述充电协议包括高通快充协议QC3.0时,采用所述QC3.0对应的充电方案或者QC2.0对应的充电方案进行充电(S103);当所述充电协议包括高通快充协议QC2.0时,采用所述QC2.0对应的充电方案进行充电(S104);当所述充电协议包括联发快充协议PE+3.0时,采用所述PE+3.0对应的充电方案或者PE+2.0对应的充电方案进行充电(S105);当所述充电协议包括联发快充协议PE+2.0时,采用所述PE+2.0对应的充电方案进行充电(S106)。通过检测充电器的端口类型及对应的充电协议,并采用与协议对应的快充方式进行充电,从而提高了充电效率。

Description

一种充电方法及装置
本申请要求于2016年8月31日提交中国专利局,申请号为201610796314.6、发明名称为“一种充电方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及计算机技术领域,尤其涉及一种充电方法及装置。
背景技术
随着移动终端技术的发展,手机、平板电脑等移动终端的功能越来越多,已逐渐成为人们工作和生活中必不可少的一部分。
然而,随着移动终端功能的增多,其耗电量也随着增大,通常需要使用充电器对其进行充电。在现有的充电技术中,当移动终端接入充电器后,充电器对所接入的移动终端都采用固定的充电方式进行充电,如恒压充电,这样将会延长对电池容量较大的移动终端的充电时长,从而降低了移动终端的充电效率。
发明内容
本发明实施例所要解决的技术问题在于,提供一种充电方法及装置,通过检测充电器的端口类型及对应的充电协议,并采用与协议对应的快充方式进行充电,从而提高了充电效率。
为了解决上述技术问题,本发明实施例提供了一种充电方法,所述方法包括:
获取充电器的端口类型,判断所述端口类型是否为专用充电端口DCP类型;
在所述端口类型为所述DCP类型时,获取充电协议;
当所述充电协议包括高通快充协议QC3.0时,采用所述QC3.0对应的充电方案或者QC2.0对应的充电方案进行充电;
当所述充电协议包括高通快充协议QC2.0时,采用所述QC2.0对应的充电方案进行充电;
当所述充电协议包括联发快充协议PE+3.0时,采用所述PE+3.0对应的充电方案或者PE+2.0对应的充电方案进行充电;
当所述充电协议包括联发快充协议PE+2.0时,采用所述PE+2.0对应的充电方案进行充电。
相应地,本发明实施例还提供了一种充电装置,所述装置包括:
类型判断模块,设置为获取充电器的端口类型,判断所述端口类型是否为DCP类型;
协议获取模块,设置为在所述端口类型为所述DCP类型时,获取充电协议;
充电模块,设置为当所述充电协议包括QC3.0时,采用所述QC3.0对应的充电方案进行充电;
所述充电模块,还设置为当所述充电协议包括QC2.0时,采用所述QC2.0对应的充电方案进行充电;
所述充电模块,还设置为当所述充电协议包括PE+3.0时,采用所述PE+3.0对应的充电方案或者PE+2.0对应的充电方案进行充电;
所述充电模块,还设置为当所述充电协议包括PE+2.0时,采用所述PE+2.0对应的充电方案进行充电。
在本发明实施例中,首先获取充电器的端口类型,并判断该端口类型是否为专用充电端口DCP类型,若是,再获取所包括的充电协议:联发快充协议PE+3.0和/或联发快充协议PE+2.0和/或高通快充协议QC3.0和/或高通快充协议QC2.0,然后采用PE+3.0或PE+2.0或QC3.0或QC2.0对应的充电方案进行充电。通过检测充电器的端口类型及对应的充电协议,并采用与协议对应的快充方式进行充电,从而提高了充电效率,此外,还增加了移动终端对不同快速充电器(适配器)的兼容性,通过搭配不同的充电器都可以实现对移动终端的快速充电。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例中的一种充电方法的流程示意图;
图2是本发明实施例中的一种充电装置的结构示意图;
图3是本发明实施例中充电装置的类型判断模块的结构示意图;
图4是本发明另一实施例中充电装置的类型判断模块的结构示意图;
图5是本发明另一实施例中充电装置的类型判断模块的结构示意图;
图6是本发明实施例中一种执行上述充电方法的计算机系统的架构图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明的说明书和权利要求书及上述附图中的术语 “包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。
本发明实施例中提及的充电方法的执行依赖于计算机程序,可运行于冯若依曼体系的计算机系统之上。该计算机程序可基于充电装置运行。该充电装置可以是个人电脑、平板电脑、笔记本电脑、智能手机、智能穿戴设备等移动终端设备。
以下分别进行详细说明。
图1是本发明实施例中一种充电方法的流程示意图,如图所示所述方法至少包括:
步骤S101,获取充电器的端口类型,判断所述端口类型是否为专用充电端口DCP类型。
具体的,充电装置如手机、平板电脑或者个人电脑等设备通过充电器的通用串行总线(Universal Serial Bus,USB)端口与充电器进行连接,并在连接后,检测充电器在USB电池充电规范(USB Charging 1.2,BC1.2)规范下的端口类型,并判断检测到的端口类型是否为标准下行端口(Service Design Package,SDP)类型或者充电下行端口(Charging Downstream Port,CDP)类型。其中,BC1.2规范确定了每个端口应如何向终端设备枚举,以及识别端口类型的协议。
另外,USB BC1.2规范的端口类型如表1所示,包括SDP、CDP、充电下行端口(Dedicated Charging Port ,DCP)及其它的端口类型。
判断所述端口类型是否为专用充电端口DCP类型,包括:
表1
Figure WO40225-appb-I000001
获取差分线的正极信号D+的第一电压及所述差分线的负极信号D-的第二电压;
在所述第一电压大于第一电压阈值且所述第二电压大于第二电压阈值时,连接所述D-的上拉电源及所述D+的下拉电源,获取所述D+的电平;
若所述D+的电平为高电平,则确定所述端口类型为DCP类型。
具体实施中,当充电装置连接到DCP型充电器时,首先因充电设备的(Data +,D+)信号电平高于充电器的D+信号比较电平,而DCP型充电的D+与(Data-,D-)信号是短路的,因此D-信号被拉高且高于D-信号的判断电平,此时充电器的端口类型被识别为DCP类型或CDP类型;然后打开充电装置D-信号的上拉电源,即维持D-信号为高电平,断开D+信号的上拉电源,同时打开D+信号的下拉电源,此时D+信号将变成高电平,即当检测到充电装置D+信号为高电平时,确定该充电器的端口为DCP类型。
其中,所述专用充电端口(DCP)类型的端口不支持任何数据传输,但能够提供1.5A以上的电流,因此常用于支持较高充电能力的墙上充电器和车载充电器,无需枚举。
在本实施例中,充电装置获取连接充电器后充电装置内的D+电压和D-电压,并分别与对应的预设阈值进行比较,当比较结果为都大于对应的预设阈值时,获取在连接D-的上拉电源及连接D+的下拉电源条件下D+的电平,并在该D+的电平为高电平时,确定所述端口类型为DCP类型。
可选的,所述判断所述端口类型是否为专用充电端口DCP类型之后,还包括:
在所述端口类型不为所述DCP类型时,判断所述端口类型是否为标准下行端口SDP类型或者充电下行端口CDP类型;
在所述端口类型为所述SDP类型时,采用第一预设电流阈值进行充电;
在所述端口类型为所述CDP类型时,采用第二预设电流阈值进行充电;
在所述端口类型不为所述SDP类型且不为所述CDP类型时,采用第三预设电流阈值进行充电。
具体的,在所述端口类型为所述SDP类型时,采用第一预设电流阈值进行充电。对于SDP类型端口充电器,其对应的限流值分别为挂起时为2.5mA,连接时为100mA,连接并配置为较高功率时为500mA,所述第一预设电流阈值可以为500mA;在所述端口类型为所述CDP类型时,采用第二预设电流阈值进行充电,所述第二预设电流阈值可以为900mA;在所述端口类型不为所述SDP类型且不为所述CDP类型时,采用第三预设电流阈值进行充电,所述第二预设电流阈值可以为500mA。
其中,判断所述端口类型是否为标准下行端口SDP类型,包括:
获取差分线的正极信号D+的第三电压及所述差分线的负极信号D-的第四电压,所述第三电压和所述第四电压为连接所述充电器之前的电压;
获取差分线的正极信号D+的第五电压及所述差分线的负极信号D-的第六电压,所述第五电压和所述第六电压为连接所述充电器之后的电压;
在所述第三电压大于所述第五电压且所述第四电压大于所述第六电压时,确定所述端口类型为所述SDP类型。
具体实施中,由于在SDP这种类型的端口的正极信号线D+和负极信号线D-线上都具有15kΩ下拉电阻,因此当充电装置连接到SDP型充电器时,充电装置的D+电压被充电器内部D+信号的下拉电阻拉低,充电装置的D-电压也被充电器内部D-信号的下拉电阻拉低,即当充电装置(接入设备)检测到当充电装置内部的D+电压和D-电压在接到充电器后都变低时,确定该充电器的端口为SDP类型。
在本实施例中,分别获取连接充电器之前充电装置的D+及D-电压和连接充电器之后充电装置的D+及D-电压,然后分别将连接前后D+电压与D-电压进行比较,判断连接前的D+电压和D-电压是否都变小。
其中,判断所述端口类型是否为充电下行端口CDP类型,包括:
获取差分线的正极信号D+的第七电压及所述差分线的负极信号D-的第八电压;
在所述第七电压大于第三电压阈值且所述第八电压大于第四电压阈值时,连接所述D-的上拉电源及所述D+的下拉电源,获取所述D+的电平;
若所述D+的电平为低电平,则确定所述端口类型为CDP类型。
具体实施中,当充电装置连接到CDP型充电器时,首先因充电设备的D+信号电平高于充电器的D+信号比较电平,此时CDP设备打开电源,D-信号被拉高且高于D-信号的判断电平,此时充电器的端口类型被识别为CDP类型或DCP类型;然后打开充电装置D-信号的上拉电源,即维持D-信号为高电平,断开D+信号的上拉电源,同时打开D+信号的下拉电源,此时D+信号将变成低电平,即当检测到充电装置D+信号为低电平时,确定该充电器的端口为CDP类型。
其中,所述充电下行端口(CDP)类型的端口既支持大电流充电,也支持完全兼容USB 2.0的数据传输,且端口具有D+和D-通信所必需的15kΩ下拉电阻,也具有充电器检测阶段切换的内部电路。
在本实施例中,充电装置获取连接充电器后充电装置内的D+电压和D-电压,并分别与对应的预设阈值进行比较,当比较结果为都大于对应的预设阈值时,获取在连接D-的上拉电源及连接D+的下拉电源条件下D+的电平,并在该D+的电平为低电平,确定所述端口类型为CDP类型。
步骤S102,在所述端口类型为所述DCP类型时,获取充电协议。
具体的,如表1所示,端口类型为DCP类型时,支持多种充电协议,获取此时的充电协议,如联发快充协议(Pump Express Plus 3.0,PE+3.0)、联发快充协议(Pump Express Plus 2.0,PE+2.0)、高通快充协议(Quick Charge 3.0,QC3.0)和高通快充协议(Quick Charge 2.0,QC2.0)。
步骤S103,当所述充电协议包括高通快充协议QC3.0时,采用所述QC3.0对应的充电方案或者QC2.0对应的充电方案进行充电。
具体的,高通快充协议QC3.0是一种快速充电协议,提高充电电压,增大充电电流,是3.0是版本号,与QC2.0相比主要是提高了充电的灵活性,充电速度更快。
QC2.0/3.0拥有Class A和Class B两个标准。其中,Class A标准的QC2.0支持5V/9V/12V三种电压,QC3.0则支持3.6V~12V的波动电压;Class B标准的QC2.0支持5V/9V/12V/20V四种电压,QC3.0则支持3.6V~20V的波动电压。由于在智能手机领域用不上20V电压,所以其周边的充电器、移动电源的QC2.0/3.0都以Class A标准为主。
另外,由于协议都是向下兼容的,也就是说支持QC3.0时,也支持QC2.0,因此,当充电协议包括QC3.0时,可以采用QC3.0和QC2.0中的一种对应的充电方案进行充电。
步骤S104,当所述充电协议包括高通快充协议QC2.0时,采用所述QC2.0对应的充电方案进行充电。
具体的,高通快充协议QC2.0是一种快速充电协议,通过协议控制器的芯片如FP6600可自动识别充电器类型,调整充电器的输出电压,使之获得充电器允许的安全最高充电电压,在保护充电器的前提下节省充电时间。
QC2.0对应的充电方案为:QC2.0快充的充电器与充电装置通过USB接口的信号线D+和D-上加载电压来进行通讯,调节QC2.0的输出电压。具体的,当将充电器(QC2.0识别芯片FP6600)端通过数据线连到充电装置上时,充电器默认让D+和D-短接,充电装置探测到充电器类型为DCP类型。此时输出电压为5v,充电装置正常充电。 若充电装置支持QC2.0快速充电协议,则Android用户空间的hvdcp进程将会启动,开始在D+上加载0.325V的电压。当这个电压维持1.25s后,充电器将断开D+和D-的短接,D-上的电压将会下降;充电装置检测到D-上的电压下降后,hvdcp读取/sys/class/power_supply/usb/voltage_max的值,如果是9000000(mV),设置D+上的电压为3.3V,D-上 的电压为0.6V,充电器输出9v电压。若为5000000(mV)设置D+为0.6V,D-为0V,充电器输出5V电压。
步骤S105,当所述充电协议包括联发快充协议PE+3.0时,采用所述PE+3.0对应的充电方案或者PE+2.0对应的充电方案进行充电。
具体的,联发快充协议PE+3.0对应的充电方案中充电器支持5V/7V/9V 2A或12V 1.5A的充电电压和充电电流,且自适应可调。
另外,由于协议都是向下兼容的,也就是说支持PE+3.0时,也支持PE+2.0,因此,当充电协议包括PE+3.0时,可以采用PE+3.0和PE+2.0中的一种对应的充电方案进行充电。
步骤S106,当所述充电协议包括联发快充协议PE+2.0时,采用所述PE+2.0对应的充电方案进行充电。
具体的,PE+2.0是联发公司的一种快速充电协议,PE+2.0对应的充电方案中充电器的输出电压值为3.6V、3.8V、4.0V、4.2V、4.4V、4.6V、4.8V、5.0V、7V、9V、12V自适应可调,以保证在充电时,电压浮动而使充电装置不易发热。
可选的,所述方法还包括:
当所述充电协议包括高通快充协议QC2.0、联发快充协议PE+3.0以及联发快充协议PE+2.0时,分别获取所述QC2.0的优先级别属性、所述PE+3.0的优先级别属性以及所述PE+2.0的优先级别属性;
采用所述QC2.0、所述PE+3.0以及所述PE+2.0中优先级别属性较优的充电协议进行充电;
其中,所述优先级别属性包括优先级、检测时长或者检测顺序中的至少一个。
具体的,优先级是计算机分时操作系统在处理多个作业程序时,决定各个作业程序接受系统资源的优先等级的参数,若优先等级的参数越大优先级别高,则以QC3.0、QC2.0和PE+3.0、PE+2.0中的优先等级的参数较大的协议对应的充电方案进行充电;若检测时间短优先级别高,则以QC3.0、QC2.0 PE+3.0、和PE+2.0中的检测时间较短的协议对应的充电方案进行充电;若检测顺序优先的优先级别高,则以QC3.0、QC2.0、PE+3.0、和PE+2.0中先检测到的协议对应的充电方案进行充电。
在本发明实施例中,首先获取充电器的端口类型,并判断该端口类型是否为专用充电端口DCP类型,若是,再获取所包括的充电协议:联发快充协议PE+3.0和/或联发快充协议PE+2.0和/或高通快充协议QC3.0和/或高通快充协议QC2.0,然后采用PE+3.0或PE+2.0或QC3.0或QC2.0对应的充电方案进行充电。通过检测充电器的端口类型及对应的充电协议,并采用与协议对应的快充方式进行充电,从而提高了充电效率,此外,还增加了移动终端对不同快速充电器(适配器)的兼容性,通过搭配不同的充电器都可以实现对移动终端的快速充电。
图2是本发明实施例提供的一种充电装置的组成结构示意图,如图所示所述装置包括:
类型判断模块210,设置为获取充电器的端口类型,判断所述端口类型是否为DCP类型。
具体的,充电装置如手机、平板电脑或者个人电脑等设备通过充电器的USB端口与充电器进行连接,并在连接后,检测充电器在USB BC1.2规范下的端口类型,并判断检测到的端口类型是否为标准下行端口SDP类型或者充电下行端口CDP类型。其中,BC1.2规范确定了每个端口应如何向终端设备枚举,以及识别端口类型的协议。
另外,USB BC1.2规范的端口类型如表1所示,包括SDP、CDP、DCP及其它的端口类型。
具体的,如图3所示,所述类型判断模块210判断所述端口类型是否为DCP类型,包括:
第一电压获取单元211,设置为获取差分线的正极信号D+的第一电压及所述差分线的负极信号D-的第二电压;
第一电平获取单元212,设置为在所述第一电压大于第一电压阈值且所述第二电压大于第二电压阈值时,连接所述D-的上拉电源及所述D+的下拉电源,获取所述D+的电平;
第一端口确定单元213,设置为在所述D+的电平为高电平时,确定所述端口类型为DCP类型。
具体实施中,当充电装置连接到DCP型充电器时,首先因充电设备的D+信号电平高于充电器的D+信号比较电平,而DCP型充电的D+与D-信号是短路的,因此D-信号被拉高且高于D-信号的判断电平,此时充电器的端口类型被识别为DCP类型或CDP类型;然后打开充电装置D-信号的上拉电源,即维持D-信号为高电平,断开D+信号的上拉电源,同时打开D+信号的下拉电源,此时D+信号将变成高电平,即当检测到充电装置D+信号为高电平时,确定该充电器的端口为DCP类型。
其中,所述专用充电端口(DCP)类型的端口不支持任何数据传输,但能够提供1.5A以上的电流,因此常用于支持较高充电能力的墙上充电器和车载充电器,无需枚举。
在本实施例中,充电装置获取连接充电器后充电装置内的D+电压和D-电压,并分别与对应的预设阈值进行比较,当比较结果为都大于对应的预设阈值时,获取在连接D-的上拉电源及连接D+的下拉电源条件下D+的电平,并在该D+的电平为高电平时,确定所述端口类型为DCP类型。
协议获取模块220,设置为在所述端口类型为所述DCP类型时,获取充电协议。
具体的,如表1所示,端口类型为DCP类型时,支持多种充电协议,获取此时的充电协议,如联发快充协议PE+3.0、联发快充协议PE+2.0、高通快充协议QC3.0和高通快充协议QC2.0。
所述充电模块230,设置为当所述充电协议包括QC3.0时,采用所述QC3.0对应的充电方案或者QC2.0对应的充电方案进行充电。
具体的,高通快充协议QC3.0是一种快速充电协议,提高充电电压,增大充电电流,是3.0是版本号,与QC2.0相比主要是提高了充电的灵活性,充电速度更快。
QC2.0/3.0拥有Class A和Class B两个标准。其中,Class A标准的QC2.0支持5V/9V/12V三种电压,QC3.0则支持3.6V~12V的波动电压;Class B标准的QC2.0支持5V/9V/12V/20V四种电压,QC3.0则支持3.6V~20V的波动电压。由于在智能手机领域用不上20V电压,所以其周边的充电器、移动电源的QC2.0/3.0都以Class A标准为主。
另外,由于协议都是向下兼容的,也就是说支持QC3.0时,也支持QC2.0,因此,当充电协议包括QC3.0时,可以采用QC3.0和QC2.0中的一种对应的充电方案进行充电。
所述充电模块230,还设置为当所述充电协议包括QC2.0时,采用所述QC2.0对应的充电方案进行充电。
具体的,高通快充协议QC2.0是一种快速充电协议,通过协议控制器的芯片如FP6600可自动识别充电器类型,调整充电器的输出电压,使之获得充电器允许的安全最高充电电压,在保护充电器的前提下节省充电时间。
QC2.0对应的充电方案为:QC2.0快充的充电器与充电装置通过USB接口的信号线D+和D-上加载电压来进行通讯,调节QC2.0的输出电压。具体的,当将充电器(QC2.0识别芯片FP6600)端通过数据线连到充电装置上时,充电器默认让D+和D-短接,充电装置探测到充电器类型为DCP类型。此时输出电压为5v,充电装置正常充电。 若充电装置支持QC2.0快速充电协议,则Android用户空间的hvdcp进程将会启动,开始在D+上加载0.325V的电压。当这个电压维持1.25s后,充电器将断开D+和D-的短接,D-上的电压将会下降;充电装置检测到D-上的电压下降后,hvdcp读取/sys/class/power_supply/usb/voltage_max的值,如果是9000000(mV),设置D+上的电压为3.3V,D-上 的电压为0.6V,充电器输出9v电压。若为5000000(mV)设置D+为0.6V,D-为0V,充电器输出5V电压。
所述充电模块,还设置为当所述充电协议包括PE+3.0时,采用所述PE+3.0对应的充电方案或者PE+2.0对应的充电方案进行充电。
具体的,联发快充协议PE+3.0对应的充电方案中充电器支持5V/7V/9V 2A或12V 1.5A的充电电压和充电电流,且自适应可调。
另外,由于协议都是向下兼容的,也就是说支持PE+3.0时,也支持PE+2.0,因此,当充电协议包括PE+3.0时,可以采用PE+3.0和PE+2.0中的一种对应的充电方案进行充电。
所述充电模块230,还设置为当所述充电协议包括PE+2.0时,采用所述PE+2.0对应的充电方案进行充电。
具体的,PE+2.0是联发公司的一种快速充电协议,PE+2.0对应的充电方案中充电器的输出电压值为3.6V、3.8V、4.0V、4.2V、4.4V、4.6V、4.8V、5.0V、7V、9V、12V自适应可调,以保证在充电时,电压浮动而使充电装置不易发热。
可选的,所述类型判断模块210,还设置为在所述端口类型不为所述DCP类型时,判断所述端口类型是否为SDP类型或者CDP类型;
所述充电模块230,还设置为在所述端口类型为所述SDP类型时,采用第一预设电流阈值进行充电;
所述充电模块230,还设置为在所述端口类型为所述CDP类型时,采用第二预设电流阈值进行充电;
所述充电模块230,还设置为在所述端口类型不为所述SDP类型且不为所述CDP类型时,采用第三预设电流阈值进行充电。
具体的,在所述端口类型为所述SDP类型时,采用第一预设电流阈值进行充电。对于SDP类型端口充电器,其对应的限流值分别为挂起时为2.5mA,连接时为100mA,连接并配置为较高功率时为500mA,所述第一预设电流阈值可以为500mA;在所述端口类型为所述CDP类型时,采用第二预设电流阈值进行充电,所述第二预设电流阈值可以为900mA;在所述端口类型不为所述SDP类型且不为所述CDP类型时,采用第三预设电流阈值进行充电,所述第二预设电流阈值可以为500mA。
具体的,如图4所示,所述类型判断模块210判断所述端口类型是否为SDP类型,包括:
第二电压获取单元214,设置为获取差分线的正极信号D+的第三电压及所述差分线的负极信号D-的第四电压,所述第三电压和所述第四电压为连接所述充电器之前的电压;
所述第二电压获取单元214,还设置为获取差分线的正极信号D+的第五电压及所述差分线的负极信号D-的第六电压,所述第五电压和所述第六电压为连接所述充电器之后的电压;
第二端口确定单元215,设置为在所述第三电压大于所述第五电压且所述第四电压大于所述第六电压时,确定所述端口类型为所述SDP类型。
具体实施中,由于在SDP这种类型的端口的正极信号线D+和负极信号线D-线上都具有15kΩ下拉电阻,因此当充电装置连接到SDP型充电器时,充电装置的D+电压被充电器内部D+信号的下拉电阻拉低,充电装置的D-电压也被充电器内部D-信号的下拉电阻拉低,即当充电装置(接入设备)检测到当充电装置内部的D+电压和D-电压在接到充电器后都变低时,确定该充电器的端口为SDP类型。
在本实施例中,分别获取连接充电器之前充电装置的D+及D-电压和连接充电器之后充电装置的D+及D-电压,然后分别将连接前后D+电压与D-电压进行比较,判断连接前的D+电压和D-电压是否都变小。
具体的,如图5所示,所述类型判断模块210判断所述端口类型是否为CDP类型,包括:
第三电压获取单元216,设置为获取差分线的正极信号D+的第七电压及所述差分线的负极信号D-的第八电压;
第二电平获取单元217,还设置为在所述第七电压大于第三电压阈值且所述第八电压大于第四电压阈值时,连接所述D-的上拉电源及所述D+的下拉电源,获取所述D+的电平;
第三端口确定单元218,设置为在所述D+的电平为低电平时,确定所述端口类型为CDP类型。
具体实施中,当充电装置连接到CDP型充电器时,首先因充电设备的D+信号电平高于充电器的D+信号比较电平,此时CDP设备打开电源,D-信号被拉高且高于D-信号的判断电平,此时充电器的端口类型被识别为CDP类型或DCP类型;然后打开充电装置D-信号的上拉电源,即维持D-信号为高电平,断开D+信号的上拉电源,同时打开D+信号的下拉电源,此时D+信号将变成低电平,即当检测到充电装置D+信号为低电平时,确定该充电器的端口为CDP类型。
其中,所述充电下行端口(CDP)类型的端口既支持大电流充电,也支持完全兼容USB 2.0的数据传输,且端口具有D+和D-通信所必需的15kΩ下拉电阻,也具有充电器检测阶段切换的内部电路。
在本实施例中,充电装置获取连接充电器后充电装置内的D+电压和D-电压,并分别与对应的预设阈值进行比较,当比较结果为都大于对应的预设阈值时,获取在连接D-的上拉电源及连接D+的下拉电源条件下D+的电平,并在该D+的电平为低电平,确定所述端口类型为CDP类型。
可选的,如图2所示,所述装置还包括:
属性获取模块240,设置为当所述充电协议包括QC3.0、QC2.0、PE+3.0以及PE+2.0时,分别获取所述QC3.0的优先级别属性、所述QC2.0的优先级别属性、所述PE+3.0的优先级别属性以及所述PE+2.0的优先级别属性;
所述充电模块230,还设置为采用所述QC3.0、所述QC2.0、所述PE+3.0以及所述PE+2.0中优先级别属性较优的充电协议进行充电;
其中,所述优先级别属性包括优先级、检测时长或者检测顺序中的至少一个。
具体的,优先级是计算机分时操作系统在处理多个作业程序时,决定各个作业程序接受系统资源的优先等级的参数,若优先等级的参数越大优先级别高,则以QC3.0、QC2.0、PE+3.0和PE+2.0中的优先等级的参数较大的协议对应的充电方案进行充电;若检测时间短优先级别高,则以QC3.0、QC2.0、PE+3.0和PE+2.0中的检测时间较短的协议对应的充电方案进行充电;若检测顺序优先的优先级别高,则以QC3.0、QC2.0、PE+3.0和PE+2.0中先检测到的协议对应的充电方案进行充电。
在本发明实施例中,首先获取充电器的端口类型,并判断该端口类型是否为专用充电端口DCP类型,若是,再获取所包括的充电协议:联发快充协议PE+3.0和/或联发快充协议PE+2.0和/或高通快充协议QC3.0和/或高通快充协议QC2.0,然后采用PE+3.0或PE+2.0或QC3.0或QC2.0对应的充电方案进行充电。通过检测充电器的端口类型及对应的充电协议,并采用与协议对应的快充方式进行充电,从而提高了充电效率,此外,还增加了移动终端对不同快速充电器(适配器)的兼容性,通过搭配不同的充电器都可以实现对移动终端的快速充电。
图6展示了一种运行上述充电方法的基于冯诺依曼体系的计算机系统10。该计算机系统10可以是智能手机、平板电脑、掌上电脑,笔记本电脑或个人电脑等用户终端设备。具体的,可包括通过系统总线连接的外部输入接口1001、处理器1002、存储器1003和输出接口1004。其中,外部输入接口1001可包括触控屏10016,可选的还可以包括网络接口10018。存储器1003可包括外存储器10032(例如硬盘、光盘或软盘等)和内存储器10034。输出接口1004可包括显示屏10042和音响/喇叭10044等设备。
在本实施例中,本方法的运行基于计算机程序,该计算机程序的程序文件存储于前述基于冯诺依曼体系的计算机系统10的外存储器10032中,在运行时被加载到内存储器10034中,然后被编译为机器码之后传递至处理器1002中执行,从而使得基于冯诺依曼体系的计算机系统10中形成逻辑上的类型判断模块210、协议获取模块220、充电模块230及属性获取模块240,且在上述充电方法执行过程中,输入的参数均通过外部输入接口1001接收,并传递至存储器1003中缓存,然后输入到处理器1002中进行处理,处理的结果数据或缓存于存储器1003中进行后续地处理,或被传递至输出接口1004进行输出。
在本发明的一个实施例中,所述存储器1003存储多个指令,所述多个指令被所述处理器1002所执行以实现充电方法。具体而言,所述处理器1002获取充电器的端口类型,判断所述端口类型是否为专用充电端口DCP类型;在所述端口类型为所述DCP类型时,获取充电协议;当所述充电协议包括高通快充协议QC3.0时,采用所述QC3.0对应的充电方案或者QC2.0对应的充电方案进行充电;当所述充电协议包括高通快充协议QC2.0时,采用所述QC2.0对应的充电方案进行充电;当所述充电协议包括联发快充协议PE+3.0时,采用所述PE+3.0对应的充电方案或者PE+2.0对应的充电方案进行充电;当所述充电协议包括联发快充协议PE+2.0时,采用所述PE+2.0对应的充电方案进行充电。
在进一步的实施例中,在所述端口类型不为所述DCP类型时,所述处理器1002判断所述端口类型是否为标准下行端口SDP类型或者充电下行端口CDP类型;在所述端口类型为所述SDP类型时,采用第一预设电流阈值进行充电;在所述端口类型为所述CDP类型时,采用第二预设电流阈值进行充电;在所述端口类型不为所述SDP类型且不为所述CDP类型时,采用第三预设电流阈值进行充电。
在进一步的实施例中,所述处理器1002获取差分线的正极信号D+的第一电压及所述差分线的负极信号D-的第二电压;在所述第一电压大于第一电压阈值且所述第二电压大于第二电压阈值时,连接所述D-的上拉电源及所述D+的下拉电源,获取所述D+的电平;若所述D+的电平为高电平,则确定所述端口类型为DCP类型。
在进一步的实施例中,所述处理器1002获取差分线的正极信号D+的第三电压及所述差分线的负极信号D-的第四电压,所述第三电压和所述第四电压为连接所述充电器之前的电压;获取差分线的正极信号D+的第五电压及所述差分线的负极信号D-的第六电压,所述第五电压和所述第六电压为连接所述充电器之后的电压;在所述第三电压大于所述第五电压且所述第四电压大于所述第六电压时,确定所述端口类型为所述SDP类型。
在进一步的实施例中,所述处理器1002获取差分线的正极信号D+的第七电压及所述差分线的负极信号D-的第八电压;在所述第七电压大于第三电压阈值且所述第八电压大于第四电压阈值时,连接所述D-的上拉电源及所述D+的下拉电源,获取所述D+的电平;若所述D+的电平为低电平,则确定所述端口类型为CDP类型。
在进一步的实施例中,当所述充电协议包括高通快充协议QC3.0、高通快充协议QC2.0、联发快充协议PE+3.0以及联发快充协议PE+2.0时,所述处理器1002分别获取所述QC3.0的优先级别属性、所述QC2.0的优先级别属性、所述PE+3.0的优先级别属性以及所述PE+2.0的优先级别属性;采用所述QC3.0、所述QC2.0、所述PE+3.0以及所述PE+2.0中优先级别属性较优的充电协议进行充电;其中,所述优先级别属性包括优先级、检测时长或者检测顺序中的至少一个。
具体地,所述处理器1002对上述指令的具体实现方法可参考图1对应实施例中相关步骤的描述,在此不赘述。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。

Claims (12)

  1. 一种充电方法,其特征在于,包括:
    获取充电器的端口类型,判断所述端口类型是否为专用充电端口DCP类型;
    在所述端口类型为所述DCP类型时,获取充电协议;
    当所述充电协议包括高通快充协议QC3.0时,采用所述QC3.0对应的充电方案或者QC2.0对应的充电方案进行充电;
    当所述充电协议包括高通快充协议QC2.0时,采用所述QC2.0对应的充电方案进行充电;
    当所述充电协议包括联发快充协议PE+3.0时,采用所述PE+3.0对应的充电方案或者PE+2.0对应的充电方案进行充电;
    当所述充电协议包括联发快充协议PE+2.0时,采用所述PE+2.0对应的充电方案进行充电。
  2. 如权利要求1所述的方法,其特征在于,所述判断所述端口类型是否为专用充电端口DCP类型之后,还包括:
    在所述端口类型不为所述DCP类型时,判断所述端口类型是否为标准下行端口SDP类型或者充电下行端口CDP类型;
    在所述端口类型为所述SDP类型时,采用第一预设电流阈值进行充电;
    在所述端口类型为所述CDP类型时,采用第二预设电流阈值进行充电;
    在所述端口类型不为所述SDP类型且不为所述CDP类型时,采用第三预设电流阈值进行充电。
  3. 如权利要求1所述的方法,其特征在于,所述判断所述端口类型是否为专用充电端口DCP类型,包括:
    获取差分线的正极信号D+的第一电压及所述差分线的负极信号D-的第二电压;
    在所述第一电压大于第一电压阈值且所述第二电压大于第二电压阈值时,连接所述D-的上拉电源及所述D+的下拉电源,获取所述D+的电平;
    若所述D+的电平为高电平,则确定所述端口类型为DCP类型。
  4. 如权利要求2所述的方法,其特征在于,所述判断所述端口类型是否为标准下行端口SDP类型,包括:
    获取差分线的正极信号D+的第三电压及所述差分线的负极信号D-的第四电压,所述第三电压和所述第四电压为连接所述充电器之前的电压;
    获取差分线的正极信号D+的第五电压及所述差分线的负极信号D-的第六电压,所述第五电压和所述第六电压为连接所述充电器之后的电压;
    在所述第三电压大于所述第五电压且所述第四电压大于所述第六电压时,确定所述端口类型为所述SDP类型。
  5. 如权利要求2所述的方法,其特征在于,所述判断所述端口类型是否为充电下行端口CDP类型,包括:
    获取差分线的正极信号D+的第七电压及所述差分线的负极信号D-的第八电压;
    在所述第七电压大于第三电压阈值且所述第八电压大于第四电压阈值时,连接所述D-的上拉电源及所述D+的下拉电源,获取所述D+的电平;
    若所述D+的电平为低电平,则确定所述端口类型为CDP类型。
  6. 如权利要求1所述的方法,其特征在于,所述方法还包括:
    当所述充电协议包括高通快充协议QC3.0、高通快充协议QC2.0、联发快充协议PE+3.0以及联发快充协议PE+2.0时,分别获取所述QC3.0的优先级别属性、所述QC2.0的优先级别属性、所述PE+3.0的优先级别属性以及所述PE+2.0的优先级别属性;
    采用所述QC3.0、所述QC2.0、所述PE+3.0以及所述PE+2.0中优先级别属性较优的充电协议进行充电;
    其中,所述优先级别属性包括优先级、检测时长或者检测顺序中的至少一个。
  7. 一种充电装置,其特征在于,包括:
    类型判断模块,设置为获取充电器的端口类型,判断所述端口类型是否为DCP类型;
    协议获取模块,设置为在所述端口类型为所述DCP类型时,获取充电协议;
    充电模块,设置为当所述充电协议包括QC3.0时,采用所述QC3.0对应的充电方案进行充电;
    所述充电模块,还设置为当所述充电协议包括QC2.0时,采用所述QC2.0对应的充电方案进行充电;
    所述充电模块,还设置为当所述充电协议包括PE+3.0时,采用所述PE+3.0对应的充电方案或者PE+2.0对应的充电方案进行充电;
    所述充电模块,还设置为当所述充电协议包括PE+2.0时,采用所述PE+2.0对应的充电方案进行充电。
  8. 如权利要求7所述的装置,其特征在于,所述装置包括:
    所述类型判断模块,还设置为在所述端口类型不为所述DCP类型时,判断所述端口类型是否为SDP类型或者CDP类型;
    所述充电模块,还设置为在所述端口类型为所述SDP类型时,采用第一预设电流阈值进行充电;
    所述充电模块,还设置为在所述端口类型为所述CDP类型时,采用第二预设电流阈值进行充电;
    所述充电模块,还设置为在所述端口类型不为所述SDP类型且不为所述CDP类型时,采用第三预设电流阈值进行充电。
  9. 如权利要求7所述的装置,其特征在于,所述类型判断模块判断所述端口类型是否为DCP类型,包括:
    第一电压获取单元,设置为获取差分线的正极信号D+的第一电压及所述差分线的负极信号D-的第二电压;
    第一电平获取单元,设置为在所述第一电压大于第一电压阈值且所述第二电压大于第二电压阈值时,连接所述D-的上拉电源及所述D+的下拉电源,获取所述D+的电平;
    第一端口确定单元,设置为在所述D+的电平为高电平时,确定所述端口类型为DCP类型。
  10. 如权利要求8所述的装置,其特征在于,所述类型判断模块判断所述端口类型是否为SDP类型,包括:
    第二电压获取单元,设置为获取差分线的正极信号D+的第三电压及所述差分线的负极信号D-的第四电压,所述第三电压和所述第四电压为连接所述充电器之前的电压;
    所述第二电压获取单元,还设置为获取差分线的正极信号D+的第五电压及所述差分线的负极信号D-的第六电压,所述第五电压和所述第六电压为连接所述充电器之后的电压;
    第二端口确定单元,设置为在所述第三电压大于所述第五电压且所述第四电压大于所述第六电压时,确定所述端口类型为所述SDP类型。
  11. 如权利要求8所述的装置,其特征在于,所述类型判断模块判断所述端口类型是否为CDP类型,包括:
    第三电压获取单元,设置为获取差分线的正极信号D+的第七电压及所述差分线的负极信号D-的第八电压;
    第二电平获取单元,还设置为在所述第七电压大于第三电压阈值且所述第八电压大于第四电压阈值时,连接所述D-的上拉电源及所述D+的下拉电源,获取所述D+的电平;
    第三端口确定单元,设置为在所述D+的电平为低电平时,确定所述端口类型为CDP类型。
  12. 如权利要求7所述的装置,其特征在于,所述装置还包括:
    属性获取模块,设置为当所述充电协议包括QC3.0、QC2.0、PE+3.0以及联发快充协议PE+2.0时,分别获取所述QC3.0的优先级别属性、所述QC2.0的优先级别属性、所述PE+3.0的优先级别属性以及所述PE+2.0的优先级别属性;
    所述充电模块,还设置为采用所述QC3.0、所述QC2.0、所述PE+3.0以及所述PE+2.0中优先级别属性较优的充电协议进行充电;
    其中,所述优先级别属性包括优先级、检测时长或者检测顺序中的至少一个。
PCT/CN2016/100660 2016-08-31 2016-09-28 一种充电方法及装置 WO2018040170A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610796314.6 2016-08-31
CN201610796314.6A CN106329627A (zh) 2016-08-31 2016-08-31 一种充电方法及装置

Publications (1)

Publication Number Publication Date
WO2018040170A1 true WO2018040170A1 (zh) 2018-03-08

Family

ID=57787067

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/100660 WO2018040170A1 (zh) 2016-08-31 2016-09-28 一种充电方法及装置

Country Status (2)

Country Link
CN (1) CN106329627A (zh)
WO (1) WO2018040170A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112199313A (zh) * 2020-10-13 2021-01-08 重庆品胜科技有限公司 一种usb快充切换装置及方法
CN112671051A (zh) * 2019-10-16 2021-04-16 Oppo广东移动通信有限公司 充电控制方法、设备及可读存储介质

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106385074A (zh) * 2016-10-12 2017-02-08 成都芯源系统有限公司 充电模式自动检测单元、充电电路及相关方法
CN106849263B (zh) * 2017-03-23 2023-06-09 深圳市乐迪高科技有限公司 一种供电设备、供电系统、供电方法
CN108964182B (zh) * 2018-07-17 2020-12-04 北京小米移动软件有限公司 反向充电设备、反向充电电流的调节方法及装置
CN109066874A (zh) * 2018-08-30 2018-12-21 北京小米移动软件有限公司 快速充电方法及装置、电子设备、计算机可读存储介质
CN112825401B (zh) * 2019-11-20 2022-12-02 北京小米移动软件有限公司 充电线、充电器、充电控制方法和充电装置
CN111711235B (zh) * 2020-06-01 2022-08-05 Oppo广东移动通信有限公司 充电方法及装置、终端、存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102393837A (zh) * 2011-11-08 2012-03-28 深圳市海思半导体有限公司 一种usb充电器识别装置及方法
CN204497797U (zh) * 2015-04-17 2015-07-22 深圳市鸿达顺科技开发有限公司 一种双usb智能车载充电器
CN205039588U (zh) * 2015-10-16 2016-02-17 深圳宝砾微电子有限公司 电池充放电控制电路
CN205283217U (zh) * 2016-01-14 2016-06-01 深圳市龙威盛电子科技有限公司 快速充电器

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102684270B (zh) * 2012-05-31 2014-12-10 华为技术有限公司 一种识别usb充电器类型的方法及usb设备
US8745301B2 (en) * 2012-10-29 2014-06-03 Qualcomm Incorporated High voltage dedicated charging port
CN103106167B (zh) * 2013-01-22 2015-12-02 矽力杰半导体技术(杭州)有限公司 一种usb设备及其控制方法
CN103986217B (zh) * 2014-05-30 2018-02-23 努比亚技术有限公司 一种自适应输出不同电压的充电器及其实现方法
CN105098883A (zh) * 2015-07-01 2015-11-25 深圳天珑无线科技有限公司 充电系统
CN105429245B (zh) * 2015-12-28 2018-09-14 魅族科技(中国)有限公司 一种充电控制方法及充电控制装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102393837A (zh) * 2011-11-08 2012-03-28 深圳市海思半导体有限公司 一种usb充电器识别装置及方法
CN204497797U (zh) * 2015-04-17 2015-07-22 深圳市鸿达顺科技开发有限公司 一种双usb智能车载充电器
CN205039588U (zh) * 2015-10-16 2016-02-17 深圳宝砾微电子有限公司 电池充放电控制电路
CN205283217U (zh) * 2016-01-14 2016-06-01 深圳市龙威盛电子科技有限公司 快速充电器

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112671051A (zh) * 2019-10-16 2021-04-16 Oppo广东移动通信有限公司 充电控制方法、设备及可读存储介质
EP4024653A4 (en) * 2019-10-16 2022-11-09 Guangdong Oppo Mobile Telecommunications Corp., Ltd. LOAD CONTROL METHOD AND DEVICE, AND READABLE MEDIA
CN112199313A (zh) * 2020-10-13 2021-01-08 重庆品胜科技有限公司 一种usb快充切换装置及方法

Also Published As

Publication number Publication date
CN106329627A (zh) 2017-01-11

Similar Documents

Publication Publication Date Title
WO2018040170A1 (zh) 一种充电方法及装置
WO2018040173A1 (zh) 一种快速充电识别方法及终端设备
WO2016036128A1 (en) Electronic device, method of controlling charging by electronic device, and method of supplying power by power supply device
CN102223439B (zh) 一种具有usb接口的电子设备及其usb通信启动方法
JP5388484B2 (ja) 電源を検出するための装置および方法
JP3819658B2 (ja) 共通シリアルバスコネクターを具えた携帯電子機器
WO2018176901A1 (zh) 转接头、终端设备和转接头系统
CN103618356B (zh) 一种移动终端的充电系统及其充电方法
WO2017061689A1 (en) Electronic apparatus, charge controlling method, and computer-readable recording medium
CN106230070B (zh) 一种充电方法及装置
WO2018164546A1 (en) Method and apparatus for managing battery of electronic device
US20110016341A1 (en) Continuous Monitoring of a USB Client for BCS Charging Capacity
WO2018236054A1 (ko) 전자 장치 및 그의 충전 제어 방법
WO2021020900A1 (en) Electronic device for preventing damage of usb device and operating method thereof
WO2015068997A1 (en) Method for rapid charging and electronic device thereof
WO2013152662A1 (zh) 一种终端设备的供电方法及其终端设备
WO2015074378A1 (zh) 一种快速充电终端
WO2019146917A1 (en) Electronic device including battery and method of controlling charging thereof
WO2018040175A1 (zh) 一种充电方法及装置
EP3543827A1 (en) Electronic device, charger, charging system and charging method
WO2018157412A1 (zh) 快充线、快充系统及快充方法
WO2021054594A1 (en) Electronic device supporting connection with external device and power consumption reducing method when using electronic device in connection with external device
CN106340932A (zh) 移动终端基于usb接口充电器的连接检测方法及系统
EP4199304A1 (en) Impedance detection method for charging cable, electronic device and power supply device
WO2018058835A1 (zh) 一种通话模式监控方法、系统及通信终端

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: 16914733

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: 16914733

Country of ref document: EP

Kind code of ref document: A1