CN102820639B - A kind of over-current protection method of mainboard USB interface - Google Patents

A kind of over-current protection method of mainboard USB interface Download PDF

Info

Publication number
CN102820639B
CN102820639B CN201210290710.3A CN201210290710A CN102820639B CN 102820639 B CN102820639 B CN 102820639B CN 201210290710 A CN201210290710 A CN 201210290710A CN 102820639 B CN102820639 B CN 102820639B
Authority
CN
China
Prior art keywords
usb
mainboard
operating system
usb device
usb interface
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
CN201210290710.3A
Other languages
Chinese (zh)
Other versions
CN102820639A (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.)
Nettrix Information Industry Beijing Co Ltd
Original Assignee
Dawning Information Industry Beijing 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 Dawning Information Industry Beijing Co Ltd filed Critical Dawning Information Industry Beijing Co Ltd
Priority to CN201210290710.3A priority Critical patent/CN102820639B/en
Publication of CN102820639A publication Critical patent/CN102820639A/en
Application granted granted Critical
Publication of CN102820639B publication Critical patent/CN102820639B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides the over-current protection method of a kind of mainboard USB interface; comprise the following steps: during operating system; if the maximum that the USB device electric current of the USB interface inserted exceedes resettable fuse bears electric current, described resettable fuse fuses, and mainboard stops powering to USB device;USB controller detects USB device and crosses stream;Described USB controller gives a warning to described operating system by BIOS, thus informs the USB device overcurrent that user inserts;If user pulled out the USB device of stream, recovery is powered by described resettable fuse to USB device, and USB controller will detect high level simultaneously, and BIOS stops reporting to the police to described operating system, and described operating system is restored to normal condition.The present invention can real-time guard mainboard USB interface cross stream and and alarm, find unstable factor in time, it is ensured that mainboard and security of system, stability.

Description

