CN112825401B - Charging line, charger, charging control method and charging device - Google Patents

Charging line, charger, charging control method and charging device Download PDF

Info

Publication number
CN112825401B
CN112825401B CN201911143707.7A CN201911143707A CN112825401B CN 112825401 B CN112825401 B CN 112825401B CN 201911143707 A CN201911143707 A CN 201911143707A CN 112825401 B CN112825401 B CN 112825401B
Authority
CN
China
Prior art keywords
charging
line
pin
connecting end
charged
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.)
Active
Application number
CN201911143707.7A
Other languages
Chinese (zh)
Other versions
CN112825401A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201911143707.7A priority Critical patent/CN112825401B/en
Publication of CN112825401A publication Critical patent/CN112825401A/en
Application granted granted Critical
Publication of CN112825401B publication Critical patent/CN112825401B/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
    • H01R27/00Coupling parts adapted for co-operation with two or more dissimilar counterparts
    • 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/6608Structural association with built-in electrical component with built-in single component
    • H01R13/6616Structural association with built-in electrical component with built-in single component with resistor
    • 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
    • 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
    • H01R13/6683Structural association with built-in electrical component with built-in electronic circuit with built-in sensor
    • 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/70Structural association with built-in electrical component with built-in switch
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R29/00Coupling parts for selective co-operation with a counterpart in different ways to establish different circuits, e.g. for voltage selection, for series-parallel selection, programmable connectors
    • 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

Landscapes

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

Abstract

The disclosure relates to the technical field of chargers, in particular to a charging line, a charger, a charging control method and a charging device. A charging cord, comprising: the first connecting end is connected with the charger; the second connecting end is connected with the equipment to be charged; the first line charges the equipment to be charged which supports the first charging protocol type; the second line charges the equipment to be charged which supports the second charging protocol type; the switching unit switches the first line connection or the second line connection. The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: can judge the charging protocol type that supports automatically according to the interface type of the equipment of waiting to charge through a charging wire to accord with the charging circuit of the protocol type of charging according to various charging protocol types automatic switch-over, need not the user and prepare the charging wire respectively to the different equipment of waiting to charge, convenience of customers uses, and portable saves space.

Description

