WO2018053902A1 - 电子装置及其充电方法 - Google Patents

电子装置及其充电方法 Download PDF

Info

Publication number
WO2018053902A1
WO2018053902A1 PCT/CN2016/103870 CN2016103870W WO2018053902A1 WO 2018053902 A1 WO2018053902 A1 WO 2018053902A1 CN 2016103870 W CN2016103870 W CN 2016103870W WO 2018053902 A1 WO2018053902 A1 WO 2018053902A1
Authority
WO
WIPO (PCT)
Prior art keywords
charger
charging
electronic device
protocol
charge
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2016/103870
Other languages
English (en)
French (fr)
Inventor
丁兆刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Publication of WO2018053902A1 publication Critical patent/WO2018053902A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or discharging batteries or for supplying loads from batteries
    • H02J7/90Regulation of charging or discharging current or voltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or discharging batteries or for supplying loads from batteries
    • H02J7/40Circuit arrangements for charging or discharging batteries or for supplying loads from batteries characterised by the exchange of charge or discharge related data
    • H02J7/47Arrangements for checking compatibility or authentication between one component, e.g. a battery or a battery charger, and another component, e.g. a power source

Definitions

  • the present invention relates to the field of rapid charging technologies, and in particular, to an electronic device and a charging method thereof.
  • a mobile phone supporting the QC2.0/QC3.0 protocol usually does not support VOOC (Voltage Open Loop Multi-step Constant-Current Charging).
  • Multi-step constant current charging) protocol scheme and Pump Express2.0 fast charging protocol (referred to as PE+2.0), Pump Express 3.0 fast charging protocol (referred to as PE+3.0), that can only be matched with support QC2.0/QC3.0
  • the protocol's charger enables fast charging and cannot be quickly charged with a charger that supports the VOOC protocol and the PE+2.0 protocol.
  • Mobile phones that support the VOOC protocol usually do not support the QC2.0 protocol and the PE+2.0 protocol. That is, they can only be quickly charged with a charger that supports the VOOC protocol.
  • the 2.0 protocol charger performs fast charging.
  • the mobile phone supporting the PE+2.0/PE+3.0 protocol usually does not support the QC2.0/QC3.0 protocol scheme and the VOOC protocol scheme, that is, it can only be quickly charged with a charger supporting the PE+2.0/PE+3.0 protocol. It is not possible to charge quickly with a charger that supports the QC2.0/QC3.0 protocol and the VOOC protocol. Therefore, the compatibility of the existing electronic device with the charger is poor.
  • An electronic device comprising:
  • the charging module is configured to connect to a charger
  • the CPU is connected to the charging module, configured to control the charging module to detect a port type of the connected charger, and obtain from the charger according to a port type of the charger a charging current corresponding to the port type to charge the electronic device;
  • the CPU is further configured to further control the charging module to detect a dedicated fast charging protocol supported by the charger when the charging module detects that the charger is a dedicated charging port type charger, and select a corresponding A dedicated fast charge protocol scheme controls the charger to charge the electronic device.
  • the port type of the charger further includes a standard downlink port and a charging downlink port:
  • the charging module detects that the charger is a standard downlink port type charger, the CPU acquires a first charging current from the charger to charge the electronic device;
  • the charging module detects that the charger is a charging downlink port type charger, the CPU acquires a second charging current from the charger to charge the electronic device.
  • the electronic device further includes a power management module, the power management module is configured to detect whether the charging module is connected to the charger, and when the electronic device is connected to the charger, The CPU controls the charging module to detect a port type of the charger.
  • the charging module detects the USB battery charging specification 1.2 protocol to complete the first handshake of the electronic device and the charger.
  • the dedicated fast charging protocol includes a Quick Charge 2.0 protocol, a Quick Charge 3.0 protocol, a Pump Express 2.0 protocol, a Pump Express 3.0 protocol, and a voltage open loop multi-step constant current charging VOOC protocol.
  • a charging method for controlling a charger to charge an electronic device comprising:
  • Charging the electronic device by acquiring a corresponding charging current from the charger according to a port type of the charger;
  • the charger is a dedicated charging port type charger, and the charger is detected
  • a corresponding dedicated fast charging protocol scheme is selected to control the charger to charge the electronic device.
  • the port type of the charger further includes a standard downlink port and a charging downlink port
  • the method further includes:
  • the second charging current is obtained from the charger to charge the electronic device.
  • the method further includes detecting whether a charging module of the electronic device is connected to the charger, and detecting a port type of the charger when the electronic device is connected to the charger .
  • the method further includes:
  • USB Battery Charging Specification 1.2 protocol is detected to complete the first handshake of the electronic device and the charger.
  • the dedicated fast charging protocol includes a Quick Charge 2.0 protocol, a Quick Charge 3.0 protocol, a Pump Express 2.0 protocol, a Pump Express 3.0 protocol, and a voltage open loop multi-step constant current charging VOOC protocol.
  • the electronic device and the charging method thereof can detect a dedicated fast charging protocol supported by the charger, and select a corresponding dedicated fast charging protocol to perform charging according to the detection result, so that the electronic device can be compatible and supported.
  • a charger for the charging protocol is convenient for users to enhance the user experience.
  • FIG. 1 is a circuit diagram of an electronic device in accordance with a preferred embodiment of the present invention.
  • FIG. 2 is a flow chart of the method of the first preferred embodiment of the present invention.
  • Figure 3 is a flow chart showing the method of the second preferred embodiment of the present invention.
  • FIG. 4 is a flow chart of a method in accordance with a third preferred embodiment of the present invention.
  • Figure 5 is a flow chart showing the method of the fourth preferred embodiment of the present invention.
  • Figure 6 is a flow chart showing the method of the fifth preferred embodiment of the present invention.
  • Figure 7 is a flow chart showing the method of the sixth preferred embodiment of the present invention.
  • the electronic device 100 includes a charging module 10 and a CPU (Central Processing Unit) 30.
  • the electronic device 100 can be connected to the charger 200 for charging.
  • the charger 200 includes a connector 201.
  • the connector 201 may be a USB connector, and the connector 201 includes a voltage pin VBUS, a ground pin GND, data pins USB_D+(D+), and USB_D-(D-).
  • the charging module 10 is disposed to be connected to the charger 200.
  • the charging module 10 is directly connected to the VBUS pin and the ground pin GND, and is connected to the data pin USB_D+ via the first resistor R1, and the second resistor R2 and the data.
  • Pin USB_D- is connected.
  • the CPU 30 is connected to the charging module 10, and is configured to control the charging module 10 to detect the port type of the connected charger 200, and control the charger 200 according to the port type of the charger 200.
  • the charging scheme of the electronic device 100 Specifically, the CPU 30 acquires a charging current corresponding to the port type from the charger 200 to charge the electronic device 100.
  • the port type of the charger 200 includes an SDP (Standard Downstream Port), a CDDP (Charging Downstream Port), and a DCP (Dedicated Charging Port). If the charging module 10 detects that the charger 200 is of the SDP type, acquiring a first charging current from the charger 200 to charge the electronic device, if the charging module 10 detects the charger 200 For the CDP type, the second charging current is obtained from the charger 200 to charge the electronic device.
  • the first charging current is a charging current having a maximum current of about 500 mA
  • the second charging current is a charging current having a maximum current of about 900 mA.
  • the charging module 10 detects that the charger 200 is a DCP type charger, The CPU 30 controls the charging module 10 to further detect whether the charger 200 supports a dedicated fast charging protocol. If the charger 200 supports a dedicated fast charging protocol, the corresponding dedicated fast charging protocol scheme is selected for the electronic device 100. Charge it.
  • the dedicated fast charging protocol includes a Quick Charge 2.0 protocol (QC2.0), a Quick Charge 3.0 protocol (QC3.0), a Pump Express 2.0 fast charging protocol (referred to as PE+2.0), and a pump.
  • the CPU 30 specifically detects that the dedicated fast charging protocol supported by the charger 200 is specifically described in the preferred embodiment of the present invention as shown in FIGS. 2-7.
  • the electronic device 100 further includes a power management module 70, the power management module 70 is configured to detect whether the electronic device 100 is connected to the charger 200, if The charging module 10 is connected to the charger 200, and the charging module 10 detects the port type of the charger 200. If the charging module 10 is not connected to the charger 200, the power management module 70 The detection is repeated at a preset frequency until it is detected that the charger 200 is connected to the electronic device 100.
  • FIG. 2 a flow chart of a first preferred embodiment of the charging method of the present invention.
  • the charging method includes the following steps.
  • the preferred embodiment is also a preferred embodiment of the invention.
  • the order of execution in the flowchart shown in the figure may vary depending on various requirements, and some may be omitted.
  • Step 300 the power management module 70 detects whether the charging module 10 is connected to the charger 200. If it is detected that the electronic device 100 is connected to the charger 200, the process proceeds to step 301, if the electronic device is not detected. The device 100 is connected to the charger 200, and the steps are repeated.
  • Step 301 the CPU 30 controls the charging module 10 to detect the USB Battery Charging Specification 1.2 protocol (BC 1.2 for short) to complete the first handshake of the electronic device 100 and the charger 200.
  • BC 1.2 USB Battery Charging Specification 1.2 protocol
  • Step 302 the CPU 30 controls the charging module 10 to detect whether the connected charger 200 is an SDP type charger 200. If it is detected that the connected charger 200 is an SDP type charger, proceed to step 303. If it is detected that the connected charger 200 is not an SDP type charger, then step 304 is entered.
  • the electronic device 100 when the electronic device 100 is connected to the charger 200, if the electrical module 10 detects that the D+ and D- signals of the electronic device are at a low level, it determines that the connected device is an SDP type charger.
  • Step 303 the CPU 30 controls the charging module 10 to acquire the first charging current from the charger 200 to charge the electronic device 100.
  • the first charging current is a charging current having a maximum current of about 500 mA.
  • Step 304 the CPU 30 controls the charging module 10 to detect whether the connected charger 200 is a CDP type charger 200. If it is detected that the connected charger 200 is a CDP type charger, then the process proceeds to step 305. If it is detected that the connected charger 200 is not a CDP type charger, then step 306 is entered.
  • the pull-up power supply VDM_SRC of the D-signal of the electronic device 100 is turned on, that is, the D-signal of the electronic device 100 is high, disconnected.
  • the pull-up power source VDP_SRC of the D+ signal of the electronic device 100 turns on the pull-down current source IDP_SINK of the D+ signal of the electronic device 100.
  • the D+ signal of the electronic device 100 will become a low level, and the connected charger can be judged accordingly.
  • a charger for the CDP type when the electronic device 100 is connected to a charger, then the pull-up power supply VDM_SRC of the D-signal of the electronic device 100 is turned on, that is, the D-signal of the electronic device 100 is high, disconnected.
  • the pull-up power source VDP_SRC of the D+ signal of the electronic device 100 turns on the pull-down current source IDP_SINK of the D+ signal of the electronic device 100.
  • the D+ signal of the electronic device 100 will become a low level, and the
  • Step 305 the CPU 30 controls the charging module 10 to acquire the second charging current from the charger 200 to charge the electronic device 100.
  • the second charging current is a charging current having a maximum current of about 900 mA.
  • Step 306 the CPU 30 controls the charging module 10 to detect whether the connected charger 200 is a DCP type charger. If it is detected that the connected charger 200 is a DCP type charger 200, the process proceeds to step 307. If it is detected that the connected charger 200 is not a DCP type charger, then step 308 is entered.
  • the pull-up power supply VDM_SRC of the D-signal of the electronic device 100 is turned on, that is, the D-signal of the electronic device 100 is high, disconnected.
  • the pull-up power source VDP_SRC of the D+ signal of the electronic device 100 turns on the pull-down current source IDP_SINK of the D+ signal of the electronic device 100.
  • the D+ signal of the electronic device 100 will become a high level, and at this time, the connected charging is judged accordingly.
  • the device is a DCP type charger.
  • Step 307 the CPU 30 controls the charging module 10 to set to acquire a third charging current from the charger 200 to charge the electronic device 100.
  • the third charging The electric current is a charging current with a maximum current of about 500 mA.
  • Step 308 the CPU 30 controls the charging module 10 to detect whether the charger 200 supports the QC3.0 protocol. If the charger 200 supports the QC3.0 protocol, proceed to step 309, if the charger 200 does not If the QC3.0 protocol is supported, the process proceeds to step 310.
  • the electronic device 100 first performs detection according to the USB BC1.2 specification, and then detects whether the charger 200 supports the QC3.0 protocol according to the output voltage on the D+. .
  • the method of specific detection can refer to the content of the QC3.0 protocol.
  • Step 309 the CPU 30 controls the charging module 10 to charge the electronic device 100 by using a QC3.0 protocol scheme.
  • Step 310 The CPU 30 controls the charging module 10 to detect whether the charger 200 supports the QC2.0 protocol. If the charger 200 supports the QC2.0 protocol, the process proceeds to step 311, if the charger 200 does not To support the QC2.0 protocol, proceed to step 312.
  • the electronic device 100 performs detection according to the USB BC 1.2 specification.
  • the electronic device 100 turns on a pull-up power supply VDP_SRC at its D+.
  • the charger 200 detects the output voltage on D+ and ensures that the output voltage on D+ is higher than the first determination level VDAT_REF and lower than the second determination level VSEL_REF in one second.
  • the charger 200 opens D+ and D- and turns on the pull-down resistor Rdm_dwn. If D- remains low, the electronic device 100 does not support the QC2.0 protocol specification. If D- remains high, the electronic device 100 supports the QC2.0 protocol.
  • Step 311 the CPU 30 controls the charging module 10 to charge the electronic device 100 by using a QC2.0 protocol scheme.
  • Step 312 the CPU 30 controls the charging module 10 to detect whether the charger 200 supports the PE+3.0 protocol. If the charger 200 supports the PE+3.0 protocol, the process proceeds to step 313, if the charger 200 does not If the PE+3.0 protocol is supported, the process proceeds to step 314.
  • the charging module 10 determines whether the charger 200 supports PE+ according to the handshake protocol in the PE+3.0 protocol. 3.0 agreement. For example, the charging module 10 sends a rising voltage command Current Pattern, and the output voltage of the charger 200 is adjusted to a preset value and maintained. Therefore, The charging module 10 can determine whether the device inserted via the USB connector is a FC-compliant power adapter by measuring VBUS. If the VBUS meets the specifications of the power adapter outputting the preset value, it can be determined that the charger 200 supports the PE+3.0 protocol.
  • Step 313 the CPU 30 controls the charging module 10 to charge the electronic device 100 by using a PE+3.0 protocol scheme.
  • Step 314 the CPU 30 controls the charging module 10 to detect whether the charger 200 supports the PE+2.0 protocol. If the charger 200 supports the PE+2.0 protocol, the process proceeds to step 313, if the charger 200 does not If the PE+2.0 protocol is supported, the process proceeds to step 314.
  • the charging module 10 when the charging module 10 determines that the charger connected to the electronic device 100 is of the CDP type or the DCP type, the charging module 10 sends a voltage boosting pattern to further distinguish whether the inserted device is in conformity.
  • the output voltage of the charger 200 is adjusted to 7V and maintained. Therefore, the charging module 10 can determine whether the device inserted via the USB connector is a FC-compliant power adapter by measuring VBUS. If the VBUS meets the 7V specification of the power adapter output, it can be determined that the charger 200 supports the PE+2.0 protocol.
  • Step 315 the CPU 30 controls the charging module 10 to charge the electronic device 100 by using a PE+2.0 protocol scheme.
  • Step 316 the CPU 30 detects whether the charger 200 supports the VOOC protocol. If the charger 200 supports the VOOC protocol, the process proceeds to step 315. If the charger 200 does not support the QC2.0 protocol, the process proceeds to step 316. .
  • the charging module 10 determines the protocol of the VOOC by detecting the D+ signal of the connector 201 and the D-signal, wherein D+ is used to transmit the CLK data of the handshake signal, and D- is used to transmit the handshake signal. DATA data.
  • Step 317 the CPU 30 charges the electronic device 100 by using a VOOC protocol scheme.
  • Step 318 the CPU 30 controls the charging module 10 to perform regular charging according to a common 5V charger type.
  • step 316 is performed.
  • step 317 is performed; if the determination in step 316 is NO, step 312 is performed.
  • step 313 is performed; if the determination in step 312 is no, step 314 is performed.
  • step 315 is performed; if the determination in step 314 is no, step 318 is performed.
  • step 312 when the determination in step 306 is YES, step 312 is performed.
  • step 313 is performed; if the determination in step 312 is no, step 314 is performed.
  • step 315 is performed; if the determination in step 314 is no, step 308 is performed.
  • step 310 is performed.
  • step 316 is performed.
  • step 317 is performed.
  • step 318 is performed.
  • the other steps are the same as those in FIG. 2 and will not be described again.
  • step 312 when the determination in step 306 is YES, step 312 is performed.
  • step 313 is performed; if the determination in step 312 is no, step 314 is performed.
  • step 315 is performed; if the determination in step 314 is no, step 308 is performed.
  • step 310 is performed.
  • step 309 is performed.
  • step 311 is performed; if the determination in step 310 is no, step 316 is performed.
  • step 317 is performed; if the determination in step 316 is no, step 318 is performed.
  • the other steps are the same as those in FIG. 2 and will not be described again.
  • step 316 is performed.
  • step 317 is performed; if the determination in step 316 is no, step 308 is performed.
  • step 309 is performed; if the determination in step 308 is no, step 310 is performed.
  • step 311 is performed; if the determination in step 310 is no, step 312 is performed.
  • step 313 is performed; if the determination in step 312 is no, step 314 is performed.
  • step 315 is performed; if the determination in step 314 is no, step 318 is performed.
  • the other steps are the same as those in FIG. 2 and will not be described again.
  • step 316 when it is determined as YES in step 306, step 316 is performed.
  • step 317 is performed; if the determination in step 316 is NO, step 312 is performed.
  • step 313 is performed; step 312 If the determination is no, step 314 is performed.
  • step 315 is performed; if the determination in step 314 is no, step 308 is performed.
  • step 309 is performed; if the determination in step 308 is no, step 310 is performed. If the determination in step 310 is YES, step 311 is performed; if the determination in step 310 is no, step 318 is performed.
  • the other steps are the same as those in FIG. 2 and will not be described again.
  • the electronic device 100 and the charging method thereof can detect the dedicated fast charging and charging protocol supported by the charger 200, and select a corresponding dedicated fast charging and charging protocol to perform charging according to the detection result, so that the electronic device 100 can be compatible with the first support.
  • the charging protocol of the class-like charging protocol and the second type of charging protocol are convenient for the user to enhance the user experience.

