CN202939613U - Electricity-stealing preventing device with universal serial bus (USB) interface - Google Patents

Electricity-stealing preventing device with universal serial bus (USB) interface Download PDF

Info

Publication number
CN202939613U
CN202939613U CN 201220506342 CN201220506342U CN202939613U CN 202939613 U CN202939613 U CN 202939613U CN 201220506342 CN201220506342 CN 201220506342 CN 201220506342 U CN201220506342 U CN 201220506342U CN 202939613 U CN202939613 U CN 202939613U
Authority
CN
China
Prior art keywords
usb interface
port
power supply
detecting unit
current
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
CN 201220506342
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.)
Raisecom Technology Co Ltd
Original Assignee
Raisecom Technology 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 Raisecom Technology Co Ltd filed Critical Raisecom Technology Co Ltd
Priority to CN 201220506342 priority Critical patent/CN202939613U/en
Application granted granted Critical
Publication of CN202939613U publication Critical patent/CN202939613U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The utility model discloses an electricity-stealing preventing device with a universal serial bus (USB) interface. The device comprises a power module, a central processing unit (CPU), a USB interface and an electricity-stealing preventing module, and the CPU is used for indicating permission of a power supply signal through a USB interface power supply control port when a device which is connected with the USB interface is judged to be a USB device through a detected data transmission port and indicating inhibition of the power supply signal through the USB interface power supply control port when the device which is connected with the USB interface is judged to be not the USB device through the detected data transmission port. By means of the electricity-stealing preventing device with the USB interface, whether a device which is inserted into the USB interface is a normally used USB device or not can be detected, the electricity-stealing behavior of connecting a non-USB device to the USB interface can be forbidden, and conditions such as damaged equipment and power supply system breakdown caused by excessive current when 5V power output short circuit or overload of the USB interface can be prevented.

Description

