[go: up one dir, main page]

CN111817096A - Data cables and charging equipment - Google Patents

Data cables and charging equipment Download PDF

Info

Publication number
CN111817096A
CN111817096A CN202010673773.1A CN202010673773A CN111817096A CN 111817096 A CN111817096 A CN 111817096A CN 202010673773 A CN202010673773 A CN 202010673773A CN 111817096 A CN111817096 A CN 111817096A
Authority
CN
China
Prior art keywords
pin
interface
switch
type
control module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010673773.1A
Other languages
Chinese (zh)
Other versions
CN111817096B (en
Inventor
李达寰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010673773.1A priority Critical patent/CN111817096B/en
Publication of CN111817096A publication Critical patent/CN111817096A/en
Application granted granted Critical
Publication of CN111817096B publication Critical patent/CN111817096B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • G06F13/4072Drivers or receivers
    • G06F13/4077Precharging or discharging
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R27/00Coupling parts adapted for co-operation with two or more dissimilar counterparts
    • H02J7/40

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

本申请公开了一种数据线和充电设备,属于通信技术领域。其中,数据线包括:Type‑A接口和Type‑C接口,第一Type‑A接口和Type‑C接口中的VBUS引脚、通信引脚和GND引脚一一对应连接,在数据线与第一充电器连接时,数据线中的第一切换电路,控制第一Type‑A接口中的CC引脚与Type‑C接口中的CC引脚连通;在所述数据线与第二充电器连接时,第一切换电路控制第一Type‑A接口中的CC引脚与Type‑C接口中的CC引脚断开,且Type‑C接口中的CC引脚与VBUS引脚连通。本申请实施例能够在数据线与第一充电器连接时经CC引脚实现PD充电功能。

Figure 202010673773

The application discloses a data cable and a charging device, belonging to the technical field of communication. Wherein, the data line includes: Type-A interface and Type-C interface, the VBUS pin, communication pin and GND pin in the first Type-A interface and Type-C interface are connected in one-to-one correspondence. When a charger is connected, the first switching circuit in the data line controls the CC pin in the first Type-A interface to communicate with the CC pin in the Type-C interface; when the data line is connected with the second charger When , the first switching circuit controls the CC pin in the first Type-A interface to be disconnected from the CC pin in the Type-C interface, and the CC pin in the Type-C interface is connected with the VBUS pin. The embodiment of the present application can implement the PD charging function through the CC pin when the data line is connected to the first charger.

Figure 202010673773

Description

数据线和充电设备Data cables and charging equipment

技术领域technical field

本申请属于通信技术领域,具体涉及一种数据线和充电设备。The present application belongs to the field of communication technologies, and specifically relates to a data cable and a charging device.

背景技术Background technique

随着科技的发展,快速充电的应用越来越广泛。With the development of science and technology, the application of fast charging is becoming more and more extensive.

在相关技术中,通常采用电力输送(Power Delivery,PD)协议对笔记本电脑等设备进行快速充电,为支持PD协议充电,充电器需要采用CC信号线进行通信,该支持PD协议充电的充电器通常采用第三标准(Type-C)接口,并搭配Type-C to Type-C的数据线。对于采用第一标准(Type-A或者Standard-A)接口的数据线,由于其不具有连通的CC走线,从而不支持PD充电。In the related art, the Power Delivery (PD) protocol is usually used to quickly charge devices such as notebook computers. In order to support the PD protocol charging, the charger needs to use a CC signal line for communication. The charger supporting the PD protocol charging usually It adopts the third standard (Type-C) interface and is equipped with a Type-C to Type-C data cable. For the data line using the first standard (Type-A or Standard-A) interface, since it does not have a connected CC line, PD charging is not supported.

发明内容SUMMARY OF THE INVENTION

本申请实施例的目的是提供一种数据线和充电设备,能够解决具有Type-A接口的数据线不支持PD充电的问题。The purpose of the embodiments of the present application is to provide a data cable and a charging device, which can solve the problem that a data cable with a Type-A interface does not support PD charging.

为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:

第一方面,本申请实施例提供了一种数据线,包括:第一Type-A接口、Type-C接口以及连接于所述第一Type-A接口与所述Type-C接口之间的线缆;所述第一Type-A接口和所述Type-C接口均包括VBUS引脚、CC引脚、通信引脚和GND引脚,且所述第一Type-A接口和所述Type-C接口中的VBUS引脚、通信引脚和GND引脚一一对应连接;In a first aspect, an embodiment of the present application provides a data cable, including: a first Type-A interface, a Type-C interface, and a cable connected between the first Type-A interface and the Type-C interface The first Type-A interface and the Type-C interface include VBUS pins, CC pins, communication pins and GND pins, and the first Type-A interface and the Type-C interface The VBUS pins, communication pins and GND pins in the interface are connected in one-to-one correspondence;

所述数据线中设置有第一切换电路,所述第一Type-A接口中的CC引脚连接所述第一切换电路的检测端以及所述第一切换电路的第一端,所述第一切换电路的第二端与所述Type-C接口中的CC引脚连接,所述第一切换电路的第三端与VBUS引脚连接;The data line is provided with a first switching circuit, the CC pin in the first Type-A interface is connected to the detection end of the first switching circuit and the first end of the first switching circuit, the first The second end of a switching circuit is connected to the CC pin in the Type-C interface, and the third end of the first switching circuit is connected to the VBUS pin;

在所述数据线与充电器连接的情况下,若所述充电器为第一充电器,则所述第一切换电路控制所述第一Type-A接口中的CC引脚与所述Type-C接口中的CC引脚连通,且所述Type-C接口中的CC引脚与所述VBUS引脚断开;若所述充电器为第二充电器,则所述第一切换电路控制所述第一Type-A接口中的CC引脚与所述Type-C接口中的CC引脚断开,且所述Type-C接口中的CC引脚与所述VBUS引脚连通;In the case where the data cable is connected to a charger, if the charger is the first charger, the first switching circuit controls the CC pin in the first Type-A interface to be connected to the Type-A interface. The CC pin in the C interface is connected, and the CC pin in the Type-C interface is disconnected from the VBUS pin; if the charger is the second charger, the first switching circuit controls the The CC pin in the described first Type-A interface is disconnected from the CC pin in the Type-C interface, and the CC pin in the Type-C interface is communicated with the VBUS pin;

其中,在所述数据线与所述第一充电器连接的情况下,所述第一切换电路经所述CC引脚获取到第一预设电信号,所述第一充电器为支持PD充电的充电器;在所述数据线与所述第二充电器连接的情况下,所述第一切换电路未经所述CC引脚获取所述第一预设电信号,所述第二充电器为不支持PD充电的充电器。Wherein, when the data line is connected to the first charger, the first switching circuit obtains a first preset electrical signal through the CC pin, and the first charger supports PD charging The charger; when the data line is connected to the second charger, the first switching circuit obtains the first preset electrical signal without the CC pin, the second charger For chargers that do not support PD charging.

第二方面,本申请实施例提供了一种充电设备,包括充电器和与所述充电器连接的数据线,所述数据线为第一方面所述的数据线,所述充电器包括第二Type-A接口和协议控制模块,所述第二Type-A接口包括VBUS引脚、CC引脚、通信引脚和GND引脚,且所述第二Type-A接口和所述第一Type-A接口中的VBUS引脚、CC引脚、通信引脚和GND引脚一一对应连接;In a second aspect, an embodiment of the present application provides a charging device, including a charger and a data cable connected to the charger, where the data cable is the data cable described in the first aspect, and the charger includes a second Type-A interface and protocol control module, the second Type-A interface includes VBUS pin, CC pin, communication pin and GND pin, and the second Type-A interface and the first Type-A interface The VBUS pin, CC pin, communication pin and GND pin in the A interface are connected in one-to-one correspondence;

所述协议控制模块包括目标电源,所述协议控制模块的第一端与所述充电器中的CC引脚以及所述目标电源连接,且所述充电器中的通信引脚与所述协议控制模块的第二端连接,在所述充电设备连接电源时,所述第一切换电路经所述CC引脚获取到所述第一预设电信号;The protocol control module includes a target power supply, the first end of the protocol control module is connected to the CC pin in the charger and the target power supply, and the communication pin in the charger is connected to the protocol control pin. The second end of the module is connected, and when the charging device is connected to a power supply, the first switching circuit obtains the first preset electrical signal through the CC pin;

在所述充电设备与待充电设备连接的情况下,若所述协议控制模块获取到经所述CC引脚传输的通信信号,则对所述待充电设备进行PD充电;若所述协议控制模块获取到经所述通信引脚传输的通信信号,则对所述待充电设备进行非PD充电。In the case where the charging device is connected to the device to be charged, if the protocol control module obtains the communication signal transmitted through the CC pin, the device to be charged will be PD charged; if the protocol control module After acquiring the communication signal transmitted through the communication pin, non-PD charging is performed on the device to be charged.

本申请实施例提供的数据线,包括第一Type-A接口和Type-C接口,切所述数据线中设置有第一切换电路,在该数据线与匹配的第一充电器连接时,第一Type-A接口中的CC引脚能够与第一充电器中的CC引脚连接;在该数据线与不匹配的第二充电器连接时,第二充电器的Type-A接口中未设置CC引脚,此时,第一Type-A接口中的CC引脚上的电信号值与连接第一充电器中的CC引脚时的电信号值不同,从而根据第一Type-A接口中的CC引脚上的电信号值区分数据线是否与匹配的第一充电器连接,并在数据线与第一充电器连接的情况下,第一切换电路控制所述第一Type-A接口中的CC引脚与所述Type-C接口中的CC引脚连通,从而使第一充电器能够经过本申请实施例提供的数据线中的CC引脚与待充电设备传输PD通信信号,从而实现PD充电功能。The data line provided by the embodiment of the present application includes a first Type-A interface and a Type-C interface, and a first switching circuit is arranged in the data line. When the data line is connected to a matching first charger, the first switching circuit is The CC pin in a Type-A interface can be connected with the CC pin in the first charger; when the data line is connected with the unmatched second charger, the Type-A interface of the second charger is not set CC pin, at this time, the electrical signal value on the CC pin in the first Type-A interface is different from the electrical signal value when connecting the CC pin in the first charger, so according to the first Type-A interface The value of the electrical signal on the CC pin distinguishes whether the data line is connected with the matching first charger, and in the case where the data line is connected with the first charger, the first switching circuit controls the first Type-A interface. The CC pin is connected with the CC pin in the Type-C interface, so that the first charger can transmit the PD communication signal with the device to be charged through the CC pin in the data line provided by the embodiment of the application, thereby realizing PD charging function.

附图说明Description of drawings

图1是本申请实施例提供的第一种充电设备的电路图之一;FIG. 1 is one of the circuit diagrams of the first charging device provided by the embodiment of the present application;

图2a是本申请实施例提供的充电设备中目标电源的电路图之一;2a is one of the circuit diagrams of the target power supply in the charging device provided by the embodiment of the present application;

图2b是本申请实施例提供的充电设备中目标电源的电路图之二;2b is the second circuit diagram of the target power supply in the charging device provided by the embodiment of the present application;

图3是本申请实施例提供的第一种充电设备的电路图之二;FIG. 3 is the second circuit diagram of the first charging device provided by the embodiment of the present application;

图4a是本申请实施例提供的数据线中第一切换电路的电路图之一;4a is one of the circuit diagrams of the first switching circuit in the data line provided by the embodiment of the present application;

图4b是本申请实施例提供的数据线中第一切换电路的电路图之二;4b is the second circuit diagram of the first switching circuit in the data line provided by the embodiment of the present application;

图4c是本申请实施例提供的数据线中第一切换电路的电路图之三;4c is the third circuit diagram of the first switching circuit in the data line provided by the embodiment of the present application;

图4d是本申请实施例提供的数据线中第一切换电路的电路图之四;4d is the fourth circuit diagram of the first switching circuit in the data line provided by the embodiment of the present application;

图4e是本申请实施例提供的数据线中第一切换电路的电路图之五;4e is the fifth circuit diagram of the first switching circuit in the data line provided by the embodiment of the present application;

图4f是本申请实施例提供的数据线中第一切换电路的电路图之六;4f is the sixth circuit diagram of the first switching circuit in the data line provided by the embodiment of the present application;

图4g是本申请实施例提供的数据线中第一切换电路的电路图之七;4g is the seventh circuit diagram of the first switching circuit in the data line provided by the embodiment of the present application;

图4h是本申请实施例提供的数据线中第一切换电路的电路图之八;4h is the eighth circuit diagram of the first switching circuit in the data line provided by the embodiment of the present application;

图5是本申请实施例提供的第二种充电设备的电路图。FIG. 5 is a circuit diagram of a second charging device provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.

本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between "first", "second", etc. The objects are usually of one type, and the number of objects is not limited. For example, the first object may be one or more than one. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.

下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的数据线和充电设备进行详细地说明。The data cable and the charging device provided by the embodiments of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.

请参阅图1,是本申请实施例提供的第一种充电设备的电路图之一。该充电设备可以包括充电器1和数据线2,该充电器1和数据线2通过Type-A接口连接。Please refer to FIG. 1 , which is one of the circuit diagrams of the first charging device provided by the embodiment of the present application. The charging device may include a charger 1 and a data cable 2, and the charger 1 and the data cable 2 are connected through a Type-A interface.

具体的,如图1所示,数据线2包括第一Type-A接口21、Type-C接口22以及连接于第一Type-A接口21与Type-C接口22之间的线缆23;第一Type-A接口21和Type-C接口22均包括VBUS引脚、CC引脚、通信引脚和GND引脚,且第一Type-A接口21和Type-C接口22中的VBUS引脚、通信引脚和GND引脚一一对应连接。Specifically, as shown in FIG. 1, the data line 2 includes a first Type-A interface 21, a Type-C interface 22, and a cable 23 connected between the first Type-A interface 21 and the Type-C interface 22; A Type-A interface 21 and a Type-C interface 22 both include a VBUS pin, a CC pin, a communication pin and a GND pin, and the VBUS pins in the first Type-A interface 21 and the Type-C interface 22, The communication pins and the GND pins are connected in one-to-one correspondence.

其中,数据线2中设置有第一切换电路24,第一Type-A接口21中的CC引脚连接第一切换电路24的检测端以及第一切换电路24的第一端,第一切换电路24的第二端与Type-C接口22中的CC引脚连接,第一切换电路24的第三端与VBUS引脚连接。The data line 2 is provided with a first switching circuit 24, and the CC pin in the first Type-A interface 21 is connected to the detection terminal of the first switching circuit 24 and the first terminal of the first switching circuit 24. The first switching circuit The second end of the 24 is connected to the CC pin of the Type-C interface 22, and the third end of the first switching circuit 24 is connected to the VBUS pin.

在工作中,在数据线2与充电器1连接的情况下,若充电器1为第一充电器,则第一切换电路24控制第一Type-A接口21中的CC引脚与Type-C接口22中的CC引脚连通,且Type-C接口22中的CC引脚与所述VBUS引脚断开;若充电器1为第二充电器,则第一切换电路24控制第一Type-A接口21中的CC引脚与Type-C接口22中的CC引脚断开,且Type-C接口22中的CC引脚与所述VBUS引脚连通;During operation, when the data line 2 is connected to the charger 1, if the charger 1 is the first charger, the first switching circuit 24 controls the CC pin in the first Type-A interface 21 to be connected to the Type-C The CC pin in the interface 22 is connected, and the CC pin in the Type-C interface 22 is disconnected from the VBUS pin; if the charger 1 is the second charger, the first switching circuit 24 controls the first Type-C The CC pin in the A interface 21 is disconnected from the CC pin in the Type-C interface 22, and the CC pin in the Type-C interface 22 is communicated with the VBUS pin;

其中,在数据线1与所述第一充电器连接的情况下,第一切换电路24经所述CC引脚获取到第一预设电信号,所述第一充电器为支持PD充电的充电器;在数据线2与所述第二充电器连接的情况下,第一切换电路24未经所述CC引脚获取所述第一预设电信号,所述第二充电器为不支持PD充电的充电器。Wherein, when the data line 1 is connected to the first charger, the first switching circuit 24 obtains the first preset electrical signal through the CC pin, and the first charger supports PD charging When the data line 2 is connected to the second charger, the first switching circuit 24 obtains the first preset electrical signal without the CC pin, and the second charger does not support PD rechargeable charger.

在实际应用中,在第一切换电路24连通第一Type-A接口21中的CC引脚与Type-C接口22中的CC引脚的情况下,第一切换电路24还断开Type-C接口22中的CC引脚与VBUS引脚之间的连接关系。此时,数据线1两端的CC引脚连通,从而能够实现经CC引脚传输PD信号。In practical applications, when the first switching circuit 24 connects the CC pin in the first Type-A interface 21 with the CC pin in the Type-C interface 22, the first switching circuit 24 also disconnects the Type-C The connection relationship between the CC pin in the interface 22 and the VBUS pin. At this time, the CC pins at both ends of the data line 1 are connected, so that the PD signal can be transmitted through the CC pins.

另外,在第一切换电路24断开第一Type-A接口21中的CC引脚与Type-C接口22中的CC引脚之间的连接关系的情况下,第一切换电路24还连通Type-C接口22中的CC引脚与VBUS引脚。此时,数据线1两端的CC引脚断开连接,从而不能够经CC引脚传输PD充电信号,且Type-C接口22中的CC引脚与VBUS引脚连通时,该CC引脚的结构和作用与现有技术中的CC引脚的结构和作用均相同,在此不再赘述。In addition, when the first switching circuit 24 disconnects the connection relationship between the CC pin in the first Type-A interface 21 and the CC pin in the Type-C interface 22, the first switching circuit 24 also connects the Type-C interface 22. - CC pin and VBUS pin in C interface 22. At this time, the CC pins at both ends of the data line 1 are disconnected, so that the PD charging signal cannot be transmitted through the CC pin, and when the CC pin in the Type-C interface 22 is connected to the VBUS pin, the CC pin's The structure and function are the same as those of the CC pin in the prior art, and are not repeated here.

在具体实施中,上述第一Type-A接口21和Type-C接口22中的VBUS引脚、通信引脚和GND引脚一一对应连接可以理解为:第一Type-A接口21中的VBUS引脚与Type-C接口22中的VBUS引脚连接,第一Type-A接口21中的通信引脚与Type-C接口22中的通信引脚连接,第一Type-A接口21中的GND引脚与Type-C接口22中的GND引脚连接。In a specific implementation, the one-to-one connection of the VBUS pins, communication pins and GND pins in the first Type-A interface 21 and the Type-C interface 22 can be understood as: the VBUS in the first Type-A interface 21 The pin is connected with the VBUS pin in the Type-C interface 22, the communication pin in the first Type-A interface 21 is connected with the communication pin in the Type-C interface 22, and the GND in the first Type-A interface 21 The pin is connected to the GND pin in the Type-C interface 22 .

另外,上述通信引脚可以是第二代通用串口总线(USB 2.0)中的D+引脚和D-引脚,此时,第一Type-A接口21中的D+引脚与Type-C接口22中的D+引脚连接,第一Type-A接口21中的D-引脚与Type-C接口22中的D-引脚连接。In addition, the above-mentioned communication pins may be the D+ pin and the D- pin in the second-generation universal serial bus (USB 2.0). At this time, the D+ pin in the first Type-A interface 21 and the Type-C interface 22 The D+ pin in the first Type-A interface 21 is connected with the D- pin in the Type-C interface 22 .

需要说明的是,在具体实施中,上述通信引脚还可以是USB 3.0接口中的通信引脚(TX引脚和RX引脚),其甚至还可以是今后可能出现的USB 4.0接口中的通信引脚,在此不作具体限定。It should be noted that, in specific implementation, the above-mentioned communication pins can also be the communication pins (TX pin and RX pin) in the USB 3.0 interface, or even the communication pins in the USB 4.0 interface that may appear in the future pins, which are not specifically limited here.

另外,上述第一充电器可以是与数据线2匹配的充电器,上述第二充电器可以是与数据线2不匹配的充电器。且第一充电器支持PD充电,具体的,该第一充电器可以是如图1中所示充电器1,在本申请实施例提供的数据线2与如图1中所示充电器1连接时,能够实现对待充电设备的PD充电功能。In addition, the above-mentioned first charger may be a charger that matches the data line 2 , and the above-mentioned second charger may be a charger that does not match the data line 2 . And the first charger supports PD charging. Specifically, the first charger may be the charger 1 shown in FIG. 1 , and the data cable 2 provided in the embodiment of the present application is connected to the charger 1 shown in FIG. 1 . When the PD charging function of the device to be charged can be realized.

具体的,如图1所示,该充电器1包括:第二Type-A接口11和协议控制模块12,第二Type-A接口11包括VBUS引脚、CC引脚、通信引脚和GND引脚,且第二Type-A接口11和第一Type-A接口21中的VBUS引脚、CC引脚、通信引脚和GND引脚一一对应连接;Specifically, as shown in FIG. 1 , the charger 1 includes: a second Type-A interface 11 and a protocol control module 12 , and the second Type-A interface 11 includes a VBUS pin, a CC pin, a communication pin and a GND pin pin, and the VBUS pin, CC pin, communication pin and GND pin in the second Type-A interface 11 and the first Type-A interface 21 are connected in one-to-one correspondence;

协议控制模块12包括目标电源121,协议控制模块12的第一端与所述充电器1中的CC引脚以及所述目标电源121连接,且所述充电器1中的通信引脚与所述协议控制模块12的第二端连接,在所述充电设备连接电源时,所述第一切换电路24经所述CC引脚获取到所述第一预设电信号;The protocol control module 12 includes a target power supply 121, the first end of the protocol control module 12 is connected to the CC pin in the charger 1 and the target power supply 121, and the communication pin in the charger 1 is connected to the The second end of the protocol control module 12 is connected, and when the charging device is connected to a power source, the first switching circuit 24 obtains the first preset electrical signal through the CC pin;

在所述充电设备与待充电设备连接的情况下,若所述协议控制模块12获取到经所述CC引脚传输的通信信号,则对所述待充电设备进行PD充电;若所述协议控制模块12获取到经所述通信引脚传输的通信信号,则对所述待充电设备进行非PD充电。In the case where the charging device is connected to the device to be charged, if the protocol control module 12 obtains the communication signal transmitted through the CC pin, the device to be charged is PD charged; if the protocol controls The module 12 acquires the communication signal transmitted through the communication pin, and then performs non-PD charging on the device to be charged.

其中,上述第二Type-A接口11和第一Type-A接口21中的VBUS引脚、CC引脚、通信引脚和GND引脚一一对应连接的方式与第一Type-A接口21和Type-C接口22中的VBUS引脚、通信引脚和GND引脚一一对应连接的方式相同,在此不再赘述。Among them, the VBUS pin, CC pin, communication pin and GND pin in the second Type-A interface 11 and the first Type-A interface 21 are connected in one-to-one correspondence with the first Type-A interface 21 and The VBUS pins, the communication pins, and the GND pins in the Type-C interface 22 are connected in one-to-one correspondence in the same manner, which will not be repeated here.

在工作中,需要说明的是,在具体实施中,协议控制模块12中至少配置有PD通信协议,且还可以配置非PD充电的通信协议,具体的,上述PD通信协议为经CC引脚传输的充电信号的通信协议,上述非PD通信协议可以是经通信引脚传输的充电信号的通信协议,例如:在通信引脚为D+引脚和D-引脚的情况下,上述非PD通信协议可以称之为D+/D-通信协议。In operation, it should be noted that, in the specific implementation, the protocol control module 12 is configured with at least a PD communication protocol, and can also be configured with a non-PD charging communication protocol. Specifically, the above PD communication protocol is transmitted through the CC pin. The communication protocol of the charging signal, the above-mentioned non-PD communication protocol can be the communication protocol of the charging signal transmitted through the communication pin, for example: in the case where the communication pin is the D+ pin and the D- pin, the above-mentioned non-PD communication protocol It can be called D+/D- communication protocol.

此时,充电器1可以直接通过数据线2的通信引脚与待充电设备进行非PD充电的协商,而无需通过CC引脚传输。具体的,在通信引脚包括D+引脚和D-引脚的情况下,上述充电器1中可以配置预设通信协议,该预设通信协议的通信信号经D+引脚和D-引脚传输,通过预设通信协议的通信信号协商可以确定DP/DM(其中,DM为数据负信号(DataMinus),DP为数据正信号(Data Positive))快速充电的充电参数,从而实现对充电设备标配的待充电设备的DP、DM快速充电功能。当然,在具体实施中,充电器1中还可以配置通用协议,该通用协议的通信信号也可以经D+引脚和D-引脚传输,该通用协议的经D+引脚和D-引脚传输通信信号,能够实现对充电设备非标配的待充电设备的DP/DM充电,其原理与现有技术中的DP/DM充电过程相同,在此不再赘述。At this time, the charger 1 can directly negotiate non-PD charging with the device to be charged through the communication pin of the data line 2 without transmitting through the CC pin. Specifically, in the case where the communication pins include D+ pins and D- pins, a preset communication protocol can be configured in the above charger 1, and the communication signals of the preset communication protocol are transmitted through the D+ pins and the D- pins. , through the communication signal negotiation of the preset communication protocol, the charging parameters of DP/DM (where DM is the data negative signal (DataMinus) and DP is the data positive signal (Data Positive)) can be determined for fast charging, so as to realize the standard configuration of the charging equipment DP, DM fast charging function of the device to be charged. Of course, in the specific implementation, the charger 1 can also be configured with a general protocol, the communication signal of the general protocol can also be transmitted through the D+ pin and the D- pin, and the general protocol is transmitted through the D+ pin and the D- pin. The communication signal can realize the DP/DM charging of the device to be charged that is not standard with the charging device, and its principle is the same as the DP/DM charging process in the prior art, which will not be repeated here.

在应用中,本申请实施例提供的充电设备的标配待充电设备中也预先配置有上述预设通信协议,从而能够基于该预设通信协议协商充电参数,并按照协商确定的充电参数对标配待充电设备进行标配充电。In application, the standard equipment to be charged of the charging equipment provided in the embodiment of the present application is also pre-configured with the above-mentioned preset communication protocol, so that charging parameters can be negotiated based on the preset communication protocol, and charging parameters determined through negotiation can be benchmarked. Equipped with the device to be charged for standard charging.

另外,在如图1所示充电设备与非标配且支持PD充电待充电设备连接时,由于非标配的待充电设备中未配置有上述预设通信协议,从而仅能够实现PD通信。In addition, when the charging device is connected to a non-standard device to be charged that supports PD charging as shown in FIG. 1 , because the non-standard device to be charged is not configured with the above-mentioned preset communication protocol, only PD communication can be implemented.

当然,如图1所示充电设备还可以与非标配且不支持PD充电的待充电设备连接,此时可以按照通用充电协议(例如:能够在D+引脚和D-引脚上传输的通信信号的通用通信协议)协商充电参数,并按照协商确定的充电参数对非标配待充电设备进行充电,或者,还可以直接按照默认充电参数对待充电设备进行充电。Of course, as shown in Figure 1, the charging device can also be connected to the device to be charged that is not standard and does not support PD charging. The general communication protocol of the signal) negotiates charging parameters, and charges the non-standard to-be-charged device according to the negotiated charging parameters, or directly charges the to-be-charged device according to the default charging parameters.

