[go: up one dir, main page]

CN104079030A - USB downlink port charger - Google Patents

USB downlink port charger Download PDF

Info

Publication number
CN104079030A
CN104079030A CN201410283587.1A CN201410283587A CN104079030A CN 104079030 A CN104079030 A CN 104079030A CN 201410283587 A CN201410283587 A CN 201410283587A CN 104079030 A CN104079030 A CN 104079030A
Authority
CN
China
Prior art keywords
comparator
reference voltage
data wire
usb
electronic switch
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
CN201410283587.1A
Other languages
Chinese (zh)
Other versions
CN104079030B (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.)
IPGoal Microelectronics Sichuan Co Ltd
Original Assignee
IPGoal Microelectronics Sichuan 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 IPGoal Microelectronics Sichuan Co Ltd filed Critical IPGoal Microelectronics Sichuan Co Ltd
Priority to CN201410283587.1A priority Critical patent/CN104079030B/en
Publication of CN104079030A publication Critical patent/CN104079030A/en
Application granted granted Critical
Publication of CN104079030B publication Critical patent/CN104079030B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a USB downlink port charger arranged on a host port. The USB downlink port charger comprises a first comparator, a second comparator, a third comparator, a controller and an electronic switch. Both the non-inverting input end of the first comparator and the inverting input end of the second comparator are connected with a DP data wire. Reference voltage of low voltage is input to the inverting input end of the first comparator. Reference voltage of high voltage is input to the non-inverting input end of the second comparator. The inverting input end of the third comparator is connected with a DM data wire. The reference voltage of the high voltage is input to the non-inverting input end of the third comparator. The output end of the first comparator, the output end of the second comparator and the output end of the third comparator are all connected with the controller. One end of the electronic switch is connected with the DP data wire and the other end of the electronic switch is connected with the DM data wire. The control end of the electronic switch is connected with the output end of the controller. The USB downlink port charger is easy to use, low in cost, capable of allowing all USB peripheral devices to be charged normally, and good in compatibility.

Description

USB downlink port charger
Technical field
The present invention relates to integrated circuit fields, relate more specifically to a kind of USB downlink port charger that is arranged at host port.
Background technology
USB interface, as a kind of communication interface being widely used on market, relates to host computer, keyboard and mouse, camera, mobile phone, panel computer, navigator, camera, game machine etc.Along with the unification of all kinds of consumption electronic product charging inlets, most of consumption electronic product is all supported the direct charging of USB interface double data communication function simultaneously.On market, USB peripheral hardware kind is numerous and diverse, the charging scheme of each JiaUSB chip manufacturer is not quite similar, its charging scheme of some USB chips manufacturer is even completely self-defined, do not meet USB charging agreement or differ greatly with USB charging agreement, this makes USB HOST port or USB HUB downlink port propose challenge to the compatible support of the charging support of various USB peripheral hardwares
Therefore be necessary, at USB downlink port, special charging control circuit is set, various USB peripheral hardwares charged supporting.
Summary of the invention
The object of this invention is to provide a kind of USB downlink port charger, described USB downlink port charger is used simple, with low cost, can make each USB peripheral hardware charge normal, compatible good.
For achieving the above object, the invention provides a kind of USB downlink port charger, be arranged at host port, it comprises the first comparator, the second comparator, the 3rd comparator, controller and electronic switch, the positive input of described the first comparator is all connected with DP data wire with the reverse input end of described the second comparator, the reference voltage of one low-voltage is inputted the reverse input end of described the first comparator, one high-tension reference voltage is inputted the positive input of described the second comparator, the reverse input end of described the 3rd comparator is connected with DM data wire, described high-tension reference voltage is inputted the positive input of described the 3rd comparator, described the first comparator, the output of the second comparator and the 3rd comparator is all connected with described controller, one end of described electronic switch is connected with DP data wire, the other end is connected with DM data wire, the control end of described electronic switch is connected with the output of described controller, when by voltage on DP data wire relatively being detected and be greater than the reference voltage of low-voltage and be less than high-tension reference voltage of described the first comparator, the second comparator, described controller is controlled described electronic switch closes, when by voltage on DP data wire or DM data wire relatively being detected and be greater than high-tension reference voltage of described the second comparator and the 3rd comparator, described controller is controlled described electronic switch and is disconnected.
Preferably, the reference voltage of described low-voltage and high-tension reference voltage are the reference voltage that meets USB charging agreement.
Preferably, main frame output first controls signal to a control end of described controller, and when described the first control signal is when effective, described controller is controlled described electronic switch closes.
Preferably, main frame output second controls signal to another control end of described controller, and when USB peripheral hardware and main frame disconnect, described the second control signal that main frame is exported is effective.
Compared with prior art, USB downlink port charger of the present invention can be by described while stating voltage on DP data wire relatively being detected and be greater than the reference voltage of low-voltage and be less than high-tension reference voltage of the first comparator, the second comparator, described controller is controlled described electronic switch closes, thereby switches on to USB peripheral hardware by described electronic switch short circuit DP data wire and DM data wire; In addition, during by voltage on DP data wire or DM data wire relatively being detected and be greater than high-tension reference voltage of described the second comparator and the 3rd comparator, described controller is controlled described electronic switch and is disconnected, thereby the USB peripheral hardware being connected with host port can carry out transfer of data with main frame; Therefore USB downlink port charger of the present invention can be realized various USB peripheral hardwares and carries out transfer of data or charging with main frame simultaneously, and compatible good, the scope of application is wide
By following description also by reference to the accompanying drawings, it is more clear that the present invention will become, and these accompanying drawings are used for explaining the present invention.
Accompanying drawing explanation
Fig. 1 is the circuit structure diagram of USB downlink port charger of the present invention.
Embodiment
With reference now to accompanying drawing, describe embodiments of the invention, in accompanying drawing, similarly element numbers represents similar element.As mentioned above, the invention provides a kind of USB downlink port charger, described USB downlink port charger is used simple, with low cost, can make each USB peripheral hardware charge normal, compatible good.
Please refer to Fig. 1, Fig. 1 is the circuit structure diagram of USB downlink port charger of the present invention.And USB downlink port charger circuit of the present invention is arranged at host port side, and USB peripheral hardware is connected with host port with DM data wire by DP data wire, thereby USB peripheral hardware can charge to USB peripheral hardware by usb data line after being connected with main frame.USB downlink port charger of the present invention comprises the first comparator C OM1, the second comparator C OM2, the 3rd comparator C OM3, controller MCU and electronic switch k1.The positive input of described the first comparator C OM1 is all connected with DP data wire with the reverse input end of described the second comparator C OM2; The reference voltage vref_l of one low-voltage inputs the reverse input end of described the first comparator C OM1, and a high-tension reference voltage vref_h inputs the positive input of described the second comparator C OM2; Thereby the size of the magnitude of voltage on the more described DP data wire of described the first comparator C OM1 and the reference voltage vref_l of described low-voltage, the magnitude of voltage on the more described DP data wire of described the second comparator C OM2 and the size of described high-tension reference voltage vref_h; The reverse input end of described the 3rd comparator C OM3 is connected with DM data wire, described high-tension reference voltage vref_h inputs the positive input of described the 3rd comparator C OM3, thereby, the magnitude of voltage on the more described DM data wire of described the 3rd comparator C OM3 and the size of described high-tension reference voltage vref_h.The output of described the first comparator C OM1, the second comparator C OM2 and the 3rd comparator C OM3 is all connected with described controller MCU, thereby, described the first comparator C OM1, the second comparator C OM2 and the 3rd comparator C OM3 input to described controller MCU by the voltage ratio that contrast obtains separately result just, thereby described controller MCU carries out further analyzing and processing to the result of input.One end of described electronic switch K1 is connected with DP data wire, the other end is connected with DM data wire, and the control end of described electronic switch K1 is connected with the output of described controller MCU, thereby described controller MCU controls the break-make of described electronic switch K1 by the comparing result of three comparator inputs.Wherein, when by voltage on DP data wire relatively being detected and be greater than the reference voltage vref_l of low-voltage and be less than high-tension reference voltage vref_h of described the first comparator C OM1, the second comparator C OM2, described controller MCU exports control signal to control described electronic switch K1 closed by the result of input being carried out to analyzing and processing, now, DP data wire and DM data wire short circuit, thus can charge to the USB peripheral hardware being connected with host port; When by voltage on DP data wire or DM data wire relatively being detected and be greater than high-tension reference voltage vref_h of described the first comparator C OM1, the second comparator C OM2, the 3rd comparator C OM3, described controller MCU controls described electronic switch K1 and disconnects, thereby the USB peripheral hardware being connected with host port can carry out transfer of data with main frame.Therefore, can realize various USB peripheral hardwares carry out transfer of data or charging with main frame by USB downlink port charger of the present invention, compatible good, the scope of application is wide simultaneously.
In addition, in the preferred embodiment of the present invention, the reference voltage vref_l of described low-voltage and high-tension reference voltage vref_h are the reference voltage that meets USB charging agreement (USB BC1.2), thereby the USB peripheral hardware that can guarantee to meet USB charging agreement all can normally charge after being connected with host port; And the reference voltage vref_l of described low-voltage and high-tension reference voltage vref_h all can regulate as the case may be, wherein, the reference voltage vref_l adjustable voltage scope of described low-voltage is 0.4V~0.8V, and described high-tension reference voltage vref_h adjustable voltage scope is 2.8V~3.3V.
Further, in the preferred embodiment of the present invention, main frame is exported the first control signal fouce_short to a control end of described controller, when described the first control signal fouce_short is when effective, it is closed that described controller MCU controls described electronic switch K1, thereby under abnormal conditions, can force USB peripheral hardware to charge.In addition, main frame is exported the second control signal dev_discom to another control end of described controller MCU, when USB peripheral hardware and main frame disconnect, the described second control signal dev_discom of main frame output is effective, when USB peripheral hardware and host port disconnect, main frame feeds back a signal (the second control signal) to USB downlink port charger of the present invention, to point out the connection status of described controller MCU USB peripheral hardware; Thereby can disconnect by described the second control signal dev_discom prompting USB peripheral hardware, repeat the detection of DP, DM data line voltage.
Invention has been described for above combination most preferred embodiment, but the present invention is not limited to the embodiment of above announcement, and should contain the various modifications of carrying out according to essence of the present invention, equivalent combinations.

