WO2021239100A1 - 充电器、数据线和充电设备 - Google Patents

充电器、数据线和充电设备 Download PDF

Info

Publication number
WO2021239100A1
WO2021239100A1 PCT/CN2021/096695 CN2021096695W WO2021239100A1 WO 2021239100 A1 WO2021239100 A1 WO 2021239100A1 CN 2021096695 W CN2021096695 W CN 2021096695W WO 2021239100 A1 WO2021239100 A1 WO 2021239100A1
Authority
WO
WIPO (PCT)
Prior art keywords
charger
data line
switching unit
unit
pin
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.)
Ceased
Application number
PCT/CN2021/096695
Other languages
English (en)
French (fr)
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 EP21812550.8A priority Critical patent/EP4160857A4/en
Priority to KR1020227046066A priority patent/KR102936915B1/ko
Publication of WO2021239100A1 publication Critical patent/WO2021239100A1/zh
Priority to US18/071,045 priority patent/US20230085923A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or discharging batteries or for supplying loads from batteries
    • H02J7/40Circuit arrangements for charging or discharging batteries or for supplying loads from batteries characterised by the exchange of charge or discharge related data
    • H02J7/42Circuit arrangements for charging or discharging batteries or for supplying loads from batteries characterised by the exchange of charge or discharge related data with electronic devices having internal batteries, e.g. mobile phones
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or discharging batteries or for supplying loads from batteries
    • H02J7/40Circuit arrangements for charging or discharging batteries or for supplying loads from batteries characterised by the exchange of charge or discharge related data
    • H02J7/47Arrangements for checking compatibility or authentication between one component, e.g. a battery or a battery charger, and another component, e.g. a power source
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/665Structural association with built-in electrical component with built-in electronic circuit
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/70Structural association with built-in electrical component with built-in switch
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or discharging batteries or for supplying loads from batteries
    • H02J7/50Circuit arrangements for charging or discharging batteries or for supplying loads from batteries acting upon multiple batteries simultaneously or sequentially
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or discharging batteries or for supplying loads from batteries
    • H02J7/70Circuit arrangements for charging or discharging batteries or for supplying loads from batteries characterised by the mechanical construction
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or discharging batteries or for supplying loads from batteries
    • H02J7/90Regulation of charging or discharging current or voltage
    • H02J7/971Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters
    • 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
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2207/00Details of circuit arrangements for charging or discharging batteries or supplying loads from batteries
    • H02J2207/30Charge provided using DC bus or data bus of a computer