在一种实施方式中,上述目标电源121可以是如图2a中所示的与电阻Ra串联的电压源,该电压源可以是充电器1内的VBUS引脚。In one embodiment, the above-mentioned target power source 121 may be a voltage source connected in series with the resistor Ra as shown in FIG. 2 a , and the voltage source may be the VBUS pin in the charger 1 .

本实施方式中,在充电器1连接电源时,能够使VBUS引脚上具有电压,从而通过电阻Ra改变CC引脚上的电平值。这样,在该充电器1与本申请实施例提供的数据线2连接时,能够使第一切换电路24经第一Type-A接口21中的CC引脚检测到第一预设电信号,并据此连通第一Type-A接口21中的CC引脚和Type-C接口22中的CC引脚。In this embodiment, when the charger 1 is connected to the power supply, the VBUS pin can have a voltage, so that the level value on the CC pin can be changed through the resistor Ra. In this way, when the charger 1 is connected to the data line 2 provided by the embodiment of the present application, the first switching circuit 24 can detect the first preset electrical signal through the CC pin in the first Type-A interface 21, and Accordingly, the CC pin in the first Type-A interface 21 and the CC pin in the Type-C interface 22 are connected.

在另一种实施方式中,上述目标电源121可以是如图2b中所示电流源Ia。该电流源Ia与第一Type-A接口21中的CC引脚连接时,同样能够改变该CC引脚上的电平值,进而能够使第一切换电路24经第一Type-A接口21中的CC引脚检测到第一预设电信号,并据此连通第一Type-A接口21中的CC引脚和Type-C接口22中的CC引脚。In another embodiment, the above-mentioned target power source 121 may be a current source Ia as shown in FIG. 2b. When the current source Ia is connected to the CC pin in the first Type-A interface 21 , the level value on the CC pin can also be changed, thereby enabling the first switching circuit 24 to pass through the first Type-A interface 21 . The CC pin of the device detects the first preset electrical signal, and accordingly connects the CC pin in the first Type-A interface 21 and the CC pin in the Type-C interface 22 .