A kind of USB interface electricity theft prevention device
Technical field
The utility model relates to general series interface (USB, Universal Serial Bus) technical field, relates in particular to a kind of USB interface electricity theft prevention device.
Background technology
Growing along with the USB technology, current numerous electronic equipments provide USB interface to use in outside.In the USB interface design circuit, stolen electricity for equipment by USB interface and do not had any detection effect.Because providing the output of 5V power supply, USB interface cause numerous USB to steal the generation of electric situation, require certain equipment for power supply power consumption, steal the power supply power consumption deficiency that electricity can cause equipment, cause the device systems paralysis of whole plate power supply output power consumption deficiency, the device interior chip can't work, so for tyre USB interface equipment, the design of USB interface burglary-resisting system need to be arranged.
The utility model content
The technical problems to be solved in the utility model is to provide a kind of USB interface electricity theft prevention device, for the opening of USB interface, uses safety guarantee is provided.
In order to solve the problems of the technologies described above, the utility model provides a kind of USB interface electricity theft prevention device, and described device comprises power module, CPU, USB interface, preventing fraudulent use of electricity module;
Described CPU is connected by data transmission port with described USB interface, and described CPU comprises USB interface power supply control port;
Described preventing fraudulent use of electricity module comprises power input mouth, output port of power source, USB interface power supply enable port, described power input mouth is connected with the output port of described power module, and described output port of power source is connected with the Power supply port of described USB interface, described USB interface power supply enable port is connected with the USB interface power supply control port of described CPU;
Described CPU, allow power supply signal by described USB interface power supply control port indication while being used for judging that by the detection data transmission port equipment of described USB interface connection is USB device, while by the detection data transmission port, judging that the equipment of described USB interface connection is non-USB device, by described USB interface power supply control port, indicate and forbid power supply signal;
Described preventing fraudulent use of electricity module, for receiving from described USB interface power supply enable port and allowing power supply signal, be described USB interface power supply, from described USB interface power supply enable port is received and forbidden power supply signal, forbids for described USB interface power supply.
Whether said apparatus to plug equipment be the normal USB device of using if can detecting USB interface, prevent that USB interface from being the non-USB device power supply of plugging interface, forbids that non-USB device connects robber's electricity behavior of USB interface.
Further, in implementation one, said apparatus can also have following characteristics:
Described preventing fraudulent use of electricity module comprises current detecting unit and USB interface power supply control chip;
Described current detecting unit comprises described power input mouth, output port, electric current indication port, and described USB interface power supply control chip comprises input port, described output port of power source, described USB interface power supply enable port; The output port of described current detecting unit is connected with the input port of described USB interface power supply control chip; Described CPU comprises that USB interface electric current supply status port is connected with the electric current indication port of described current detecting unit;
Described current detecting unit, when to described power module being the power supply of described USB interface, by described electric current indication port indicator current supply indicator signal;
Described CPU, for receive electric current supply indicator signal by described USB interface electric current supply status port after, allow power supply signal by described USB interface power supply control port indication while by the detection data transmission port, judging that the equipment of described USB interface connection is USB device, while by the detection data transmission port, judging that the equipment of described USB interface connection is non-USB device, by described USB interface power supply control port, indicate and forbid power supply signal;
Described USB interface power supply control chip, for receiving from described USB interface power supply enable port and allowing power supply signal, be described USB interface power supply, from described USB interface power supply enable port is received and forbidden power supply signal, forbids for described USB interface power supply.
Further, in implementation two, said apparatus can also have following characteristics:
Described preventing fraudulent use of electricity module comprises USB interface power supply control chip and current detecting unit;
Described USB interface power supply control chip comprises described power input mouth, output port, described USB interface power supply enable port; Described current detecting unit comprises input port, described output port of power source, electric current indication port; The output port of described USB interface power supply control chip is connected with the input port of described current detecting unit; Described CPU comprises that USB interface electric current supply status port is connected with the electric current indication port of described current detecting unit;
Described current detecting unit, when to described power module being the power supply of described USB interface, by described electric current indication port indicator current supply indicator signal;
Described CPU, for receive electric current supply indicator signal by described USB interface electric current supply status port after, allow power supply signal by described USB interface power supply control port indication while by the detection data transmission port, judging that the equipment of described USB interface connection is USB device, while by the detection data transmission port, judging that the equipment of described USB interface connection is non-USB device, by described USB interface power supply control port, indicate and forbid power supply signal;
Described USB interface power supply control chip, for receiving from described USB interface power supply enable port and allowing power supply signal, be described USB interface power supply, from described USB interface power supply enable port is received and forbidden power supply signal, forbids for described USB interface power supply.
In implementation one and two, the preventing fraudulent use of electricity module comprises USB interface power supply control chip and current detecting unit, whether can detecting USB interface, to plug equipment be the normal USB device of using, prevent that USB interface from being the non-USB device power supply of plugging interface, forbid that non-USB device connects robber's electricity behavior of USB interface.
Further, said apparatus can also have following characteristics:
Described USB interface power supply control chip also comprises USB interface overcurrent control port, and described CPU also comprises USB interface overcurrent status port; Described USB interface overcurrent control port is connected with described USB interface overcurrent status port;
Described USB interface power supply control chip, indicate over-current signal by described USB interface overcurrent control port while also for detection of described USB interface, over-current phenomenon avoidance occurring;
Described CPU also forbids power supply signal by described USB interface power supply control port indication for receive over-current signal by described USB interface overcurrent status port after.
In implementation one and two; whether except detecting USB interface, to plug equipment be the normal USB device of using to device with These characteristics; prevent that USB interface from being the non-USB device power supply of plugging interface; forbid that non-USB device connects outside robber's electricity behavior of USB interface; also there is overcurrent protection function, can prevent that USB interface from causing the generation of the situations such as device damage, electric power system paralysis because of 5V power supply output short-circuit or the overweight generation super-high-current of load.
Further, in implementation three, said apparatus can also have following characteristics:
Described preventing fraudulent use of electricity module comprises P type metal-oxide-semiconductor and current detecting unit;
Described current detecting unit comprises input port, described output port of power source, electric current indication port; The S end of described metal-oxide-semiconductor is described power input mouth, and the D end of described metal-oxide-semiconductor is connected with the input port of described current detecting unit, and the G end of described metal-oxide-semiconductor is described USB interface power supply enable port; Described CPU comprises that USB interface electric current supply status port is connected with the electric current indication port of described current detecting unit;
Described current detecting unit, when to described power module being the power supply of described USB interface, by described electric current indication port indicator current supply indicator signal;
Described CPU, for receive electric current supply indicator signal by described USB interface electric current supply status port after, by described USB interface power supply control port indication low level signal, while by the detection data transmission port, judging that the equipment of described USB interface connection is non-USB device, by described USB interface power supply control port, indicate high level signal while by the detection data transmission port, judging that the equipment of described USB interface connection is USB device.
In implementation three, the preventing fraudulent use of electricity module comprises P type metal-oxide-semiconductor and current detecting unit, whether can detecting USB interface, to plug equipment be the normal USB device of using, and prevents that USB interface from being the non-USB device power supply of plugging interface, forbids that non-USB device connects robber's electricity behavior of USB interface.
Further, said apparatus can also have following characteristics:
Described preventing fraudulent use of electricity module also comprises over-current detection unit, described current detecting unit also comprises the current signal interface and provides current signal by this interface for described over-current detection unit, described current detecting unit comprises USB interface overcurrent control port, and described CPU also comprises that USB interface overcurrent status port is connected with the USB interface overcurrent control port of described current detecting unit;
Described current detecting unit, also indicate over-current signal by described USB interface overcurrent control port when detecting described USB interface according to the current signal received and over-current phenomenon avoidance occurs;
Described CPU also indicates high level signal by described USB interface power supply control port for receive described over-current signal by described USB interface overcurrent status port after.
In implementation three; whether except detecting USB interface, to plug equipment be the normal USB device of using to device with These characteristics; prevent that USB interface from being the non-USB device power supply of plugging interface; forbid that non-USB device connects outside robber's electricity behavior of USB interface; also there is overcurrent protection function, can prevent that USB interface from causing the generation of the situations such as device damage, electric power system paralysis because of 5V power supply output short-circuit or the overweight generation super-high-current of load.
In order to solve the problems of the technologies described above, the utility model also provides a kind of USB interface electricity theft prevention device, and described device comprises power module, CPU, USB interface, preventing fraudulent use of electricity module; Described CPU is connected by data transmission port with described USB interface, and described CPU comprises USB interface power supply control port; Described preventing fraudulent use of electricity module comprises P type metal-oxide-semiconductor, current detecting unit and XOR gate; Described current detecting unit comprises input port, output port of power source, electric current indication port; The S end of described metal-oxide-semiconductor is connected with the output port of described power module, the output port of power source of current detecting unit is connected with the Power supply port of described USB interface, the D end of described metal-oxide-semiconductor is connected with the input port of described current detecting unit, electric current indication port and the described USB interface power supply control port of described current detecting unit is connected respectively two input ends with described XOR gate, and the output terminal of described XOR gate is connected with the G of described metal-oxide-semiconductor end;
Described current detecting unit, when to described power module being the power supply of described USB interface, by described electric current indication port indicator current supply indicator signal;
Described CPU, by described USB interface power supply control port indication high level signal, while by the detection data transmission port, judging that the equipment of described USB interface connection is non-USB device, by described USB interface power supply control port, indicate low level signal while being used for judging that by the detection data transmission port equipment of described USB interface connection is USB device.
Said apparatus carries out relevant control by introducing metal-oxide-semiconductor, and whether can detecting USB interface, to plug equipment be the normal USB device of using, and prevents that USB interface from being the non-USB device power supply of plugging interface, forbids that non-USB device connects robber's electricity behavior of USB interface.
In order to solve the problems of the technologies described above, the utility model also provides a kind of USB interface electricity theft prevention device, and described device comprises power module, CPU, USB interface, preventing fraudulent use of electricity module; Described CPU is connected by data transmission port with described USB interface, and described CPU comprises USB interface power supply control port;
Described preventing fraudulent use of electricity module comprise P type metal-oxide-semiconductor, current detecting unit, operational amplifier unit, with or door, Sheffer stroke gate;
Described current detecting unit comprises input port, described output port of power source, electric current indication port, current signal port;
The S end of metal-oxide-semiconductor is connected with the output port of described power module, the output port of power source of current detecting unit is connected with the Power supply port of described USB interface, the D end of described metal-oxide-semiconductor is connected with the input port of described current detecting unit, the electric current of described current detecting unit indication port and described USB interface power supply control port be connected to described with or two input ends of door, described with or the output terminal of door connect an input end of described Sheffer stroke gate;
The input end of described operational amplifier unit connects the current signal port of described current detecting unit, when the input end electric current of described operational amplifier is less than the overcurrent protection value, output terminal output high level, otherwise output low level, the output terminal of described operational amplifier connects another input end of described Sheffer stroke gate, and the output terminal of described Sheffer stroke gate connects the G end of described metal-oxide-semiconductor;
Described current detecting unit, when to described power module being the power supply of described USB interface, by described electric current indication port indicator current supply indicator signal;
Described CPU, by described USB interface power supply control port indication high level signal, while by the detection data transmission port, judging that the equipment of described USB interface connection is non-USB device, by described USB interface power supply control port, indicate low level signal while being used for judging that by the detection data transmission port equipment of described USB interface connection is USB device.
Said apparatus by introduce metal-oxide-semiconductor, amplifier, with or door and Sheffer stroke gate carry out relevant control, whether can detecting USB interface, to plug equipment be the normal USB device of using, prevent that USB interface from being the non-USB device power supply of plugging interface, forbid that non-USB device connects robber's electricity behavior of USB interface; Also there is overcurrent protection function, can prevent that USB interface from causing the generation of the situations such as device damage, electric power system paralysis because of 5V power supply output short-circuit or the overweight generation super-high-current of load.
In sum, the utility model technology compared with prior art, has following advantage:
(1) whether can detecting USB interface, to plug equipment be the normal USB device of using.
(2) can prevent that USB interface from being the non-USB device power supply of plugging interface, forbid that non-USB device connects robber's electricity behavior of USB interface.
(3) can prevent that USB interface from causing the generation of the situations such as device damage, electric power system paralysis because of 5V power supply output short-circuit or the overweight generation super-high-current of load.
(4) this apparatus structure clear, be easy to realize, make the USB interface power supply that holds water, reliability and the rationality of the whole plate power supply of protection equipment.
The accompanying drawing explanation
Fig. 1 is the structural representation of USB interface anti-theft device in the utility model;
Fig. 2 is the structural representation of USB interface anti-theft device in embodiment mono-;
Fig. 3 is the structural representation increased in the USB interface anti-theft device in embodiment mono-after flow control function;
Fig. 4 is the structural representation of USB interface anti-theft device in embodiment bis-;
Fig. 5 is the structural representation increased in the USB interface anti-theft device in embodiment bis-after flow control function;
Fig. 6 is the structural representation of USB interface anti-theft device in embodiment tri-;
Fig. 7 is the structural representation increased in the USB interface anti-theft device in embodiment tri-after flow control function;
Fig. 8 is the structural representation of another kind of USB interface anti-theft device in the utility model;
Fig. 9 is that in the utility model, another kind of USB interface is antitheft and the structural representation of the device of flow control function arranged.
Embodiment
The purpose of this utility model is to provide and a kind ofly prevents that non-USB device from connecting USB interface and carrying out power supply and steal electric device, whether can not only identify and plug USB interface equipment is USB device, and can forbid that non-USB device stolen electric behavior, and can prevent that from there is over-current phenomenon avoidance in USB interface.
As shown in Figure 1, the USB interface electricity theft prevention device comprises power module, CPU, USB interface, preventing fraudulent use of electricity module.CPU is connected by data transmission port (comprising CPU_USB+ and CPU_USB-two port) with USB interface, and CPU comprises USB interface power supply control port (signal of from then on port output is called USB-EN).
Power module, be used to the equipment that connects USB interface that the 5V power supply is provided.
The preventing fraudulent use of electricity module comprises power input mouth, output port of power source, USB interface power supply enable port, the power input mouth is connected with the output port of power module, and output port of power source is connected with the Power supply port of USB interface, USB interface power supply enable port is connected with the USB interface power supply control port of CPU.
CPU, allow power supply signal by described USB interface power supply control port indication while being used for judging that by the detection data transmission port equipment of described USB interface connection is USB device, while by the detection data transmission port, judging that the equipment of described USB interface connection is non-USB device, by described USB interface power supply control port, indicate and forbid power supply signal;
The preventing fraudulent use of electricity module, for receiving from described USB interface power supply enable port and allowing power supply signal, be described USB interface power supply, from described USB interface power supply enable port is received and forbidden power supply signal, forbids for described USB interface power supply.
Embodiment mono-
As shown in Figure 2, in embodiment mono-, the preventing fraudulent use of electricity module comprises current detecting unit and USB interface power supply control chip.Current detecting unit comprises power input mouth (this port is the power input mouth of preventing fraudulent use of electricity module), output port, electric current indication port, and the USB interface power supply control chip comprises input port, output port of power source (this port is the output port of power source of preventing fraudulent use of electricity module), USB interface power supply enable port; The output port of current detecting unit is connected with the input port of described USB interface power supply control chip; CPU comprises that USB interface electric current supply status port is connected with the electric current indication port of current detecting unit.
Described current detecting unit, when to described power module being the power supply of described USB interface, indicate the port indicator current to supply indicator signal by electric current;
Described CPU, for receive electric current supply indicator signal by described USB interface electric current supply status port after, allow power supply signal by described USB interface power supply control port indication while by the detection data transmission port, judging that the equipment of described USB interface connection is USB device, while by the detection data transmission port, judging that the equipment of described USB interface connection is non-USB device, by described USB interface power supply control port, indicate and forbid power supply signal;
Described USB interface power supply control chip, for receiving from described USB interface power supply enable port and allowing power supply signal, be described USB interface power supply, from described USB interface power supply enable port is received and forbidden power supply signal, forbids for described USB interface power supply.
On the basis of Fig. 2 for the device of Fig. 2 increased flow control function after as shown in Figure 3, the USB interface power supply control chip also comprises USB interface overcurrent control port, CPU also comprises USB interface overcurrent status port; USB interface overcurrent control port is connected with described USB interface overcurrent status port.
Described USB interface power supply control chip, indicate over-current signal by described USB interface overcurrent control port while also for detection of described USB interface, over-current phenomenon avoidance occurring;
Described CPU also forbids power supply signal by described USB interface power supply control port indication for receive over-current signal by described USB interface overcurrent status port after.
Embodiment bis-
As shown in Figure 4, the preventing fraudulent use of electricity module comprises USB interface power supply control chip and current detecting unit.
The USB interface power supply control chip comprises described power input mouth, output port, USB interface power supply enable port; Current detecting unit comprises input port, described output port of power source, electric current indication port; The output port of USB interface power supply control chip is connected with the input port of described current detecting unit; CPU comprises that USB interface electric current supply status port is connected with the electric current indication port of described current detecting unit.
Described current detecting unit, when to described power module being the power supply of described USB interface, by described electric current indication port indicator current supply indicator signal;
Described CPU, for receive electric current supply indicator signal by described USB interface electric current supply status port after, allow power supply signal by described USB interface power supply control port indication while by the detection data transmission port, judging that the equipment of described USB interface connection is USB device, while by the detection data transmission port, judging that the equipment of described USB interface connection is non-USB device, by described USB interface power supply control port, indicate and forbid power supply signal;
Described USB interface power supply control chip, for receiving from described USB interface power supply enable port and allowing power supply signal, be described USB interface power supply, from described USB interface power supply enable port is received and forbidden power supply signal, forbids for described USB interface power supply.
On the basis of Fig. 4 for the device of Fig. 4 increased flow control function after as shown in Figure 5, the USB interface power supply control chip also comprises USB interface overcurrent control port, CPU also comprises USB interface overcurrent status port; USB interface overcurrent control port is connected with described USB interface overcurrent status port.
Described USB interface power supply control chip, indicate over-current signal by described USB interface overcurrent control port while also for detection of described USB interface, over-current phenomenon avoidance occurring;
Described CPU also forbids power supply signal by described USB interface power supply control port indication for receive over-current signal by described USB interface overcurrent status port after.
Embodiment tri-
As shown in Figure 6, in embodiment tri-, the preventing fraudulent use of electricity module comprises P type metal-oxide-semiconductor and current detecting unit.
Current detecting unit comprises input port, described output port of power source, electric current indication port; The S end of metal-oxide-semiconductor is described power input mouth, and the D end of metal-oxide-semiconductor is connected with the input port of described current detecting unit, and the G end of metal-oxide-semiconductor is described USB interface power supply enable port; CPU comprises that USB interface electric current supply status port is connected with the electric current indication port of described current detecting unit.
Described current detecting unit, when to described power module being the power supply of described USB interface, by described electric current indication port indicator current supply indicator signal;
Described CPU, for receive electric current supply indicator signal by described USB interface electric current supply status port after, by described USB interface power supply control port indication low level signal, while by the detection data transmission port, judging that the equipment of described USB interface connection is non-USB device, by described USB interface power supply control port, indicate high level signal while by the detection data transmission port, judging that the equipment of described USB interface connection is USB device.
On the basis of Fig. 6 for the device of Fig. 6 increased flow control function after as shown in Figure 7, the preventing fraudulent use of electricity module also comprises over-current detection unit, current detecting unit also comprises the current signal interface and provides current signal by this interface for described over-current detection unit, current detecting unit comprises USB interface overcurrent control port, and CPU also comprises that USB interface overcurrent status port is connected with the USB interface overcurrent control port of described current detecting unit.
Described current detecting unit, also indicate over-current signal by described USB interface overcurrent control port when detecting described USB interface according to the current signal received and over-current phenomenon avoidance occurs;
Described CPU also indicates high level signal by described USB interface power supply control port for receive described over-current signal by described USB interface overcurrent status port after.
As shown in Figure 8, the utility model also provides a kind of USB interface electricity theft prevention device, and described device comprises power module, CPU, USB interface, preventing fraudulent use of electricity module; Described CPU is connected by data transmission port with described USB interface, and described CPU comprises USB interface power supply control port; Described preventing fraudulent use of electricity module comprises P type metal-oxide-semiconductor, current detecting unit and XOR gate; Described current detecting unit comprises input port, output port of power source, electric current indication port; The S end of metal-oxide-semiconductor is connected with the output port of described power module, the output port of power source of current detecting unit is connected with the Power supply port of described USB interface, the D end of described metal-oxide-semiconductor is connected with the input port of described current detecting unit, electric current indication port and the described USB interface power supply control port of described current detecting unit is connected respectively two input ends with described XOR gate, and the output terminal of described XOR gate is connected with the G of described metal-oxide-semiconductor end;
Described current detecting unit, when to described power module being the power supply of described USB interface, by described electric current indication port indicator current supply indicator signal;
Described CPU, by described USB interface power supply control port indication high level signal, while by the detection data transmission port, judging that the equipment of described USB interface connection is non-USB device, by described USB interface power supply control port, indicate low level signal while being used for judging that by the detection data transmission port equipment of described USB interface connection is USB device.
When USB interface does not connect any equipment, current detecting unit does not detect electric current, and SIGN is set to low level, and CPU detects the countless certificates of usb bus, and it is low level that USB-ONLINE is set, the XOR gate output low level, and the metal-oxide-semiconductor conducting, USB interface is outwards powered.
When USB interface connects normal USB device, current detecting unit detects electric current, and SIGN is set to high level, and CPU detects the usb bus data, and it is high level that USB-ONLINE is set, the XOR gate output low level, and the metal-oxide-semiconductor conducting, USB interface is outwards powered.
When USB interface connects improper USB device, current detecting unit detects electric current, and SIGN is set to high level, CPU does not detect the usb bus data, and it is low level that USB-ONLINE is set, XOR gate output high level, not conducting of metal-oxide-semiconductor, USB interface can not outwards be powered.
As shown in Figure 9, the utility model also provides a kind of USB interface electricity theft prevention device, comprises power module, CPU, USB interface, preventing fraudulent use of electricity module; Described CPU is connected by data transmission port with described USB interface, and described CPU comprises USB interface power supply control port;
Described preventing fraudulent use of electricity module comprises P type metal-oxide-semiconductor, current detecting unit, operational amplifier unit U1, same or door U2, Sheffer stroke gate U3;
Described current detecting unit comprises input port, described output port of power source, electric current indication port, current signal port;
The S end of metal-oxide-semiconductor is connected with the output port of described power module; the output port of power source of current detecting unit is connected with the Power supply port of described USB interface; the D end of described metal-oxide-semiconductor is connected with the input port of described current detecting unit; the electric current of described current detecting unit indication port and described USB interface power supply control port be connected respectively with described with or two input ends of door U2, with or the output terminal of door U2 connect the input end of Sheffer stroke gate U3;
The input end of described operational amplifier unit connects the current signal port of described current detecting unit, when the input end electric current of described operational amplifier is less than the overcurrent protection value, output terminal output high level, otherwise output low level, the output terminal of described operational amplifier connects another input end of Sheffer stroke gate U3, and the output terminal of Sheffer stroke gate U3 connects the G end of described metal-oxide-semiconductor;
Described current detecting unit, when to described power module being the power supply of described USB interface, by described electric current indication port indicator current supply indicator signal;
Described CPU, by described USB interface power supply control port indication high level signal, while by the detection data transmission port, judging that the equipment of described USB interface connection is non-USB device, by described USB interface power supply control port, indicate low level signal while being used for judging that by the detection data transmission port equipment of described USB interface connection is USB device.
Sheffer stroke gate is for realizing USB interface preventing fraudulent use of electricity and overcurrent protection function, and the conducting situation of controlling metal-oxide-semiconductor Q1 realizes the switch control of USB interface power supply.
When USB interface does not connect any equipment, current detecting unit does not detect electric current, SIGN is set to low level, CPU detects the countless certificates of usb bus, and it is low level that USB-ONLINE is set, same or door output low level, operational amplifier U1 exports high level, Sheffer stroke gate U3 output low level, the metal-oxide-semiconductor conducting, USB interface is outwards powered.
When USB interface connects normal USB device, current detecting unit detects electric current, SIGN is set to high level, and CPU detects the usb bus data, and it is high level that USB-ONLINE is set, same or door is exported high level, while overcurrent not occurring, operational amplifier U1 exports high level, Sheffer stroke gate U3 output low level, the metal-oxide-semiconductor conducting, USB interface is outwards powered; While overcurrent occurring, operational amplifier U1 output low level, Sheffer stroke gate U3 exports high level, not conducting of metal-oxide-semiconductor, USB interface can not outwards be powered.
When USB interface connects improper USB device, current detecting unit detects electric current, SIGN is set to high level, CPU does not detect the usb bus data, it is low level that USB-ONLINE is set, same or door output low level, and Sheffer stroke gate U3 exports high level, not conducting of metal-oxide-semiconductor, USB interface can not outwards be powered.
It should be noted that, in the situation that do not conflict, the embodiment in the application and the feature in embodiment be combination in any mutually.
Certainly; the utility model also can have other various embodiments; in the situation that do not deviate from the utility model spirit and essence thereof; those of ordinary skill in the art can make various corresponding changes and distortion according to the utility model, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the utility model.
One of ordinary skill in the art will appreciate that all or part of step in said method can come the instruction related hardware to complete by program, described program can be stored in computer-readable recording medium, as ROM (read-only memory), disk or CD etc.Alternatively, all or part of step of above-described embodiment also can realize with one or more integrated circuit.Correspondingly, each the module/unit in above-described embodiment can adopt the form of hardware to realize, also can adopt the form of software function module to realize.The utility model is not restricted to the combination of the hardware and software of any particular form.

Claims (8)

1. a USB interface electricity theft prevention device, is characterized in that,
Described device comprises power module, CPU, USB interface, preventing fraudulent use of electricity module;
Described CPU is connected by data transmission port with described USB interface, and described CPU comprises USB interface power supply control port;
Described preventing fraudulent use of electricity module comprises power input mouth, output port of power source, USB interface power supply enable port, described power input mouth is connected with the output port of described power module, and described output port of power source is connected with the Power supply port of described USB interface, described USB interface power supply enable port is connected with the USB interface power supply control port of described CPU;
Described CPU, allow power supply signal by described USB interface power supply control port indication while being used for judging that by the detection data transmission port equipment of described USB interface connection is USB device, while by the detection data transmission port, judging that the equipment of described USB interface connection is non-USB device, by described USB interface power supply control port, indicate and forbid power supply signal;
Described preventing fraudulent use of electricity module, for receiving from described USB interface power supply enable port and allowing power supply signal, be described USB interface power supply, from described USB interface power supply enable port is received and forbidden power supply signal, forbids for described USB interface power supply.
2. device as claimed in claim 1, is characterized in that,
Described preventing fraudulent use of electricity module comprises current detecting unit and USB interface power supply control chip;
Described current detecting unit comprises described power input mouth, output port, electric current indication port, and described USB interface power supply control chip comprises input port, described output port of power source, described USB interface power supply enable port; The output port of described current detecting unit is connected with the input port of described USB interface power supply control chip; Described CPU comprises that USB interface electric current supply status port is connected with the electric current indication port of described current detecting unit;
Described current detecting unit, when to described power module being the power supply of described USB interface, by described electric current indication port indicator current supply indicator signal;
Described CPU, for receive electric current supply indicator signal by described USB interface electric current supply status port after, allow power supply signal by described USB interface power supply control port indication while by the detection data transmission port, judging that the equipment of described USB interface connection is USB device, while by the detection data transmission port, judging that the equipment of described USB interface connection is non-USB device, by described USB interface power supply control port, indicate and forbid power supply signal;
Described USB interface power supply control chip, for receiving from described USB interface power supply enable port and allowing power supply signal, be described USB interface power supply, from described USB interface power supply enable port is received and forbidden power supply signal, forbids for described USB interface power supply.
3. device as claimed in claim 1, is characterized in that,
Described preventing fraudulent use of electricity module comprises USB interface power supply control chip and current detecting unit;
Described USB interface power supply control chip comprises described power input mouth, output port, described USB interface power supply enable port; Described current detecting unit comprises input port, described output port of power source, electric current indication port; The output port of described USB interface power supply control chip is connected with the input port of described current detecting unit; Described CPU comprises that USB interface electric current supply status port is connected with the electric current indication port of described current detecting unit;
Described current detecting unit, when to described power module being the power supply of described USB interface, by described electric current indication port indicator current supply indicator signal;
Described CPU, for receive electric current supply indicator signal by described USB interface electric current supply status port after, allow power supply signal by described USB interface power supply control port indication while by the detection data transmission port, judging that the equipment of described USB interface connection is USB device, while by the detection data transmission port, judging that the equipment of described USB interface connection is non-USB device, by described USB interface power supply control port, indicate and forbid power supply signal;
Described USB interface power supply control chip, for receiving from described USB interface power supply enable port and allowing power supply signal, be described USB interface power supply, from described USB interface power supply enable port is received and forbidden power supply signal, forbids for described USB interface power supply.
4. install as claimed in claim 2 or claim 3, it is characterized in that,
Described USB interface power supply control chip also comprises USB interface overcurrent control port, and described CPU also comprises USB interface overcurrent status port; Described USB interface overcurrent control port is connected with described USB interface overcurrent status port;
Described USB interface power supply control chip, indicate over-current signal by described USB interface overcurrent control port while also for detection of described USB interface, over-current phenomenon avoidance occurring;
Described CPU also forbids power supply signal by described USB interface power supply control port indication for receive over-current signal by described USB interface overcurrent status port after.
5. device as claimed in claim 1, is characterized in that,
Described preventing fraudulent use of electricity module comprises P type metal-oxide-semiconductor and current detecting unit;
Described current detecting unit comprises input port, described output port of power source, electric current indication port; The S end of described metal-oxide-semiconductor is described power input mouth, and the D end of described metal-oxide-semiconductor is connected with the input port of described current detecting unit, and the G end of described metal-oxide-semiconductor is described USB interface power supply enable port; Described CPU comprises that USB interface electric current supply status port is connected with the electric current indication port of described current detecting unit;
Described current detecting unit, when to described power module being the power supply of described USB interface, by described electric current indication port indicator current supply indicator signal;
Described CPU, for receive electric current supply indicator signal by described USB interface electric current supply status port after, by described USB interface power supply control port indication low level signal, while by the detection data transmission port, judging that the equipment of described USB interface connection is non-USB device, by described USB interface power supply control port, indicate high level signal while by the detection data transmission port, judging that the equipment of described USB interface connection is USB device.
6. device as claimed in claim 5, is characterized in that,
Described preventing fraudulent use of electricity module also comprises over-current detection unit, described current detecting unit also comprises the current signal interface and provides current signal by this interface for described over-current detection unit, described current detecting unit comprises USB interface overcurrent control port, and described CPU also comprises that USB interface overcurrent status port is connected with the USB interface overcurrent control port of described current detecting unit;
Described current detecting unit, also indicate over-current signal by described USB interface overcurrent control port when detecting described USB interface according to the current signal received and over-current phenomenon avoidance occurs;
Described CPU also indicates high level signal by described USB interface power supply control port for receive described over-current signal by described USB interface overcurrent status port after.
7. a USB interface electricity theft prevention device, is characterized in that,
Described device comprises power module, CPU, USB interface, preventing fraudulent use of electricity module; Described CPU is connected by data transmission port with described USB interface, and described CPU comprises USB interface power supply control port; Described preventing fraudulent use of electricity module comprises P type metal-oxide-semiconductor, current detecting unit and XOR gate; Described current detecting unit comprises input port, output port of power source, electric current indication port; The S end of described metal-oxide-semiconductor is connected with the output port of described power module, the output port of power source of current detecting unit is connected with the Power supply port of described USB interface, the D end of described metal-oxide-semiconductor is connected with the input port of described current detecting unit, electric current indication port and the described USB interface power supply control port of described current detecting unit is connected respectively two input ends with described XOR gate, and the output terminal of described XOR gate is connected with the G of described metal-oxide-semiconductor end;
Described current detecting unit, when to described power module being the power supply of described USB interface, by described electric current indication port indicator current supply indicator signal;
Described CPU, by described USB interface power supply control port indication high level signal, while by the detection data transmission port, judging that the equipment of described USB interface connection is non-USB device, by described USB interface power supply control port, indicate low level signal while being used for judging that by the detection data transmission port equipment of described USB interface connection is USB device.
8. a USB interface electricity theft prevention device, is characterized in that,
Described device comprises power module, CPU, USB interface, preventing fraudulent use of electricity module; Described CPU is connected by data transmission port with described USB interface, and described CPU comprises USB interface power supply control port;
Described preventing fraudulent use of electricity module comprise P type metal-oxide-semiconductor, current detecting unit, operational amplifier unit, with or door, Sheffer stroke gate;
Described current detecting unit comprises input port, described output port of power source, electric current indication port, current signal port;
The S end of metal-oxide-semiconductor is connected with the output port of described power module, the output port of power source of current detecting unit is connected with the Power supply port of described USB interface, the D end of described metal-oxide-semiconductor is connected with the input port of described current detecting unit, the electric current of described current detecting unit indication port and described USB interface power supply control port be connected to described with or two input ends of door, described with or the output terminal of door connect an input end of described Sheffer stroke gate;
The input end of described operational amplifier unit connects the current signal port of described current detecting unit, when the input end electric current of described operational amplifier is less than the overcurrent protection value, output terminal output high level, otherwise output low level, the output terminal of described operational amplifier connects another input end of described Sheffer stroke gate, and the output terminal of described Sheffer stroke gate connects the G end of described metal-oxide-semiconductor;
Described current detecting unit, when to described power module being the power supply of described USB interface, by described electric current indication port indicator current supply indicator signal;
Described CPU, by described USB interface power supply control port indication high level signal, while by the detection data transmission port, judging that the equipment of described USB interface connection is non-USB device, by described USB interface power supply control port, indicate low level signal while being used for judging that by the detection data transmission port equipment of described USB interface connection is USB device.
CN 201220506342 2012-09-28 2012-09-28 Electricity-stealing preventing device with universal serial bus (USB) interface Expired - Lifetime CN202939613U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201220506342 CN202939613U (en) 2012-09-28 2012-09-28 Electricity-stealing preventing device with universal serial bus (USB) interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201220506342 CN202939613U (en) 2012-09-28 2012-09-28 Electricity-stealing preventing device with universal serial bus (USB) interface

Publications (1)

Publication Number Publication Date
CN202939613U true CN202939613U (en) 2013-05-15

Family

ID=48323841

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201220506342 Expired - Lifetime CN202939613U (en) 2012-09-28 2012-09-28 Electricity-stealing preventing device with universal serial bus (USB) interface

Country Status (1)

Country Link
CN (1) CN202939613U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104820387A (en) * 2015-04-27 2015-08-05 江苏紫米电子技术有限公司 USB power supply interface-based intelligent power source

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104820387A (en) * 2015-04-27 2015-08-05 江苏紫米电子技术有限公司 USB power supply interface-based intelligent power source

Similar Documents

Publication Publication Date Title
CN103050944B (en) Traction motor controller for electric vehicle
KR20060073459A (en) Method for verifying smart battery failures by measuring input charging voltage and associated system
US11545823B2 (en) Power supply with current limit on individual conductors
CN104104067B (en) Short circuit protection circuit
CN114624632B (en) USB port plug detection system, method, electronic equipment and storage medium
CN103208784A (en) Battery protection circuit and method thereof
US10050540B2 (en) Protection circuit and method for flyback power converter
CN202939613U (en) Electricity-stealing preventing device with universal serial bus (USB) interface
CN104852357A (en) Over-voltage, under-voltage, and over-current protection circuit of frequency converter
CN213072104U (en) Circuit for current sharing, chip for current sharing and circuit for hot plug current sharing control
CN103412231B (en) Distribution short circuit self-checking unit and method
CN100483885C (en) Storage battery protecting device
CN102820639B (en) A kind of over-current protection method of mainboard USB interface
CN203399102U (en) Transceiver circuit
CN205049834U (en) Hot plug LCD screen circuit
US11689012B2 (en) Systems and methods to cable shield fault detection and protection
CN113567802A (en) System and method for cable shield fault detection and protection
CN205489434U (en) On -vehicle USB power short -circuit protection circuit
CN201178403Y (en) IPM protection apparatus
CN112485731A (en) Inverter capable of intelligently detecting wiring infirm of wiring terminal and wiring infirm detection method
CN104638599A (en) Vehicle USB interface circuit power supply protector
CN205049686U (en) A fault finding device for cutting off power supply tripping operation circuit
CN107678999A (en) A kind of I2C isolation circuits
CN203882690U (en) An electric wire and short circuit alarm system
CN217787201U (en) Alternating current reverse connection and grounding effectiveness detection circuit

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term

Granted publication date: 20130515

CX01 Expiry of patent term