Definitions

  • This application belongs to the field of communication technology, and specifically relates to a charger, a data cable, and a charging device.
  • the Power Delivery (PD) protocol is usually used for fast charging.
  • Chargers that support PD protocol charging need to use CC signal lines for communication.
  • the chargers that support PD protocol charging usually use the third standard (Type -C) interface, with Type-C to Type-C data cable.
  • Type-C the third standard
  • For a charger that adopts the first standard (Type-A or Standard-A) interface it communicates through the D+/D- signal line and cannot support PD protocol charging.
  • the most widely used data cable is a data cable with a Type-A interface, so that the Type-A interface on a conventional data line does not match the Type-C interface on a charger that supports PD protocol charging.
  • the purpose of the embodiments of the present application is to provide a charger, a data cable, and a charging device, which can solve the problem of the mismatch between the data cable adopting the Type-A interface and the charging interface of the charger supporting the PD protocol.
  • an embodiment of the present application provides a charger, including: a Type-A female base, a PD charging processing unit, a non-PD charging processing unit, a data line matching unit, and a first switching unit;
  • the Type-A female socket includes a first communication pin, the first communication pin is connected to the first end of the first switching unit, and the second end of the first switching unit is connected to the PD charging process Unit connection, the third end of the first switching unit is connected to the data line matching unit, and the fourth end of the first switching unit is connected to the non-PD charging processing unit;
  • the charger is connected to the device to be charged via a data line
  • the data line is the first data line and the device to be charged is the first device to be charged
  • the first end of the first switching unit Communicate with the second end of the first switching unit, and the first end of the first switching unit is disconnected from the third and fourth ends of the first switching unit;
  • the charger is connected to the device to be charged via a data line
  • the data line is the second data line or the device to be charged is the second device to be charged
  • the first end of the first switching unit Communicating with the fourth end of the first switching unit, and the first end of the first switching unit is disconnected from the second end and the third end of the first switching unit;
  • the data line matching unit determines that the charger matches the data line based on the matching signal transmitted through the first communication pin, the data line is the first data line, and the data line matches The unit determines based on the charging signal transmitted via the first communication pin that the device to be charged is the first device to be charged when PD protocol communication is performed between the device to be charged and the first charger; the data When the line matching unit determines that the charger does not match the data line based on the matching signal transmitted through the first communication pin, the data line is the second data line, and the data line matching unit is based on the When the charging signal transmitted by the first communication pin determines that the non-PD protocol communication corresponding to the fourth communication pin is performed between the device to be charged and the charger, the device to be charged is the second to be charged equipment.
  • an embodiment of the present 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,
  • the cable is provided with a charger matching unit and a second switching unit;
  • the Type-A male header includes a third communication pin, the cable includes a first communication trace, the Type-C interface includes a fourth communication pin and a first CC pin, and the third communication lead The pin is connected to the first end of the first communication line;
  • the first end of the second switching unit is connected to the second end of the first communication line, the second end of the second switching unit is connected to the charger matching unit, and the second end of the second switching unit is connected to the charger matching unit.
  • the third end is connected to the fourth communication pin, and the fourth end of the second switching unit is connected to the first CC pin;
  • the data line is separately connected to the charger and the device to be charged
  • the charger is the first charger and the device to be charged is the first device to be charged
  • the first device of the second switching unit The terminal is connected with 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,
  • the data line is separately connected to the charger and the device to be charged
  • the charger is the second charger or the device to be charged is the second device to be charged
  • the first of the second switching unit Terminal is connected with 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
  • the charger matching unit determines that the charger matches the data line based on the matching signal transmitted through the third communication pin, the charger is the first charger, and the charger matches When the unit determines based on the charging signal transmitted through the third communication pin that the device to be charged and the first charger perform PD protocol communication, the device to be charged is the first device to be charged; the charging When the charger matching unit determines that the charger does not match the data line based on the matching signal transmitted through the third communication pin, the charger is the second charger, and the charger matching unit is based on the When the charging signal transmitted by the third communication pin determines that the non-PD protocol communication corresponding to the fourth communication pin is performed between the device to be charged and the charger, the device to be charged is the second device to be charged .
  • an embodiment of the present application provides a charging device, including a charger and a data line connected to the charger, the charger is the charger provided in the first aspect, and the data line is the first In the data line provided by the second aspect, the first communication pin is connected to the third communication pin;
  • the first end of the first switching unit is connected to the fourth end of the first switching unit, and the The first end of the first switching unit is disconnected from the second end and the third end of the first switching unit, and the first end of the second switching unit is in communication with the third end of the second switching unit, And the first end of the second switching unit is disconnected from the second end and the fourth end of the second switching unit;
  • the first end of the first switching unit When the data line is successfully matched with the charger and the first device to be charged is connected, the first end of the first switching unit is connected to the second end of the first switching unit, and the first The first end of a switching unit is disconnected from the third and fourth ends of the first switching unit, the first end of the second switching unit is connected to the fourth end of the second switching unit, and The first end of the second switching unit is disconnected from the second end and the third end of the second switching unit;
  • the charging device when the data line is connected to the first device to be charged, the charging device performs PD charging on the device to be charged through the first CC pin; or,
  • the charging device When the data line is connected to the second device to be charged, the charging device performs non-PD charging on the device to be charged through the fourth communication pin.
  • an embodiment of the present application provides a charging method, which is applied to the charger provided in the first aspect, and the method includes:
  • the charger When the charger is connected to the data line, the charger is connected to a power source, and the data line is connected to the device to be charged, the data line matching unit obtains the first matching signal;
  • the first switching unit is driven to connect the first communication pin with the non-PD charging processing unit.
  • an embodiment of the present application provides a charging method, which is applied to the data line provided in the second aspect, and the method includes:
  • the charger When the data line is connected to a charger, the charger is connected to a power source, and the data line is connected to a device to be charged, the charger matching unit obtains the second matching signal;
  • the second switching unit is driven to connect the second communication pin with the fourth communication pin.
  • an embodiment of the present application provides a charging method, which is applied to the charging device provided in the third aspect, and the method includes:
  • the data line matching unit of the charger receives the first matching signal and sends it to the charger matching unit of the data line. Sending a second matching signal;
  • the charging device and The device to be charged performs PD protocol communication;
  • the charging device and The device to be charged performs non-PD protocol communication.
  • an embodiment of the present application provides an electronic device that includes a processor, a memory, and a program or instruction that is stored on the memory and can run on the processor.
  • the program or instruction is When the processor is executed, the steps of the method described in the fourth aspect are implemented; or the steps of the method described in the fifth aspect are implemented; or the steps of the method described in the sixth aspect are implemented.
  • an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the fourth aspect are implemented ; Or implement the steps of the method as described in the fifth aspect; or implement the steps of the method as described in the sixth aspect.
  • an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or an instruction to implement the fourth aspect The steps of the method; or the steps of implementing the method as described in the fifth aspect; or the steps of implementing the method as described in the sixth aspect.
  • the first switching unit determines that the charger is connected to the first device to be charged through the first data line based on the matching signal transmitted through the first communication pin
  • the first switching unit is connected The first communication pin in the Type-A female socket and the PD charging processing unit to use the first communication pin for PD protocol communication; the data line matching unit determines the charger connection based on the matching signal transmitted through the first communication pin
  • the first switching unit connects the first communication pin in the Type-A female socket with the non-PD charging processing unit to use the first communication pin to perform Non-PD protocol communication. In this way, when the first communication pin is connected to the PD charging processing unit, the PD fast charging function can be provided, so that the charger can support PD protocol charging through the Type-A interface.
  • FIG. 1 is a circuit diagram of a charging device provided by an embodiment of the present application.
  • 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 by an embodiment of the present application.
  • Fig. 4 is a circuit diagram of another charging device provided by an embodiment of the present application.
  • FIG. 5 is one of the working flowcharts of the charging device provided by the embodiment of the present application.
  • FIG. 6 is the second working flowchart of the charging device provided by the embodiment of the present application.
  • FIG. 7 is a flowchart of a first charging method provided by an embodiment of the present application.
  • FIG. 8 is a flowchart of a second charging method provided by an embodiment of the present application.
  • Fig. 9 is a flowchart of a third charging method provided by an embodiment of the present application.
  • Figure 1 is a circuit diagram of a charging device provided by an embodiment of the present application
  • Figure 2 is a circuit diagram of a charger provided by an embodiment of the present application
  • Figure 3 is provided by an embodiment of the present application The circuit diagram of the data line.
  • the charger 1 includes: a Type-A female base 11, a PD charging processing unit 12, a non-PD charging processing unit 13, a data line matching unit 14, and a first switching unit 15.
  • the Type-A female socket 11 includes a first communication pin 111, the first communication pin 111 is connected to the first end of the first switching unit 15, and the second end of the first switching unit 15 is connected to the PD charging processing unit 12.
  • the third end of the first switching unit 15 is connected to the data line matching unit 14, and the fourth end of the first switching unit 15 is connected to the non-PD charging processing unit 13.
  • the charger 1 when the charger 1 is connected to the device to be charged through a data line, if the data line is the first data line and the device to be charged is the first device to be charged, the first end of the first switching unit 15 It is connected to the second end of the first switching unit 15, and the first end of the first switching unit 15 is disconnected from the third and fourth ends of the first switching unit 15; or,
  • the charger 1 is connected to the device to be charged via a data line
  • the data line is the second data line or the device to be charged is the second device to be charged
  • the first end of the first switching unit 15 is connected to the second device to be charged.
  • the fourth end of a switching unit 15 is connected, and the first end of the first switching unit 15 is disconnected from the second and third ends of the first switching unit 15;
  • the data line matching unit 14 determines that the charger 1 matches the data line based on the matching signal transmitted through the first communication pin 111, the data line is the first data line, and the data line matching unit 14 is based on the first data line.
  • the matching signal transmitted by a communication pin 111 determines that the PD protocol communication between the device to be charged and the charger 1 is performed, the device to be charged is the first device to be charged; the data line matching unit 14 is based on the first communication guide
  • the matching signal transmitted by the pin 111 determines that the charger 1 does not match the data line, the data line is the second data line, and the data line matching unit 14 determines the When a non-PD protocol communication is performed between the device to be charged and the charger 1, the device to be charged is the second device to be charged.
  • the above-mentioned first data line is a data line that matches with the charger 1, and it may specifically be the data line 2 as shown in FIG. 1 and FIG. 4.
  • the first end of the first switching unit 15 is only connected to one of its second, third, and fourth ends.
  • the first end of the first switching unit 15 in the initial state (that is, when the charger 1 is not connected to the power supply or the data line), the first end of the first switching unit 15 is connected to the third end, that is, the data line matching unit 14 is connected to the first communication Pin 111, so that the data line matching unit 14 determines whether the charger 1 is connected to the first device to be charged through the first data line according to the signal transmitted on the first communication pin 111.
  • the first matching signal obtained by the first switching unit 15 through the first communication pin 111 meets the first preset condition
  • the first end of the first switching unit 15 and the first end of the first switching unit 15 The two ends are connected;
  • the first matching signal obtained by the first switching unit 15 through the first communication pin 111 meets the second preset condition
  • the first end of the first switching unit 15 and the first switching unit 15 The fourth terminal is connected, and the first matching signal is obtained from the device to be charged or the data line 2 matched with the charger 1.
  • the data line matching unit 14 is used to identify whether the data line connected to the charger 1 is the first data line that matches with the charger 1. If the matching is successful, the first communication pin 111 can be connected Connect to the non-PD charging processing unit 13 or the PD charging processing unit 12, and determine whether the device to be charged selects the PD communication channel or the non-PD communication channel according to the communication information received on the non-PD charging processing unit 13 or the PD charging processing unit 12, thereby Connect to the communication channel supported by the device to be charged.
  • the aforementioned non-PD charging processing unit 13 may be a charging processing unit of any non-PD communication protocol, for example, a charging processing unit of data negative signal (DataMinus, DM) charging communication and data positive signal (DP) charging communication,
  • the above-mentioned first communication pin may be a D+ pin or a D- pin.
  • the aforementioned non-PD charging processing unit 13 may also be other existing non-PD communication protocol charging processing units or non-PD communication protocol charging processing units that may appear in the future, which is not specifically limited here.
  • the above-mentioned first preset condition may include:
  • the first communication pin 111 acquires the first matching signal or the first matching signal is successfully matched with the first preset matching signal pre-stored in the data line matching unit 14;
  • the PD protocol communication is performed between the device to be charged connected to the charger 1 and the charger 1.
  • the first communication pin 111 obtains the first matching signal or the first matching signal is successfully matched with the matching signal pre-stored in the data line matching unit 14 , Can indicate: the data line is the first data line that matches with the charger 1.
  • the first matching signal is sent by the device to be charged
  • the first matching signal is acquired by the first communication pin 111 or the first matching signal is successfully matched with the matching signal pre-stored in the data line matching unit 14, It can be expressed that the device to be charged is the first device to be charged that matches the charger 1.
  • the PD protocol communication between the device to be charged connected to the charger 1 and the charger 1 can indicate that the device to be charged is a device that supports the PD fast charging function, and the PD protocol communication is selected for PD fast charging .
  • the aforementioned second preset condition includes at least one of the following:
  • the first communication pin 111 does not obtain the first matching signal
  • the matching signal acquired by the first communication pin 111 does not match the first preset matching signal prestored in the data line matching unit 14, or matches the second preset matching signal prestored in the data line matching unit 14;
  • the device to be charged connected to charger 1 does not support PD protocol communication
  • the non-PD protocol communication is performed between the device to be charged in the charger connection 1 and the charger 1.
  • the aforementioned preset time can be 3 seconds, 5 seconds, etc., which is used to increase the time delay of receiving the first matching signal, and can compensate for the increase of the first communication in the process of signal transmission, identification and configuration of the device to be charged or the data line.
  • the time when the pin 111 receives the first matching signal can be 3 seconds, 5 seconds, etc., which is used to increase the time delay of receiving the first matching signal, and can compensate for the increase of the first communication in the process of signal transmission, identification and configuration of the device to be charged or the data line.
  • the first communication pin 111 does not obtain the first matching signal within the preset time after the charger 1 is connected to the power supply and the data line, which may indicate :
  • the data line is a conventional second data line, so the first matching signal is not sent to the charger 1;
  • the matching signal obtained by the first communication pin 111 is the same as the first preset matching signal pre-stored in the data line matching unit 14 Mismatch, or match with the second preset matching signal pre-stored in the data line matching unit 14, may indicate that the data line is a second data line that does not match the charger 1.
  • the first communication pin 111 fails to obtain the first matching signal within the preset time after the charger 1 is connected to the power supply and the data line, which may indicate:
  • the device to be charged is a second device to be charged that does not support non-PD fast charging.
  • the charging device can perform regular charging on the second device to be charged, and the regular charging process is the same as the regular charging process in the prior art. It is not repeated here; in addition, the matching signal obtained by the first communication pin 111 does not match the first preset matching signal prestored in the data line matching unit 14, or it does not match the second preset matching signal prestored in the data line matching unit 14.
  • the preset matching signal matching can indicate that the device to be charged is a second device to be charged that supports non-PD fast charging and selects the non-PD fast charging function for charging, wherein the first preset matching signal can be the second to be charged.
  • the PD charging signal when the device selects the non-PD fast charging function and the second preset matching signal may be the non-PD charging signal when the device to be charged selects the non-PD fast charging function.
  • the above-mentioned first communication pin can be one of the D+ pin and the D- pin, and the data line connected to the charger 1 is a second data line that does not match it, the first The first end of the switching unit 15 is connected to the fourth end of the first switching unit 15, and the other of the D+ pin and the D- pin is connected to the non-PD charging processing unit 13.
  • the first matching signal and the second matching signal may be digital signals.
  • the data line matching unit 14 when the charger 1 is connected to a power source and the device to be charged is connected through the first data line, the data line matching unit 14 generates the second The second matching signal is transmitted to the charger matching unit 24 on the first data line through the first communication pin 111 connected to it and the third communication pin 211 on the first data line, etc.
  • the first data line is transmitted to the device to be charged, and the charger matching unit 24 or the device to be charged generates a first matching signal in response to the second matching signal, and transmits the first matching signal to the data through the first communication pin 111 Line matching unit 14, the data line matching unit 14 determines that the data line connected to the charger 1 is the matching first data line when acquiring the first matching signal or determines that the first device to be charged selects the PD fast charging function , Thereby connecting the first end of the first switching unit 15 with the second end of the first switching unit 15.
  • first matching signal and the second matching signal may also be analog signals, and the first switching unit 15 may perform switching according to the analog signal.
  • the PD charging processing unit 12 includes a CC logic controller and a PD controller, and the CC logic controller is connected to the PD controller.
  • the CC logic controls The device can perform CC protocol communication through the first communication pin 111, and the PD controller executes the PD fast charging function according to the CC protocol communication information received by the CC logic controller, so as to improve the charging efficiency of the device to be charged.
  • the charger matching unit 24 in the first data line when the first data line is detected to be connected to the power supply as shown in FIG. 4, the charger matching unit 24 in the first data line sends the first matching signal to the charger 1 first, and The data line matching unit 14 in the charger 1 feeds back a second matching signal to the charger matching unit 24 in response to the first matching signal, which is not specifically limited herein.
  • the charger 1 also includes a charging module
  • the Type-A female socket 11 is also provided with a power bus (VBUS) pin and a ground (GND) pin, for example: the Type-A female
  • the base 11 is provided with a GND pin, a D+ pin, a D- pin, and a VBUS pin, and the above-mentioned first communication pin may be any one of the D+ pin and the D- pin.
  • the structure and working principle of the charging module, the VBUS pin, and the GND pin are the same as the structure and working principle of the charging module, the VBUS pin, and the GND pin in the prior art, and will not be described in detail here.
  • the first switching unit determines that the charger is connected to the first device to be charged through the first data line based on the matching signal transmitted through the first communication pin
  • the first switching unit is connected The first communication pin in the Type-A female socket and the PD charging processing unit to use the first communication pin for PD protocol communication; the data line matching unit determines the charger connection based on the matching signal transmitted through the first communication pin
  • the first switching unit connects the first communication pin in the Type-A female socket with the non-PD charging processing unit to use the first communication pin to perform Non-PD protocol communication. In this way, when the first communication pin is connected to the PD charging processing unit, the PD fast charging function can be provided, so that the charger can support PD protocol charging through the Type-A interface.
  • the first processing module 12 of the charger 1 may also be provided with a detection unit 16, which is connected to the power supply line in the charger 1, so as The value of the electrical signal on the power trace determines whether the charger 1 is connected to the device to be charged;
  • the charger 1 when the charger 1 is connected to the device to be charged, and the PD protocol communication is performed between the device to be charged and the charger 1, the first matching signal meets the first preset condition;
  • the device to be charged is connected and the non-PD protocol communication is performed between the device to be charged and the charger 1, the first matching signal meets the second preset condition.
  • the detection unit 16 is connected to the power supply wiring in the charger 1 as follows: the detection unit 16 is connected to the VBUS pin in the Type-A female socket 11.
  • the detection unit 16 detects that the current is greater than the preset current value, it determines that the charger 1 is connected to the power source and the device to be charged, so that the first processing can be performed when the charger 1 is connected to the power source and the device to be charged.
  • the module 12 starts to detect whether the first matching signal is received on the first communication pin 111, and if the first matching signal is not obtained within the preset time after the start of the detection, the detection is stopped, and the first switching unit 15 is connected The first communication pin and the non-PD charging processing unit 13.
  • the charger 1 can also be provided with a first control unit 17, the first control unit 17 and the PD charging processing unit 12, the non-PD charging processing unit 13, the data line matching unit 14, the first switch
  • the unit 15 and the detection unit 16 are respectively connected, so that when the detection unit 16 detects that the charger 1 is connected to the power source and the device to be charged, the data line matching unit 14 is driven to start to detect whether the first matching signal is received on the first communication pin, and When the first matching signal is received within the preset time, the data line matching unit 14 is driven to match the first matching signal, and when the first matching signal meets the first preset condition, the data line matching unit 14 is driven to match the first matching signal.
  • the first switching unit 15 communicates with the first communication pin and the PD charging processing unit 12, and at the same time drives the PD charging processing unit 12 to perform PD fast charging of the device to be charged; or when the first matching signal meets the second preset condition , The first switching unit 15 is driven to connect the first communication pin and the non-PD charging processing unit 12, and at the same time, the non-PD charging processing unit 12 is driven to perform non-PD charging of the device to be charged.
  • the detection unit 16 detects the electrical signal on the power supply line to determine whether the charger 1 is connected to the power supply and whether it is connected to the device to be charged through the data line.
  • the first switching unit 15 includes a first switch 151 and a second switch 152;
  • the first end of the first switch 151 is connected to the first communication pin 111, the second end of the first switch 151 is connected to the data line matching unit 14, and the third end of the first switch 151 is connected to the non-PD charging processing unit 13;
  • the first end of the second switch 152 is connected to the first communication pin 111, and the second end of the second switch 152 is connected to the PD charging processing unit 12;
  • the charger 1 when the charger 1 is connected to the device to be charged via a data line, if the data line is the first data line and the device to be charged is the first device to be charged, the first terminal of the first switch 151 is connected to The second terminal and the third terminal of the first switch 151 are disconnected, and the second switch 152 is closed; if the data line is the second data line or the device to be charged is the second device to be charged, the The first terminal is connected with the third terminal of the first switch 151, the first terminal of the first switch 151 is disconnected from the second terminal of the first switch 151, and the first switch 14 is disconnected.
  • the first switch 151 and the second switch 152 may be switches controlled by analog signals, such as triodes or MOS transistors.
  • analog signals such as triodes or MOS transistors.
  • the first The switch 151 and the second switch 152 are connected or disconnected according to the electrical signal value on the first communication pin 111.
  • the first switch 151 and the second switch 152 may be switches controlled by digital signals.
  • the first charging processing module 12 further includes a first control unit 17, which is connected to The first switch 151 and the second switch 152 are directly or indirectly connected, so that the first switch 151 and the second switch 152 are connected or disconnected according to the control signal sent by the first control unit 17.
  • the first switching unit 15 is configured as two switches, which can simplify the structure and control process of the first switching unit 15.
  • the non-PD charging processing unit 13 is a charging processing unit of the D+/D- communication protocol
  • the Type-A female socket 11 further includes a second communication pin 112
  • the communication pin 112 is connected to the non-PD charging processing unit 13, the first communication pin 111 is one of the first D+ pin and the first D- pin, and the second communication pin 112 is the first D+ pin And the other one of the first D-pins.
  • the non-PD charging processing unit 13 can implement the communication process in the non-PD charging protocol through the D+ pin and the D- pin.
  • the second communication pin 112 is always connected to the non-PD charging processing unit 13.
  • the first switching unit 15 can connect the first communication pin 111 to the DM/DP charging processing unit, so as to provide DM /DP charging function; when the first communication pin 111 is connected to the PD charging processing unit 12, the DM/DP charging channel is not connected. In implementation, it can be determined to connect to the PD charging channel or DM/ according to the selection of the device to be charged. Any of the DP charging channels.
  • the data line matching unit 14 may be a first ID identification subunit.
  • the charging head 1 further includes a first control unit 17, the first control unit 17 is connected to the data line matching unit 14 and the first switching unit 15 respectively;
  • the first control unit 17 is configured to obtain the first matching signal in the data line matching unit 14 through the first communication pin 111 or when the data line matching unit 14 does not obtain the first matching signal through the first communication pin 111 within a preset time.
  • the first matching signal occurs, the first end of the first switching unit 15 is driven to communicate with the fourth end of the first switching unit 15, and the first end of the first switching unit 15 is connected to the second end and the second end of the first switching unit 15 All three terminals are disconnected, and the first matching signal is generated by a first data line connected to the charger and not connected to the device to be charged;
  • the first control unit 17 is also used for driving the first end of the first switching unit 15 and the second end of the first switching unit 15 when the data line matching unit 14 obtains the first PD charging signal through the first communication pin 111 Connected, and the first terminal of the first switching unit 15 is disconnected from the third terminal and the fourth terminal of the first switching unit 15, the first PD charging signal is generated by the charging signal connected to the charger 1 through the first data line The first device to be charged is generated.
  • the first control The unit 17 sends the first control signal
  • the first control unit 17 is configured to control the first end of the first switching unit 15 to communicate with the second end of the first switching unit 15 in response to the first control signal, and the first end of the first switching unit 15 and the second end of the first switching unit 15 are connected to each other. Both the third terminal and the fourth terminal of a switching unit 15 are disconnected.
  • the data line matching unit 14 When the data line matching unit 14 recognizes that the first matching signal or the first PD charging signal transmitted via the first communication pin 111 meets the second preset condition, it sends a second control signal to the first control unit 17 ;
  • the first control unit 17 is configured to control the first end of the first switching unit 15 to communicate with the fourth end of the first switching unit 15 in response to the second control signal, and the first end of the first switching unit 15 and the fourth end of the first switching unit 15 are connected to each other. Both the second end and the third end of a switching unit 15 are disconnected.
  • the above-mentioned first control unit 17 may be any logic control unit, such as a Microcontroller Unit (MCU), etc.
  • the logic control unit 15 may also be used for PD charging processing.
  • the unit 12 and the non-PD charging processing unit 13 are connected to control the PD charging processing unit 12 to perform PD charging logic processing, or control the non-PD charging processing unit 13 to perform non-PD charging logic processing.
  • the above-mentioned ID identification unit is used to identify the data line connected to the charger 1. Specifically, the identification can be carried out through the digital signal or analog signal obtained on the first communication pin 111 to determine whether the data line is A data line that matches the charger 1, wherein, in the case that the data line matches the charger 1, it is determined that the first matching signal meets the first preset condition, and in the case that the data line does not match the charger 1 Next, it is determined that the first matching signal meets a second preset condition.
  • the charging signal of the device to be charged can also be received, and the charging signal can carry the charging protocol selected by the device to be charged, for example, the PD charging protocol is selected in the device to be charged, and
  • the charger 1 When the charger 1 is connected to the first data line, it connects to the PD charging channel, that is, connects the first communication pin and the PD charging processing unit; when the device to be charged selects the non-PD charging protocol, connects to the non-PD charging channel, That is, the first communication pin is connected to the non-PD charging processing unit.
  • the data line connected to the charger 1 is identified by the ID identification unit to determine whether the data line is a data line that matches the charger 1, and the matching result is transmitted to the first control unit 17 for
  • the control logic of the first control unit 17 provides a basis, so that the first control unit 17 controls the first end of the first switching unit 15 and the first switching unit 15 when the charger 1 is connected to the first data line 2
  • the fourth terminal is connected to receive the charging signal of the device to be charged through the non-PD charging processing unit, so as to subsequently adjust the connection state of the first switching unit 15 according to the charging signal.
  • the charging device including the charger 1 in the embodiment shown in FIG. 4, and the charging device may specifically perform the following steps:
  • Step 501 Determine whether the charger is connected to a power source.
  • step 502 is executed, otherwise, this step can be executed continuously and repeatedly.
  • Step 502 Determine whether the charger is connected to the data line.
  • step 503 or step 504 is executed, otherwise, this step can be executed continuously and repeatedly.
  • step 503 when the data line connected by the charger matches the charger, step 503 is executed, and when the data line connected by the charger does not match the charger, step 504 is executed.
  • Step 503 When the first matching signal sent by the charger matching unit in the data line is received, feed back the second matching signal to the charger matching unit.
  • step 505 is executed when the feedback of the second matching signal is successful.
  • Step 505 Control the first switching unit to communicate with the first end and the fourth end, and the second switching unit to communicate with the first end and the third end.
  • the first switching unit is connected to the first end and the third end
  • the second switching unit is connected to the first end and the second end.
  • the second switching unit in the case that the second switching unit further includes a fifth end and a sixth end, the second switching unit also communicates with the fifth end and the sixth end thereof.
  • the non-PD protocol charging channel in the charger is connected, and the PD protocol charging channel is disconnected.
  • Step 506 Determine whether to access the device to be charged.
  • step 507 is executed, otherwise, this step can be executed continuously and repeatedly.
  • Step 507 Determine whether the device to be charged is a standard device.
  • the above-mentioned standard equipment supports the charging mode of the standard fast charging protocol (non-PD charging protocol).
  • step 508 is executed, otherwise, step 509 is executed.
  • Step 508 Perform non-PD fast charging.
  • Step 509 Control the first switching unit to communicate with the first end and the second end, and the second switching unit to communicate with the first end and the fourth end.
  • the second switching unit when the second switching unit further includes the fifth terminal and the sixth terminal, the second switching unit also disconnects the fifth terminal and the sixth terminal.
  • Step 510 Perform PD communication.
  • Step 511 Determine whether the PD communication is successful.
  • step 512 is executed; otherwise, step 513 is executed.
  • Step 512 Perform PD fast charging.
  • Step 513 Control the first switching unit to communicate with the first end and the fourth end, and the second switching unit to communicate with the first end and the third end.
  • the second switching unit in the case that the second switching unit further includes a fifth end and a sixth end, the second switching unit also communicates with the fifth end and the sixth end thereof.
  • the communication information of the device to be charged based on the DP/DM communication protocol can be received, and a specific charging scheme can be determined according to the communication information.
  • Step 504 Determine whether to access the device to be charged.
  • step 514 is executed, otherwise, this step can be executed continuously and repeatedly.
  • Step 514 The first matching signal is not received.
  • Step 515 Control the first switching unit to communicate with the first end and the fourth end, and the second switching unit to communicate with the first end and the third end.
  • the first switching unit is connected to the first end and the third end
  • the second switching unit is connected to the first end and the second end.
  • the second switching unit in the case that the second switching unit further includes a fifth end and a sixth end, the second switching unit also communicates with the fifth end and the sixth end thereof.
  • Step 516 Receive communication information of the device to be charged based on the DP/DM communication protocol, and determine a specific charging scheme according to the communication information.
  • an embodiment of the present application also provides a data line, as shown in Figure 3, the data line 2 includes: Type-A male connector 21, Type-C interface 22, connected to the Type- The cable 23 between the A male head 21 and the Type-C interface 22 is provided with a charger matching unit 24 and a second switching unit 25 on the cable 23.
  • the Type-A male header 21 includes a third communication pin 211
  • the cable 23 includes a first communication wire 231
  • the first end of the first communication wire 231 is connected to the third communication pin 211
  • the Type-C interface 22 includes a first CC pin 221 and a fourth communication pin 222
  • the first end of the second switching unit 25 is connected to the second end of the first communication line 231, and the second end of the second switching unit 25 is connected to the charger
  • the matching unit 24 is connected, the third end of the second switching unit 25 is connected to the fourth communication pin 222, and the fourth end of the second switching unit 25 is connected to the first CC pin 221.
  • the data line 2 is separately connected to the charger and the device to be charged
  • the charger is the first charger and the device to be charged is the first device to be charged
  • the first device of the second switching unit 25 The terminal is connected with the fourth terminal of the second switching unit 25, and the first terminal of the second switching unit 25 is disconnected from the second terminal and the third terminal of the second switching unit 25; or,
  • the data line 2 is separately connected to the charger and the device to be charged
  • the charger is a second charger or the device to be charged is a second device to be charged
  • the first end of the second switching unit 25 is connected to The third end of the second switching unit 25 is connected, and the first end of the second switching unit 25 is disconnected from the second end and the fourth end of the second switching unit 25;
  • the charger matching unit 24 determines that the charger matches the data line 2 based on the matching signal transmitted via the third communication pin 211, the charger is the first charger, and the charger matching unit 24 is based on the When the charging signal transmitted by the third communication pin 211 determines that the PD protocol communication is performed between the device to be charged and the first charger, the device to be charged is the first device to be charged; the charger matching unit 24 is based on the third communication When the matching signal transmitted by the pin 211 determines that the charger does not match the data line 2, the charger is the second charger, and the charger matching unit 24 determines based on the charging signal transmitted through the third communication pin 211 When the non-PD protocol communication is performed between the device to be charged and the charger, the device to be charged is the second device to be charged.
  • the above-mentioned first charger is a charger that matches the data line 2, and it may specifically be the charger 1 shown in FIG. 1 and FIG. 4.
  • the first end of the second switching unit 25 is only connected to one of its second, third, and fourth ends.
  • the second The first end of the switching unit 25 is connected to the second end, that is, the charger matching unit 24 and the third communication pin 211 are connected, so that the charger matching unit 24 determines the data line 2 according to the signal transmitted on the third communication pin 211 Whether it is connected to the first charger and the first device to be charged.
  • the second matching signal obtained by the charger matching unit 24 via the third communication pin 211 meets the third preset condition
  • the first end of the second switching unit 25 and the second switching unit 25 The four terminals are connected; when the second matching signal obtained by the charger matching unit 24 through the third communication pin 211 meets the fourth preset condition, the first terminal of the second switching unit 25 and the second switching unit 25
  • the third terminal is connected, and the second matching signal is obtained from the device to be charged connected to the data line 2 or the first charger 1 connected to the data line 2.
  • the above-mentioned third preset condition corresponds to the first preset condition in the previous charger embodiment
  • the above-mentioned fourth preset condition corresponds to the second preset condition in the previous charger embodiment
  • the first communication line can be routed between the CC communication line and the D+/D- communication line.
  • Switch in the line to charge the device to be charged that supports the PD fast charging function for PD fast charging, and to charge the device to be charged that does not support the PD fast charging function for non-PD protocol charging; in addition, the data line 2 is charging incompatible with other devices
  • only a non-PD protocol charging channel is provided to charge the device to be charged with a non-PD protocol.
  • the Type-C interface 22 further includes a second CC pin 223, a first resistor 233 is also provided on the cable 23, and the first end of the first resistor 233 is connected to the VBUS in the cable 23.
  • the second switching unit 25 also includes a fifth terminal and a sixth terminal. The fifth terminal of the second switching unit 25 is connected to the second terminal of the first resistor 233, and the sixth terminal of the second switching unit 25 is connected to the The second CC pin 223 is connected;
  • the fifth end of the second switching unit 25 is disconnected from the sixth end of the second switching unit 25;
  • the fifth end of the second switching unit 25 is connected to the sixth end of the second switching unit 25.
  • the first end of the second switching unit 25 is connected to the third end of the second switching unit 25, and the fifth end of the second switching unit 25 is connected to the sixth end of the second switching unit 25.
  • the first resistor 233 acts as a pull-up resistor to pull up the second CC pin 223 to connect to the VBUS trace 232.
  • the second CC pin 223 can be used to The VBUS trace 232 is connected to the CC pin on the device to be charged to support the non-PD charging function. It should be noted that when the second CC pin 223 is connected to the VBUS trace 232 through a pull-up resistor, the The Type-C interface has the same structure and working principle as the Type-C interface in the conventional technology, and will not be repeated here.
  • the fifth end of the second switching unit 25 is disconnected from the sixth end of the second switching unit 25 .
  • a communication wire 231 performs CC protocol communication to support the PD fast charging function.
  • the second switching unit 25 includes a third switch 251 and a fourth switch 252;
  • the first end of the third switch 251 is connected to the second end of the first communication trace 231, the second end of the third switch 251 is connected to the charger matching unit 242, and the third end of the third switch 251 is connected to the fourth end of the third switch 251.
  • the communication pin 222 is connected, and the fourth terminal of the third switch 251 is connected to the first CC pin 221;
  • the first end of the fourth switch 252 is connected to the second end of the first resistor 233, and the second end of the fourth switch 252 is connected to the second CC pin 223;
  • the first end of the third switch 251 is connected to the fourth end of the third switch 251, and the fourth switch
  • the first terminal of 252 is disconnected from the second terminal of the fourth switch 252; when the data line 2 is connected to the second charger or the second device to be charged, the first terminal of the third switch 251 The terminal is connected with the third terminal of the third switch 251, and the first terminal of the fourth switch 252 is connected with the second terminal of the fourth switch 252.
  • the third switch 251 may be a switch controlled by an analog signal, such as a metal-oxide semiconductor (Metal-Oxide Semiconductor, MOS tube); of course, it may also be a switch controlled by a digital signal, such as a single pole three throw
  • the corresponding fourth switch 252 may also be a switch controlled by an analog signal or a switch controlled by a digital signal.
  • the second processing module 24 may also be provided with a second control unit 26 to pass the second control unit 26
  • the corresponding digital control signal is sent to control the third switch 251 and the fourth switch 252 to adjust the switch state.
  • the working principle is the same as that of the first control unit 17 controlling the first switch 151 and the second switch 152, and will not be repeated here. Go into details.
  • the second switching unit 25 is configured as the third switch 251 and the fourth switch 252, which can simplify the structure and control principle of the second switching unit 25.
  • the charger matching unit 24 may be a second ID identification subunit.
  • a second control unit 26 is also provided on the cable 23, and the second control unit 26 is respectively connected to the charger matching unit 24 and the second switching unit 25;
  • the second control unit 26 is configured to obtain the second matching signal transmitted via the third communication pin 211 in the charger matching unit 24 or not obtain the second matching signal transmitted via the third communication pin 211 within a preset time.
  • the first end of the second switching unit 25 is driven to communicate with the third end of the second switching unit 25, and the first end of the second switching unit 25 is connected to the second and fourth ends of the second switching unit 25 Both are disconnected, the second matching signal is generated by the first charger connected to the data line 2;
  • the second control unit 26 is also configured to drive the first end of the second switching unit 25 and the fourth terminal of the second switching unit 25 when the charger matching unit 24 obtains the second PD charging signal transmitted via the fourth communication pin. Terminal is connected, and the first terminal of the second switching unit 25 is disconnected from the second terminal and the third terminal of the second switching unit 25.
  • the second PD charging signal is transmitted by the data line 2 when the data line 2 is connected to the first charger. The first device to be charged connected to the data line 2 is generated.
  • the charger matching unit 24 recognizes that the second matching signal transmitted via the third communication pin 211 or the second PD charging signal transmitted via the fourth communication pin conforms to the first In the case of three preset conditions, send a third control signal to the second control unit 26; the second control unit 26 is configured to respond to the third control signal to drive the first end of the second switching unit 25 to switch to the second The fourth end of the unit 25 is connected, and the first end of the second switching unit 25 is disconnected from the second and third ends of the second switching unit 25.
  • the charger matching unit 24 recognizes that the second matching signal transmitted through the third communication pin 211 or the second PD charging signal transmitted through the fourth communication pin meets the fourth preset condition
  • the fourth control signal is sent to the second control unit 26; the second control unit 26 is used to drive the first end of the second switching unit 25 and the third end of the second switching unit 25 in response to the fourth control signal.
  • the terminal is connected, and the first terminal of the second switching unit 25 is disconnected from the second terminal and the fourth terminal of the second switching unit 25.
  • the third communication pin 211 on the data line 2 cannot obtain a data signal or cannot obtain a matching analog signal.
  • the PD charging protocol channel is disconnected, and only non-PD protocol charging can be realized.
  • the non-PD charging protocol channel is first connected.
  • it can also be determined to perform PD charging or DM/DP charging for the device to be charged according to the communication result of the device to be charged based on the non-PD charging protocol channel, so as to connect to the corresponding communication channel.
  • the second ID identification subunit is connected to the third communication pin 211, so that when the third communication pin 211 and the first CC pin 221 are connected, the CC handshake protocol can be obtained through the CC path Communication information, and feedback to the third communication pin 211, for example, the first matching information is fed back to the first ID identification subunit as shown in FIG. 4 through the CC path.
  • the charger matching unit 24 in the data line 2 first sends the first matching signal to the charger 1, and the data line in the charger 1
  • the matching unit 14 feeds back the second matching signal to the charger matching unit 24 in response to the first matching signal, which is not specifically limited herein.
  • the Type-A male header 21 includes a second D+ pin and a second D- pin, and the third communication pin 222 is the second D+ pin and the second D- pin.
  • the third communication pin 222 is the second D+ pin and the second D- pin.
  • Type-C interface 22 includes a third D+ pin and a third D-pin, and the fourth communication pin 223 is the third D+ pin and the third D-pin
  • the cable 23 also includes a D+ wire and a D- wire, the second D+ pin and the third D+ pin are respectively connected to the D+ wire
  • the second D-pin and the third D-pin are respectively connected to the two ends of the D-line;
  • the second D+ pin and the second D ⁇ pin are connected to the non-PD charging processing unit 13 in the charger.
  • the non-PD charging processing unit 13 is a charging processing unit of the D+/D- communication protocol, and the function of one of the D+ wiring and the D- wiring is switched through the second processing module 12.
  • the first CC pin When the first CC pin is connected, it is used as a CC communication line; when it is connected to the fourth communication pin, it is used as a DP/DM communication line, thereby avoiding the addition of the CC pin in the Type-A male header 21 , And avoid adding CC wiring in the cable 23, simplify the wiring structure of the data line, and increase the applicability of the Type-A male connector 21.
  • the structure of the Type-A male header 21 and the distribution position of each pin are the same as the structure of the Type-A female socket 11 shown in Figure 1, Figure 2 and Figure 4 and the layout of each pin. The distribution positions are corresponding and will not be repeated here.
  • the Type-A male header 21 can include VBUS pins, GND pins, D+ pins and D- pins, and the cable 23 also includes VBUS correspondingly.
  • Wiring, GND wiring, D+ wiring and D- wiring, and Type-C interface 22 also includes VBUS pin, GND pin, D+ pin and D- pin, and two of the VBUS wiring
  • the terminals are connected to the VBUS pin in the Type-A male header 21 and the VBUS pin in the Type-C interface 22, and the two ends of the GND trace are respectively connected to the GND pin and the Type-C interface in the Type-A male header 21
  • the GND pin in 22, the two ends of the D+ trace are respectively connected to the D+ pin in the Type-A male header 21 and the D+ pin in the Type-C interface 22, and the two ends of the D- trace are respectively connected to Type-A The D-pin in the male header 21 and the D-pin in the Type-C interface 22.
  • the Type-A male header 21 is provided with a GND pin, a D+ pin, a D- pin, and a VBUS pin, and the above-mentioned first communication pin and third communication pin are D+ pins,
  • each pin in the Type-A male header 21 is connected to each pin in the Type-A female socket 11 in a one-to-one correspondence.
  • Table 1 shows:
  • the charging device can specifically perform the following steps:
  • Step 601 Determine whether the charger connected to the data line is connected to a power source.
  • step 602 is executed, otherwise, this step can be executed continuously and repeatedly.
  • Step 602 Determine whether the charger is plugged into the data line.
  • step 603 or step 604 is executed, otherwise, this step can be executed continuously and repeatedly.
  • step 603 is performed, and in the case where the data line connected by the charger is a regular data line, step 603 is performed 604.
  • Step 603 The charger matching unit in the data line sends a first matching signal to the charger.
  • step 605 is executed.
  • Step 605 Control the second switching unit to connect its first end and third end.
  • the second switching unit connects the first end and the second end thereof.
  • Step 604 The charging device connects to a non-PD protocol charging channel.
  • step 604 or step 605 the charger is connected to the non-PD protocol charging channel in the data cable, and the PD protocol charging channel in the data cable is disconnected.
  • the device to be charged can communicate with the charging channel based on the non-PD communication protocol.
  • the device communicates and determines the charging plan based on the content of the communication.
  • FIGS 1 and 4 are structural diagrams of a charging device provided by an embodiment of the present application.
  • the charging device includes the charger 1 and the data line 2 provided in the foregoing embodiment.
  • the first communication pin 111 communicates with the third Pin 211 is connected;
  • the first end of the first switching unit 15 is connected to the fourth end of the first switching unit 15, and the The first end is disconnected from the second end and the third end of the first switching unit 15, the first end of the second switching unit 25 is connected to the third end of the second switching unit 25, and the second end of the second switching unit 25 is connected.
  • One end is disconnected from both the second end and the fourth end of the second switching unit 25;
  • the first end of the first switching unit 15 is connected to the second end of the first switching unit 15, and the first end of the first switching unit 15 is connected.
  • One end is disconnected from the third and fourth ends of the first switching unit 15, the first end of the second switching unit 25 is connected to the fourth end of the second switching unit 25, and the first end of the second switching unit 25 is Terminal is disconnected from the second terminal and the third terminal of the second switching unit 25;
  • the charging device when the data line 2 is connected to the first device to be charged, the charging device performs PD charging on the device to be charged through the first CC pin 221; or,
  • the charging device When the data line 2 is connected to the second device to be charged, the charging device performs non-PD charging on the device to be charged through the fourth communication pin 222.
  • the charger 1 and the data line 2 are matched with each other;
  • the first switching unit 15 is used to connect the first communication pin 111 with the non-PD charging processing unit 13, and the second switching unit 25 is used to connect the third communication pin 211 with The fourth communication pin 222 is connected.
  • the charging signal of the device to be charged can be received through the third communication pin 211 and the fourth communication pin 222, and the first switching unit can be adjusted according to the charging signal.
  • the third communication pin 211 is connected to the first CC pin 221 to perform PD fast charging on the charging device.
  • the first target unit when the charger 1 is connected to a power source, the first target unit is used to generate a first matching signal and transmit it to the second target unit;
  • the first target unit determines that the first target unit matches the second target unit; the second target unit receives In the case of the first matching signal, the second target unit confirms that the first target unit matches the second target unit; the first target unit is the data line matching unit 14 or the charger matching unit One of the units in 24, the second target unit is the other unit in the data line matching unit 14 or the charger matching unit 24.
  • the matching signal interaction between the data line matching unit 14 and the charger matching unit 24 determines whether the charger 1 and the data line 2 match, which simplifies the matching process between the charger 1 and the data line 2.
  • FIG. 7 is a flowchart of a first charging method provided by an embodiment of the present invention.
  • the charging method is applied to a charging device including the charger 1 provided in the embodiment of the present application.
  • the charging device may specifically perform the following steps:
  • Step 701 When the charger is connected to the data line, the charger is connected to the power source, and the data line is connected to the device to be charged, the data line matching unit obtains the first matching signal.
  • Step 702 When the first matching signal meets the first preset condition, drive the first switching unit to connect the first communication pin with the PD charging processing unit.
  • Step 703 When the first matching signal meets the second preset condition, drive the first switching unit to connect the first communication pin with the non-PD charging processing unit.
  • the charger is connected to the power source and the target data line is connected to the device to be charged when the power source is detected on the VBUS line.
  • the first charging method provided in the embodiment of the present application can realize the various processes of the charger provided in the embodiment of the present application, and can achieve the same beneficial effects. In order to avoid repetition, it will not be repeated here.
  • FIG. 8 is a flowchart of a second charging method provided by an embodiment of the present invention.
  • the charging method is applied to a charging device that includes the data line 2 provided in the embodiment of the present application.
  • the charging device can specifically perform the following steps:
  • Step 801 When the data line is connected to a charger, the charger is connected to a power source, and the data line is connected to a device to be charged, the charger matching unit obtains a second matching signal.
  • Step 802 When the second matching signal meets the third preset condition, drive the second switching unit to connect the third communication pin with the first CC pin.
  • Step 803 When the second matching signal meets the fourth preset condition, drive the second switching unit to connect the third communication pin with the fourth communication pin.
  • the second charging method provided in the embodiments of the present application can realize the various processes of the data lines provided in the embodiments of the present application, and can achieve the same beneficial effects. To avoid repetition, details are not described herein again.
  • FIG. 9 is a flowchart of a third charging method provided by an embodiment of the present invention.
  • the charging method is applied to the charging device including the charger 1 and the data line 2 provided in the embodiment of the present application.
  • the charging device may specifically Perform the following steps:
  • Step 901 When the data line is connected to the charger and the power source and the device to be charged are connected, the data line matching unit of the charger receives the first matching signal, and charges the data line The device matching unit sends a second matching signal.
  • Step 902 When the data line matching unit determines that the first matching signal meets a first preset condition, and the charger matching unit determines that the second matching signal meets a third preset condition, the The charging device performs PD protocol communication with the device to be charged.
  • Step 903 When the data line matching unit determines that the first matching signal meets a second preset condition, and the charger matching unit determines that the second matching signal meets a fourth preset condition, the The charging device performs non-PD protocol communication with the device to be charged.
  • the method further includes:
  • the first switching unit is driven to connect the first communication pin with the non-PD charging processing unit, and the second switching unit is driven to connect the third communication pin to the fourth communication pin.
  • the data line matching unit of the charger receives the first matching signal and sends it to the charger of the data line
  • the second matching signal sent by the matching unit includes:
  • the data line matching unit of the charger receives the first matching signal sent by the device to be charged, and according to the The first matching signal sends a second matching signal to the charger matching unit of the data line.
  • the foregoing matching of the data line connected to the charger with the charger may be detecting whether the data line matching unit in the charger has obtained the first matching signal from the first communication pin, and determining the foregoing The first matching signal meets the first preset condition or the second preset condition, and it is detected whether the charger matching unit in the data line has obtained the second matching signal from the third communication pin, and it is determined that the second matching signal meets The third preset condition or the fourth preset condition.
  • the foregoing matching process is the same as the matching process in the embodiments of the charger, data cable, and charging device provided in the embodiments of the present application, and will not be repeated here.
  • the PD protocol communication between the charging device and the device to be charged includes:
  • the first matching signal indicates PD protocol communication between the device to be charged and the charging device
  • driving the first switching unit to connect the first communication pin with the PD charging processing unit
  • driving the second switching unit to connect the third communication pin with the first CC pin, and perform PD communication protocol charging on the device to be charged
  • the charging The non-PD protocol communication between the device and the device to be charged includes:
  • the non-PD communication protocol charging is performed on the device to be charged by the non-PD charging processing unit.
  • the charging device provided by the embodiment of the present application uses the first communication pin in the data line as a switchable communication pin, so as to support one of the PD charging protocol and the non-PD charging protocol through the first communication pin. After the charging device is connected to the power source, it can provide the PD fast charging function or the non-PD fast charging function to the charging device according to the selection of the device to be charged, which has the same beneficial effects as the charging device provided in the embodiments of the present application, and will not be repeated here.
  • an embodiment of the present application further provides an electronic device, including a processor, a memory, and a program or instruction that is stored in the memory and can run on the processor.
  • an electronic device including a processor, a memory, and a program or instruction that is stored in the memory and can run on the processor.
  • the program or instruction is executed by the processor, the foregoing
  • Each process of the first charging method, the second charging method, or the third charging method embodiment can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.
  • the embodiment of the present application also provides a readable storage medium having a program or instruction stored on the readable storage medium.
  • the program or instruction is executed by a processor, the first charging method, the second charging method, or the first
  • the first charging method, the second charging method, or the first can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.
  • the processor is the processor in the electronic device described in the foregoing embodiment.
  • the readable storage medium includes a computer readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks, or optical disks.
  • An embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or an instruction to implement the above-mentioned first charging method,
  • the chip includes a processor and a communication interface
  • the communication interface is coupled to the processor
  • the processor is used to run a program or an instruction to implement the above-mentioned first charging method
  • chips mentioned in the embodiments of the present application may also be referred to as system-level chips, system-on-chips, system-on-chips, or system-on-chips.
  • the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. ⁇
  • the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.

Landscapes

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

Abstract

本申请公开了一种充电器、数据线和充电设备。充电器包括:Type-A母座、PD充电处理单元、非PD充电处理单元、数据线匹配单元和第一切换单元;Type-A母座包括第一通信引脚,第一切换单元与第一通信引脚、PD充电处理单元、数据线匹配单元和非PD充电处理单元分别连接;若数据线匹配单元基于经第一通信引脚传输的匹配信号确定充电器通过第一数据线与第一待充电设备连接,第一切换单元连通第一通信引脚和PD充电处理单元;若数据线匹配单元基于经第一通信引脚传输的匹配信号确定充电器连接第二数据线或者通过数据线连接第二待充电设备,第一切换单元连通第一通信引脚和非PD充电处理单元。

Description

充电器、数据线和充电设备
相关申请的交叉引用
本申请主张在2020年5月29日在中国提交的中国专利申请号No.202010479634.5的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于通信技术领域,具体涉及一种充电器、数据线和充电设备。
背景技术
随着科技的发展,快速充电的应用越来越广泛。
在相关技术中,通常采用电力输送(PowerDelivery,PD)协议进行快速充电,为支持PD协议充电的充电器需要采用CC信号线进行通信,该支持PD协议充电的充电器通常采用第三标准(Type-C)接口,并搭配Type-C to Type-C的数据线。对于采用第一标准(Type-A或者Standard-A)接口的充电器,其通过D+/D-信号线进行通信,不能够支持PD协议充电。但是,当前使用最广泛的数据线为具有Type-A接口的数据线,从而使得常规的数据线上的Type-A接口与支持PD协议充电的充电器上的Type-C接口不匹配。
发明内容
本申请实施例的目的是提供一种充电器、数据线和充电设备,能够解决采用Type-A接口的数据线与支持PD协议的充电器的充电接口不匹配的问题。
为了解决上述技术问题,本申请是这样实现的:
第一方面,本申请实施例提供了一种充电器,包括:Type-A母座、PD充电处理单元、非PD充电处理单元、数据线匹配单元以及第一切换单元;
所述Type-A母座包括第一通信引脚,所述第一通信引脚与所述第一切换单元的第一端连接,所述第一切换单元的第二端与所述PD充电处理单元连接,所述第一切换单元的第三端与所述数据线匹配单元连接,所述第一切换 单元的第四端与所述非PD充电处理单元连接;
在所述充电器通过数据线与待充电设备连接的情况下,若所述数据线为第一数据线且所述待充电设备为第一待充电设备,所述第一切换单元的第一端与所述第一切换单元的第二端连通,且所述第一切换单元的第一端与所述第一切换单元的第三端和第四端均断开;或,
在所述充电器通过数据线与待充电设备连接的情况下,若所述数据线为第二数据线或者所述待充电设备为第二待充电设备,所述第一切换单元的第一端与所述第一切换单元的第四端连通,且所述第一切换单元的第一端与所述第一切换单元的第二端和第三端均断开;
其中,所述数据线匹配单元基于经所述第一通信引脚传输的匹配信号确定所述充电器与所述数据线匹配时,所述数据线为第一数据线,且所述数据线匹配单元基于经所述第一通信引脚传输的充电信号确定所述待充电设备与所述第一充电器之间进行PD协议通信时,所述待充电设备为第一待充电设备;所述数据线匹配单元基于经所述第一通信引脚传输的匹配信号确定所述充电器与所述数据线不匹配时,所述数据线为第二数据线,且所述数据线匹配单元基于经所述第一通信引脚传输的充电信号确定所述待充电设备与所述充电器之间进行与所述第四通信引脚对应的非PD协议通信时,所述待充电设备为第二待充电设备。
第二方面,本申请实施例提供了一种数据线,包括:Type-A公头、Type-C接口以及连接于所述Type-A公头与所述Type-C接口之间的线缆,所述线缆上设置有充电器匹配单元和第二切换单元;
所述Type-A公头包括第三通信引脚,所述线缆包括第一通信走线,所述Type-C接口包括第四通信引脚和第一CC引脚,所述第三通信引脚与所述第一通信走线的第一端连接;
所述第二切换单元的第一端与所述第一通信走线的第二端连接,所述第二切换单元的第二端与所述充电器匹配单元连接,所述第二切换单元的第三端与所述第四通信引脚连接,所述第二切换单元的第四端与所述第一CC引脚连接;
在所述数据线与充电器和待充电设备分别连接的情况下,若所述充电器 为第一充电器且所述待充电设备为第一待充电设备,所述第二切换单元的第一端与所述第二切换单元的第四端连通,且所述第二切换单元的第一端与所述第二切换单元的第二端和第三端均断开;或,
在所述数据线与充电器和待充电设备分别连接的情况下,若所述充电器为第二充电器或者所述待充电设备为第二待充电设备,所述第二切换单元的第一端与所述第二切换单元的第三端连通,且所述第二切换单元的第一端与所述第二切换单元的第二端和第四端均断开;
其中,所述充电器匹配单元基于经所述第三通信引脚传输的匹配信号确定所述充电器与所述数据线匹配时,所述充电器为第一充电器,且所述充电器匹配单元基于经所述第三通信引脚传输的充电信号确定所述待充电设备与所述第一充电器之间进行PD协议通信时,所述待充电设备为第一待充电设备;所述充电器匹配单元基于经所述第三通信引脚传输的匹配信号确定所述充电器与所述数据线不匹配时,所述充电器为第二充电器,且所述充电器匹配单元基于经所述第三通信引脚传输的充电信号确定所述待充电设备与所述充电器之间进行所述第四通信引脚对应的非PD协议通信时,所述待充电设备为第二待充电设备。
第三方面,本申请实施例提供了一种充电设备,包括充电器和与所述充电器连接的数据线,所述充电器为第一方面提供的所述充电器,所述数据线为第二方面提供的所述数据线,所述第一通信引脚与所述第三通信引脚连接;
在所述数据线与所述充电器匹配成功且未连接第一待充电设备的情况下,所述第一切换单元的第一端与所述第一切换单元的第四端连通,且所述第一切换单元的第一端与所述第一切换单元的第二端和第三端均断开,所述第二切换单元的第一端与所述第二切换单元的第三端连通,且所述第二切换单元的第一端与所述第二切换单元的第二端和第四端均断开;
在所述数据线与所述充电器匹配成功且连接第一待充电设备的情况下,所述第一切换单元的第一端与所述第一切换单元的第二端连通,且所述第一切换单元的第一端与所述第一切换单元的第三端和第四端均断开,所述第二切换单元的第一端与所述第二切换单元的第四端连通,且所述第二切换单元的第一端与所述第二切换单元的第二端和第三端均断开;
其中,在所述数据线连接第一待充电设备的情况下,所述充电设备通过所述第一CC引脚对所述待充电设备进行PD充电;或,
在所述数据线连接第二待充电设备的情况下,所述充电设备通过所述第四通信引脚对所述待充电设备进行非PD充电。
第四方面,本申请实施例提供了一种充电方法,应用于第一方面提供的所述充电器,所述方法包括:
在所述充电器与数据线连接,所述充电器接入电源,且所述数据线连接待充电设备的情况下,数据线匹配单元获取第一匹配信号;
在所述第一匹配信号符合第一预设条件的情况下,驱动第一切换单元将第一通信引脚与PD充电处理单元连通;
在所述第一匹配信号符合第二预设条件的情况下,驱动所述第一切换单元将所述第一通信引脚与非PD充电处理单元连通。
第五方面,本申请实施例提供了一种充电方法,应用于第二方面提供的所述的数据线,所述方法包括:
在所述数据线与充电器连接,所述充电器接入电源,且所述数据线连接待充电设备的情况下,充电器匹配单元获取第二匹配信号;
在所述第二匹配信号符合第三预设条件的情况下,驱动第二切换单元将第二通信引脚与第一CC引脚连通;
在所述第二匹配信号符合第四预设条件的情况下,驱动所述第二切换单元将所述第二通信引脚与第四通信引脚连通。
第六方面,本申请实施例提供了一种充电方法,应用于第三方面提供的所述充电设备,所述方法包括:
在所述数据线与所述充电器连接,且接入电源和待充电设备的情况下,所述充电器的数据线匹配单元接收第一匹配信号,且向所述数据线的充电器匹配单元发送第二匹配信号;
在所述数据线匹配单元确定所述第一匹配信号符合第一预设条件,且所述充电器匹配单元确定所述第二匹配信号符合第三预设条件的情况下,所述充电设备与所述待充电设备进行PD协议通信;
在所述数据线匹配单元确定所述第一匹配信号符合第二预设条件,且所 述充电器匹配单元确定所述第二匹配信号符合第四预设条件的情况下,所述充电设备与所述待充电设备进行非PD协议通信。
第七方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第四方面所述的方法的步骤;或者实现如第五方面所述的方法的步骤;或者实现如第六方面所述的方法的步骤。
第八方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第四方面所述的方法的步骤;或者实现如第五方面所述的方法的步骤;或者实现如第六方面所述的方法的步骤。
第九方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第四方面所述的方法的步骤;或者实现如第五方面所述的方法的步骤;或者实现如第六方面所述的方法的步骤。
本申请实施例提供的充电器,在若数据线匹配单元基于经第一通信引脚传输的匹配信号确定充电器通过第一数据线与第一待充电设备连接的情况下,第一切换单元连通Type-A母座中的第一通信引脚和PD充电处理单元,以利用第一通信引脚进行PD协议通信;在数据线匹配单元基于经第一通信引脚传输的匹配信号确定充电器连接第二数据线或者通过数据线连接第二待充电设备的情况下,第一切换单元连通Type-A母座中的第一通信引脚和非PD充电处理单元,以利用第一通信引脚进行非PD协议通信。这样,在第一通信引脚和PD充电处理单元连通的情况下,能够提供PD快速充电功能,从而使得充电器能够通过Type-A接口支持PD协议充电。
附图说明
图1是本申请实施例提供的一种充电设备的电路图;
图2是本申请实施例提供的一种充电器的电路图;
图3是本申请实施例提供的一种数据线的电路图;
图4是本申请实施例提供的另一种充电设备的电路图;
图5是本申请实施例提供的充电设备的工作流程图之一;
图6是本申请实施例提供的充电设备的工作流程图之二;
图7是本申请实施例提供的第一种充电方法的流程图;
图8是本申请实施例提供的第二种充电方法的流程图;
图9是本申请实施例提供的第三种充电方法的流程图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的手表进行详细地说明。
请同时参阅图1、图2和图3,其中,图1是本申请实施例提供的充电设备的电路图;图2是本申请实施例提供的充电器的电路图;图3是本申请实施例提供的数据线的电路图。
其中,充电器1,包括:Type-A母座11、PD充电处理单元12、非PD充电处理单元13、数据线匹配单元14以及第一切换单元15。具体的,Type-A母座11包括第一通信引脚111,第一通信引脚111与第一切换单元15的第一端连接,第一切换单元15的第二端与PD充电处理单元12连接,第一切换单元15的第三端与数据线匹配单元14连接,第一切换单元15的第四端与非PD充电处理单元13连接。
其中,在充电器1通过数据线与待充电设备连接的情况下,若所述数据线为第一数据线且所述待充电设备为第一待充电设备,第一切换单元15的第 一端与第一切换单元15的第二端连通,且第一切换单元15的第一端与第一切换单元15的第三端和第四端均断开;或,
在充电器1通过数据线与待充电设备连接的情况下,若所述数据线为第二数据线或者所述待充电设备为第二待充电设备,第一切换单元15的第一端与第一切换单元15的第四端连通,且第一切换单元15的第一端与第一切换单元15的第二端和第三端均断开;
其中,数据线匹配单元14基于经第一通信引脚111传输的匹配信号确定充电器1与所述数据线匹配时,所述数据线为第一数据线,且数据线匹配单元14基于经第一通信引脚111传输的匹配信号确定所述待充电设备与充电器1之间进行PD协议通信时,所述待充电设备为第一待充电设备;数据线匹配单元14基于经第一通信引脚111传输的匹配信号确定充电器1与所述数据线不匹配时,所述数据线为第二数据线,且数据线匹配单元14基于经第一通信引脚111传输的匹配信号确定所述待充电设备与所述充电器1之间进行非PD协议通信时,所述待充电设备为第二待充电设备。
在具体实施中,上述第一数据线为与充电器1匹配的数据线,其具体可以是如图1和图4中所示数据线2。
需要说明的是,在同一时间,第一切换单元15的第一端仅与其第二端、第三端和第四端中的一个连接。另外,在初始状态下(即充电器1未连接电源或者未连接数据线的情况下),第一切换单元15的第一端与第三端连通,即连通数据线匹配单元14和第一通信引脚111,以使数据线匹配单元14根据第一通信引脚111上传输的信号确定充电器1是否通过第一数据线与第一待充电设备连接。具体的,在第一切换单元15经第一通信引脚111获取到的第一匹配信号符合第一预设条件的情况下,第一切换单元15的第一端与第一切换单元15的第二端连通;在第一切换单元15经第一通信引脚111获取到的第一匹配信号符合第二预设条件的情况下,第一切换单元15的第一端与第一切换单元15的第四端连通,所述第一匹配信号从待充电设备或者与充电器1匹配的数据线2获取。
在应用中,该数据线匹配单元14用于识别与充电器1连接的数据线是否为与充电器1匹配的第一数据线,在匹配成功的情况下,则可以将第一通信 引脚111连接至非PD充电处理单元13或者PD充电处理单元12,并根据该非PD充电处理单元13或者PD充电处理单元12上接收的通信信息确定待充电设备选择PD通信通道或者非PD通信通道,从而连通待充电设备支持的的该通信通道。
另外,上述非PD充电处理单元13可以是任意非PD通信协议的充电处理单元,例如:数据负信号(DataMinus,DM)充电通信和数据正信号(Data Positive,DP)充电通信的充电处理单元,此时上述第一通信引脚可以是D+引脚或者D-引脚。当然,在具体实施中,上述非PD充电处理单元13还可以是现有的其他非PD通信协议的充电处理单元或者今后可能出现的非PD通信协议的充电处理单元,在此不作具体限定。
另外,在具体实施中,上述第一预设条件可以包括:
第一通信引脚111获取到第一匹配信号或者所述第一匹配信号与所述数据线匹配单元14中预存的第一预设匹配信号匹配成功;
所述充电器1连接的待充电设备与所述充电器1之间进行PD协议通信。
其中,在第一匹配信号由数据线发送的情况下,上述第一通信引脚111获取到第一匹配信号或者所述第一匹配信号与所述数据线匹配单元14中预存的匹配信号匹配成功,可以表示:该数据线为与充电器1匹配的第一数据线。
在第一匹配信号由待充电设备发送的情况下,上述第一通信引脚111获取到第一匹配信号或者所述第一匹配信号与所述数据线匹配单元14中预存的匹配信号匹配成功,可以表示:该待充电设备为与充电器1匹配的第一待充电设备。
另外,上述所述充电器1连接的待充电设备与所述充电器1之间进行PD协议通信,可以表示:待充电设备为支持PD快速充电功能的设备,且选择PD协议通信进行PD快速充电。
在具体实施中,上述第二预设条件包括以下至少一项:
在充电器1连接电源和数据线后的预设时间内,第一通信引脚111未获取到所述第一匹配信号;
第一通信引脚111获取到的匹配信号与数据线匹配单元14中预存的第一预设匹配信号不匹配,或者与数据线匹配单元14中预存的第二预设匹配信号 匹配;
充电器1连接的待充电设备不支持PD协议通信;
充电器连接1的待充电设备与充电器1之间进行非PD协议通信。
其中,上述预设时间可以是3秒、5秒等,用于增加接收第一匹配信号的时延,能够弥补待充电设备或者数据线在信号传输、进行识别和配置等过程中增加第一通信引脚111接收到第一匹配信号的时间。
另外,在第一匹配信号由数据线发送的情况下,上述在充电器1连接电源和数据线后的预设时间内,第一通信引脚111未获取到所述第一匹配信号,可以表示:该数据线为常规的第二数据线,从而不对充电器1发送第一匹配信号;上述第一通信引脚111获取到的匹配信号与数据线匹配单元14中预存的第一预设匹配信号不匹配,或者与数据线匹配单元14中预存的第二预设匹配信号匹配,可以表示:该数据线为与充电器1不匹配的第二数据线。
在第一匹配信号由待充电设备发送的情况下,上述在充电器1连接电源和数据线后的预设时间内,第一通信引脚111未获取到所述第一匹配信号,可以表示:该待充电设备为不支持非PD快速充电的第二待充电设备,此时充电设备可以对该第二待充电设备进行常规充电,该常规充电的过程与现有技术中的常规充电过程相同,在此不再赘述;另外,上述第一通信引脚111获取到的匹配信号与数据线匹配单元14中预存的第一预设匹配信号不匹配,或者与数据线匹配单元14中预存的第二预设匹配信号匹配,可以表示:该待充电设备为支持非PD快速充电,且选择非PD快速充电功能进行充电的第二待充电设备,其中,第一预设匹配信号可以是第二待充电设备选择非PD快速充电功能时的PD充电信号,第二预设匹配信号可以是待充电设备选择非PD快速充电功能时的非PD充电信号。
需要说明的是,若上述第一通信引脚可以是D+引脚和D-引脚中的一个,在充电器1上连接的数据线为与其不匹配的第二数据线的情况下,第一切换单元15的第一端与第一切换单元15的第四端连通,且D+引脚和D-引脚中的另一个与非PD充电处理单元13连接。
在具体实施中,上述第一匹配信号和第二匹配信号可以是数字信号,例如:在充电器1连接电源,且通过第一数据线连接待充电设备的情况下,数 据线匹配单元14生成第二匹配信号,并通过与其连接的第一通信引脚111以及第一数据线上的第三通信引脚211等将该第二匹配信号传递至第一数据线上的充电器匹配单元24或者通过第一数据线传递至待充电设备,充电器匹配单元24或者待充电设备响应于该第二匹配信号,生成第一匹配信号,并将该第一匹配信号通过第一通信引脚111传递至数据线匹配单元14,则数据线匹配单元14在获取到该第一匹配信号时确定充电器1上连接的数据线为与其匹配的第一数据线或者确定上述第一待充电设备选择PD快速充电功能,从而将第一切换单元15的第一端与第一切换单元15的第二端连通。
另外,上述第一匹配信号和第二匹配信号还可以是模拟信号,且第一切换单元15可以根据该模拟信号进行切换。
在具体实施中,PD充电处理单元12包括CC逻辑控制器和PD控制器,且CC逻辑控制器和PD控制器连接,该PD充电处理单元12与第一通信引脚111连通时,CC逻辑控制器能够通过第一通信引脚111进行CC协议通信,PD控制器根据CC逻辑控制器接收的CC协议通信信息执行PD快速充电功能,以提升对待充电设备的充电效率。
在具体实施中,还可以在如图4所示第一数据线在检测到接入电源的情况下,第一数据线中的充电器匹配单元24先向充电器1发送第一匹配信号,且充电器1中的数据线匹配单元14响应于该第一匹配信号向充电器匹配单元24反馈第二匹配信号,在此不作具体限定。
需要说明的是,在具体实施中,充电器1还包括充电模块,Type-A母座11中还设置有电源总线(VBUS)引脚以及接地(GND)引脚,例如:该Type-A母座11设置有GND引脚、D+引脚、D-引脚以及VBUS引脚,上述第一通信引脚可以是D+引脚和D-引脚中的任一个。且,该充电模块、VBUS引脚以及GND引脚的结构和工作原理与现有技术中的充电模块、VBUS引脚以及GND引脚的结构和工作原理相同,在此不再具体阐述。
本申请实施例提供的充电器,在若数据线匹配单元基于经第一通信引脚传输的匹配信号确定充电器通过第一数据线与第一待充电设备连接的情况下,第一切换单元连通Type-A母座中的第一通信引脚和PD充电处理单元,以利用第一通信引脚进行PD协议通信;在数据线匹配单元基于经第一通信引脚 传输的匹配信号确定充电器连接第二数据线或者通过数据线连接第二待充电设备的情况下,第一切换单元连通Type-A母座中的第一通信引脚和非PD充电处理单元,以利用第一通信引脚进行非PD协议通信。这样,在第一通信引脚和PD充电处理单元连通的情况下,能够提供PD快速充电功能,从而使得充电器能够通过Type-A接口支持PD协议充电。
作为一种可选的实施方式,如图4所示,充电器1的第一处理模块12中还可以设置检测单元16,该检测单元16与充电器1内的电源走线连接,以根据所述电源走线上的电信号值确定充电器1是否连接待充电设备;
其中,在充电器1连接待充电设备,且所述待充电设备与充电器1之间进行PD协议通信的情况下,所述第一匹配信号符合所述第一预设条件;在充电器1连接待充电设备,且所述待充电设备与充电器1之间进行非PD协议通信的情况下,所述第一匹配信号符合所述第二预设条件。
具体的,上述该检测单元16与充电器1内的电源走线连接可以是,检测单元16与Type-A母座11中的VBUS引脚连接,当充电器1连接待充电设备,并接通电源时,电源走线上的电信号将发生改变,例如:电流增大。从而该检测单元16在检测到电流大于预设电流值的情况下,确定充电器1接入电源和待充电设备,从而能够实现在充电器1接入电源和待充电设备时,使第一处理模块12开始检测第一通信引脚111上是否接收到第一匹配信号,并在开始检测后的预设时间内未获取到第一匹配信号的情况下,停止检测,且第一切换单元15连通第一通信引脚和非PD充电处理单元13。
另外,如图4所示,充电器1中还可以设置第一控制单元17,该第一控制单元17与PD充电处理单元12、非PD充电处理单元13、数据线匹配单元14、第一切换单元15以及检测单元16分别连接,以在检测单元16检测到充电器1接入电源和待充电设备时,驱使数据线匹配单元14开始检测第一通信引脚上是否接收第一匹配信号,并在预设时间内接收到该第一匹配信号的情况下,驱使数据线匹配单元14对该第一匹配信号进行匹配,并在匹配到第一匹配信号符合第一预设条件的情况下,驱使第一切换单元15连通第一通信引脚和PD充电处理单元12,同时驱使PD充电处理单元12对待充电设备进行PD快速充电;或者在匹配到第一匹配信号符合第二预设条件的情况下,驱使 第一切换单元15连通第一通信引脚和非PD充电处理单元12,同时驱使非PD充电处理单元12对待充电设备进行非PD充电。
本实施方式中,通过检测单元16对电源走线上的电信号的检测,实现确定充电器1是否连接电源以及是否通过数据线与待充电设备连接。
作为一种可选的实施方式,如图4所示,第一切换单元15包括第一开关151和第二开关152;
第一开关151的第一端与第一通信引脚111连接,第一开关151的第二端与数据线匹配单元14连接,第一开关151的第三端与非PD充电处理单元13连接;
第二开关152的第一端与第一通信引脚111连接,第二开关152的第二端与PD充电处理单元12连接;
其中,在充电器1通过数据线与待充电设备连接的情况下,若所述数据线为第一数据线且所述待充电设备为第一待充电设备,第一开关151的第一端与第一开关151的第二端和第三端断开,且第二开关152闭合;若所述数据线为第二数据线或者所述待充电设备为第二待充电设备,第一开关151的第一端与第一开关151的第三端连通,第一开关151的第一端与第一开关151的第二端断开,且第一开关14断开。
在具体实施中,上述第一开关151和第二开关152可以是由模拟信号控制的开关,例如:三极管或者MOS管等,在第一通信引脚111上的电信号值发生改变时,第一开关151和第二开关152根据第一通信引脚111上的电信号值连通或者断开。另外,第一开关151和第二开关152可以是由数字信号控制的开关,例如:如图4中所示,第一充电处理模块12还包括第一控制单元17,该第一控制单元17与第一开关151和第二开关152直接或者间接连接,以使第一开关151和第二开关152根据第一控制单元17发送的控制信号而连通或者断开。
本实施方式中,将第一切换单元15设置为两个开关,能够简化第一切换单元15的结构和控制过程。
作为一种可选的实施方式,如图4所示,非PD充电处理单元13为D+/D-通信协议的充电处理单元,Type-A母座11还包括第二通信引脚112,第 二通信引脚112与非PD充电处理单元13连接,第一通信引脚111为第一D+引脚和第一D-引脚中的一个,第二通信引脚112为所述第一D+引脚和所述第一D-引脚中的另一个。
本实施方式中,非PD充电处理单元13能够通过D+引脚和D-引脚实现非PD充电协议中的通信过程。
需要说明的是,上述D+引脚和D-引脚进行DM和DP充电通信的具体原理与过程与现有技术中的DM和DP充电通信的具体原理与过程相同,在此不再具体阐述。
另外,在第一切换单元15连通或者不连通第一通信引脚111和PD充电处理单元12的情况下,第二通信引脚112始终与非PD充电处理单元13连接。
本实施方式中,在第一通信引脚111和PD充电处理单元12不连通的情况下,第一切换单元15能够将第一通信引脚111与DM/DP充电处理单元连接,从而能够提供DM/DP充电功能;在第一通信引脚111和PD充电处理单元12连通的情况下,DM/DP充电通道不连通,在实施中,能够根据待充电设备的选择确定连通PD充电通道或者DM/DP充电通道中的任一个。
作为一种可选的实施方式,数据线匹配单元14可以是第一ID识别子单元。
另外,在充电头1还包括第一控制单元17的情况下,第一控制单元17与数据线匹配单元14和第一切换单元15分别连接;
其中,第一控制单元17用于在数据线匹配单元14通过第一通信引脚111获取到第一匹配信号或者在数据线匹配单元14在预设时间内未通过第一通信引脚111获取到第一匹配信号时,驱使第一切换单元15的第一端与第一切换单元15的第四端连通,且第一切换单元15的第一端与第一切换单元15的第二端和第三端均断开,所述第一匹配信号由与所述充电器连接且未连接待充电设备的第一数据线生成;
第一控制单元17还用于在数据线匹配单元14通过第一通信引脚111获取到第一PD充电信号时,驱使第一切换单元15的第一端与第一切换单元15的第二端连通,且第一切换单元15的第一端与第一切换单元15的第三端和 第四端均断开,所述第一PD充电信号由通过第一数据线与充电器1连接的所述第一待充电设备生成。
在具体实施中,在数据线匹配单元14识别到经第一通信引脚111传输的所述第一匹配信号和第一PD充电信号符合所述第一预设条件的情况下,向第一控制单元17发送第一控制信号;
第一控制单元17用于响应于所述第一控制信号,控制第一切换单元15的第一端与第一切换单元15的第二端连通,且第一切换单元15的第一端与第一切换单元15的第三端和第四端均断开。
或者,
在数据线匹配单元14识别到经第一通信引脚111传输的所述第一匹配信号或者第一PD充电信号符合第二预设条件的情况下,向第一控制单元17发送第二控制信号;
第一控制单元17用于响应于所述第二控制信号,控制第一切换单元15的第一端与第一切换单元15的第四端连通,且第一切换单元15的第一端与第一切换单元15的第二端和第三端均断开。
在具体实施中,上述第一控制单元17可以是任意逻辑控制单元,例如:微控制单元(Microcontroller Unit,MCU)等,另外,如图4所示,该逻辑控制单元15还可以与PD充电处理单元12、非PD充电处理单元13连接,以控制PD充电处理单元12进行PD充电逻辑处理,或者控制非PD充电处理单元13进行非PD充电逻辑处理。
另外,上述ID识别单元用于对于充电器1连接的数据线进行身份识别,具体可以通过在第一通信引脚111上获取到的数字信号或者模拟信号进行身份识别,以确定该数据线是否为与充电器1匹配的数据线,其中,在该数据线与充电器1匹配的情况下,确定所述第一匹配信号符合第一预设条件,在该数据线与充电器1不匹配的情况下,确定所述第一匹配信号符合第二预设条件。
另外,在对充电器1和数据线进行匹配之后,还可以接收待充电设备的充电信号,该充电信号中可以携带待充电设备选择的充电协议,例如:在待充电设备选择PD充电协议,且充电器1与第一数据线连接的情况下,连通 PD充电通道,即连通第一通信引脚和PD充电处理单元;在待充电设备选择非PD充电协议的情况下,连通非PD充电通道,即连通第一通信引脚和非PD充电处理单元。
本实施方式中,通过ID识别单元对充电器1连接的数据线进行身份识别,以确定该数据线是否为与充电器1匹配的数据线,并将匹配结果传递至第一控制单元17,以为第一控制单元17的控制逻辑提供依据,从而实现第一控制单元17在充电器1与第一数据线2连接的情况下,控制第一切换单元15的第一端与第一切换单元15的第四端连通,以通过非PD充电处理单元接收待充电设备的充电信号,以便后续根据该充电信号调节第一切换单元15的连接状态。
如图5所示,下面对包括如图4所示实施例中的充电器1的充电设备的具体工作流程进行举例说明,该充电设备具体可执行以下步骤:
步骤501、判断充电器是否接入电源。
其中,在本步骤的判断结果为“是”的情况下执行步骤502,否则可持续并重复执行本步骤。
步骤502、判断充电器是否接入数据线。
其中,在本步骤的判断结果为“是”的情况下执行步骤503或者步骤504,否则可以持续并重复执行本步骤。
具体的,在充电器接入的数据线与该充电器匹配的情况下,执行步骤503,在充电器接入的数据线与该充电器不匹配的情况下,执行步骤504。
步骤503、在接收到数据线中充电器匹配单元发送的第一匹配信号的情况下,向充电器匹配单元反馈第二匹配信号。
其中,在第二匹配信号反馈成功的情况下执行步骤505。
步骤505、控制第一切换单元连通其第一端和第四端,第二切换单元连通其第一端和第三端。
需要说明的是,在充电设备未连接电源情况下第一切换单元连通其第一端和第三端,且第二切换单元连通其第一端和第二端。
另外,本步骤中,在第二切换单元还包括第五端和第六端的情况下,第二切换单元还连通其第五端和第六端。
此时,充电器中的非PD协议充电通道连通,PD协议充电通道不连通。
步骤506、判断是否接入待充电设备。
其中,在本步骤的判断结果为“是”的情况下执行步骤507,否则可以持续并重复执行本步骤。
步骤507、判断待充电设备是否为标配设备。
在具体实施中,上述标配设备支持标配快充协议(非PD充电协议)的充电方式。
其中,在本步骤的判断结果为“是”的情况下执行步骤508,否则执行步骤509。
步骤508、执行非PD快速充电。
步骤509、控制第一切换单元连通其第一端和第二端,第二切换单元连通其第一端和第四端。
另外,本步骤中,在第二切换单元还包括第五端和第六端的情况下,第二切换单元还将其第五端和第六端断开。
步骤510、执行PD通信。
步骤511、判断PD通信是否成功。
其中,在本步骤的判断结果为“是”的情况下执行步骤512,否则执行步骤513。
步骤512、执行PD快速充电。
步骤513、控制第一切换单元连通其第一端和第四端,第二切换单元连通其第一端和第三端。
另外,本步骤中,在第二切换单元还包括第五端和第六端的情况下,第二切换单元还连通其第五端和第六端。
在本步骤之后,可以接收待充电设备基于DP/DM通信协议的通信信息,并根据该通信信息确定具体的充电方案。
步骤504、判断是否接入待充电设备。
其中,在本步骤的判断结果为“是”的情况下执行步骤514,否则可以持续并重复执行本步骤。
步骤514、未接收到第一匹配信号。
步骤515、控制第一切换单元连通其第一端和第四端,第二切换单元连通其第一端和第三端。
需要说明的是,在充电设备未连接电源情况下第一切换单元连通其第一端和第三端,且第二切换单元连通其第一端和第二端。
另外,本步骤中,在第二切换单元还包括第五端和第六端的情况下,第二切换单元还连通其第五端和第六端。
步骤516、接收待充电设备基于DP/DM通信协议的通信信息,并根据该通信信息确定具体的充电方案。
请参阅图1和图3,本申请实施例还提供一种数据线,如图3所示,该数据线2包括:Type-A公头21、Type-C接口22、连接于所述Type-A公头21与所述Type-C接口22之间的线缆23,所述线缆23上设置有充电器匹配单元24和第二切换单元25。
具体的,Type-A公头21包括第三通信引脚211,线缆23包括第一通信走线231,第一通信走线231的第一端连接第三通信引脚211,Type-C接口22包括第一CC引脚221和第四通信引脚222;第二切换单元25的第一端与第一通信走线231的第二端连接,第二切换单元25的第二端与充电器匹配单元24连接,第二切换单元25的第三端与第四通信引脚222连接,第二切换单元25的第四端与第一CC引脚221连接。
其中,在数据线2与充电器和待充电设备分别连接的情况下,若所述充电器为第一充电器且所述待充电设备为第一待充电设备,第二切换单元25的第一端与第二切换单元25的第四端连通,且第二切换单元25的第一端与第二切换单元25的第二端和第三端均断开;或,
在数据线2与充电器和待充电设备分别连接的情况下,若所述充电器为第二充电器或者所述待充电设备为第二待充电设备,第二切换单元25的第一端与第二切换单元25的第三端连通,且第二切换单元25的第一端与第二切换单元25的第二端和第四端均断开;
其中,充电器匹配单元24基于经第三通信引脚211传输的匹配信号确定所述充电器与数据线2匹配时,所述充电器为第一充电器,且充电器匹配单元24基于经第三通信引脚211传输的充电信号确定所述待充电设备与第一充 电器之间进行PD协议通信时,所述待充电设备为第一待充电设备;充电器匹配单元24基于经第三通信引脚211传输的匹配信号确定所述充电器与数据线2不匹配时,所述充电器为第二充电器,且充电器匹配单元24基于经第三通信引脚传211输的充电信号确定所述待充电设备与所述充电器之间进行非PD协议通信时,所述待充电设备为第二待充电设备。
在具体实施中,上述第一充电器为与数据线2匹配的充电器,其具体可以是如图1和图4中所示充电器1。
需要说明的是,在同一时间,第二切换单元25的第一端仅与其第二端、第三端和第四端中的一个连接。另外,在初始状态下(例如:数据线2未连接充电器的情况;数据线2连接的充电器未连接电源的情况;数据线2与不匹配的充电器连接的情况下等),第二切换单元25的第一端与第二端连通,即连通充电器匹配单元24和第三通信引脚211,以使充电器匹配单元24根据第三通信引脚211上传输的信号确定数据线2是否与第一充电器和第一待充电设备连接。具体的,在充电器匹配单元24经第三通信引脚211获取到的第二匹配信号符合第三预设条件的情况下,第二切换单元25的第一端与第二切换单元25的第四端连通;在充电器匹配单元24经第三通信引脚211获取到的第二匹配信号符合第四预设条件的情况下,第二切换单元25的第一端与第二切换单元25的第三端连通,所述第二匹配信号从与数据线2连接的待充电设备或者与数据线2连接的第一充电器1获取。
其中,上述第三预设条件与上一充电器实施例中的第一预设条件对应,上述第四预设条件与上一充电器实施例中的第二预设条件对应,在此不再赘述。
本申请实施例中的数据线2在与如图1、图2或图4中所示充电器1连接的情况下,能够将第一通信走线在CC通信走线和D+/D-通信走线中进行切换,以对支持PD快速充电功能的待充电设备进行PD快速充电,对不支持PD快速充电功能的待充电设备进行非PD协议充电;另外,数据线2在与其他不匹配的充电器连接的情况下,仅提供非PD协议充电通道,以对待充电设备进行非PD协议充电。
作为一种可选的实施方式,Type-C接口22还包括第二CC引脚223,线 缆23上还设置有第一电阻233,第一电阻233的第一端与线缆23中的VBUS走线232连接,第二切换单元25还包括第五端和第六端,第二切换单元25的第五端与第一电阻233的第二端连接,第二切换单元25的第六端与第二CC引脚223连接;
其中,在数据线2与第一充电器和所述第一待充电设备分别连接的情况下,第二切换单元25的第五端与第二切换单元25的第六端断开连接;在数据线2与所述第二充电器或者与所述第二待充电设备连接的情况下,第二切换单元25的第五端与第二切换单元25的第六端连通。
另外,可以在默认情况下(例如:数据线2未连接充电器的情况;数据线2连接的充电器未连接电源的情况;数据线2与不匹配的充电器连接的情况下等),使第二切换单元25的第一端与第二切换单元25的第三端连通,并使第二切换单元25的第五端与第二切换单元25的第六端连接。此时,第一电阻233作为上拉电阻,将第二CC引脚223上拉至与VBUS走线232连接,这样,在数据线2连接电源的情况下,能够利用第二CC引脚223将VBUS走线232连接至待充电设备上的CC引脚,以支持非PD充电功能,需要说明的是,在上述第二CC引脚223通过上拉电阻连接至VBUS走线232的情况下,该Type-C接口与常规技术中的Type-C接口具有相同的结构和工作原理,在此不再赘述。
本实施方式中,在数据线2与第一充电器和所述第一待充电设备分别连接的情况下,第二切换单元25的第五端与第二切换单元25的第六端断开连接,以断开连接第二CC引脚223与VBUS走线232之间的连接关系,而是将第一CC引脚221与第一通信走线231连通,以利用第一CC引脚221和第一通信走线231进行CC协议通信,以支持PD快速充电功能。
作为一种可选的实施方式,第二切换单元25包括第三开关251和第四开关252;
第三开关251的第一端与所述第一通信走线231的第二端连接,第三开关251的第二端与充电器匹配单元242连接,第三开关251的第三端与第四通信引脚222连接,第三开关251的第四端与第一CC引脚221连接;
第四开关252的第一端与第一电阻233的第二端连接,第四开关252的 第二端与第二CC引脚223连接;
其中,在数据线2与第一充电器和所述第一待充电设备分别连接的情况下,第三开关251的第一端与所述第三开关251的第四端连通,且第四开关252的第一端与第四开关252的第二端断开连接;在数据线2与所述第二充电器或者与所述第二待充电设备连接的情况下,第三开关251的第一端与第三开关251的第三端连通,且第四开关252的第一端与第四开关252的第二端连接。
本实施方式中,第三开关251可以是模拟信号控制的开关,例如:金属氧化物半导体(Metal-Oxide Semiconductor,MOS管);当然,其也可以是数字信号控制的开关,例如:单刀三掷开关等,相应的第四开关252也可以是模拟信号控制的开关或者是数字信号控制的开关。另外,如图4所示,在第三开关251和第四开关252是数字信号控制的开关的情况下,第二处理模块24中还可以设置第二控制单元26,以通过第二控制单元26发送相应的数字控制信号,以控制第三开关251和第四开关252调节开关状态,其工作原理与第一控制单元17控制第一开关151和第二开关152的工作原理相同,在此不再赘述。
本实施方式中,将第二切换单元25设置为第三开关251和第四开关252,能够简化第二切换单元25的结构和控制原理。
作为一种可选的实施方式,充电器匹配单元24可以是第二ID识别子单元。
另外,线缆23上还设置有第二控制单元26,第二控制单元26与充电器匹配单元24和第二切换单元25分别连接;
其中,第二控制单元26用于在充电器匹配单元24获取到经第三通信引脚211传输的第二匹配信号或者在预设时间内未获取到经第三通信引脚211传输的第二匹配信号时,驱使第二切换单元25的第一端与第二切换单元25的第三端连通,且第二切换单元25的第一端与第二切换单元25的第二端和第四端均断开,所述第二匹配信号由与数据线2连接的第一充电器生成;
第二控制单元26还用于在充电器匹配单元24获取到经第四通信引脚传输的第二PD充电信号时,驱使第二切换单元25的第一端与第二切换单元25 的第四端连通,且第二切换单元25的第一端与第二切换单元25的第二端和第三端均断开,所述第二PD充电信号在数据线2与第一充电器连接时由与数据线2连接的第一待充电设备生成。
在具体实施中,在充电器匹配单元24识别到经第三通信引脚211传输的所述第二匹配信号或者经所述第四通信引脚传输的所述第二PD充电信号符合所述第三预设条件的情况下,向第二控制单元26发送第三控制信号;第二控制单元26用于响应于所述第三控制信号,驱使第二切换单元25的第一端与第二切换单元25的第四端连通,且第二切换单元25的第一端与第二切换单元25的第二端和第三端均断开。
在充电器匹配单元24识别到经第三通信引脚211传输的所述第二匹配信号或者经所述第四通信引脚传输的所述第二PD充电信号符合所述第四预设条件的情况下,向第二控制单元26发送第四控制信号;第二控制单元26用于响应于所述第四控制信号,驱使第二切换单元25的第一端与第二切换单元25的第三端连通,且第二切换单元25的第一端与第二切换单元25的第二端和第四端均断开。
在具体实施中,当数据线2与不匹配的第二充电器连接的情况下,该数据线2上的第三通信引脚211不能够获取到数据信号或者不能够获取到匹配的模拟信号,从而使PD充电协议通道断开,仅能够实现非PD协议的充电。
这样,可以在第二ID识别子单元经第三通信引脚211获取到符合第三预设条件的数据信号或者相应的模拟信号的情况下,确定数据线2与匹配的第一充电器1连接,从而先连通非PD充电协议通道,在实施中,还能够根据待充电设备基于非PD充电协议通道的通信结果,确定对待充电设备进行PD充电或者DM/DP充电,从而连通相应的通信通道。
本实施方式中,上述第二ID识别子单元与第三通信引脚211连通,从而在第三通信引脚211和第一CC引脚221连接的情况下,能够通过该CC通路获取CC握手协议通信信息,并对该第三通信引脚211作出反馈,例如:通过该CC通路向如图4中所示第一ID识别子单元反馈上述第一匹配信息。
在具体实施中,还可以在数据线2在检测到接入电源的情况下,数据线2中的充电器匹配单元24先向充电器1发送第一匹配信号,且充电器1中的 数据线匹配单元14响应于该第一匹配信号向充电器匹配单元24反馈第二匹配信号,在此不作具体限定。
作为一种可选的实施方式,所述Type-A公头21包括第二D+引脚和第二D-引脚,第三通信引脚222为所述第二D+引脚和所述第二D-引脚中的任一个;Type-C接口22包括第三D+引脚和第三D-引脚,第四通信引脚223为所述第三D+引脚和所述第三D-引脚中与第三通信引脚222对应的一个;线缆23还包括D+走线和D-走线,所述第二D+引脚和所述第三D+引脚分别连接于所述D+走线的两端,所述第二D-引脚和所述第三D-引脚分别连接于所述D-走线的两端;
其中,在数据线2插入充电器的情况下,所述第二D+引脚和所述第二D-引脚与所述充电器中的非PD充电处理单元13连通。
本实施方式中,非PD充电处理单元13为D+/D-通信协议的充电处理单元,且通过第二处理模块12对D+走线和D-走线中的一个的功能进行切换,在其与第一CC引脚连接时,其作为CC通信走线;在其与第四通信引脚连接时,其作为DP/DM通信走线,从而避免了在Type-A公头21中增加CC引脚,并避免了在线缆23中增加CC走线,简化了数据线的走线结构,并增加了Type-A公头21的适用性。
需要说明的是,在实际应用中,Type-A公头21的结构和各个引脚的分布位置与如图1、图2以及图4所示Type-A母座11的结构以及各个引脚的分布位置相对应,在此不再赘述,相应的,Type-A公头21中可以包括VBUS引脚、GND引脚、D+引脚和D-引脚,且线缆23中也相应的包括VBUS走线、GND走线、D+走线和D-走线,且Type-C接口22中也相应的包括VBUS引脚、GND引脚、D+引脚和D-引脚,且VBUS走线的两端分别连接Type-A公头21中的VBUS引脚和Type-C接口22中的VBUS引脚,GND走线的两端分别连接Type-A公头21中的GND引脚和Type-C接口22中的GND引脚,D+走线的两端分别连接Type-A公头21中的D+引脚和Type-C接口22中的D+引脚,D-走线的两端分别连接Type-A公头21中的D-引脚和Type-C接口22中的D-引脚。
例如:该Type-A公头21设置有GND引脚、D+引脚、D-引脚以及 VBUS引脚,且上述第一通信引脚和第三通信引脚为D+引脚的情况下,在Type-A公头21插入Type-A母座11的情况下,Type-A公头21中的各个引脚与Type-A母座11中的各个引脚一一对应连接,具体对应连接关系如下表1所示:
表1
Figure PCTCN2021096695-appb-000001
如图6所示,下面对数据线与不匹配的充电器连接时的具体工作流程进行举例说明,该充电设备具体可执行以下步骤:
步骤601、判断与数据线连接的充电器是否接入电源。
其中,在本步骤的判断结果为“是”的情况下执行步骤602,否则可持续并重复执行本步骤。
步骤602、判断充电器是否插入数据线。
其中,在本步骤的判断结果为“是”的情况下执行步骤603或者步骤604,否则可以持续并重复执行本步骤。
具体的,在充电器接入的数据线为如图4所示实施例中的数据线2的情况下,执行步骤603,在充电器接入的数据线为常规数据线的情况下,执行步骤604。
步骤603、数据线中充电器匹配单元发送第一匹配信号至充电器。
其中,若与第一数据线连接的充电器为与第一数据线不匹配的第二充电器,则第二充电器不会向第一数据线反馈第二匹配信号,即所述第三通信引脚上接收第二匹配信号符合第四预设条件,从而执行步骤605。
步骤605、控制第二切换单元连通其第一端和第三端。
需要说明的是,在默认情况下第二切换单元连通其第一端和第二端。
步骤604、所述充电设备连通非PD协议充电通道。
需要说明的是,在步骤604或者步骤605之后,充电器和数据线中的非PD协议充电通道连通,数据线中的PD协议充电通道不连通,待充电设备可以基于非PD通信协议与该充电设备进行通信,并根据通信的内容确定充电方案。
请参阅图1和图4,是本申请实施例提供的充电设备的结构图,该充电设备包括上述实施例提供的充电器1和数据线2,第一通信引脚111与所述第三通信引脚211连接;
在数据线2与充电器1匹配成功且未连接第一待充电设备的情况下,第一切换单元15的第一端与第一切换单元15的第四端连通,且第一切换单元15的第一端与第一切换单元15的第二端和第三端均断开,第二切换单元25的第一端与第二切换单元25的第三端连通,且第二切换单元25的第一端与第二切换单元25的第二端和第四端均断开;
在数据线2与充电器1匹配成功且连接第一待充电设备的情况下,第一切换单元15的第一端与第一切换单元15的第二端连通,且第一切换单元15的第一端与第一切换单元15的第三端和第四端均断开,第二切换单元25的第一端与第二切换单元25的第四端连通,且第二切换单元25的第一端与第二切换单元25的第二端和第三端均断开;
其中,在数据线2连接第一待充电设备的情况下,所述充电设备通过第一CC引脚221对所述待充电设备进行PD充电;或,
在数据线2连接第二待充电设备的情况下,所述充电设备通过第四通信引脚222对所述待充电设备进行非PD充电。
需要说明的是,本实施方式中,上述充电设备的具体工作过程与上述实施例中的充电器1和数据线2的工作过程对应,在此不再赘述。
作为一种可选的实施方式,在充电器1接入电源,且数据线2未连接待充电设备的情况下,充电器1与数据线2进行相互匹配;
在充电器1与数据线2匹配成功时,第一切换单元15用于将第一通信引脚111与非PD充电处理单元13连通,第二切换单元25用于将第三通信引脚211与第四通信引脚222连通。
本实施方式中,在充电器1与数据线2匹配成功后,可以通过第三通信引脚211与第四通信引脚222接收待充电设备的充电信号,并根据该充电信号调节第一切换单元15和第二切换单元25的状态,例如:在该充电信号为PD充电信号的情况下,第一切换单元15将第一通信引脚111与PD充电处理单元12连通,第二切换单元25将第三通信引脚211与第一CC引脚221连通,以对该充电设备进行PD快速充电。
作为一种可选实施方式,在充电器1接入电源的情况下,第一目标单元用于生成第一匹配信号,并传输至第二目标单元;
所述第二目标单元向所述第一目标单元发送第二匹配信号;
其中,所述第一目标单元在接收到所述第二匹配信号的情况下,所述第一目标单元确定所述第一目标单元与所述第二目标单元匹配;所述第二目标单元接收到所述第一匹配信号的情况下,所述第二目标单元确认所述第一目标单元与所述第二目标单元匹配;所述第一目标单元为数据线匹配单元14或充电器匹配单元24中之一单元,所述第二目标单元为数据线匹配单元14或充电器匹配单元24中另一单元。
本实施方式中,通过数据线匹配单元14与充电器匹配单元24之间的匹配信号交互确定充电器1与数据线2是否匹配,简化了充电器1与数据线2的匹配过程。
请参阅图7,是本发明实施例提供的第一种充电方法的流程图,该充电方法应用于包括本申请实施例中提供的充电器1的充电设备,该充电设备具体可以执行以下步骤:
步骤701、在所述充电器与数据线连接,所述充电器接入电源,且所述数据线连接待充电设备的情况下,数据线匹配单元获取第一匹配信号。
步骤702、在所述第一匹配信号符合第一预设条件的情况下,驱动第一切换单元将第一通信引脚与PD充电处理单元连通。
步骤703、在所述第一匹配信号符合第二预设条件的情况下,驱动所述第一切换单元将所述第一通信引脚与非PD充电处理单元连通。
需要说明的是,在具体实施中,仅执行上述步骤702和703中的一个,如图7所示流程图仅作为示例。
在具体实施中,可以在VBUS走线上检测到电源的情况下,确定充电器接入电源且所述目标数据线连接待充电设备。
本申请实施例提供的第一种充电方法能够实现本申请实施例提供的充电器的各个过程,且能够取得相同的有益效果,为避免重复,在此不再赘述。
请参阅图8,是本发明实施例提供的第二种充电方法的流程图,该充电方法应用于包括本申请实施例中提供的数据线2的充电设备,该充电设备具体可以执行以下步骤:
步骤801、在所述数据线与充电器连接,所述充电器接入电源,且所述数据线连接待充电设备的情况下,充电器匹配单元获取第二匹配信号。
步骤802、在所述第二匹配信号符合第三预设条件的情况下,驱动第二切换单元将第三通信引脚与第一CC引脚连通。
步骤803、在所述第二匹配信号符合第四预设条件的情况下,驱动第二切换单元将第三通信引脚与第四通信引脚连通。
需要说明的是,在具体实施中,仅执行上述步骤802和803中的一个,如图8所示流程图仅作为示例。
本申请实施例提供的第二种充电方法能够实现本申请实施例提供的数据线的各个过程,且能够取得相同的有益效果,为避免重复,在此不再赘述。
请参阅图9,是本发明实施例提供的第三种充电方法的流程图,该充电方法应用于本申请实施例中提供的包括充电器1和数据线2的充电设备,该充电设备具体可以执行以下步骤:
步骤901、在所述数据线与所述充电器连接,且接入电源和待充电设备的情况下,所述充电器的数据线匹配单元接收第一匹配信号,且向所述数据线的充电器匹配单元发送第二匹配信号。
步骤902、在所述数据线匹配单元确定所述第一匹配信号符合第一预设条件,且所述充电器匹配单元确定所述第二匹配信号符合第三预设条件的情况下,所述充电设备与所述待充电设备进行PD协议通信。
步骤903、在所述数据线匹配单元确定所述第一匹配信号符合第二预设条件,且所述充电器匹配单元确定所述第二匹配信号符合第四预设条件的情况下,所述充电设备与所述待充电设备进行非PD协议通信。
需要说明的是,在具体实施中,仅执行上述步骤802和步骤803中的一个,如图8所示流程图仅作为示例。
可选的,在所述充电器接入电源之后,且在所述数据线连接待充电设备之前,所述方法还包括:
对所述充电器上连接的数据线与所述充电器进行匹配;
若所述充电器与所述数据线匹配成功,则驱动第一切换单元将第一通信引脚与非PD充电处理单元连通,且驱动第二切换单元将第三通信引脚与第四通信引脚连通;
所述在所述数据线与所述充电器连接,且接入电源和待充电设备的情况下,所述充电器的数据线匹配单元接收第一匹配信号,且向所述数据线的充电器匹配单元发送第二匹配信号,包括:
在所述数据线与所述充电器连接,且接入电源和待充电设备的情况下,所述充电器的数据线匹配单元接收所述待充电设备发送的第一匹配信号,且根据所述第一匹配信号向所述数据线的充电器匹配单元发送第二匹配信号。
其中,上述对所述充电器上连接的数据线与所述充电器进行匹配可以是,检测充电器中的数据线匹配单元是否从第一通信引脚上获取到第一匹配信号,且判断上述第一匹配信号符合第一预设条件或第二预设条件,以及检测数据线中的充电器匹配单元是否从第三通信引脚上获取到第二匹配信号,且判断上述第二匹配信号符合第三预设条件或第四预设条件。上述匹配的过程与本申请实施例中提供的充电器、数据线以及充电设备实施例中的匹配过程相同,在此不再赘述。
可选的,所述在所述数据线匹配单元确定所述第一匹配信号符合第一预设条件,且所述充电器匹配单元确定所述第二匹配信号符合第三预设条件的情况下,所述充电设备与所述待充电设备进行PD协议通信,包括:
在所述第一匹配信号指示所述待充电设备与所述充电设备之间进行PD协议通信的情况下,驱动所述第一切换单元将所述第一通信引脚与PD充电处理单元连通,且驱动所述第二切换单元将所述第三通信引脚与第一CC引脚连通,并对所述待充电设备进行PD通信协议充电;
所述在所述数据线匹配单元确定所述第一匹配信号符合第二预设条件, 且所述充电器匹配单元确定所述第二匹配信号符合第四预设条件的情况下,所述充电设备与所述待充电设备进行非PD协议通信,包括:
在所述第一匹配信号指示所述待充电设备与所述充电设备之间进行非PD协议通信的情况下,通过所述非PD充电处理单元对所述待充电设备进行非PD通信协议充电。
本申请实施例提供的充电设备将数据线中的第一通信引脚作为可切换的通信引脚,以通过该第一通信引脚支持PD充电协议和非PD充电协议中的一个,从而在该充电设备连接电源后,能够根据待充电设备的选择而向待充电设备提供PD快速充电功能或者非PD快速充电功能,具有本申请实施例提供的充电设备相同的有益效果,在此不再赘述。
可选的,本申请实施例还提供一种电子设备,包括处理器,存储器,存储在存储器上并可在所述处理器上运行的程序或指令,该程序或指令被处理器执行时实现上述第一种充电方法、第二种充电方法或者第三种充电方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述第一种充电方法、第二种充电方法或者第三种充电方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述第一种充电方法、第二种充电方法或者第三种充电方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在 涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和电子设备的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (12)

  1. 一种充电器,包括:Type-A母座、电力输送PD充电处理单元、非PD充电处理单元、数据线匹配单元以及第一切换单元;
    所述Type-A母座包括第一通信引脚,所述第一通信引脚与所述第一切换单元的第一端连接,所述第一切换单元的第二端与所述PD充电处理单元连接,所述第一切换单元的第三端与所述数据线匹配单元连接,所述第一切换单元的第四端与所述非PD充电处理单元连接;
    在所述充电器通过数据线与待充电设备连接的情况下,若所述数据线为第一数据线且所述待充电设备为第一待充电设备,所述第一切换单元的第一端与所述第一切换单元的第二端连通,且所述第一切换单元的第一端与所述第一切换单元的第三端和第四端均断开;或,
    在所述充电器通过数据线与待充电设备连接的情况下,若所述数据线为第二数据线或者所述待充电设备为第二待充电设备,所述第一切换单元的第一端与所述第一切换单元的第四端连通,且所述第一切换单元的第一端与所述第一切换单元的第二端和第三端均断开;
    其中,所述数据线匹配单元基于经所述第一通信引脚传输的匹配信号确定所述充电器与所述数据线匹配时,所述数据线为第一数据线,且所述数据线匹配单元基于经所述第一通信引脚传输的充电信号确定所述待充电设备与所述充电器之间进行PD协议通信时,所述待充电设备为第一待充电设备;所述数据线匹配单元基于经所述第一通信引脚传输的匹配信号确定所述充电器与所述数据线不匹配时,所述数据线为第二数据线,且所述数据线匹配单元基于经所述第一通信引脚传输的充电信号确定所述待充电设备与所述充电器之间进行非PD协议通信时,所述待充电设备为第二待充电设备。
  2. 根据权利要求1所述充电器,其中,所述第一切换单元包括第一开关和第二开关;
    所述第一开关的第一端与所述第一通信引脚连接,所述第一开关的第二端与所述数据线匹配单元连接,所述第一开关的第三端与所述非PD充电处理单元连接;
    所述第二开关的第一端与所述第一通信引脚连接,所述第二开关的第二端与所述PD充电处理单元连接;
    其中,在所述充电器通过数据线与待充电设备连接的情况下,若所述数据线为第一数据线且所述待充电设备为第一待充电设备,所述第一开关的第一端分别与所述第一开关的第二端和第三端断开,且所述第二开关闭合;若所述数据线为第二数据线或者所述待充电设备为第二待充电设备,所述第一开关的第一端与所述第一开关的第三端连通,所述第一开关的第一端与所述第一开关的第二端断开,且所述第二开关断开。
  3. 根据权利要求1或2所述充电器,其中,所述非PD充电处理单元为D+/D-通信协议的充电处理单元,所述Type-A母座还包括第二通信引脚,所述第二通信引脚与所述非PD充电处理单元连接,所述第一通信引脚为第一D+引脚和第一D-引脚中的一个,所述第二通信引脚为所述第一D+引脚和所述第一D-引脚中的另一个。
  4. 根据权利要求1或2所述充电器,还包括第一控制单元,所述第一控制单元与所述数据线匹配单元和所述第一切换单元分别连接;
    其中,所述第一控制单元用于在所述数据线匹配单元通过所述第一通信引脚获取到第一匹配信号或者在所述数据线匹配单元在预设时间内未通过所述第一通信引脚获取到第一匹配信号时,驱使所述第一切换单元的第一端与所述第一切换单元的第四端连通,且所述第一切换单元的第一端与所述第一切换单元的第二端和第三端均断开,所述第一匹配信号由与所述充电器连接且未连接待充电设备的所述第一数据线生成;
    所述第一控制单元还用于在所述数据线匹配单元通过所述第一通信引脚获取到第一PD充电信号时,驱使所述第一切换单元的第一端与所述第一切换单元的第二端连通,且所述第一切换单元的第一端与所述第一切换单元的第三端和第四端均断开,所述第一PD充电信号由通过所述第一数据线与所述充电器连接的所述第一待充电设备生成。
  5. 一种数据线,包括:Type-A公头、Type-C接口以及连接于所述Type-A公头与所述Type-C接口之间的线缆,所述线缆上设置有充电器匹配单元和第二切换单元;
    所述Type-A公头包括第三通信引脚,所述线缆包括第一通信走线,所述Type-C接口包括第四通信引脚和第一CC引脚,所述第三通信引脚与所述第一通信走线的第一端连接;
    所述第二切换单元的第一端与所述第一通信走线的第二端连接,所述第二切换单元的第二端与所述充电器匹配单元连接,所述第二切换单元的第三端与所述第四通信引脚连接,所述第二切换单元的第四端与所述第一CC引脚连接;
    在所述数据线与充电器和待充电设备分别连接的情况下,若所述充电器为第一充电器且所述待充电设备为第一待充电设备,所述第二切换单元的第一端与所述第二切换单元的第四端连通,且所述第二切换单元的第一端与所述第二切换单元的第二端和第三端均断开;或,
    在所述数据线与充电器和待充电设备分别连接的情况下,若所述充电器为第二充电器或者所述待充电设备为第二待充电设备,所述第二切换单元的第一端与所述第二切换单元的第三端连通,且所述第二切换单元的第一端与所述第二切换单元的第二端和第四端均断开;
    其中,所述充电器匹配单元基于经所述第三通信引脚传输的匹配信号确定所述充电器与所述数据线匹配时,所述充电器为第一充电器,且所述充电器匹配单元基于经所述第三通信引脚传输的充电信号确定所述待充电设备与所述第一充电器之间进行PD协议通信时,所述待充电设备为第一待充电设备;所述充电器匹配单元基于经所述第三通信引脚传输的匹配信号确定所述充电器与所述数据线不匹配时,所述充电器为第二充电器,且所述充电器匹配单元基于经所述第三通信引脚传输的充电信号确定所述待充电设备与所述充电器之间进行非PD协议通信时,所述待充电设备为第二待充电设备。
  6. 根据权利要求5所述数据线,其中,所述Type-C接口还包括第二CC引脚,所述线缆上还设置有第一电阻,所述第一电阻的第一端与所述线缆中的VBUS走线连接,所述第二切换单元还包括第五端和第六端,所述第二切换单元的第五端与所述第一电阻的第二端连接,所述第二切换单元的第六端与所述第二CC引脚连接;
    其中,在所述数据线与所述第一充电器和所述第一待充电设备分别连接 的情况下,所述第二切换单元的第五端与所述第二切换单元的第六端断开连接;在所述数据线与所述第二充电器或者与所述第二待充电设备连接的情况下,所述第二切换单元的第五端与所述第二切换单元的第六端连通。
  7. 根据权利要求6所述数据线,其中,所述第二切换单元包括第三开关和第四开关;
    所述第三开关的第一端与所述第一通信走线的第二端连接,所述第三开关的第二端与所述充电器匹配单元连接,所述第三开关的第三端与所述第四通信引脚连接,所述第三开关的第四端与所述第一CC引脚连接;
    所述第四开关的第一端与所述第一电阻的第二端连接,所述第四开关的第二端与所述第二CC引脚连接;
    其中,在所述数据线与所述第一充电器和所述第一待充电设备分别连接的情况下,所述第三开关的第一端与所述第三开关的第四端连通,且所述第四开关的第一端与所述第四开关的第二端断开连接;在所述数据线与所述第二充电器或者与所述第二待充电设备连接的情况下,所述第三开关的第一端与所述第三开关的第三端连通,且所述第四开关的第一端与所述第四开关的第二端连接。
  8. 根据权利要求5所述数据线,其中,所述线缆上还设置有第二控制单元,所述第二控制单元与所述充电器匹配单元和所述第二切换单元分别连接;
    其中,所述第二控制单元用于在所述充电器匹配单元获取到经所述第三通信引脚传输的第二匹配信号或者在预设时间内未获取到经所述第三通信引脚传输的第二匹配信号时,驱使所述第二切换单元的第一端与所述第二切换单元的第三端连通,且所述第二切换单元的第一端与所述第二切换单元的第二端和第四端均断开,所述第二匹配信号由与所述数据线连接的第一充电器生成;
    所述第二控制单元还用于在所述充电器匹配单元获取到经所述第四通信引脚传输的第二PD充电信号时,驱使所述第二切换单元的第一端与所述第二切换单元的第四端连通,且所述第二切换单元的第一端与所述第二切换单元的第二端和第三端均断开,所述第二PD充电信号在所述数据线与第一充电器连接时由与所述数据线连接的第一待充电设备生成。
  9. 根据权利要5-8中任一项所述数据线,其中,所述Type-A公头包括第二D+引脚和第二D-引脚,所述第三通信引脚为所述第二D+引脚和所述第二D-引脚中的任一个;所述Type-C接口包括第三D+引脚和第三D-引脚,所述第四通信引脚为所述第三D+引脚和所述第三D-引脚中与所述第三通信引脚对应的一个,所述第一通信走线为D+走线和D-走线中的任一个;
    所述第二D+引脚和所述第三D+引脚分别连接于所述D+走线的两端,所述第二D-引脚和所述第三D-引脚分别连接于所述D-走线的两端;
    其中,在所述数据线插入充电器的情况下,所述第二D+引脚和所述第二D+引脚与所述充电器中的第一D+引脚和第一D-引脚对应连接。
  10. 一种充电设备,包括充电器和与所述充电器连接的数据线,其中,所述充电器为如权利要求1-4中任一项所述充电器,所述数据线为如权利要求5-9中任一项所述数据线,所述第一通信引脚与所述第三通信引脚连接;
    在所述数据线与所述充电器匹配成功且未连接第一待充电设备的情况下,所述第一切换单元的第一端与所述第一切换单元的第四端连通,且所述第一切换单元的第一端与所述第一切换单元的第二端和第三端均断开,所述第二切换单元的第一端与所述第二切换单元的第三端连通,且所述第二切换单元的第一端与所述第二切换单元的第二端和第四端均断开;
    在所述数据线与所述充电器匹配成功且连接第一待充电设备的情况下,所述第一切换单元的第一端与所述第一切换单元的第二端连通,且所述第一切换单元的第一端与所述第一切换单元的第三端和第四端均断开,所述第二切换单元的第一端与所述第二切换单元的第四端连通,且所述第二切换单元的第一端与所述第二切换单元的第二端和第三端均断开;
    其中,在所述数据线连接第一待充电设备的情况下,所述充电设备通过所述第一CC引脚对所述待充电设备进行PD充电;或,
    在所述数据线连接第二待充电设备的情况下,所述充电设备通过所述第四通信引脚对所述待充电设备进行非PD充电。
  11. 根据权利要求10所述充电设备,其中,在所述充电器接入电源,且所述数据线未连接待充电设备时,所述充电器与所述数据线进行相互匹配;
    在所述充电器与所述数据线匹配成功时,所述第一切换单元用于将第一通信引脚与非PD充电处理单元连通,所述第二切换单元用于将第三通信引脚与第四通信引脚连通。
  12. 根据权利要求11所述充电设备,其中,在所述充电器接入电源的情况下,第一目标单元用于生成第一匹配信号,并传输至第二目标单元;
    所述第二目标单元向所述第一目标单元发送第二匹配信号;
    其中,所述第一目标单元在接收到所述第二匹配信号的情况下,所述第一目标单元确定所述第一目标单元与所述第二目标单元匹配;所述第二目标单元接收到所述第一匹配信号的情况下,所述第二目标单元确认所述第一目标单元与所述第二目标单元匹配;所述第一目标单元为所述数据线匹配单元或所述充电器匹配单元中之一单元,所述第二目标单元为所述数据线匹配单元或所述充电器匹配单元中另一单元。
PCT/CN2021/096695 2020-05-29 2021-05-28 充电器、数据线和充电设备 Ceased WO2021239100A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP21812550.8A EP4160857A4 (en) 2020-05-29 2021-05-28 CHARGER, DATA LINE AND CHARGING DEVICE
KR1020227046066A KR102936915B1 (ko) 2020-05-29 2021-05-28 충전기, 데이터 라인 및 충전 장비
US18/071,045 US20230085923A1 (en) 2020-05-29 2022-11-29 Charger, data cable and charging device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010479634.5A CN111509816B (zh) 2020-05-29 2020-05-29 充电器、数据线和充电设备
CN202010479634.5 2020-05-29

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/071,045 Continuation US20230085923A1 (en) 2020-05-29 2022-11-29 Charger, data cable and charging device

Publications (1)

Publication Number Publication Date
WO2021239100A1 true WO2021239100A1 (zh) 2021-12-02

Family

ID=71873609

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/096695 Ceased WO2021239100A1 (zh) 2020-05-29 2021-05-28 充电器、数据线和充电设备

Country Status (5)

Country Link
US (1) US20230085923A1 (zh)
EP (1) EP4160857A4 (zh)
KR (1) KR102936915B1 (zh)
CN (1) CN111509816B (zh)
WO (1) WO2021239100A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111509816B (zh) * 2020-05-29 2022-02-22 维沃移动通信有限公司 充电器、数据线和充电设备
CN111817385B (zh) * 2020-07-14 2022-04-15 维沃移动通信有限公司 充电器、数据线和充电设备
CN121217167A (zh) * 2021-04-08 2025-12-26 Oppo广东移动通信有限公司 充电线缆、电源提供装置、终端设备及通信系统
CN114243407B (zh) * 2021-12-20 2024-02-27 深圳市爱普丰电子有限公司 一种可适配多种手机的快充数据线

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106415979A (zh) * 2014-05-28 2017-02-15 诺基亚技术有限公司 通过usb标准a连接器的基带pd通信
CN107181145A (zh) * 2017-05-31 2017-09-19 珠海市魅族科技有限公司 一种数据传输线以及usb数据线接口
CN107706685A (zh) * 2017-11-24 2018-02-16 深圳市乐得瑞科技有限公司 一种连接器
CN108233130A (zh) * 2017-08-01 2018-06-29 珠海市魅族科技有限公司 Usb线缆、usb接口以及适配器
CN207612082U (zh) * 2017-11-02 2018-07-13 芯海科技(深圳)股份有限公司 一种基于type-c接口实现多种快充协议电路
CN111509816A (zh) * 2020-05-29 2020-08-07 维沃移动通信有限公司 充电器、数据线和充电设备

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160283423A1 (en) * 2015-03-25 2016-09-29 Intel Corporation System and method to enable closed chassis debug control interface using a universal serial bus (usb) type-c connector
TWI554000B (zh) * 2015-06-25 2016-10-11 緯創資通股份有限公司 行動充放電裝置
CN107834628B (zh) * 2017-11-02 2024-04-12 芯海科技(深圳)股份有限公司 一种基于type-c接口实现多种快充协议电路及方法
JP2019213325A (ja) * 2018-06-04 2019-12-12 ルネサスエレクトロニクス株式会社 コントローラ、制御方法、制御プログラム
CN109327055A (zh) * 2018-08-22 2019-02-12 北京小米移动软件有限公司 充电处理方法、终端设备和存储介质
JP7060856B2 (ja) * 2018-09-28 2022-04-27 Necプラットフォームズ株式会社 USB Type-Cインターフェース回路における状態通知方法およびUSB Type-Cインターフェース回路を有するデバイス
CN210327098U (zh) * 2019-09-16 2020-04-14 上海爻火微电子有限公司 采用usb pd的充电设备与充电组件
CN110534988B (zh) * 2019-09-25 2025-04-08 上海爻火微电子有限公司 Type A-Type C线缆及其线缆芯片
CN111817382B (zh) * 2020-07-14 2022-02-08 维沃移动通信有限公司 充电器、数据线和充电设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106415979A (zh) * 2014-05-28 2017-02-15 诺基亚技术有限公司 通过usb标准a连接器的基带pd通信
CN107181145A (zh) * 2017-05-31 2017-09-19 珠海市魅族科技有限公司 一种数据传输线以及usb数据线接口
CN108233130A (zh) * 2017-08-01 2018-06-29 珠海市魅族科技有限公司 Usb线缆、usb接口以及适配器
CN207612082U (zh) * 2017-11-02 2018-07-13 芯海科技(深圳)股份有限公司 一种基于type-c接口实现多种快充协议电路
CN107706685A (zh) * 2017-11-24 2018-02-16 深圳市乐得瑞科技有限公司 一种连接器
CN111509816A (zh) * 2020-05-29 2020-08-07 维沃移动通信有限公司 充电器、数据线和充电设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4160857A4 *

