CN105022468B - USB adapter and USB line - Google Patents

USB adapter and USB line Download PDF

Info

Publication number
CN105022468B
CN105022468B CN201410160135.4A CN201410160135A CN105022468B CN 105022468 B CN105022468 B CN 105022468B CN 201410160135 A CN201410160135 A CN 201410160135A CN 105022468 B CN105022468 B CN 105022468B
Authority
CN
China
Prior art keywords
data pin
circuit
electronic switch
pin
voltage
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.)
Active
Application number
CN201410160135.4A
Other languages
Chinese (zh)
Other versions
CN105022468A (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.)
Ambit Microsystems Shanghai Ltd
Original Assignee
Ambit Microsystems Shanghai 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 Ambit Microsystems Shanghai Ltd filed Critical Ambit Microsystems Shanghai Ltd
Priority to CN201410160135.4A priority Critical patent/CN105022468B/en
Publication of CN105022468A publication Critical patent/CN105022468A/en
Application granted granted Critical
Publication of CN105022468B publication Critical patent/CN105022468B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

A kind of USB adapter includes voltage conversion circuit, USB interface, current-sensing circuit, the first electronic switch, the second electronic switch and the 3rd electronic switch.Voltage conversion circuit carries out voltage conversion to the output voltage of external power supply.USB interface includes power pins, the first data pin, the second data pin and grounding pin, power pins and is electrically connected to voltage conversion circuit.Current-sensing circuit is electrically connected to voltage conversion circuit and grounding pin, and charging current when detecting external electronic charges simultaneously compared with reference voltage and exports comparative result signal to control the first electronic switch, the second electronic switch and the 3rd electronic switch on or off.The present invention also provides a kind of USB lines.Above-mentioned USB adapter switches the connection relation of the four of its USB interface pins by current sense module, enhances the withstanding current capability of USB interface, realizes that treating charging unit through USB line carries out large current charge.

Description

