WO2019206317A1 - Charging device, usb cable and charging system - Google Patents

Charging device, usb cable and charging system Download PDF

Info

Publication number
WO2019206317A1
WO2019206317A1 PCT/CN2019/084708 CN2019084708W WO2019206317A1 WO 2019206317 A1 WO2019206317 A1 WO 2019206317A1 CN 2019084708 W CN2019084708 W CN 2019084708W WO 2019206317 A1 WO2019206317 A1 WO 2019206317A1
Authority
WO
WIPO (PCT)
Prior art keywords
resistor
usb cable
usb
resistance
voltage
Prior art date
Application number
PCT/CN2019/084708
Other languages
French (fr)
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
Priority claimed from CN201810401458.6 external-priority
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2019206317A1 publication Critical patent/WO2019206317A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/665Structural association with built-in electrical component with built-in electronic circuit
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R31/00Coupling parts supported only by co-operation with counterpart
    • H01R31/06Intermediate parts for linking two coupling parts, e.g. adapter
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R31/00Coupling parts supported only by co-operation with counterpart
    • H01R31/06Intermediate parts for linking two coupling parts, e.g. adapter
    • H01R31/065Intermediate parts for linking two coupling parts, e.g. adapter with built-in electric apparatus
    • 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

Abstract

Provided are a charging device, a USB cable and a charging system. The charging device comprises: a detection circuit, a universal serial bus (USB) interface and a processor, wherein the USB interface is used for connecting to a USB cable, a circuit of a signal channel of the USB cable comprises a first resistor, and a resistance value of the first resistor is used for identifying the attribute of the USB cable; the detection circuit is used for detecting the first resistor, and reporting a detection result to the processor, a first end of the detection circuit is connected to the first resistor by means of the USB interface, and a second end of the detection circuit is connected to a power source of the charging device, and the processor is used for determining the resistance value of the first resistor according to the detection result of the first resistor, and for determining the attribute of the USB cable according to the resistance value of the first resistor. According to the charging device provided in the present application, the attribute of a USB cable is determined by means of detecting a resistance value of a first resistor in the USB cable, thereby improving safety when charging a terminal device with the USB cable.

Description