Also Published As

Publication number Publication date
KR102936915B1 (ko) 2026-03-10
KR20230016688A (ko) 2023-02-02
CN111509816B (zh) 2022-02-22
EP4160857A4 (en) 2023-11-22
EP4160857A1 (en) 2023-04-05
US20230085923A1 (en) 2023-03-23
CN111509816A (zh) 2020-08-07

Similar Documents

Publication Publication Date Title
WO2021239100A1 (zh) 充电器、数据线和充电设备
WO2022001869A1 (zh) 充电电路与充电线缆
JP7445821B2 (ja) 充電器、データ線及び充電機器
CN110944076B (zh) 电子设备与兼具快充与音频传输功能的配件
CN104978296A (zh) 用于确定功率输送的方向的方法和装置
CN111509815B (zh) 数据线和充电设备
WO2021239038A1 (zh) 数据线和充电设备
CN111817380B (zh) 充电器、数据线、充电设备和电子设备
WO2021239099A1 (zh) 充电器、数据线和充电设备
WO2021239039A1 (zh) 数据线和充电设备
CN114967894A (zh) 电子设备、设备识别方法及充电系统
CN111817096A (zh) 数据线和充电设备
CN112952485B (zh) 兼容式的充电线缆及其控制方法
CN111817378A (zh) 充电器、数据线和充电设备
CN111817381B (zh) 充电器、数据线和充电设备
CN111817384B (zh) 数据线和充电设备
US12620815B2 (en) Charger, data cable, and charging device
CN105932748A (zh) 可变充电电压的充电方法、充电器及充电系统
WO2020113583A1 (zh) 一种智能支架以及模式启动的方法
CN111817379A (zh) 充电器、数据线和充电设备
WO2024046109A1 (zh) 充电方法及用电设备
CN113823971A (zh) 接口转换系统及其控制方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21812550

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 202217075877

Country of ref document: IN

ENP Entry into the national phase

Ref document number: 20227046066

Country of ref document: KR

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2021812550

Country of ref document: EP

Effective date: 20230102

WWG Wipo information: grant in national office

Ref document number: 202217075877

Country of ref document: IN