CN201886068U - Current detecting circuit - Google Patents

Current detecting circuit Download PDF

Info

Publication number
CN201886068U
CN201886068U CN2010206405047U CN201020640504U CN201886068U CN 201886068 U CN201886068 U CN 201886068U CN 2010206405047 U CN2010206405047 U CN 2010206405047U CN 201020640504 U CN201020640504 U CN 201020640504U CN 201886068 U CN201886068 U CN 201886068U
Authority
CN
China
Prior art keywords
current mirror
circuit
current
port
electric 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 - Fee Related
Application number
CN2010206405047U
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.)
SUZHOU HUAXIN MICROELECTRONICS CO Ltd
Original Assignee
SUZHOU HUAXIN MICROELECTRONICS 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 SUZHOU HUAXIN MICROELECTRONICS CO Ltd filed Critical SUZHOU HUAXIN MICROELECTRONICS CO Ltd
Priority to CN2010206405047U priority Critical patent/CN201886068U/en
Application granted granted Critical
Publication of CN201886068U publication Critical patent/CN201886068U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Manipulation Of Pulses (AREA)

Abstract

The utility model relates to a current detecting circuit. The current detecting circuit comprises a port circuit connected with a port, a first current mirror, a second current mirror and a processing circuit. The port circuit is connected with the processing circuit through the first current mirror and the second current mirror; the first current mirror is connected with a power source; and the second current mirror is grounded. Furthermore, source ends of the first current mirror and the second current mirror are mutually connected through diodes. The circuit has a simple structure, can effectively detect the strength and direction of current flowing into our out the port, and does not affect the normal operation state of the port; and simultaneously the application method of the circuit is simple and easy to carry out. The circuit can be widely applied to the fields of integrated circuits and the like.

Description

