CN114706801A - USB output path switching circuit and device - Google Patents

USB output path switching circuit and device Download PDF

Info

Publication number
CN114706801A
CN114706801A CN202210627628.9A CN202210627628A CN114706801A CN 114706801 A CN114706801 A CN 114706801A CN 202210627628 A CN202210627628 A CN 202210627628A CN 114706801 A CN114706801 A CN 114706801A
Authority
CN
China
Prior art keywords
module
usb
dpdm
mode
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.)
Granted
Application number
CN202210627628.9A
Other languages
Chinese (zh)
Other versions
CN114706801B (en
Inventor
张宇清
徐文辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Injoinic Technology Co Ltd
Original Assignee
Shenzhen Injoinic Technology 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 Shenzhen Injoinic Technology Co Ltd filed Critical Shenzhen Injoinic Technology Co Ltd
Priority to CN202211204952.6A priority Critical patent/CN117194294A/en
Priority to CN202210627628.9A priority patent/CN114706801B/en
Publication of CN114706801A publication Critical patent/CN114706801A/en
Application granted granted Critical
Publication of CN114706801B publication Critical patent/CN114706801B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00045Authentication, i.e. circuits for checking compatibility between one component, e.g. a battery or a battery charger, and another component, e.g. a power source
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2207/00Indexing scheme relating to details of circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J2207/30Charge provided using DC bus or data bus of a computer

Abstract

The application discloses a USB output path switching circuit and a device, wherein a control unit is connected with a PD module, a USB scheme parameter selection module, a TYPE-C module, a DPDM protocol module, a DPDM automatic start-up detection module, a VOUT automatic start-up detection module and a power output module; the constant current source is connected with the TYPE-C module and the PD module, and is connected with the USB scheme parameter selection module through the mode detection module; the constant current source is connected with the charged equipment and the first switch; the DPDM protocol module is connected with the DPDM automatic power-on detection module, and the DPDM protocol module and the DPDM automatic power-on detection module are connected with the charged equipment; the VOUT automatic start-up detection module is connected with the power output module, and the VOUT automatic start-up detection module and the power output module are connected with the charged equipment. By adopting the embodiment of the application, the compatibility of the USB output path can be improved.

Description

USB output path switching circuit and device
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a USB output path switching circuit and device.
Background
With the development of the rapid charging technology, more and more Universal Serial Bus (USB) interface forms are produced. Under the condition that electronic equipment is more and more at present, sometimes a plurality of electronic equipment need to be charged, and in order to better take different USB interface forms into account, a plurality of charging schemes with more than two output ports are provided on the market. The more outlets of a variety that can cover the market, the more popular it is. However, the existing scheme cannot be compatible with the USB-a and USB-C ports on one output path, generally, the USB-a output path can only be used as the USB-a or as a dummy USB-C, and meanwhile, the USB-C cannot be reasonably converted into the application scheme of the USB-a, so that the problem of how to improve the compatibility of the USB output path needs to be solved urgently.
Disclosure of Invention
The embodiment of the application provides a USB output path conversion circuit and a USB output path conversion device, which can improve the compatibility of a USB output path.
In a first aspect, an embodiment of the present application provides a USB output path conversion circuit, where the USB output path conversion circuit includes: the device comprises a control unit, a constant current source, a mode detection module, a PD module, a USB scheme parameter selection module, a TYPE-C module, a DPDM protocol module, a DPDM automatic start-up detection module, a VOUT automatic start-up detection module and a power output module; wherein, the first and the second end of the pipe are connected with each other,
the control unit is connected with the PD module, the USB scheme parameter selection module, the TYPE-C module, the DPDM protocol module, the DPDM automatic power-on detection module, the VOUT automatic power-on detection module and the power output module;
the constant current source is connected with the TYPE-C module and the PD module, and is connected with the USB scheme parameter selection module through the mode detection module; the constant current source is connected with the charged equipment and the first switch through a first pin;
the DPDM protocol module is connected with the DPDM automatic power-on detection module, and the DPDM protocol module and the DPDM automatic power-on detection module are both connected with the charged device through a second pin and a third pin;
the VOUT automatic start-up detection module is connected with the power output module, and the VOUT automatic start-up detection module and the power output module are connected with the charged equipment through a fourth pin.
In a second aspect, an embodiment of the present application provides a USB output path conversion apparatus, which includes the USB output path conversion circuit described in the first aspect.
The embodiment of the application has the following beneficial effects:
it can be seen that, in the USB output path converting circuit and the apparatus described in the embodiments of the present application, the USB output path converting circuit includes: the device comprises a control unit, a constant current source, a mode detection module, a PD module, a USB scheme parameter selection module, a TYPE-C module, a DPDM protocol module, a DPDM automatic start-up detection module, a VOUT automatic start-up detection module and a power output module; the control unit is connected with the PD module, the USB scheme parameter selection module, the TYPE-C module, the DPDM protocol module, the DPDM automatic start-up detection module, the VOUT automatic start-up detection module and the power output module; the constant current source is connected with the TYPE-C module and the PD module, and is connected with the USB scheme parameter selection module through the mode detection module; the constant current source is connected with the charged equipment and the first switch through a first pin; the DPDM protocol module is connected with the DPDM automatic power-on detection module, and the DPDM protocol module and the DPDM automatic power-on detection module are both connected with the charged equipment through a second pin and a third pin; the VOUT automatic start-up detection module is connected with the power output module, and the VOUT automatic start-up detection module and the power output module are connected with the charged equipment through the fourth pin, so that the problem that output wires cannot be freely switched in a multi-port scheme can be solved, multi-USB port products compatible with various forms are realized, and the compatibility of a USB output path is favorably improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a detection circuit for fast charging USB output path conversion according to an embodiment of the present disclosure;
fig. 2 is a timing diagram illustrating detection of a fast charging USB output path transition according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
In the embodiment of the present application, a device to be charged may be understood as a load or an electronic device that needs to be charged, where the electronic device may include at least one of the following: a mobile phone, a tablet computer, a wearable device, etc., which are not limited herein, the charged device may be equivalent to a resistor in the embodiment of the present application.
The following describes embodiments of the present application in detail.
In the related technology, the charging chip supports that the output path of the USB-A usually only has DM/DP 2 protocol communication pin pins, when the USB-A scheme is to be implemented as a USB-C scheme, a 56K/22K/10K pull-up resistor of VOUT to CC needs to be additionally arranged, and an A-C wire port is implemented, at the moment, only a DPDM protocol can be communicated, and a PD protocol cannot be implemented.
The charging chip in the related art supports the output path of the USB-C, and usually has DM/DP/CC1/CC 24 protocol communication pin pins, and when the USB-C scheme is compatible with the USB-a scheme, the USB-C scheme is usually auto-powered on through CC detection. It is necessary to turn CC on the output by pulling down a 5.1K resistor. The port a of the wire is without the CCpin, and 5.1K on the chip needs to be pulled down all the time, which may increase power consumption of the chip scheme.
In the related art, the USB-a/USB-C/lighting male solution cannot be reasonably compatible with one output path, and only the corresponding output USB male solution can be designed for the corresponding output solution, so that the resources cannot be reasonably utilized.
To solve the above-mentioned drawbacks, please refer to fig. 1, fig. 1 is a schematic structural diagram of a USB output path conversion circuit according to an embodiment of the present application, and as shown in the drawing, the USB output path conversion circuit according to the embodiment of the present application includes: the device comprises a control unit, a constant current source, a mode detection module, a PD module, a USB scheme parameter selection module, a TYPE-C module, a DPDM protocol module, a DPDM automatic start-up detection module, a VOUT automatic start-up detection module and a power output module; wherein the content of the first and second substances,
the control unit is connected with the PD module, the USB scheme parameter selection module, the TYPE-C module, the DPDM protocol module, the DPDM automatic power-on detection module, the VOUT automatic power-on detection module and the power output module;
the constant current source is connected with the TYPE-C module and the PD module, and is connected with the USB scheme parameter selection module through the mode detection module; the constant current source is connected with a charged device R1 and a first switch K1 through a first pin CC;
the DPDM protocol module is connected with the DPDM automatic power-on detection module, and the DPDM protocol module and the DPDM automatic power-on detection module are both connected with the charged device through a second pin DP and a third pin DM;
the VOUT automatic start-up detection module is connected with the power output module, and the VOUT automatic start-up detection module and the power output module are connected with the charged equipment through a fourth pin VOUT.
The second pin DP and the third pin DM may be the same pin, or the second pin DP and the third pin DM may be two independent pins. The pin of the charging interface of the charged device generating the handshake protocol may be equivalent to a resistor R1, which is usually a resistor with a resistance of 5.1k, i.e. R1 is a resistor of 5.1k, the USB output path conversion circuit is a cable of the charged device, the charged device may be a mobile phone, and the cable may be, for example, a C-lighting cable.
The USB scheme parameter selection module is used for realizing mode parameter selection, and different modes can correspond to different mode parameters. The USB scheme parameter selection module can be used to select three modes: USB-A mode, lightning cable mode and USB-C cable mode, for example, the USB scheme parameter selection module includes mode1, mode2 and mode3, which are corresponding to the USB-A mode, the lightning cable mode and the USB-C cable mode one by one.
In the embodiment of the present application, for the mode detection module, the comparator and the filtering timer are integrated in the module, and are used for detecting the level of the CC pin, specifically: when the CC pin state is detected to be pulled down for a period of time, the USB-A cable mode is identified and defined as mode 1; when the CC pin state is detected to be at the middle level for a period of time, a lightning cable mode is identified, and the mode is defined as mode 2; when the CC pin state is detected to be pulled up for a period of time, the USB-C cable mode is identified and defined as mode 3; of course, the corresponding USB mode may also be output to the control unit.
In the embodiment of the present application, for a PD module, at least one of the following protocols or protocol-related circuits is integrated in the PD module: USB Power Delivery (PD 2.0/PD 3.0) protocol, hardware bidirectional tag codec (MBC) protocol, physical layer Protocol (PHY), hardware CRC, and other PD protocol related circuits.
In the embodiment of the application, aiming at the TYPE-C module, the complete TYPE-C interface protocol can be integrated, the USB-C input and output identification interface can be integrated, the built-in pull-up and pull-down resistor can be automatically switched, and the charging and discharging properties of the plug-in equipment can be automatically identified.
In the embodiment of the present application, for the DPDM protocol module, the protocol function of DPDM communication may be integrated. For example, when a mobile phone is charged, a quick charging sequence on a DP pin and a DM pin is automatically detected, the type of the mobile phone is intelligently identified, the mobile phone can support QC2.0/QC3.0, FCP, AFC, SFCP and SCP protocols, and an Apple 2.4A mode, a Samsung mobile phone 2A mode and a BC1.2 common Android mobile phone 1A mode are supported.
In the embodiment of the application, for a DPDM auto-power-on detection module, it supports load insertion and extraction detection by adding a weak pull-up and identification circuit to a pin of DP or DM.
In the embodiment of the application, for the VOUT automatic startup detection module, the detection of load insertion and extraction is carried out by adding a weak pull-up and identification circuit on a VOUT pin.
In the embodiment of the present application, a power output module is used for taking charge of power components, for example, AC-CC, DC-DC, and the like.
In the embodiment of the present application, the control unit can be understood as a chip hub control logic system, and processes, selects and skips each state.
For the USB output path switching circuit, the functions of the pins are as follows: and C, pin: the system integrates USB mode detection (constant current source and mode detection), a TYPE-C protocol module and a PD module; the DP pin integrates a DP detection automatic start-up function and a DPDM protocol function; the DM pin integrates a DM detection automatic starting function and a DPDM protocol function; a VOUT pin which integrates VOUT automatic start-up function (load plugging detection) and power output; GND pins (not shown) with ground return of the power path and signal path.
In the embodiment of the present application, the modes may include at least two of the following: USB-A mode, lightning cable mode, USB-C cable mode, etc., but not limited thereto.
Optionally, after the USB output path conversion circuit is powered on, in a first preset time period, a system of the USB output path conversion circuit is started;
after the system is started, a detection function state is entered through the first pin in a second preset time period, and the constant current source and the mode detection module are started to realize the output of the current source from the first pin through the first enabling signal, the second enabling signal, the third enabling signal, the fourth enabling signal, the fifth enabling signal, the sixth enabling signal and the seventh enabling signal;
the first enable signal is used for controlling the constant current source, the second enable signal is used for controlling the mode detection module, the third enable signal is used for controlling the TYPE-C module, the fourth enable signal is used for controlling the DPDM protocol module, the fifth enable signal is used for controlling the DPDM automatic power-on detection module, the sixth enable signal is used for controlling the VOUT automatic power-on detection module, and the seventh enable signal is used for controlling the first switch.
The USB output path switching circuit may be referred to as an IC. In the embodiment of the application, the first enable signal EN1, the second enable signal EN2, the third enable signal EN3, the fourth enable signal EN4, the fifth enable signal EN5, the sixth enable signal EN6 and the seventh enable signal EN7 may all be control signals generated by the control unit. The first enable signal EN1 is used for controlling the constant current source, the second enable signal EN2 is used for controlling the mode detection module, the third enable signal EN3 is used for controlling the TYPE-C module, the fourth enable signal EN4 is used for the DPDM protocol module, the fifth enable signal EN5 is used for controlling the DPDM auto-on detection module, the sixth enable signal EN6 is used for controlling the VOUT auto-on detection module, the seventh enable signal EN7 is used for controlling the power output module, and the eighth enable signal EN8 is used for controlling the first switch K1.
The first preset time period and the second preset time period can be set by themselves or default by a system, and the second preset time period is a time period after the first preset time period. The first preset time period may be denoted by t1, and the second preset time period may be denoted by t 3.
In the specific implementation, after the USB output path conversion circuit IC is powered on for the first time, the time period around t1 is the time for system startup after the IC is powered on, and after the system is started, the CC detection pin enters the detection function state at time period t 2: enabling EN 1-EN 2, starting the constant current source and the mode detection module, turning EN 3-EN 7 off, and outputting the current source from a CC detection pin.
Optionally, the USB output path converting circuit further includes a comparator; the USB output path conversion circuit is further configured to judge a voltage value of the first pin through the comparator, and determine and identify a corresponding USB mode according to the voltage value.
In specific implementation, the voltage of the CC pin is measured and determined by a comparator inside the IC to determine which mode is locked, specifically: if the short circuit GND is recognized, the USB-A mode is determined, or if the 5.1K mode is recognized, the USB-A mode is determined, or if the short circuit GND is recognized, the USB-C port cable mode is determined.
Optionally, in a third preset time period, the load detection mode is started, and the load detection mode is no longer in the detection function state;
when the DPDM is in a USB-A mode, the DPDM automatic power-on detection module and/or the VOUT automatic power-on detection module are/is started through the fifth enabling signal and the sixth enabling signal;
when the DPDM is in the lightning cable mode, only the DPDM automatic power-on detection module and the PD module are started through the fifth enabling signal;
when the DPDM is in a USB-C cable mode, the DPDM automatic power-on detection module and the PD module are started through the third enabling signal and the fifth enabling signal;
and starting output until the automatic starting function of each mode is triggered, and then starting a DPDM protocol module of the fourth enabling signal and a power output module of the seventh enabling signal, or selecting whether to start a PD module according to the USB mode, and performing protocol handshake and power output.
And the third preset time period can be set by itself or defaulted by the system. The third preset time period is a time period after the second preset time period.
In a specific implementation, in a time period t3, the IC no longer enables the function detection module, i.e., is no longer in the detection function state, and only performs the mode load detection mode on: in the USB-A mode, only the VOUT automatic start detection module and/or the DPDM automatic start detection module are started, and EN 5-EN 6 are enabled; in the lightning cable mode, only the DPDM auto-on detection module and the PD module are started, and EN5 is enabled; the USB-C cable mode turns on CC, and/or DPDM auto-on detection module and PD module, EN3, EN5 enable. And starting the system until each mode is triggered, and enabling EN4 and EN 7.
Optionally, if the USB-a mode is in the USB-a mode, a normal a-port fast charging mode is implemented, and the pull-up function of the first pin is turned off, where the USB-a mode supports a DPDM fast charging protocol.
In the USB-a mode, only the normal a-port fast charging mode may be implemented, and the pull-up function of the first pin CC is turned off, where the USB-a mode may support a DPDM fast charging protocol.
Optionally, if the TYPE-C cable mode is in, the function of the TYPE-C cable mode is realized, and the TYPE-C cable mode supports the DPDM fast charging protocol and the PD fast charging protocol by the first pin, and/or the second pin, and/or the third pin triggers auto-start.
When the cable is in a TYPE-C cable mode, the cable is in a TYPE-C mode, automatic starting is triggered through at least one of a first pin CC, a second pin DP and a third pin DM, and in order to avoid false triggering, a DPDM (digital pre-distortion) detection signal and a CC handshake signal exist at the same time, the cable can be automatically started; the mode can support DPDM fast charging protocol and PD fast charging protocol.
Optionally, if the first pin is in the lightning cable mode, the function of the lightning cable mode is realized, and when the first pin is in the automatic power-on detection, the first pin is not pulled up and is not enabled; through the second pin and/or the third pin, automatic power-on is triggered, after the automatic power-on, the pull-up of the first pin is enabled so as to support a PD mode, and the lightning cable mode supports a DPDM fast charging protocol and a PD fast charging protocol.
When the cable is in the lightning cable mode, the lightning cable mode is realized, and due to the fact that the cable is provided with the 5.1K resistor, the first pin CC is pulled up and disabled in a standby mode, power consumption is saved, meanwhile, the DPDM is used for triggering automatic startup, and the lightning cable mode can support an apple DCP protocol and a PD quick charging protocol.
Optionally, after power is turned on, after the state of the first pin is detected, the configuration setting and locking functions are implemented according to the state of the first pin.
After the first power-on, the USB output path switching circuit can identify the requirement of the scheme after detecting the state of the first pin CC, and then set the configuration and lock.
Optionally, the USB output path conversion circuit includes any one of: charging adapter, computer docking station, concentrator, data line, chip.
According to the embodiment of the application, the conversion of the USB output path can also be suitable for a mobile power supply, an intelligent socket USB output, a vehicle-mounted charger and an adapter.
According to the embodiment of the application, the USB-A/USB-C/lighting male scheme is compatible on one output path, the corresponding fast charging protocol is reserved, the circuit design cost can be saved, the independent output path can be compatible with the USB-A/USB-C/lighting output, the application scene switching is more efficient, the fast charging requirements of different USB ports are met as far as possible, and the multi-USB-port product compatible with various forms is realized.
According to the embodiment of the application, the fast charging requirements of different USB ports are switched through the DP/DM/CC 3 protocol communication pin feet. Through increase detection circuitry on V +/D-/D +/CC, realize discerning USB-A/USB-C/lighting public head, simultaneously, the design in the embodiment of this application does not influence the TYPE-C handshake and the PD communication of CC.
For example, as shown in fig. 2, fig. 2 is a timing diagram of detection of fast charging USB output path switching, after the USB output path switching circuit IC is powered on for the first time, the time period is about t1 when the system is started after the IC is powered on, and after the system is started, the CC detection pin enters a detection functional state in a time period t 2: enabling EN 1-EN 2, starting the constant current source and the mode detection module, turning EN 3-EN 7 off, and outputting the current source from a CC detection pin. The voltage of the CC pin is measured and judged through a comparator inside the IC, so that which mode is locked is judged, and the method specifically comprises the following steps: if the short circuit GND is recognized, the USB-A mode is determined, or if the 5.1K mode is recognized, the USB-A mode is determined, or if the short circuit GND is recognized, the USB-C port cable mode is determined.
Further, the IC no longer enables the function detection module within time t3, and only performs the mode load detection mode on: in the USB-A mode, only the VOUT automatic start detection module and/or the DPDM automatic start detection module are started, and EN 5-EN 6 are enabled; in the lightning cable mode, only the DPDM auto-on detection module and the PD module are started, and EN5 is enabled; the USB-C cable mode turns on CC, and/or DPDM auto-on detection module and PD module, EN3, EN5 enable. And starting the system until each mode is triggered, enabling EN4 and EN7, or selecting whether to start the PD module according to the USB mode, and performing protocol handshaking and power output.
After the power is firstly powered on and the chip detects the state of the CC, the requirement of the scheme can be identified, and then the configuration is set and locked:
when the USB-A mode is in the common A port fast charging mode, the pull-up function of the CC pin is closed, and the power consumption is saved; the mode supports a DPDM quick charging protocol;
when the USB-C cable mode is a TYPE-C mode, the automatic power-on is triggered through a CC pin/a DPDM pin, and in order to avoid false triggering, a DPDM detection signal and a CC handshake signal need to exist at the same time, the automatic power-on can be realized; the mode supports DPDM fast charging protocol and PD fast charging protocol.
When the cable is in the lighting cable mode, the lighting cable mode is adopted, and due to the fact that the 5.1K resistor is arranged on the cable, when the automatic power-on detection mode is in a standby state, the CC is not pulled up, power consumption is saved, meanwhile, automatic power-on is triggered through the DPDM, and the mode supports a special charging port (DCP) protocol and a PD quick-charging protocol of the apple.
In the embodiment of the application, besides the external pin selection function, the USB mode can be modified into a Dual Role Port (DRP) mode by modifying a chip register, and the integrated input/output TYPE-C function is compatible.
According to the embodiment of the application, the chip output path resources can be reasonably utilized, the multi-USB port product compatible with various forms is realized, and meanwhile, the quick charging protocol is reserved.
As can be seen, in the USB output path converting circuit described in the embodiment of the present application, the USB output path converting circuit includes: the device comprises a control unit, a constant current source, a mode detection module, a PD module, a USB scheme parameter selection module, a TYPE-C module, a DPDM protocol module, a DPDM automatic start-up detection module, a VOUT automatic start-up detection module and a power output module; the control unit is connected with the PD module, the USB scheme parameter selection module, the TYPE-C module, the DPDM protocol module, the DPDM automatic start-up detection module, the VOUT automatic start-up detection module and the power output module; the constant current source is connected with the TYPE-C module and the PD module, and is connected with the USB scheme parameter selection module through the mode detection module; the constant current source is connected with the charged equipment and the first switch through a first pin; the DPDM protocol module is connected with the DPDM automatic power-on detection module, and the DPDM protocol module and the DPDM automatic power-on detection module are both connected with the charged equipment through a second pin and a third pin; the VOUT automatic start-up detection module is connected with the power output module, and the VOUT automatic start-up detection module and the power output module are connected with the charged equipment through the fourth pin, so that the problem that output wires cannot be freely switched in a multi-port scheme can be solved, multi-USB port products compatible with various forms are realized, and the compatibility of a USB output path is favorably improved.
Optionally, an embodiment of the present application further provides a USB output path conversion apparatus, where the USB output path conversion apparatus includes the USB output path conversion circuit.
The USB output path switching device may include at least one of: a mobile power supply, an intelligent extension socket USB output, a vehicle-mounted charger, an adapter, a charging adapter, a computer docking station, a hub, a data line, and the like, which are not limited herein.
The foregoing is an implementation of the embodiments of the present application, and it should be noted that, for those skilled in the art, several modifications and decorations can be made without departing from the principle of the embodiments of the present application, and these modifications and decorations are also regarded as the protection scope of the present application.

Claims (10)

1. A USB output path conversion circuit, the USB output path conversion circuit comprising: the device comprises a control unit, a constant current source, a mode detection module, a PD module, a USB scheme parameter selection module, a TYPE-C module, a DPDM protocol module, a DPDM automatic start-up detection module, a VOUT automatic start-up detection module and a power output module; wherein the content of the first and second substances,
the control unit is connected with the PD module, the USB scheme parameter selection module, the TYPE-C module, the DPDM protocol module, the DPDM automatic power-on detection module, the VOUT automatic power-on detection module and the power output module;
the constant current source is connected with the TYPE-C module and the PD module, and is connected with the USB scheme parameter selection module through the mode detection module; the constant current source is connected with the charged equipment and the first switch through a first pin;
the DPDM protocol module is connected with the DPDM automatic power-on detection module, and the DPDM protocol module and the DPDM automatic power-on detection module are both connected with the charged device through a second pin and a third pin;
the VOUT automatic start-up detection module is connected with the power output module, and the VOUT automatic start-up detection module and the power output module are connected with the charged equipment through a fourth pin.
2. The USB output path conversion circuit of claim 1, wherein after the USB output path conversion circuit is powered on, a system of the USB output path conversion circuit is started for a first predetermined time period;
after the system is started, a detection function state is entered through the first pin in a second preset time period, and the constant current source and the mode detection module are started to realize the output of the current source from the first pin through the first enabling signal, the second enabling signal, the third enabling signal, the fourth enabling signal, the fifth enabling signal, the sixth enabling signal and the seventh enabling signal;
the first enable signal is used for controlling the constant current source, the second enable signal is used for controlling the mode detection module, the third enable signal is used for controlling the TYPE-C module, the fourth enable signal is used for controlling the DPDM protocol module, the fifth enable signal is used for controlling the DPDM automatic power-on detection module, the sixth enable signal is used for controlling the VOUT automatic power-on detection module, and the seventh enable signal is used for controlling the first switch.
3. The USB output path conversion circuit according to claim 2, wherein the USB output path conversion circuit further comprises a comparator; the USB output path conversion circuit is further configured to judge a voltage value of the first pin through the comparator, and determine and identify a corresponding USB mode according to the voltage value.
4. The USB output path switching circuit of claim 3, wherein the mode load detection mode is enabled if the USB interface is no longer in the detection function state for a third predetermined period of time;
when the DPDM is in a USB-A mode, the DPDM automatic power-on detection module and/or the VOUT automatic power-on detection module are/is started through the fifth enabling signal and the sixth enabling signal;
when the DPDM is in the lightning cable mode, only the DPDM automatic power-on detection module and the PD module are started through the fifth enabling signal;
when the DPDM is in a USB-C cable mode, the DPDM automatic power-on detection module and the PD module are started through the third enabling signal and the fifth enabling signal;
and starting output until the automatic starting function of each mode is triggered, and then starting a DPDM protocol module of the fourth enabling signal and a power output module of the seventh enabling signal, or selecting whether to start a PD module according to a USB mode, and performing protocol handshake and power output.
5. The USB output path conversion circuit of claim 4,
and if the USB-A mode is in the USB-A mode, realizing a common A-port fast charging mode, and closing the pull-up function of the first pin, wherein the USB-A mode supports a DPDM fast charging protocol.
6. The USB output path conversion circuit of claim 4,
if be in TYPE-C cable mode realizes the function of TYPE-C cable mode, passes through first pin, and/or, the second pin, and/or, the third pin triggers auto-start, TYPE-C cable mode supports DPDM quick-charge protocol and PD quick-charge protocol.
7. The USB output path conversion circuit of claim 4,
if the first pin is in the lightning cable mode, the function of the lightning cable mode is realized, and when the first pin is in the automatic power-on detection, the first pin is not pulled up and is not enabled; through the second pin and/or the third pin, automatic power-on is triggered, after the automatic power-on, the pull-up of the first pin is enabled so as to support a PD mode, and the lightning cable mode supports a DPDM fast charging protocol and a PD fast charging protocol.
8. The USB output path switching circuit according to claim 3, wherein after power-up, after detecting the state of the first pin, a configuration setting and locking function is implemented according to the state of the first pin.
9. The USB output path conversion circuit according to any of claims 1 to 8, wherein the USB output path conversion circuit comprises any of: charging adapter, computer docking station, concentrator, data line, chip.
10. A USB output path conversion apparatus, characterized in that the USB output path conversion apparatus comprises the USB output path conversion circuit according to any one of claims 1 to 9.
CN202210627628.9A 2022-06-06 2022-06-06 USB output path switching circuit and device Active CN114706801B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211204952.6A CN117194294A (en) 2022-06-06 2022-06-06 USB output path conversion circuit and related device
CN202210627628.9A CN114706801B (en) 2022-06-06 2022-06-06 USB output path switching circuit and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210627628.9A CN114706801B (en) 2022-06-06 2022-06-06 USB output path switching circuit and device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202211204952.6A Division CN117194294A (en) 2022-06-06 2022-06-06 USB output path conversion circuit and related device

Publications (2)

Publication Number Publication Date
CN114706801A true CN114706801A (en) 2022-07-05
CN114706801B CN114706801B (en) 2022-08-26

Family

ID=82177823

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202211204952.6A Pending CN117194294A (en) 2022-06-06 2022-06-06 USB output path conversion circuit and related device
CN202210627628.9A Active CN114706801B (en) 2022-06-06 2022-06-06 USB output path switching circuit and device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202211204952.6A Pending CN117194294A (en) 2022-06-06 2022-06-06 USB output path conversion circuit and related device

Country Status (1)

Country Link
CN (2) CN117194294A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114977444A (en) * 2022-08-01 2022-08-30 深圳英集芯科技股份有限公司 Portable power source chip, detection circuitry and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107196369A (en) * 2017-06-16 2017-09-22 深圳市易佰特软件有限公司 A kind of multiplex roles RAPID CHARGING POWER SUPPLY
CN207691160U (en) * 2017-11-24 2018-08-03 深圳市乐得瑞科技有限公司 A kind of connector
WO2019010822A1 (en) * 2017-07-13 2019-01-17 东莞市隆佳展能源科技有限公司 Fast charging adapter and fast charging cable structure
WO2019080372A1 (en) * 2017-10-23 2019-05-02 深圳市乐得瑞科技有限公司 Method for estimating load current of power supply, and usb-type adapter
US10593443B1 (en) * 2019-01-24 2020-03-17 Mobile Tech, Inc. Motion sensing cable for intelligent charging of devices
CN111900780A (en) * 2020-09-29 2020-11-06 深圳英集芯科技有限公司 Mobile power supply quick charging protocol conversion device and control method thereof
CN214100937U (en) * 2021-01-12 2021-08-31 东莞市荣合电子有限公司 One drags three data lines to fill control circuit soon
CN214100897U (en) * 2020-11-19 2021-08-31 深圳市安锐微电子科技有限公司 One drags two quick charge circuit and keysets thereof
CN214314637U (en) * 2021-01-27 2021-09-28 东莞市荣合电子有限公司 One-to-two quick-charging data line adopting TYPE-C interface input

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107196369A (en) * 2017-06-16 2017-09-22 深圳市易佰特软件有限公司 A kind of multiplex roles RAPID CHARGING POWER SUPPLY
WO2019010822A1 (en) * 2017-07-13 2019-01-17 东莞市隆佳展能源科技有限公司 Fast charging adapter and fast charging cable structure
WO2019080372A1 (en) * 2017-10-23 2019-05-02 深圳市乐得瑞科技有限公司 Method for estimating load current of power supply, and usb-type adapter
CN207691160U (en) * 2017-11-24 2018-08-03 深圳市乐得瑞科技有限公司 A kind of connector
US10593443B1 (en) * 2019-01-24 2020-03-17 Mobile Tech, Inc. Motion sensing cable for intelligent charging of devices
CN111900780A (en) * 2020-09-29 2020-11-06 深圳英集芯科技有限公司 Mobile power supply quick charging protocol conversion device and control method thereof
CN214100897U (en) * 2020-11-19 2021-08-31 深圳市安锐微电子科技有限公司 One drags two quick charge circuit and keysets thereof
CN214100937U (en) * 2021-01-12 2021-08-31 东莞市荣合电子有限公司 One drags three data lines to fill control circuit soon
CN214314637U (en) * 2021-01-27 2021-09-28 东莞市荣合电子有限公司 One-to-two quick-charging data line adopting TYPE-C interface input

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114977444A (en) * 2022-08-01 2022-08-30 深圳英集芯科技股份有限公司 Portable power source chip, detection circuitry and electronic equipment
CN114977444B (en) * 2022-08-01 2022-11-01 深圳英集芯科技股份有限公司 Portable power source chip, detection circuitry and electronic equipment

Also Published As

Publication number Publication date
CN117194294A (en) 2023-12-08
CN114706801B (en) 2022-08-26

Similar Documents

Publication Publication Date Title
US9153999B2 (en) Circuits and methods for automatic power source detection
KR101374638B1 (en) Mobile device auto detection apparatus and method
US9787115B2 (en) Universal serial bus adaptor and universal serial bus cable
US8796988B2 (en) Input-output circuit
US20160336779A1 (en) Charging Method, Alternating Current Adaptor, Charging Management Device and Terminal
US20110314201A1 (en) Method and device for identifying universal serial bus (usb) insertion or charger insertion of mobile terminal
CN102694400B (en) Imput output circuit
US9385551B2 (en) Automatic mobile device detector
US20140117923A1 (en) High voltage dedicated charging port
US10141760B2 (en) Power supply circuit, charge circuit, charging system, power supplying method, and charging method
CN114336814A (en) Multi-port charging control circuit, charging chip and power supply equipment
TWI612750B (en) Electronic device and charging method thereof
CN114706801B (en) USB output path switching circuit and device
WO2023134458A1 (en) Electronic device
CN105634143B (en) Wireless power and power receiving device and its operating method
CN115237235A (en) USB equipment shift-out identification circuit and method and power supply system
CN107942125B (en) Power utilization testing circuit of built-in battery type electronic product and control method thereof
CN210042140U (en) Wireless earphone, wireless earphone charging box and wireless earphone charging system
CN206650453U (en) Multiplex roles quick charge cable
CN106487061B (en) Charging circuit and method
WO2018133409A1 (en) Power management circuit, electronic device, and method for controlling electronic device
CN212965358U (en) Broken line detection circuit with load access automatic wake-up function and power bank
CN113347011A (en) Communication device, system and communication method
CN218161881U (en) Charging switching device with small night lamp
TW201351160A (en) Computer device and charging method therefor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant