WO2018040175A1 - Procédé et appareil de charge - Google Patents

Procédé et appareil de charge Download PDF

Info

Publication number
WO2018040175A1
WO2018040175A1 PCT/CN2016/100683 CN2016100683W WO2018040175A1 WO 2018040175 A1 WO2018040175 A1 WO 2018040175A1 CN 2016100683 W CN2016100683 W CN 2016100683W WO 2018040175 A1 WO2018040175 A1 WO 2018040175A1
Authority
WO
WIPO (PCT)
Prior art keywords
type
voltage
charging
port
protocol
Prior art date
Application number
PCT/CN2016/100683
Other languages
English (en)
Chinese (zh)
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 WO2018040175A1 publication Critical patent/WO2018040175A1/fr

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
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/0071Regulation of charging or discharging current or voltage with a programmable schedule

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 PE+2.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.
  • 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 PE+2.0 when the charging protocol includes PE+2.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 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 unified fast charging protocol PE+2.0 and/or Qualcomm
  • the fast charge protocol QC2.0 is then charged using the charging scheme corresponding to PE+2.0 or QC2.0.
  • 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 port type is DCP type
  • multiple charging protocols are supported to obtain the charging protocol at this time, such as the Link Express Fast Charge Protocol (PE+2.0) and the Qualcomm Fast Charge Protocol. (Quick Charge 2.0, QC2.0).
  • Step S103 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.
  • 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.
  • the method further includes:
  • the charging protocol includes the concurrent fast charging protocol PE+2.0 and the Qualcomm fast charging protocol QC2.0, respectively acquiring the priority level attribute of the PE+2.0 and the priority level attribute of the QC2.0;
  • Charging is performed by using a charging protocol with a preferential priority attribute in the PE+2.0 and the QC2.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 QC2.0 and the PE are used. In the +2.0, the charging scheme corresponding to the protocol with a larger priority parameter is charged; if the detection time is short, the charging priority is higher, and the charging scheme corresponding to the protocol with a shorter detection time in QC2.0 and PE+2.0 is charged. If the priority of the detection order is high, the charging scheme corresponding to the protocol detected first in QC2.0 and PE+2.0 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 unified fast charging protocol PE+2.0 and/or Qualcomm
  • the fast charge protocol QC2.0 is then charged using the charging scheme corresponding to PE+2.0 or QC2.0.
  • 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+2.0 and the Qualcomm Fast Charge Protocol QC2.0.
  • the charging module 230 is 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 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 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 charging downlink port 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 acquire the priority level attribute of the PE+2.0 and the priority level attribute of the QC2.0, respectively, when the charging protocol includes PE+2.0 and QC2.0;
  • the charging module 230 is further configured to perform charging by using a charging protocol with a preferential priority attribute in the PE+2.0 and the QC2.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 QC2.0 and the PE are used. In the +2.0, the charging scheme corresponding to the protocol with a larger priority parameter is charged; if the detection time is short, the charging priority is higher, and the charging scheme corresponding to the protocol with a shorter detection time in QC2.0 and PE+2.0 is charged. If the priority of the detection order is high, the charging scheme corresponding to the protocol detected first in QC2.0 and PE+2.0 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 unified fast charging protocol PE+2.0 and/or Qualcomm
  • the fast charge protocol QC2.0 is then charged using the charging scheme corresponding to PE+2.0 or QC2.0.
  • 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 The charging scheme corresponding to the PE+2.0 is used for charging when the unified charging protocol PE+2.0 is included; when the charging protocol includes the Qualcomm fast charging protocol QC2.0, the charging scheme corresponding to the QC2.0 is adopted. 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 determining, by the processor 1002, whether the port type is a dedicated charging port DCP type comprising: acquiring a first voltage of a positive signal D+ of the differential line and a negative signal D- of the differential line a second voltage; when the first voltage is greater than the first voltage threshold and 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 D+
  • the level of the D+ is determined to be a DCP type if the level of the D+ is a high level.
  • the determining whether the port type is a standard downlink port SDP type comprises: acquiring 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 are voltages before connecting the charger; 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 The fifth voltage and the sixth voltage are voltages after the charger is connected; 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 determining whether the port type is a charging downlink port CDP type comprises: acquiring a seventh voltage of a positive signal D+ of the differential line and an eighth voltage of the negative signal D- of the differential line; When the seventh voltage is greater than the third voltage threshold and 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+; The level of the D+ is a low level, and it is determined that the port type is a CDP type.
  • the processor 1002 obtains the priority attribute of the PE+2.0 and the a priority attribute of the QC2.0; charging is performed by using a charging protocol having a preferential priority attribute in the PE+2.0 and the QC2.0; wherein the priority attribute includes a priority, a detection duration, or a detection sequence at least one.
  • 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)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

La présente invention concerne un procédé et un appareil de charge. Le procédé consiste à : acquérir un type de port d'un chargeur, et déterminer si le type de port est un port de charge dédié (DCP) ; lorsque le type de port est le type DCP, acquérir un protocole de charge ; lorsque le protocole de charge comprend un protocole de charge rapide Mediatek PE+2.0, utiliser un schéma de charge correspondant au PE+2.0 pour effectuer une charge ; et lorsque le protocole de charge comprend un protocole de charge rapide Qualcomm QC 2.0, utiliser un schéma de charge correspondant au QC 2.0 pour effectuer une charge. Grâce à l'utilisation du procédé et de l'appareil de charge, par détection d'un type de port d'un chargeur et d'un protocole de charge correspondant et par utilisation d'un mode de charge rapide correspondant au protocole pour effectuer une charge, l'efficacité de charge est améliorée.
PCT/CN2016/100683 2016-08-31 2016-09-28 Procédé et appareil de charge WO2018040175A1 (fr)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2018040175A1 true WO2018040175A1 (fr) 2018-03-08