USB adapter and USB line
Technical field
The present invention relates to universal serial bus (Universal Serial Bus, USB) adapter more particularly to a kind of tools The USB adapter of standby large current charge ability.
Background technology
The USB charger of existing electronic product is made of USB adapter and USB line, when electronic product is charged, USB line one end is plugged to USB adapter, and the other end is plugged to electronic product.The USB included by USB adapter and USB line The foot position size limitation of connector so that when USB charger charges to electronic product, charging current is not greater than 2A.Therefore, Designing a kind of USB adapter and USB line, it can carry out the electric current of more than 2A and charge to become a big research topic.
The content of the invention
In view of this, a kind of USB adapter need to be provided, large current charge can be carried out to electronic product.
In addition, also needing to provide a kind of USB line, high current during charging can be transmitted.
Embodiment of the present invention provides a kind of USB adapter, is connected through USB line with external electronic.The USB is fitted Orchestration includes voltage conversion circuit, USB interface, current-sensing circuit, the first electronic switch, the second electronic switch and the 3rd electronics Switch.The voltage conversion circuit is used to carry out voltage conversion to the output voltage of external power supply.The USB interface includes power supply Pin, the first data pin, the second data pin and grounding pin, wherein the power pins are electrically connected to the voltage conversion Circuit.Described current-sensing circuit one end is electrically connected to the voltage conversion circuit, and the other end is electrically connected to the grounding pin, For detecting the charging current when external electronic charges and being believed compared with reference voltage with exporting comparative result Number.First electronic switch is electrically connected to the current-sensing circuit, the power pins and first data pin, uses According to short circuit or open circuit between the comparative result signal control power pins and first data pin.It is described Second electronic switch is electrically connected to the current-sensing circuit, first data pin and second data pin, is used for Short circuit or open circuit between first data pin and second data pin are controlled according to the comparative result signal.Institute It states the 3rd electronic switch and is electrically connected to the current-sensing circuit, second data pin and the grounding pin, for root Short circuit or open circuit between second data pin and the grounding pin are controlled according to the comparative result signal.
Preferably, the current-sensing circuit is when the charging current of the external electronic is more than the reference voltage The first comparative result signal is exported, first electronic switch controls the power pins according to the first comparative result signal Short-circuit between first data pin, second electronic switch is according to the first comparative result signal control described the It opens a way between one data pin and second data pin, the 3rd electronic switch is according to the first comparative result signal It controls short-circuit between second data pin and the grounding pin.
Preferably, the current-sensing circuit is not more than the reference voltage in the charging current of the external electronic When export the second comparative result signal, first electronic switch controls the power supply to draw according to the second comparative result signal It opens a way between foot and first data pin, second electronic switch is according to controlling the second comparative result signal Short-circuit between first data pin and second data pin, the 3rd electronic switch is believed according to second comparative result It number controls and to open a way between second data pin and the grounding pin.
Preferably, the USB adapter further includes voltage detection circuit, and the voltage detection circuit is electrically connected to described One data pin or second data pin, for detecting and judging first data pin or second data pin With the presence or absence of DC voltage.
Preferably, direct current is not present in first data pin or second data pin in the voltage detection circuit Export first control signal during voltage, first electronic switch according to the first control signal control the power pins with It opens a way between first data pin, second electronic switch controls first data according to the first control signal Short-circuit between pin and second data pin, the 3rd electronic switch is according to first control signal control described the It opens a way between two data pins and the grounding pin.
Preferably, the USB adapter further includes control circuit, and the control circuit is electrically connected to the current sense electricity Road, the voltage detection circuit, first electronic switch and the 3rd electronic switch, the voltage detection circuit are judging There are second control signal, the current sense are exported during DC voltage for first data pin or second data pin Circuit exports the first comparative result signal, the control when the charging current of the external electronic is more than the reference voltage What the first comparative result signal and the voltage detection circuit that circuit processed is used to be exported according to the current-sensing circuit exported Second control signal exports the 3rd control signal, and first electronic switch controls the power supply according to the 3rd control signal Short-circuit between pin and first data pin, second electronic switch is according to second control signal control described the It opens a way between one data pin and second data pin, the 3rd electronic switch is controlled according to the 3rd control signal It is short-circuit between second data pin and the grounding pin.
Preferably, the USB adapter further includes control circuit, and the control circuit is electrically connected to the current sense electricity Road, the voltage detection circuit, first electronic switch and the 3rd electronic switch, the voltage detection circuit are judging There are second control signal, the current sense are exported during DC voltage for first data pin or second data pin Circuit exports the second comparative result signal when the charging current of the external electronic is not more than the reference voltage, described The the second comparative result signal and the voltage detection circuit that control circuit is used to be exported according to the current-sensing circuit export Second control signal export the 4th control signal, first electronic switch controls the electricity according to the 4th control signal It opens a way between source pin and first data pin, second electronic switch is according to controlling the second control signal It opens a way between first data pin and second data pin, the 3rd electronic switch is according to the 4th control signal control It makes and opens a way between second data pin and the grounding pin.
Preferably, second electronic switch is also electrically coupled to the voltage detection circuit, the control circuit include with Door and trigger.Described to include first input end, the second input terminal and output terminal with door, the first input end is electrically connected to institute Voltage detection circuit is stated, second input terminal is electrically connected to the current-sensing circuit.The trigger includes input terminal, the One output terminal and second output terminal, the input terminal are electrically connected to the output terminal with door, the first output terminal electrical connection In first electronic switch, the second output terminal is electrically connected to the 3rd electronic switch.
Preferably, the current-sensing circuit includes sampling resistor and comparator.Described sampling resistor one end is electrically connected to The voltage conversion circuit, the other end are electrically connected to the grounding pin.The comparator includes positive input, negative input end and defeated Outlet, the positive input terminal are electrically connected to the common port of the sampling resistor and the grounding pin, and the negative input end is used for The reference voltage is received, the output terminal is electrically connected first electronic switch, second electronic switch and the described 3rd Electronic switch.
Embodiment of the present invention provides a kind of USB line, and the USB line includes USB interface and connector.The connector is used In being plugged to external electronic device, the USB interface includes power pins, the first data pin, the second data pin and ground connection Pin.Short-circuit between the power pins and first data pin, first data pin is drawn with second data It opens a way between foot, it is short-circuit between second data pin and the grounding pin.
Above-mentioned USB adapter is detected module by voltage/current and is closed to switch the connection of the four of its USB interface pins System enhances the withstanding current capability of USB interface, realizes that treating charging unit through USB line carries out large current charge, while can root The charging current of the suitable size of charging unit output is treated according to the USB line of different size.
Description of the drawings
Fig. 1 is the module map in one embodiment of USB adapter of the present invention.
Fig. 2 is the module map in another embodiment of USB adapter of the present invention.
Fig. 3 is the module map in one embodiment of USB line of the present invention.
Fig. 4 is the circuit diagram in one embodiment of USB adapter of the present invention.
Main element symbol description
External power supply 10
USB adapter 20,20a, 20b
USB line 30,30a
External electronic 40
Voltage conversion circuit 202
First USB interface 204
Current-sensing circuit 206
Voltage detection circuit 208
Control circuit 210
Secondary USB interface 302
Connector 304
First electronic switch Q1
Second electronic switch Q2
3rd electronic switch Q3
Sampling resistor R1
Comparator C1
Reference voltage V ref
With door AN1
Trigger T1
Power pins Vcc
First data pin D1
Second data pin D2
Grounding pin GND
Following specific embodiment will be further illustrated the present invention with reference to above-mentioned attached drawing.
Specific embodiment
Fig. 1 is the module map of USB adapter 20 in an embodiment of the present invention.In the present embodiment, USB adapter 20 It is connected through USB line 30 with external electronic 40, external electronic 40 can be mobile phone, desktop fan, vacuum flask etc.. USB adapter 20 include voltage conversion circuit 202, the first USB interface 204, current-sensing circuit 206, the first electronic switch Q1, Second electronic switch Q2 and the 3rd electronic switch Q3.The alternating voltage or straight that voltage conversion circuit 202 exports external power supply 10 Galvanic electricity pressure is converted to the predetermined current of predeterminated voltage.First USB interface 204 include power pins Vcc, the first data pin D1, Second data pin D2 and grounding pin GND.The power pins Vcc of first USB interface 204 is electrically connected to voltage conversion circuit 202, it is charged with providing external electronic 40 through 30 grafting of USB line.206 one end of current-sensing circuit is electrically connected to electricity Voltage conversion circuit 202, the other end are electrically connected to the grounding pin GND of the first USB interface, and current-sensing circuit 206 detects outside Charging current when electronic device 40 charges and compared with reference voltage V ref to export comparative result signal.First Electronic switch Q1 is electrically connected to current-sensing circuit 206, the power pins Vcc of the first USB interface 204 and the first USB interface 204 The comparative result signal controls first that are exported according to current-sensing circuit 206 of the first data pin D1, the first electronic switch Q1 Short circuit or open circuit between the power pins Vcc of USB interface 204 and its first data pin D1.Second electronic switch Q2 is electrically connected It is connected to the second data of current-sensing circuit 206, the first data pin D1 of the first USB interface 204 and the first USB interface 204 The comparative result signal that pin D2, the second electronic switch Q2 are exported according to current-sensing circuit 206 controls the first USB interface 204 The first data pin D1 and its second data pin D2 between short circuit or open circuit.3rd electronic switch Q3 is electrically connected to electric current The grounding pin GND of circuit for detecting 206, the second data pin D2 of the first USB interface 204 and the first USB interface 204, the 3rd The detecting result signal that electronic switch Q3 is exported according to current-sensing circuit 206 controls the second data of the first USB interface 204 to draw Short circuit or open circuit between foot D2 and its grounding pin GND.
In the present embodiment, the alternating voltage or DC voltage that voltage conversion circuit 202 exports external power supply 10 turn It is changed to the predetermined current of predeterminated voltage, predeterminated voltage is 5V DC voltages, predetermined current 3A.I.e. USB adapter 20 can be maximum The charging current of output 3A charges to external electronic 40, while USB line 30 can also bear the charging electricity of maximum 3A Stream.External electronic 40 can intelligently adjust the device of charging current, such as mobile phone, tablet computer.Work as external electrical For device 40 in charged state, charging current is less than or equal to 3A.
It should be noted that in the USB interface design standard of the prior art, since the power supply of the first USB interface 204 draws The foot position size limitation of foot Vcc, the first data pin D1, the second data pin D2 and grounding pin GND so that flow through first The electric current of each pin of USB interface 204 need to be less than or equal to 2A.
In the present embodiment, reference voltage V ref be the corresponding voltage signal of 2A charging currents, current-sensing circuit 206 The charging current of the external electronic 40 detected is converted into a voltage signal, Jin Eryu using existing technological means Reference voltage V ref is compared.For example, current-sensing circuit 206 can set a resistance to realize charging current and voltage The conversion of signal.When the charging current that current-sensing circuit 206 detects external electronic 40 is more than reference voltage V ref, That is, charging current be more than 2A when, the first electronic switch Q1 control the first USB interface 204 power pins Vcc with its first number According to short circuit between pin D1 so that the power pins Vcc of the first USB interface 204 and the first data pin of the first USB interface 204 D1 is connected in parallel, and the second electronic switch Q2 controls the first data pin D1 and its second data pin D2 of the first USB interface 204 Between open a way, the 3rd electronic switch Q3 control the second data pin D2 of the first USB interface 204 and its grounding pin GND between Short circuit is so that the grounding pin GND of the second data pin D2 and the first USB interface 204 of the first USB interface 204 are connected in parallel. USB adapter is electric when detecting charging by the first electronic switch Q1, the second electronic switch Q2 and the 3rd electronic switch Q3 When stream is more than 2A, the power pins Vcc of the first USB interface 204 and the first data pin D1 of the first USB interface 204 are changed into It is connected in parallel, the second data pin D2 of the first USB interface 204 and the grounding pin GND of the first USB interface 204 are changed into simultaneously Connection connection so as to improve 204 withstanding current capability of the first USB interface, realizes the 204 exportable charging more than 2A of the first USB interface Electric current is to charge to external electronic 40.
It should be noted that in the present embodiment, current-sensing circuit 206 is serially connected with voltage conversion circuit 202 and The charging current of external electronic 40 is detected between the grounding pin GND of one USB interface 204.In other realities of the present invention It applies in mode, current-sensing circuit 206 can also be serially connected with the power pins of 202 and first USB interface 204 of voltage conversion circuit The charging current of external electronic 40 is detected between Vcc.
Fig. 2 is the module map of USB adapter 20a in an embodiment of the present invention.USB line 30a bags in the present embodiment Secondary USB interface 302 and connector 304 are included, connector 304 can be direct current circular hole plug of the prior art, can also It is the charging type joint of other models.First USB interface 204 is a pair of of female and male USB interface with secondary USB interface 302.Second USB interface 302 is plugged in the first USB interface 204, the power pins Vcc of secondary USB interface 302, the first data pin D1, The power pins Vcc of second data pin D2, grounding pin GND and the first USB interface 204, the first data pin D1, the second number It corresponds and is electrically connected according to pin D2, grounding pin GND, connector 304 is plugged in external electronic 40.In present embodiment In, USB line 30a is special type data cable, as shown in figure 3, it is different from the universal data cable of the prior art, USB line 30a's Short circuit is so that power supply draws between the power pins Vcc of secondary USB interface 302 and the first data pin D1 of secondary USB interface 302 Foot Vcc is connected in parallel with the first data pin D1, the first data pin D1 and the secondary USB interface 302 of secondary USB interface 302 The second data pin between open a way, the second data pin D2 of secondary USB interface 302 and the ground connection of secondary USB interface 302 Short circuit is so that the second data pin D2 and grounding pin GND is connected in parallel, so that secondary USB interface 302 between pin GND The charging current more than 2A of the first USB interface 204 output can be received, is charged with carrying out more than 2A to external electronic 40 Electric current charges.In other embodiments of the present invention, USB line 30a is alternatively the universal data cable of the prior art, i.e. power supply It opens a way between pin Vcc and the first data pin D1, opens a way between the first data pin D1 and the second data pin D2, the second number It opens a way according between pin D2 and grounding pin GND, although at this point, USB adapter 20a can export the charging current of maximum 3A, But since USB line 30a is universal data cable, flowing through the charging current of power pins Vcc and grounding pin GND need to be less than or wait In 2A, in order to ensure the safety that charges, USB adapter 20a need to export the electric current less than or equal to 2A, with external by USB line 30a Portion's electronic device 40 charges.
In the present embodiment, USB adapter 20a and the USB adapter 20 in Fig. 1 are essentially identical, the difference is that, USB adapter 20a further includes voltage detection circuit 208 and control circuit 210.Voltage detection circuit 208 is electrically connected to the first USB First data pin D1 of interface 204, voltage detection circuit 208 are detected and judge the first data pin of the first USB interface 204 D1 whether there is DC voltage, so as to judge that the USB line 30a for being plugged to the first USB interface 204 is special type data cable or leads to With type data cable.When USB line 30a is universal data cable, due to the power pins Vcc of secondary USB interface 302 and second It opens a way between first data pin D1 of USB interface 302, first voltage circuit for detecting 208 detects the first USB interface 204 First data pin D1, at this point, USB adapter 20a is conventional charge mode, can only carry out filling for maximum 2A without DC voltage Electric current charges.When USB line 30a is special type data cable, due to the power pins Vcc of secondary USB interface 302 and second Short-circuit between first data pin D1 of USB interface 302, voltage detection circuit 208 detects the first of the first USB interface 204 Data pin D1, at this point, USB adapter 20a is enhanced charge mode, can carry out the charging of maximum 3A there are DC voltage Electric current charges.
Voltage detection circuit 208 detect the first USB interface 204 the first data pin D1 be not present DC voltage when it is defeated Go out first control signal, USB line 30a is universal data cable, and USB adapter 20a can carry out the charging current for charging of maximum 2A. First electronic switch Q1 controls the power pins Vcc and the first USB interface 204 of the first USB interface 204 according to first control signal The first data pin D1 between open a way, the second electronic switch Q2 controls the of the first USB interface 204 according to first control signal Short-circuit between one data pin D1 and the second data pin D2 of the first USB interface 204, the 3rd electronic switch Q3 is according to the first control Signal processed controls the second data pin D2 of the first USB interface 204 and the grounding pin GND of the first USB interface 204 to open a way.USB Adapter 20a is in conventional charge mode, and the electric current that external electronic 40 carries out below 2A charges.
Control circuit 210 is electrically connected to current-sensing circuit 206, voltage detection circuit 208, the first electronic switch Q1 and Three electronic switch Q3.Second electronic switch Q2 is electrically connected to voltage detection circuit 208, when voltage detection circuit 208 judges first First data pin D1 of USB interface 204 is special type data there are second control signal, USB line 30a is exported during DC voltage Line, USB adapter 20a can carry out the charging current for charging of maximum 3A.Current-sensing circuit 206 judges current external electronic device Whether 40 charging current is more than 2A, when the charging current of external electronic 40 is more than 2A, that is, external electronic 40 Charging current be more than reference voltage V ref, current-sensing circuit 206 export the first comparative result signal, control circuit 210 The second control signal that the first comparative result signal and voltage detection circuit 208 exported according to current-sensing circuit 206 exports is defeated Go out the 3rd control signal, the first electronic switch Q1 controls the power pins Vcc of the first USB interface 204 according to the 3rd control signal Short-circuit between the first data pin D1 of the first USB interface 204, the second electronic switch Q2 is according to the 3rd control signal control the It opens a way between first data pin D1 of one USB interface 204 and the second data pin D2 of the first USB interface 204, the 3rd electronics It switchs Q3 and the second data pin D2 of the first USB interface 204 and connecing for the first USB interface 204 is controlled according to the 3rd control signal It is short-circuit between ground pin GND, so that the first USB interface 204 can transmit the charging current of more than 2A.Work as external electronic When 40 charging current is not more than 2A, that is, the charging current of external electronic 40, no more than reference voltage V ref, electric current is detectd Slowdown monitoring circuit 206 exports the second comparative result signal, and control circuit 210 compares also according to current-sensing circuit 206 exports second The second control signal that consequential signal and voltage detection circuit 208 export exports the 4th control signal, the first electronic switch Q1 roots The power pins Vcc of the first USB interface 204 and the first data pin D1 of the first USB interface 204 are controlled according to the 4th control signal Between open a way, the second electronic switch Q2 controls the first data pin D1 and the of the first USB interface 204 according to the 4th control signal It opens a way between second data pin D2 of one USB interface 204, the 3rd electronic switch Q3 controls first according to the 4th control signal It opens a way between second data pin D2 of USB interface 204 and the grounding pin GND of the first USB interface 204.USB adapter 20a Judge whether USB line 30a can bear to be more than the charging current of 2A and when USB line 30a can be held by voltage detection circuit 208 During by charging current more than 2A, USB adapter 20a judges current external electronic device by current-sensing circuit 206 again Whether 40 charging current draws more than 2A to determine the need for changing the power pins Vcc of the first USB interface with the first data The connection relation of foot D1, the second data pin D2 and grounding pin GND.
It should be noted that in the other embodiment of the present invention, voltage detection circuit 208 can also be electrically connected to the Second data pin D2 of one USB interface 204 is detected and is judged that the second data pin D2 of the first USB interface 204 whether there is DC voltage, so as to judge that the USB line 30a for being plugged to the first USB interface 204 is special type data cable or universal data Line.
It should be noted that in the present embodiment, the first USB interface 204 can be Series mother's A-type USB interfaces, Secondary USB interface 302 can be Series A-type public affairs USB interfaces, so that secondary USB interface 302 can directly be plugged to the In one USB interface 204, realize that USB line 30a is electrically connected with USB adapter 20b.First USB interface 204, secondary USB interface 302 Or Series B-type, Series mini interfaces.
Fig. 4 is the circuit diagram of USB adapter 20b in an embodiment of the present invention.In the present embodiment, current sense electricity Road 206 includes sampling resistor R1 and comparator C1.One end of sampling resistor R1 is electrically connected to voltage conversion circuit 202, the other end It is electrically connected to the grounding pin GND of the first USB interface 204.Comparator C1 includes positive input, negative input end and output terminal, compares The positive input terminal of device C1 is electrically connected to the common port of the grounding pin GND of sampling resistor R1 and the first USB interface 204, comparator For the negative input end of C1 for receiving reference voltage V ref, the output terminal of comparator C1 is electrically connected to control circuit 210.Current sense Circuit 206 or other can realize the module of current sense, such as current inductor.
Voltage detection circuit 208 can detect module to realize to the first USB interface 204 for the DC voltage of the prior art The first data pin D1 detecting, so being no longer described in detail.
Control circuit 210 includes and door AN1 and trigger T1.Include first input end, the second input terminal and defeated with door AN1 Outlet is electrically connected to voltage detection circuit 208 with the first input end of door AN1, and ratio is electrically connected to the second input terminal of door AN1 Compared with the output terminal of device C1.Trigger T1 includes input terminal, the first output terminal and second output terminal, and the input terminal of trigger T1 is electrically connected It is connected to the output terminal with door AN1, the first output terminal of trigger T1 is electrically connected to the first electronic switch Q1, and the second of trigger T1 Output terminal is electrically connected to the 3rd electronic switch Q3.In the present embodiment, trigger T1 be d type flip flop, the electricity of the first output terminal It puts down with the level of input terminal on the contrary, the level of second output terminal and the level of input terminal are identical.In other embodiment party of the present invention In formula, trigger T1 is alternatively other kinds of trigger.
First electronic switch Q1 includes control terminal, first end and second end.The control terminal electrical connection of first electronic switch Q1 In the first output terminal of trigger T1, the first end of the first electronic switch Q1 is electrically connected to 202 and the first USB of voltage conversion circuit The common port of the power pins Vcc of interface 204, the second end of the first electronic switch Q1 be electrically connected to voltage detection circuit 208 with The common port of first data pin D1 of the first USB interface 204.Second electronic switch Q2 includes control terminal, first end and second End.The control terminal of second electronic switch Q2 is electrically connected to the public of voltage conversion circuit 202 and the first input end with door AN1 End, the first end of the second electronic switch Q2 is electrically connected to voltage detection circuit 208 and the first data of the first USB interface 204 are drawn The common port of foot D1, the second end of the second electronic switch Q2 are electrically connected to the second data pin D2 of the first USB interface 204.The Three electronic switch Q3 include control terminal, first end and second end.The control terminal of 3rd electronic switch Q3 is electrically connected to trigger T1 Second output terminal, the first end of the 3rd electronic switch Q3 is electrically connected to the of the second electronic switch Q2 and the first USB interface 204 The common port of two data pin D2, the second end of the 3rd electronic switch Q3 are electrically connected to sampling resistor R1 and the first USB interface 204 Grounding pin GND common port.In the present embodiment, the first electronic switch Q1, the second electronic switch Q2 can be that p-type field is imitated Transistor is answered, the 3rd electronic switch can be n type field effect transistor.In the other embodiment of the present invention, the first electronic cutting Pass Q1, the second electronic switch Q2 are alternatively PNP triode, and the 3rd electronic switch Q3 is alternatively NPN type triode.
When voltage detection circuit 208 detects the first data pin D1 of the first USB interface 204 there is no DC voltage, That is, the USB line 30a of the first USB interface 204 of insertion is universal data cable, voltage detection circuit 208 exports low level, with door The first input end of AN1 is low level, and low level is exported with door AN1, and the first output terminal of trigger T1 is high level, trigger The second output terminal of T1 is low level, and the first electronic switch Q1 cut-offs, the second electronic switch Q2 are turned on, and the 3rd electronic switch Q3 is cut Only, open a way between the power pins Vcc of the first USB interface 204 and the first data pin D1 of the first USB interface 204, first Short-circuit between first data pin D1 of USB interface 204 and the second data pin D2 of the first USB interface 204, the first USB connects It opens a way between mouthful 204 the second data pin D2 and grounding pin GND of the first USB interface 204, at this time USB adapter 20b Charging principle is identical with the USB charger principle of the prior art, so being no longer described in detail.
When voltage detection circuit 208 detects the first data pin D1 of the first USB interface 204 there are DC voltage, also The USB line 30a of the first USB interface 204 is inserted into as special type data cable, and current-sensing circuit 206 detects charging current More than 2A, that is, when the voltage of the sampling resistor R1 other ends is more than reference voltage V ref, comparator C1 output high level, with door AN1 exports high level, and the first output terminal of trigger T1 is low level, and the second output terminal of trigger T1 is high level, and first Electronic switch Q1 conductings, the second electronic switch Q2 cut-offs, the 3rd electronic switch Q3 conductings, the power pins Vcc of the first USB interface It is connected in parallel with the first data pin D1 of the first USB interface, the second data pin D2 and the first USB of the first USB interface connects The grounding pin GND of mouth is connected in parallel, and the second data of the first data pin D1 and the first USB interface of the first USB interface are drawn It opens a way between foot D2, USB adapter 20b enters enhanced charge mode, and the charging more than 2A is carried out to external electronic 40 The charging of electric current.When external electronic 40 is gradually filled with electricity, charging current will decline automatically, current-sensing circuit 206 When detecting charging current no more than 2A, comparator C1 output low levels, at this point, even if voltage detection circuit 208 is still detected To the first USB interface 204 the first data pin D1 there are DC voltage, export low level with door AN1, the first of trigger T1 Output terminal is high level, and the second output terminal of trigger T1 is low level, and the first electronic switch Q1 ends, the second electronic switch Q2 Cut-off, the 3rd electronic switch Q3 cut-offs, the power pins Vcc of the first USB interface and the first data pin D1 of the first USB interface Between open a way, open a way between the first data pin D1 of the first USB interface and the second data pin D2 of the first USB interface, It opens a way between second data pin D2 of one USB interface and the grounding pin GND of the first USB interface, USB adapter 20b is external Portion's electronic device 40 carries out the charging current for charging no more than 2A until external electronic 40 is completely filled with.
Above-mentioned USB adapter is detected module by voltage/current and is closed to switch the connection of the four of its USB interface pins System enhances the withstanding current capability of USB interface, realizes that treating charging unit through USB line carries out large current charge, while can root The charging current of the suitable size of charging unit output is treated according to the USB line of different size.

Claims (10)

1. a kind of USB adapter is connected, which is characterized in that the USB adapter includes through USB line with external electronic:
Voltage conversion circuit, for carrying out voltage conversion to the output voltage of external power supply;
USB interface, including power pins, the first data pin, the second data pin and grounding pin, wherein the power pins It is electrically connected to the voltage conversion circuit;
Current-sensing circuit, one end are electrically connected to the voltage conversion circuit, and the other end is electrically connected to the grounding pin, is used for Detect the charging current when external electronic charges and compared with reference voltage to export comparative result signal;
First electronic switch is electrically connected to the current-sensing circuit, the power pins and first data pin, is used for Short circuit or open circuit between the power pins and first data pin are controlled according to the comparative result signal;
Second electronic switch is electrically connected to the current-sensing circuit, first data pin and second data pin, For controlling short circuit between first data pin and second data pin according to the comparative result signal or opening Road;And
3rd electronic switch is electrically connected to the current-sensing circuit, second data pin and the grounding pin, is used for Short circuit or open circuit between second data pin and the grounding pin are controlled according to the comparative result signal.
2. USB adapter as described in claim 1, which is characterized in that the current-sensing circuit is filled in the external electrical The charging current put exports the first comparative result signal when being more than the reference voltage, and first electronic switch is according to described the One comparative result signal controls short circuit between the power pins and first data pin, second electronic switch according to The first comparative result signal controls opens a way between first data pin and second data pin, the 3rd electricity Sub switch controls short circuit between second data pin and the grounding pin according to the first comparative result signal.
3. USB adapter as described in claim 1, which is characterized in that the current-sensing circuit is filled in the external electrical The charging current put exports the second comparative result signal when being not more than the reference voltage, and first electronic switch is according to Second comparative result signal controls opens a way between the power pins and first data pin, the second electronic switch root Short circuit between first data pin and second data pin is controlled according to the second comparative result signal, the described 3rd Electronic switch is controlled according to the second comparative result signal and opened a way between second data pin and the grounding pin.
4. USB adapter as described in claim 1, which is characterized in that further include voltage detection circuit, be electrically connected to described One data pin or second data pin, for detecting and judging first data pin or second data pin With the presence or absence of DC voltage.
5. USB adapter as claimed in claim 4, which is characterized in that the voltage detection circuit draws in first data Foot or second data pin export first control signal when DC voltage is not present, and first electronic switch is according to First control signal controls opens a way between the power pins and first data pin, and second electronic switch is according to institute It states first control signal and controls short circuit, the 3rd electronic switch between first data pin and second data pin It is controlled according to the first control signal and opened a way between second data pin and the grounding pin.
6. USB adapter as claimed in claim 4, which is characterized in that further include control circuit, be electrically connected to the electric current and detect Slowdown monitoring circuit, the voltage detection circuit, first electronic switch and the 3rd electronic switch, the voltage detection circuit exist Judge that there are second control signal, the electric current are exported during DC voltage for first data pin or second data pin Circuit for detecting exports the first comparative result signal, institute when the charging current of the external electronic is more than the reference voltage It is defeated to state first comparative result signal and the voltage detection circuit of the control circuit for being exported according to the current-sensing circuit The second control signal gone out exports the 3rd control signal, and first electronic switch is according to controlling the 3rd control signal Short-circuit between power pins and first data pin, second electronic switch controls institute according to the second control signal It states and opens a way between the first data pin and second data pin, the 3rd electronic switch is according to the 3rd control signal It controls short-circuit between second data pin and the grounding pin.
7. USB adapter as claimed in claim 4, which is characterized in that further include control circuit, be electrically connected to the electric current and detect Slowdown monitoring circuit, the voltage detection circuit, first electronic switch and the 3rd electronic switch, the voltage detection circuit exist Judge that there are second control signal, the electric current are exported during DC voltage for first data pin or second data pin Circuit for detecting exports the second comparative result signal when the charging current of the external electronic is not more than the reference voltage, The control circuit is used for the second comparative result signal exported according to the current-sensing circuit and the voltage detection circuit The second control signal of output exports the 4th control signal, and first electronic switch controls institute according to the 4th control signal It states and opens a way between power pins and first data pin, second electronic switch is controlled according to the second control signal It opens a way between first data pin and second data pin, the 3rd electronic switch is believed according to the described 4th control It number controls and to open a way between second data pin and the grounding pin.
8. USB adapter as claimed in claims 6 or 7, which is characterized in that second electronic switch is also electrically coupled to described Voltage detection circuit, the control circuit include:
With door, including first input end, the second input terminal and output terminal, the first input end is electrically connected to the detecting voltage Circuit, second input terminal are electrically connected to the current-sensing circuit;And
Trigger, including input terminal, the first output terminal and second output terminal, the input terminal of the trigger be electrically connected to it is described with The output terminal of door, first output terminal are electrically connected to first electronic switch, and the second output terminal is electrically connected to described 3rd electronic switch.
9. USB adapter as described in claim 1, which is characterized in that the current-sensing circuit includes:
Sampling resistor, one end are electrically connected to the voltage conversion circuit, and the other end is electrically connected to the grounding pin;And
Comparator, including positive input, negative input end and output terminal, the positive input terminal be electrically connected to the sampling resistor with it is described The common port of grounding pin, for the negative input end for receiving the reference voltage, the output terminal electrical connection described first is electric Sub switch, second electronic switch and the 3rd electronic switch.
10. a kind of USB line, including USB interface and connector, the connector is used to be plugged to external electronic device, the USB Interface includes power pins, the first data pin, the second data pin and grounding pin, which is characterized in that the power pins Short circuit is so that the power pins are connected in parallel with first data pin between first data pin, and described first Open a way between data pin and second data pin, between second data pin and the grounding pin short circuit so that Second data pin is connected in parallel with the grounding pin, so that the USB interface can receive filling more than 2 amperes Electric current.
CN201410160135.4A 2014-04-21 2014-04-21 USB adapter and USB line Active CN105022468B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410160135.4A CN105022468B (en) 2014-04-21 2014-04-21 USB adapter and USB line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410160135.4A CN105022468B (en) 2014-04-21 2014-04-21 USB adapter and USB line

