Summary of the invention
Technical matters to be solved by this invention is, a kind of active mode current detecting system is provided, change in order to the little electric current that detects in the circuit under test, active mode current detecting system is monitored its electric current and is changed whether exceed the scope that the user is scheduled to, and reminds user's circuit under test to have or not the generation abnormal occurrence by alarming device.
In order to realize above-mentioned purpose, the invention provides a kind of active mode current detecting system, in order to detect the electric current that passes through in the circuit under test, it includes the sensing resistor of deciding voltage node, control module, voltage comparator circuit, feedback voltage hysteresis circuit and being series at this circuit under test.Decide voltage node and have output potential, and sensing resistor is electrically connected at and decides voltage node, drive the circuit under test running with output potential.Control module output predeterminated voltage value is to set the size of output potential.Voltage comparator circuit is electrically connected to and decides voltage node and control module, and wherein whether voltage comparator circuit meets the predeterminated voltage value in order to compare the output potential of deciding voltage node.The feedback voltage hysteresis circuit is electrically connected at voltage comparator circuit, and adjusts voltage according to the comparison result of voltage comparator circuit with output terminal output, makes it meet the predeterminated voltage value in order to adjust output potential.First end of sensing resistor is connected in decides voltage node, and second end of sensing resistor is connected in the output terminal of control module and feedback voltage hysteresis circuit, uses the electromotive force for second end of control module acquisition sensing resistor.Have an electric potential difference between first end of sensing resistor and second end, control module obtains electric current by sensing resistor and circuit under test according to the resistance value of electric potential difference and sensing resistor.
The present invention adopts and decides voltage node, and utilizes sampling voltage circuit serial connection circuit under test.When coming the output potential of balanced sampling potential circuit, and then obtain current value by the sampling voltage circuit by the feedback voltage hysteresis circuit.At last, control module is at the current value of sensing resistor according to the sampling voltage circuit of flowing through, and the electric current that draws this circuit under test changes.
The present invention has following useful effect: active mode current detecting system of the present invention can be incorporated into tool, makes the testing staff when detecting circuit under test, and active mode current detecting system and circuit under test are electrically connected.Like this, can increase the work efficiency of production line, and the testing staff is easier to find out the flaw circuit board with excessive power consumption, the detection cost when reducing the manufacturing.Also can write down the electric current change records of circuit under test, so that the testing staff to be provided future reference.
For enabling further to understand feature of the present invention and technology contents, see also following about detailed description of the present invention and accompanying drawing, yet accompanying drawing only provide with reference to and the explanation usefulness, be not to be used for the present invention is limited.
Description of drawings
Fig. 1 is the application synoptic diagram of the embodiment of the invention;
Fig. 2 is the thin portion block schematic diagram of Fig. 1;
Fig. 3 is the thin portion block schematic diagram of current detection module among Fig. 1; And
Fig. 4 is the circuit diagram of the embodiment of the invention.
Wherein, Reference numeral:
100 active mode current detecting systems
110 control modules
120 current detection modules
121 sampling voltage circuit
121a decides voltage node
The 121b sensing resistor
122 voltage comparator circuits
123 feedback voltage hysteresis circuits
124 voltage pressure limiting circuits
130 memory modules
140 alarm modules
200 computer installations
300 circuit under test
Embodiment
See also shown in Figure 1, a kind of active mode current detecting system 100 for the first embodiment of the invention exposure, electric current during in order to 300 runnings of detecting circuit under test changes, and wherein active mode current detecting system 100 is connected in computer installation 200, sets to carry out exchanges data and input system.Active mode current detecting system 100 comprises control module 110, current detection module 120, memory modules 130 and alarm module 140.
Current detection module 120 is electrically connected at circuit under test 300, in order to detect the current value of circuit under test 300.Control module 110 with the voltage swing of setting output current detection module 120 outputs, and obtains current detection module 120 resulting current values in order to export a predeterminated voltage value.Wherein control module 110 can utilize single-chip or microcontroller to be realized, and is connected in computer installation 200, to carry out exchanges data and default.
With reference to Fig. 2 and shown in Figure 3, current detection module 120 is electrically connected at circuit under test 300, according to the electric current of current detection module 120 with circuit under test 300 of flowing through.Current detection module 120 more comprises sampling voltage circuit 121, voltage comparator circuit 122, feedback voltage hysteresis circuit 123 and voltage pressure limiting circuit 124.
Sampling voltage circuit 121 comprises a certain voltage node 121a and a sensing resistor 121b, wherein decide voltage node 121a and have an output potential that is set, and first end of circuit under test 300 is electrically connected at decides voltage node 121a, use by output potential and drive circuit under test 300 runnings, and second end of sensing resistor 121b is electrically connected at control module 110, uses the electromotive force for control module 110 these second ends of acquisition.Sensing resistor 121b is series at circuit under test 300, makes the electric current by sensing resistor 121b be equal to the electric current that feeds circuit under test 300.
Voltage comparator circuit 122 is electrically connected to decides voltage node 121a and control module 110, and voltage comparator circuit 122 is in order to receiving the predeterminated voltage value of control module 110 outputs, and whether the output potential that voltage node 121a is decided in comparison meets the predeterminated voltage value.If meet, then export one and meet signal, if do not meet, then export one and adjust signal.
Feedback voltage hysteresis circuit 123 is electrically connected at the output terminal of voltage comparator circuit 122, meet signal or adjust signal in order to acceptance, and the output terminal of feedback voltage hysteresis circuit 123 is connected in second end of sensing resistor 121b.Wherein the result that compared according to voltage comparator circuit 122 of feedback voltage hysteresis circuit 123 adjusts second end of voltage to sensing resistor 121b by its output terminal output one, decides voltage node 121a output potential to adjust, and makes output potential meet the predeterminated voltage value.
Voltage pressure limiting circuit 123 is electrically connected at the output terminal of feedback voltage hysteresis circuit 123, second end and the control module of sensing resistor 121b, adjust voltage in order to restriction, use within the load upper limit that makes output potential be limited in circuit under test 300, avoid causing damaging integrated circuit when excessive because of adjusting voltage.And surpass in the load in limited time in voltage, send an overload and feed back to control module 110, and the offset of the output potential of deciding voltage node 121a of decision this moment.
Decide voltage node 121a and be electrically connected at circuit under test 300, in order to provide output potential to drive circuit under test 300 runnings.Sampling voltage circuit 121 electrically connects circuit under test 300, changes in order to the electric current that detects circuit under test 300.
Sensing resistor 121b is serially connected with circuit under test 300, use and form a loop, make to produce an electric potential difference between first end of sensing resistor 121b and second end, and this electric potential difference can obtain the electric current by sensing resistor 121b divided by the resistance value of sensing resistor 121b.With regard to sampling voltage circuit 124 and circuit under test 300 formed loops, according to Kirchhoff current law (Kirchhoff ' s current law), flow into the electric current summation of deciding voltage node 121a and equal to flow out the electric current summation of deciding voltage node 121a, be the electric current of stream through sensing resistor 121b so flow to the electric current of circuit under test 300.
First end of sensing resistor 121b is electrically connected at decides voltage node 121a, and therefore the electromotive force of first end just equals to decide the output potential of voltage node 121a.And second end of sensing resistor 121b electrically connects control module 110, analog digital translation interface by control module 110, just can obtain the electromotive force of second end, use the electric potential difference that obtains by sensing resistor 121b, further obtain current value by resistance value.
Computer installation 200 is electrically connected to control module 110, and the user can set control module 110 in order to the input parameters by the Control Software of computer installation 200.Computer installation 200 more can link control module 110 by different transmission interfaces.For example, computer installation 200 can be by RS-232 or general-purpose serial connection serial bus (Universal Serial Bus, USB) link control module 110, use the predeterminated voltage value of setting control module 110 or the electric current variation range of monitoring circuit under test 300.
The embodiment of the invention more comprises a memory modules 130, is electrically connected at control module 110, changes record in order to record controls module 110 obtained current values.Memory modules 130 can be flash memory (FlashMemory), storage card (Memory Card), ROM (read-only memory) (Read Only Memory, ROM) or random access memory (Random Access Memory, RAM).
The embodiment of the invention more comprises an alarm module 140, is electrically connected at control module 110, and when control module 110 surpassed preset range according to the electric current that passes through circuit under test 300 by sensing resistor 121b gained, 140 of alarm modules can send an alerting.Alarm module 140 comprises caution sound circuit or warning light circuit at least, and further words can utilize computer installation 200 to link control module 110, in order to the electric current change procedure of acquisition demonstration circuit under test 300, this process are shown to external display.
Fig. 4 is the details circuit diagram of embodiment of the invention practical application.The circuit diagram of Fig. 4 includes control module 110, voltage comparator circuit 122, feedback voltage hysteresis circuit 123, decides voltage node 121a and sensing resistor 121b, and the connection relationship of its grade and circuit under test 300 is described in preamble.Voltage comparator circuit 122 can utilize amplifier to be realized with feedback voltage hysteresis circuit 123, and when voltage node 121a was decided in the input end electric connection of circuit under test 300, voltage comparator circuit 122 can relatively be decided the output potential of voltage node 121a.When meeting the predeterminated voltage value, the output potential of deciding voltage node 121a (do not offer voltage comparator circuit 122) by control module 110, voltage comparator circuit 122 can send the adjustment signal of a high levle to feedback voltage hysteresis circuit 123, and the output potential that makes feedback voltage hysteresis circuit 123 output adjustment voltages will decide voltage node 121a is pulled up to and meets till the predeterminated voltage value.Be pulled up to through the output potential that will decide voltage node 121a meet the predeterminated voltage value after, directly get the second end electromotive force of sensing resistor 121b by control module 110, can calculate the current value of flow through sensing resistor 121b and circuit under test 300 with the electric potential difference (electromotive force of the first end electromotive force of sensing resistor 121b is the output potential of deciding voltage node 121a) that obtains sensing resistor 121b two ends again according to the resistance value of this electric potential difference and sensing resistor 121b.Voltage pressure limiting circuit 124 can be a zener diode, and the one end is connected in second end of sensing resistor 121b, other end ground connection, and the second end electromotive force of using sensing resistor 121b is limited within the disruptive voltage of zener diode.When feedback voltage hysteresis circuit 123 output adjustment voltages cause the output potential of deciding voltage node 121a to be higher than default value, the second end electromotive force of sensing resistor 121b also can be higher than the disruptive voltage of zener diode, form a bypass resistance and feed back to control module 110, use change predeterminated voltage value, and carry out feed-back compensation.
Active mode current detecting system 100 of the present invention can be incorporated into tool, makes the testing staff when detecting circuit under test 300, and active mode current detecting system 100 and circuit under test 300 are electrically connected.Thus, can increase the work efficiency of production line, and the testing staff is easier to find out the flaw circuit board with excessive power consumption, the detection cost when reducing the manufacturing.Also can write down the electric current change records of circuit under test 300, using provides the testing staff future reference.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; being familiar with those of ordinary skill in the art ought can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.