Family

ID=57786441

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/100683 WO2018040175A1 (fr) 2016-08-31 2016-09-28 Procédé et appareil de charge

Country Status (2)

Country Link
CN (1) CN106329625B (fr)
WO (1) WO2018040175A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112671051A (zh) * 2019-10-16 2021-04-16 Oppo广东移动通信有限公司 充电控制方法、设备及可读存储介质
CN116247755A (zh) * 2021-12-08 2023-06-09 华为技术有限公司 协议信息测试方法、测试仪、存储介质及程序产品

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107516919B (zh) * 2017-08-25 2019-03-01 维沃移动通信有限公司 一种充电方法及充电器

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025173A (zh) * 2009-09-10 2011-04-20 美国博通公司 用于区分下行充电端口和专用充电端口的方法和设备
CN102684270A (zh) * 2012-05-31 2012-09-19 华为技术有限公司 一种识别usb充电器类型的方法及usb设备
CN105098883A (zh) * 2015-07-01 2015-11-25 深圳天珑无线科技有限公司 充电系统
CN105553001A (zh) * 2015-12-23 2016-05-04 深圳市万普拉斯科技有限公司 充电方法和智能终端

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 努比亚技术有限公司 一种自适应输出不同电压的充电器及其实现方法
CN105896679B (zh) * 2016-05-31 2019-04-19 合肥联宝信息技术有限公司 一种充电控制方法以及应用该方法的电子设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025173A (zh) * 2009-09-10 2011-04-20 美国博通公司 用于区分下行充电端口和专用充电端口的方法和设备
CN102684270A (zh) * 2012-05-31 2012-09-19 华为技术有限公司 一种识别usb充电器类型的方法及usb设备
CN105098883A (zh) * 2015-07-01 2015-11-25 深圳天珑无线科技有限公司 充电系统
CN105553001A (zh) * 2015-12-23 2016-05-04 深圳市万普拉斯科技有限公司 充电方法和智能终端

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广东移动通信有限公司 充电控制方法、设备及可读存储介质
CN116247755A (zh) * 2021-12-08 2023-06-09 华为技术有限公司 协议信息测试方法、测试仪、存储介质及程序产品
CN116247755B (zh) * 2021-12-08 2024-01-16 华为技术有限公司 协议信息测试方法、测试仪、存储介质

Also Published As

Publication number Publication date
CN106329625A (zh) 2017-01-11
CN106329625B (zh) 2019-12-10

Similar Documents

Publication Publication Date Title
WO2018040170A1 (fr) Procédé et appareil de charge
WO2016036128A1 (fr) Dispositif électronique, procédé de commande de charge par un dispositif électronique et procédé d'alimentation électrique par un dispositif d'alimentation électrique
CN110829523B (zh) 一种电子设备及反向充电方法
CN106230070B (zh) 一种充电方法及装置
WO2018176901A1 (fr) Adaptateur, dispositif terminal et système adaptateur
US8880909B2 (en) Auto-detect polling for correct handshake to USB client
CN101901201B (zh) 一种在电子设备上实现usb otg功能的方法和装置
KR101318512B1 (ko) 전원 공급 전용 장치, 단말기, 전원 공급 시스템, 및 전원공급 방법
US8769317B2 (en) USB hub for supplying power upon determination whether a USB device is chargeable according to data transfer rate of the USB device
WO2018164546A1 (fr) Procédé et appareil de gestion de batterie de dispositif électronique
CN103618356B (zh) 一种移动终端的充电系统及其充电方法
US20110016341A1 (en) Continuous Monitoring of a USB Client for BCS Charging Capacity
CN102223439B (zh) 一种具有usb接口的电子设备及其usb通信启动方法
WO2015068997A1 (fr) Procédé permettant une charge rapide et dispositif électronique associé
WO2021020900A1 (fr) Dispositif électronique de prévention de l'endommagement d'un dispositif usb et son procédé de fonctionnement
WO2012142119A2 (fr) Appareil et procédé de détection automatique de dispositif mobile
US20120194124A1 (en) Wireless Battery Charging System
WO2015074378A1 (fr) Borne de charge rapide
WO2018040175A1 (fr) Procédé et appareil de charge
WO2013152662A1 (fr) Procédé d'alimentation pour dispositif terminal, et dispositif terminal correspondant
EP1742140A2 (fr) Automatique de connexion à un appareil électronique portable
WO2019146917A1 (fr) Dispositif électronique comprenant une batterie et son procédé de commande de charge
US20170005495A1 (en) Method and apparatus for charging electronic device with usb connection
WO2021054594A1 (fr) Dispositif électronique supportant une connexion avec un dispositif externe et procédé de réduction de consommation d'énergie lors de l'utilisation d'un dispositif électronique en connexion avec un dispositif externe
EP4199304A1 (fr) Procédé de détection d'impédance pour câble de charge, dispositif électronique et dispositif d'alimentation en puissance

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

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

Country of ref document: EP

Kind code of ref document: A1