充电设备和USB线缆以及充电系统Charging device and USB cable and charging system 技术领域Technical field
申请涉及电路领域,尤其涉及电路领域中的充电设备和USB线缆以及充电系统。The application relates to the field of circuits, and in particular to charging devices and USB cables and charging systems in the field of circuits.
背景技术Background technique
随着近年终端产品市场和消费类产品日新月异的发展后,终端产品电池容量越来越大,同时充电电流也越来越大。这就造成了越来越多的市场用户反映手机烧焦和线缆烧毁等安全问题。而其中很大一部分原因为用户使用的通用串行总线(Universal Serial Bus,USB)线缆为质量无法保证或者规格不满足充电要求的非标准线缆导致,使用户的人身和财产有可能造成严重损害。目前日本和欧美高端市场对此类电器安全问题规范非常严格,有些国家有明确法律要求,故障达到一定级别将面临产品的全部召回和严厉处罚,因此对此类充电安全问题解决将越来越紧迫。With the rapid development of the terminal product market and consumer products in recent years, the battery capacity of the terminal products is getting larger and larger, and the charging current is also increasing. This has caused more and more market users to reflect security issues such as burnt phone and cable burnout. A large part of the reason is that the Universal Serial Bus (USB) cable used by the user is caused by non-standard cables whose quality cannot be guaranteed or whose specifications do not meet the charging requirements, which may cause serious damage to the user and property. damage. At present, the high-end markets in Japan and Europe and the United States are very strict on the safety of such electrical appliances. Some countries have clear legal requirements. If the fault reaches a certain level, they will face all recalls and severe penalties for the products. Therefore, it will become more and more urgent to solve such charging safety problems. .
目前USB线缆身份识别的做法是在USB类型C(TYPE-C)协议里面,定义电子电缆标记(Electronically Marked Cable,E-Marker)来识别线缆.该方案是通过把一颗芯片封装到USB线缆里面,通过读取芯片里面的身份(identity,ID)信息来识别线缆身份封装有E-Marker芯片的USB Type-C有源电缆,下行端口(Downstream Facing Port,DFP)和上行端口(Upstream Facing Port,UFP)利用功率传输(power delivery,PD)协议可以读取该USB线缆的属性,例如,可以获取该USB线缆的电源传输能力,数据传输能力,ID等信息。从而可以根据该USB线缆的属性调整充电的电流等,避免USB线缆烧焦和线缆烧毁等安全问题。At present, USB cable identification is defined in the USB Type C (TYPE-C) protocol, which defines an Electrically Marked Cable (E-Marker) to identify the cable. The solution is to package a chip to USB. Inside the cable, by identifying the identity (ID) information in the chip, the USB Type-C active cable, the Downstream Facing Port (DFP) and the uplink port (the Downstream Facing Port, DFP) and the uplink port (with the E-Marker chip) are identified. The Upstream Facing Port (UFP) can read the attributes of the USB cable by using a power delivery (PD) protocol. For example, the USB cable can be obtained with power transmission capability, data transmission capability, ID, and the like. Therefore, the charging current can be adjusted according to the properties of the USB cable, thereby avoiding safety problems such as burning of the USB cable and burning of the cable.
然而,在USB线缆利用封装芯片的方法来识别USB线缆的属性的制作成本很高,很难量产。因此,如何保证用户在使用USB线缆时的安全性成为急需解决的问题。However, the method of using a packaged chip to identify a USB cable in a USB cable is costly to manufacture, and it is difficult to mass-produce. Therefore, how to ensure the security of the user when using the USB cable becomes an urgent problem to be solved.
发明内容Summary of the invention
本申请提供一种充电设备和USB线缆以及充电系统。可以通过检测USB线缆中第一电阻的阻值,确定该USB线缆的属性。从而可以确定该USB线缆的使用性能,提高利用该USB线缆对终端设备进行充电时的安全性,提高用户充电时的安全性。The application provides a charging device and a USB cable and a charging system. The attribute of the USB cable can be determined by detecting the resistance of the first resistor in the USB cable. Therefore, the performance of the USB cable can be determined, the security of charging the terminal device by using the USB cable can be improved, and the safety during charging of the user can be improved.
第一方面,提供了一种充电设该充电设备包括检测电路、通用串行总线USB接口和处理器,该USB接口用于连接USB线缆,该USB线缆的信号通道的电路中包括第一电阻,该第一电阻的阻值用于标识该USB线缆的属性;该检测电路用于检测该第一电阻,并将检测结果上报给该处理器,该检测电路的第一端通过该USB接口与该第一电阻连接,该检测电路的第二端与该充电设备的电源连接,该检测电路从该电源获取检测电压;该处理器用于:获取该检测电路的检测结果;根据该第一电阻的检测结果,确定该第一电阻的阻值;根据该第一电阻的阻值,确定该USB线缆的属性。In a first aspect, a charging device is provided, including a detecting circuit, a universal serial bus USB interface, and a processor, wherein the USB interface is used for connecting a USB cable, and the circuit of the signal channel of the USB cable includes the first a resistor, the resistance of the first resistor is used to identify an attribute of the USB cable; the detecting circuit is configured to detect the first resistor, and report the detection result to the processor, where the first end of the detecting circuit passes the USB An interface is connected to the first resistor, a second end of the detecting circuit is connected to a power source of the charging device, and the detecting circuit acquires a detecting voltage from the power source; the processor is configured to: acquire a detection result of the detecting circuit; The detection result of the resistance determines the resistance of the first resistor; and determines the attribute of the USB cable according to the resistance of the first resistor.
第一方面提供的充电设备,可以通过检测电路检测该USB线缆中第一电阻的阻值,确定该USB线缆的属性。以便于后续通过该USB线缆对终端设备进行充电时提高该USB线缆的安全性,提高用户充电时的安全性。In the charging device provided by the first aspect, the resistance of the first resistor in the USB cable can be detected by the detecting circuit to determine the attribute of the USB cable. In order to improve the security of the USB cable when the terminal device is subsequently charged by the USB cable, the security of the user is improved.
在第一方面的一种可能的实现方式中,该处理器还用于:根据该USB线缆的属 性,控制该充电设备对该USB线缆的输出电流的大小。In a possible implementation manner of the first aspect, the processor is further configured to: according to an attribute of the USB cable, control a magnitude of an output current of the charging device to the USB cable.
在第一方面的一种可能的实现方式中,该检测电路包括模数转换器ADC和第二电阻,该第二电阻的两端分别与该电源和该第一电阻连接,该ADC连接在该第二电阻和该第一电阻之间的电路上,用于采集该第一电阻两端的电压,该处理器获取检测结果,该检测结果为该ADC采集的电压。In a possible implementation manner of the first aspect, the detecting circuit includes an analog-to-digital converter ADC and a second resistor, and two ends of the second resistor are respectively connected to the power source and the first resistor, and the ADC is connected to the A circuit between the second resistor and the first resistor is configured to collect a voltage across the first resistor, and the processor obtains a detection result, and the detection result is a voltage collected by the ADC.
在第一方面的一种可能的实现方式中,该处理器用于:根据该ADC采集的电压和第一对应关系,确定该第一电阻的阻值,该第一对应关系为预设的电压与该第一电阻的阻值之间的对应关系。In a possible implementation manner of the first aspect, the processor is configured to: determine, according to the voltage collected by the ADC and the first correspondence, a resistance of the first resistor, where the first correspondence is a preset voltage and Correspondence between the resistance values of the first resistors.
在第一方面的一种可能的实现方式中,该检测电路包括电流计,该电流计的第一端与该第一电阻连接,该电流计的第二端与该电源连接,该处理器获取该电流计的检测结果,该检测结果为该电流记检测的电流值。In a possible implementation manner of the first aspect, the detecting circuit includes an ammeter, the first end of the ammeter is connected to the first resistor, and the second end of the ammeter is connected to the power source, and the processor obtains The detection result of the current meter is the current value detected by the current meter.
在第一方面的一种可能的实现方式中,该处理器用于:根据该电流值和该检测电压,确定该第一电阻的电阻。In a possible implementation manner of the first aspect, the processor is configured to determine a resistance of the first resistor according to the current value and the detection voltage.
在第一方面的一种可能的实现方式中,该检测电路包括电压比较器和参考电路,该参考电路包括可调电阻,该可调电阻的第一端与该电源连接,该可调电阻的第二端与该电压比较器的第一输入端连接,该电压比较器的第二输入端的输入电压为该第一电阻两端的电压,该电压比较器用于比较该第一电阻两端的电压和该参考电路的电压,该处理器用于控制该可调电阻的阻值的大小,并从该电压比较器输出端获取该电压比较器的输出结果。In a possible implementation manner of the first aspect, the detecting circuit includes a voltage comparator and a reference circuit, the reference circuit includes an adjustable resistor, and the first end of the adjustable resistor is connected to the power source, and the adjustable resistor is The second end is connected to the first input end of the voltage comparator, the input voltage of the second input end of the voltage comparator is a voltage across the first resistor, and the voltage comparator is configured to compare the voltage across the first resistor and the Referring to the voltage of the circuit, the processor is configured to control the magnitude of the resistance of the adjustable resistor, and obtain an output result of the voltage comparator from the voltage comparator output.
在第一方面的一种可能的实现方式中,该处理器用于:当该电压比较器的输出结果发生变化时,确定该电压比较器的输出结果发生变化时该可调电阻的阻值;根据该电压比较器的输出结果发生变化时该可调电阻的阻值和第二对应关系,确定该第一电阻的阻值,该第二对应关系为预设的阻值和该第一电阻的阻值之间的对应关系。In a possible implementation manner of the first aspect, the processor is configured to: when the output result of the voltage comparator changes, determine a resistance value of the adjustable resistor when the output result of the voltage comparator changes; When the output of the voltage comparator changes, the resistance of the adjustable resistor and the second correspondence determine the resistance of the first resistor, and the second correspondence is a preset resistance and a resistance of the first resistor. The correspondence between values.
在第一方面的一种可能的实现方式中,该USB线缆的属性包括:该USB线缆数据传输能力和该USB线缆的电流传输能力中的至少一个。In a possible implementation manner of the first aspect, the attributes of the USB cable include: at least one of the USB cable data transmission capability and the current transmission capability of the USB cable.
第二方面,提供了一种USB线缆,该USB线缆包括USB插头、USB插座和线缆,该USB线缆的信号道通的电路中包括第一电阻,该第一电阻设置在该USB插头或USB插座的引脚处,该第一电阻的阻值用于标识该USB线缆的属性。In a second aspect, a USB cable is provided, the USB cable includes a USB plug, a USB socket, and a cable, and the signal of the USB cable includes a first resistor, and the first resistor is disposed on the USB At the pin of the plug or USB socket, the resistance of the first resistor is used to identify the properties of the USB cable.
第二方面提供的USB线缆,通过在USB线缆中设置第一电阻,该第一电阻用于唯一标识该USB线缆的身份,即该第一电阻的阻值用于标识该USB线缆的属性,通过USB线缆的第一电阻来标识该USB线缆的属性,可以在降低USB线缆制造成本的基础上,提高用户使用该USB线缆进行充电时的安全性。The USB cable provided by the second aspect, the first resistor is used to uniquely identify the identity of the USB cable, that is, the resistance of the first resistor is used to identify the USB cable. The attribute of the USB cable is identified by the first resistance of the USB cable, and the security of the user using the USB cable for charging can be improved on the basis of reducing the manufacturing cost of the USB cable.
在第二方面的一种可能的实现方式中,该信号通道为配置通道CC。In a possible implementation of the second aspect, the signal channel is a configuration channel CC.
在第二方面的一种可能的实现方式中,该USB线缆的属性包括:该USB线缆的数据传输能力和该USB线缆的电流传输能力中的至少一个。In a possible implementation manner of the second aspect, the attributes of the USB cable include: at least one of a data transmission capability of the USB cable and a current transmission capability of the USB cable.
第三方面,提供了一种充电系统,包括上述第一方面或者第一方面任意一种可能的实现方式中的充电设备和上述第二方面或者第二方面任意一种可能的实现方式中的USB线缆。The third aspect provides a charging system, comprising the charging device in any one of the foregoing first aspect or the first aspect, and the USB in any one of the foregoing possible implementation manners Cable.
第三方面提供的充电系统,可以根据USB的线缆属性,调整对终端设备进行充电时的充电电流的大小。避免充电电流过大引起的USB线缆燃烧等隐患的发生,提 高安全性。还可以充分的利用USB线缆的传输电流的能力,提高USB线缆的使用效率,提高用户体验。The charging system provided by the third aspect can adjust the charging current when charging the terminal device according to the cable property of the USB. Avoid the occurrence of hidden dangers such as burning of the USB cable caused by excessive charging current, and improve safety. It can also fully utilize the ability of the USB cable to transmit current, improve the use efficiency of the USB cable, and improve the user experience.
附图说明DRAWINGS
图1是本申请实施例的一种USB Type-C接口的引脚定义示意图。FIG. 1 is a schematic diagram of pin definition of a USB Type-C interface according to an embodiment of the present application.
图2是TYPE-C协议的CC1/CC2引脚上的电路结构的示意图。2 is a schematic diagram of the circuit configuration on the CC1/CC2 pin of the TYPE-C protocol.
图3是本申请一个实施例的充电设备的结构的示意性框图。3 is a schematic block diagram showing the structure of a charging apparatus of one embodiment of the present application.
图4是本申请一个实施例的充电设备和USB线缆的结构的示意性框图。4 is a schematic block diagram showing the structure of a charging device and a USB cable according to an embodiment of the present application.
图5是本申请一个实施例的检测电路结构的示意图。FIG. 5 is a schematic diagram showing the structure of a detecting circuit of an embodiment of the present application.
图6是本申请另一个实施例的检测电路结构的示意图。FIG. 6 is a schematic diagram showing the structure of a detecting circuit of another embodiment of the present application.
图7是本申请另一个实施例的检测电路结构的示意图。FIG. 7 is a schematic diagram of a structure of a detecting circuit of another embodiment of the present application.
图8是本申请一种典型的应用场景图。FIG. 8 is a typical application scenario diagram of the present application.
图9是本申请一个实施例的充电的示意性流程图。9 is a schematic flow chart of charging of an embodiment of the present application.
具体实施方式detailed description
下面将结合附图,对本申请中的技术方案进行描述。The technical solutions in the present application will be described below with reference to the accompanying drawings.
本申请实施例中的终端设备可以指用户设备、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。终端设备还可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、无线本地环路(Wireless Local Loop,WLL)站、个人数字处理(Personal Digital Assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,未来5G网络中的终端设备或者未来演进的公用陆地移动通信网络(Public Land Mobile Network,PLMN)中的终端设备等,本申请实施例在此并不限定。The terminal device in the embodiment of the present application may refer to a user equipment, an access terminal, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent, or User device. The terminal device may also be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), with wireless communication. Functional handheld devices, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminal devices in future 5G networks, or in the future evolution of the Public Land Mobile Network (PLMN) The terminal device and the like are not limited herein.
随着近年终端产品市场和消费类产品日新月异的发展后,终端设备的电池容量越来越大,同时充电电流也越来越大。这就造成了越来越多的市场用户反映终端设备(例如手机)在利用USB线缆进行充电时出现烧焦和线缆烧毁等安全问题。而其中很大一部分原因为充电时使用的USB线缆为质量无法保证或者规格不满足充电要求的非标准线缆导致,使用户的人身和财产有可能造成严重损害。目前日本和欧美高端市场对此类电器安全问题规范非常严格,有些国家有明确法律要求,故障达到一定级别将面临产品的全部召回和严厉处罚,因此对此类充电安全问题解决将越来越紧迫。With the rapid development of the terminal product market and consumer products in recent years, the battery capacity of terminal devices is getting larger and larger, and the charging current is also increasing. This has caused more and more market users to reflect the safety issues such as burning and cable burning when terminal devices (such as mobile phones) are charging with USB cables. A large part of the reason is that the USB cable used for charging is caused by non-standard cables whose quality cannot be guaranteed or whose specifications do not meet the charging requirements, which may cause serious damage to the user's personal and property. At present, the high-end markets in Japan and Europe and the United States are very strict on the safety of such electrical appliances. Some countries have clear legal requirements. If the fault reaches a certain level, they will face all recalls and severe penalties for the products. Therefore, it will become more and more urgent to solve such charging safety problems. .
目前USB线缆身份识别的做法是在USB TYPE-C协议里面,定义电子电缆标记(Electronically Marked Cable)来识别线缆。该方案是通过把一颗芯片封装到USB线缆里面,封装有E-Marker芯片的USB Type-C线缆,下行端口(主设备)和上行端口(从设备)利用PD协议可以读取该USB线缆的属性。例如,获取该USB线缆的可以承载的最大电流或数据传输能力信息等。根据该USB线缆的属性,调整充电电流等,从而保证用户使用时的安全性。例如,假设用户在利用充电宝给手机充电,充电宝通过USB线缆连接手机,充电宝以检测到该USB线缆里面的芯片,通过读取芯片里面的ID信息来识别该USB线缆身份。获取该USB线缆的电源传输能力,数据传输能力,ID等信息。从而可以根据该USB线缆的属性调整充电宝输出的充电电流等, 避免USB线缆烧焦和线缆烧毁等安全问题。The current USB cable identification method is to identify the cable in the USB TYPE-C protocol by defining an Electrically Marked Cable. The solution is to package the USB Type-C cable with the E-Marker chip by encapsulating a chip into the USB cable. The downlink port (master device) and the uplink port (slave device) can read the USB by using the PD protocol. The properties of the cable. For example, the maximum current or data transmission capability information that can be carried by the USB cable is obtained. According to the properties of the USB cable, the charging current is adjusted to ensure the safety of the user. For example, suppose the user is charging the mobile phone with the charging treasure, the charging treasure connects the mobile phone through the USB cable, the charging treasure detects the chip inside the USB cable, and recognizes the identity of the USB cable by reading the ID information in the chip. Obtain the power transmission capability, data transmission capability, ID, and other information of the USB cable. Therefore, the charging current output of the charging treasure can be adjusted according to the properties of the USB cable, thereby avoiding safety problems such as burning of the USB cable and burning of the cable.
但是,在USB线缆利用封装芯片的方法来识别USB线缆的属性的制作成本很高,很难量产。因此,如何保证用户在使用没有芯片的USB线缆时安全性成为急需解决的问题。However, the method of using a packaged chip to identify a USB cable in a USB cable is expensive to manufacture, and it is difficult to mass-produce. Therefore, how to ensure that users are in urgent need of solving the problem when using a USB cable without a chip.
基于上述问题,本申请提供了一种USB线缆和充电设备,可以有效的解决用户在利用USB线缆进行充电时的安全性问题。Based on the above problems, the present application provides a USB cable and a charging device, which can effectively solve the security problem when the user uses the USB cable for charging.
本申请提供了一种USB线缆,该USB线缆包括USB插头、USB插座和线缆,该USB线缆的信号道通的电路中包括第一电阻,该第一电阻设置在该USB插头或USB插座的引脚处,该第一电阻的阻值用于标识该USB线缆的属性。The present application provides a USB cable, which includes a USB plug, a USB socket, and a cable. The circuit of the USB cable includes a first resistor, and the first resistor is disposed on the USB plug or At the pin of the USB socket, the resistance of the first resistor is used to identify the properties of the USB cable.
本申请提供的USB线缆,通过在USB线缆中设置第一电阻,该第一电阻用于唯一标识该USB线缆的身份,即该第一电阻的阻值用于标识该USB线缆的属性,例如,可以用第一电阻来标识该USB线缆的电流传输能力和数据传输能力等。即用第一电阻来区分不同USB线缆。通过USB线缆的第一电阻来标识该USB线缆的属性,可以在降低USB线缆制造成本的基础上,提高用户使用该USB线缆进行充电时的安全性。The USB cable provided by the present application is configured to set a first resistance in the USB cable, the first resistor is used to uniquely identify the identity of the USB cable, that is, the resistance of the first resistor is used to identify the USB cable. The attribute, for example, may be a first resistor to identify the current transfer capability, data transfer capability, etc. of the USB cable. That is, the first resistor is used to distinguish different USB cables. The attribute of the USB cable is identified by the first resistance of the USB cable, and the security of the user when using the USB cable for charging can be improved on the basis of reducing the manufacturing cost of the USB cable.
具体而言,该USB线缆包括USB插头、USB插座和线缆,该USB插头可以是标准的TYPE-C接口的USB插头,也可以是TYPE-A或者TYPE-B接口的USB插头等。该USB插座也可以是标准的TYPE-C接口的USB插座,或者也可以是TYPE-A或者TYPE-B接口的USB插座等。该USB线缆的信号道通的电路中包括第一电阻,该第一电阻设置在该USB插头或USB插座的引脚处。该第一电阻的阻值用于标识该USB线缆的属性。该引脚可以是USB插头或USB插座中的任意一个引脚。例如,该引脚可以是可以为正电压数据D+、负电压数据D-、空端ID。或者还可以是USB 3.1规范定义的Typc-C接口的正接收1差分总线RX1+、负接收1差分总线RX1-、正接收2差分总线RX2+、负接收2差分总线RX2-、正发送1差分总线TX1+、负发送1差分总线TX1-、正发送2差分总线TX2+、负发送2差分总线TX2-、第1边频带信号线SBU1、第2边频带信号线SBU2、第1配置通道(channel configuration,CC)信号线CC1和第2配置通道信号线CC2中的任意一个引脚。Specifically, the USB cable includes a USB plug, a USB socket, and a cable. The USB plug can be a USB plug of a standard TYPE-C interface, or a USB plug of a TYPE-A or TYPE-B interface. The USB socket can also be a USB socket of a standard TYPE-C interface, or a USB socket of a TYPE-A or TYPE-B interface. The signal passing through the USB cable includes a first resistor disposed at a pin of the USB plug or USB socket. The resistance of the first resistor is used to identify the properties of the USB cable. This pin can be either a USB plug or a USB socket. For example, the pin can be positive voltage data D+, negative voltage data D-, and null ID. Or it can be the Typc-C interface defined by the USB 3.1 specification. The positive receiving 1 differential bus RX1+, the negative receiving 1 differential bus RX1-, the positive receiving 2 differential bus RX2+, the negative receiving 2 differential bus RX2-, the positive transmitting 1 differential bus TX1+ Negative transmission 1 differential bus TX1-, positive transmission 2 differential bus TX2+, negative transmission 2 differential bus TX2-, first sideband signal line SBU1, second sideband signal line SBU2, first configuration channel (channel configuration, CC) Any one of the signal line CC1 and the second configuration channel signal line CC2.
由于USB Type-C接口具有上下对称的引脚,可以实现正反插的功能,因此越来越多的终端设备用USB Type-C接口下面以USB Type-C接口形式的插头或者插座为例对各个引脚的说明。Since the USB Type-C interface has upper and lower symmetrical pins, the function of forward and reverse insertion can be realized. Therefore, more and more terminal devices use USB Type-C interfaces as plugs or sockets in the form of USB Type-C interfaces as an example. Description of each pin.
图1是USB Type-C接口中各个引脚的示意图。USB Type-C接口中各个引脚的功能和支持的协议如下:Figure 1 is a schematic diagram of each pin in the USB Type-C interface. The functions and supported protocols of each pin in the USB Type-C interface are as follows:
TX/RX:也叫做USB3.1数据线。有两组差分信号,用于USB3.1数据传输。TX/RX: Also called USB3.1 data cable. There are two sets of differential signals for USB 3.1 data transfer.
CC1/CC2:USB Type-C接口包含2个CC信号引脚,即CC1引脚和CC2引脚,主要用于功能协商,是Type-C接口中的两个关键引脚。CC1引脚和CC2引脚上的信号可以确定接口插入方向,并可用于协商接口上的供电功能、替代模式和外设模式。CC1/CC2: The USB Type-C interface contains two CC signal pins, CC1 pin and CC2 pin. It is mainly used for function negotiation and is the two key pins in the Type-C interface. The signals on the CC1 and CC2 pins determine the direction in which the interface is inserted and can be used to negotiate the power supply, alternate mode, and peripheral mode on the interface.
D+/D-:也叫做USB2.0数据线,主要是为了兼容以前的USB2.0标准。有两组差分信号,用于USB2.0数据传输。D+/D-: Also known as the USB2.0 data cable, mainly for compatibility with the previous USB 2.0 standard. There are two sets of differential signals for USB 2.0 data transfer.
SBU1/SBU2:USB Type-C接口中的预留引脚,在不同的应用场景具有不同的用途,例如可以作为音频传输通道或者麦克风传输通道。SBU1/SBU2: Reserved pins in the USB Type-C interface, which have different uses in different application scenarios, such as audio transmission channels or microphone transmission channels.
GND:用于接地电缆。GND: For grounding cable.
VBUS:用于电缆总线电源。VBUS: For cable bus power.
该第一电阻可以设置具有USB Type-C接口的USB插头或USB插座的上述任何一个引脚上。该第一电阻的阻值用于标识该USB线缆的属性。The first resistor can be provided on any of the above pins of a USB plug or a USB socket having a USB Type-C interface. The resistance of the first resistor is used to identify the properties of the USB cable.
举例来说明。假设某生产商生产了三种规格的USB线缆。分别为USB线缆A,USB线缆B,USB线缆C。每一种规格的USB线缆的电流传输能力是不同的。假设USB线缆A的电流承受能力为1A,USB线缆B的电流承受能力为2A,USB线缆C的电流承受能力为3A。因此,可以分别在这三种USB线缆中设置不同阻值的电阻。假设USB线缆A中的第一电阻的阻值为10KΩ,USB线缆B中的第一电阻的阻值为15KΩ,USB线缆中的第一电阻的阻值为20KΩ。在用户利用不同规格的USB线缆对终端设备进行充电时,充电设备(例如充电宝)可以检测该第一电阻的阻值,确定了该第一电阻的阻值,根据与该阻值对应的USB线缆的电流传输能力等信息,调整利用该USB线缆对终端设备进行充电时的电流。避免充电时USB线缆线缆燃烧等带来的安全隐患。Give an example. Suppose a manufacturer produces three sizes of USB cables. They are USB cable A, USB cable B, and USB cable C. The current transfer capability of each type of USB cable is different. Assume that the current tolerance of the USB cable A is 1A, the current carrying capacity of the USB cable B is 2A, and the current carrying capacity of the USB cable C is 3A. Therefore, resistors of different resistance values can be set in the three USB cables, respectively. Assume that the resistance of the first resistor in the USB cable A is 10KΩ, the resistance of the first resistor in the USB cable B is 15KΩ, and the resistance of the first resistor in the USB cable is 20KΩ. When the user uses the USB cable of different specifications to charge the terminal device, the charging device (for example, charging treasure) can detect the resistance value of the first resistor, and determine the resistance value of the first resistor, according to the resistance value corresponding to the resistance. The current transmission capability of the USB cable and other information, and adjust the current when the terminal device is charged by the USB cable. Avoid the safety hazards caused by burning USB cable and cable during charging.
应理解,该USB插头或USB插座的接口可以是标准的TYPE-C接口,也可以是TYPE-A或者TYPE-B接口等。本申请实施例在此不作限制。It should be understood that the interface of the USB plug or the USB socket may be a standard TYPE-C interface, or may be a TYPE-A or a TYPE-B interface. The embodiments of the present application are not limited herein.
可选的,该第一电阻设置在该USB插头或USB插座的配置通道CC引脚上。Optionally, the first resistor is disposed on a configuration channel CC pin of the USB plug or the USB socket.
图2是TYPE-C协议定义的CC1/CC2引脚上的电路结构的示意图。图2中虚线部分的电路在USB线缆中,实线部分位于下行端口中,下行端口可以理解为主充电设备的USB接口。图中CC1引脚上连接有电阻Rp和Rd,USB线缆两端连接的设备可以通过检测Rd来确定主从设备,CC1引脚上的电阻Rp用于组成检测电路,CC2引脚上连接有电阻Rp和Ra,USB线缆两端连接的设备可以通过,CC2引脚上的电路进行调试等。对标准的TYPE-C接口的USB线缆,CC2引脚上电阻Ra的阻值是固定的。在本申请中,可以将电阻Ra的阻值重新设置,即可以将电阻Ra的替换成该第一电阻。由于对于不同规格的USB线缆,第一电阻的阻值是不同的,即不同的第一电阻表示不同的USB线缆规格,用于标识不同规格的USB线缆的电流传输能力等。2 is a schematic diagram of the circuit configuration on the CC1/CC2 pin defined by the TYPE-C protocol. The circuit in the dotted line portion of FIG. 2 is in the USB cable, the solid line portion is located in the downlink port, and the downlink port can be understood as the USB interface of the main charging device. In the figure, the resistors Rp and Rd are connected to the CC1 pin. The devices connected at both ends of the USB cable can determine the master and slave devices by detecting Rd. The resistor Rp on the CC1 pin is used to form the detection circuit, and the CC2 pin is connected. Resistors Rp and Ra, devices connected at both ends of the USB cable can be debugged by the circuit on the CC2 pin. For the standard TYPE-C interface USB cable, the resistance of the resistor Ra on the CC2 pin is fixed. In the present application, the resistance of the resistor Ra can be reset, that is, the resistance Ra can be replaced with the first resistor. The resistance of the first resistor is different for USB cables of different specifications, that is, different first resistors represent different USB cable specifications, and are used for identifying current transmission capabilities of USB cables of different specifications.
应理解,在本申请实施例中,第一电阻设置还可以设置在该USB插头或USB插座的其他引脚上。例如,设置在上述的SBU1/SBU2引脚上等。本申请实施例在此不作限制。It should be understood that in the embodiment of the present application, the first resistance setting may also be disposed on other pins of the USB plug or the USB socket. For example, it is set on the above SBU1/SBU2 pin and so on. The embodiments of the present application are not limited herein.
可选的,该USB线缆的属性包括:该USB线缆数据传输能力和该USB线缆的电流传输能力中的至少一个。Optionally, the attributes of the USB cable include: at least one of the USB cable data transmission capability and the current transmission capability of the USB cable.
具体而言,由于USB线缆线缆中设置了具有能标识该USB线缆身份的第一电阻,对于不同规格的USB线缆,不同的第一电阻的阻值对应的不同的USB线缆属性,该USB线缆属性可以包括USB线缆的数据传输能力、电流传输能力等。例如,假设某一规格的USB线缆的第一电阻为20KΩ,该USB线缆的电流传输能力为1A,即只要检测到该USB线缆中的第一电阻的值为20KΩ,便可以根据第一电阻的电阻值确定该USB线缆的电流传输能力为1A,还可以根据该第一电阻的电阻值确定该USB线缆的数据传输能力、该USB线缆的ID以及生产厂商等信息。Specifically, since the first resistance of the USB cable is set in the USB cable, the resistance of the first resistor is different for different USB cables. The USB cable attribute may include a data transmission capability of a USB cable, a current transmission capability, and the like. For example, suppose the first resistance of a USB cable of a certain specification is 20KΩ, and the current transmission capability of the USB cable is 1A, that is, as long as the value of the first resistance in the USB cable is detected to be 20KΩ, The resistance value of a resistor determines that the current transmission capability of the USB cable is 1A, and the data transmission capability of the USB cable, the ID of the USB cable, and the manufacturer and the like may be determined according to the resistance value of the first resistor.
应理解,在本申请实施例中,该USB线缆的属性还可以包括USB线缆其他性能信息,例如,最大承载电流、最大承载电压、生产厂商等。本申请实施例在此不作限制。It should be understood that, in the embodiment of the present application, the attributes of the USB cable may further include other performance information of the USB cable, for example, maximum load current, maximum load voltage, manufacturer, and the like. The embodiments of the present application are not limited herein.
本申请还提供了一种充电设备,如图3所示,该充电设备100包括:The present application also provides a charging device. As shown in FIG. 3, the charging device 100 includes:
该充电设备包括检测电路110、USB接口130和处理器130,The charging device includes a detection circuit 110, a USB interface 130, and a processor 130.
该USB接口120用于连接USB线缆,该USB线缆的信号通道的电路中包括第一电阻,该第一电阻的阻值用于标识该USB线缆的属性;The USB interface 120 is configured to connect a USB cable, and the circuit of the signal channel of the USB cable includes a first resistor, and the resistance of the first resistor is used to identify an attribute of the USB cable;
该检测电路110用于检测该第一电阻,并将检测结果上报给该处理器130,该检测电路的第一端通过该USB接口120与该第一电阻连接,该检测电路110的第二端与该充电设备的电源140连接,该检测电路从该电源140获取检测电压;The detecting circuit 110 is configured to detect the first resistor and report the detection result to the processor 130. The first end of the detecting circuit is connected to the first resistor through the USB interface 120. The second end of the detecting circuit 110 Connected to the power source 140 of the charging device, the detecting circuit acquires a detection voltage from the power source 140;
该处理器130用于:获取该检测电路的检测结果;The processor 130 is configured to: acquire a detection result of the detection circuit;
根据该第一电阻的检测结果,确定该第一电阻的阻值;Determining a resistance value of the first resistor according to the detection result of the first resistor;
根据该第一电阻的阻值,确定该USB线缆的属性。The attribute of the USB cable is determined according to the resistance of the first resistor.
具体而言,如图3所示,该充电设备100可以是具有提供电源能力的终端设备,例如,可以是充电宝、移动路由器(Mobile Wifi,MIFI)等。该充电设备100包括检测电路110、USB接口120以及处理器130。USB接口120可以是TYPE-C接口,具体结构可以参考图1所示的。或者,可以是TYPE-B或者TYPE-A接口等,本申请实施例在此不作限制。Specifically, as shown in FIG. 3, the charging device 100 may be a terminal device having a power supply capability, for example, may be a charging treasure, a mobile router (Mobile Wifi, MIFI), or the like. The charging device 100 includes a detection circuit 110, a USB interface 120, and a processor 130. The USB interface 120 can be a TYPE-C interface. For the specific structure, refer to FIG. 1 . Alternatively, it may be a TYPE-B or a TYPE-A interface, etc., and the embodiment of the present application is not limited herein.
该USB接口120用于连接USB线缆,该USB线缆的信号通道的电路中包括第一电阻,该第一电阻的阻值用于标识该USB线缆的属性。该USB线缆可以上述本申请实施例提供的任意一种USB线缆。对USB线缆的描述可以参考上述对本申请提供的USB线缆的描述,在此不在赘述。该检测电路110用于检测该第一电阻,并将检测结果上报给该处理器130,该检测电路的第一端用于通过该USB接口120与该第一电阻连接,该检测电路110的第二端与该充电设备的电源140连接,电源140用于给检测电路提供检测电压。即检测电路可以从该电源140获取检测电压。该处理器130可以通过电路通道的方式与检测电路110相连,或者也可以通过无线的方式与检测电路110相连,处理器130用于获取该检测电路110的检测结果。图3中检测电路110和处理器130之间为虚线连接,虚线表示检测电路110和处理器130之间可以是物理上的电路连接,也可以是无线的形式上位连接。即对检测电路110和处理器130之间为连接形式不作限制。处理器130根据该第一电阻的检测结果,确定该第一电阻的阻值。根据该第一电阻的阻值,确定该USB线缆的属性。例如,可以确定该USB线缆承载电流的能力或者数据传输的能力等。以便于后续通过该USB线缆给其他终端设备进行充电时的调整充电电流。The USB interface 120 is configured to connect a USB cable. The circuit of the signal channel of the USB cable includes a first resistor. The resistance of the first resistor is used to identify the attribute of the USB cable. The USB cable can be any of the USB cables provided in the foregoing embodiments of the present application. For a description of the USB cable, reference may be made to the description of the USB cable provided in the present application, which is not described herein. The detecting circuit 110 is configured to detect the first resistor, and report the detection result to the processor 130. The first end of the detecting circuit is configured to be connected to the first resistor through the USB interface 120. The two ends are connected to a power source 140 of the charging device, and the power source 140 is used to supply a detection voltage to the detecting circuit. That is, the detection circuit can acquire the detection voltage from the power source 140. The processor 130 can be connected to the detection circuit 110 in a circuit channel manner, or can be connected to the detection circuit 110 in a wireless manner. The processor 130 is configured to acquire the detection result of the detection circuit 110. In FIG. 3, the detection circuit 110 and the processor 130 are connected by a broken line, and the broken line indicates that the detection circuit 110 and the processor 130 may be physically connected, or may be a wireless connection. That is, there is no limitation on the form of connection between the detection circuit 110 and the processor 130. The processor 130 determines the resistance of the first resistor according to the detection result of the first resistor. The attribute of the USB cable is determined according to the resistance of the first resistor. For example, the ability of the USB cable to carry current or the ability to transmit data can be determined. In order to adjust the charging current when charging the other terminal devices through the USB cable.
图4为该充电设备100和USB线缆连接后的示意图。该检测电路110的第一端通过该USB接口120与该第一电阻的第一端连接,该第一电阻的第二端与该USB线缆的地线连接。该检测电路110的第二端与电源140连接,用于给该检测电路提供检测电压。处理器130还用于获取检测电路110的检测结果。应理解,如果第一电阻设置在该USB线缆的CC引脚上,该USB接口120通过CC引脚与该第一电阻的第一端相连,该第一电阻的第二端通过该CC引脚上的接地线接地。如果第一电阻设置在该USB线缆的其他引脚上,对应的,该USB接口120通过CC引脚其他的引脚与该第一电阻的第一端相连,该第一电阻的第二端通过其他引脚的接地线接地。FIG. 4 is a schematic diagram of the charging device 100 and the USB cable connected. The first end of the detecting circuit 110 is connected to the first end of the first resistor through the USB interface 120, and the second end of the first resistor is connected to the ground of the USB cable. The second end of the detection circuit 110 is coupled to the power source 140 for providing a detection voltage to the detection circuit. The processor 130 is further configured to acquire the detection result of the detection circuit 110. It should be understood that if the first resistor is disposed on the CC pin of the USB cable, the USB interface 120 is connected to the first end of the first resistor through a CC pin, and the second end of the first resistor passes through the CC Ground the ground wire on the foot. If the first resistor is disposed on other pins of the USB cable, correspondingly, the USB interface 120 is connected to the first end of the first resistor through other pins of the CC pin, and the second end of the first resistor Ground through the ground wire of other pins.
本申请提供的充电设备,可以通过检测电路检测该USB线缆中第一电阻的阻值,确定该USB线缆的属性。例如,可以确定该USB线缆的最大承载电流、最大承载电 压等信息,从而可以确定该USB线缆的使用性能,以便于后续通过该USB线缆对终端设备进行充电时提高该USB线缆的安全性,提高用户充电时的安全性。The charging device provided by the present application can detect the resistance of the first resistor in the USB cable through a detecting circuit to determine the attribute of the USB cable. For example, information such as a maximum carrying current and a maximum carrying voltage of the USB cable can be determined, so that the performance of the USB cable can be determined, so as to improve the USB cable when the terminal device is subsequently charged by the USB cable. Safety, improve the safety of users when charging.
应理解,本申请提供的充电设备可以是任何具有提供电源能力的终端设备,例如,可以是手机、电脑、可穿戴设备等。本申请实施例在此不作限制。It should be understood that the charging device provided by the present application may be any terminal device having the capability of providing power, for example, may be a mobile phone, a computer, a wearable device, or the like. The embodiments of the present application are not limited herein.
还应理解,处理器130可以根据预先在充电设备100中存储的一种或者多种型号的USB线缆中第一电阻的阻值与该USB线缆的属性之间的对应关系,不同型号的USB线缆具有不同的属性。例如,该对应关系可以以表格的形式存储在充电设备100的储存单元中。例如,该对应关系可以如表1所示的。该处理器根据该对应关系,确定该USB线缆的属性。由于同一型号的USB线缆中第一电阻的阻值是相同的,根据某一个USB线缆中第一电阻的值,可以确定该USB线缆的型号和属性等。It should also be understood that the processor 130 may be based on the correspondence between the resistance of the first resistor and the attribute of the USB cable in one or more types of USB cables stored in the charging device 100 in advance, different models. USB cables have different properties. For example, the correspondence may be stored in a storage unit of the charging device 100 in the form of a table. For example, the correspondence can be as shown in Table 1. The processor determines an attribute of the USB cable according to the correspondence. Since the resistance of the first resistor in the same type of USB cable is the same, the model and attributes of the USB cable can be determined according to the value of the first resistor in a USB cable.
表1Table 1
Figure PCTCN2019084708-appb-000001
Figure PCTCN2019084708-appb-000001
应理解,表1只是示例性的,不应对本申请的实施例造成任何限制。上述的对应关系还可以包括更多不同的阻值和USB线缆属性的对应关系。该USB线缆的属性还可以包括其他的内容。本申请实施例在此不作限制。It should be understood that Table 1 is merely exemplary and should not impose any limitation on the embodiments of the present application. The above correspondence may also include a correspondence between more different resistance values and USB cable attributes. The properties of the USB cable can also include other content. The embodiments of the present application are not limited herein.
还应理解,对于同一个厂商生产的充电设备和多种型号的USB线缆,该充电设备100可以存储该多种型号的USB线缆中的不同第一电阻的阻值以及与不同的阻值对应的不同的USB线缆的属性。当充电设备根据USB线缆中第一电阻的电阻,可以确定该USB线缆的属性时,便可以确定该USB线缆是该厂商自己生产的。It should also be understood that for a charging device produced by the same manufacturer and a plurality of types of USB cables, the charging device 100 can store the resistance values of different first resistors in the various types of USB cables and different resistance values. Corresponding to the properties of different USB cables. When the charging device can determine the properties of the USB cable according to the resistance of the first resistor in the USB cable, it can be determined that the USB cable is produced by the manufacturer itself.
还应理解,当充电设备中的处理器130根据某一个USB线缆中的第一电阻的检测结果,不能确定该USB线缆中第一电阻的阻值,或者,确定了该USB线缆中第一电阻的阻值,但不能确定该USB线缆的属性时。证明充电设备100中预先存储的USB线缆的第一电阻的阻值与USB线缆的属性之间的对应关系中,没有与该USB线缆中第一电阻的阻值对应的数据,即充电设备100不能识别该USB线缆。不能确定该USB线缆的属性。It should also be understood that when the processor 130 in the charging device determines the resistance of the first resistor in the USB cable according to the detection result of the first resistor in the USB cable, or determines the USB cable. The resistance of the first resistor, but the properties of the USB cable cannot be determined. In the correspondence between the resistance value of the first resistor of the USB cable pre-stored in the charging device 100 and the attribute of the USB cable, there is no data corresponding to the resistance value of the first resistor in the USB cable, that is, charging The device 100 cannot recognize the USB cable. The properties of the USB cable cannot be determined.
可选的,作为一个实施例,该处理器130用于:Optionally, as an embodiment, the processor 130 is configured to:
根据该USB线缆的属性,控制该充电设备100对该USB线缆的输出电流的大小。The magnitude of the output current of the charging device 100 to the USB cable is controlled according to the properties of the USB cable.
具体而言,在该充电设备100确定该USB线缆属性后,在USB线缆的一端连接该充电设备,另一端连接被充电点设备时(例如手机)时,该充电设备100可以根据该USB线缆属性,例如,该USB线缆的电流传输能力等,控制该充电设备100对该 USB线缆的输出电流的大小,即调整给被充电设备进行充电时的充电电流,避免充电电流过大引起的USB线缆燃烧等隐患的发生,提高安全性。还可以充分的利用USB线缆的传输电流的能力,例如,在USB线缆可承载的范围内,将充电电流增大,提高USB线缆的使用效率,提高用户体验。Specifically, after the charging device 100 determines the USB cable property, when the charging device is connected to one end of the USB cable, and the other end is connected to the charging point device (for example, a mobile phone), the charging device 100 can be based on the USB device. The cable property, for example, the current transmission capability of the USB cable, controls the magnitude of the output current of the charging device 100 to the USB cable, that is, adjusts the charging current when charging the device to avoid charging current excessively. The occurrence of hidden dangers such as burning of USB cables improves safety. It can also fully utilize the ability of the USB cable to transmit current, for example, increase the charging current within the range that the USB cable can carry, improve the use efficiency of the USB cable, and improve the user experience.
应理解,在本申请实施例中,当处理器130根据某个USB线缆(以第二USB线缆为例说明)中第一电阻的检测结果,不能确定第二USB线缆中第一电阻的阻值,或者,确定了第二USB线缆中第一电阻的阻值时,不能确定该第二USB线缆的属性。例如,某厂商生产的了五种规格的USB线缆,分别对应五种不同的第一电阻的阻值。而该厂商生产的充电设备100中只存储了与这五种第一电阻的阻值对应的五种USB线缆的属性。当处理器130检测到的第二USB线缆中的第一电阻的电阻和这五种阻值都不对应时。即充电设备100并没有存储与第二USB线缆中的第一电阻对应的USB线缆属性,证明该第二USB线缆并不是该厂商制造的,即该充电设备100不能确定该USB线缆属性。在这种情况下,在利用该充电设备100和该第二USB线缆对其他设备进行充电时,该充电设备100将按照协议的相关的其他规定控制充电电流。例如,将充电电流调整到标准协议规定的充电电流或者调整到最小的充电电流。本申请实施例在此不作限制。It should be understood that, in the embodiment of the present application, when the processor 130 detects the first resistance in the USB cable (illustrated by using the second USB cable as an example), the first resistance in the second USB cable cannot be determined. The resistance of the second USB cable cannot be determined when the resistance of the first resistor in the second USB cable is determined. For example, a manufacturer's five specifications of USB cable, corresponding to the resistance of five different first resistors. The charging device 100 produced by the manufacturer stores only the attributes of the five USB cables corresponding to the resistance values of the five first resistors. When the resistance of the first resistor in the second USB cable detected by the processor 130 does not correspond to the five resistance values. That is, the charging device 100 does not store the USB cable attribute corresponding to the first resistance in the second USB cable, and proves that the second USB cable is not manufactured by the manufacturer, that is, the charging device 100 cannot determine the USB cable. Attributes. In this case, when the other device is charged by the charging device 100 and the second USB cable, the charging device 100 will control the charging current in accordance with other regulations related to the protocol. For example, the charging current is adjusted to the charging current specified by the standard protocol or adjusted to the minimum charging current. The embodiments of the present application are not limited herein.
可选的,作为一个实施例,该检测电路110包括:Optionally, as an embodiment, the detecting circuit 110 includes:
模数转换器(Analog-to-Digital Converter,ADC)和第二电阻,该第二电阻的两端分别与该电源140和该第一电阻连接,该ADC连接在该第二电阻和该第一电阻之间的电路上,用于采集该第一电阻两端的电压,该处理器130用于获取检测结果,该检测结果为该ADC采集的电压An analog-to-digital converter (ADC) and a second resistor, the two ends of the second resistor are respectively connected to the power source 140 and the first resistor, and the ADC is connected to the second resistor and the first resistor A circuit between the resistors is configured to collect a voltage across the first resistor, and the processor 130 is configured to obtain a detection result, where the detection result is a voltage collected by the ADC
具体而言,如图5所示,该检测电路110包括ADC和第二电阻,该ADC用于采集该第一电阻两端的电压,该第二电阻的两端分别用于与该充电设备的电源140和通过该USB接口120与该第一电阻的第一端连接,该ADC连接在该第二电阻和该第一电阻之间的电路上,该处理器130还用于获取该ADC的检测结果,该检测结果为该ADC采集的电压。该电源140用于给该检测电路110提供检测电压。Specifically, as shown in FIG. 5, the detecting circuit 110 includes an ADC and a second resistor, and the ADC is configured to collect a voltage across the first resistor, and two ends of the second resistor are respectively used for powering the charging device. And connecting to the first end of the first resistor through the USB interface 120, the ADC is connected to a circuit between the second resistor and the first resistor, and the processor 130 is further configured to acquire a detection result of the ADC. The result of the test is the voltage collected by the ADC. The power source 140 is used to supply the detection circuit 110 with a detection voltage.
在该充电设备100连接该USB线缆后,电源140用于给该检测电路110提供检测电压,该第二电阻用于分压,该第二电阻为固定值。由于第一电阻的第二端接地,ADC检测的为第一电阻两端的电压,并且,该ADC还用于将采集到该第一电阻两端的电压值上报给该处理器130。通过上述的检测电路110,ADC可以检测到该第一电阻两端的电压,该处理器130可以获取该检测结果。根据检测结果确定该第一电阻的阻值。After the charging device 100 is connected to the USB cable, the power source 140 is configured to provide a detection voltage to the detection circuit 110, the second resistor is used for voltage division, and the second resistor is a fixed value. Since the second end of the first resistor is grounded, the ADC detects the voltage across the first resistor, and the ADC is further configured to report the voltage value collected across the first resistor to the processor 130. Through the detection circuit 110 described above, the ADC can detect the voltage across the first resistor, and the processor 130 can acquire the detection result. The resistance of the first resistor is determined according to the detection result.
可选的,作为一个实施例,该处理器130用于:该处理器用于:根据该ADC采集的电压和第一对应关系,确定该第一电阻的阻值,该第一对应关系为预设的电压与该第一电阻的阻值之间的对应关系。Optionally, in an embodiment, the processor is configured to: determine, according to the voltage collected by the ADC and the first correspondence, the resistance of the first resistor, where the first correspondence is a preset Correspondence between the voltage and the resistance of the first resistor.
具体而言,在充电设备100检测该USB线缆中第一电阻的阻值之前,可以预设一种或者多种型号的USB线缆中第一电阻的阻值与该USB线缆的属性之间的对应关系,并预设第一电阻的阻值与电压之间的对应关系(即第一对应关系)。不同型号的USB线缆具有不同的属性。举例来说明。对于一根USB线缆,第一电阻是一个固定值,而对于充电设备,检测电路100中的第二电阻的值是固定的。在充电设备100出厂之 前,可以预先利于上述的充电设备100中的检测电路100检测具有不同的第一电阻的USB线缆,即不同型号的USB线缆(不同属性的USB线缆)。确定与不同属性的USB线缆中第一电阻对应的ADC采集的电压,确定出不同的ADC采集的电压与不同的第一电阻的电阻值之间的对应关系(第一对应关系)。并将该对应关系存在该充电设备的存储单元中。例如,如表2所示,Specifically, before the charging device 100 detects the resistance of the first resistor in the USB cable, the resistance of the first resistor in one or more types of USB cables may be preset and the attributes of the USB cable are Correspondence between the two, and preset the correspondence between the resistance of the first resistor and the voltage (ie, the first correspondence). Different models of USB cables have different properties. Give an example. For a USB cable, the first resistance is a fixed value, and for the charging device, the value of the second resistance in the detection circuit 100 is fixed. Before the charging device 100 is shipped, the detection circuit 100 in the charging device 100 described above may be used to detect USB cables having different first resistances, that is, different types of USB cables (USB cables of different attributes). The voltages collected by the ADCs corresponding to the first resistors in the USB cables of different attributes are determined, and the correspondence between the voltages collected by the different ADCs and the resistance values of the different first resistors is determined (first correspondence). And the corresponding relationship exists in the storage unit of the charging device. For example, as shown in Table 2,
表2Table 2
Figure PCTCN2019084708-appb-000002
Figure PCTCN2019084708-appb-000002
在该充电设备100连接到某一根USB线缆,通过检测单元电路100检测该USB线缆的中的第一电阻。该处理器130在获取该ADC采集的电压后,根据该ADC采集的电压和预先存储的对应关系,便可以确定该第一电阻的电阻值,从而可以确定该第一电阻的属性。例如,ADC采集的电压为55mv,处理器130通过查表,得到55mv对应的第一电阻的阻值是20KΩ。确定了该第一电阻的阻值,便可以确定该USB线缆的属性。The charging device 100 is connected to a certain USB cable, and the first resistance in the USB cable is detected by the detecting unit circuit 100. After acquiring the voltage collected by the ADC, the processor 130 can determine the resistance value of the first resistor according to the voltage collected by the ADC and the pre-stored correspondence, so that the attribute of the first resistor can be determined. For example, the voltage collected by the ADC is 55mv, and the processor 130 obtains a resistance value of 20KΩ corresponding to the first resistor of 55mv by looking up the table. The resistance of the first resistor is determined to determine the properties of the USB cable.
应理解,表2只是示例性的,不应对本申请的实施例造成任何限制。上述的对应关系还可以包括更多电压和电阻值之间的对应关系。该USB线缆属性还可以包括其他的内容。本申请实施例在此不作限制。It should be understood that Table 2 is merely exemplary and should not impose any limitation on the embodiments of the present application. The above correspondence may also include a correspondence between more voltages and resistance values. The USB cable properties can also include other content. The embodiments of the present application are not limited herein.
还应理解,当处理器130获取ADC采集的电压后,通过查表不能获知该第一电阻的阻值时,例如,表中没有与ADC采集的电压对应的第一电阻的阻值时,即不能确定该USB线缆的属性,在这种情况下,在利用该充电设备100和该USB线缆对其他设备进行充电时,该充电设备100将按照协议的相关的其他规定控制充电电流。例如,将充电电流调整到标准协议规定的充电电流或者最小的充电电流。本申请实施例在此不作限制。It should also be understood that when the processor 130 obtains the voltage collected by the ADC, the resistance of the first resistor cannot be known by looking up the table. For example, when there is no resistance of the first resistor corresponding to the voltage collected by the ADC, The properties of the USB cable cannot be determined, in which case the charging device 100 will control the charging current in accordance with other provisions of the protocol when charging the other device with the charging device 100 and the USB cable. For example, the charging current is adjusted to the charging current specified by the standard protocol or the minimum charging current. The embodiments of the present application are not limited herein.
可选的,作为一个实施例,该检测电路110包括电流计,该电流计的第一端与该第一电阻连接,该电流计的第二端与该电源140连接,该处理器获取该电流计的检测结果,该检测结果为该电流记检测的电流值。Optionally, as an embodiment, the detecting circuit 110 includes an ammeter, the first end of the ammeter is connected to the first resistor, and the second end of the ammeter is connected to the power source 140, and the processor acquires the current. The test result is the current value detected by the current note.
具体而言,如图6所示,该检测电路110包括电流计,该电流计的第一端与该第一电阻连接,该电流计的第二端与该充电设备的电源140连接,电源140用于给电流计提供检测电压。处理器130获取该电流计的检测结果,该检测结果为该电流记检测 的电流值。Specifically, as shown in FIG. 6 , the detecting circuit 110 includes an ammeter, the first end of the ammeter is connected to the first resistor, and the second end of the ammeter is connected to the power source 140 of the charging device, and the power source 140 Used to provide a sense voltage to the ammeter. The processor 130 acquires the detection result of the current meter, and the detection result is the current value detected by the current meter.
在该充电设备100连接该USB线缆后,如图6所示,电源140用于给该第一电阻提供检测电压,由于该第一电阻的第二端与该USB线缆的地线连接,因此,该电流计检测的电流为流过该第一电阻的电流。相当于电源140、电流计、第一电阻组成一个电流回路。该处理器130获取该电流计的检测结果后,根据电源140提供的检测电压值,便可以计算得到该第一电阻的电阻值。After the charging device 100 is connected to the USB cable, as shown in FIG. 6, the power source 140 is configured to provide a detection voltage to the first resistor. Since the second end of the first resistor is connected to the ground of the USB cable, Therefore, the current detected by the ammeter is the current flowing through the first resistor. It is equivalent to the power source 140, the ammeter, and the first resistor to form a current loop. After the processor 130 obtains the detection result of the ammeter, the resistance value of the first resistor can be calculated according to the detected voltage value provided by the power source 140.
可选的,作为一个实施例,该处理器130用于:根据该电流值和该检测电压,确定该第一电阻的电阻。Optionally, as an embodiment, the processor 130 is configured to determine a resistance of the first resistor according to the current value and the detection voltage.
具体而言,处理器130根据该电流计的检测结果和该充电设备的电源140提供的检测电压,可以计算出该第一电阻的电阻值,确定了该第一电阻的阻值,便可以和上述的方式一样,通过查找预设的第一电阻的阻值与该USB线缆的属性之间的对应关系表,确定该USB线缆的属性。Specifically, the processor 130 can calculate the resistance value of the first resistor according to the detection result of the current meter and the detection voltage provided by the power source 140 of the charging device, and determine the resistance value of the first resistor, and then In the same manner as above, the attribute of the USB cable is determined by searching a correspondence table between the resistance of the preset first resistor and the attribute of the USB cable.
应理解,当充电设备100得到该第一电阻的阻值时,通过查表不能获知与该第一电阻的阻值对应的USB线缆属性时。在这种情况下,在利用该充电设备100和该USB线缆对其他设备进行充电时,该充电设备100将按照协议的相关的其他规定控制充电电流。例如,将充电电流调整到标准协议规定的充电电流或者最小的充电电流。本申请实施例在此不作限制。It should be understood that when the charging device 100 obtains the resistance of the first resistor, the USB cable attribute corresponding to the resistance of the first resistor cannot be obtained by looking up the table. In this case, when the charging device 100 and the USB cable are used to charge other devices, the charging device 100 will control the charging current in accordance with other regulations related to the protocol. For example, the charging current is adjusted to the charging current specified by the standard protocol or the minimum charging current. The embodiments of the present application are not limited herein.
可选的,作为一个实施例,该检测电路110包括电压比较器和参考电路,该参考电路包括可调电阻,该可调电阻的第一端与该电源140连接,该可调电阻的第二端与该电压比较器的第一输入端连接,该电压比较器的第二输入端的输入电压为该第一电阻两端的电压,该电压比较器用于比较该第一电阻两端的电压和该参考电路的电压,该处理器130用于控制该可调电阻的阻值的大小,并从该电压比较器输出端获取该电压比较器的输出结果。Optionally, as an embodiment, the detecting circuit 110 includes a voltage comparator and a reference circuit, the reference circuit includes an adjustable resistor, and the first end of the adjustable resistor is connected to the power source 140, and the second of the adjustable resistor The terminal is connected to the first input end of the voltage comparator, the input voltage of the second input end of the voltage comparator is a voltage across the first resistor, and the voltage comparator is configured to compare the voltage across the first resistor with the reference circuit The voltage of the processor 130 is used to control the magnitude of the resistance of the adjustable resistor, and the output result of the voltage comparator is obtained from the output of the voltage comparator.
具体而言,如图7所示,检测电路110包括电压比较器和参考电路,电压比较器是将一个模拟电压信号与一个基准电压相比较的电路。电压比较器的两路输入为模拟信号,输出则为二进制信号0或1,当两个输入电压的差值增大或减小且正负符号不变时,其输出保持恒定。例如,当“V+”输入端的电压大于“V-”输入端的电压时,电压比较器输出(V out)为0,当“V+”输入端的电压小于或者等于“V-”输入端的电压时,电压比较器的输出发生变化(翻转),即从0变为1。 Specifically, as shown in FIG. 7, the detection circuit 110 includes a voltage comparator and a reference circuit, and the voltage comparator is a circuit that compares an analog voltage signal with a reference voltage. The two inputs of the voltage comparator are analog signals, and the output is binary signal 0 or 1. When the difference between the two input voltages increases or decreases and the positive and negative signs do not change, the output remains constant. For example, when the "V +" voltage input terminal is greater than the voltage at the input of "V-", the voltage comparator output (V out) is 0, when "V +" voltage input terminal is less than or equal to "V-" when the voltage at the input voltage The output of the comparator changes (flips), from 0 to 1.
该电压比较器用于比较该第一电阻两端的电压和参考电路电压。在图7中,V+端的电压为该第一电阻两端的电压,V-端的电压为参考电路的电压。该参考电路包括可调电阻,可调电阻的阻值是可以改变的。该可调电阻的第一端与该充电设备的电源140连接,电源140用于给该参考电路提供检测电压。该充电设备的电源140还与电压比较器的连接,用于给电压比较器提供电源。该可调电阻的第二端与该电压比较器的第一输入端(V-端)连接,即与电压比较器输入端V-连接。由于该第一电阻的第二端与该USB线缆的地线连接,该比较器的第二输入端(V+端)的输入电压为该第一电阻两端的电压。其中,检测电路100中的第三电阻用于给该第一电阻分压,该第三电阻的阻值是固定的。第四电阻用于该比较器组成电路回路,该第四电阻的阻值也是固定的。处理器130通过控制改变可调电阻的阻值的大小,并从该电压比较器输出端获取该电压比较器的输出结果。The voltage comparator is for comparing the voltage across the first resistor with a reference circuit voltage. In FIG. 7, the voltage at the V+ terminal is the voltage across the first resistor, and the voltage at the V- terminal is the voltage of the reference circuit. The reference circuit includes an adjustable resistor, and the resistance of the adjustable resistor can be changed. The first end of the adjustable resistor is coupled to a power source 140 of the charging device, and the power source 140 is configured to provide a detection voltage to the reference circuit. The power supply 140 of the charging device is also coupled to a voltage comparator for providing power to the voltage comparator. The second end of the adjustable resistor is connected to the first input terminal (V- terminal) of the voltage comparator, that is, to the voltage comparator input terminal V-. Since the second end of the first resistor is connected to the ground of the USB cable, the input voltage of the second input terminal (V+ terminal) of the comparator is the voltage across the first resistor. The third resistor in the detecting circuit 100 is used to divide the first resistor, and the resistance of the third resistor is fixed. The fourth resistor is used for the comparator to form a circuit loop, and the resistance of the fourth resistor is also fixed. The processor 130 controls the magnitude of the resistance of the adjustable resistor by controlling, and obtains the output result of the voltage comparator from the output of the voltage comparator.
在该充电设备100连接该USB线缆后,电源140用于给电压比较器、参考电路和第一电阻提供电压。由于对于一个充电设备100和一根USB线缆而言,第三电阻、第一电阻和第四电阻的值都是固定的,提供给参考电路和第一电阻的检测电压也是固定的。即V+端的输入电压不会发生变化。因此,处理器130可以通过可调电阻的阻值,控制V-端的输入电压,然后根据该电压比较器的输出结果。确定该第一电阻的阻值。After the charging device 100 is connected to the USB cable, the power source 140 is used to supply a voltage to the voltage comparator, the reference circuit, and the first resistor. Since the values of the third resistor, the first resistor, and the fourth resistor are fixed for one charging device 100 and one USB cable, the detection voltage supplied to the reference circuit and the first resistor is also fixed. That is, the input voltage at the V+ terminal does not change. Therefore, the processor 130 can control the input voltage of the V- terminal by the resistance of the adjustable resistor, and then according to the output result of the voltage comparator. The resistance of the first resistor is determined.
可选的,该可调电阻可以是电阻阵列,处理器130可以控制该电阻阵列,使得电阻阵列输出不同的电阻值。该可调电阻还可以是其他电阻可变的电子元件。本申请实施例在此不作限制。Optionally, the adjustable resistor may be an array of resistors, and the processor 130 may control the resistor array such that the resistor array outputs different resistance values. The adjustable resistor can also be other variable resistance electronic components. The embodiments of the present application are not limited herein.
可选的,作为一个实施例。该处理器130用于:当该电压比较器的输出结果发生变化时,确定该电压比较器的输出结果发生变化时该可调电阻的阻值;Optionally, as an embodiment. The processor 130 is configured to: when the output result of the voltage comparator changes, determine a resistance value of the adjustable resistor when the output result of the voltage comparator changes;
根据该电压比较器的输出结果发生变化时该可调电阻的阻值和第二对应关系,确定该第一电阻的阻值,该第二对应关系为预设的阻值和该第一电阻的阻值之间的对应关系。Determining a resistance value of the first resistor according to a resistance value of the adjustable resistor and a second corresponding relationship when the output result of the voltage comparator changes, the second correspondence is a preset resistance value and the first resistance Correspondence between resistance values.
具体而言,在充电设备100出厂之前,可以预设一种或者多种型号的USB线缆中第一电阻的阻值与可调电阻的不同阻值之间的对应关系。对于一根USB线缆,第一电阻是一个固定值,而对于充电设备,检测电路100中第三电阻和第四电阻也是固定的,在出厂之前,可以预先利于上述的充电设备100检测具有不同属性的USB线缆(具有不同的第一电阻的阻值)。确定与不同属性的USB线缆中第一电阻和可调电阻的阻值之间的对应关系(第二对应关系),即记录检测不同属性的USB线缆中的第一电阻的过程中,在该电压比较器的输出结果发生翻转时,该可调电阻的阻值与该USB线缆中第一电阻的阻值之间的对应关系。并将不同属性的USB线缆对应关系存储在该充电设备100中。Specifically, before the charging device 100 is shipped from the factory, the correspondence between the resistance of the first resistor of the one or more types of USB cables and the different resistance values of the adjustable resistors may be preset. For a USB cable, the first resistor is a fixed value, and for the charging device, the third resistor and the fourth resistor in the detecting circuit 100 are also fixed, and the charging device 100 can be preliminarily detected before the factory is shipped. Properties of the USB cable (with different resistance values of the first resistor). Determining a correspondence relationship between the resistances of the first resistor and the adjustable resistor in the USB cable of different attributes (second correspondence), that is, recording the first resistance in the USB cable detecting different attributes, in When the output of the voltage comparator is inverted, the resistance of the adjustable resistor is corresponding to the resistance of the first resistor in the USB cable. The USB cable correspondence of different attributes is stored in the charging device 100.
举例来说明,在该充电设备100出厂之前,利于该充电设备100中的检测电路100预先检测第一根USB线缆(具有第一属性)中的第一电阻,例如,当可调电阻的值为44KΩ时,电压比较器的输出结果发生翻转,记录第一电阻的阻值和电压比较器的输出结果发生翻转时可调电阻的阻值。并确定该USB线缆的属性。检测第二根USB线缆(具有第二属性)中的第一电阻,例如,当电阻阵列的值为51KΩ时,电压比较器的输出结果发生翻转,记录第一电阻的阻值和电压比较器的输出结果发生翻转时可调电阻的阻值。并确定该USB线缆的属性。检测第三根USB线缆(具有第三属性)中的第一电阻,例如,当电阻阵列的值为56KΩ时,电压比较器的输出结果发生翻转,记录第一电阻的阻值和电压比较器的输出结果发生翻转时可调电阻的阻值。并确定该USB线缆的属性,并将该对应关系存在该充电设备100中。例如,如表3所示,For example, before the charging device 100 is shipped from the factory, the detecting circuit 100 in the charging device 100 preliminarily detects the first resistance in the first USB cable (having the first attribute), for example, when the value of the adjustable resistor When it is 44KΩ, the output of the voltage comparator is inverted, and the resistance of the first resistor and the resistance of the adjustable resistor when the output of the voltage comparator are inverted are recorded. And determine the properties of the USB cable. Detecting a first resistance in the second USB cable (having the second attribute), for example, when the value of the resistance array is 51KΩ, the output of the voltage comparator is inverted, and the resistance of the first resistor and the voltage comparator are recorded. The output of the output is the resistance of the adjustable resistor when it is flipped. And determine the properties of the USB cable. Detecting a first resistance in the third USB cable (having a third attribute), for example, when the value of the resistor array is 56KΩ, the output of the voltage comparator is inverted, and the resistance of the first resistor and the voltage comparator are recorded. The output of the output is the resistance of the adjustable resistor when it is flipped. And determining the attribute of the USB cable, and the corresponding relationship exists in the charging device 100. For example, as shown in Table 3,
表3table 3
Figure PCTCN2019084708-appb-000003
Figure PCTCN2019084708-appb-000003
Figure PCTCN2019084708-appb-000004
Figure PCTCN2019084708-appb-000004
在需要利用上述的充电设备100通过某一根USB线缆给终端设备充电时,将该充电设备100连接该USB线缆后,由于该USB线缆中的第一电阻的阻值固定,第三电阻也是固定值,即该电压比较器的V+端的输入电压为定值。该电压比较器V-端的输入电压与可调电阻的阻值相关,即该电压比较器的V-端的输入电压为可变的。因此,处理器130通过不断调整该可调电阻的阻值,即改变比较器V-端的输入电压。并获取电压比较器的输出结果。当电压比较器的输出结果发生翻转时,证明电压比较器的V+端的输入电压和V-端的输入电压相同,根据电压比较器输出结果发生翻转时该可调电阻的阻值,并根据上述预设的第二对应关系,确定与可调电阻的阻值对应的第一电阻的阻值。例如,该充电设备100利用上述的检测电路110检测该USB线缆中第一电阻。例如,在调整该可调电阻的阻值,使得电压比较器的输出结果发生翻转。假设电压比较器的输出结果发生翻转时,该可调电阻的阻值为56KΩ,通过上述的表2的对应关系,可以确定该USB线缆中第一电阻阻值为30KΩ,从而确定该USB线缆属性。确定了该USB线缆属性后,在USB线缆的一端连接该充电设备,另一端连接被充电点设备时(例如手机),该充电设备可以根据该USB线缆属性,例如,该USB线缆的电流传输能力等,调整给被充电设备进行充电时的充电电流,避免充电电流过大引起的该USB线缆燃烧等隐患的发生,提高安全性。还可以充分的利用USB线缆的传输电流的能力,例如,在该USB线缆可承载的范围内,将充电电流增大,提高USB线缆的使用效率,提高用户体验。When the charging device 100 is required to charge the terminal device through a USB cable, after the charging device 100 is connected to the USB cable, the resistance of the first resistor in the USB cable is fixed, and the third The resistance is also a fixed value, that is, the input voltage of the V+ terminal of the voltage comparator is constant. The input voltage of the V- terminal of the voltage comparator is related to the resistance of the adjustable resistor, that is, the input voltage of the V- terminal of the voltage comparator is variable. Therefore, the processor 130 changes the resistance of the adjustable resistor, that is, changes the input voltage of the V- terminal of the comparator. And get the output result of the voltage comparator. When the output result of the voltage comparator is inverted, it is proved that the input voltage of the V+ terminal of the voltage comparator is the same as the input voltage of the V- terminal, and the resistance of the adjustable resistor is inverted according to the output result of the voltage comparator, and according to the above preset The second correspondence relationship determines the resistance of the first resistor corresponding to the resistance of the adjustable resistor. For example, the charging device 100 detects the first resistance in the USB cable using the detection circuit 110 described above. For example, the resistance of the adjustable resistor is adjusted such that the output of the voltage comparator is inverted. Assuming that the output of the voltage comparator is inverted, the resistance of the adjustable resistor is 56KΩ. Through the corresponding relationship in Table 2 above, it can be determined that the resistance of the first resistor in the USB cable is 30KΩ, thereby determining the USB cable. Cable properties. After the USB cable property is determined, the charging device is connected to one end of the USB cable, and the other end is connected to the charging point device (for example, a mobile phone), and the charging device can be based on the USB cable property, for example, the USB cable. The current transmission capability, etc., adjusts the charging current when charging the device to be charged, and avoids the occurrence of hidden dangers such as burning of the USB cable caused by excessive charging current, thereby improving safety. It is also possible to fully utilize the ability of the USB cable to transmit current, for example, to increase the charging current within the range that the USB cable can carry, improve the use efficiency of the USB cable, and improve the user experience.
应理解,表3只是示例性的,不应对本申请的实施例造成任何限制。上述的对应关系还可以包括更多对的电阻值之间的对应关系。该USB线缆属性还可以包括其他的内容。本申请实施例在此不作限制。It should be understood that Table 3 is merely exemplary and should not impose any limitation on the embodiments of the present application. The above correspondence may also include a correspondence between more pairs of resistance values. The USB cable properties can also include other content. The embodiments of the present application are not limited herein.
还应理解,当充电设备中的处理器130根据电压比较器的输出结果以及该第二对应关系,不能确定该第一电阻的阻值时。例如,在将可调电阻的所有可能的值都尝试完后,电压比较器的输出结果还没有发生翻转,或者,上述的第二对应关系中没有与电压比较器发生翻转时可调电阻的阻值对应的第一电阻的值,即不能确定该USB线缆的属性时。这种情况下,在利用该充电设备100和该USB线缆对其他设备进行充电时,该充电设备100将按照协议的相关的其他规定控制充电电流。例如,将充电电流调整到标准协议规定的充电电流或者最小的充电电流。本申请实施例在此不作限制。It should also be understood that when the processor 130 in the charging device cannot determine the resistance of the first resistor according to the output result of the voltage comparator and the second correspondence. For example, after all possible values of the adjustable resistor are tried, the output of the voltage comparator has not been inverted, or the resistance of the adjustable resistor is not reversed when the voltage comparator is turned over in the second correspondence described above. The value of the first resistor corresponding to the value, that is, when the attribute of the USB cable cannot be determined. In this case, when the charging device 100 and the USB cable are used to charge other devices, the charging device 100 will control the charging current in accordance with other regulations related to the protocol. For example, the charging current is adjusted to the charging current specified by the standard protocol or the minimum charging current. The embodiments of the present application are not limited herein.
还应理解,在本申请实施例中,该检测电路110的包括的具体电路结构还可以是其他结构,该检测电路110还可以包括用于检测该第一电阻的其他电子元器件。本申请实施例在此不作限制。It should also be understood that, in the embodiment of the present application, the specific circuit structure included in the detecting circuit 110 may also be other structures, and the detecting circuit 110 may further include other electronic components for detecting the first resistor. The embodiments of the present application are not limited herein.
还应理解,该充电设备100还可以包括存储单元,用于存储上述的各种对应关系或者处理执行的计算程序等。该存储单元还可以是充电设备内位于充电设备的芯片外部的存储单元,如只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)等。其中,上述任一处提到的处理器,可以是中央处理器(central processing unit,CPU),网络处理器(network processor,NP)或者CPU和NP的组合、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,或一个或多个用于控制充电神检测第一电阻的集成电路。It should also be understood that the charging device 100 may further include a storage unit for storing various correspondences described above or a calculation program executed by the processing or the like. The storage unit may also be a storage unit outside the chip of the charging device in the charging device, such as a read-only memory (ROM) or other type of static storage device that can store static information and instructions, and a random access memory. (random access memory, RAM) and so on. The processor mentioned in any of the above may be a central processing unit (CPU), a network processor (NP) or a combination of a CPU and an NP, and a digital signal processor. DSP), application specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, or one or more An integrated circuit for controlling the charging god to detect the first resistor.
本申请还提供了一种充电系统,该充电系统包括本申请提供的任一种USB线缆和充电设备,该充电系统由上述的USB线缆和充电设备组成,其结构示意图如图4所示。具体的描述可以参考上述对USB线缆和充电设备相关的描述,为了简洁,在此不做赘述。The present application further provides a charging system, which includes any of the USB cables and charging devices provided by the present application. The charging system is composed of the USB cable and the charging device described above, and its structure is shown in FIG. . For a detailed description, reference may be made to the above description of the USB cable and the charging device. For brevity, no further details are provided herein.
下面将结合具体的例子说明本申请提供的充电系统。The charging system provided by the present application will be described below with reference to specific examples.
以利用本申请提供的充电系统给手机充电为例进行说明。如图8所示,图8是本申请提供的充电系统的一种典型的应用场景图。当本申请提供的USB线缆一端插入手机,另一端插入本申请提供的充电设备时。其具体的充电流程如图9所示。充电设备首先会检测该线缆USB中的第一电阻。具体的检测方式如上述的检测方式。当检测到第一电阻,根据第一电阻的阻值确定了该USB线缆属性后。充电设备可以根据该USB线缆属性,调整充电电流,如图9所示的,可以启动快充,并且当该USB线缆温度上升到预设的温度门限值时,可以启动热保护措施。例如,充电设备可以减小充电电流等。当温度持续上升到充电停止门限值时。充电设备可以强制停止充电。或者,当温度降到充电停止门限值之下后,又可以继续进行充电等。当没有检测到第一电阻,或者,检测到第一电阻,但是不能确定该USB线缆属性时。充电设备根据预设的标准协议规定的充电电流或者最小的充电电流进行充电。例如,将以500mA的电流完成充电。The charging of the mobile phone using the charging system provided by the present application will be described as an example. As shown in FIG. 8, FIG. 8 is a typical application scenario diagram of the charging system provided by the present application. When one end of the USB cable provided in the present application is inserted into the mobile phone and the other end is inserted into the charging device provided by the present application. The specific charging process is shown in Figure 9. The charging device first detects the first resistance in the cable USB. The specific detection method is the above detection method. When the first resistance is detected, the USB cable property is determined according to the resistance of the first resistor. The charging device can adjust the charging current according to the properties of the USB cable. As shown in FIG. 9, the fast charging can be started, and when the temperature of the USB cable rises to a preset temperature threshold, the thermal protection can be activated. For example, the charging device can reduce the charging current and the like. When the temperature continues to rise to the charge stop threshold. The charging device can forcibly stop charging. Alternatively, when the temperature falls below the charge stop threshold, charging can continue. When the first resistance is not detected, or the first resistance is detected, but the USB cable property cannot be determined. The charging device charges according to a charging current specified by a preset standard protocol or a minimum charging current. For example, charging will be completed at a current of 500 mA.
本申请提供的充电系统,可以根据USB的线缆属性,调整对终端设备进行充电时的充电电流的大小。避免充电电流过大引起的USB线缆燃烧等隐患的发生,提高安全性。还可以充分的利用USB线缆的传输电流的能力,提高USB线缆的使用效率,提高用户体验。The charging system provided by the present application can adjust the charging current when charging the terminal device according to the cable property of the USB. Avoid the occurrence of hidden dangers such as burning of the USB cable caused by excessive charging current, and improve safety. It can also fully utilize the ability of the USB cable to transmit current, improve the use efficiency of the USB cable, and improve the user experience.
应理解,图9仅仅是示例性的,该充电系统还可以根据该USB线缆属性,控制数据传输时数据传输速率、确定该USB线缆的生产厂家、产品编号等信息。本申请实施例在此不作限制。It should be understood that FIG. 9 is merely exemplary. The charging system may also control data transmission rate during data transmission, determine the manufacturer of the USB cable, product number, and the like according to the USB cable property. The embodiments of the present application are not limited herein.
还应理解,在本申请的各个实施例中,第一、第二等只是为了表示多个对象是不同的。例如第一电阻和第二电阻只是为了表示出不同的电阻。而不应该对电阻的本身产生任何影响,上述的第一、第二等不应该对本申请的实施例造成任何限制。It should also be understood that in various embodiments of the present application, the first, second, etc. are merely meant to indicate that the plurality of objects are different. For example, the first resistor and the second resistor are only intended to indicate different resistances. Rather than having any effect on the resistance itself, the first, second, etc. described above should not impose any limitation on the embodiments of the present application.
还应理解,上述只是为了帮助本领域技术人员更好地理解本申请实施例,而非要限制本申请实施例的范围。本领域技术人员根据所给出的上述示例,显然可以进行各种等价的修改或变化,或者可以新加入某些步骤等。或者上述任意两种或者任意多种 实施例的组合。这样的修改、变化或者组合后的方案也落入本申请实施例的范围内。It should be understood that the above description is only intended to help those skilled in the art to understand the embodiments of the present application, and not to limit the scope of the embodiments of the present application. It will be apparent to those skilled in the <RTIgt;the</RTI> <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; Or a combination of any two or any of the above embodiments. Such modifications, changes, or combinations are also within the scope of the embodiments of the present application.
还应理解,上文对本申请实施例的描述着重于强调各个实施例之间的不同之处,未提到的相同或相似之处可以互相参考,为了简洁,这里不再赘述。It should be understood that the above description of the embodiments of the present application is emphasized to emphasize the differences between the various embodiments, and the same or similar points that are not mentioned may be referred to each other, and are not described herein again for brevity.
还应理解,上述各个过程的叙述过程的先后顺序并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It is also to be understood that the order of the description of the various processes described above is not intended to be a limitation of the order of execution. The order of execution of the processes is determined by the function and the intrinsic logic, and should not be construed as limiting the implementation of the embodiments of the present application.
应理解,本文中术语“和/或”以及“A或B中的至少一种”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the terms "and/or" and "at least one of A or B" herein are merely an association describing the associated object, indicating that there may be three relationships, for example, A and/or B, Representation: There are three cases where A exists separately, A and B exist at the same time, and B exists separately. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The foregoing is only a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application. It should be covered by the scope of protection of this application. Therefore, the scope of protection of the present application should be determined by the scope of the claims.