Charging line, charger, charging control method and charging device
Technical Field
The disclosure relates to the technical field of chargers, in particular to a charging line, a charger, a charging control method and a charging device.
Background
Various electric appliances using special rechargeable batteries need to be connected with commercial power through a charger to charge the batteries. The charger also has different charging protocols according to different types of electric appliances, so that the charger needs to be matched with the electric appliances with the corresponding charging protocols for use. For example, digital Communication Protocol (DCP), quick Charge Protocol (QC), and Power Delivery Protocol (PD) and the like.
The more the types of the electric appliances need to be charged, the more the required chargers need to be used, and the chargers with various charging protocols are not universal, so that a plurality of users need to be respectively provided with corresponding chargers corresponding to various electric appliances, and particularly when the users travel, the various chargers need to be carried about, so that the luggage space is occupied, and the use is inconvenient.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a charging line, a charger, a charging control method, and a charging device.
According to an aspect of the embodiments of the present disclosure, there is provided a charging wire including a first connection terminal, a second connection terminal, a first line, a second line, and a switching unit, wherein: the first connecting end is used for connecting a charger; the second connecting end is used for connecting the equipment to be charged; the charging device comprises a first circuit, a second circuit and a charging unit, wherein the first circuit is used for charging equipment to be charged which supports a first charging protocol type; the second circuit is used for charging the equipment to be charged which supports the second charging protocol type; and the switching unit is used for switching the connection between the first connecting end and the second connecting end through a first line or switching the connection between the first connecting end and the second connecting end through a second line according to the type of the charging protocol supported by the equipment to be charged.
In one embodiment, the first connection end and the second connection end each comprise a first data line pin, a second data line pin, a ground line pin, a configuration channel CC pin and a power supply VBUS line pin; the first circuit includes: the device comprises a first data line, a second data line, a ground line and a CC line; the second line comprises a second data line, a ground line, a CC line and a VBUS line; the first data line is electrically connected with a first data line pin of the first connecting end and a first data line pin of the second connecting end; the second data line is electrically connected with the second data line pin of the first connecting end and the second data line pin of the second connecting end; the ground wire is electrically connected with the ground wire pin of the first connecting end and the ground wire pin of the second connecting end; the CC circuit is electrically connected with the CC pin of the first connecting end and the CC pin of the second connecting end; the VBUS wire is electrically connected with the VBUS wire pin of the first connecting end and the VBUS pin of the second connecting end.
In one embodiment, the switching unit includes a first switch and a pull-up resistor; the first switch includes a common contact, a first contact, and a second contact, the first switch switching between the first contact and the second contact; the pull-up resistor is electrically connected between the first contact and the VBUS line; the common contact is communicated with a first data line pin of the first connecting end, the second contact is communicated with a first data line pin of the second connecting end, and the first contact is communicated with the pull-up resistor.
In one embodiment, the second line further comprises a second switch, and the second switch is used for controlling connection or disconnection of the VBUS line.
In one embodiment, the first connection end is a USB interface of an A-type port; the second connecting end is a USB interface of a C-shaped port.
In one embodiment, the charging cord further comprises a control unit; the control unit is arranged at the first connection end and used for detecting the type of the charging protocol supported by the equipment to be charged and controlling the switching of the switching unit and/or the second switch.
According to another aspect of the embodiments of the present disclosure, there is provided a charger for use with a charging cord as described in the first aspect or any one of the embodiments of the first aspect; the charging system comprises a control unit, a charging unit and a charging unit, wherein the control unit is used for detecting the type of a charging protocol supported by a device to be charged; and the control unit is used for controlling the switching of the switching unit and/or the second switch of the charging wire according to the detection result of the type of the charging protocol.
According to another aspect of the embodiments of the present disclosure, there is provided a charging control method applied to the charging cord of any one of the first aspect or the first aspect, or a scenario in which the charging cord applied to any one of the first aspect or the first aspect is used in cooperation with the charger of the second aspect, including:
when the charging wire is connected with the charger and is connected with the equipment to be charged, detecting the type of a charging protocol supported by the equipment to be charged;
when the charging protocol type is the first charging protocol type, the switching unit is switched to the first line to be electrically connected with the first connecting end and the second connecting end, and the equipment to be charged is charged;
when the charging protocol type is a second charging protocol type, the switching unit is switched to a second line to be electrically connected with the first connecting end and the second connecting end, and the equipment to be charged is charged.
In one embodiment, the determining the type of the charging protocol supported by the device to be charged includes:
when it is determined that a loop is not formed among a first data line pin of a first connection end, a switch, a VBUS line and a first connection end VBUS line pin, it is determined that the equipment to be charged supports a first charging protocol type;
when a loop is formed among the first data line pin of the first connection end, the switch, the VBUS line and the first connection end VBUS line pin, it is determined that the equipment to be charged supports the second charging protocol type.
In one embodiment, the switching to the first line by the switching unit to electrically connect the first connection terminal and the second connection terminal includes: and controlling the first switch to be disconnected with the pull-up resistor and controlling the first switch to be connected with the first data line and the first data line pin of the second connecting end.
In one embodiment, the method further comprises: and when the first circuit is switched to the first line through the switching unit to electrically connect the first connecting end and the second connecting end, the second switch is disconnected.
In one embodiment, the charging protocol type is any two of the following combinations: power transmission protocol, fast charging protocol, digital communication protocol.
According to another aspect of the embodiments of the present disclosure, there is provided a charging device including: the detection unit is used for detecting the type of a charging protocol supported by the equipment to be charged when the charging wire is connected with the charger and connected with the equipment to be charged; the execution unit is used for switching to a first circuit to be electrically connected with the first connecting end and the second connecting end through the switching unit when the charging protocol type is the first charging protocol type, and charging the equipment to be charged; and when the charging protocol type is the second charging protocol type, the switching unit is used for switching to a second line to be electrically connected with the first connecting end and the second connecting end and charging the equipment to be charged.
According to another aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer-executable instructions that, when executed by a processor, perform the method of any one of the above-mentioned third aspect or third aspect embodiments.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
to the battery charging outfit of treating of different interface types, need not to change again and satisfy the different charging wires of the charging agreement type that the interface type corresponds, under the condition of a charging wire, can be according to the automatic judgement charging agreement type of the interface type of treating the battery charging outfit to by the inside switching unit of charging wire, automatic switch accords with the charging circuit of the present required charging agreement type, to the user, need not to prepare various charging wires respectively to different by the battery charging outfit again, has promoted user experience to a certain extent.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a schematic diagram illustrating a charging cord according to an exemplary embodiment of the present disclosure.
Fig. 2 is a circuit diagram illustrating a charging wire according to an exemplary embodiment of the present disclosure.
Fig. 3 is a schematic diagram illustrating a charge line circuit applied to a handset according to an exemplary embodiment of the present disclosure.
Fig. 4 is a flowchart illustrating a charging method according to an exemplary embodiment of the present disclosure.
Fig. 5 is a block diagram illustrating a structure of a charging device according to an exemplary embodiment of the present disclosure.
Fig. 6 is a block diagram illustrating an apparatus according to a sixth exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1 is a schematic diagram illustrating a charger according to an exemplary embodiment of the present disclosure. Fig. 2 is a circuit diagram illustrating a charger according to an exemplary embodiment of the present disclosure.
According to an aspect of an embodiment of the present disclosure, referring to fig. 1 and 2, there is provided a charging wire 100 including a first connection terminal 110, a second connection terminal 120, a first line, a second line, and a switching unit 140. Wherein: the first connecting end 110 is used for connecting a charger. And a second connection terminal 120 for connecting a device to be charged. The charging device comprises a first circuit for charging a device to be charged supporting a first charging protocol type. And the second line is used for charging the equipment to be charged which supports the second charging protocol type. The switching unit 140 is configured to switch the first connection end 110 to be connected to the second connection end 120 through a first line, or switch the first connection end 110 to be connected to the second connection end 120 through a second line according to a charging protocol type supported by the device to be charged.
The first connection end 110 and the second connection end 120 are electrically connected through a first line and a second line, the first line and the second line judge a charging protocol type supported by a device to be charged, for example, a mobile phone, through a chip 111 disposed at the first connection end 110, and switch between the first line and the second line through a switching unit 140 according to different protocol types. The charger can automatically judge the type of the charging protocol according to the type of the interface of the connected charged equipment and automatically switch the charging circuit according with the charging protocol according to various charging protocols without the need of preparing chargers for different charged equipment respectively,
in one embodiment, the first and second connection terminals each include a first data line pin, a second data line pin, a ground line pin, a CC pin, and a VBUS line pin.
The first circuit includes: a first data line 133, a second data line 132, a ground line 131, and a CC line 134. The first data line 133 electrically connects the first data line pin of the first connection terminal 110 and the first data line pin of the second connection terminal 120. The second data line 132 electrically connects the second data line pin of the first connection terminal 110 and the second data line pin of the second connection terminal 120. The ground line 131 electrically connects the ground line pin of the first connection terminal 110 and the ground line pin of the second connection terminal 120. The CC line 134 electrically connects the CC pin of the first connection terminal 110 and the CC pin of the second connection terminal 20.
The second line includes a second data line 132, a ground line 131, a CC line 134, and a VBUS line 135. The VBUS line 135 electrically connects the VBUS line pin of the first connection terminal 110 and the VBUS pin of the second connection terminal 120.
When the device to be charged supports the first type of charging protocol for charging, the first connection terminal 110 and the second connection terminal 120 may be connected through four lines of the first line of the charging line provided by the present disclosure, that is, the first data line 133, the second data line 132, the ground line 131, and the CC line 134, so as to charge the device to be charged using the first type of charging protocol. When the device to be charged supports the second type of charging protocol for charging, on the basis of the first line, the VBUS line 135 is switched to replace the first data line 133 in the first line through the switching unit built in the charging line, so as to charge the device to be charged by using the second type of charging protocol corresponding to the second line.
Fig. 3 is a schematic diagram illustrating a charge line circuit applied to a handset according to an exemplary embodiment of the present disclosure.
In the charging cable with the above structure, a plurality of circuits conforming to a plurality of charging protocols are disposed in the same charging cable, taking a PD protocol and a QC protocol as an example, referring to fig. 3, for example, in a mobile phone charger, for the charger conforming to the QC protocol and the DCP protocol, charging can be implemented through the first data line 133 (D + line), the second data line 132 (D-line), the ground line 131 (GND line), and the configuration channel line 134 (CC line). For example, early USB chargers had four pins, connected to the D +, D-, GND, and CC lines, respectively.
Charging can be achieved for a charger conforming to the PD protocol through the second data line 132 (D-line), the ground line 131 (GND line), the configuration channel line 134, and the VBUS line 135 (power supply line). Therefore, the USB charger conforming to the PD protocol also has four pins which are respectively connected with D-, GND, CC and VBUS lines.
Of course, the embodiments of the present application are not limited to the PD protocol and the QC protocol, and the PD protocol and the DCP protocol are all applicable to the scheme proposed in the present application.
In one embodiment, the switch switching unit 140 includes a first switch 141 and a pull-up resistor 142 therein. The first switch 141 includes a common contact, a first contact, and a second contact, and the first switch 141 switches between the first contact and the second contact; pull-up resistor 142 is electrically connected between the first contact and VBUS line 135; the common contact communicates with the first data line pin of the first connection terminal 110, the second contact communicates with the first data line pin of the second connection terminal 120, and the first contact communicates with the pull-up resistor 142.
The switching of the circuit is realized by the first switch 141, and the rising of the level is realized by the pull-up resistor 142 electrically connected to the VBUS line 135. The pull-up resistor 142 can clamp the indeterminate signal at a high level for the open collector output type circuit output current path. The information configuration of the PD charging protocol is performed on VBUS line 135 through pull-up resistor 142. In the present embodiment, a pull-up resistance value of 56K Ω is employed.
The first data line pin, the first switch 141, the first data line 133, and the second connection terminal 120 are sequentially connected in series to form a first line, i.e., a charging circuit conforming to the QC protocol.
The first data line pin of the first connection end 110, the first switch 141, the pull-up resistor 142, the VBUS line 135, and the VBUS line pin of the first connection end 110 are sequentially connected in series to form a second line, that is, a charging circuit conforming to the PD protocol.
In one embodiment, a second switch 112 is further included in the second line, and the second switch 112 is used to control the connection or disconnection of the VBUS line 135.
When the common contact of the first switch 141 is disconnected from the first contact and is connected to the second contact, and the CC line 134 between the first connection end 110 and the second connection end 120 is in a connected state, at this time, the first line is connected, the device to be charged conforming to the QC protocol can be charged, the interface of the charging device end should have four pins, that is, the ground pin, the first data line pin, the second data line pin, and the charging interface of the CC line pin, so there is no current between the VBUS line 135 of the charging line and the charging device, the connection of the VBUS line 135 does not affect the charging of the charging device, but, in order to ensure that no accident occurs in the charging process, the control unit 111 of the first connection end 110 controls the second switch 112 to be disconnected, and the VBUS line 135 is completely disconnected. In one embodiment, the voltage of the VBUS line 135 is 5V.
The VBUS line is the power line from HOST/HUB to supply power to the USB device, i.e., +5V for a regular USB device.
When the common contact of the first switch 141 is connected to the first contact and disconnected from the second contact, and the VBUS line 135 between the first connection end 110 and the second connection end 120 is in a connected state, the second line is connected, and the device to be charged conforming to the PD protocol can be charged.
In one embodiment, the first connection end 110 is a USB interface of an a-type port; the second connection end 120 is a USB interface with a C-shaped port.
As above, the first connection end 110 is a USB interface with an a-type port having 5 pins. In this embodiment, the second connection terminal 120 is a Type-C USB interface.
In one embodiment, the charging cord 100 further comprises a control unit 111; the control unit 111 is disposed at the first connection end 110, and is configured to detect a charging protocol type supported by the device to be charged, and to control the switching of the switching unit 140 and/or the second switch 112.
Of course, the control unit 111 may be disposed inside a charging line, or may be disposed inside a charger used with the charging line, and for a scenario that the control unit 111 is not disposed inside the charging line but disposed inside the charger, the embodiment of the present disclosure further provides a charger, including a control unit 111 for detecting a charging protocol type supported by a device to be charged, and the control unit 111 is mainly configured to control switching of the switching unit 140 and/or the second switch 112 of the charging line 100 according to a detection result of the charging protocol type.
Fig. 4 is a flowchart illustrating a charging method according to an exemplary embodiment of the present disclosure.
According to another aspect of the embodiments of the present disclosure, there is provided a charging control method, referring to fig. 4, applied to a scenario where the charging cable is used in combination with the charger, including:
in step S100, when the charging wire is connected to the charger and the device to be charged, the type of charging protocol supported by the device to be charged is detected.
In step S200, when the charging protocol type is the first charging protocol type, the switching unit is switched to the first line to electrically connect the first connection end and the second connection end, and the device to be charged is charged.
In step S300, when the charging protocol type is the second charging protocol type, the switching unit is switched to the second line to electrically connect the first connection end and the second connection end, and the device to be charged is charged.
In one embodiment, the determining the type of the charging protocol supported by the device to be charged includes:
when it is determined that a loop is not formed among a first data line pin of a first connection end, a switch, a VBUS line and a first connection end VBUS line pin, it is determined that the equipment to be charged supports a first charging protocol type;
when a loop is formed among the first data line pin of the first connection end, the switch, the VBUS line and the first connection end VBUS line pin, it is determined that the equipment to be charged supports the second charging protocol type.
When the first connecting end of the charging wire provided by the disclosure is connected with the charger, the second connecting end is connected with the device to be charged, for example, when the device to be charged is a mobile phone, the control unit of the first connecting end judges the type of a charging protocol supported by the mobile phone connected to the second connecting end, when the charging wire is inserted into the charger, the charger is internally provided with a current source, the control unit judges that the mobile phone supports a PD protocol, the first switch and the current source in the first connecting end form a loop, and the first switch is connected with a pull-up resistor of 56K omega. And the CC pin of the first connecting end sends an instruction to communicate with the second connecting end, so that a PD protocol is realized.
In this embodiment, the first switch connects the pull-up resistor to the default state, that is, in the default state, the charger of the present disclosure is suitable for a charger conforming to the PD protocol, and communicates with the second line.
In one embodiment, electrically connecting the first connection terminal and the second connection terminal to the first line by switching the switching unit includes: and controlling the first switch to be disconnected with the pull-up resistor and controlling the first switch to be connected with the first data line and the first data line pin of the second connecting end.
When the charging wire is inserted into the charger, the control unit judges that the mobile phone supports a QC (Quaternary clock) protocol or a DCP (digital data processing) protocol, the control unit disconnects the second switch, the first switch is disconnected from the pull-up resistor, and a D + terminal of the first connecting end and a D + terminal of the second connecting end are connected to communicate a D + circuit. And charging the mobile phone of the second connecting end through the first circuit.
In one embodiment, the method further comprises: and when the first circuit is switched to the first line through the switching unit to electrically connect the first connecting end and the second connecting end, the second switch is disconnected.
First line intercommunication, can charge to the battery charging outfit that accords with the QC agreement, the interface of battery charging outfit end should be for having four pins, namely, the ground wire pin, the interface that charges of first data line pin, second data line pin and CC circuit pin, consequently there is not electric current between the VBUS line of charging wire and the battery charging outfit, VBUS line intercommunication can not influence the charging of battery charging outfit, however, in order to ensure that the unexpected condition can not appear in the charging process, lead to the emergence of accident, the control unit through first link controls the disconnection of second switch, thoroughly open circuit with VBUS line.
In one embodiment, the charging protocol types are any two of the following combinations: power transmission protocol, fast charging protocol, digital communication protocol.
The charging protocol commonly used at present is a power transfer protocol (PD protocol), and a quick charge protocol (QC protocol), and the latest technology is the PD protocol, so as above, the default state of the charging wire of the present disclosure is the state of the second line communication. In addition to this, many users keep the devices conforming to the older charging technology, i.e., digital Communication Protocol (DCP), the circuits of the devices conforming to the DCP protocol are the same as those of the devices conforming to the QC protocol, and thus, it is sufficient to perform charging using the first line.
As described above, the default state of the charging line of the present disclosure is a state of the second line communication conforming to the PD protocol, and therefore, the priority of the determination policy of the control unit is that the PD protocol is first, the QC protocol is second, and finally the DCP protocol is used, which effectively ensures the reliability of charging.
Fig. 5 is a block diagram illustrating a structure of a charging device according to an exemplary embodiment of the present disclosure.
According to another aspect of the embodiments of the present disclosure, there is provided a charging device 200, referring to fig. 5, the charging device including: the detecting unit 210 is configured to detect a charging protocol type supported by a device to be charged when a charging line is connected to the charger and to the device to be charged; the execution unit 220 is configured to, when the charging protocol type is the first charging protocol type, switch to the first line through the switching unit to electrically connect the first connection end and the second connection end, and charge the device to be charged; and when the charging protocol type is the second charging protocol type, the switching unit is switched to the second line to electrically connect the first connection end and the second connection end, and the device to be charged is charged.
According to another aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer-executable instructions that, when executed by a processor, perform the method of any one of the above-mentioned third aspect or third aspect embodiments.
Fig. 6 is a block diagram illustrating a screen projection method for a terminal and an apparatus 600 of a screen projection apparatus for a terminal according to a sixth exemplary embodiment of the present disclosure. For example, the apparatus 600 may be provided as a server. Referring to fig. 6, the apparatus 600 includes a processing component 622 that further includes one or more processors and memory resources, represented by memory 632, for storing instructions, such as applications, that are executable by the processing component 622. The application programs stored in memory 632 may include one or more modules that each correspond to a set of instructions. Further, the processing component 622 is configured to execute instructions to perform the screen projection method of the terminal described above.
The apparatus 600 may also include a power component 626 configured to perform power management of the apparatus 600, a wired or wireless network interface 650 configured to connect the apparatus 600 to a network, and an input/output (I/O) interface 658. The apparatus 600 may operate based on an operating system stored in the memory 632, such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, or the like.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (8)

1. The utility model provides a charging wire, its characterized in that includes first link, second link, first circuit, second circuit and switching unit, wherein:
the first connecting end is used for connecting a charger;
the second connecting end is used for connecting the equipment to be charged;
the first circuit comprises a first data line, a second data line, a ground line and a CC circuit and is used for charging the equipment to be charged which supports the first charging protocol type;
the second line comprises the second data line, the ground line, the CC line and the VBUS line and is used for charging equipment to be charged which supports a second charging protocol type;
a switching unit including a first switch and a pull-up resistor, configured to switch the first connection end to be connected to the second connection end through the first line or switch the first connection end to be connected to the second connection end through the second line according to a charging protocol type supported by the device to be charged,
the first connecting end and the second connecting end respectively comprise a first data line pin, a second data line pin, a ground wire pin, a configuration channel CC pin and a power supply VBUS wire pin;
the first switch includes a common contact, a first contact, and a second contact, the first switch switching between the first contact and the second contact;
the pull-up resistor is electrically connected between the first contact and the VBUS line;
the common contact is communicated with a first data line pin of the first connecting end, the second contact is communicated with a first data line pin of the second connecting end, and the first contact is communicated with the pull-up resistor;
the first data line is electrically connected with a first data line pin of the first connecting end and a first data line pin of the second connecting end;
the second data line is electrically connected with a second data line pin of the first connecting end and a second data line pin of the second connecting end;
the ground wire is electrically connected with the ground wire pin of the first connecting end and the ground wire pin of the second connecting end;
the CC circuit is electrically connected with the CC pin of the first connecting end and the CC pin of the second connecting end;
the VBUS wire is electrically connected with the VBUS wire pin of the first connecting end and the VBUS pin of the second connecting end;
the second line also comprises a second switch which is used for controlling the connection or disconnection of the VBUS line.
2. The charging cord according to claim 1,
the first connecting end is a USB interface of an A-shaped port;
the second connecting end is a USB interface of a C-shaped port.
3. The charging cord according to claim 1 or 2, characterized in that the charging cord further comprises a control unit;
the control unit is arranged at the first connection end and used for detecting the type of the charging protocol supported by the equipment to be charged and controlling the switching of the switching unit and/or the second switch.
4. A charger used with the charging cord according to any one of claims 1 to 3, comprising a control unit for detecting the type of charging protocol supported by the device to be charged;
the control unit is used for controlling the switching of the switching unit and/or the second switch of the charging line according to the detection result of the type of the charging protocol.
5. A charging control method is characterized in that the charging wire is applied to any one of claims 1 to 3, or the charging wire of any one of claims 1 to 3 is used together with the charger of claim 4, and comprises the following steps:
when the charging wire is connected with a charger and is connected with equipment to be charged, and a loop is not formed among a first data line pin of a first connecting end, a first switch, a VBUS line and a VBUS line pin of the first connecting end, judging that the equipment to be charged supports a first charging protocol type; when a loop is formed among a first data line pin of the first connection end, the first switch, the VBUS line and a VBUS line pin of the first connection end, determining that the equipment to be charged supports a second charging protocol type;
when the charging protocol type is a first charging protocol type, switching to a first line to electrically connect the first connection end and the second connection end through the switching unit, controlling the first switch to be disconnected from the pull-up resistor, controlling the first switch to be connected with the first data line and the first data line pin of the second connection end, and charging the device to be charged;
when the charging protocol type is a second charging protocol type, the switching unit is switched to a second line to be electrically connected with the first connecting end and the second connecting end, the second switch is disconnected, and the equipment to be charged is charged.
6. The charge control method according to claim 5, wherein the charging protocol type is any two of the following combinations:
power transmission protocol, fast charging protocol, digital communication protocol.
7. A charging device, characterized in that, when applied to the charging wire of any one of claims 1-3, the charging wire comprises a first connection end, a second connection end, a first line, a second line and a switching unit, the charging device comprises:
the detection unit is used for judging that the equipment to be charged supports a first charging protocol type when a first data line pin of a first connection end, a first switch, a VBUS line and a first connection end VBUS line pin do not form a loop when the charging line is connected with a charger and connected with the equipment to be charged; when a loop is formed among a first data line pin of the first connection end, the first switch, the VBUS line and a VBUS line pin of the first connection end, the device to be charged is judged to support a second charging protocol type;
the execution unit is used for switching to a first circuit to be electrically connected with the first connecting end and the second connecting end through the switching unit when the charging protocol type is a first charging protocol type, controlling the first switch to be disconnected with the pull-up resistor, controlling the first switch to be connected with the first data line and the second connecting end and the first data line pin, and charging the equipment to be charged; and the number of the first and second groups is,
and when the charging protocol type is a second charging protocol type, the switching unit is used for switching to a second line to electrically connect the first connecting end and the second connecting end, disconnecting the second switch and charging the equipment to be charged.
8. A non-transitory computer-readable storage medium storing computer-executable instructions that, when executed by a processor, perform the charge control method of any one of claims 5 to 6.
CN201911143707.7A 2019-11-20 2019-11-20 Charging line, charger, charging control method and charging device Active CN112825401B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911143707.7A CN112825401B (en) 2019-11-20 2019-11-20 Charging line, charger, charging control method and charging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911143707.7A CN112825401B (en) 2019-11-20 2019-11-20 Charging line, charger, charging control method and charging device

Publications (2)

Publication Number Publication Date
CN112825401A CN112825401A (en) 2021-05-21
CN112825401B true CN112825401B (en) 2022-12-02

Family

ID=75906369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911143707.7A Active CN112825401B (en) 2019-11-20 2019-11-20 Charging line, charger, charging control method and charging device

Country Status (1)

Country Link
CN (1) CN112825401B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI811058B (en) * 2022-08-12 2023-08-01 華碩電腦股份有限公司 Electronic device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204680875U (en) * 2015-06-24 2015-09-30 东莞林发电子有限公司 Quick charge data wire
CN204992152U (en) * 2015-07-25 2016-01-20 赵振涛 Quick charger data line
CN105429245B (en) * 2015-12-28 2018-09-14 魅族科技(中国)有限公司 A kind of charge control method and battery charge controller
CN105870988A (en) * 2015-12-31 2016-08-17 乐视移动智能信息技术(北京)有限公司 Charger
CN106230061A (en) * 2016-08-29 2016-12-14 北京小米移动软件有限公司 Charging method and charger
CN106329630B (en) * 2016-08-31 2019-06-11 宇龙计算机通信科技(深圳)有限公司 A kind of charging method and device
CN106329627A (en) * 2016-08-31 2017-01-11 宇龙计算机通信科技(深圳)有限公司 Charging method and device
CN107508330A (en) * 2017-07-05 2017-12-22 深圳天珑无线科技有限公司 A kind of electronic installation and its charging method

Also Published As

Publication number Publication date
CN112825401A (en) 2021-05-21

Similar Documents

Publication Publication Date Title
CN111201689B (en) Electronic equipment and charging control method
CN103618356B (en) The charging system of a kind of mobile terminal and charging method thereof
KR101933066B1 (en) Charging method, mobile device, charging device and charging system
EP3101754B1 (en) Charging mode switching circuit and method
EP2930588A1 (en) Method and apparatus for determining direction of power delivery
CN105576727B (en) Method, device and system for quick charging
EP2991156A1 (en) Method and device for performing large-current charging on intelligent terminal
US20220329087A1 (en) Terminal device charging method and apparatus, and storage medium
CN111817097A (en) Charging control method and data line
CN106597143B (en) Test equipment and test method
US11641124B2 (en) Electronic device and charging method thereof
CN109494822B (en) Terminal equipment, charger, charging system and charging method
CN109254210B (en) Electronic equipment port type detection method and device, detection circuit and electronic equipment
CN111240453A (en) Controller, control method, and control program
CN110492575A (en) For the quick charging system and method for handheld device, handheld device
CN112825401B (en) Charging line, charger, charging control method and charging device
CN107706977B (en) Charging current detection method and charging device
CN113013934A (en) Electronic equipment, electronic device and charging method
CN106899061B (en) Mobile terminal, charging device and charging method
CN216530587U (en) Power supply connector for supplying power to master equipment and slave equipment
CN113991804A (en) Charging protocol handshaking circuit and electronic equipment
CN113934661A (en) Electronic equipment, control method, device and medium
CN111817381B (en) Charger, data line and charging equipment
CN108886225B (en) Charging cable
CN108391293B (en) MIFI (wireless fidelity) sharing equipment and network switching method thereof

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