Publications (2)

Publication Number Publication Date
CN105022468A CN105022468A (en) 2015-11-04
CN105022468B true CN105022468B (en) 2018-06-01

Family

ID=54412500

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410160135.4A Active CN105022468B (en) 2014-04-21 2014-04-21 USB adapter and USB line

Country Status (1)

Country Link
CN (1) CN105022468B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107404133A (en) * 2016-05-20 2017-11-28 中兴通讯股份有限公司 Charging method, charger and terminal
US10461556B2 (en) * 2016-08-19 2019-10-29 Shenzhen Royole Technologies Co, Ltd. Charger, electronic device, and charging method
JP2018529301A (en) * 2016-08-19 2018-10-04 シェンジェン ロイオル テクノロジーズ カンパニー リミテッドShenzhen Royole Technologies Co., Ltd. Power adapter, terminal device, charging system, and charging method
JP2020513719A (en) * 2016-11-21 2020-05-14 シェンジェン ロイオル テクノロジーズ カンパニー リミテッドShenzhen Royole Technologies Co., Ltd. Electronic device, charger, charging system and charging method
WO2019084812A1 (en) * 2017-10-31 2019-05-09 深圳市柔宇科技有限公司 Adapter, charging cable, electronic device and charging system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101359836A (en) * 2008-08-22 2009-02-04 北京中星微电子有限公司 Self-switching charging circuit
CN101627348A (en) * 2007-03-14 2010-01-13 索尼爱立信移动通讯股份有限公司 Charging cable with USB-like connector
CN103178583A (en) * 2013-03-25 2013-06-26 成都西可科技有限公司 Mobile phone USB (Universal Serial Bus) interface charging system supporting charging for other mobile devices and charging realization method of mobile phone USB interface charging system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004095250A1 (en) * 2003-04-23 2004-11-04 Fujitsu Limited Usb upstream device, usb connector, and usb cable
TWI384721B (en) * 2009-08-19 2013-02-01 Richtek Technology Corp Charger and portable device having the same
KR101667707B1 (en) * 2009-10-22 2016-10-19 엘지전자 주식회사 Mobile terminal and usb dedicated charger determinating method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101627348A (en) * 2007-03-14 2010-01-13 索尼爱立信移动通讯股份有限公司 Charging cable with USB-like connector
CN101359836A (en) * 2008-08-22 2009-02-04 北京中星微电子有限公司 Self-switching charging circuit
CN103178583A (en) * 2013-03-25 2013-06-26 成都西可科技有限公司 Mobile phone USB (Universal Serial Bus) interface charging system supporting charging for other mobile devices and charging realization method of mobile phone USB interface charging system

