Search

US-12627159-B2 - Switchable charger with Type-A interface supporting PD protocol, data cable and charging device

US12627159B2US 12627159 B2US12627159 B2US 12627159B2US-12627159-B2

Abstract

A charger includes a Type-A female socket, 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 socket includes a first communication pin. If the data cable matching unit determines, based on a matching signal transmitted via the first communication pin, that the charger is connected to a first to-be-charged device through a first data cable, and the first switching unit is connected to the first communication pin and the PD charging processing unit. If the data cable matching unit determines, based on a matching signal transmitted via the first communication pin, that the charger is connected to a second data cable or is connected to a second to-be-charged device through a data cable, the first switching unit is connected to the first communication pin and the non-PD charging processing unit.

Inventors

  • Tao Zhang
  • Junchen WEI

Assignees

  • VIVO MOBILE COMMUNICATION CO., LTD.

Dates

Publication Date
20260512
Application Date
20221129
Priority Date
20200529

Claims (12)

  1. 1 . A charger, comprising a Type-A female socket, 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 socket comprises a first communication pin, the first communication pin is connected to a first terminal of the first switching unit, a second terminal of the first switching unit is connected to the PD charging processing unit, a third terminal of the first switching unit is connected to the data cable matching unit, and a fourth terminal of the first switching unit is connected to the non-PD charging processing unit; and in a case that the charger is connected to a to-be-charged device through a data cable, if the data cable is a first data cable and the to-be-charged device is a first to-be-charged device, the first terminal of the first switching unit is connected to the second terminal of the first switching unit, and the first terminal of the first switching unit is disconnected from both the third terminal and the fourth terminal of the first switching unit; or in a case that the charger is connected to a to-be-charged device through a data cable, if the data cable is a second data cable or the to-be-charged device is a second to-be-charged device, the first terminal of the first switching unit is connected to the fourth terminal of the first switching unit, and the first terminal of the first switching unit is disconnected from both the second terminal and the third terminal of the first switching unit, wherein when the data cable matching unit determines, based on a matching signal transmitted via the first communication pin, that the charger matches the data cable, the data cable is the first data cable, and when the data cable matching unit determines, based on a charging signal transmitted via the first communication pin, that PD protocol communication is performed between the to-be-charged device and the charger, the to-be-charged device is the first to-be-charged device; or when the data cable matching unit determines, based on a matching signal transmitted via the first communication pin, that the charger does not match the data cable, the data cable is the second data cable, and when the data cable matching unit determines, based on a charging signal transmitted via the first communication pin, that non-PD protocol communication is performed between the to-be-charged device and the charger, the to-be-charged device is the second to-be-charged device.
  2. 2 . The charger according to claim 1 , wherein the first switching unit comprises a first switch and a second switch; a first terminal of the first switch is connected to the first communication pin, a second terminal of the first switch is connected to the data cable matching unit, and a third terminal of the first switch is connected to the non-PD charging processing unit; and a first terminal of the second switch is connected to the first communication pin, and a second terminal of the second switch is connected to the PD charging processing unit, wherein in a case that the charger is connected to the to-be-charged device through the data cable, if the data cable is the first data cable and the to-be-charged device is the first to-be-charged device, the first terminal of the first switch is disconnected from the second terminal and the third terminal of the first switch, and the second switch is closed; or if the data cable is the second data cable or the to-be-charged device is the second to-be-charged device, the first terminal of the first switch is connected to the third terminal of the first switch, the first terminal of the first switch is disconnected from the second terminal of the first switch, and the second switch is open.
  3. 3 . The charger according to claim 1 , wherein the non-PD charging processing unit is a charging processing unit based on a D+/D− communications protocol, the Type-A female socket further comprises a second communication pin, the second communication pin is connected to the non-PD charging processing unit, the first communication pin is one of a first D+ pin and a first D− pin, and the second communication pin is another of the first D+ pin and the first D− pin.
  4. 4 . The charger according to claim 1 , further comprising a first control unit, wherein the first control unit is connected to both 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 through the first communication pin or when the data cable matching unit can not obtain a first matching signal through the first communication pin within a preset time, drive the first terminal of the first switching unit to be connected to the fourth terminal of the first switching unit, and drive the first terminal of the first switching unit to be disconnected from the second terminal and the third terminal of the first switching unit, wherein the first matching signal is generated by the first data cable connected to the charger and not connected to the to-be-charged device; and the first control unit is further configured to: when the data cable matching unit obtains a first PD charging signal through the first communication pin, drive the first terminal of the first switching unit to be connected to the second terminal of the first switching unit, and drive the first terminal of the first switching unit to be disconnected from the third terminal and the fourth terminal of the first switching unit, wherein the first PD charging signal is generated by the first to-be-charged device connected to the charger through the first data cable.
  5. 5 . A data cable, comprising a Type-A male connector, a Type-C interface, and a cable connected between the Type-A male connector and the Type-C interface, wherein a charger matching unit and a second switching unit are disposed on the cable; the Type-A male connector comprises a third communication pin, the cable comprises first communication cable, the Type-C interface comprises a fourth communication pin and a first CC pin, and the third communication pin is connected to a first terminal of the first communication cable; a first terminal of the second switching unit is connected to a second terminal of the first communication cable, a second terminal of the second switching unit is connected to the charger matching unit, a third terminal of the second switching unit is connected to the fourth communication pin, and a fourth terminal of the second switching unit is connected to the first CC pin; and in a case that the data cable is connected to both a charger and a to-be-charged device, if the charger is a first charger and the to-be-charged device is a first to-be-charged device, the first terminal of the second switching unit is connected to the fourth terminal of the second switching unit, and the first terminal of the second switching unit is disconnected from the second terminal and the third terminal of the second switching unit; or in a case that the data cable is connected to both a charger and a to-be-charged device, if the charger is a second charger and the to-be-charged device is a second to-be-charged device, the first terminal of the second switching unit is connected to the third terminal of the second switching unit, and the first terminal of the second switching unit is disconnected from the second terminal and the fourth terminal of the second switching unit, wherein when the charger matching unit determines, based on a matching signal transmitted via the third communication pin, that the charger matches the data cable, the charger is the first charger, and when the charger matching unit determines, based on a charging signal transmitted via the third communication pin, that power delivery (PD) protocol communication is performed between the to-be-charged device and the first charger, the to-be-charged device is the first to-be-charged device; or when the charger matching unit determines, based on a matching signal transmitted via the third communication pin, that the charger does not match the data cable, the charger is the second charger, and when the charger matching unit determines, based on a charging signal transmitted via the third communication pin, that non-PD protocol communication is performed between the to-be-charged device and the charger, the to-be-charged device is the second to-be-charged device.
  6. 6 . The data cable according to claim 5 , wherein the Type-C interface further comprises a second CC pin, a first resistor is further disposed on the cable, a first terminal of the first resistor is connected to VBUS wire in the cable, the second switching unit further comprises a fifth terminal and a sixth terminal, the fifth terminal of the second switching unit is connected to a second terminal of the first resistor, and the sixth terminal of the second switching unit is connected to the second CC pin, wherein in a case that the data cable is connected to both the first charger and the first to-be-charged device, the fifth terminal of the second switching unit is disconnected from the sixth terminal of the second switching unit; or in a case that the data cable is connected to the second charger or to the second to-be-charged device, the fifth terminal of the second switching unit is connected to the sixth terminal 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 terminal of the third switch is connected to the second terminal of the first communication cable, a second terminal of the third switch is connected to the charger matching unit, a third terminal of the third switch is connected to the fourth communication pin, and a fourth terminal of the third switch is connected to the first CC pin; and a first terminal of the fourth switch is connected to the second terminal of the first resistor, and a second terminal of the fourth switch is connected to the second CC pin, wherein in a case that the data cable is connected to both the first charger and the first to-be-charged device, the first terminal of the third switch is connected to the fourth terminal of the third switch, and the first terminal of the fourth switch is disconnected from the second terminal of the fourth switch; or in a case that the data cable is connected to the second charger or the second to-be-charged device, the first terminal of the third switch is connected to the third terminal of the third switch, and the first terminal of the fourth switch is connected to the second terminal of the fourth switch.
  8. 8 . The data cable according to claim 5 , wherein a second control unit is further disposed on the cable, and the second control unit is connected to both 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 via the third communication pin or does not obtain a second matching signal transmitted via the third communication pin within a preset time, drive the first terminal of the second switching unit to be connected to the third terminal of the second switching unit and the first terminal of the second switching unit to be disconnected from the second terminal and the fourth terminal of the second switching unit, wherein the second matching signal is generated by the first charger connected to the data cable; and the second control unit is further configured to: when the charger matching unit obtains a second PD charging signal transmitted via the fourth communication pin, drive the first terminal of the second switching unit to be connected to the fourth terminal of the second switching unit and the first terminal of the second switching unit to be disconnected from the second terminal and the third terminal of the second switching unit, wherein the second PD charging signal is generated by the first to-be-charged device connected to the data cable when the data cable is connected to the first charger.
  9. 9 . The data cable according to claim 5 , wherein the Type-A male connector comprises a second D+ pin and a second D− pin, and the third communication pin is any one of the second D+ pin and the second D− pin; and the Type-C interface comprises a third D+ pin and a third D− pin, the fourth communication pin is one that is of the third D+ pin and the third D− pin and that is corresponding to the third communication pin, and the first communication cable is any one of D+ wire and D− wire; and the second D+ pin and the third D+ pin are connected to two terminals of the D+ wire, respectively, and the second D− pin and the third D− pin are connected to two terminals of the D-wire, respectively, wherein in a case that the data cable is inserted into the charger, the second D+ pin and the second D− pin are connected to the first D+ pin and the first D− pin in the charger, respectively.
  10. 10 . A charging device, comprising a charger and a data cable connected to the charger, wherein the charger is the charger according to claim 1 , wherein: the data cable comprises a Type-A male connector, a Type-C interface, and a cable connected between the Type-A male connector and the Type-C interface, wherein a charger matching unit and a second switching unit are disposed on the cable; the Type-A male connector comprises a third communication pin, the cable comprises first communication cable, the Type-C interface comprises a fourth communication pin and a first CC pin, and the third communication pin is connected to a first terminal of the first communication cable; a first terminal of the second switching unit is connected to a second terminal of the first communication cable, a second terminal of the second switching unit is connected to the charger matching unit, a third terminal of the second switching unit is connected to the fourth communication pin, and a fourth terminal of the second switching unit is connected to the first CC pin; in a case that the data cable is connected to both a charger and a to-be-charged device, if the charger is a first charger and the to-be-charged device is a first to-be-charged device, the first terminal of the second switching unit is connected to the fourth terminal of the second switching unit, and the first terminal of the second switching unit is disconnected from the second terminal and the third terminal of the second switching unit; or wherein in a case that the data cable is connected to both a charger and a to-be-charged device, if the charger is a second charger and the to-be-charged device is a second to-be-charged device, the first terminal of the second switching unit is connected to the third terminal of the second switching unit, and the first terminal of the second switching unit is disconnected from the second terminal and the fourth terminal of the second switching unit; when the charger matching unit determines, based on a matching signal transmitted via the third communication pin, that the charger matches the data cable, the charger is the first charger, and when the charger matching unit determines, based on a charging signal transmitted via the third communication pin, that power delivery (PD) protocol communication is performed between the to-be-charged device and the first charger, the to-be-charged device is the first to-be-charged device; or when the charger matching unit determines, based on a matching signal transmitted via the third communication pin, that the charger does not match the data cable, the charger is the second charger, and when the charger matching unit determines, based on a charging signal transmitted via the third communication pin, that non-PD protocol communication is performed between the to-be-charged device and the charger, the to-be-charged device is the second to-be-charged device; the first communication pin is connected to the third communication pin; in a case that the data cable successfully matches the charger and is not connected to the first to-be-charged device, the first terminal of the first switching unit is connected to the fourth terminal of the first switching unit, the first terminal of the first switching unit is disconnected from the second terminal and the third terminal of the first switching unit, the first terminal of the second switching unit is connected to the third terminal of the second switching unit, and the first terminal of the second switching unit is disconnected from the second terminal and the fourth terminal of the second switching unit; in a case that the data cable successfully matches the charger and is connected to the first to-be-charged device, the first terminal of the first switching unit is connected to the second terminal of the first switching unit, the first terminal of the first switching unit is disconnected from the third terminal and the fourth terminal of the first switching unit, the first terminal of the second switching unit is connected to the fourth terminal of the second switching unit, and the first terminal of the second switching unit is disconnected from the second terminal and the third terminal of the second switching unit, in a case that the data cable is connected to the first to-be-charged device, the charging device performs PD charging on the to-be-charged device through the first CC pin; or in a case that the data cable is connected to the second to-be-charged device, the charging device performs non-PD charging on the to-be-charged device through the fourth communication pin.
  11. 11 . The charging device according to claim 10 , wherein when the charger is connected to a power supply and the data cable is not connected to the to-be-charged device, the charger mutually matches the data cable; and when the charger successfully matches the data cable, the first switching unit is configured to connect the first communication pin to the non-PD charging processing unit, and the second switching unit is configured to connect the third communication pin to the fourth communication pin.
  12. 12 . The charging device according to claim 11 , wherein when the charger is connected to the 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 in a case that 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 in a case that 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 of the data cable matching unit or the charger matching unit.

Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application is a Bypass Continuation Application of PCT/CN2021/096695 filed on May 28, 2021, which claims priority to Chinese Patent Application No. 202010479634.5 filed on May 29, 2020, which are incorporated herein by reference in their entirety. 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, fast charging is increasingly widely used. In the related art, a power delivery (PD) protocol is generally used for fast charging. To support PD protocol charging, a charger needs to perform communication by using a CC signal cable. The charger that supports PD protocol charging generally employs a Standard-C (Type-C) interface and a Type-C to Type-C data cable. For a charger that employs a Standard-A (Type-A or Standard-A) interface, the charger performs communication by using a D+/D− signal cable, and cannot support PD protocol charging. However, currently, the most widely employed data cable is a data cable with a Type-A interface, and consequently a Type-A interface on a conventional data cable does not match a Type-C interface of a charger that supports PD protocol charging. SUMMARY According to a first aspect, an embodiment of this application provides a charger, including a Type-A female socket, 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 socket includes a first communication pin, the first communication pin is connected to a first terminal of the first switching unit, a second terminal of the first switching unit is connected to the PD charging processing unit, a third terminal of the first switching unit is connected to the data cable matching unit, and a fourth terminal of the first switching unit is connected to the non-PD charging processing unit; andin a case that the charger is connected to a to-be-charged device through a data cable, if the data cable is a first data cable and the to-be-charged device is a first to-be-charged device, the first terminal of the first switching unit is connected to the second terminal of the first switching unit, and both the first terminal of the first switching unit is disconnected from the third terminal and the fourth terminal of the first switching unit; orin a case that the charger is connected to a to-be-charged device through a data cable, if the data cable is a second data cable or the to-be-charged device is a second to-be-charged device, the first terminal of the first switching unit is connected to the fourth terminal of the first switching unit, and the first terminal of the first switching unit is disconnected from the second terminal and the third terminal of the first switching unit, wherewhen the data cable matching unit determines, based on a matching signal transmitted via the first communication pin, that the charger matches the data cable, the data cable is the first data cable, and when the data cable matching unit determines, based on a charging signal transmitted via the first communication pin, that PD protocol communication is performed between the to-be-charged device and the first charger, the to-be-charged device is the first to-be-charged device; or when the data cable matching unit determines, based on a matching signal transmitted via the first communication pin, that the charger does not match the data cable, the data cable is the second data cable, and when the data cable matching unit determines, based on a charging signal transmitted via the first communication pin, that non-PD protocol communication corresponding to the fourth communication pin is performed between the to-be-charged device and the charger, the to-be-charged device is the second to-be-charged device. According to a second aspect, an embodiment of this application provides a data cable, including a Type-A male connector, a Type-C interface, and a cable connected between the Type-A male connector and the Type-C interface, where a charger matching unit and a second switching unit are disposed on the cable; the Type-A male connector includes a third communication pin, the cable includes a first communication cable, the Type-C interface includes a fourth communication pin and a first CC pin, and the third communication pin is connected to a first terminal of the first communication cable;a first terminal of the second switching unit is connected to a second terminal of the first communication cable, a second terminal of the second switching unit is connected to the charger matching unit, a third terminal of the second switching unit is connected to the fourth communication pin, and a fourth terminal of the second switching unit is connected to the first CC pin; andin a case that the data cable is connected to both a charger and a to-be-charged device, if the