CN201110868Y - USB bus current detecting device with alarming function - Google Patents

USB bus current detecting device with alarming function Download PDF

Info

Publication number
CN201110868Y
CN201110868Y CNU2007201905247U CN200720190524U CN201110868Y CN 201110868 Y CN201110868 Y CN 201110868Y CN U2007201905247 U CNU2007201905247 U CN U2007201905247U CN 200720190524 U CN200720190524 U CN 200720190524U CN 201110868 Y CN201110868 Y CN 201110868Y
Authority
CN
China
Prior art keywords
module
usb interface
usb
sensing means
signal wire
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.)
Expired - Lifetime
Application number
CNU2007201905247U
Other languages
Chinese (zh)
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.)
Feitian Technologies Co Ltd
Original Assignee
Beijing Feitian Technologies 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 Beijing Feitian Technologies Co Ltd filed Critical Beijing Feitian Technologies Co Ltd
Priority to CNU2007201905247U priority Critical patent/CN201110868Y/en
Application granted granted Critical
Publication of CN201110868Y publication Critical patent/CN201110868Y/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

The utility model discloses a USB bus current detecting device with a warning function, which belongs to the field of current detection. The device comprises a first USB interface, a second USB interface, a current detecting module, a preset module, a comparison module and a warning module. The current detecting module is in series connection to a Vbus signal wire or GND signal wire arranged between the first USB interface and the second USB interface, the input port of the comparison module is respectively connected with the current detecting module and the preset module, the output port of the comparison module is connected with the warning module, and a D+ signal wire and a D- signal wire of the first USB interface are respectively connected with a D+ signal wire and a D- signal wire of the second USB interface. The USB bus current detecting device provided by the utility model can send warning information to the working personnel in time when the USB equipment working current is abnormal, and then the working personnel can take measures in time to prevent the damage of the USB equipment.

Description