A kind of over-current protection method of mainboard USB interface
Technical field
The present invention relates to a kind of guard method, be specifically related to the over-current protection method of a kind of mainboard USB interface.
Background technology
General-purpose serial bus USB (UniversalSerialBUS) is an external bus standard, for being connected and communicate with of specification computer and external equipment.It is to apply the interfacing in PC field.USB interface props up plug and play and the warm connection function of holding equipment.USB will be combined proposition in the end of the year 1994 by Intel, Compaq, IBM, Microsoft Deng Duo company.
Along with popularizing of USB device, PC or server are ubiquitous to the dependence of USB device.On market, USB device quality is uneven, and protection PC mainboard or server master board are not damaged extremely important by USB device, and mainboard USB interface overcurrent protection is its core content.
The patent of invention of Application No. 201010557881.9 provides the current protecting circuit of a kind of USB interface; for electronic equipment, this USB interface plugs USB device, including back flow protection unit; have: control end, be electrically connected with the first running voltage of this electronic equipment;Input, is electrically connected with the second running voltage of this electronic equipment;And outfan, it is used for exporting this second running voltage;Wherein, in the presence of the first running voltage, the input of back flow protection unit electrically conducts with outfan, and this electronic equipment is powered to this USB device;When the first running voltage not in the presence of, the input of back flow protection unit electrically isolates with outfan, this electronic equipment stop power to this USB device.Without reference to alarm and protection problem in this invention, using to user and cause puzzlement, this invention can play a protective role and let the user know that the unavailable reason of USB device simultaneously.
Summary of the invention
In order to overcome above-mentioned the deficiencies in the prior art, the present invention provides the over-current protection method of a kind of mainboard USB interface, it is possible to real-time guard mainboard USB interface is crossed and flowed also and alarm, finds unstable factor in time, it is ensured that mainboard and security of system, stability.
In order to realize foregoing invention purpose, the present invention adopts the following technical scheme that:
The over-current protection method of a kind of mainboard USB interface, said method comprising the steps of:
Step 1: during operating system, if the maximum that the USB device electric current of the USB interface inserted exceedes resettable fuse bears electric current, described resettable fuse fuses, and mainboard stops powering to USB device;
Step 2:USB controller detects low level by detecting pin, and USB device crosses stream;
Step 3: described USB controller gives a warning to described operating system by BIOS, thus informs the USB device overcurrent that user inserts;
Step 4: if user pulled out the USB device of stream, recovery is powered by described resettable fuse to USB device, the pin of USB controller detecting simultaneously will detect high level, and BIOS stops reporting to the police to described operating system, and described operating system is restored to normal condition.
In described step 1, described USB device inserts USB interface, and it is carried out data transmission with described USB controller by USB differential signal.
In described step 2, described USB controller crosses stream by Pinoc0_N_GPIO59 signal detection to USB device.
In described step 3, the USB device overcurrent that user inserts is informed in the power supply restriction that described USB controller has exceeded its hub port by prompting USBMassStorageDevice.
Described operating system is operating system or the operating system of server of PC.
Compared with prior art; the beneficial effects of the present invention is: the over-current protection method of the mainboard USB interface that the present invention provides; can real-time guard mainboard USB interface cross stream and and alarm; find unstable factor in time; ensure mainboard and security of system; stability, and the method is simple and reliable, easily performs.
Accompanying drawing explanation
Fig. 1 is USB connection diagram in mainboard;
Fig. 2 is USB controller and USB interface circuit connection diagram.
Detailed description of the invention
Below in conjunction with the accompanying drawings the present invention is described in further detail.
Such as Fig. 1 and Fig. 2, the over-current protection method of a kind of mainboard USB interface, said method comprising the steps of:
Step 1: during operating system, if the maximum that the USB device electric current of the USB interface inserted exceedes resettable fuse FS1 bears electric current, described resettable fuse FS1 fuses, and mainboard stops powering to USB device;
Step 2: after resettable fuse FS1 fusing, R1, R2 do not have voltage to carry out dividing potential drop, are equivalent to USB controller Pinoc0_N_GPIO59 by resistance R2 ground connection, the most described USB controller to low level by Pinoc0_N_GPIO59 signal detection, is i.e. understood USB device and crosses stream;
Step 3: described USB controller gives a warning to described operating system by BIOS, thus informs the USB device overcurrent that user inserts;
Step 4: if user pulled out the USB device of stream, recovery is powered by described resettable fuse to USB device, USB controller will detect high level simultaneously, basic input-output system BIOS (BasicInputOutputSystem) stops reporting to the police to described operating system, and described operating system is restored to normal condition.
In described step 1, described USB device inserts USB interface, and it is carried out data transmission with described USB controller by USB differential signal.
In described step 3, the USB device overcurrent that user inserts is informed in the power supply restriction that described USB controller has exceeded its hub port by prompting USBMassStorageDevice.
Described operating system is operating system or the operating system of server of PC.
In sum, the over-current protection method of the mainboard USB interface that the present invention provides, the method is simple and reliable, easily performs, it is possible to real-time guard mainboard USB interface is crossed and flowed also and alarm, finds unstable factor in time, it is ensured that mainboard and security of system, stability.
Finally should be noted that: above example is only in order to illustrate that technical scheme is not intended to limit, although the present invention being described in detail with reference to above-described embodiment, those of ordinary skill in the field are it is understood that still can modify or equivalent to the detailed description of the invention of the present invention, and without departing from any amendment of spirit and scope of the invention or equivalent, it all should be contained in the middle of scope of the presently claimed invention.

Claims (5)

1. the over-current protection method of a mainboard USB interface, it is characterised in that: said method comprising the steps of:
Step 1: during operating system, if the maximum that the USB device electric current of the USB interface inserted exceedes resettable fuse bears electric current, described resettable fuse fuses, and mainboard stops powering to USB device;
Step 2:USB controller detects low level by detecting pin, and USB device crosses stream;
Step 3: described USB controller gives a warning to described operating system by BIOS, thus informs the USB device overcurrent that user inserts;
Step 4: if user pulled out the USB device of stream, recovery is powered by described resettable fuse to USB device, the pin of USB controller detecting simultaneously will detect high level, and BIOS stops reporting to the police to described operating system, and described operating system is restored to normal condition.
The over-current protection method of mainboard USB interface the most according to claim 1, it is characterised in that: in described step 1, described USB device inserts USB interface, and it is carried out data transmission with described USB controller by USB differential signal.
The over-current protection method of mainboard USB interface the most according to claim 1, it is characterised in that: in described step 2, described USB controller detects USB device by pin oc0_N_GPIO59 and crosses stream.
The over-current protection method of mainboard USB interface the most according to claim 1; it is characterized in that: in described step 3, the USB device overcurrent that user inserts is informed in the power supply restriction that described USB controller has exceeded its hub port by prompting USB mass memory unit.
The over-current protection method of mainboard USB interface the most according to claim 1, it is characterised in that: described operating system is operating system or the operating system of server of PC.
CN201210290710.3A 2012-08-15 2012-08-15 A kind of over-current protection method of mainboard USB interface Active CN102820639B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210290710.3A CN102820639B (en) 2012-08-15 2012-08-15 A kind of over-current protection method of mainboard USB interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210290710.3A CN102820639B (en) 2012-08-15 2012-08-15 A kind of over-current protection method of mainboard USB interface