Current detection circuit
Technical field
The utility model relates to a kind of testing circuit of technical field of integrated circuits, refers more particularly to a kind of novel current detection circuit.
Background technology
In integrated circuit, usually need at present to detect the size of current and the direction of inflow or outflow port, and can not influence the normal operating conditions of port.But existing testing circuit generally can produce considerable influence to the duty of port, and structure is also very complicated simultaneously.
Summary of the invention
The purpose of this utility model is to propose a kind of current detection circuit, and its circuit structure is succinct, can effectively detect the size of current and the direction of inflow or outflow port, and does not influence the normal operating conditions of port, thereby has overcome deficiency of the prior art.
For achieving the above object, the utility model has adopted following technical scheme:
A kind of current detection circuit, it is characterized in that, described testing circuit comprises port circuit, first current mirror, second current mirror and the treatment circuit that is connected with a port, described port circuit is connected with treatment circuit with second current mirror through first current mirror respectively, and first current mirror is connected with power supply (VDD), the second current mirror ground connection.
Say that further the source end of described first current mirror and second current mirror all adopts the diode connection.
Described first current mirror comprises PMOS pipe and the 2nd PMOS pipe, one first electric current flows out to port from port circuit, finally manage port by the VDD PMOS that flows through, this electric current is mirrored onto the 2nd PMOS and is in control an image current, this image current obtains a magnitude of voltage through a resistance, and this magnitude of voltage and a reference voltage obtain the threshold value of this first electric current after relatively;
Described second current mirror comprises NMOS pipe and the 2nd NMOS pipe, one second electric current flow into port circuit from port and finally flows through a NMOS pipe to ground, this electric current is mirrored onto the 2nd NMOS pipe, obtain another image current, this image current obtains another magnitude of voltage through another resistance, and this magnitude of voltage and another reference voltage relatively obtain the threshold value of this second electric current.
In first current mirror, in a comparer, compare through the magnitude of voltage that a resistance obtains by image current, and obtain one first comparative result with a reference voltage;
Same, in second current mirror, in another comparer, compare through the magnitude of voltage that a resistance obtains by image current, and obtain one second comparative result with another reference voltage;
Detect first comparative result and second comparative result, promptly learn the direction of sensed current and whether reach threshold value.
Adopt the method for current detection circuit detection electric current as mentioned above, it is characterized in that this method is:
If an electric current flow into port circuit from port and finally flows through second current mirror to ground, this electric current is mirrored onto treatment circuit and handles, and obtains one road image current;
Perhaps another electric current flows out to port from port circuit, finally flows through first current mirror to port by VDD, and this electric current is mirrored onto treatment circuit and handles, and obtains another road image current;
Detect the state of above-mentioned two-way image current, can learn the direction and the size of sensed current.
Particularly, described first current mirror comprises PMOS pipe and the 2nd PMOS pipe, one first electric current flows out to port from port circuit, finally manage port by the VDD PMOS that flows through, this electric current is mirrored onto the 2nd PMOS and is in control an image current, this image current obtains a magnitude of voltage through a resistance, and this magnitude of voltage and a reference voltage obtain one first comparative result after relatively in a comparer;
Described second current mirror comprises NMOS pipe and the 2nd NMOS pipe, one second electric current flow into port circuit from port and finally flows through a NMOS pipe to ground, this electric current is mirrored onto the 2nd NMOS pipe, obtain another image current, this image current obtains another magnitude of voltage through another resistance, and this magnitude of voltage and another reference voltage obtain one second comparative result after relatively in another comparer;
Detect first comparative result and second comparative result, promptly learn the direction of sensed current and whether reach threshold value.
Description of drawings
Fig. 1 is the structured flowchart of the utility model current detection circuit;
Fig. 2 is the circuit diagram of the utility model one preferred embodiment.
Embodiment
See also Fig. 1, testing circuit of the present utility model comprises port circuit, current mirror 1, current mirror 2 and the treatment circuit that is connected with a port A, port circuit is connected with treatment circuit with current mirror 2 through current mirror 1 respectively, and current mirror 1 is connected current mirror 2 ground connection (GND) with power supply (VDD);
Finally flow through current mirror 2 to ground when electric current flow into port circuit from port A, and this electric current is mirrored onto treatment circuit and handles accordingly; Equally, when electric current flows out to port A from port circuit, finally flow through current mirror 1 to A by VDD, this electric current is mirrored onto treatment circuit and handles accordingly, just can know the direction of sensed current and whether reach threshold value (or size) by this two-way image current, and current mirror 1, the source end of current mirror 2 generally is the diode connection, its equivalent resistance is very little, and is very little to existing port circuit influence.
Be a preferred embodiment of the present utility model as shown in Figure 2, it comprises two PMOS pipes, two NMOS pipes, two resistance, two comparers; First, second PMOS pipe P1P2 forms first current mirror module, and first, second NMOS pipe N1N2 forms second current mirror module;
The source electrode of first, second PMOS pipe meets VDD, the be connected together drain electrode of a PMOS pipe of grid, and the drain electrode of the 2nd PMOS pipe is by first resistance eutral grounding; The be connected together drain electrode of a NMOS pipe of the source ground of first, second NMOS pipe, grid, the drain electrode of the 2nd NMOS pipe meets VDD by second resistance; The drain electrode output of the 2nd PMOS pipe connects the in-phase end of first comparer, anti-phase termination first reference voltage of first comparer, and comparer is output as Y1; The drain electrode output of the 2nd NMOS pipe connects the in-phase end of second comparer, anti-phase termination second reference voltage of second comparer, and comparer is output as Y2;
When flowing into port circuit from port A, electric current I 1 finally flows through a NMOS pipe to ground, this electric current is mirrored onto the 2nd NMOS pipe, obtain electric current N* (I1), N is first, second NMOS pipe mirror image ratio, obtain a magnitude of voltage through second resistance, N* (I1) * (R2) can obtain the threshold value of this electric current by relatively this magnitude of voltage and reference voltage; Equally, when electric current I 2 flows out to port A from port circuit, finally manage A by the VDD PMOS that flows through, this electric current is mirrored onto the 2nd PMOS pipe, obtain electric current M* (I2), M is second, the one PMOS pipe mirror image ratio, obtain a magnitude of voltage through first resistance, M* (I2) * (R1), can obtain the threshold value of this electric current by relatively this magnitude of voltage and reference voltage, just can know the direction of sensed current and whether reach threshold value as long as detect the state of Y1Y2, and a PMOS manage, the one NMOS pipe is the diode connection, its equivalent resistance is very little, and is very little to existing port circuit influence.
Above-mentioned preferred embodiment only is explanation technical conceive of the present utility model and characteristics, and its purpose is to allow the personage who is familiar with this technology can understand content of the present utility model and enforcement according to this, can not limit protection domain of the present utility model with this.All equivalences of being done according to the utility model spirit change or modify, and all should be encompassed within the protection domain of the present utility model.