Claims (13)

  1. 一种充电设备,其特征在于,所述充电设备包括检测电路、通用串行总线USB接口和处理器,A charging device, characterized in that the charging device comprises a detecting circuit, a universal serial bus USB interface and a processor,
    所述USB接口用于连接USB线缆,所述USB线缆的信号通道的电路中包括第一电阻,所述第一电阻的阻值用于标识所述USB线缆的属性;The USB interface is configured to connect a USB cable, and the circuit of the signal channel of the USB cable includes a first resistor, and the resistance of the first resistor is used to identify an attribute of the USB cable;
    所述检测电路用于检测所述第一电阻,并将检测结果上报给所述处理器,所述检测电路的第一端通过所述USB接口与所述第一电阻连接,所述检测电路的第二端与所述充电设备的电源连接,所述检测电路从所述电源获取检测电压;The detecting circuit is configured to detect the first resistor, and report the detection result to the processor, where the first end of the detecting circuit is connected to the first resistor through the USB interface, and the detecting circuit is The second end is connected to a power source of the charging device, and the detecting circuit acquires a detection voltage from the power source;
    所述处理器用于:获取所述检测电路的检测结果;The processor is configured to: acquire a detection result of the detection circuit;
    根据所述第一电阻的检测结果,确定所述第一电阻的阻值;Determining a resistance value of the first resistor according to a detection result of the first resistor;
    根据所述第一电阻的阻值,确定所述USB线缆的属性。Determining an attribute of the USB cable according to a resistance of the first resistor.
  2. 根据权利要求1所述的充电设备,其特征在于,所述处理器还用于:The charging device according to claim 1, wherein the processor is further configured to:
    根据所述USB线缆的属性,控制所述充电设备对所述USB线缆的输出电流的大小。Controlling, according to an attribute of the USB cable, a magnitude of an output current of the charging device to the USB cable.
  3. 根据权利要求1或2所述的充电设备,其特征在于,A charging apparatus according to claim 1 or 2, wherein
    所述检测电路包括模数转换器ADC和第二电阻,所述第二电阻的两端分别与所述电源和所述第一电阻连接,所述ADC连接在所述第二电阻和所述第一电阻之间的电路上,用于采集所述第一电阻两端的电压,所述处理器获取检测结果,所述检测结果为所述ADC采集的电压。The detecting circuit includes an analog-to-digital converter ADC and a second resistor, two ends of the second resistor are respectively connected to the power source and the first resistor, and the ADC is connected to the second resistor and the first A circuit between the resistors is configured to collect a voltage across the first resistor, and the processor obtains a detection result, where the detection result is a voltage collected by the ADC.
  4. 根据权利要求3所述的充电设备,其特征在于,所述处理器用于:根据所述ADC采集的电压和第一对应关系,确定所述第一电阻的阻值,所述第一对应关系为预设的电压与所述第一电阻的阻值之间的对应关系。The charging device according to claim 3, wherein the processor is configured to: determine a resistance of the first resistor according to a voltage collected by the ADC and a first correspondence, the first correspondence is a correspondence between a preset voltage and a resistance of the first resistor.
  5. 根据权利要求1或2所述的充电设备,其特征在于,所述检测电路包括电流计,所述电流计的第一端与所述第一电阻连接,所述电流计的第二端与所述电源连接,所述处理器获取所述电流计的检测结果,所述检测结果为所述电流记检测的电流值。The charging device according to claim 1 or 2, wherein the detecting circuit comprises an ammeter, the first end of the ammeter is connected to the first resistor, and the second end of the ammeter is In the power connection, the processor acquires a detection result of the ammeter, and the detection result is a current value detected by the current note.
  6. 根据权利要求5所述的充电设备,其特征在于,所述处理器用于:根据所述电流值和所述检测电压,确定所述第一电阻的电阻。The charging device according to claim 5, wherein the processor is configured to determine a resistance of the first resistor according to the current value and the detection voltage.
  7. 根据权利要求1或2所述的充电设备,其特征在于,所述检测电路包括电压比较器和参考电路,所述参考电路包括可调电阻,所述可调电阻的第一端与所述电源连接,所述可调电阻的第二端与所述电压比较器的第一输入端连接,所述电压比较器的第二输入端的输入电压为所述第一电阻两端的电压,所述电压比较器比较所述第一电阻两端的电压和所述参考电路的电压,所述处理器用于控制所述可调电阻的阻值的大小,并从所述电压比较器输出端获取所述电压比较器的输出结果。The charging device according to claim 1 or 2, wherein the detecting circuit comprises a voltage comparator and a reference circuit, the reference circuit comprises an adjustable resistor, the first end of the adjustable resistor and the power source Connecting, the second end of the adjustable resistor is connected to the first input end of the voltage comparator, and the input voltage of the second input end of the voltage comparator is a voltage across the first resistor, the voltage comparison Comparing a voltage across the first resistor and a voltage of the reference circuit, the processor is configured to control a magnitude of a resistance of the adjustable resistor, and obtain the voltage comparator from the voltage comparator output The output.
  8. 根据权利要求7所述的充电设备,其特征在于,所述处理器用于:The charging device according to claim 7, wherein said processor is configured to:
    当所述电压比较器的输出结果发生变化时,确定所述电压比较器的输出结果发生变化时所述可调电阻的阻值;When the output result of the voltage comparator changes, determining the resistance of the adjustable resistor when the output result of the voltage comparator changes;
    根据所述电压比较器的输出结果发生变化时所述可调电阻的阻值和第二对应关系,确定所述第一电阻的阻值,所述第二对应关系为预设的阻值和所述第一电阻的阻值之间的对应关系。Determining a resistance value of the first resistor according to a resistance value of the adjustable resistor and a second correspondence relationship when the output result of the voltage comparator changes, and the second correspondence relationship is a preset resistance value and a Corresponding relationship between the resistance values of the first resistors.
  9. 根据权利要求1至8中任一项所述的充电设备,其特征在于,所述USB线缆的属性包括:The charging device according to any one of claims 1 to 8, wherein the attributes of the USB cable comprise:
    所述USB线缆数据传输能力和所述USB线缆的电流传输能力中的至少一个。At least one of the USB cable data transmission capability and the current transmission capability of the USB cable.
  10. 一种通用串行总线USB线缆,其特征在于,所述USB线缆包括USB插头、USB插座和线缆,所述USB线缆的信号道通的电路中包括第一电阻,所述第一电阻设置在所述USB插头或USB插座的引脚处,所述第一电阻的阻值用于标识所述USB线缆的属性。A universal serial bus USB cable, characterized in that the USB cable comprises a USB plug, a USB socket and a cable, and the signal of the USB cable includes a first resistor, the first A resistor is disposed at a pin of the USB plug or USB socket, and a resistance of the first resistor is used to identify an attribute of the USB cable.
  11. 根据权利要求10所述的USB线缆,其特征在于,所述信号通道为配置通道CC。The USB cable according to claim 10, wherein the signal channel is a configuration channel CC.
  12. 根据权利要求10或11所述的USB线缆,其特征在于,所述USB线缆的属性包括:The USB cable according to claim 10 or 11, wherein the attributes of the USB cable comprise:
    所述USB线缆的数据传输能力和所述USB线缆的电流传输能力中的至少一个。At least one of a data transmission capability of the USB cable and a current transmission capability of the USB cable.
  13. 一种充电系统,其特征在于,包括权利要求1至9中任一项所述的充电设备和权利要求10至12中任一项所述的USB线缆。A charging system comprising the charging device according to any one of claims 1 to 9 and the USB cable according to any one of claims 10 to 12.