需要说明的是,本申请实施例提供的数据线2还可以与常规的充电器连接,该充电器具有常规的Type-A接口,该常规的Type-A接口与现有技术中的Type-A接口的结构相同,其不包括CC引脚。It should be noted that the data cable 2 provided in the embodiment of the present application can also be connected to a conventional charger, and the charger has a conventional Type-A interface, and the conventional Type-A interface is the same as the Type-A in the prior art. The structure of the interface is the same, it does not include the CC pin.

这样,在本申请实施例提供的数据线2与该常规的充电器连接时,第一Type-A接口21中的CC引脚无对应连接的CC引脚,从而不能够使第一切换电路24经第一Type-A接口21中的CC引脚检测到第一预设电信号,从而断开第一Type-A接口21中的CC引脚和Type-C接口22中的CC引脚,且将。Type-C接口22中的CC引脚上拉至VBUS引脚。In this way, when the data line 2 provided in the embodiment of the present application is connected to the conventional charger, the CC pins in the first Type-A interface 21 do not have correspondingly connected CC pins, so that the first switching circuit 24 cannot be enabled. The first preset electrical signal is detected through the CC pin in the first Type-A interface 21, thereby disconnecting the CC pin in the first Type-A interface 21 and the CC pin in the Type-C interface 22, and Will. The CC pin in the Type-C interface 22 is pulled up to the VBUS pin.

