Current detection circuit
Technical field
The present invention relates to the current detection circuit that a kind of difference of utilizing the both end voltage of current sense resistor detects the electric current that flows through described current sense resistor.
Background technology
Current detection circuit is to configure current sense resistor at current path, utilizes the difference of the both end voltage of current sense resistor to detect the electric current that flows through described current sense resistor.In sort circuit, wish to reduce as far as possible the resistance value of current sense resistor, thereby reduce the pressure drop here as far as possible; On the other hand, when the pressure drop on the current sense resistor diminishes, be difficult to detect this pressure drop, in the time of particularly will detecting Weak current, must detect very little voltage difference, it is very difficult that current detecting becomes.
At present, traditional current detecting electric current is the size of coming the decision circuitry electric current by the voltage difference at comparison resistance two ends, yet works as the electric weight of electric current loss on resistance, causes the comparision of quantity of electricity of resistance needs large.Under so large loss, position and the space of the corresponding relatively large shared pcb board of the volume of resistance are larger.And resistance is in the situation that long-term fever high temperature, and the life-span also shortens relatively, more likely can cause because electric current is excessive the dangerous phenomenons such as burning.Traditional current detection circuit can detect electric current more than 150mA in addition, and this electric current can unstable even cisco unity malfunction when electric current was too small.
Usually can exist sensitivity low in this current detection circuit, electric energy loss is large, the problem such as the low and security performance of efficient is low.
Summary of the invention
There is the problem that sensitivity is low, electric energy loss is large, efficient is low and security performance is low in order to overcome traditional current detection circuit; the invention provides a kind of current detection circuit; not only simple in structure; saved the area of PCB; and the electric weight of loss is low, thermal value is minimum, highly sensitive; improved the security performance of testing circuit, well response current changes, and charging equipment is played Immediate Protective Effects when charging.
The technical solution adopted for the present invention to solve the technical problems is: a kind of current detection circuit, to utilize the difference of the both end voltage of current sense resistor to detect the electric current that flows through described current sense resistor, one end ground connection of current detection circuit, the other end connects object to be detected, it is characterized in that: described electric current is through inductance, be diverted to the positive pin of divider resistance and comparer, the circuit that flows through divider resistance is diverted to negative pin and another branch road of comparer.
The positive pin of described comparer is during greater than the negative pin, the output pin of comparer output high level, and the triode conducting, the low signal of trigger end output is received microprocessor and is processed, and detects the size of testee electric current.
The positive pin of described comparer is less than the negative pin, the output pin output low level of comparer, and the triode cut-off, the high signal of trigger end output is received microprocessor and is processed, and detects the size of testee electric current.
The invention has the beneficial effects as follows: current detection circuit is not only simple in structure; saved the area of PCB; and the electric weight of loss is low, thermal value is minimum, highly sensitive; improved the security performance of testing circuit; well response current changes, and charging equipment is played Immediate Protective Effects when charging.
Description of drawings
The invention will be further described below in conjunction with accompanying drawing and embodiment.
Fig. 1 is the LM393 current detection circuit.
Fig. 2 is the ZXCT1009 current detection circuit.
Embodiment
A kind of current detection circuit, to utilize the difference of the both end voltage of current sense resistor to detect the electric current that flows through described current sense resistor, one end ground connection of current detection circuit, the other end connects object to be detected, its electric current is through inductance, be diverted to the positive pin of divider resistance and comparer, the circuit that flows through divider resistance is diverted to negative pin and another branch road of comparer.
When the positive pin of comparer during greater than the negative pin, the output pin output high level of comparer, the triode conducting, the low signal of trigger end output is received microprocessor and is processed, and detects the size of testee electric current.
When the positive pin of comparer less than the negative pin, the output pin output low level of comparer, the triode cut-off, the high signal of trigger end output is received microprocessor and is processed, and detects the size of testee electric current.
As shown in Figure 1, LM393 comes the size of decision circuitry electric current by the voltage difference at the resistance two ends of 1R41 relatively, however when electric current is 2A when on 1R41 the electric weight of loss be 2W, thereby resistance 1R41 need are at least more than the 2W.Position and the space of the corresponding relatively large shared pcb board of the volume of 1R41 are larger under so large loss.And this resistance is in the situation that long-term fever high temperature, and the life-span is also relatively short, more likely can cause because electric current is excessive the dangerous phenomenons such as burning.LM393 can detect electric current more than 150mA in addition, and this electric current can unstable even cisco unity malfunction when electric current was too small.Generally speaking.With also can therefore shortening in serviceable life of the product of this scheme or having safety problem.
As shown in Figure 2, the ZXCT1009 voltage that only needed to detect approximately 0.01 ohm resistance two ends just can detect the approximately electric current of 100mA.Thereby the 1 pin output terminal of ZXCT1009 can well be identified by MCU by conducting and cut-off that the output high-low level promotes triode.If sensed current reaches more than the 1A, itself in addition can then can reach testing requirement by detecting a bit of circuit board copper sheet.ZXCT1009 detects R78---0.02 Ohmage both end voltage then can, when crossing 2A by R78 two ends electric current, its loss power is 0.04W just also.Therefore R78 resistance only needs 0805 encapsulation then can.Saved widely the area of PCB.Minimum thereby its security performance also can increase because of its loss lower calorific value.It is highly sensitive, thereby well response current changes, thereby fine to IPHONE, plays Immediate Protective Effects during the chargings such as IPOD.Improve the security of IPHONE fittings equipment, also protected well user's IPOD series products.
From cost, ZXCT1009 and LM393 price are of slight difference, differ relatively large yet detect used resistance price, the resistance price that LM393 is used, and it is large to account for the PCB area, and it is high that overall cost indirectly can turn relatively.Low and the superior performance of ZXCT1009 current detection circuit price is a design that cost performance is higher.