PCT/CN2019/084708 2018-04-28 2019-04-28 Charging device, usb cable and charging system WO2019206317A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810401458.6A CN110417069B (en) 2018-04-28 2018-04-28 Charging device, USB cable and charging system
CN201810401458.6 2018-04-28

Publications (1)

Publication Number Publication Date
WO2019206317A1 true WO2019206317A1 (en) 2019-10-31

Family

ID=68293471

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/084708 WO2019206317A1 (en) 2018-04-28 2019-04-28 Charging device, usb cable and charging system

Country Status (2)

Country Link
CN (1) CN110417069B (en)
WO (1) WO2019206317A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111157813B (en) * 2019-12-31 2022-09-09 Oppo广东移动通信有限公司 Method and device for determining charging current
CN111444049B (en) * 2020-03-05 2022-05-13 瑞芯微电子股份有限公司 USB cable, multifunctional USB debugging method, debugger and debugging device
CN111404227A (en) * 2020-03-30 2020-07-10 维沃移动通信有限公司 Charging method, OTG cable and electronic equipment
CN111651392B (en) * 2020-05-21 2022-01-28 上海龙旗科技股份有限公司 Method, system and equipment for connecting wearable equipment
TWI723920B (en) * 2020-07-16 2021-04-01 宏碁股份有限公司 Power delivery system with improved lifetime
CN111881072B (en) * 2020-07-30 2021-11-23 武汉精立电子技术有限公司 High-speed USB TYPE-C interface device supporting bidirectional transmission and graphic signal generator
CN112713627B (en) * 2020-12-24 2023-04-18 Oppo广东移动通信有限公司 Voltage control method, voltage control device, storage medium, and electronic apparatus
CN114138377B (en) * 2022-02-08 2022-07-05 荣耀终端有限公司 Electronic device, control method thereof, and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365388A (en) * 2012-04-09 2013-10-23 华为终端有限公司 Power supply method of terminal device and terminal device
CN106059010A (en) * 2016-07-29 2016-10-26 深圳市云充吧科技有限公司 Mobile power supply and data processing method thereof
CN106374309A (en) * 2016-11-02 2017-02-01 上海传英信息技术有限公司 USB transmission line, mobile terminal and USB charging method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102011003518B4 (en) * 2011-02-02 2013-01-03 Siemens Aktiengesellschaft Method for protecting a charging cable and charging device
CN106170710A (en) * 2015-04-29 2016-11-30 广东欧珀移动通信有限公司 Identify the method for type, power supply adaptor and the cable of cable

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365388A (en) * 2012-04-09 2013-10-23 华为终端有限公司 Power supply method of terminal device and terminal device
CN106059010A (en) * 2016-07-29 2016-10-26 深圳市云充吧科技有限公司 Mobile power supply and data processing method thereof
CN106374309A (en) * 2016-11-02 2017-02-01 上海传英信息技术有限公司 USB transmission line, mobile terminal and USB charging method