另外,如图1或图3所示,待充电设备中具有与CC引脚连接的下拉电阻RP,在Type-C接口22中的CC引脚与VBUS引脚连接时,下拉电阻RP与第三电阻R3构成比例电阻,此时,下拉电阻RP上具有正的电压值,当待充电设备检测到该下拉电阻RP上具有正的电压值时,能够控制待充电设备充的充电模块31与充电设备通信,以允许充电设备充电。In addition, as shown in FIG. 1 or FIG. 3 , the device to be charged has a pull-down resistor RP connected to the CC pin. When the CC pin in the Type-C interface 22 is connected to the VBUS pin, the pull-down resistor RP is connected to the third The resistor R3 constitutes a proportional resistor. At this time, the pull-down resistor RP has a positive voltage value. When the device to be charged detects that the pull-down resistor RP has a positive voltage value, it can control the charging module 31 charged by the device to be charged and the charging device. communication to allow charging of the charging device.

此时,本申请实施例提供的数据线2的结构与现有技术中的常规Type-Ato Type-C数据线相同,且充电器仅能够经通信引脚与待充电设备协商充电参数,即仅能够对待充电设备进行非PD充电。At this time, the structure of the data line 2 provided by the embodiment of the present application is the same as that of the conventional Type-Ato Type-C data line in the prior art, and the charger can only negotiate charging parameters with the device to be charged through the communication pin, that is, only Capable of non-PD charging of the device to be charged.

作为一种可选的实施方式,如图3所示,所述第一切换电路24包括第一开关控制模块241、第一开关Q1和第二开关Q2,所述数据线还包括上拉电阻R3。As an optional implementation manner, as shown in FIG. 3 , the first switching circuit 24 includes a first switch control module 241, a first switch Q1 and a second switch Q2, and the data line further includes a pull-up resistor R3 .

具体的,第一开关控制模块241的第一输入端与所述第一Type-A接口21中的CC引脚连接,第一开关控制模块241的第二输入端与所述VBUS引脚连接,第一开关控制模块241的第三端与所述第一开关Q1的控制端和第二开关Q2的控制端连接,第一开关Q1的第一端与第一Type-A接口21中的CC引脚连接,Type-C接口22中的CC引脚连接第一开关Q1的第二端和第二开关Q2的第一端,所述上拉电阻R3连接于第二开关Q2的第二端与所述VBUS引脚之间。Specifically, the first input terminal of the first switch control module 241 is connected to the CC pin of the first Type-A interface 21, and the second input terminal of the first switch control module 241 is connected to the VBUS pin. The third end of the first switch control module 241 is connected to the control end of the first switch Q1 and the control end of the second switch Q2, and the first end of the first switch Q1 is connected to the CC lead in the first Type-A interface 21. pin connection, the CC pin in the Type-C interface 22 is connected to the second end of the first switch Q1 and the first end of the second switch Q2, the pull-up resistor R3 is connected to the second end of the second switch Q2 and all between the VBUS pins described above.

在工作中,在所述CC引脚上的电平值大于或者等于第一预设阈值时,第一开关控制模块241控制第一开关Q1在第一预设时间后导通,并控制第二开关Q2在所述第一预设时间后断开;在所述CC引脚上的电平值小于所述第一预设阈值时,第一开关控制模块241控制第一开关Q1在第二预设时间后断开,并控制第二开关Q2在所述第二预设时间后导通。In operation, when the level value on the CC pin is greater than or equal to the first preset threshold, the first switch control module 241 controls the first switch Q1 to be turned on after the first preset time, and controls the second The switch Q2 is turned off after the first preset time; when the level value on the CC pin is less than the first preset threshold, the first switch control module 241 controls the first switch Q1 in the second preset time. It is turned off after a preset time, and the second switch Q2 is controlled to be turned on after the second preset time.

在具体实施中,上述第一开关Q1和第二开关Q2可以是模拟信号控制的开关,例如:三极管、晶体管等,此时,第一开关控制模块241向第一开关Q1和第二开关Q2发送模拟控制信号,以控制第一开关Q1和第二开关Q2的开关状态。当然,上述第一开关Q1还可以是数字信号控制的开关,且第一开关控制模块241向第一开关Q1和第二开关Q2发送数字控制信号,以控制第一开关Q1和第二开关Q2的开关状态。In a specific implementation, the above-mentioned first switch Q1 and second switch Q2 may be switches controlled by analog signals, such as triodes, transistors, etc. At this time, the first switch control module 241 sends a signal to the first switch Q1 and the second switch Q2. The analog control signal is used to control the switching states of the first switch Q1 and the second switch Q2. Of course, the above-mentioned first switch Q1 may also be a switch controlled by a digital signal, and the first switch control module 241 sends a digital control signal to the first switch Q1 and the second switch Q2 to control the switching of the first switch Q1 and the second switch Q2 switch status.

另外,上述第一预设时间和第二预设时间可以根据数据线2的应用场景确定,例如:当数据线2用于传输CC信号时,若CC信号的传输频率较高时,上述第一预设时间和第二预设时间可以较短;若CC信号的传输频率较低时,上述第一预设时间和第二预设时间可以较长。In addition, the first preset time and the second preset time can be determined according to the application scenario of the data line 2. For example, when the data line 2 is used to transmit CC signals, if the transmission frequency of the CC signals is high, the first preset time The preset time and the second preset time may be shorter; if the transmission frequency of the CC signal is low, the first preset time and the second preset time may be longer.

本实施方式,可以在CC引脚上的电平值发生改变时,延时一段时间后切换CC引脚的通断状态,从而可以减少第一开关Q1和第二开关Q2频繁的切换开关状态,提升数据线2的稳定性。In this embodiment, when the level value on the CC pin changes, the on-off state of the CC pin can be switched after a delay for a period of time, thereby reducing the frequent switching of the switching states of the first switch Q1 and the second switch Q2, Improve the stability of data cable 2.

作为一种可选的实施方式,如图3所示,第一开关控制模块241包括第三开关Q3、第一电阻R1、第二电阻R2和第一电容C1。As an optional implementation manner, as shown in FIG. 3 , the first switch control module 241 includes a third switch Q3 , a first resistor R1 , a second resistor R2 and a first capacitor C1 .