The usb bus current sensing means of band warning function
Technical field
The utility model relates to the current detecting field, particularly a kind of usb bus current sensing means with warning function.
Background technology
USB (Universal Serial Bus, USB (universal serial bus)) agreement allows outer being located to be connected configuration when main frame is worked with other peripheral hardware, using and removing is so-called plug and play, the application of usb bus simultaneously can be removed PC and be gone up too much I/O port, and replace with serial-port, make between PC and the peripheral hardware be connected easier.
USB interface is come transmission signals and power supply by a quadded cable: D+ signal wire, D-signal wire, GND signal wire and Vbus signal wire.Wherein D+ signal wire and D-signal wire are the signal wires of a pair of differential mode, Vbus (high level) signal wire and GND () signal wire then provides power supply, it can give some equipment (comprising USB Hub) power supply.USB provides two kinds of data transmission rates: (another kind is 1.5Mbps (slow speed, a low speed) pattern to the high speed of a kind of 12Mbps of being for full speed, pattern at full speed).These two kinds of patterns can be present in the USB system simultaneously, and the introducing low-speed mode mainly is the cost for the not high equipment that lowers the requirement, such as mouse-keyboard or the like.
Production in USB device; in the process of test or debugging and use; often have USB device because the rosin joint that production link occurs; situations such as short circuit; or device aging in the equipment; situations such as electromagnetic interference (EMI); cause the electric current overload on the usb bus; burn out some chips in the USB device; problem such as cause that USB device can't normally be used; also can cause USB device thoroughly to scrap when serious; thereby caused production; cost waste in test or the debugging link; also reduced work efficiency to a great extent; even serious consequences such as naked light also can appear, and destroy whole working environment, cause serious loss.
The utility model content
In order to solve owing to the overload of the electric current on the usb bus, burn out the chip in the USB device, problem such as cause that USB device can't normally be used, the utility model provides a kind of usb bus current sensing means with warning function, and described device comprises first USB interface that is used for being connected with USB device, be used for second USB interface, current detection module, preset module, comparison module and the alarm module that are connected with the upstream USB interface;
Described current detection module is connected on the Vbus signal wire or GND signal wire between described first USB interface and second USB interface; The input port of described comparison module links to each other with preset module with current detection module respectively, and the output port of described comparison module links to each other with alarm module;
The D+ signal wire of described first USB interface, D-signal wire link to each other with D+ signal wire, the D-signal wire of second USB interface respectively; Described current detection module, preset module, comparison module and alarm module provide electric power by described upstream USB interface for it by described second USB interface.
When described first USB interface when being a plurality of, described device also comprises the selection handover module, described selection handover module links to each other with second USB interface with described a plurality of first USB interface, is used for selecting being communicated with USB interface of a plurality of first USB interface and the path between second USB interface; Described selection handover module provides electric power by the upstream USB interface for it by described second USB interface;
Correspondingly, described current detection module is connected on the Vbus signal wire or GND signal wire between described second USB interface and the described selection handover module; The D+ signal wire of described second USB interface is connected with the D-signal wire with the D+ signal wire of described first USB interface by described selection handover module with the D-signal wire.
Described selection handover module is a selector switch.
Described selection handover module is made up of control chip and selector switch.
Described preset module is key groups, selector switch or linear regulator.
Described alarm module is a hummer.
Described alarm module is a light emitting diode.
Described alarm module is a display device, and described display device is segment encode display, matrix display, alphanumeric display, image display or needle dial.
Described alarm module is uploaded warning message for the upstream USB interface that connects to described second USB interface and is reported to the police.
Described device also comprises the affirmation module, and described affirmation module links to each other with described preset module, is used to confirm whether the threshold value that described preset module presets is correct; Described affirmation module provides electric power by the upstream USB interface for it by described second USB interface.
Described affirmation module is made up of display device and button.
Described affirmation module is uploaded confirmation for the upstream USB interface that connects to described second USB interface and is confirmed.
Described device also comprises protection module, and described protection module links to each other with described comparison module, and parallel-series is used to cut off the communication loop between USB device and the upstream USB interface between described second USB interface and described first USB interface, realizes protection; Described protection module provides electric power by the upstream USB interface for it by described second USB interface.
Described protection module is the controlled device with switching function, and the described controlled device with switching function is switch, relay or contactor.
Described device also comprises the recovery module that powers on, and the described recovery module that powers on links to each other with described protection module, and the communication loop that is used between USB device and the upstream USB interface is set to connected state; The described recovery module that powers on provides electric power by the upstream USB interface for it by described second USB interface.
Described device also comprises output module, and described output module links to each other with described current detection module; Described output module provides electric power by the upstream USB interface for it by described second USB interface.
Described output module is specially display device, and described display device comprises segment encode display, matrix display, alphanumeric display, image display or needle dial.
Described output module comprises storage chip, control chip and interface chip;
Described storage chip is used to store the detected current value of described current detection module;
Described control chip is used for reading out corresponding current value from described storage chip, and is sent to described interface chip;
Described interface chip is used to export described current value.
Described storage chip and control chip are integrated in the chips.
Described interface chip is UART, RS-232, RS-485, ATA or USB interface chip, or for being integrated in UART, RS-232, RS-485, ATA or the USB interface in the described control chip.
The shared USB interface chip of described interface chip and described first USB interface.
Beneficial effect: the utility model provides a kind of usb bus current sensing means that simply and easily the running current value of USB device is carried out monitoring alarm, this equipment has overcome in present production, test, debugging or the use not enough to the protection of USB device and whole working environment, and the staff can not in time recognize the problem that the USB device working current is unusual; In addition, the usb bus current sensing means of the band warning function that the utility model provides can also be when its working current be unusual, in time whole USB current return is cut off, reach timely control when the USB device working current is unusual with equipment burnout and destroy problems such as whole working environment, also avoided simultaneously unnecessary waste in the engineering production effectively, improved production efficiency, especially for the situation of needs work in 24 hours, the USB current sensing means that the utility model provides is even more important to the security guarantee of its working environment; In addition, the utility model also provides a kind of usb bus current sensing means with warning function, and a plurality of USB interface that connect USB device can be provided, by selecting switching, improve the efficient that detects the USB device working current widely, be highly suitable for applications such as production test.
Description of drawings
Fig. 1 is the usb bus current sensing means structural representation of the band warning function that provides of the utility model embodiment 1;
Fig. 2 is the usb bus current sensing means structural representation of the band warning function that provides of the utility model embodiment 2.
Embodiment
For making the purpose of this utility model, technical scheme and advantage clearer, the utility model embodiment is described in further detail below in conjunction with accompanying drawing.
Embodiment 1:
Referring to Fig. 1, present embodiment provides a kind of usb bus current sensing means 100 with warning function, specifically comprises: first usb 1 01, second usb 1 02, preset module 103, current detection module 104, comparison module 105 and alarm module 106.
Wherein, first usb 1 01 is used for being connected with USB device 1, second usb 1 02 is used for being connected with upstream USB interface 2, current detection module 104 is connected on the Vbus signal wire between first usb 1 01 and second usb 1 02, be used to detect the current value on the Vbus signal wire between first usb 1 01 and second usb 1 02, an input port of comparison module 105 links to each other with the output port of current detection module 104, another input port links to each other with preset module 103, its output port links to each other with alarm module 106, the size that is used for the threshold value that first usb 1 01 that comparison current detection module 104 detects and the current value on the Vbus signal wire between second usb 1 02 and preset module 103 preset, if current detection module 104 detected current values exceed the threshold value that preset module 103 presets, then comparison module 105 sends alerting signal to alarm module 106, alarm module 106 is reported to the police after receiving alerting signal, warning herein can be to report to the police when detected current value is higher than the threshold value that presets, can also be when detected current value is lower than the threshold value that presets, to report to the police in addition, can also be that the threshold value that presets is an interval, when exceeding the threshold value interval of presetting, detected current value reports to the police, or the like, the user can select voluntarily; The GND signal wire of first usb 1 01, D+ signal wire and D-signal wire link to each other with GND signal wire, D+ signal wire and the D-signal wire of second usb 1 02 respectively, realize communicating by letter between USB device 1 and the upstream USB interface 2; Current detection module 104, preset module 103, comparison module 105 and alarm module 106 provide electric power by upstream USB interface 2 for it by second usb 1 02.Because the usb bus current sensing means 100 of the band warning function that present embodiment provides is used to detect the current value on the usb bus, so characteristic according to USB interface, the magnitude of voltage that the usb bus current sensing means 100 of the band warning function that present embodiment provided is suitable for is 5V, electric current is a direct current, is 500mA to the maximum.
Upstream USB interface 2 refers generally to the USB interface in the main frame, and the form of main frame includes but not limited to desktop computer, notebook computer, server, special machine, card reader, communication apparatus, digital camera, hub or PDA etc.Because upstream USB interface 2 is generally the form of female, second usb 1 02 is used for communicating with upstream USB interface 2, so be generally the form of male; USB device 1 is generally the male form, so first usb 1 01 that links to each other with USB device 1 is generally the female form.In the practical application, the connected mode of USB interface is a variety of in addition, the usb bus current sensing means 100 of the band warning function that those skilled in the art can provide present embodiment is done suitable modification and improvement, for example uses A type USB interface and Type B USB interface or other interface shape to realize.
In concrete production practices, current detection module 104 has a variety of implementations, the current detecting part that for example can form by resistance and MAX471 chip (the current detecting part also can be only to be made up of resistance), and A/D conversion chip TLC1549 realizes, the current detecting part of perhaps forming by resistance and MAX471 chip (the current detecting part also can be only to be made up of resistance), and special-purpose voltage/frequency conversion chip (voltage/frequency change-over circuit) and counting chip realization, can be light signal also with current conversion, intensity by sensed light signal realizes again, again or current conversion can be become field signal, realize by detecting field signal intensity again, or the like, those skilled in the art can do simple variant according to present embodiment, methods such as equal replacement and improvement all can realize.
Preset module 103 can be a key groups, selector switch or linear regulator, one 0~9 key groups (keyboard) for example is set on current sensing means 100, the user can utilize the threshold value input of 0~9 key groups to be provided with, also can be that several threshold value grades commonly used are set on current sensing means 100, the user can utilize selector switch to select different threshold value grades according to the needs of oneself, can also on current sensing means 100, linear regulator be set, linear regulator comprises that change resistance and transfiguration etc. are several, can be the rotary-type of similar old money radio frequency modulation use, also can be that the various ways such as the type of stirring of regulating button are set in the chute, the user selects the suitable current threshold value by regulating this linear regulator, in like manner, preset module 103 can also be provided with by the alternate manner input.In addition, preset module 103 can also realize the method that the upstream USB interface 2 that the threshold value connects by second usb 1 02 is downloaded, for example, the user can import the threshold value in main frame in advance, and the upstream USB interface 2 that connects by second usb 1 02 downloads to the threshold value in the current sensing means 100.
Alarm module 106 can be a hummer, when the comparative result of comparison module 105 is that current value on the Vbus signal wire between first usb 1 01 and second usb 1 02 is when exceeding the threshold value that preset module 103 presets, comparison module 105 sends alerting signal to alarm module 106, and alarm module 106 is sounded a buzzer after receiving alerting signal.
Alarm module 106 also can be a light emitting diode, when the comparative result of comparison module 105 is that current value on the Vbus signal wire between first usb 1 01 and second usb 1 02 is when exceeding the threshold value that preset module 103 presets, comparison module 105 sends alerting signals to alarm module 106, and alarm module 106 receives to be lighted after the alerting signal or glimmer.
Alarm module 106 can also be a display device, for example segment encode display, matrix display, alphanumeric display, image display etc., in like manner, when the comparative result of comparison module 105 is that current value on the Vbus signal wire between first usb 1 01 and second usb 1 02 is when exceeding the threshold value that preset module 103 presets, comparison module 105 sends alerting signal to alarm module 106, and alarm module 106 shows warning word and/or alert pattern after receiving alerting signal.
In addition, alarm module 106 can also be that the alerting signal that comparison module 105 sends is uploaded to the output of reporting to the police of upstream USB interface 2 that second usb 1 02 connects.
Preferably, in order to strengthen the defencive function of the current sensing means 100 that present embodiment provides better, more be applicable to actual industrial production, the current sensing means 100 that present embodiment provides also comprises the protection module 109 that links to each other with comparison module 105 that is connected between second usb 1 02 and first usb 1 01, wherein protection module 109 can be connected on the Vbus signal wire of first usb 1 01 and second usb 1 02, the GND signal wire, in D+ signal wire and the D-signal wire between at least one signal wire, be used for after comparison module 105 sends alerting signal, cut off the communication loop between USB device 1 and the upstream USB interface 2, realize protection; Protection module 109 provides electric power by second usb 1 02 for it.
Protection module 109 can be by the controlled device realization with switching function, for example switch, relay or contactor etc.
Further; current sensing means 100 can further include to power on and recovers module 110; link to each other with protection module 109; be used for after current sensing means 100 powers on; communication loop between USB device 1 and the upstream USB interface 2 is set to connected state; equally, power on and recover module 110 and provide electric power for it by second usb 1 02.
For using, the current sensing means 100 that present embodiment is provided more intuitively and more is applicable to the practical application scene, the current sensing means 100 that present embodiment provides can also increase confirms module 107, confirm that module 107 links to each other with preset module 103, be used to confirm whether the threshold value that preset module 103 presets is correct.Affirmation module 107 can be made up of display device and affirmation button, provides electric power by second usb 1 02 for it.Confirm that threshold value that module 107 can also preset preset module 103 is uploaded in the main frame that upstream USB interface 2 connects and confirm.
The current sensing means 100 that present embodiment provides can further include output module 108, output module 108 links to each other with the output port of current detection module 104, be used for first usb 1 01 of output current detection module 104 detections and the current value on the Vbus signal wire between second usb 1 02, provide electric power for it by second usb 1 02.Output module 108 can be a display device, for example segment encode display, matrix display, alphanumeric display, image display or needle dial etc.Output module 108 can and/or be confirmed module 107 shared display device with alarm module 106.Output module 108 can also be made up of storage chip, control chip and interface chip, storage chip is used for storaging current detection module 104 detected current values, storage mode has a lot, for example storage chip can be according to coming the store electricity flow valuve storage time that sets in advance at interval, for example can set in advance every interval storage in 1 minute primary current value, a current value was stored in 1 minute in the every interval of storage chip so, and more for example, storage chip can also only be stored current current value; Control chip reads out the current value of correspondence from storage chip, and be sent to interface chip, for example can be after receiving the order of inquiry current values such as upstream USB device or other main frame, peripheral hardware when control chip, if the order of inquiry current value is to read the 5th minute current value, then control chip reads out the 5th minute the current value of storing in the storage chip, is sent to interface chip; Interface chip is exported this current value.Wherein, storage chip and control chip can be integrated in the control chip and realize, interface chip can be independent UART, RS-232, RS-485, ATA or USB interface chip etc., also can be UART, RS-232, RS-485, ATA or the USB interface that is integrated in the control chip, can also be and second usb 1,02 a shared USB interface.
Be current detection module 104 to be connected on the Vbus signal wire between first usb 1 01 and second usb 1 02 realize in the usb bus current sensing means 100 of the band warning function that present embodiment provides, in actual applications, also current detection module 104 can be connected between the GND signal wire between first usb 1 01 and second usb 1 02 and realize, this moment, current detection module 104 detected the current value on the GND signal wire between first usb 1s 01 and second usb 1 02, situation about being connected on the GND signal wire can in like manner obtain, and repeats no more herein.
Embodiment 2:
Present embodiment provides a kind of usb bus current sensing means 200 with warning function, specifically comprises: two first USB interface 201, second USB interface 202, preset module 203, current detection module 204, comparison module 205, alarm modules 206 and selection handover modules 207.In actual applications, current sensing means 200 can comprise a plurality of first USB interface 201, and present embodiment is that example is illustrated so that two first USB interface 201 to be arranged.
Wherein, two first USB interface 201 are used for connecting respectively two USB device 1, second USB interface 202 is used to connect upstream USB interface 2, current detection module 204 is connected on second USB interface 202 and selects on the GND signal wire between the handover module 207, be used for detecting USB interface of two first USB interface 201 selecting handover module 207 gatings and the current value on the GND signal wire between second USB interface 202, an input port of comparison module 205 links to each other with current detection module 204, another input port links to each other with preset module 203, the output port of comparison module 205 links to each other with alarm module 206, the size that is used for the threshold value that USB interface of two first USB interface 201 of selection handover module 207 gatings that comparison current detection module 204 detects and the current value on the GND signal wire between second USB interface 202 and preset module 203 preset, if current detection module 204 detected current values exceed the threshold value that preset module 203 presets, then comparison module 205 sends alerting signal to alarm module 206, after receiving alerting signal, alarm module 206 reports to the police, warning herein can be to report to the police when detected current value is higher than the threshold value that presets, also can be when detected current value is lower than the threshold value that presets, to report to the police, can also be that the threshold value that presets is an interval, when exceeding the threshold value interval of presetting, detected current value reports to the police, or the like, the user can select voluntarily; The Vbus signal wire of two first USB interface 201, D+ signal wire and D-signal wire be respectively by selecting handover module 207 to link to each other with Vbus signal wire, D+ signal wire and the D-signal wire of second USB interface 202, communicating by letter between realization USB device 1 and the upstream USB2 interface; Current detection module 204, selection handover module 207, preset module 203, comparison module 205 and alarm module 206 provide electric power by upstream USB interface 2 for it by second USB interface 202.Because the usb bus current sensing means 200 that present embodiment provides is used to detect the current value on the usb bus, so characteristic according to USB interface, the magnitude of voltage that the usb bus current sensing means 200 that present embodiment provides is suitable for is 5V, and electric current is a direct current, is 500mA to the maximum.
Upstream USB interface 2 refers generally to the USB interface in the main frame, and the form of main frame includes but not limited to desktop computer, notebook computer, server, special machine, card reader, communication apparatus, digital camera, hub or PDA etc.Because upstream USB interface 2 is generally the form of female, second USB interface 202 is used for communicating with upstream USB interface 2, so be generally the form of male; USB device 1 is generally the male form, so first USB interface 201 that links to each other with USB device 1 is generally the female form.In the practical application, the connected mode of USB interface is a variety of in addition, the usb bus current sensing means 200 of the band warning function that those skilled in the art can provide present embodiment is done suitable modification and improvement, for example uses A type USB interface and Type B USB interface or other interface shape to realize.
In concrete production practices, current detection module 204 has a variety of implementations, the current detecting part that for example can form by resistance and MAX471 chip (the current detecting part also can be only to be made up of resistance), and A/D conversion chip TLC1549 realizes, the current detecting part of perhaps forming by resistance and MAX471 chip (the current detecting part also can be only to be made up of resistance), and special-purpose voltage/frequency conversion chip (voltage/frequency change-over circuit) and counting chip realization, can be light signal also with current conversion, intensity by sensed light signal realizes again, again or current conversion can be become field signal, realize by detecting field signal intensity again, or the like, those skilled in the art can do simple variant according to present embodiment, methods such as equal replacement and improvement all can realize.
Preset module 203 can be a key groups, selector switch or linear regulator, one 0~9 key groups (keyboard) for example is set on current sensing means 200, the user can utilize the threshold value input of 0~9 key groups to be provided with, also can be that several threshold value grades commonly used are set on current sensing means 200, the user can utilize selector switch to select different threshold value grades according to the needs of oneself, can also on current sensing means 200, linear regulator be set, linear regulator comprises that change resistance and transfiguration etc. are several, can be the rotary-type of similar old money radio frequency modulation use, also can be that the various ways such as the type of stirring of regulating button are set in the chute, the user selects the suitable current threshold value by regulating this linear regulator, in like manner, preset module 203 can also be provided with by the alternate manner input.In addition, preset module 203 can also realize the method that the upstream USB interface 2 that the threshold value connects by second USB interface 202 is downloaded, for example, the user can import the threshold value in main frame in advance, and the upstream USB interface 2 that connects by second USB interface 202 downloads to the threshold value in the current sensing means 200.
Alarm module 206 can be a hummer, when the comparative result of comparison module 205 is when selecting USB interface in two first USB interface 201 of handover module 207 gatings and the current value on the GND signal wire between second USB interface 202 to exceed the threshold value that preset module 203 presets, comparison module 205 sends alerting signal to alarm module 206, and alarm module 206 is sounded a buzzer after receiving alerting signal.
Alarm module 206 also can be a light emitting diode, when the comparative result of comparison module 205 is when selecting USB interface in two first USB interface 201 of handover module 207 gatings and the current value on the GND signal wire between second USB interface 202 to be higher than the threshold value that preset module 203 presets, comparison module 205 sends alerting signals to alarm module 206, and alarm module 206 receives to be lighted after the alerting signal or glimmer.
Alarm module 206 can also be a display device, for example segment encode display, matrix display, alphanumeric display, image display etc., in like manner, when the comparative result of comparison module 205 is when selecting USB interface in two first USB interface 201 of handover module 207 gatings and the current value on the GND signal wire between second USB interface 202 to exceed the threshold value that preset module 203 presets, comparison module 205 sends alerting signal to alarm module 206, and alarm module 206 shows warning word and/or alert pattern after receiving alerting signal.
In addition, alarm module 206 can also be that the alerting signal that comparison module 205 sends is uploaded to the output of reporting to the police of upstream USB interface 2 that second USB interface 202 connects.
Select handover module 207 to realize, also can form realization jointly, be used for selecting being communicated with the path between of two first USB interface 201 and second USB interface by control chip and selector switch by selector switch.As preferably, when the selection handover module 207 in the present embodiment selects to be communicated with a certain path, the D+ signal wire of other path, D-signal wire, GND signal wire and Vbus signal wire are simultaneously severed, in order to avoid communicating by letter between the USB device 1 that influence is communicated with and the upstream USB interface 2.
Preferably; for strengthening the defencive function of the current sensing means 200 that present embodiment provides better; be more suitable for actual industrial production; the current sensing means 200 that present embodiment provides also comprises and is connected on second USB interface 202 and by the protection module 210 between the USB interface in two first USB interface 201 selecting handover module 207 to select to be communicated with; protection module 210 links to each other with comparison module 205; wherein protection module 210 can be connected on the Vbus signal wire by the USB interface in two first USB interface 201 selecting handover module 207 to select to be communicated with and second USB interface 202; the GND signal wire; in D+ signal wire and the D-signal wire between at least one signal wire; be used for after comparison module 205 sends alerting signal; cut off the communication loop between USB device 1 and the upstream USB interface 2, realize protection.Protection module 210 can be by the controlled device realization with switching function, for example switch, relay or contactor etc.Protection module 210 provides electric power by second USB interface 202 for it.
Further, current sensing means 200 can further include to power on and recovers module 211, links to each other with protection module 210, is used for after current sensing means 200 powers on, and the communication loop between USB device 1 and the upstream USB interface 2 is set to connected state.The recovery module 211 that powers on provides electric power by second USB interface 202 for it.
For making current sensing means 200 that present embodiment provides use more directly perceived and being more suitable for the practical application scene, the current sensing means 200 that present embodiment provides can also increase confirms module 208, confirm that module 208 links to each other with preset module 203, be used to confirm whether the threshold value that preset module 203 presets is correct; Affirmation module 208 can be made up of display device and affirmation button, provides electric power by second USB interface 202 for it.The threshold value that affirmation module 208 can also preset preset module 203 is uploaded to the upstream USB interface 2 of second USB interface, 202 connections and confirms.
The current sensing means 200 that present embodiment provides can further include output module 209, output module 209 links to each other with the output port of current detection module 204, first USB interface 201 and the current value on the GND signal wire between second USB interface 202 that are used for current detection module 204 is detected are exported, and provide electric power by second USB interface 202 for it.Output module 209 can be a display device, for example segment encode display, matrix display, alphanumeric display, image display or needle dial etc.Output module 209 can and/or be confirmed module 208 shared display device with alarm module 206.Output module 209 can also be made up of storage chip, control chip and interface chip, storage chip is used for storaging current detection module 204 detected current values, storage mode has a lot, for example storage chip can be according to coming the store electricity flow valuve storage time that sets in advance at interval, for example can set in advance every interval storage in 1 minute primary current value, a current value was stored in 1 minute in the every interval of storage chip so, and more for example, storage chip can also only be stored current current value; Control chip reads out the current value of correspondence from storage chip, and be sent to interface chip, for example can be after receiving the order of inquiry current values such as upstream USB device or other main frame, peripheral hardware when control chip, if the order of inquiry current value is to read the 5th minute current value, then control chip reads out the 5th minute the current value of storing in the storage chip, is sent to interface chip; Interface chip is exported this current value.Wherein, storage chip and control chip can be integrated in the control chip and realize, interface chip can be independent UART, RS-232, RS-485, ATA or USB interface chip etc., also can be UART, RS-232, RS-485, ATA or the USB interface that is integrated in the control chip, can also be and second USB interface, 202 shared USB interface.
Be current detection module 204 to be connected on second USB interface 202 and to select to realize on the GND signal wire between the handover module 207 in the usb bus current sensing means 200 that present embodiment provides, in actual applications, also current detection module 204 can be connected between the Vbus signal wire between second USB interface 202 and the selection handover module 207 and realize, this moment, current detection module 204 detected USB interface in two first USB interface 201 selecting handover modules 207 gatings and the current value on the Vbus signal wire between second USB interface 202, situation about being connected on the Vbus signal wire can in like manner obtain, and repeats no more herein.
The utility model embodiment provides a kind of usb bus current sensing means that simply and easily the running current value of USB device is carried out monitoring alarm, this equipment has overcome in present production, test, debugging or the use not enough to the protection of USB device and whole working environment, and the staff can not in time recognize the problem that the USB device working current is unusual; In addition, the usb bus current sensing means of the band warning function that the utility model embodiment provides can also be when its working current be unusual, in time whole USB current return is cut off, reach timely control when the USB device working current is unusual with equipment burnout and destroy problems such as whole working environment, also avoided simultaneously unnecessary waste in the engineering production effectively, improved production efficiency, especially for the situation of needs work in 24 hours, the USB current sensing means that the utility model embodiment provides is even more important to the security guarantee of its working environment; In addition, the utility model embodiment also provides a kind of usb bus current sensing means with warning function, a plurality of USB interface that connect USB device can be provided, by selecting switching, improve the efficient that detects the USB device working current widely, be highly suitable for applications such as production test.
The above only is preferred embodiment of the present utility model, and is in order to restriction the utility model, not all within spirit of the present utility model and principle, any modification of being done, is equal to replacement, improvement etc., all should be included within the protection domain of the present utility model.