Also Published As

Publication number Publication date
CN105022468A (en) 2015-11-04

Similar Documents

Publication Publication Date Title
CN105022468B (en) USB adapter and USB line
TWI508411B (en) Universal serial bus adaptor and universal serial bus cable
CN106716389B (en) Method for fast USB charging, electronic device and charger device
US8880909B2 (en) Auto-detect polling for correct handshake to USB client
US20080272741A1 (en) Systems and methods for detecting power sources
WO2012142119A2 (en) Mobile device auto detection apparatus and method
EP3148031A1 (en) Bus interfaces with unpowered termination
CN104101808A (en) Charger detecting system and detecting method thereof and mobile terminal
CN106033400B (en) Universal serial bus cable species detection device and method
CN106654742A (en) USB hub supporting rapid charge
CN108539830A (en) A kind of charging control switching circuit and control method
CN106502939B (en) USB adapter and data transmission equipment
CN109086236A (en) Power source charges path switching circuit and its electronic equipment
CN105186598A (en) USB insertion automatic identification and power supply system and chip integrated with the same
CN206412566U (en) A kind of usb hub for supporting to fill soon
CN104714916A (en) Detection system for plugging or unplugging of external equipment on USB interface
CN109804527A (en) Charger
CN106160038B (en) Charging circuit
KR100700532B1 (en) A method for recognizing device connected to universal serial bus port and universal serial bus adaptor
TWI534631B (en) Dongle for electronic apparatus
CN203965559U (en) A kind of device for preventing that the USB interface connection status of electronic equipment from judging by accident
CN110912224A (en) Charging device and charging device control method
CN206650453U (en) Multiplex roles quick charge cable
CN207218342U (en) Binary channels USB special charging port controllers
CN206690889U (en) A kind of electric automobile Portable direct-current charging equipment

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20180228

Address after: 201613 Shanghai city south of Songjiang Export Processing Zone Road No. 1925

Applicant after: Ambit Microsystems (Shanghai) Co., Ltd.

Address before: 201613 Shanghai City, Songjiang District Songjiang Export Processing Zone South Road No. 1925

Applicant before: Ambit Microsystems (Shanghai) Co., Ltd.

Applicant before: Hon Hai Precision Industry Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant