CN104111910A - USB interface overload automatic switching method - Google Patents
USB interface overload automatic switching method Download PDFInfo
- Publication number
- CN104111910A CN104111910A CN201410343040.6A CN201410343040A CN104111910A CN 104111910 A CN104111910 A CN 104111910A CN 201410343040 A CN201410343040 A CN 201410343040A CN 104111910 A CN104111910 A CN 104111910A
- Authority
- CN
- China
- Prior art keywords
- usb
- usb interface
- triode
- embedded controller
- restrictor
- 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.)
- Pending
Links
Landscapes
- Power Sources (AREA)
Abstract
The invention discloses a USB interface overload automatic switching method that involves a USB controller, at least one USB current limiter, at least one USB interface, an embedded controller, a self-recovery protective tube and a triode, wherein the USB current limiter is serially connected between the USB controller and the corresponding USB interface, the USB current limiter(s) is/are connected to GPIO1 of the embedded controller, the GPIO2 of the embedded controller is connected to the base electrode of the triode, the collector electrode of the triode is connected to the self-recovery protective tube, and the emitter of the triode is connected between the USB current limiter(s) and the USB interface(s). Compared with the prior art, the USB interface overload automatic switching method has the characteristics of reasonable design and convenience in use, can solve the problem that the USB device cannot work due to insufficient power supply since a user only adopts one USB interface, and also can prevent the normal operation of the whole machine being influenced by system voltage bias in the using process of a plurality of large-current USB devices.
Description
Technical field
The present invention relates to portable computer USB interface technical field, specifically a kind of USB interface overload automatic switching method.
Background technology
Along with a large amount of of various digital equipments popularize, use the equipment of USB interface more and more, although yet these equipment have all adopted USB interface, but its power consumption is different, each USB interface of portable computer can provide to peripheral hardware the electric current of maximum 500mA, some equipment carries double-H groove weld SB cable, can meet power demands by 2 USB interface, and some equipment is as portable hard drive, CD-ROM drive etc., although surpassed the power demands of 500mA, double-H groove weld SB cable is not but provided, cause user when using this equipment because single port USB electricity shortage cannot be used.Generally, user can not use 4 large electric current USB device simultaneously, use the possibility of 1~2 large electric current USB device larger simultaneously, therefore do not affecting system power supply (5V system power supply, general mainboard Redundancy Design is 2A at least) under the prerequisite of ripple, large electric current request for utilization also becomes most important to USB interface to meet user.
Summary of the invention
Technical assignment of the present invention is to provide a kind of USB interface overload automatic switching method.
Technical assignment of the present invention is realized in the following manner, the method relates to USB controller, USB restrictor, USB interface, embedded controller, certainly recovers protective tube and triode, between USB controller and at least one USB interface, be in series with USB restrictor, USB restrictor is connected with the GPIO1 of embedded controller, the GPIO2 of embedded controller is connected with the base stage of triode, the collector of triode recovers protective tube with oneself and is connected, and the emitter of triode is connected between USB restrictor and USB interface.
Described USB interface is provided with two when above, and USB interface is arranged in parallel, and the corresponding USB restrictor that connects of each USB interface, is connected with the GPIO1 of embedded controller after the parallel connection of plural USB restrictor.
The method step is as follows:
When portable computer is normally worked, triode is in off state, the GPIO1 of embedded controller can detect the overload-alarm signal of USB interface in real time, when there is overload in USB interface, embedded controller can detect, and sends control signal subsequently by GPIO2, controls triode open-minded, for USB interface increase comes from from the electric current that recovers the 1A of protective tube, this electric current can need to be assigned to corresponding USB interface according to interfacing equipment.
A kind of USB interface overload automatic switching method of the present invention compared to the prior art, there is feature reasonable in design, easy to use, can solve the USB device that user adopts single port USB electricity shortage to cause and cannot use problem, can prevent that again in the use procedure of a plurality of large electric current USB device, system voltage draws the inclined to one side normal work problem of complete machine that affects.
Accompanying drawing explanation
Accompanying drawing 1 is a kind of USB interface overload automatic switchover theory diagram.
In figure: U1 is USB controller, U2, U3, U4 and U5 are USB restrictor, and CON1~CON4 is 4 USB interface, and U6 is EC(Embed Controller) translator of Chinese: embedded controller, F1 is for certainly recovering protective tube, and Q1 is triode.
Embodiment
Embodiment 1:
The method relates to USB controller U1, USB restrictor U2, USB interface CON1, embedded controller EC, certainly recovers protective tube F1 and triode Q1, between USB controller U1 and USB interface CON1, be in series with USB restrictor U2, USB restrictor U2 is connected with the GPIO1 of embedded controller EC, the GPIO2 of embedded controller EC is connected with the base stage of triode Q1, the collector of triode Q1 recovers protective tube F1 with oneself and is connected, and the emitter of triode Q1 is connected between USB restrictor U2 and USB interface CON1.
The method step is as follows: when portable computer is normally worked, triode Q1 is in off state, the GPIO1 of embedded controller EC can detect the overload-alarm signal of USB interface CON1 in real time, when there is overload in USB interface CON1, embedded controller EC can detect, GPIO2 by embedded controller EC sends control signal subsequently, controls triode Q1 open-minded, for USB interface CON1 increases the electric current coming from from recovering the 1A of protective tube F1.
Embodiment 2:
The method relates to USB controller U1, USB restrictor U2~U3, USB interface CON1~CON2, embedded controller EC, from recovering protective tube F1 and triode Q1, USB controller U1 and USB interface CON1, between USB interface CON2, correspondence is in series with USB restrictor U2 and USB restrictor U3 respectively, USB interface CON1 and USB interface CON2 are arranged in parallel, corresponding USB restrictor U2 and USB restrictor U3 are also arranged in parallel, USB restrictor U2 in parallel is connected with the GPIO1 of embedded controller EC with USB restrictor U3, the GPIO2 of embedded controller EC is connected with the base stage of triode Q1, the collector of triode Q1 recovers protective tube F1 with oneself and is connected, the emitter of triode Q1 is connected between two groups of USB restrictors and USB interface.
The method step is as follows: when portable computer is normally worked, triode Q1 is in off state, the GPIO1 of embedded controller EC can detect the overload-alarm signal of USB interface CON1 and USB interface CON2 in real time, when USB interface CON1 or USB interface CON2 appearance overload, embedded controller EC can detect, GPIO2 by embedded controller EC sends control signal subsequently, control triode Q1 open-minded, for USB interface CON1 or USB interface CON2 increase the electric current coming from from recovering the 1A of protective tube F1, this electric current can need to be assigned to corresponding USB interface CON1 or USB interface CON2 according to interfacing equipment.
Embodiment 3:
The method relates to USB controller U1, USB restrictor U2~U5, USB interface CON1~CON4, embedded controller EC, from recovering protective tube F1 and triode Q1, the corresponding USB restrictor U2~U5 that is in series with respectively between USB controller U1 and USB interface CON1~CON4, USB interface CON1~CON4 is arranged in parallel, corresponding USB restrictor U2~U5 is also arranged in parallel, USB restrictor U2~U5 in parallel is connected with the GPIO1 of embedded controller EC, the GPIO2 of embedded controller EC is connected with the base stage of triode Q1, the collector of triode Q1 recovers protective tube F1 with oneself and is connected, the emitter of triode Q1 is connected between four groups of USB restrictors and USB interface.
The method step is as follows: when portable computer is normally worked, triode Q1 is in off state, the GPIO1 of embedded controller EC can detect the overload-alarm signal of USB interface CON1~CON4 in real time, as USB interface CON1, USB interface CON2, while there is overload in USB interface CON3 or USB interface CON4, embedded controller EC can detect, GPIO2 by embedded controller EC sends control signal subsequently, control triode Q1 open-minded, for USB interface CON1, USB interface CON2, USB interface CON3 or USB interface CON4 increase the electric current coming from from recovering the 1A of protective tube F1, this electric current can need to be assigned to corresponding USB interface CON1 according to interfacing equipment, USB interface CON2, USB interface CON3 or USB interface CON4.
By embodiment above, described those skilled in the art can be easy to realize the present invention.But should be appreciated that the present invention is not limited to above-mentioned several embodiments.On the basis of disclosed embodiment, described those skilled in the art can the different technical characterictic of combination in any, thereby realizes different technical schemes.
Claims (3)
1. USB interface overload automatic switching method, it is characterized in that, the method relates to USB controller, USB restrictor, USB interface, embedded controller, certainly recovers protective tube and triode, between USB controller and at least one USB interface, be in series with USB restrictor, USB restrictor is connected with the GPIO1 of embedded controller, the GPIO2 of embedded controller is connected with the base stage of triode, the collector of triode recovers protective tube with oneself and is connected, and the emitter of triode is connected between USB restrictor and USB interface.
2. a kind of USB interface overload automatic switching method according to claim 1, it is characterized in that, described USB interface is provided with two when above, USB interface is arranged in parallel, the corresponding USB restrictor that connects of each USB interface, is connected with the GPIO1 of embedded controller after the parallel connection of plural USB restrictor.
3. a kind of USB interface overload automatic switching method according to claim 1, it is characterized in that, the method step is as follows: when portable computer is normally worked, triode is in off state, the GPIO1 of embedded controller can detect the overload-alarm signal of USB interface in real time, when there is overload in USB interface, embedded controller can detect, by GPIO2, send control signal subsequently, control triode is open-minded, for USB interface increase comes from from the electric current that recovers the 1A of protective tube, this electric current can need to be assigned to corresponding USB interface according to interfacing equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410343040.6A CN104111910A (en) | 2014-07-18 | 2014-07-18 | USB interface overload automatic switching method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410343040.6A CN104111910A (en) | 2014-07-18 | 2014-07-18 | USB interface overload automatic switching method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104111910A true CN104111910A (en) | 2014-10-22 |
Family
ID=51708707
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410343040.6A Pending CN104111910A (en) | 2014-07-18 | 2014-07-18 | USB interface overload automatic switching method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104111910A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108763133A (en) * | 2018-05-30 | 2018-11-06 | 郑州云海信息技术有限公司 | A kind of device for realizing the switching of USB interface multi-controller based on FPGA |
CN109074142A (en) * | 2016-07-12 | 2018-12-21 | 惠普发展公司,有限责任合伙企业 | Power termination is balanced in USB port |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201149942Y (en) * | 2007-11-29 | 2008-11-12 | 北京飞天诚信科技有限公司 | USB switching equipment with over-current protection function and choice working current range |
CN201159892Y (en) * | 2007-11-23 | 2008-12-03 | 北京飞天诚信科技有限公司 | USB concentrator with choice current margin and overflowing protection function |
CN102684243A (en) * | 2011-03-18 | 2012-09-19 | 祥业科技股份有限公司 | Integrated battery charger |
CN203658888U (en) * | 2013-12-06 | 2014-06-18 | Tcl通力电子(惠州)有限公司 | USB power supply compensating circuit and portable electronic equipment |
-
2014
- 2014-07-18 CN CN201410343040.6A patent/CN104111910A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201159892Y (en) * | 2007-11-23 | 2008-12-03 | 北京飞天诚信科技有限公司 | USB concentrator with choice current margin and overflowing protection function |
CN201149942Y (en) * | 2007-11-29 | 2008-11-12 | 北京飞天诚信科技有限公司 | USB switching equipment with over-current protection function and choice working current range |
CN102684243A (en) * | 2011-03-18 | 2012-09-19 | 祥业科技股份有限公司 | Integrated battery charger |
CN203658888U (en) * | 2013-12-06 | 2014-06-18 | Tcl通力电子(惠州)有限公司 | USB power supply compensating circuit and portable electronic equipment |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109074142A (en) * | 2016-07-12 | 2018-12-21 | 惠普发展公司,有限责任合伙企业 | Power termination is balanced in USB port |
US10996729B2 (en) | 2016-07-12 | 2021-05-04 | Hewlett-Packard Development Company, L.P. | Balancing a power load among USB ports |
CN108763133A (en) * | 2018-05-30 | 2018-11-06 | 郑州云海信息技术有限公司 | A kind of device for realizing the switching of USB interface multi-controller based on FPGA |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN201146393Y (en) | Automatic recognition circuit for charging power supply | |
CN103905756B (en) | Television set failure processing device and television set | |
CN203930612U (en) | A kind of multi-functional PCIE IO card extender | |
CN202444381U (en) | Rotating shaft grounding device for generator | |
CN104111910A (en) | USB interface overload automatic switching method | |
CN102480360B (en) | Power control method of multiple servers | |
CN203217033U (en) | Fault positioning and diagnosing system for power distribution network | |
CN102480432A (en) | Rack-mounted server system | |
CN104701580A (en) | Battery and power supply switching method | |
CN111845386B (en) | Charging processing method and control equipment for electric bicycle | |
CN103546138A (en) | Touch key control circuit | |
CN103543972A (en) | KVM switcher indicating device and KVM switching system | |
CN102572062A (en) | Device for forcibly closing deadlocking mobile phone system through common key | |
CN202550673U (en) | Load monitoring system for power distribution network | |
CN204925944U (en) | Main frame with stand -by power supply | |
CN202059666U (en) | Ion fan system | |
CN103777974A (en) | Server and starting method thereof | |
CN205158383U (en) | Data collection station based on infrared ray | |
CN202059665U (en) | Novel ion blower fan | |
CN104348674A (en) | Method for monitoring electric response to server operation | |
CN106033200A (en) | Control method and power supply equipment | |
CN204406322U (en) | Server power supply monitoring system | |
CN104035827A (en) | Electronic device | |
CN204425184U (en) | A kind of two-supply circuit | |
CN203563078U (en) | Communication server expander |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20141022 |
|
WD01 | Invention patent application deemed withdrawn after publication |