Claims (4)

1. a USB downlink port charger, be arranged at host port, it is characterized in that, comprise the first comparator, the second comparator, the 3rd comparator, controller and electronic switch, the positive input of described the first comparator is all connected with DP data wire with the reverse input end of described the second comparator, the reference voltage of one low-voltage is inputted the reverse input end of described the first comparator, one high-tension reference voltage is inputted the positive input of described the second comparator, the reverse input end of described the 3rd comparator is connected with DM data wire, described high-tension reference voltage is inputted the positive input of described the 3rd comparator, described the first comparator, the output of the second comparator and the 3rd comparator is all connected with described controller, one end of described electronic switch is connected with DP data wire, the other end is connected with DM data wire, the control end of described electronic switch is connected with the output of described controller, when by voltage on DP data wire relatively being detected and be greater than the reference voltage of low-voltage and be less than high-tension reference voltage of described the first comparator, the second comparator, described controller is controlled described electronic switch closes, when by voltage on DP data wire or DM data wire relatively being detected and be greater than high-tension reference voltage of described the second comparator and the 3rd comparator, described controller is controlled described electronic switch and is disconnected.
2. USB downlink port charger as claimed in claim 1, is characterized in that, the reference voltage of described low-voltage and high-tension reference voltage are the reference voltage that meets USB charging agreement.
3. USB downlink port charger as claimed in claim 2, is characterized in that, main frame output first controls signal to a control end of described controller, and when described the first control signal is when effective, described controller is controlled described electronic switch closes.
4. USB downlink port charger as claimed in claim 3, is characterized in that, main frame output second controls signal to another control end of described controller, and when USB peripheral hardware and main frame disconnect, described the second control signal that main frame is exported is effective.
CN201410283587.1A 2014-06-23 2014-06-23 USB downstream port charger Active CN104079030B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410283587.1A CN104079030B (en) 2014-06-23 2014-06-23 USB downstream port charger

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410283587.1A CN104079030B (en) 2014-06-23 2014-06-23 USB downstream port charger