具体的,第三开关Q3的控制端与第一Type-A接口21中的CC引脚连接,第一电阻R1的第一端与所述VBUS引脚连接,第二电阻R2的第一端与第一开关Q1的控制端以及第二开关Q2的控制端;第三开关Q3的第二端与第一电阻R1的第二端和第二电阻R2的第二端连接,第三开关Q3的第三端与第一电容C1的第一端以及接地端连接,第一电容C1的第二端与第二电阻R2的第一端连接。Specifically, the control terminal of the third switch Q3 is connected to the CC pin of the first Type-A interface 21, the first terminal of the first resistor R1 is connected to the VBUS pin, and the first terminal of the second resistor R2 is connected to the VBUS pin. The control terminal of the first switch Q1 and the control terminal of the second switch Q2; the second terminal of the third switch Q3 is connected to the second terminal of the first resistor R1 and the second terminal of the second resistor R2, and the second terminal of the third switch Q3 The three terminals are connected to the first terminal of the first capacitor C1 and the ground terminal, and the second terminal of the first capacitor C1 is connected to the first terminal of the second resistor R2.

本实施方式中,上述第三开关Q3可以是模拟信号控制开关,其具体可以是三极管或者晶体管等,在此不作具体限定。In this embodiment, the above-mentioned third switch Q3 may be an analog signal controlled switch, which may specifically be a triode or a transistor, etc., which is not specifically limited herein.

另外,第一电容C1的放电效率与所述第一预设时间匹配,第一电容C1的充电效率与所述第二预设时间匹配。具体的,在上述CC引脚开始传输信号时,上述第一电容C1开始充电,在该第一电容C1充电至第三开关Q3的导通电压时,第三开关Q3导通。另外,在第三开关Q3导通后,若CC引脚停止传输信号,则第一电容C1开始放电,在该第一电容C1放电至低于第三开关Q3的导通电压时,第三开关Q3断开。In addition, the discharge efficiency of the first capacitor C1 matches the first preset time, and the charging efficiency of the first capacitor C1 matches the second preset time. Specifically, when the CC pin starts to transmit a signal, the first capacitor C1 starts to be charged, and when the first capacitor C1 is charged to the turn-on voltage of the third switch Q3, the third switch Q3 is turned on. In addition, after the third switch Q3 is turned on, if the CC pin stops transmitting signals, the first capacitor C1 starts to discharge, and when the first capacitor C1 discharges to a voltage lower than the turn-on voltage of the third switch Q3, the third switch Q3 is disconnected.

本实施方式中,将上述第一开关控制模块241设置为模拟电路,以避免设置结构和逻辑更加复杂且成本更高的数字控制单元。In this embodiment, the above-mentioned first switch control module 241 is set as an analog circuit, so as to avoid setting up a digital control unit with more complicated structure and logic and higher cost.

进一步的,如图3所示,第一开关Q1为N型金属-氧化物-半导体(N-Metal-Oxide-Semiconductor,NMOS)管,第二开关Q2和第三开关Q3为PNP晶体管或者P型金属-氧化物-半导体(P-Metal-Oxide-Semiconductor,PMOS)管。Further, as shown in FIG. 3 , the first switch Q1 is an N-type metal-oxide-semiconductor (N-Metal-Oxide-Semiconductor, NMOS) transistor, and the second switch Q2 and the third switch Q3 are PNP transistors or P-type transistors. Metal-Oxide-Semiconductor (P-Metal-Oxide-Semiconductor, PMOS) tube.

这样,在CC引脚上有电信号传输时,第三开关Q3的第一极接收到高电压而导通其第二极和第三极(即连通第三开关Q3的第二端和第三端),此时开始给第一电容C1,当C1充电至第一开关Q1的导通电压以及第二开关Q2的截止电压时,第一开关Q1导通其第二端和第三端,第二开关Q2断开其第二端和第三端。In this way, when an electrical signal is transmitted on the CC pin, the first pole of the third switch Q3 receives a high voltage and turns on the second pole and the third pole (ie, the second terminal and the third pole of the third switch Q3 are connected. terminal), start to charge the first capacitor C1 at this time, when C1 is charged to the turn-on voltage of the first switch Q1 and the turn-off voltage of the second switch Q2, the first switch Q1 turns on its second and third terminals, and the first switch Q1 turns on its second and third terminals. Two switches Q2 open their second and third terminals.

另外,在第三开关Q3的第二极和第三极导通后,若CC引脚停止传输电信号,此时第三开关Q3的第一极接收到低电压信号而断开其第二端和第三端,此时,C1开始放电,当C1的电压降低至第一开关Q1的截止电压时,第一开关Q1断开其第二端和第三端,当C1的电压降低至第二开关Q2的导通电压时,第二开关Q2连通其第二端和第三端。In addition, after the second pole and the third pole of the third switch Q3 are turned on, if the CC pin stops transmitting electrical signals, the first pole of the third switch Q3 receives the low voltage signal and disconnects the second terminal. and the third terminal, at this time, C1 starts to discharge, when the voltage of C1 drops to the cut-off voltage of the first switch Q1, the first switch Q1 disconnects its second and third terminals, when the voltage of C1 drops to the second When the voltage of the switch Q2 is turned on, the second switch Q2 connects the second terminal and the third terminal thereof.

需要说明的是,在具体实施中,第一开关控制模块241还可以是其他电路结构,仅需确保在CC上有电信号传输时,第一开关控制模块241的输出信号能够用于控制第二开关Q2断开其第二端和第三端,并控制第三开关Q3连通其第二端和第三端;在CC上无电信号传输时,第一开关控制模块241的输出信号能够用于控制第二开关Q2连通其第二端和第三端,并控制第三开关Q3断开其第二端和第三端即可。It should be noted that, in the specific implementation, the first switch control module 241 may also be other circuit structures, and it only needs to ensure that when there is an electrical signal transmission on the CC, the output signal of the first switch control module 241 can be used to control the second switch control module 241. The switch Q2 disconnects the second terminal and the third terminal, and controls the third switch Q3 to connect the second terminal and the third terminal; when there is no electrical signal transmission on the CC, the output signal of the first switch control module 241 can be used for The second switch Q2 is controlled to connect the second terminal and the third terminal, and the third switch Q3 is controlled to disconnect the second terminal and the third terminal.

具体的,第一开关控制模块241可以是如图4a-4h所示电路结构中的任一一种。Specifically, the first switch control module 241 may be any one of the circuit structures shown in FIGS. 4a-4h.

其中,如图4b所示第一开关控制模块241与如图4a所示第一开关控制模块241的不同之处在于:将如图4a中所示第二电阻R2替换为二极管。The difference between the first switch control module 241 shown in FIG. 4b and the first switch control module 241 shown in FIG. 4a is that the second resistor R2 shown in FIG. 4a is replaced with a diode.

如图4c所示第一开关控制模块241与如图4a所示第一开关控制模块241的不同之处在于:如图4c所示第一开关控制模块241中,在第一开关控制模块241中增加第三电阻和第四开关Q4,其中,第三电阻R3连接于第三开关Q3的第二端与VBUS引脚之间,第四开关Q4为晶体管开关,其控制端连接于第三开关Q3的第二端,第二端连接于第一电阻R1和第二电阻R2之间,且第三端连接于第三开关Q3的第三端。The difference between the first switch control module 241 shown in FIG. 4c and the first switch control module 241 shown in FIG. 4a is that in the first switch control module 241 shown in FIG. 4c , in the first switch control module 241 A third resistor and a fourth switch Q4 are added, wherein the third resistor R3 is connected between the second end of the third switch Q3 and the VBUS pin, the fourth switch Q4 is a transistor switch, and its control end is connected to the third switch Q3 The second end is connected between the first resistor R1 and the second resistor R2, and the third end is connected to the third end of the third switch Q3.

如图4d所示第一开关控制模块241与如图4a所示第一开关控制模块241的不同之处在于:如图4d所示第一开关控制模块241中,在CC引脚与第三开关Q3的第一端之间增加二极管D1,省略第二电阻R2,且将第一电容C1连接于第三开关Q3的第一端与第三端之间。The difference between the first switch control module 241 shown in FIG. 4d and the first switch control module 241 shown in FIG. 4a is that in the first switch control module 241 shown in FIG. 4d , the CC pin is connected to the third switch A diode D1 is added between the first terminals of Q3, the second resistor R2 is omitted, and the first capacitor C1 is connected between the first terminal and the third terminal of the third switch Q3.

如图4e所示第一开关控制模块241与如图4d所示第一开关控制模块241的不同之处在于:如图4e所示第一开关控制模块241中,将二极管D1替换为第二电阻R2。The difference between the first switch control module 241 shown in FIG. 4e and the first switch control module 241 shown in FIG. 4d is that: in the first switch control module 241 shown in FIG. 4e , the diode D1 is replaced with a second resistor R2.

如图4f所示第一开关控制模块241与如图4a所示第一开关控制模块241的不同之处在于:如图4f所示第一开关控制模块241中的第三开关Q3为NMOS管。The difference between the first switch control module 241 shown in FIG. 4f and the first switch control module 241 shown in FIG. 4a is that the third switch Q3 in the first switch control module 241 shown in FIG. 4f is an NMOS transistor.

如图4g所示第一开关控制模块241与如图4a所示第一开关控制模块241的不同之处在于:如图4g所示第一开关控制模块241中,在第三开关Q3的第一端和第三端之间设置第四电阻R4。The difference between the first switch control module 241 shown in FIG. 4g and the first switch control module 241 shown in FIG. 4a is that in the first switch control module 241 shown in FIG. 4g , in the first switch control module 241 of the third switch Q3 A fourth resistor R4 is arranged between the terminal and the third terminal.

如图4h所示第一开关控制模块241与如图4a所示第一开关控制模块241的不同之处在于:如图4h所示第一开关控制模块241中,在第三开关Q3的第三端与第一电容C1的第二端之间设置第四电阻R4。The difference between the first switch control module 241 shown in FIG. 4h and the first switch control module 241 shown in FIG. 4a is that in the first switch control module 241 shown in FIG. 4h, in the third switch Q3 A fourth resistor R4 is set between the terminal and the second terminal of the first capacitor C1.

需要说明的是,如图4a-4h所示第一开关控制模块241均能够实现:在CC上有电信号传输时,第一开关控制模块241的输出信号能够用于控制第二开关Q2断开其第二端和第三端,并控制第三开关Q3连通其第二端和第三端;在CC上无电信号传输时,第一开关控制模块241的输出信号能够用于控制第二开关Q2连通其第二端和第三端,并控制第三开关Q3断开其第二端和第三端,在此不作具体赘述。It should be noted that, as shown in FIGS. 4a-4h, the first switch control module 241 can realize that: when there is an electrical signal transmission on the CC, the output signal of the first switch control module 241 can be used to control the second switch Q2 to turn off Its second end and third end, and control the third switch Q3 to connect its second end and third end; when there is no electrical signal transmission on CC, the output signal of the first switch control module 241 can be used to control the second switch Q2 connects the second terminal and the third terminal, and controls the third switch Q3 to disconnect the second terminal and the third terminal, which will not be described in detail here.

本申请实施例提供的数据线2为Type-AtoType-C数据线,且该数据线2能够在与标配的充电器1连接时,连通数据线2内的CC走线,以通过该CC走线与待充电设备进行PD充电协议协商,从而实现Type-A toType-C能够支持PD充电。另外,本申请实施例提供的数据线2还能够与常规的充电器连接,此时,数据线2内的CC走线断开,并且能够通过通信走线与待充电设备进行通信,从而实现非PD充电。The data cable 2 provided in the embodiment of the present application is a Type-AtoType-C data cable, and the data cable 2 can connect the CC cable in the data cable 2 when it is connected to the standard charger 1, so as to pass the CC cable. The cable negotiates the PD charging protocol with the device to be charged, so that Type-A to Type-C can support PD charging. In addition, the data line 2 provided in the embodiment of the present application can also be connected to a conventional charger. At this time, the CC line in the data line 2 is disconnected, and can communicate with the device to be charged through the communication line, thereby realizing non- PD charging.

请参阅图5,是本申请实施例提供的第二种充电设备的电路图,如图5所示,该第二种充电设备:第一接口51、第二接口52以及连接于第一接口51与第二接口52之间的线缆53,第一接口51和所述第二接口52均包括VBUS引脚、CC引脚和GND引脚,且所述第一接口51和所述第二接口52中的VBUS引脚和GND引脚一一对应连接;Please refer to FIG. 5 , which is a circuit diagram of a second type of charging device provided by an embodiment of the present application. As shown in FIG. 5 , the second type of charging device includes a first interface 51 , a second interface 52 , and a circuit connected to the first interface 51 and the The cable 53 between the second interfaces 52, the first interface 51 and the second interface 52 include VBUS pins, CC pins and GND pins, and the first interface 51 and the second interface 52 The VBUS pin and the GND pin are connected in one-to-one correspondence;

所述线缆53中设置有第二切换电路54,所述第一接口51中的CC引脚与所述第二切换电路54的检测端以及所述第二切换电路54的第一端连接,所述第二切换电路54的第二端与所述第二接口52中的CC引脚连接,所述第二切换电路54的第三端与所述VBUS引脚连接;The cable 53 is provided with a second switching circuit 54, and the CC pin in the first interface 51 is connected to the detection end of the second switching circuit 54 and the first end of the second switching circuit 54, The second end of the second switching circuit 54 is connected to the CC pin in the second interface 52, and the third end of the second switching circuit 54 is connected to the VBUS pin;

所述第一接口51中的VBUS引脚用于与第一电源10连接,所述第一接口51中的CC引脚用于与第二电源20连接,所述第二接口52用于与待充电设备30连接;The VBUS pin in the first interface 51 is used for connecting with the first power supply 10, the CC pin in the first interface 51 is used for connecting with the second power supply 20, and the second interface 52 is used for connecting with the second power supply 20. The charging device 30 is connected;

其中,在所述充电设备连接电源(第一电源10和第二电源20中的至少一个)和待充电设备30的情况下,在所述第一接口51中的CC引脚上的电平值大于或者等于第二预设阈值时,所述第二切换电路54控制所述第一接口51中的CC引脚与所述第二接口52中的CC引脚连通,且所述第二接口52中的CC引脚与所述VBUS引脚断开;在所述第一接口51中的CC引脚上的电平值小于所述第二预设阈值时,所述第二切换电路54控制所述第一接口51中的CC引脚与所述第二接口52中的CC引脚断开,且所述第二接口52中的CC引脚与所述VBUS引脚连通。Wherein, when the charging device is connected to a power source (at least one of the first power source 10 and the second power source 20) and the device to be charged 30, the level value on the CC pin in the first interface 51 When greater than or equal to the second preset threshold, the second switching circuit 54 controls the CC pin in the first interface 51 to communicate with the CC pin in the second interface 52, and the second interface 52 The CC pin is disconnected from the VBUS pin; when the level value on the CC pin in the first interface 51 is less than the second preset threshold, the second switching circuit 54 controls the The CC pin in the first interface 51 is disconnected from the CC pin in the second interface 52, and the CC pin in the second interface 52 is connected with the VBUS pin.

本实施方式中的第二切换电路54与如图1、图3中的第一切换电路24具有相同的电路结构,不同之处在于,上述第一电源10和第二电源20可以是强电电源,例如:220V或者380V的交流电源等,且待充电设备30可以是强电设备,例如:车载蓄电池等。第二切换电路54具体的工作原理可以参照如图1、图3中的第一切换电路24的工作原理,在此不再赘述。The second switching circuit 54 in this embodiment has the same circuit structure as the first switching circuit 24 in FIG. 1 and FIG. 3 , the difference is that the first power supply 10 and the second power supply 20 may be high-power power supplies , for example: 220V or 380V AC power supply, etc., and the device to be charged 30 may be a high-power device, such as a vehicle battery and the like. For the specific working principle of the second switching circuit 54, reference may be made to the working principle of the first switching circuit 24 in FIG. 1 and FIG. 3 , which will not be repeated here.

本申请实施例提供的第二种充电设备能够检测CC引脚上的电平值,在所述第一接口51中的CC引脚上的电平值大于或者等于第二预设阈值时,表示第二电源20有电能输出,从而连通第一接口51和第二节课52中的CC引脚,并断开所述第二接口52中的CC引脚与所述VBUS引脚,以通过第二电源20和CC引脚向待充电设备30充电。另外,在所述第一接口51中的CC引脚上的电平值小于所述第二预设阈值时,表示第二电源20无电能输出,从而断开第一接口51和第二节课52中的CC引脚,并连通所述第二接口52中的CC引脚与所述VBUS引脚,以通过第一电源10和VBUS引脚向待充电设备30充电,从而实现两个电源和充电通路之间的切换,确保待充电设备30能够充电。The second type of charging device provided by the embodiment of the present application can detect the level value on the CC pin, and when the level value on the CC pin in the first interface 51 is greater than or equal to the second preset threshold, it means The second power supply 20 has power output, thereby connecting the first interface 51 and the CC pin in the second section 52, and disconnecting the CC pin in the second interface 52 and the VBUS pin, so as to pass the first interface 51 and the VBUS pin. Two power supply 20 and CC pins charge the device 30 to be charged. In addition, when the level value on the CC pin in the first interface 51 is smaller than the second preset threshold, it means that the second power supply 20 has no power output, so the first interface 51 and the second lesson are disconnected CC pin in 52, and connect the CC pin in the second interface 52 with the VBUS pin, to charge the device to be charged 30 through the first power supply 10 and the VBUS pin, thereby realizing two power supplies and The switching between the charging paths ensures that the device 30 to be charged can be charged.

作为一种可选的实施方式,如图5所示,所述第二切换电路54包括第二开关控制模块541、第四开关Q23和第五开关Q22。As an optional implementation manner, as shown in FIG. 5 , the second switching circuit 54 includes a second switch control module 541 , a fourth switch Q23 and a fifth switch Q22 .

具体的,所述第二开关控制模块541的第一输入端与所述第一接口51中的CC引脚连接,所述第二开关控制模块541的第二输入端与所述VBUS引脚连接,所述第二开关控制模块541的第二端连接所述第四开关Q23的控制端和所述第五开关Q22的控制端,第四开关Q23用于控制所述第一接口中的CC引脚与所述第二接口中的CC引脚的通断,所述第五开关用于控制所述第二接口中的VBUS引脚与CC引脚的通断。Specifically, the first input terminal of the second switch control module 541 is connected to the CC pin of the first interface 51, and the second input terminal of the second switch control module 541 is connected to the VBUS pin , the second end of the second switch control module 541 is connected to the control end of the fourth switch Q23 and the control end of the fifth switch Q22, and the fourth switch Q23 is used to control the CC lead in the first interface The pin is connected to the CC pin in the second interface, and the fifth switch is used to control the connection between the VBUS pin and the CC pin in the second interface.

在工作中,所述第二开关控制模块541在获取到所述CC引脚上的电平值大于或者等于第二预设阈值时,控制所述第四开关Q23在第三预设时间后导通,并控制所述第五开关Q22在所述第三预设时间后断开;所述第二开关控制模块541在获取到所述CC引脚上的电平值小于所述第二预设阈值时,控制所述第四开关Q23在第四预设时间后断开,并控制所述第五开关Q22在所述第四预设时间后导通。During operation, the second switch control module 541 controls the fourth switch Q23 to switch on after a third preset time when the acquired level value on the CC pin is greater than or equal to the second preset threshold. turn on, and control the fifth switch Q22 to turn off after the third preset time; the second switch control module 541 obtains that the level value on the CC pin is less than the second preset When the threshold value is reached, the fourth switch Q23 is controlled to be turned off after a fourth preset time, and the fifth switch Q22 is controlled to be turned on after the fourth preset time.

更进一步的,第四开关Q23的第一端与第一接口51中的CC引脚连接,第四开关Q23的第二端与第二接口52中的CC引脚连接,且第五开关Q22的第一端与第二接口52中的CC引脚连接,第五开关Q22的第二端与VBUS引脚连接。这样,在第四开关Q23的第一端和第二端导通时,CC走线连通,在第四开关Q23的第一端和第二端断开时,CC走线断开;在第五开关Q22的第一端和第二端导通时,VBUS走线与第二接口52中的CC引脚连接,在第五开关Q22的第一端和第二端断开时,VBUS走线与第二接口52中的CC引脚断开。Further, the first end of the fourth switch Q23 is connected to the CC pin of the first interface 51, the second end of the fourth switch Q23 is connected to the CC pin of the second interface 52, and the fifth switch Q22 is connected to the CC pin of the second interface 52. The first end is connected to the CC pin of the second interface 52, and the second end of the fifth switch Q22 is connected to the VBUS pin. In this way, when the first end and the second end of the fourth switch Q23 are turned on, the CC line is connected, and when the first end and the second end of the fourth switch Q23 are disconnected, the CC line is disconnected; When the first end and the second end of the switch Q22 are turned on, the VBUS line is connected to the CC pin in the second interface 52. When the first end and the second end of the fifth switch Q22 are disconnected, the VBUS line is connected to the CC pin of the second interface 52. The CC pin in the second interface 52 is disconnected.

另外,在同一时间,第四开关Q23和第五开关Q22中的一个连通,另一个断开,以实现待充电设备30在不同情况下与不同的电源连接。In addition, at the same time, one of the fourth switch Q23 and the fifth switch Q22 is connected, and the other is disconnected, so that the device to be charged 30 is connected to different power sources under different conditions.

在具体实施中,上述第三预设时间和第四预设时间可以根据电源(10和20)和待充电设备30的实际情况确定,例如:对于充电要求比较高的待充电设备,可以将第三预设时间和第四预设时间设置为较短的时间长度,例如:1秒、2秒等。In a specific implementation, the above-mentioned third preset time and fourth preset time can be determined according to the actual conditions of the power sources (10 and 20) and the device to be charged 30. For example, for the device to be charged with relatively high charging requirements, the third preset time can be The third preset time and the fourth preset time are set to shorter time lengths, for example: 1 second, 2 seconds, and so on.

本实施方式提供的第二开关控制模块541具有与如图3所示第一开关控制模块241相同的电路结构和工作原理,且能够取得相同的有益效果,为避免重复,在此不再赘述。The second switch control module 541 provided in this embodiment has the same circuit structure and working principle as the first switch control module 241 shown in FIG. 3 , and can achieve the same beneficial effects. To avoid repetition, details are not repeated here.

作为一种可选的实施方式,如图5所示,所述第二开关控制模块541包括第六开关Q21、第四电阻R21、第五电阻R22和第二电容C21。As an optional implementation manner, as shown in FIG. 5 , the second switch control module 541 includes a sixth switch Q21 , a fourth resistor R21 , a fifth resistor R22 and a second capacitor C21 .

具体的,所述第六开关Q21的控制端与所述第一接口51中的CC引脚连接,所述第四电阻R21的第一端与所述VBUS引脚连接,所述第五电阻R22的第一端与所述第四开关Q23的控制端以及第五开关Q22的控制端连接;第六开关Q21的第一端与所述第四电阻R21的第二端以及所述第五电阻R22的第二端连接,所述第六开关Q21的第二端与所述第二电容C21的第一端以及接地端连接,所述第二电容C21的第二端与所述第五电阻R22的第一端连接。Specifically, the control terminal of the sixth switch Q21 is connected to the CC pin of the first interface 51, the first terminal of the fourth resistor R21 is connected to the VBUS pin, and the fifth resistor R22 The first end of the switch Q23 is connected to the control end of the fourth switch Q23 and the control end of the fifth switch Q22; the first end of the sixth switch Q21 is connected to the second end of the fourth resistor R21 and the fifth resistor R22 The second end of the sixth switch Q21 is connected to the first end of the second capacitor C21 and the ground end, the second end of the second capacitor C21 is connected to the second end of the fifth resistor R22 The first end is connected.

需要说明的是,上述第二开关控制模块541的电路结构及原理与如图4a所示第一开关控制模块241相同,在此作具体限定。It should be noted that the circuit structure and principle of the second switch control module 541 are the same as those of the first switch control module 241 shown in FIG. 4a , which are specifically limited here.

另外,上述第二开关控制模块541的电路结构还可以作出与如图4b-4h所示第一开关控制模块241相同的改进,在此不再一一阐述。In addition, the circuit structure of the second switch control module 541 can also be improved in the same way as the first switch control module 241 shown in FIGS. 4b-4h, which will not be described one by one here.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和电子设备的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. In addition, it should be noted that the scope of the methods and electronic devices in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved To perform functions, for example, the methods described may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course hardware can also be used, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.

Claims (12)

1. A data line, comprising: the device comprises a first Type-A interface, a Type-C interface and a cable connected between the first Type-A interface and the Type-C interface; first Type-A interface with the Type-C interface all includes VBUS pin, CC pin, communication pin and GND pin, just first Type-A interface with VBUS pin, communication pin and GND pin one-to-one in the Type-C interface is connected its characterized in that:
a first switching circuit is arranged in the data line, a CC pin in the first Type-A interface is connected with a detection end of the first switching circuit and a first end of the first switching circuit, a second end of the first switching circuit is connected with the CC pin in the Type-C interface, and a third end of the first switching circuit is connected with a VBUS pin;
under the condition that the data line is connected with a charger, if the charger is a first charger, the first switching circuit controls a CC pin in the first Type-A interface to be communicated with a CC pin in the Type-C interface, and the CC pin in the Type-C interface is disconnected with the VBUS pin; if the charger is a second charger, the first switching circuit controls the CC pin in the first Type-A interface to be disconnected with the CC pin in the Type-C interface, and the CC pin in the Type-C interface is communicated with the VBUS pin;
under the condition that the data line is connected with the first charger, the first switching circuit acquires a first preset electric signal through the CC pin, and the first charger is a charger supporting PD charging; and under the condition that the data line is connected with the second charger, the first switching circuit does not acquire the first preset electric signal through the CC pin, and the second charger is a charger which does not support PD charging.
2. The data line of claim 1, wherein the first switching circuit comprises a first switch control module, a first switch, and a second switch, the data line further comprising a pull-up resistor;
a first input end of the first switch control module is connected with a CC pin in the first Type-a interface, a second input end of the first switch control module is connected with the VBUS pin, a third end of the first switch control module is connected with a control end of the first switch and a control end of the second switch, a first end of the first switch is connected with the CC pin in the first Type-a interface, the CC pin in the Type-C interface is connected with a second end of the first switch and a first end of the second switch, and the pull-up resistor is connected between a second end of the second switch and the VBUS pin;
when the level value of the CC pin is greater than or equal to a first preset threshold, the first switch control module controls the first switch to be switched on after first preset time and controls the second switch to be switched off after the first preset time;
and when the level value of the CC pin is smaller than the first preset threshold, the first switch control module controls the first switch to be switched off after second preset time and controls the second switch to be switched on after the second preset time.
3. The data line of claim 2, wherein the first switch control module comprises a third switch, a first resistor, a second resistor, and a first capacitor;
a control end of the third switch is connected with a CC pin in the first Type-A interface, a first end of the first resistor is connected with the VBUS pin, and a first end of the second resistor is connected with a control end of the first switch and a control end of the second switch; the second end of the third switch is connected with the second end of the first resistor and the second end of the second resistor, the third end of the third switch is connected with the first end of the first capacitor and the grounding end, and the second end of the first capacitor is connected with the first end of the second resistor.
4. The data line of claim 3, wherein the first switch, the second switch, and the third switch are transistors.
5. The data line of claim 4, wherein the first switch is an NMOS transistor, and the second switch and the third switch are PNP transistors or PMOS transistors.
6. The data line of claim 4, wherein the communication pin comprises a D + pin and a D-pin.
7. A charging device, comprising a charger and a data line connected with the charger, wherein the data line is the data line according to any one of claims 1 to 6, the charger comprises a second Type-A interface and a protocol control module, the second Type-A interface comprises a VBUS pin, a CC pin, a communication pin and a GND pin, and the VBUS pin, the CC pin, the communication pin and the GND pin in the second Type-A interface and the first Type-A interface are connected in a one-to-one correspondence manner;
the protocol control module comprises a target power supply, a first end of the protocol control module is connected with a CC pin in the charger and the target power supply, a communication pin in the charger is connected with a second end of the protocol control module, and when the charging equipment is connected with the power supply, the first switching circuit obtains the first preset electric signal through the CC pin;
under the condition that the charging equipment is connected with the equipment to be charged, if the protocol control module acquires the communication signal transmitted by the CC pin, the PD charging is carried out on the equipment to be charged; and if the protocol control module acquires the communication signal transmitted by the communication pin, carrying out non-PD charging on the equipment to be charged.
8. The charging device of claim 7, wherein in a case that the communication pin comprises a D + pin and a D-pin, the protocol control module is further configured with a communication protocol of a charging signal transmitted through the D + pin and the D-pin, and the protocol control module determines the charging parameter for the device to be charged based on the charging signal transmitted through the D + pin and the D-pin.
9. The charging apparatus of claim 7, wherein the target power source is a current source or a voltage source in series with a third resistor.
10. A charging device, comprising: first interface, second interface and connect in first interface with the cable between the second interface, its characterized in that:
the first interface and the second interface respectively comprise a VBUS pin, a CC pin and a GND pin, and the VBUS pin and the GND pin in the first interface and the second interface are connected in a one-to-one corresponding mode;
a second switching circuit is arranged in the cable, a CC pin in the first interface is connected with a detection end of the second switching circuit and a first end of the second switching circuit, a second end of the second switching circuit is connected with the CC pin in the second interface, and a third end of the second switching circuit is connected with the VBUS pin;
a VBUS pin in the first interface is used for being connected with a first power supply, a CC pin in the first interface is used for being connected with a second power supply, and the second interface is used for being connected with equipment to be charged;
when the charging device is connected with a power supply and a device to be charged, and a level value on a CC pin in the first interface is greater than or equal to a second preset threshold, the second switching circuit controls the CC pin in the first interface to be communicated with the CC pin in the second interface, and the CC pin in the second interface is disconnected with the VBUS pin; when the level value of the CC pin in the first interface is smaller than the second preset threshold, the second switching circuit controls the CC pin in the first interface to be disconnected with the CC pin in the second interface, and the CC pin in the second interface is communicated with the VBUS pin.
11. The charging device of claim 10, wherein the second switching circuit comprises a second switch control module, a fourth switch, and a fifth switch;
a first input end of the second switch control module is connected with a CC pin in the first interface, a second input end of the second switch control module is connected with a VBUS pin, a first end of the second switch control module is connected with a control end of the fourth switch and a control end of the fifth switch, the fourth switch is used for controlling the connection and disconnection of the CC pin in the first interface and the CC pin in the second interface, and the fifth switch is used for controlling the connection and disconnection of the VBUS pin and the CC pin in the second interface;
when the second switch control module obtains that the level value on the CC pin is greater than or equal to a second preset threshold, the fourth switch is controlled to be switched on after a third preset time, and the fifth switch is controlled to be switched off after the third preset time;
and the second switch control module controls the fourth switch to be switched off after fourth preset time and controls the fifth switch to be switched on after the fourth preset time when the second switch control module acquires that the level value on the CC pin is smaller than the second preset threshold.
12. The charging device of claim 11, wherein the second switch control module comprises a sixth switch, a fourth resistor, a fifth resistor, and a second capacitor;
a control end of the sixth switch is connected with a CC pin in the first interface, a first end of the fourth resistor is connected with the VBUS pin, and a first end of the fifth resistor is connected with a control end of the fourth switch and a control end of the fifth switch; the first end of the sixth switch is connected with the second end of the fourth resistor and the second end of the fifth resistor, the second end of the sixth switch is connected with the first end of the second capacitor and the grounding end, and the second end of the second capacitor is connected with the first end of the fifth resistor.
CN202010673773.1A 2020-07-14 2020-07-14 Data line and charging equipment Active CN111817096B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010673773.1A CN111817096B (en) 2020-07-14 2020-07-14 Data line and charging equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010673773.1A CN111817096B (en) 2020-07-14 2020-07-14 Data line and charging equipment