Publications (2)

Publication Number Publication Date
CN102820639A CN102820639A (en) 2012-12-12
CN102820639B true CN102820639B (en) 2016-08-03

Family

ID=47304569

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210290710.3A Active CN102820639B (en) 2012-08-15 2012-08-15 A kind of over-current protection method of mainboard USB interface

Country Status (1)

Country Link
CN (1) CN102820639B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10579118B2 (en) 2016-01-06 2020-03-03 Hewlett-Packard Development Company, L.P. Detection circuits
US11334132B2 (en) 2018-04-18 2022-05-17 Hewlett-Packard Development Company, L.P. Power selection for PUSB ports
CN108879589B (en) * 2018-05-31 2020-09-18 Oppo(重庆)智能科技有限公司 Overcurrent protection method and device, terminal equipment and storage medium
CN111224657A (en) * 2019-12-25 2020-06-02 曙光信息产业(北京)有限公司 Power supply switching circuit of computer USB port

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN200953123Y (en) * 2006-09-27 2007-09-26 揭雪强 USB interface protection circuit
CN201708515U (en) * 2010-06-08 2011-01-12 深圳Tcl新技术有限公司 Power protection circuit
CN201947167U (en) * 2011-02-18 2011-08-24 深圳精美精科技有限公司 USB (universal serial bus) power supply circuit

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080005415A1 (en) * 2006-06-06 2008-01-03 Lopez Fernando A Disabling a Universal Serial Bus Port

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN200953123Y (en) * 2006-09-27 2007-09-26 揭雪强 USB interface protection circuit
CN201708515U (en) * 2010-06-08 2011-01-12 深圳Tcl新技术有限公司 Power protection circuit
CN201947167U (en) * 2011-02-18 2011-08-24 深圳精美精科技有限公司 USB (universal serial bus) power supply circuit

Also Published As

Publication number Publication date
CN102820639A (en) 2012-12-12

Similar Documents

Publication Publication Date Title
US10402274B2 (en) Power loss protection
CN102820639B (en) A kind of over-current protection method of mainboard USB interface
CN201269902Y (en) Break-down detection circuit for electronic electrical energy meter
TW201824006A (en) Usb type-c to legacy usb cable detection
CN210925482U (en) Storage device based on Loongson processor
CN202651773U (en) Overvoltage protection device of direct current adapter
CN101634885A (en) Detection supply circuit for USB interface
JP2006048594A (en) Usb device
CN102938556B (en) With the capacitor protection measurement and control integration device of unbalanced current protection function
CN203707731U (en) An automatic recovery circuit for intrinsic safe power supply output protection
CN204945321U (en) Finance device card reader card inlet detects steals card device
CN202422283U (en) ESAM (Embedded Secure Access Module) and CPU (Central Processing Unit) card interface circuit for electric energy meter
CN203387159U (en) Short circuit protection circuit of triode voltage stabilizing circuit
CN103138119A (en) USB data line with overvoltage and overcurrent protection
CN205863890U (en) A kind of relay load short circuits, broken circuit detection circuit
CN205160570U (en) Cloud terminal equipment with voltage detecting and overvoltage protection
CN202548751U (en) Computer power failure protection system
CN217215948U (en) Overvoltage slow recovery protection circuit module
CN202939613U (en) Electricity-stealing preventing device with universal serial bus (USB) interface
CN214674333U (en) Current limiting device
CN204167896U (en) There is the ciphering type telemetering terminal of overvoltage protection
CN209746747U (en) Power-off burglar alarm
CN207601691U (en) A kind of computing platform applied under vehicle-mounted carrier-borne use environment
CN110488664A (en) A kind of information interactive device based on cloud platform
CN101907916A (en) Intelligent protection circuit and method of notebook battery pack

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
TR01 Transfer of patent right

Effective date of registration: 20200426

Address after: 100193 335, floor 3, building 25, yard 8, Dongbei Wangxi Road, Haidian District, Beijing

Patentee after: Ningchang information industry (Beijing) Co., Ltd

Address before: 100193 No. 36, Zhongguancun Software Park, No. 8 northeast Wang Xi Road, Beijing, Haidian District

Patentee before: Dawning Information Industry (Beijing) Co.,Ltd.

TR01 Transfer of patent right