CN111817381A - Charger, data line and charging equipment - Google Patents

Charger, data line and charging equipment Download PDF

Info

Publication number
CN111817381A
CN111817381A CN202010673766.1A CN202010673766A CN111817381A CN 111817381 A CN111817381 A CN 111817381A CN 202010673766 A CN202010673766 A CN 202010673766A CN 111817381 A CN111817381 A CN 111817381A
Authority
CN
China
Prior art keywords
pin
charging
interface
charged
equipment
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
CN202010673766.1A
Other languages
Chinese (zh)
Other versions
CN111817381B (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 CN202010673766.1A priority Critical patent/CN111817381B/en
Publication of CN111817381A publication Critical patent/CN111817381A/en
Application granted granted Critical
Publication of CN111817381B publication Critical patent/CN111817381B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/382Information transfer, e.g. on bus using universal interface adapter
    • 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
    • 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)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application discloses charger, data line and battery charging outfit belongs to battery charging outfit technical field. Wherein, the charger includes: the device comprises a first Type-A interface, a PD charging processing unit, a non-PD charging processing unit and a power supply unit; the first Type-A interface comprises a CC pin, a control pin and a communication pin, the CC pin is connected with the PD charging processing unit, the control pin is connected with the power supply unit, and the communication pin is connected with the non-PD charging processing unit; and under the condition that the charger is connected with the equipment to be charged through the data line, the charger performs PD charging on the equipment to be charged based on the PD charging signal transmitted on the CC pin, or the charger performs non-PD charging on the equipment to be charged based on the non-PD charging signal transmitted on the communication pin. The embodiment of the application can enable the charging equipment with the Type-A interface to support the PD charging function.

Description

Charger, data line and charging equipment
Technical Field
The application belongs to the technical field of communication, and in particular relates to a charger, a data line and charging equipment.
Background
With the development of science and technology, the application of rapid charging is more and more extensive.
In the related art, a Power Delivery (PD) protocol is generally used for fast charging, a charger supporting PD protocol charging needs to communicate by using a CC signal line, and the charger supporting PD protocol charging generally uses a third standard (Type-C) interface and is matched with a Type-C to Type-C data line. For a charger adopting a first Standard (Type-A or Standard-A) interface, the charger communicates through a D +/D-signal line and cannot support PD protocol charging. So that the data line with the Type-a interface does not support PD charging.
Disclosure of Invention
An object of this application embodiment is to provide a charger, data line and battery charging outfit, can solve the problem that the data line that has Type-A interface does not support the PD to charge.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a charger, including: the method comprises the following steps: the device comprises a first Type-A interface, a PD charging processing unit, a non-PD charging processing unit and a power supply unit;
the first Type-A interface comprises a CC pin, a control pin and a communication pin, the CC pin is connected with the PD charging processing unit, the control pin is connected with the power supply unit, and the communication pin is connected with the non-PD charging processing unit;
and under the condition that the charger is connected with the equipment to be charged through the data line, the charger performs PD charging on the equipment to be charged based on the PD charging signal transmitted on the CC pin, or the charger performs non-PD charging on the equipment to be charged based on the non-PD charging signal transmitted on the communication pin.
In a second aspect, an embodiment of the present application provides a data line, including: the method comprises the following steps: the device comprises a second Type-A interface, a Type-C interface and a cable connected between the second Type-A interface and the Type-C interface, wherein a switching unit is arranged on the cable;
the second Type-A interface and the Type-C interface both comprise CC pins and communication pins, the second Type-A interface further comprises control pins, the cable comprises CC wiring, the CC wiring is connected between the CC pins in the second Type-A interface and the CC pins in the second Type-A interface, and the second Type-A interface is connected with the communication pins in the Type-C interface;
the switching unit is connected with the CC wiring and used for controlling the on-off of the CC wiring, and a control end of the switching unit is connected with the control pin;
under the condition that the data line is connected with a charger and equipment to be charged, the switching unit controls the CC wiring to be conducted under the action of a first electric signal, and the charger and the data line carry out PD charging on the equipment to be charged based on a PD charging signal transmitted on the CC pin, or carry out non-PD charging on the equipment to be charged based on a non-PD charging signal transmitted on the communication pin;
or,
under the condition that the data line is connected with the charger and the device to be charged, the switching unit controls the CC to be disconnected under the action of a second electric signal, the charger and the data line carry out non-PD charging on the device to be charged on the basis of a non-PD charging signal transmitted on the communication pin, and the level value of the first electric signal is larger than that of the second electric signal.
In a third aspect, an embodiment of the present application provides a charging device, including a charger and a data line connected to the charger, where the charger is the charger according to the first aspect, the data line is the data line according to the second aspect, and the control pin, the CC pin, and the communication pin in the first Type-a interface and the Type-C interface are connected in a one-to-one correspondence manner;
and under the condition that the charging equipment is connected with a power supply, the switching unit controls the CC wiring to be communicated based on a first electric signal transmitted on the control pin.
The charger that this application embodiment provided includes: first Type-A interface, PD charge processing unit and electrical unit to can be connected with Type-A to Type-C data line through first Type-A interface. In addition, a CC pin and a control pin are added in the first Type-A interface of the charger, and the CC pin and the control pin are correspondingly included in the Type-A interface of the data line matched with the charger. Therefore, when the charger is connected with the matched data line, the power supply unit of the charger transmits a first electric signal to the data line through the control pin, so that the data line responds to the first electric signal and is communicated with the CC wiring, the PD charging signal transmitted through the CC wiring can be realized, and the PD charging is carried out on the device to be charged based on the PD charging signal.
Drawings
Fig. 1 is a circuit diagram of a charging device according to an embodiment of the present disclosure;
fig. 2 is a circuit diagram of a charger according to an embodiment of the present application;
fig. 3 is a circuit diagram of a data line according to an embodiment of the present application;
fig. 4 is a circuit diagram of a switching unit in a data line according to an embodiment of the present disclosure;
FIG. 5 is a pin diagram of a second Type-A interface in a charger according to an embodiment of the present disclosure;
fig. 6 is a pin diagram of a first Type-a interface in a data line according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The charger, the data line and the charging device provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Please refer to fig. 1, fig. 2 and fig. 3, wherein fig. 1 is a circuit diagram of a charging apparatus according to an embodiment of the present disclosure; fig. 2 is a circuit diagram of a charger provided by an embodiment of the present application; fig. 3 is a circuit diagram of a data line provided in an embodiment of the present application.
The charging equipment that this application embodiment provided includes: the charger comprises a charger 1 and a data line 2 connected with the charger 1, wherein the charger 1 and the data line 2 both comprise a Type-A interface, and a control pin 112, a CC pin 111 and a communication pin 113 in the Type-A interface of the charger 1 and the Type-A interface of the data line 2 are correspondingly connected one by one;
under the condition that the charging device is connected to a power supply, the switching unit 24 in the data line 2 controls the CC wiring to be communicated based on the first electrical signal transmitted on the control pin 112.
The CC trace is a trace corresponding to the CC pin 111, and the CC communication signal can be transmitted only when the CC trace is connected.
Of course, in a specific implementation, the switching unit 24 may also control the CC routing to be disconnected, for example: if the data line 2 is connected to the power supply through the conventional charger 1, and the conventional charger 1 does not have a CC pin and a control pin, at this time, the switching unit 24 controls the CC wire to be disconnected, and the data line 2 only transmits a communication signal through the communication pin, so that PD charging is not supported.
As an alternative embodiment, the communication pin 113 includes a D + pin and a D-pin, and the D + trace and the D-trace in the data line 2 are conducted;
wherein, in the case that the data line 2 is connected with the charger 1, the D + pin and the D-pin are communicated with the non-PD charging processing unit 13 in the charger 1, and the non-PD charging processing unit 13 is configured with a communication protocol of communication signals transmitted through the D + pin and the D-pin.
In this way, the charging device can perform non-PD charging (or referred to as D +/D-charging) on the device to be charged based on the communication signals transmitted by the D + pin and the D-pin.
It should be noted that the charger 1 and the data line 2 provided in the embodiment of the present application may operate separately, that is, the charger 1 provided in the embodiment of the present application may be connected to a conventional data line to charge a device to be charged. And the data line 2 provided by the embodiment of the application can be connected with a conventional charger to charge the device to be charged.
In addition, the charging device provided in the embodiment of the present application can perform charging according to different charging protocols according to different configurations of a device to be charged, specifically:
in the case where the communication pins include a D + pin and a D-pin, the non-PD charge processing unit 13 is configured with a preset communication protocol and a general communication protocol of communication signals transmitted through the D + pin and the D-pin;
in a case where the charging apparatus is connected to a first apparatus to be charged, the non-PD charging processing unit 13 charges the first apparatus to be charged based on the communication signal of the preset communication protocol transmitted through the D + pin and the D-pin;
in a case where the charging device is connected to a second device to be charged, the non-PD charging processing unit 13 charges the second device to be charged based on the communication signal of the general communication protocol transmitted by the D + pin and the D-pin;
in the case that the charging device is connected to a third device to be charged, the PD charging processing unit 12 performs PD charging on the third device to be charged based on the PD charging signal transmitted through the CC pin;
the charging equipment determines that the charging equipment is matched with equipment to be charged connected with the charging equipment based on a matching signal transmitted by a target pin, and when the priority of the preset communication protocol configured on the equipment to be charged is greater than the priority of the PD communication protocol, the equipment to be charged is the first equipment to be charged, and the target pin is at least one of the D + pin, the D-pin and the CC pin;
the charging equipment determines that the charging equipment is not matched with the equipment to be charged connected with the charging equipment based on the matching signal transmitted by the target pin, and the equipment to be charged is the second equipment to be charged when the equipment to be charged does not support PD charging;
the charging equipment determines that the charging equipment is matched with equipment to be charged connected with the charging equipment based on the matching signal transmitted by the target pin, and the priority of the PD communication protocol configured by the equipment to be charged is greater than the priority of the preset communication protocol, or the charging equipment determines that the charging equipment is not matched with the equipment to be charged connected with the charging equipment based on the matching signal transmitted by the target pin, and when the equipment to be charged supports PD charging, the equipment to be charged is the third equipment to be charged.
In a specific implementation, the first device to be charged may include: the charging equipment standard is the equipment to be charged, and the priority of the preset communication protocol is greater than the priority of the PD communication protocol.
In a specific implementation, the preset communication protocol may be referred to as: and a standard charging protocol, wherein a charging signal of the standard charging protocol is transmitted through the D + pin and the D-pin.
In addition, the second device to be charged may be understood as: the device to be charged does not support PD charging and is not a standard charging device provided in the embodiments of the present application, and "general" in the above general communication protocols indicates a communication protocol configured in both a conventional charger and a device to be charged.
In addition, the third device to be charged may include: the device to be charged supports PD charging and is not matched with the charging device provided by the embodiment of the application; or, the charging device to be charged is a standard device to be charged provided in the embodiment of the present application, where the standard device to be charged supports PD charging, and the priority of the PD communication protocol is greater than the priority of the preset communication protocol.
In practical applications, the charging device to be calibrated provided by the embodiment of the present application has a pull-up resistor and a power supply connected to a D + pin or a D-pin, so that when a pull-up signal is detected on the D + pin or the D-pin, it can be determined that the charging device provided by the embodiment of the present application is connected to the calibrated charging device to be calibrated. In addition, a pull-down resistor connected with the CC pin is arranged in the device to be charged supporting PD charging, so that when a pull-down signal is detected on the CC pin, it can be determined that the charging device provided in the embodiment of the present application is connected with the device to be charged supporting PD charging.
The charging equipment that this application embodiment provided can treat charging equipment according to different types of charging methods according to the difference of the equipment of treating that it connects and charge, when supporting the PD and charging, has still promoted charging equipment's application scope.
As shown in fig. 1 and 2, the charger 1 includes: a first Type-a interface 11, a PD charging processing unit 12, a non-PD charging processing unit 13, and a power supply unit 14. Specifically, the first Type-a interface 11 includes a CC pin 111, a control pin 112, and a communication pin 113, where the CC pin 111 is connected to the PD charging processing unit 12, the control pin 112 is connected to the power supply unit 14, and the communication pin 113 is connected to the non-PD charging processing unit 13.
In the case that the charger 1 is connected to the device to be charged through the data line, the charger 1 performs PD charging on the device to be charged based on the PD charging signal transmitted on the CC pin 111, or the charger 1 performs non-PD charging on the device to be charged based on the non-PD charging signal transmitted on the communication pin 113.
In a specific implementation, when the charger 1 provided in this embodiment of the present application is connected to a matched data line, the PD charging processing unit 12 may perform PD charging on a device to be charged that supports PD charging, specifically, the PD charging may be to negotiate a charging parameter with the device to be charged through a PD charging signal transmitted on the CC pin 111, and perform PD fast charging on the device to be charged according to the charging parameter determined by the negotiation. In this embodiment, the data line connecting the charger 1 and the device to be charged has a CC trace, and the control pin 112 and the power supply unit 14 are used to transmit an electrical signal to the data line connected to the charger 1 in a matching manner, so that the data line controls the CC trace to be in a conducting state based on the electrical signal.
Certainly, when the charger 1 provided by the embodiment of the present application is connected to the conventional Type-a to Type-C data line, the conventional Type-a to Type-C data line is not provided with a CC trace, so that a CC signal cannot be transmitted. At this time, the device to be charged may be non-PD charged by the non-PD charging processing unit 13. Specifically, the non-PD charging may be to negotiate a charging parameter with the device to be charged via a charging signal transmitted on the communication pin 113, and perform non-PD charging on the device to be charged according to the charging parameter determined by the negotiation.
For example: in the case where the communication pin 113 includes a D + pin and a D-pin, the above-described non-PD charging may be referred to as: the charging method includes the steps that D +/D-charging is conducted, namely a preset communication protocol and a general communication protocol are stored in a non-PD charging processing unit 13 in advance, communication signals of the preset communication protocol and the general communication protocol are transmitted through a D + pin and a D-pin, and after the non-PD charging processing unit 13 determines charging parameters based on the charging signals transmitted on the D + pin and the D-pin, a charging power supply with corresponding parameters is output according to the charging parameters, such as a VBUS pin, and the like, so that charging of equipment to be charged is conducted. It should be noted that, when the charging signals transmitted on the D + pin and the D-pin are communication signals conforming to a preset communication protocol, the device to be charged is a device to be charged that is standard-matched with the charging device provided in the embodiment of the present application, and the preset communication protocol is also stored in the device to be charged in advance, so that the charging device provided in the embodiment of the present application performs standard-matching charging on the standard-matched device based on the communication signals of the preset communication protocol. In addition, when the charging signals transmitted on the D + pin and the D-pin are communication signals conforming to a general communication protocol, the device to be charged is a conventional device to be charged, and the charging process is the same as that in the prior art, and is not described herein again.
Optionally, the control pin 112 is a signal Reception (RX) pin.
In specific implementation, the RX pin may be an RX pin in a multiplexing third generation universal serial bus USB 3.0 interface, so that a control pin can be prevented from being newly added in a Type-a interface, and the RX pin is suitable for a Type-a interface of USB 3.0 in the prior art.
Optionally, the power supply unit 14 comprises a voltage source in series with the first resistor.
In a specific implementation, the voltage source may be a VBUS pin in the charger 1, when the charger 1 is connected to a power source, the VBUS pin may output a voltage of 5V, and at this time, the control pin 112 is connected in series with the VBUS pin through the first resistor, so that a current flows through the control pin 112, and a value of the current may be equal to 5V ÷ R1Wherein R is1Representing the resistance value of the first resistor.
In this embodiment, only one resistor needs to be added to the existing charger, and the control pin 112 can transmit the electrical signal to the data line through the control pin 112 via the resistor, so that the data line determines whether to connect with the matched charger 1 based on the electrical signal, thereby simplifying the structure of the power supply unit 14.
Of course, in an implementation, the power supply unit 14 may also be a current source added in the charger 1, and the control pin 112 is connected to an output terminal of the current source, which is not limited in this embodiment.
Optionally, as shown in fig. 2, a control unit 15 may be further disposed in the charger 1, and the control unit 15 is connected to the power supply unit 14, the PD charging processing unit 12, and the non-PD charging processing unit 13 respectively, so as to control the power supply unit 14, the PD charging processing unit 12, and the non-PD charging processing unit 13 to cooperate with each other.
Specifically, the control Unit 15 may be a Microcontroller Unit (MCU).
The charger that this application embodiment provided includes: first Type-A interface, PD charge processing unit and electrical unit to can be connected with Type-A to Type-C data line through first Type-A interface. In addition, a CC pin and a control pin are added in the first Type-A interface of the charger, and the CC pin and the control pin are correspondingly included in the Type-A interface of the data line matched with the charger. Therefore, when the charger is connected with the matched data line, the power supply unit of the charger transmits a first electric signal to the data line through the control pin, so that the data line responds to the first electric signal and is communicated with the CC wiring, the PD charging signal transmitted through the CC wiring can be realized, and the PD charging is carried out on the device to be charged based on the PD charging signal.
Referring to fig. 1 and 3, the data line 2 includes: a second Type-a interface 21, a Type-C interface 22, and a cable 23 connected to the second Type-a interface (between the Type-C interface 22 and the Type-a interface 21, the cable 23 is provided with a switching unit 24;
the second Type-A interface 21 and the Type-C interface 22 both comprise a CC pin and a communication pin, the second Type-A interface 21 further comprises a control pin, the cable 23 comprises a CC routing, the CC routing is connected between the CC pin in the second Type-A interface 21 and the CC pin in the second Type-A interface 21, and the communication pin in the second Type-A interface and the communication pin in the Type-C interface are connected;
the switching unit 24 is connected with the CC trace and used for controlling the on-off of the CC trace, and a control end of the switching unit 24 is connected with the control pin;
under the condition that the data line 2 is connected with the charger 1 and the device to be charged, the switching unit 24 controls the CC wiring to be conducted under the action of the first electric signal transmitted through the control pin, and the charger 1 and the data line 2 perform PD charging on the device to be charged based on the PD charging signal transmitted through the CC pin, or perform non-PD charging on the device to be charged based on the non-PD charging signal transmitted through the communication pin;
or,
under the condition that the data line 2 is connected with the charger and the device to be charged, the switching unit 24 controls the CC to be disconnected under the action of a second electric signal transmitted by the control pin, the charger and the data line 2 perform non-PD charging on the device to be charged based on a non-PD charging signal transmitted by the communication pin, and the level value of the first electric signal is greater than that of the second electric signal.
In specific implementation, when the data line 2 is connected to the charger 1 provided in this embodiment, the power supply unit 14 in the charger 1 transmits the first electrical signal to the switching unit 24 through the control pin, so that the switching unit 24 communicates with the CC wiring, and in the case that the CC wiring is communicated, the charger 1 and the data line 2 may perform PD charging on the device to be charged based on the PD charging signal transmitted on the CC pin, or perform non-PD charging on the device to be charged based on the non-PD charging signal transmitted on the communication pin. Specifically, when the data line 2 is connected to a non-standard device to be charged that supports PD charging, the non-standard device to be charged that supports PD charging may be PD charged based on the PD charging signal transmitted on the CC pin; when the data line 2 is connected with the standard equipment to be charged, the equipment to be charged is charged in a non-PD manner based on a non-PD charging signal transmitted on the communication pin, wherein the communication signal transmitted on the communication pin is a communication signal of a preset communication protocol, and the standard equipment to be charged and the charger 1 are internally provided with the preset communication protocol in advance; when the data line 2 is connected to a non-standard device to be charged which does not support PD charging, the device to be charged may be non-PD charged based on a non-PD charging signal transmitted on the communication pin, where the communication signal transmitted on the communication pin is a communication signal of a general communication protocol, and a process of performing non-PD charging based on the communication signal of the communication protocol is the same as a process of performing D +/D-charging based on signals transmitted on a D + pin and a D-pin in the prior art, and is not described herein again.
In addition, when the data line 2 is connected to a conventional charger, since the conventional charger has no control pin and CC pin, the control pin in the data line 2 cannot receive a first electrical signal, or is called as a control pin to transmit a second electrical signal (for example, an electrical signal with a current value or a voltage value of 0), and the switching unit 24 controls the CC to open according to the first electrical signal, so that the conventional charger and the data line 2 perform non-PD charging on the device to be charged only based on the non-PD charging signal transmitted on the communication pin.
The definition of performing non-PD charging on the device to be charged based on the non-PD charging signal transmitted on the communication pin may be the same as the definition of performing non-PD charging on the device to be charged based on the non-PD charging signal transmitted on the communication pin when the data line 2 is connected to the charger 1 provided in the embodiment of the present application, and is not described herein again.
Specifically, the first end of the CC trace may be connected to the CC pin in the second Type-a interface 21, the first end of the switching unit 24 is connected to the second end of the CC trace, the second end of the switching unit 24 is connected to the CC pin in the Type-C interface 22, and the control end of the switching unit 24 is connected to the control pin in the second Type-a interface 21.
In this way, when the switching unit 23 obtains the first electrical signal through the control pin, the first end of the switching unit 24 is communicated with the second end of the switching unit 24 to communicate the CC wiring; when the switching unit 24 acquires the second electrical signal through the control pin, the first end of the switching unit 24 is disconnected from the second end of the switching unit 24, so as to disconnect the CC wiring.
As an optional implementation manner, as shown in fig. 3, a fourth resistor Rp is further disposed on the cable, a first end of the fourth resistor Rp is connected to a VBUS trace in the cable 23, a second end of the fourth resistor Rp is connected to a CC pin in the Type-C interface 22 through a switching unit 24, and the switching unit 24 is further configured to control on/off of the fourth resistor Rp and the CC pin in the Type-C interface 22;
the switching unit 24 controls the fourth resistor Rp to be disconnected from the CC pin in the Type-C interface 22 under the action of the first electrical signal; the switching unit 24 controls the fourth resistor Rp to be communicated with the CC pin in the Type-C interface 22 under the action of the second electrical signal.
In specific implementation, when the data line 2 is connected to the charger 1 provided in the embodiment of the present application, the charger 1 transmits a first electrical signal to the switching unit 24 through the control pin, so that the CC pin in the Type-C interface 22 is disconnected from the VBUS trace.
In addition, when the data line 2 is connected to a conventional charger, the charger has a conventional Type-a interface, and the conventional Type-a interface has the same structure as the Type-a interface in the related art, which does not include a CC pin.
Thus, when the data line 2 provided in the embodiment of the present application is connected to the conventional charger, the CC pin in the first Type-a interface 21 does not have a CC pin correspondingly connected, so that the switching unit 24 cannot detect the first electrical signal through the CC pin in the first Type-a interface 21 (that is, the switching unit 24 receives the second electrical signal through the control pin), thereby disconnecting the CC trace and pulling up the CC pin in the Type-C interface 22 to the VBUS pin.
In a specific implementation, a device to be charged supporting PD charging has a pull-down resistor connected to the CC pin, and when the CC pin in the Type-C interface 22 is connected to the VBUS pin, the pull-down resistor in the device to be charged has a positive voltage value. When the device to be charged detects that the pull-down resistor has a positive voltage value, the charging module capable of controlling the device to be charged to communicate with the charging device so as to allow the charging device to charge the charging device.
At this moment, the effect of the data line 2 that this application embodiment provided is the same with the conventional Type-a to Type-C data line among the prior art, and the charger can only negotiate the charging parameter with the equipment to be charged through the communication pin, can only carry out non-PD to charge the equipment to be charged promptly.
As an alternative embodiment, as shown in fig. 3, the switching unit 24 includes a first switch group 241 and a second switch 242;
the first switch group 241 controls the on-off of the CC routing under the action of the signal transmitted on the control pin;
the second switch 242 controls the on-off of the fourth resistor Rp and the CC pin in the Type-C interface 22;
under the action of the first electrical signal transmitted through the control pin, the first switch group 242 connects the CC trace, and under the condition that the CC trace is connected, the second switch 242 disconnects the fourth resistor Rp from the CC pin in the Type-C interface 22; under the action of the second electrical signal transmitted through the control pin, the first switch group 241 disconnects the CC trace, and when the CC trace is disconnected, the second switch 242 connects the fourth resistor Rp to the CC pin in the Type-C interface 22.
In a specific implementation, the second switch 242 may obtain a switch state of the first switch group 241, so that when the first switch group 242 is connected to the CC trace, the second switch 242 is turned off; when the first switch group 242 disconnects the CC trace, the second switch 242 is connected.
In the present embodiment, the switching unit 24 is provided with the first switch group 241 and the second switch 242, and the second switch 242 is switched according to the switching state of the first switch group 241, thereby simplifying the switching logic of the switching unit 24.
Further, as shown in fig. 3, the first switch group 241 includes a first switch transistor Q3 and a second switch transistor Q4, the second switch is a fourth switch transistor Q1, and the switching unit 24 further includes: a third switching transistor Q2, a second resistor R1, and a third resistor R2;
the control pin is connected with a first pole of a first switching transistor Q3, a first pole of a second switching transistor Q4 and a first pole of a third switching transistor Q2;
a second pole of the second switch transistor Q4 is connected to the second end of the CC trace, a second pole of the first switch transistor Q3 is connected to the CC pin in the Type-C interface 22, and a third pole of the first switch transistor Q3 and a third pole of the second switch transistor Q4 are connected to ground;
a second pole of the third switching transistor Q2 is connected to the VBUS trace through a second resistor R1, and a second pole of the third switching transistor Q2 is grounded through a third resistor R2, and a third pole of the third switching transistor Q2 is grounded;
a first pole of the fourth switching transistor Q1 is connected to a third pole of the third switching transistor Q2, a second pole of the fourth switching transistor Q1 is connected to the VBUS trace through a fourth resistor Rp, and a third pole of the fourth switching transistor Q1 is connected to a CC pin in the Type-C interface 22;
under the action of the first electric signal transmitted on the control pin, the first switching transistor Q3, the second switching transistor Q4 and the third switching transistor Q2 are turned on, and the fourth switching transistor Q1 is turned off; under the action of the second electrical signal transmitted on the control pin, the first switching transistor Q3, the second switching transistor Q4 and the third switching transistor Q2 are turned off, and the fourth switching transistor Q1 is turned on.
Specifically, the first pole of the first, second, third, and fourth switching transistors Q3, Q4, Q2, and Q1 may be a gate (G pole), the second pole of the first, second, third, and fourth switching transistors Q3, Q4, Q2, and Q1 may be a drain (D pole), and the third pole of the first, second, third, and fourth switching transistors Q3, Q4, Q2, and Q1 may be a source (S pole). In addition, the first, second, and third switching transistors Q3, Q4, and Q2 may be turned on such that the second and third poles of the first switching transistor Q3 are turned on, the second and third poles of the second switching transistor Q4 are turned on, the second and third poles of the third switching transistor Q2 are turned on, and the fourth switching transistor Q1 may be turned off such that the second and third poles of the fourth switching transistor Q1 are turned off.
Accordingly, the above-mentioned disconnection of the first, second and third switching transistors Q3, Q4 and Q2 may be that the second and third poles of the first switching transistor Q3 are disconnected, the second and third poles of the second switching transistor Q4 are disconnected, the second and third poles of the third switching transistor Q2 are disconnected, the above-mentioned fourth switching transistor Q1 is turned on, and the second and third poles of the fourth switching transistor Q1 are turned on.
In a specific implementation, the first electrical signal is greater than the electrical signal value of the second electrical signal, for example: the first electrical signal is 3V voltage, and the second electrical signal is 0V voltage. At this time, the first switch transistor Q3, the second switch transistor Q4, the third switch transistor Q2 and the fourth switch transistor Q1 may be crystal switches with high electrical signal values turned on, for example: NMOS tube or triode with high electric signal value.
In addition, the third pole of the first switch transistor Q3 and the second switch transistor Q4 are connected to the ground terminal through the fifth resistor R3, and the first pole of the first switch transistor Q3, the first pole of the second switch transistor Q4 and the first pole of the third switch transistor Q2 are connected to the ground terminal through the sixth resistor R4.
Specifically, when the data line 2 is connected to the charger 1 provided in the embodiment of the present invention and the charger 1 is connected to a power supply, the control pin transmits a high level signal to the first electrodes of the first switching transistor Q3, the second switching transistor Q4 and the third switching transistor Q2, so that the first switching transistor Q3, the second switching transistor Q4 and the third switching transistor Q2 are turned on, and when the third switching transistor Q2 is turned on, the first electrode of the fourth switching transistor Q1 is grounded through the third switching transistor Q2, so that the fourth switching transistor Q1 is turned off;
in addition, when the data line 2 is connected to the power supply through a conventional charger, the control pin transmits a low level signal to the first electrodes of the first, second, and third switching transistors Q3, Q4, and Q2 to turn off the first, second, and third switching transistors Q3, Q4, and Q2, and when the third switching transistor Q2 is turned off, the first electrode of the fourth switching transistor Q1 is connected between the second and third resistors R1, R2, and the second and third resistors R1, R2 divide the voltage on the VBUS trace, and at this time, the first electrode of the fourth switching transistor Q1 has the same high level as the third resistor R2, so that the fourth switching transistor Q1 is turned on.
In this embodiment, an analog circuit is provided to implement the switch resistances of the first switch group 241 and the second switch 242, so that the switch states of the switch transistors can be directly adjusted according to the value of the electrical signal transmitted through the control pin, and a digital switch and a controller for receiving the electrical signal transmitted through the control pin and controlling the digital switch to adjust the switch states are not provided in the switching unit 24, thereby simplifying the structure of the switching unit 24 and saving the cost.
As an alternative embodiment, as shown in fig. 5, a first side of the second Type-a interface 21 is provided with a GND pin, a D + pin, a D-pin, and a VBUS pin, a second side of the second Type-a interface 21 is provided with a CC pin and a control pin (i.e., an RX pin), and the first side and the second side of the second Type-a interface 21 are opposite sides.
In addition, as shown in fig. 6, the first Type-a interface 11 is a Type-a interface matching the second Type-a interface 21, and therefore, the GND pin, the D + pin, the D-pin, and the VBUS pin in the first Type-a interface 11 are located at a first side of the first Type-a interface 11, the CC pin and the control pin are located at a second side of the first Type-a interface 11, and when the second Type-a interface 21 is connected to the first Type-a interface 11, the CC pin, the control pin, the GND pin, the D + pin, the D-pin, and the VBUS pin in the second Type-a interface 21 and the first Type-a interface 11 are connected in a one-to-one correspondence.
In addition, when the second Type-A interface 21 is connected with the conventional Type-A interface on the conventional charger, the GND pin, the D + pin, the D-pin and the VBUS pin in the second Type-A interface 21 and the conventional Type-A interface are correspondingly connected one by one.
In this embodiment, the second Type-a interface 21 can be compatible with the Type-a interface on the conventional charger, and the structure and the operating principle of the GND pin, the D + pin, the D-pin, and the VBUS pin in the second Type-a interface 21 are the same as those of the GND pin, the D + pin, the D-pin, and the VBUS pin in the prior art, and are not specifically described here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, 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 functions in the order shown or discussed, but may include performing functions in a substantially simultaneous manner or in a reverse order depending on the functionality involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. A charger, comprising: the device comprises a first Type-A interface, a PD charging processing unit, a non-PD charging processing unit and a power supply unit;
the first Type-A interface comprises a CC pin, a control pin and a communication pin, the CC pin is connected with the PD charging processing unit, the control pin is connected with the power supply unit, and the communication pin is connected with the non-PD charging processing unit;
and under the condition that the charger is connected with the equipment to be charged through the data line, the charger performs PD charging on the equipment to be charged based on the PD charging signal transmitted on the CC pin, or the charger performs non-PD charging on the equipment to be charged based on the non-PD charging signal transmitted on the communication pin.
2. The charger of claim 1, wherein the control pin is an RX pin.
3. The charger according to claim 1, wherein the power supply unit comprises a voltage source in series with a first resistor.
4. The charger of claim 1, wherein the communication pins comprise a D + pin and a D-pin, and wherein the non-PD charging processing unit is configured with a communication protocol for communication signals transmitted via the D + pin and the D-pin.
5. A data line, comprising: the device comprises a second Type-A interface, a Type-C interface and a cable connected between the second Type-A interface and the Type-C interface, and is characterized in that a switching unit is arranged on the cable;
the second Type-A interface and the Type-C interface both comprise CC pins and communication pins, the second Type-A interface further comprises control pins, the cable comprises CC wiring, the CC wiring is connected between the CC pins in the second Type-A interface and the CC pins in the second Type-A interface, and the second Type-A interface is connected with the communication pins in the Type-C interface;
the switching unit is connected with the CC wiring and used for controlling the on-off of the CC wiring, and a control end of the switching unit is connected with the control pin;
under the condition that the data line is connected with a charger and equipment to be charged, the switching unit controls the CC wiring to be conducted under the action of a first electric signal transmitted by the control pin, and the charger and the data line carry out PD charging on the equipment to be charged based on a PD charging signal transmitted by the CC pin, or carry out non-PD charging on the equipment to be charged based on a non-PD charging signal transmitted by the communication pin;
or,
under the condition that the data line is connected with the charger and the device to be charged, the switching unit controls the CC wiring to be disconnected under the action of a second electric signal transmitted by the control pin, and the charger and the data line perform non-PD charging on the device to be charged based on a non-PD charging signal transmitted by the communication pin.
6. The data line according to claim 5, wherein a fourth resistor is further disposed on the cable, a first end of the fourth resistor is connected to a VBUS line in the cable, a second end of the fourth resistor is connected to a CC pin in the Type-C interface through the switching unit, and the switching unit is further configured to control on/off of the fourth resistor and the CC pin in the Type-C interface;
the switching unit controls the fourth resistor to be disconnected from a CC pin in the Type-C interface under the action of the first electric signal; and the switching unit controls the fourth resistor to be communicated with a CC pin in the Type-C interface under the action of the second electric signal.
7. The data line according to claim 6, wherein the switching unit includes a first switch group and a second switch;
the first switch group controls the on-off of the CC routing under the action of a signal transmitted on the control pin;
the second switch controls the on-off of the fourth resistor and a CC pin in the Type-C interface;
under the action of the first electrical signal transmitted through the control pin, the first switch group is communicated with the CC wiring, and under the condition that the CC wiring is communicated, the second switch disconnects the fourth resistor from the CC pin in the Type-C interface; under the action of the second electric signal transmitted by the control pin, the first switch group disconnects the CC wiring, and the second switch connects the fourth resistor and the CC pin in the Type-C interface under the condition that the CC wiring is disconnected.
8. The data line of claim 7, wherein the first switch group comprises a first switch transistor and a second switch transistor, the second switch is a fourth switch transistor, and the switching unit further comprises: a third switching transistor, a second resistor and a third resistor;
the control pin is connected with the first pole of the first switch transistor, the first pole of the second switch transistor and the first pole of the third switch transistor;
a second pole of the second switch transistor is connected with a second end of the CC routing wire, a second pole of the first switch transistor is connected with a CC pin in the Type-C interface, and a third pole of the first switch transistor and a third pole of the second switch transistor are connected to the ground;
a second pole of the third switching transistor is connected to the VBUS trace through the second resistor, the second pole of the third switching transistor is grounded through the third resistor, and a third pole of the third switching transistor is grounded;
a first pole of the fourth switching transistor is connected with a third pole of the third switching transistor, a second pole of the fourth switching transistor is connected to the VBUS trace through the fourth resistor, and a third pole of the fourth switching transistor is connected with a CC pin in the Type-C interface;
under the action of the first electric signal transmitted on the control pin, the first switch transistor, the second switch transistor and the third switch transistor are switched on, and the fourth switch transistor is switched off; under the action of the second electric signal transmitted on the control pin, the first switch transistor, the second switch transistor and the third switch transistor are disconnected, and the fourth switch transistor is connected.
9. The data line according to any one of claims 5 to 8, wherein the communication pins comprise a D + pin and a D-pin, and the D + pin and the D-pin in the second Type-a interface and the Type-C interface are connected in a one-to-one correspondence;
wherein, under the condition that the data line is connected with a charger, the D + pin and the D-pin are communicated with a non-PD charging processing unit in the charger, and the non-PD charging processing unit is configured with a communication protocol of communication signals transmitted by the D + pin and the D-pin.
10. A charging device, comprising a charger and a data line connected with the charger, wherein the charger is the charger according to any one of claims 1 to 4, the data line is the data line according to any one of claims 5 to 9, and the control pin, the CC pin and the communication pin in the first Type-a interface and the Type-C interface are connected in a one-to-one correspondence manner;
and under the condition that the charging equipment is connected with a power supply, the switching unit controls the CC wiring to be communicated based on a first electric signal transmitted on the control pin.
11. The charging device of claim 10, wherein the communication pin comprises a D + pin and a D-pin, and wherein the non-PD charging processing unit is configured with a pre-set communication protocol and a generic communication protocol for communication signals transmitted via the D + pin and the D-pin;
the non-PD charging processing unit charges a first device to be charged based on a communication signal of the preset communication protocol transmitted through the D + pin and the D-pin when the charging device is connected with the first device to be charged;
under the condition that the charging device is connected with a second device to be charged, the non-PD charging processing unit charges the second device to be charged based on the communication signal of the general communication protocol transmitted by the D + pin and the D-pin;
under the condition that the charging equipment is connected with third equipment to be charged, the PD charging processing unit carries out PD charging on the third equipment to be charged based on a PD charging signal transmitted by the CC pin;
the charging equipment determines that the charging equipment is matched with equipment to be charged connected with the charging equipment based on a matching signal transmitted by a target pin, and when the priority of the preset communication protocol configured on the equipment to be charged is greater than the priority of a PD communication protocol, the equipment to be charged is the first equipment to be charged, and the target pin is at least one of the D + pin, the D-pin and the CC pin;
the charging equipment determines that the charging equipment is not matched with the equipment to be charged connected with the charging equipment based on the matching signal transmitted by the target pin, and the equipment to be charged is the second equipment to be charged when the equipment to be charged does not support PD charging;
the charging equipment determines that the charging equipment is matched with equipment to be charged connected with the charging equipment based on the matching signal transmitted by the target pin, and the priority of the PD communication protocol configured by the equipment to be charged is greater than the priority of the preset communication protocol, or the charging equipment determines that the charging equipment is not matched with the equipment to be charged connected with the charging equipment based on the matching signal transmitted by the target pin, and when the equipment to be charged supports PD charging, the equipment to be charged is the third equipment to be charged.
CN202010673766.1A 2020-07-14 2020-07-14 Charger, data line and charging equipment Active CN111817381B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010673766.1A CN111817381B (en) 2020-07-14 2020-07-14 Charger, data line and charging equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010673766.1A CN111817381B (en) 2020-07-14 2020-07-14 Charger, data line and charging equipment

Publications (2)

Publication Number Publication Date
CN111817381A true CN111817381A (en) 2020-10-23
CN111817381B CN111817381B (en) 2022-02-01

Family

ID=72842449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010673766.1A Active CN111817381B (en) 2020-07-14 2020-07-14 Charger, data line and charging equipment

Country Status (1)

Country Link
CN (1) CN111817381B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112952485A (en) * 2021-01-28 2021-06-11 深圳慧能泰半导体科技有限公司 Compatible charging cable and control method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106067571A (en) * 2016-07-22 2016-11-02 北京小米移动软件有限公司 Method and electronic equipment for battery charging
CN107181145A (en) * 2017-05-31 2017-09-19 珠海市魅族科技有限公司 A kind of data line and USB data line interface
CN108233130A (en) * 2017-08-01 2018-06-29 珠海市魅族科技有限公司 USB cable, USB interface and adapter
CN110365088A (en) * 2019-07-26 2019-10-22 安克创新科技股份有限公司 A kind of charging unit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106067571A (en) * 2016-07-22 2016-11-02 北京小米移动软件有限公司 Method and electronic equipment for battery charging
CN107181145A (en) * 2017-05-31 2017-09-19 珠海市魅族科技有限公司 A kind of data line and USB data line interface
CN108233130A (en) * 2017-08-01 2018-06-29 珠海市魅族科技有限公司 USB cable, USB interface and adapter
CN110365088A (en) * 2019-07-26 2019-10-22 安克创新科技股份有限公司 A kind of charging unit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112952485A (en) * 2021-01-28 2021-06-11 深圳慧能泰半导体科技有限公司 Compatible charging cable and control method thereof

Also Published As

Publication number Publication date
CN111817381B (en) 2022-02-01

Similar Documents

Publication Publication Date Title
CN111817380B (en) Charger, data line, charging equipment and electronic equipment
CN106716389B (en) Method for fast USB charging, electronic device and charger device
CN111509817B (en) Data line and charging equipment
KR101894777B1 (en) Charge control method and device, and electronic device
CN111817096B (en) Data line and charging equipment
US20130181660A1 (en) Charge control circuit for usb device
WO2013006753A1 (en) Current selectable usb charger
CN111509814B (en) Data line and charging equipment
CN111817382B (en) Charger, data line and charging equipment
EP4160861A1 (en) Charger, data cable, and charging device
CN111817378B (en) Charger, data line and charging equipment
US9257854B2 (en) Electronic device and protection circuit thereof
CN111817381B (en) Charger, data line and charging equipment
JP7425255B2 (en) Data line and charging equipment
CN109861038B (en) USB connection port capable of automatically switching connection mode and control method thereof
CN111817384B (en) Data line and charging equipment
CN111509815B (en) Data line and charging equipment
CN111509816B (en) Charger, data line and charging equipment
US10193286B2 (en) Electronic device and control method thereof
CN211017659U (en) USB connects converting circuit and connects converter
CN109218880A (en) Earphone charging two-in-one circuit and control method, terminal
JP2011234132A (en) Motherboard
KR20170098461A (en) Apparatus for supplying operation power of external device by using potable device
CN216981542U (en) Charging equipment and shared charging system
CN217134846U (en) Data line and battery charging outfit

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