Landscapes

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

Abstract

一种电子装置(100),该电子装置(100)包括:充电模块(10),充电模块(10)设置为连接充电器(200);CPU(30),CPU(30)与充电模块(10)相连,设置为控制充电模块(10)检测所连接的充电器(200)的端口类型,并根据充电器(200)的端口类型,从充电器(200)获取与端口类型对应的充电电流,以对电子装置(100)进行充电;CPU(30)以及充电模块(10)还设置为在充电模块(10)检测到充电器(200)为专用充电端口类型的充电器(200)时,进一步检测充电器(200)所支持的专用快充协议,并选择对应的专用快充协议方案控制充电器(200)对电子装置(100)进行充电。还提供一种充电方法。利用该电子装置和充电方法可兼容多种快充协议。

Description

电子装置及其充电方法
本申请要求于2016年9月26日提交中国专利局,申请号为201610853871.7、发明名称为“电子装置及其充电方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及快速充电技术领域,具体涉及一种电子装置及其充电方法。
背景技术
现有的手机等电子装置通常只支持一种的快速充电协议,例如,支持QC2.0/QC3.0协议的手机通常就不支持VOOC(Voltage Open Loop Multi-step Constant-Current Charging,电压开环多步恒流充电)协议方案及Pump Express2.0快充协议,(简称PE+2.0)、Pump Express 3.0快充协议,(简称PE+3.0),即只能搭配支持QC2.0/QC3.0协议的充电器实现快速充电,无法搭配支持VOOC协议及PE+2.0协议的充电器进行快速充电。支持VOOC协议方案的手机通常就不支持QC2.0协议方案及PE+2.0协议方案,即只能搭配支持VOOC协议的充电器实现快速充电,无法搭配支持QC2.0/QC3.0协议及PE+2.0协议的充电器进行快速充电。支持PE+2.0/PE+3.0协议方案的手机通常就不支持QC2.0/QC3.0协议方案及VOOC协议方案,即只能搭配支持PE+2.0/PE+3.0协议的充电器实现快速充电,无法搭配支持QC2.0/QC3.0协议及VOOC协议的充电器进行快速充电。因此,现有电子装置对充电器的兼容性较差。
发明内容
鉴于以上内容,有必要提供一种可同时兼容支持QC2.0/QC3.0协议、PE+2.0协议/PE+3.0协议及VOOC协议的充电器的电子装置。
另外,有必要提供一种上述电子装置对应的充电方法。
一种电子装置,所述电子装置包括:
充电模块,所述充电模块设置为连接充电器;
中央处理器CPU,所述CPU与所述充电模块相连,设置为控制所述充电模块检测所连接的所述充电器的端口类型,并根据所述充电器的端口类型,从所述充电器获取与所述端口类型对应的充电电流,以对所述电子装置进行充电;及
所述CPU还设置为当所述充电模块检测到所述充电器为专用充电端口类型的充电器时,进一步控制所述充电模块检测所述充电器所支持的专用快充协议,并选择对应的专用快充协议方案控制所述充电器对所述电子装置进行充电。
根据本发明优选实施例,所述充电器的端口类型还包括标准下行端口、充电下行端口:
在所述充电模块检测到所述充电器为标准下行端口类型的充电器时,所述CPU从所述充电器获取第一充电电流对所述电子装置进行充电;
在所述充电模块检测到所述充电器为充电下行端口类型的充电器时,所述CPU从所述充电器获取第二充电电流对所述电子装置进行充电。
根据本发明优选实施例,所述电子装置还包括电源管理模块,所述电源管理模块设置为检测所述充电模块是否与充电器相连,并在所述电子装置与所述充电器相连时,所述CPU控制所述充电模块检测所述充电器的端口类型。
根据本发明优选实施例,所述充电模块检测USB电池充电规范1.2协议,以完成电子装置与充电器的第一次握手。
根据本发明优选实施例,所述专用快充协议包括Quick Charge 2.0协议、Quick Charge 3.0协议、Pump Express 2.0协议、Pump Express 3.0协议及电压开环多步恒流充电VOOC协议。
一种充电方法,用于控制充电器对电子装置进行充电,所述方法包括:
检测所述充电器的端口类型;
根据所述充电器的端口类型,从所述充电器获取对应充电电流对所述电子装置进行充电;以及
当检测到所述充电器为专用充电端口类型的充电器,且检测到所述充电器 支持专用快充协议时,选择对应的专用快充协议方案控制所述充电器对所述电子装置进行充电。
根据本发明优选实施例,所述充电器的端口类型还包括标准下行端口、充电下行端口,所述方法还包括:
当检测到所述充电器为标准下行端口类型的充电器时,从所述充电器获取第一充电电流对所述电子装置进行充电;
当所述充电器为充电下行端口类型的充电器时,从所述充电器获取第二充电电流对所述电子装置进行充电。
根据本发明优选实施例,所述方法还包括检测所述电子装置的充电模块是否与所述充电器相连,并在所述电子装置与所述充电器相连时,检测所述充电器的端口类型。
根据本发明优选实施例,所述方法还包括:
检测USB电池充电规范1.2协议,以完成电子装置与充电器的第一次握手。
根据本发明优选实施例,所述专用快充协议包括Quick Charge 2.0协议、Quick Charge 3.0协议、Pump Express 2.0协议、Pump Express 3.0协议及电压开环多步恒流充电VOOC协议。
相较于现有技术,所述电子装置及其充电方法可检测所述充电器所支持的专用快充协议,并根据检测结果选择对应的专用快充协议进行充电,使得电子装置可兼容支持多种充电协议的充电器,方便用户使用,提升用户体验。
附图说明
图1所示是本发明一较佳实施例的电子装置的电路图。
图2所示是本发明第一较佳实施例的方法的流程图。
图3所示是本发明第二较佳实施例的方法的流程图。
图4所示是本发明第三较佳实施例的方法的流程图。
图5所示是本发明第四较佳实施例的方法的流程图。
图6所示是本发明第五较佳实施例的方法的流程图。
图7所示是本发明第六较佳实施例的方法的流程图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清除、完整地描述,显然,所描述的实施例仅仅是本发明的一部分实施例,而不是全部的实施例。
基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。
参考图1所示,是本发明较佳实施例的电子装置100的电路图。所述电子装置100包括充电模块10及CPU(Central Processing Unit,中央处理器)30。所述电子装置100可与充电器200相连,以进行充电。所述充电器200包括连接器201。所述连接器201可以是USB连接器,所述连接器201包括电压引脚VBUS、接地引脚GND、数据引脚USB_D+(D+)及USB_D-(D-)。
所述充电模块10设置为与充电器200相连,所述充电模块10与VBUS引脚、接地引脚GND直接相连,经第一电阻R1与数据引脚USB_D+相连,以及经第二电阻R2与数据引脚USB_D-相连。
所述CPU30与所述充电模块10相连,设置为控制所述充电模块10检测所连接的所述充电器200的端口类型,并根据所述充电器200的端口类型,控制所述充电器200对电子装置100的充电方案。具体的,CPU30从所述充电器200获取与所述端口类型对应的充电电流,以对所述电子装置100进行充电。
在本较佳实施例中,所述充电器200的端口类型包括SDP(Standard Downstream Port,标准下行端口)、CDP(Charging Downstream Port,充电下行端口)以及DCP(Dedicated Charging Port,专用充电端口)。如果所述充电模块10检测到所述充电器200为SDP类型,则从所述充电器200获取第一充电电流对所述电子装置进行充电,如果所述充电模块10检测到所述充电器200为CDP类型,则从所述充电器200获取第二充电电流对所述电子装置进行充电。在本较佳实施例中,所述第一充电电流为最大电流约为500mA的充电电流,所述第二充电电流为最大电流约为900mA的充电电流。
如果所述充电模块10检测到所述充电器200为DCP类型的充电器,所 述CPU 30控制所述充电模块10进一步检测所述充电器200是否支持专用快充协议,如果所述充电器200支持专用快充协议,则选择对应的专用快充协议方案对所述电子装置100进行充电。
在本较佳实施例中,所述专用快充协议包括Quick Charge 2.0协议(QC2.0)、Quick Charge 3.0协议(QC3.0)、Pump Express 2.0快充协议,(简称PE+2.0),Pump Express 3.0快充协议、VOOC(Voltage Open Loop Multi-step Constant-Current Charging,电压开环多步恒流充电)协议。所述CPU 30具体检测所述充电器200所支持的专用快充协议在如图2-图7中所示的本发明的较佳实施方式中具体详述。
在本发明的另一较佳实施例中,所述电子装置100还包括电源管理模块70,所述电源管理模块70设置为检测所述电子装置100是否与所述充电器200相连,如果所述充电模块10与所述充电器200相连,则所述充电模块10检测所述充电器200的端口类型,如果所述充电模块10未与所述充电器200相连,则所述电源管理模块70则以预设频率重复检测,直至检测到所述充电器200与所述电子装置100相连。
参考图2所示,本发明充电方法第一较佳实施方式的流程图。所述充电方法包括以下步骤。所述较佳实施方式也是本发明的较佳实施例。根据不同的需求,该图所示流程图中的执行顺序可以改变,某些可以省略。
步骤300,所述电源管理模块70检测所述充电模块10是否与所述充电器200相连,如果检测到所述电子装置100与充电器200相连,则进入步骤301,如果未检测到所述电子装置100与充电器200相连,则重复所述步骤。
步骤301,所述CPU 30控制所述充电模块10检测USB电池充电规范1.2协议(简称BC 1.2),以完成电子装置100与充电器200的第一次握手。
步骤302,所述CPU 30控制所述充电模块10检测所连接的充电器200是否是SDP类型的充电器200,如果检测到所连接的充电器200是SDP类型的充电器,则进入步骤303,如果检测到所连接的充电器200不是SDP类型的充电器,则进入步骤304。
在本发明的一个实施例中,当电子装置100连接到充电器200后,若充 电模块10检测到电子装置的D+、D-信号为低电平时,则确定所接的设备为SDP类型充电器。
步骤303,所述CPU 30控制所述充电模块10从充电器200获取第一充电电流对所述电子装置100进行充电。在本较佳实施例中,所述第一充电电流为最大电流约为500mA的充电电流。
步骤304,所述CPU 30控制所述充电模块10检测所连接的充电器200是否是CDP类型的充电器200,如果检测到所连接的充电器200是CDP类型的充电器,则进入步骤305,如果检测到所连接的充电器200不是CDP类型的充电器,则进入步骤306。
在本发明的一个实施例中,当电子装置100连接到一个充电器时,然后打开电子装置100的D-信号的上拉电源VDM_SRC,即电子装置100的D-信号为高电平,断开电子装置100的D+信号的上拉电源VDP_SRC,打开电子装置100的D+信号的下拉电流源IDP_SINK,此时电子装置100的D+信号将变成低电平,则可据此判断所连接的充电器为CDP类型的充电器。
步骤305,所述CPU 30控制所述充电模块10从充电器200获取第二充电电流对所述电子装置100进行充电。在本较佳实施例中,所述第二充电电流为最大电流约为900mA的充电电流。
步骤306,所述CPU 30控制所述充电模块10检测所连接的充电器200是否是DCP类型的充电器,如果检测到所连接的充电器200是DCP类型的充电器200,则进入步骤307,如果检测到所连接的充电器200不是DCP类型的充电器,则进入步骤308。
在本发明的一个实施例中,当电子装置100连接到一个充电器时,然后打开电子装置100的D-信号的上拉电源VDM_SRC,即电子装置100的D-信号为高电平,断开电子装置100的D+信号的上拉电源VDP_SRC,打开电子装置100的D+信号的下拉电流源IDP_SINK,此时电子装置100的D+信号将变成高电平,此时,据此判断所连接的充电器为DCP类型的充电器。
步骤307,所述CPU 30控制所述充电模块10设定从充电器200获取第三充电电流对所述电子装置100进行充电。在本较佳实施例中,所述第三充 电电流为最大电流约为500mA的充电电流。
步骤308,所述CPU 30控制所述充电模块10检测所述充电器200是否支持QC3.0协议,如果所述充电器200支持QC3.0协议,则进入步骤309,如果所述充电器200不支持QC3.0协议,则进入步骤310。
在本发明的一个实施例中,类似于QC2.0协议的检测,电子装置100先根据USB BC1.2规范执行检测,再根据D+上的输出电压检测所述充电器200是否支持QC3.0协议。具体检测的方法可以参照QC3.0协议的内容。
步骤309,所述CPU 30控制所述充电模块10采用QC3.0协议方案对所述电子装置100进行充电。
步骤310,所述CPU 30控制所述充电模块10检测所述充电器200是否支持QC2.0协议,如果所述充电器200支持QC2.0协议,则进入步骤311,如果所述充电器200不支持QC2.0协议,则进入步骤312。
在本发明的一个实施例中,电子装置100根据USB BC1.2规范执行检测,当检测到DCP类型的充电器200时,电子装置100在其D+打开一个上拉电源VDP_SRC。充电器200检测D+上的输出电压、并确保D+上的输出电压在一秒的时长里高于第一判断电平VDAT_REF并低于第二判断电平VSEL_REF。一秒以后,充电器200将D+和D-开路并接通下拉电阻Rdm_dwn。如果D-保持为低,那么电子装置100不支持QC2.0协议规范。如果D-保持为高,则电子装置100支持QC2.0协议。
步骤311,所述CPU 30控制所述充电模块10采用QC2.0协议方案对所述电子装置100进行充电。
步骤312,所述CPU 30控制所述充电模块10检测所述充电器200是否支持PE+3.0协议,如果所述充电器200支持PE+3.0协议,则进入步骤313,如果所述充电器200不支持PE+3.0协议,则进入步骤314。
在本发明的一个实施例中,当充电模块10确定与电子装置100相连的充电器为CDP类型或者DCP类型时,充电模块10根据PE+3.0协议中的握手协议判断充电器200是否支持PE+3.0协议。例如充电模块10发送升电压指令Current Pattern,充电器200的输出电压调整至一个预设值并维持。因此, 充电模块10透过量测VBUS可以判定经由USB连接器插入的装置是否为符合FC协议的电源适配器。若VBUS符合电源适配器输出所述预设值的规格,可以判定为充电器200支持PE+3.0协议。
步骤313,所述CPU 30控制所述充电模块10采用PE+3.0协议方案对所述电子装置100进行充电。
步骤314,所述CPU 30控制所述充电模块10检测所述充电器200是否支持PE+2.0协议,如果所述充电器200支持PE+2.0协议,则进入步骤313,如果所述充电器200不支持PE+2.0协议,则进入步骤314。
在本发明的一个实施例中,当充电模块10确定与电子装置100相连的充电器为CDP类型或者DCP类型时,充电模块10发送升电压指令Current Pattern,目的是进一步区别插入的装置是否为符合PE+2.0协议的电源适配器。
充电器200的输出电压调整至7V并维持。因此,充电模块10透过量测VBUS可以判定经由USB连接器插入的装置是否为符合FC协议的电源适配器。若VBUS符合电源适配器输出7V的规格,可以判定为充电器200支持PE+2.0协议。
步骤315,所述CPU 30控制所述充电模块10采用PE+2.0协议方案对所述电子装置100进行充电。
步骤316,所述CPU 30检测所述充电器200是否支持VOOC协议,如果所述充电器200支持VOOC协议,则进入步骤315,如果所述充电器200不支持QC2.0协议,则进入步骤316。
在本发明的一个实施例中,充电模块10通过检测连接器201的D+信号,及D-信号来判断VOOC的协议,其中D+用于传输握手信号的CLK数据,D-用于传输握手信号的DATA数据。
步骤317,所述CPU 30采用VOOC协议方案对所述电子装置100进行充电。
步骤318,所述CPU 30控制所述充电模块10按照普通5V充电器类型进行常规充电。
可以理解的是,如图3所示,在本发明第二较佳实施方式中,在步骤310判断为否时,执行步骤316。步骤316判断为是时,执行步骤317;步骤316判断为否时,执行步骤312。步骤312判断为是时,执行步骤313;步骤312判断为否时,执行步骤314。步骤314判断为是时,执行步骤315;步骤314判断为否时,执行步骤318。其他步骤与图2相同,不再赘述。
可以理解的是,如图4所示,在本发明第三较佳实施方式中,在步骤306判断为是时,执行步骤312。步骤312判断为是时,执行步骤313;步骤312判断为否时,执行步骤314。步骤314判断为是时,执行步骤315;步骤314判断为否时,执行步骤308。步骤308判断为否时,执行步骤310。步骤310判断为否时,执行步骤316。步骤316判断为是时,执行步骤317。步骤316判断为否时,执行步骤318。其他步骤与图2相同,不再赘述。
可以理解的是,如图5所示,在本发明第四较佳实施方式中,在步骤306判断为是时,执行步骤312。步骤312判断为是时,执行步骤313;步骤312判断为否时,执行步骤314。步骤314判断为是时,执行步骤315;步骤314判断为否时,执行步骤308。步骤308判断为否时,执行步骤310。步骤308判断为是时,执行步骤309。步骤310判断为是时,执行步骤311;步骤310判断为否时,执行步骤316。步骤316判断为是时,执行步骤317;步骤316判断为否时,执行步骤318。其他步骤与图2相同,不再赘述。
可以理解的是,如图6所示,在本发明第五较佳实施方式中,在步骤306判断为是时,执行步骤316。步骤316判断为是时,执行步骤317;步骤316判断为否时,执行步骤308。步骤308判断为是时,执行步骤309;步骤308判断为否时,执行步骤310。步骤310判断为是时,执行步骤311;步骤310判断为否时,执行步骤312。步骤312判断为是时,执行步骤313;步骤312判断为否时,执行步骤314。步骤314判断为是时,执行步骤315;步骤314判断为否时,执行步骤318。其他步骤与图2相同,不再赘述。
可以理解的是,如图7所示,在本发明第六较佳实施方式中,在步骤306判断为是时,执行步骤316。步骤316判断为是时,执行步骤317;步骤316判断为否时,执行步骤312。步骤312判断为是时,执行步骤313;步骤312 判断为否时,执行步骤314。步骤314判断为是时,执行步骤315;步骤314判断为否时,执行步骤308。步骤308判断为是时,执行步骤309;步骤308判断为否时,执行步骤310。步骤310判断为是时,执行步骤311;步骤310判断为否时,执行步骤318。其他步骤与图2相同,不再赘述。
本发明的电子装置100及其充电方法可检测所述充电器200所支持的专用快充充电协议,并根据检测结果选择对应的专用快充充电协议进行充电,使得电子装置100可兼容支持第一类充电协议、第二类充电协议的充电器200,方便用户使用,提升用户体验。
对于本领域技术人员而言,显然本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本发明内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或,单数不排除复数。系统权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。
最后应说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或等同替换,而不脱离本发明技术方案的精神和范围。

Claims (10)

  1. 一种电子装置,其特征在于,所述电子装置包括:
    充电模块,所述充电模块设置为连接充电器;
    中央处理器CPU,所述CPU与所述充电模块相连,设置为控制所述充电模块检测所连接的所述充电器的端口类型,并根据所述充电器的端口类型,从所述充电器获取与所述端口类型对应的充电电流,以对所述电子装置进行充电;及
    所述CPU还设置为当所述充电模块检测到所述充电器为专用充电端口类型的充电器时,进一步控制所述充电模块检测所述充电器所支持的专用快充协议,并选择对应的专用快充协议方案控制所述充电器对所述电子装置进行充电。
  2. 如权利要求1所述的电子装置,其特征在于,所述充电器的端口类型还包括标准下行端口、充电下行端口:
    在所述充电模块检测到所述充电器为标准下行端口类型的充电器时,所述CPU从所述充电器获取第一充电电流对所述电子装置进行充电;
    在所述充电模块检测到所述充电器为充电下行端口类型的充电器时,所述CPU从所述充电器获取第二充电电流对所述电子装置进行充电。
  3. 如权利要求1所述的电子装置,其特征在于,所述电子装置还包括电源管理模块,所述电源管理模块设置为检测所述充电模块是否与充电器相连,并在所述电子装置与所述充电器相连时,所述CPU控制所述充电模块检测所述充电器的端口类型。
  4. 如权利要求1所述的电子装置,其特征在于,所述充电模块检测USB电池充电规范1.2协议,以完成电子装置与充电器的第一次握手。
  5. 如权利要求1所述的电子装置,其特征在于,所述专用快充协议包括Quick Charge 2.0协议、Quick Charge 3.0协议、Pump Express 2.0协议、Pump Express 3.0协议及电压开环多步恒流充电VOOC协议。
  6. 一种充电方法,用于控制充电器对电子装置进行充电,其特征在于,所述方法包括:
    检测所述充电器的端口类型;
    根据所述充电器的端口类型,从所述充电器获取对应充电电流对所述电子装置进行充电;以及
    当检测到所述充电器为专用充电端口类型的充电器,且检测到所述充电器支持专用快充协议时,选择对应的专用快充协议方案控制所述充电器对所述电子装置进行充电。
  7. 如权利要求6所述的充电方法,其特征在于,所述充电器的端口类型还包括标准下行端口、充电下行端口,所述方法还包括:
    当检测到所述充电器为标准下行端口类型的充电器时,从所述充电器获取第一充电电流对所述电子装置进行充电;
    当所述充电器为充电下行端口类型的充电器时,从所述充电器获取第二充电电流对所述电子装置进行充电。
  8. 如权利要求6所述的充电方法,其特征在于,所述方法还包括检测所述电子装置的充电模块是否与所述充电器相连,并在所述电子装置与所述充电器相连时,检测所述充电器的端口类型。
  9. 如权利要求6所述的充电方法,其特征在于,所述方法还包括:
    检测USB电池充电规范1.2协议,以完成电子装置与充电器的第一次握手。
  10. 如权利要求6所述的充电方法,其特征在于,所述专用快充协议包括Quick Charge 2.0协议、Quick Charge 3.0协议、Pump Express 2.0协议、Pump Express 3.0协议及电压开环多步恒流充电VOOC协议
PCT/CN2016/103870 2016-09-26 2016-10-29 电子装置及其充电方法 Ceased WO2018053902A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610853871.7 2016-09-26
CN201610853871.7A CN106300552A (zh) 2016-09-26 2016-09-26 电子装置及其充电方法

Publications (1)

Publication Number Publication Date
WO2018053902A1 true WO2018053902A1 (zh) 2018-03-29

Family

ID=57715436

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/103870 Ceased WO2018053902A1 (zh) 2016-09-26 2016-10-29 电子装置及其充电方法

Country Status (2)

Country Link
CN (1) CN106300552A (zh)
WO (1) WO2018053902A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114069801A (zh) * 2021-12-03 2022-02-18 西安芯海微电子科技有限公司 快充连接电路、快充连接装置及充电控制方法
CN117498508A (zh) * 2023-12-29 2024-02-02 深圳市卓芯微科技有限公司 移动设备的快充方法、装置、电子设备以及存储介质

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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103106167B (zh) * 2013-01-22 2015-12-02 矽力杰半导体技术(杭州)有限公司 一种usb设备及其控制方法
CN103178583B (zh) * 2013-03-25 2015-03-11 成都西可科技有限公司 一种支持为其他移动设备充电的手机usb接口充电系统及其实现充电的方法
CN103986217B (zh) * 2014-05-30 2018-02-23 努比亚技术有限公司 一种自适应输出不同电压的充电器及其实现方法
CN104037884A (zh) * 2014-06-28 2014-09-10 青岛歌尔声学科技有限公司 一种兼容快充和usb充电规范的充电方法及装置
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
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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114069801A (zh) * 2021-12-03 2022-02-18 西安芯海微电子科技有限公司 快充连接电路、快充连接装置及充电控制方法
CN117498508A (zh) * 2023-12-29 2024-02-02 深圳市卓芯微科技有限公司 移动设备的快充方法、装置、电子设备以及存储介质