Claims (2)

1. current detection circuit, it is characterized in that, described testing circuit comprises port circuit, first current mirror, second current mirror and the treatment circuit that is connected with a port, described port circuit is connected with treatment circuit with second current mirror through first current mirror respectively, and first current mirror is connected with power supply, the second current mirror ground connection.
2. current detection circuit according to claim 1 is characterized in that, the source end of described first current mirror and second current mirror all adopts the diode connection.
CN2010206405047U 2010-12-03 2010-12-03 Current detecting circuit Expired - Fee Related CN201886068U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010206405047U CN201886068U (en) 2010-12-03 2010-12-03 Current detecting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010206405047U CN201886068U (en) 2010-12-03 2010-12-03 Current detecting circuit

Publications (1)

Publication Number Publication Date
CN201886068U true CN201886068U (en) 2011-06-29

Family

ID=44183615

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010206405047U Expired - Fee Related CN201886068U (en) 2010-12-03 2010-12-03 Current detecting circuit

Country Status (1)

Country Link
CN (1) CN201886068U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033155A (en) * 2010-12-03 2011-04-27 苏州华芯微电子股份有限公司 Current detection circuit and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033155A (en) * 2010-12-03 2011-04-27 苏州华芯微电子股份有限公司 Current detection circuit and method

Similar Documents

Publication Publication Date Title
CN102915069B (en) Overcurrent protection circuit of low dropout linear voltage stabilizer
CN204287446U (en) A kind of power-fail detection circuit
CN103604974B (en) Current-mode DC/DC converter low-power current detection circuit
CN204349432U (en) A kind of Switching Power Supply thermal-shutdown circuit
CN103701616B (en) The protection of active bridge reverse power supply and the power receiving device interface with active bridge control
CN204391679U (en) A kind of leakage current detection protection circuit
CN104158516A (en) Voltage comparator
CN103217615B (en) Output short-circuit detection circuit
CN102033155A (en) Current detection circuit and method
CN201886068U (en) Current detecting circuit
CN203941243U (en) A kind of three-phase electric power open phase testing circuit
CN203981744U (en) Motor positive and inverse detects control circuit
CN103023004A (en) Surge suppression circuit
CN202735401U (en) Current detection circuit of chip
CN104897943A (en) High-sensitivity low-power current detection circuit
CN109687863A (en) The driving circuit of RS485 chip
CN108270210A (en) Power supply switch device
CN204210442U (en) A kind of braking automobile controller electromagnetic valve coil control circuit
CN203011996U (en) Limit peak value current detection circuit of switch power supply
CN203324355U (en) Microwave-system diverse self-checking circuit
CN108075319A (en) Power outlet with overload protection function
CN105988036B (en) Current detection circuit
CN104897949A (en) Voltage detection circuit
JP5128414B2 (en) Surge detection circuit
CN205450857U (en) No branch road leakage current's active current limit circuit

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110629

Termination date: 20161203