Also Published As

Publication number Publication date
CN110417069B (en) 2021-08-20
CN110417069A (en) 2019-11-05

Similar Documents

Publication Publication Date Title
WO2019206317A1 (en) Charging device, usb cable and charging system
JP6328795B2 (en) Baseband PD communication via USB standard A connector
CN106291210B (en) USB interface detector, USB interface detection method, USB connector and electronic equipment
CN100495377C (en) Method for inspecting type of connected peripheral apparatus and terminal interface
US9866055B2 (en) Automatic scheme to detect multi-standard charger types
TWI360278B (en) Power source detection system, charger can provide
WO2017161746A1 (en) User equipment
EP2860639A1 (en) Communication control pins in a dual row connector
TW595239B (en) Detection circuit to detect the earphone type plugged into the insertion hole
WO2018176901A1 (en) Adapter, terminal device and adapter system
WO2017152424A1 (en) Method and terminal device for establishing connection between devices with universal serial bus usb type-c interface
US20110093643A1 (en) Electronic device and method thereof for identifying electronic accessory
US20160004650A1 (en) Portable device, cable assembly, and usb system
US9547573B2 (en) Serial communication over communication control pin
CN106549459B (en) Determination method of charging voltage and mobile terminal
US20200166980A1 (en) Intelligent storage device and method for accessing intelligent storage device
WO2018018916A1 (en) Charging system, terminal, power adapter and charging line
WO2018090174A1 (en) Charging method and related device
TWI554889B (en) Electric system
CN108054541B (en) Switching device, multi-equipment detection system and detection method thereof
CN113937845A (en) Charging system, charged device and port protection method
WO2020048276A1 (en) Charging interface protection method and charging device
TWI396348B (en) Connector, connection detection method and adapter using the same
WO2018094868A1 (en) Method and device for monitoring condition of charging link in real time
US9496737B2 (en) Charge devices and charge systems

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

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

Country of ref document: EP

Kind code of ref document: A1