Also Published As

Publication number Publication date
CN106300552A (zh) 2017-01-04

Similar Documents

Publication Publication Date Title
US12549017B2 (en) Method and apparatus for charging a battery
WO2018053901A1 (zh) 电子装置及其充电方法
CN103106167B (zh) 一种usb设备及其控制方法
US9431841B2 (en) Device to device charging via USB type-C interfaces
US9201480B2 (en) Method and system for determining an arbitrary charging protocol in USB charging ports
CN105518967B (zh) 改变电流限制的装置和方法
US20160372936A1 (en) Automatic scheme to detect Multi-Standard Charger Types
US20120217935A1 (en) Circuits and Methods for Automatic Power Source Detection
CN107742912A (zh) 充电方法、快充设备及计算机可读存储介质
CN112448423B (zh) 充电方法和装置、电子设备、存储介质
CN104103868A (zh) 一种移动终端的充电器充电方法及系统
CN106230070B (zh) 一种充电方法及装置
CN106489139A (zh) 用于区分专有非浮置和浮置充电器以供调节充电电流的装置和方法
CN112310756A (zh) 防止usb装置损坏的电子装置及其操作方法
CN106300549A (zh) 电子装置及其充电方法
CN106374563A (zh) 电子装置及其充电方法
WO2018053902A1 (zh) 电子装置及其充电方法
CN106410894A (zh) 电子装置及其充电方法
CN104953631A (zh) 一种电流控制方法及终端设备
CN106329652A (zh) 电子装置及其充电方法
CN106451617A (zh) 电子装置及其充电方法
CN106451615A (zh) 电子装置及其充电方法
CN106356933A (zh) 电子装置及其充电方法
CN106300551A (zh) 电子装置及其充电方法
CN106356935A (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: 16916641

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

Country of ref document: EP

Kind code of ref document: A1