Claims (21)

1. usb bus current sensing means with warning function, it is characterized in that described device comprises first USB interface that is used for being connected with USB device, be used for second USB interface, current detection module, preset module, comparison module and the alarm module that are connected with the upstream USB interface;
Described current detection module is connected on the Vbus signal wire or GND signal wire between described first USB interface and second USB interface; The input port of described comparison module links to each other with preset module with current detection module respectively, and the output port of described comparison module links to each other with alarm module;
The D+ signal wire of described first USB interface, D-signal wire link to each other with D+ signal wire, the D-signal wire of second USB interface respectively; Described current detection module, preset module, comparison module and alarm module provide electric power by described upstream USB interface for it by described second USB interface.
2. the usb bus current sensing means of band warning function as claimed in claim 1, it is characterized in that, when described first USB interface when being a plurality of, described device also comprises the selection handover module, described selection handover module links to each other with second USB interface with described a plurality of first USB interface, is used for selecting being communicated with USB interface of a plurality of first USB interface and the path between second USB interface; Described selection handover module provides electric power by the upstream USB interface for it by described second USB interface;
Correspondingly, described current detection module is connected on the Vbus signal wire or GND signal wire between described second USB interface and the described selection handover module; The D+ signal wire of described second USB interface is connected with the D-signal wire with the D+ signal wire of described first USB interface by described selection handover module with the D-signal wire.
3. the usb bus current sensing means of band warning function as claimed in claim 2 is characterized in that, described selection handover module is a selector switch.
4. the usb bus current sensing means of band warning function as claimed in claim 2 is characterized in that, described selection handover module is made up of control chip and selector switch.
5. the usb bus current sensing means of band warning function as claimed in claim 1 or 2 is characterized in that, described preset module is key groups, selector switch or linear regulator.
6. the usb bus current sensing means of band warning function as claimed in claim 1 or 2 is characterized in that, described alarm module is a hummer.
7. the usb bus current sensing means of band warning function as claimed in claim 1 or 2 is characterized in that, described alarm module is a light emitting diode.
8. the usb bus current sensing means of band warning function as claimed in claim 1 or 2 is characterized in that, described alarm module is a display device, and described display device is segment encode display, matrix display, alphanumeric display, image display or needle dial.
9. the usb bus current sensing means of band warning function as claimed in claim 1 or 2 is characterized in that, described alarm module is uploaded warning message for the upstream USB interface that connects to described second USB interface and reported to the police.
10. the usb bus current sensing means of band warning function as claimed in claim 1 or 2, it is characterized in that, described device also comprises the affirmation module, and described affirmation module links to each other with described preset module, is used to confirm whether the threshold value that described preset module presets is correct; Described affirmation module provides electric power by the upstream USB interface for it by described second USB interface.
11. the usb bus current sensing means of band warning function as claimed in claim 10 is characterized in that, described affirmation module is made up of display device and button.
12. the usb bus current sensing means of band warning function as claimed in claim 10 is characterized in that, described affirmation module is uploaded confirmation for the upstream USB interface that connects to described second USB interface and is confirmed.
13. the usb bus current sensing means of band warning function as claimed in claim 1 or 2, it is characterized in that, described device also comprises protection module, described protection module links to each other with described comparison module, parallel-series is between described second USB interface and described first USB interface, be used to cut off the communication loop between USB device and the upstream USB interface, realize protection; Described protection module provides electric power by the upstream USB interface for it by described second USB interface.
14. the usb bus current sensing means of band warning function as claimed in claim 13 is characterized in that, described protection module is the controlled device with switching function, and the described controlled device with switching function is switch, relay or contactor.
15. the usb bus current sensing means of band warning function as claimed in claim 13, it is characterized in that, described device also comprises the recovery module that powers on, the described recovery module that powers on links to each other with described protection module, and the communication loop that is used between USB device and the upstream USB interface is set to connected state; The described recovery module that powers on provides electric power by the upstream USB interface for it by described second USB interface.
16. the usb bus current sensing means of band warning function as claimed in claim 1 or 2 is characterized in that described device also comprises output module, described output module links to each other with described current detection module; Described output module provides electric power by the upstream USB interface for it by described second USB interface.
17. the usb bus current sensing means of band warning function as claimed in claim 16, it is characterized in that, described output module is specially display device, and described display device comprises segment encode display, matrix display, alphanumeric display, image display or needle dial.
18. the usb bus current sensing means of band warning function as claimed in claim 16 is characterized in that described output module comprises storage chip, control chip and interface chip;
Described storage chip is used to store the detected current value of described current detection module;
Described control chip is used for reading out corresponding current value from described storage chip, and is sent to described interface chip;
Described interface chip is used to export described current value.
19. the usb bus current sensing means of band warning function as claimed in claim 18 is characterized in that described storage chip and control chip are integrated in the chips.
20. the usb bus current sensing means of band warning function as claimed in claim 18, it is characterized in that, described interface chip is UART, RS-232, RS-485, ATA or USB interface chip, or for being integrated in UART, RS-232, RS-485, ATA or the USB interface in the described control chip.
21. the usb bus current sensing means of band warning function as claimed in claim 18 is characterized in that, the shared USB interface chip of described interface chip and described first USB interface.
CNU2007201905247U 2007-11-30 2007-11-30 USB bus current detecting device with alarming function Expired - Lifetime CN201110868Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNU2007201905247U CN201110868Y (en) 2007-11-30 2007-11-30 USB bus current detecting device with alarming function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNU2007201905247U CN201110868Y (en) 2007-11-30 2007-11-30 USB bus current detecting device with alarming function

Publications (1)

Publication Number Publication Date
CN201110868Y true CN201110868Y (en) 2008-09-03

Family

ID=39895405

Family Applications (1)

Application Number Title Priority Date Filing Date
CNU2007201905247U Expired - Lifetime CN201110868Y (en) 2007-11-30 2007-11-30 USB bus current detecting device with alarming function

Country Status (1)

Country Link
CN (1) CN201110868Y (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751316A (en) * 2008-12-04 2010-06-23 鸿富锦精密工业(深圳)有限公司 Universal serial bus (USB) interface module testing device
CN102496904A (en) * 2011-12-20 2012-06-13 吴明星 Self-powered communication-bus short-circuit protection method
CN102779084A (en) * 2011-05-12 2012-11-14 北京旋极信息技术股份有限公司 Fault injection method and device
CN104007353A (en) * 2013-02-26 2014-08-27 鸿富锦精密工业(武汉)有限公司 Interface detection circuit
CN105740188A (en) * 2016-04-13 2016-07-06 深圳警翼数码科技有限公司 Device and method for expanding single USB interface into double-path interface
CN110494759A (en) * 2017-05-18 2019-11-22 赛普拉斯半导体公司 Current sense in USB power control analog subsystem

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751316A (en) * 2008-12-04 2010-06-23 鸿富锦精密工业(深圳)有限公司 Universal serial bus (USB) interface module testing device
CN101751316B (en) * 2008-12-04 2013-07-31 鸿富锦精密工业(深圳)有限公司 Universal serial bus (USB) interface module testing device
CN102779084A (en) * 2011-05-12 2012-11-14 北京旋极信息技术股份有限公司 Fault injection method and device
CN102779084B (en) * 2011-05-12 2015-11-25 北京旋极信息技术股份有限公司 Fault filling method and device
CN102496904A (en) * 2011-12-20 2012-06-13 吴明星 Self-powered communication-bus short-circuit protection method
CN102496904B (en) * 2011-12-20 2017-06-16 深圳市骏普科技开发有限公司 A kind of Self-powered communication-bus short-circuit protection method
CN104007353A (en) * 2013-02-26 2014-08-27 鸿富锦精密工业(武汉)有限公司 Interface detection circuit
CN104007353B (en) * 2013-02-26 2016-12-28 国网山东省电力公司菏泽供电公司 Interface testing circuit
CN105740188A (en) * 2016-04-13 2016-07-06 深圳警翼数码科技有限公司 Device and method for expanding single USB interface into double-path interface
CN105740188B (en) * 2016-04-13 2018-08-28 深圳警翼智能科技股份有限公司 A kind of device and method that single USB interface is extended to two-way interface
CN110494759A (en) * 2017-05-18 2019-11-22 赛普拉斯半导体公司 Current sense in USB power control analog subsystem

Similar Documents

Publication Publication Date Title
CN201110868Y (en) USB bus current detecting device with alarming function
CN201126572Y (en) USB concentrator with current detection and warning function
CN104228603B (en) A kind of Address Recognition method and apparatus
CN101169456B (en) USB bus current detection device
CN104658087A (en) Contact type laser encoding anti-theft lock
CN201122739Y (en) USB concentrator with current detecting function
CN107144750A (en) A kind of low-voltage platform area down Monitor Unit device and alarm method
CN201853118U (en) Electrical safety monitoring system
CN206353311U (en) Switching circuit, electronic tag communicator and hand-held set applied to mobile device
CN201111010Y (en) USB bus current detecting device
CN104978255A (en) Computer protection circuit
CN101345436A (en) Intelligent controller with note function
CN202916000U (en) Electronic vibration switch
CN202443081U (en) Self-adaptive burn testing device with monitoring function for input/output plug-in boards
CN202864766U (en) Overload warning control device of straight arm-type lorry-mounted crane
CN201278105Y (en) Voltage monitoring device for machine room temperature
CN205301523U (en) Test equipment of servo driver digital interface circuit
CN202795607U (en) Universal serial bus (USB) serial port light-emitting diode (LED) double-flash alarm apparatus
CN103698655A (en) Insulation supervising remote alarming system and method
CN104777745A (en) Redundancy control circuit and redundancy control system
CN209797293U (en) Intelligent monitoring and alarming system for black box of tower crane
CN201238209Y (en) Intelligent controller with note function
CN209896003U (en) Moulded case circuit breaker with self-checking function
CN201966696U (en) Communicable intelligent leakage controller
CN201378278Y (en) Intelligent industrial-control collector

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: FEITIAN TECHNOLOGIES CO., LTD.

Free format text: FORMER NAME: BEIJING FEITIAN CHENGXIN SCIENCE + TECHNOLOGY CO. LTD.

CP03 Change of name, title or address

Address after: 100085 Beijing city Haidian District Xueqing Road No. 9 Ebizal building B block 17 layer

Patentee after: Feitian Technologies Co., Ltd.

Address before: 100083, Haidian District, Xueyuan Road, No. 40 research, 7 floor, 5 floor, Beijing

Patentee before: Beijing Feitian Chengxin Science & Technology Co., Ltd.

CX01 Expiry of patent term

Granted publication date: 20080903