Publications (2)

Publication Number Publication Date
CN104079030A true CN104079030A (en) 2014-10-01
CN104079030B CN104079030B (en) 2016-09-07

Family

ID=51600136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410283587.1A Active CN104079030B (en) 2014-06-23 2014-06-23 USB downstream port charger

Country Status (1)

Country Link
CN (1) CN104079030B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106597066A (en) * 2016-12-07 2017-04-26 硅谷数模半导体(北京)有限公司 USBType-C bus voltage sampling circuit

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7292073B2 (en) * 2005-05-30 2007-11-06 Freescale Semiconductor, Inc. Transmission line driver circuit
CN102393837A (en) * 2011-11-08 2012-03-28 深圳市海思半导体有限公司 USB charger recognition device and method
CN102692570A (en) * 2011-03-24 2012-09-26 半导体元件工业有限责任公司 Input-output circuit
CN202797874U (en) * 2012-07-03 2013-03-13 青岛海信移动通信技术股份有限公司 Over-voltage protection circuit and mobile terminal
CN202948445U (en) * 2012-09-03 2013-05-22 青岛海信宽带多媒体技术有限公司 Universal serial bus (USB) interface expansion circuit
CN203951234U (en) * 2014-06-23 2014-11-19 四川和芯微电子股份有限公司 USB downlink port charger

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7292073B2 (en) * 2005-05-30 2007-11-06 Freescale Semiconductor, Inc. Transmission line driver circuit
CN102692570A (en) * 2011-03-24 2012-09-26 半导体元件工业有限责任公司 Input-output circuit
CN102393837A (en) * 2011-11-08 2012-03-28 深圳市海思半导体有限公司 USB charger recognition device and method
CN202797874U (en) * 2012-07-03 2013-03-13 青岛海信移动通信技术股份有限公司 Over-voltage protection circuit and mobile terminal
CN202948445U (en) * 2012-09-03 2013-05-22 青岛海信宽带多媒体技术有限公司 Universal serial bus (USB) interface expansion circuit
CN203951234U (en) * 2014-06-23 2014-11-19 四川和芯微电子股份有限公司 USB downlink port charger

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王志军,等: "用USB接口为接入设备供电的解决方案及设计分析", 《长春理工大学学报》, vol. 28, no. 2, 30 June 2005 (2005-06-30) *
魏明: "最新USB充电技术与测试", 《现代电信科技》, no. 12, 31 December 2011 (2011-12-31) *

Also Published As

Publication number Publication date
CN104079030B (en) 2016-09-07

Similar Documents

Publication Publication Date Title
US9787115B2 (en) Universal serial bus adaptor and universal serial bus cable
US9153999B2 (en) Circuits and methods for automatic power source detection
CN105281398B (en) Portable equipment, CA cable assembly and USB system
EP3285355A3 (en) Electronic equipment, charger, charge system and charge method
US10574073B2 (en) Electronic device and method for controlling power supply
US20120005385A1 (en) Communication circuit of inter-integrated circuit device
CN207320876U (en) A kind of charging circuit and charger
CN105162213A (en) USB controller, and device
CN105186598A (en) USB insertion automatic identification and power supply system and chip integrated with the same
US9948094B1 (en) Power level switching circuit for a dual port adapter
US9577455B2 (en) High power charging device
US9606614B2 (en) Load device and electronic device assembly with load device
US20120089763A1 (en) Computer and usb interface module thereof
CN104810868B (en) Charging system and charging method thereof
CN203951234U (en) USB downlink port charger
CN104079030A (en) USB downlink port charger
US9722444B2 (en) Electronic device and charging interface
US9262358B2 (en) Expresscard adapter and electronic device
CN202455111U (en) USB (Universal Serial Bus) quick charging adapter
US10003213B2 (en) Power adapter
CN104934823A (en) USB concentrator
CN204886334U (en) Charging identification circuit and charging identification chip
US9570928B2 (en) Power supply system for wireless keyboard
TWI527339B (en) Charge device
US20160147625A1 (en) Detecting device for detecting usb 2.0 specification and electronic apparatus with detecting device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant