Search

US-12620815-B2 - Charger, data cable, and charging device

US12620815B2US 12620815 B2US12620815 B2US 12620815B2US-12620815-B2

Abstract

A charger, a data cable, and a charging device, and pertains to the field of communications technologies are provided. The charger includes a type-A female connector and a first processing module. The first processing module includes a PD charging processing unit, a non-PD charging processing unit, a data cable matching unit, and a first switching unit. The type-A female connector includes a first CC pin and a first communication pin. In a case that the data cable matching unit determines that the charger matches a connected data cable based on a matching signal transmitted through the first CC pin, the first switching unit is connected to the first CC pin and the PD charging processing unit. In a case that the charger does not match the connected data cable, the first switching unit is connected to the first CC pin and the data cable matching unit.

Inventors

  • Junchen WEI

Assignees

  • VIVO MOBILE COMMUNICATION CO., LTD.

Dates

Publication Date
20260505
Application Date
20221123
Priority Date
20200529

Claims (19)

  1. 1 . A charger, comprising a type-A female connector, a Power Delivery (PD) charging processing unit, a non-PD charging processing unit, a data cable matching unit, and a first switching unit; wherein the type-A female connector comprises a first Configuration Channel (CC) GG pin and a first communication pin, the first CC pin is connected to a first end of the first switching unit, a second end of the first switching unit is connected to the PD charging processing unit, a third end of the first switching unit is connected to the data cable matching unit, and the first communication pin is connected to the non-PD charging processing unit; and when the charger is connected to a data cable, if the data cable is a first data cable, the first end of the first switching unit is connected to the second end of the first switching unit, the first end of the first switching unit is disconnected from the third end of the first switching unit, and the charger performs, by the first CC pin, PD charging on a to-be-charged device connected to the first data cable, or performs, by the first communication pin, non-PD charging on a to-be-charged device connected to the first data cable; or when the charger is connected to a data cable, if the data cable is a second data cable, the first end of the first switching unit is connected to the third end of the first switching unit, the first end of the first switching unit is disconnected from the second end of the first switching unit, and the charger performs, by the first communication pin, non-PD charging on a to-be-charged device connected to the second data cable; wherein when the data cable matching unit determines that the charger matches the data cable based on a matching signal transmitted through the first CC pin, the data cable is the first data cable; and when the data cable matching unit determines that the charger does not match the data cable based on the matching signal transmitted through the first CC pin, the data cable is the second data cable.
  2. 2 . The charger according to claim 1 , wherein the first switching unit comprises a first switch and a second switch; a first end of the first switch is connected to the first CC pin, and a second end of the first switch is connected to the data cable matching unit; and a first end of the second switch is connected to the first CC pin, and a second end of the second switch is connected to the PD charging processing unit; wherein when the charger is connected to the first data cable, the second switch is closed, and the first switch is opened; and when the charger is connected to the second data cable, the second switch is opened, and the first switch is closed.
  3. 3 . The charger according to claim 1 , wherein the non-PD charging processing unit is a charging processing unit of a D+/D− communication protocol, and the first communication pin comprises a D+ pin and a D− pin.
  4. 4 . The charger according to claim 1 , wherein the charger further comprises a first control unit, and the first control unit is separately connected to the data cable matching unit and the first switching unit; wherein the first control unit is configured to: when the data cable matching unit obtains a first matching signal by the first CC pin, drive the first end of the first switching unit to connect to the second end of the first switching unit, and drive the first end of the first switching unit to disconnect from the third end of the first switching unit, wherein the first matching signal is sent by the first data cable connected to the charger.
  5. 5 . A data cable, comprising a type-A male connector, a type-C port, and a cable connected between the type-A male connector and the type-C port, wherein a charger matching unit and a second switching unit are disposed on the cable; the type-A male connector comprises a second Configuration Channel (CC) pin and a second communication pin, the cable comprises a Configuration Channel (CC) cable and a communication cable, a first end of the CC cable is connected to the second CC pin, the type-C port comprises a third CC pin and a third communication pin, and two ends of the communication cable are separately connected to the second communication pin and the third communication pin; a first end of the second switching unit is connected to a second end of the CC cable, a second end of the second switching unit is connected to the charger matching unit, and a third end of the second switching unit is connected to the third CC pin; and when the data cable is connected to a charger, if the charger is a first charger, the first end of the second switching unit is connected to the third end of the second switching unit, the first end of the second switching unit is disconnected from the second end of the second switching unit, and the first charger and the data cable perform Power Delivery (PD) charging on a to-be-charged device connected to the data cable by the third CC pin, or perform non-PD charging on a to-be-charged device connected to the data cable by the third communication pin; or if the charger is a second charger, the first end of the second switching unit is connected to the second end of the second switching unit, the first end of the second switching unit is disconnected from the third end of the second switching unit, and the second charger and the data cable perform non-PD charging on a to-be-charged device connected to the data cable by the third communication pin; wherein when the charging matching unit determines that the charger matches the data cable based on a matching signal transmitted through the second CC pin, the charger is the first charger; and when the charger matching unit determines that the charger does not match the data cable based on the matching signal transmitted through the second CC pin, the charger is the second charger.
  6. 6 . The data cable according to claim 5 , wherein the type-C port further comprises a fourth CC pin, a first resistor is further disposed on the cable, a first end of the first resistor is connected to a VBUS cable in the cable, the second switching unit further comprises a fourth end and a fifth end, the fourth end of the second switching unit is connected to a second end of the first resistor, and the fifth end of the second switching unit is connected to the fourth CC pin; wherein when the data cable is connected to the first charger, the fourth end of the second switching unit is disconnected from the fifth end of the second switching unit; and when the data cable is connected to the second charger, the fourth end of the second switching unit is connected to the fifth end of the second switching unit.
  7. 7 . The data cable according to claim 6 , wherein the second switching unit comprises a third switch and a fourth switch; a first end of the third switch is connected to a second end of the CC cable, a second end of the third switch is connected to the charger matching unit, and a third end of the third switch is connected to the third CC pin; and a first end of the fourth switch is connected to the second end of the first resistor, and a second end of the fourth switch is connected to the fourth CC pin; wherein when the data cable is connected to the second charger, the first end of the third switch is connected to the third end of the third switch, the first end of the third switch is disconnected from the second end of the third switch, and the fourth switch is opened; and when the data cable is connected to the first charger, the first end of the third switch is connected to the second end of the third switch, the first end of the third switch is disconnected from the third end of the third switch, and the fourth switch is closed.
  8. 8 . The data cable according to claim 5 , wherein the cable further comprises a second control unit, and the second control unit is separately connected to the charger matching unit and the second switching unit; wherein the second control unit is configured to: when the charger matching unit obtains a second matching signal transmitted through the second CC pin, drive the first end of the second switching unit to connect to the third end of the second switching unit, and drive the first end of the second switching unit to disconnect from the second end of the second switching unit; and the second control unit is further configured to: when the charger matching unit does not obtain the second matching signal transmitted through the second CC pin, drive the first end of the second switching unit to connect to the second end of the second switching unit, and drive the first end of the second switching unit to disconnect from the third end of the second switching unit, wherein the second matching signal is sent by the first charger connected to the data cable.
  9. 9 . The data cable according to claim 5 , wherein the second communication pin comprises a second D+ pin and a second D− pin, the third communication pin comprises a third D+ pin and a third D− pin, the communication cable comprises a D+ cable and a D− cable, the second D+ pin and the third D+ pin are separately connected to two ends of the D+ cable, and the second D− pin and the third D− pin are separately connected to two ends of the D− cable; wherein when the data cable is inserted into the charger, at least one of the second D+ pin and the second D− pin is connected to a non-PD charging processing unit in the charger, and the non-PD charging processing unit is a charging processing unit of a D+/D− communication protocol.
  10. 10 . A charging device, comprising a data cable according to claim 5 and a charger, wherein the charger comprises a type-A female connector, a PD charging processing unit, a non-PD charging processing unit, a data cable matching unit, and a first switching unit; the type-A female connector comprises a first CC pin and a first communication pin, the first CC pin is connected to a first end of the first switching unit, a second end of the first switching unit is connected to the PD charging processing unit, a third end of the first switching unit is connected to the data cable matching unit, and the first communication pin is connected to the non-PD charging processing unit; the data cable is connected to the charger, the first CC pin is connected to the second CC pin, and the first communication pin is connected to the second communication pin; and when the data cable successfully matches the charger, a first end of the first switching unit is connected to a second end of the first switching unit, the first end of the first switching unit is disconnected from a third end of the first switching unit, a first end of the second switching unit is connected to a third end of the second switching unit, and the first end of the second switching unit is disconnected from a second end of the second switching unit; wherein when the data cable is connected to a to-be-charged device, the charging device performs PD charging on the to-be-charged device by the third CC pin or performs non-PD charging on the to-be-charged device by the third communication pin.
  11. 11 . The charging device according to claim 10 , wherein when the charger is connected to a power supply, a first target unit is configured to generate a first matching signal and transmit the first matching signal to a second target unit; and the second target unit sends a second matching signal to the first target unit; wherein when the first target unit receives the second matching signal, the first target unit determines that the first target unit matches the second target unit, and when the second target unit receives the first matching signal, the second target unit determines that the first target unit matches the second target unit, wherein the first target unit is one of the data cable matching unit or the charger matching unit, and the second target unit is the other in the data cable matching unit and the charger matching unit.
  12. 12 . The charging device according to claim 10 , wherein when the charger is connected to a data cable, if the data cable is a first data cable, the first end of the first switching unit is connected to the second end of the first switching unit, the first end of the first switching unit is disconnected from the third end of the first switching unit, and the charger performs, by the first CC pin, PD charging on a to-be-charged device connected to the first data cable, or performs, by the first communication pin, non-PD charging on a to-be-charged device connected to the first data cable; or when the charger is connected to a data cable, if the data cable is a second data cable, the first end of the first switching unit is connected to the third end of the first switching unit, the first end of the first switching unit is disconnected from the second end of the first switching unit, and the charger performs, by the first communication pin, non-PD charging on a to-be-charged device connected to the second data cable; wherein when the data cable matching unit determines that the charger matches the data cable based on a matching signal transmitted through the first CC pin, the data cable is the first data cable; and when the data cable matching unit determines that the charger does not match the data cable based on the matching signal transmitted through the first CC pin, the data cable is the second data cable.
  13. 13 . The charging device according to claim 12 , wherein the first switching unit comprises a first switch and a second switch; a first end of the first switch is connected to the first CC pin, and a second end of the first switch is connected to the data cable matching unit; and a first end of the second switch is connected to the first CC pin, and a second end of the second switch is connected to the PD charging processing unit; wherein when the charger is connected to the first data cable, the second switch is closed, and the first switch is opened; and when the charger is connected to the second data cable, the second switch is opened, and the first switch is closed.
  14. 14 . The charging device according to claim 12 , wherein the non-PD charging processing unit is a charging processing unit of a D+/D− communication protocol, and the first communication pin comprises a D+ pin and a D− pin.
  15. 15 . The charging device according to claim 12 , wherein the charger further comprises a first control unit, and the first control unit is separately connected to the data cable matching unit and the first switching unit; wherein the first control unit is configured to: when the data cable matching unit obtains a first matching signal by the first CC pin, drive the first end of the first switching unit to connect to the second end of the first switching unit, and drive the first end of the first switching unit to disconnect from the third end of the first switching unit, wherein the first matching signal is sent by the first data cable connected to the charger.
  16. 16 . The charging device according to claim 10 , wherein the type-C port further comprises a fourth CC pin, a first resistor is further disposed on the cable, a first end of the first resistor is connected to a VBUS cable in the cable, the second switching unit further comprises a fourth end and a fifth end, the fourth end of the second switching unit is connected to a second end of the first resistor, and the fifth end of the second switching unit is connected to the fourth CC pin; wherein when the data cable is connected to the first charger, the fourth end of the second switching unit is disconnected from the fifth end of the second switching unit; and when the data cable is connected to the second charger, the fourth end of the second switching unit is connected to the fifth end of the second switching unit.
  17. 17 . The charging device according to claim 16 , wherein the second switching unit comprises a third switch and a fourth switch; a first end of the third switch is connected to a second end of the CC cable, a second end of the third switch is connected to the charger matching unit, and a third end of the third switch is connected to the third CC pin; and a first end of the fourth switch is connected to the second end of the first resistor, and a second end of the fourth switch is connected to the fourth CC pin; wherein when the data cable is connected to the first charger, the first end of the third switch is connected to the third end of the third switch, the first end of the third switch is disconnected from the second end of the third switch, and the fourth switch is opened; and when the data cable is connected to the first charger, the first end of the third switch is connected to the second end of the third switch, the first end of the third switch is disconnected from the third end of the third switch, and the fourth switch is closed.
  18. 18 . The charging device according to claim 10 , wherein the cable further comprises a second control unit, and the second control unit is separately connected to the charger matching unit and the second switching unit; wherein the second control unit is configured to: when the charger matching unit obtains a second matching signal transmitted through the second CC pin, drive the first end of the second switching unit to connect to the third end of the second switching unit, and drive the first end of the second switching unit to disconnect from the second end of the second switching unit; and the second control unit is further configured to: when the charger matching unit does not obtain the second matching signal transmitted through the second CC pin, drive the first end of the second switching unit to connect to the second end of the second switching unit, and drive the first end of the second switching unit to disconnect from the third end of the second switching unit, wherein the second matching signal is sent by the first charger connected to the data cable.
  19. 19 . The charging device according to claim 10 , wherein the second communication pin comprises a second D+ pin and a second D− pin, the third communication pin comprises a third D+ pin and a third D− pin, the communication cable comprises a D+ cable and a D− cable, the second D+ pin and the third D+ pin are separately connected to two ends of the D+ cable, and the second D− pin and the third D− pin are separately connected to two ends of the D− cable; wherein when the data cable is inserted into the charger, at least one of the second D+ pin and the second D− pin is connected to a non-PD charging processing unit in the charger, and the non-PD charging processing unit is a charging processing unit of a D+/D− communication protocol.

Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation application of International Application No. PCT/CN2021/096694 filed on May 28, 2021, which claims priority to Chinese Patent Application No. 202010479652.3 filed in China on May 29, 2020, which are incorporated herein by reference in their entireties. TECHNICAL FIELD This application pertains to the field of communications technologies, and specifically relates to a charger, a data cable, and a charging device. BACKGROUND With the development of science and technology, quick charging is increasingly widely used. In a related technology, a power delivery (PD) protocol is generally used for quick charging. A charger that supports charging of the PD protocol needs to use a configuration channel (CC) signal cable for communication. The charger that supports charging of the PD protocol generally uses a type-C port and has a Type-C to Type-C data cable. A charger that uses a type-A (Type-A or Standard-A) port performs communication by a D+/D− signal cable, and cannot support charging of the PD protocol. However, currently, the most widely used data cable is a data cable with a type-A port, and consequently, a type-A port on a conventional data cable does not match the type-C port on the charger that supports charging of the PD protocol. SUMMARY Embodiments of this application are to provide a charger, a data cable, and a charging device. According to a first aspect, an embodiment of this application provides a charger, including a type-A female connector, a PD charging processing unit, a non-PD charging processing unit, a data cable matching unit, and a first switching unit; where the type-A female connector includes a first CC pin and a first communication pin, the first CC pin is connected to a first end of the first switching unit, a second end of the first switching unit is connected to the PD charging processing unit, a third end of the first switching unit is connected to the data cable matching unit, and the first communication pin is connected to the non-PD charging processing unit; andin a case that the charger is connected to a data cable, if the data cable is a first data cable, the first end of the first switching unit is connected to the second end of the first switching unit, the first end of the first switching unit is disconnected from the third end of the first switching unit, and the charger performs, by the first CC pin, PD charging on a to-be-charged device connected to the first data cable, or performs, by the first communication pin, non-PD charging on a to-be-charged device connected to the first data cable; orin a case that the charger is connected to a data cable, if the data cable is a second data cable, the first end of the first switching unit is connected to the third end of the first switching unit, the first end of the first switching unit is disconnected from the second end of the first switching unit, and the charger performs, by the first communication pin, non-PD charging on a to-be-charged device connected to the second data cable; wherewhen the data cable matching unit determines that the charger matches the data cable based on a matching signal transmitted through the first CC pin, the data cable is the first data cable; and when the data cable matching unit determines that the charger does not match the data cable, the data cable is the second data cable based on the matching signal transmitted through the first CC pin. According to a second aspect, an embodiment of this application provides a data cable, including a type-A male connector, a type-C port, and a cable connected between the type-A male connector and the type-C port, where a charger matching unit and a second switching unit are disposed on the cable; the type-A male connector includes a second CC pin and a second communication pin, the cable includes a CC cable and a communication cable, a first end of the CC cable is connected to the second CC pin, the type-C port includes a third CC pin and a third communication pin, and two ends of the communication cable are separately connected to the second communication pin and the third communication pin;a first end of the second switching unit is connected to a second end of the CC cable, a second end of the second switching unit is connected to the charger matching unit, and a third end of the second switching unit is connected to the third CC pin; andin a case that the data cable is connected to a charger, if the charger is a first charger, the first end of the second switching unit is connected to the third end of the second switching unit, the first end of the second switching unit is disconnected from the second end of the second switching unit, and the first charger and the data cable perform, by the third CC pin, PD charging on a to-be-charged device connected to the data cable, or perform, by the third communication pin, non-PD charging on a to-be-charged device connected to the data cab