Publications (2)

Publication Number Publication Date
CN111817096A true CN111817096A (en) 2020-10-23
CN111817096B CN111817096B (en) 2021-11-23

Family

ID=72842452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010673773.1A Active CN111817096B (en) 2020-07-14 2020-07-14 Data line and charging equipment

Country Status (1)

Country Link
CN (1) CN111817096B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112787372A (en) * 2020-12-29 2021-05-11 维沃移动通信有限公司 Charging equipment and charging system
CN112952485A (en) * 2021-01-28 2021-06-11 深圳慧能泰半导体科技有限公司 Compatible charging cable and control method thereof
CN113395066A (en) * 2021-06-08 2021-09-14 深圳市世纪创新显示电子有限公司 TYPE C circuit without PD chip
CN115189322A (en) * 2021-04-01 2022-10-14 深圳市汇顶科技股份有限公司 Electronic tag chip and charging cable

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150346790A1 (en) * 2014-05-28 2015-12-03 Nokia Corporation Baseband pd communication over usb standard a connector
CN106992372A (en) * 2017-05-31 2017-07-28 珠海市魅族科技有限公司 USB cable, USB interface and adapter
CN107706685A (en) * 2017-11-24 2018-02-16 深圳市乐得瑞科技有限公司 A kind of connector
CN108233130A (en) * 2017-08-01 2018-06-29 珠海市魅族科技有限公司 USB cable, USB interface and adapter
CN207868535U (en) * 2018-03-01 2018-09-14 深圳市鹏元晟实业有限公司 A kind of connector circuit
CN208158154U (en) * 2018-03-20 2018-11-27 新港海岸(北京)科技有限公司 Fast charge line and fast charging system
CN110534988A (en) * 2019-09-25 2019-12-03 上海爻火微电子有限公司 Type A-Type C cable and its cable chip
CN210327098U (en) * 2019-09-16 2020-04-14 上海爻火微电子有限公司 Charging device and charging assembly adopting USB PD
CN210577833U (en) * 2019-06-28 2020-05-19 深圳市大宇精密工业有限公司 Fast mode switching circuit and fast data line that fills

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150346790A1 (en) * 2014-05-28 2015-12-03 Nokia Corporation Baseband pd communication over usb standard a connector
CN106992372A (en) * 2017-05-31 2017-07-28 珠海市魅族科技有限公司 USB cable, USB interface and adapter
CN108233130A (en) * 2017-08-01 2018-06-29 珠海市魅族科技有限公司 USB cable, USB interface and adapter
CN107706685A (en) * 2017-11-24 2018-02-16 深圳市乐得瑞科技有限公司 A kind of connector
CN207868535U (en) * 2018-03-01 2018-09-14 深圳市鹏元晟实业有限公司 A kind of connector circuit
CN208158154U (en) * 2018-03-20 2018-11-27 新港海岸(北京)科技有限公司 Fast charge line and fast charging system
CN210577833U (en) * 2019-06-28 2020-05-19 深圳市大宇精密工业有限公司 Fast mode switching circuit and fast data line that fills
CN210327098U (en) * 2019-09-16 2020-04-14 上海爻火微电子有限公司 Charging device and charging assembly adopting USB PD
CN110534988A (en) * 2019-09-25 2019-12-03 上海爻火微电子有限公司 Type A-Type C cable and its cable chip

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112787372A (en) * 2020-12-29 2021-05-11 维沃移动通信有限公司 Charging equipment and charging system
CN112787372B (en) * 2020-12-29 2023-10-27 维沃移动通信有限公司 Charging equipment and charging systems
CN112952485A (en) * 2021-01-28 2021-06-11 深圳慧能泰半导体科技有限公司 Compatible charging cable and control method thereof
CN115189322A (en) * 2021-04-01 2022-10-14 深圳市汇顶科技股份有限公司 Electronic tag chip and charging cable
CN115189322B (en) * 2021-04-01 2023-08-25 深圳市汇顶科技股份有限公司 Electronic label chip and charging cable
CN113395066A (en) * 2021-06-08 2021-09-14 深圳市世纪创新显示电子有限公司 TYPE C circuit without PD chip

Also Published As

Publication number Publication date
CN111817096B (en) 2021-11-23

Similar Documents

Publication Publication Date Title
CN111817096A (en) Data cables and charging equipment
JP7428835B2 (en) Charging circuit and charging cable
US9904267B2 (en) Method and apparatus for determining direction of power delivery
CN111404219A (en) Method, electronic device and charger device for fast USB charging
CN106415979A (en) Baseband PD communication via USB Standard A connector
CN111817380B (en) Chargers, cables, charging equipment and electronic equipment
CN111509817B (en) Data line and charging equipment
CN111817386B (en) Data line and charging device
WO2022012577A1 (en) Charger, data line, and charging device
EP4160861A1 (en) Charger, data cable, and charging device
CN108321860A (en) Bidirectional charging and discharging circuit architecture
CN210780912U (en) Electronic equipment and accessory with quick charging and audio transmission functions
CN111509815A (en) Data cables and charging equipment
CN103855781B (en) Charger and electronic installation
CN111509816B (en) Charger, data line and charging equipment
CN112952485B (en) Compatible charging cable and control method thereof
CN111817381B (en) Charger, data line and charging equipment
CN111817378B (en) Charger, data line and charging equipment
CN111509814A (en) Data cables and charging equipment
TWI806769B (en) Power delivery device and control method of power supply path
CN109861038B (en) USB connection port capable of automatically switching connection mode and control method thereof
CN116111671A (en) A single-interface charging and discharging circuit and energy storage device
CN115132117A (en) Multi-blind-mate display circuit, device and method based on single TypeC interface
CN106230061A (en) Charging method and charger
CN216981542U (en) A charging device and a shared charging system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant