A kind of device for header box current detecting
Technical field
The utility model relates to current detection means, and in particular to a kind of device for header box current detecting.
Background technique
With New Energy Industry popularization, to the requirements at the higher level that cost and performance proposes, header box current detecting is filled at present
It sets and hall device is more and more replaced to complete the detection of each channel current in header box using resistance device, but work as resistance
Resistance both ends directly introduce external high pressure when operation irregularity open circuit, and high pressure, which punctures in moment and burns measurement circuit, to be caused to converge
Measuring device is directly damaged in case.
Utility model content
The technical problem to be solved by the utility model is to provide one kind to remain to just when resistance interruption introduces external high pressure
The device for header box current detecting often to work.
The technical solution that the utility model solves above-mentioned technical problem is as follows: a kind of dress for header box current detecting
It sets, including sampling resistor module, difference protective module, multicircuit switch module, the differential amplification module, modulus being sequentially connected in series
Converter, microcontroller and communication module, the multicircuit switch module are also electrically connected with the microcontroller.
The beneficial effects of the utility model are: a kind of device for header box current detecting of the utility model passes through sampling
Foreign current signal is converted voltage signal by resistive module;Difference protective module can will be in sampling resistor module operation irregularity
The embedding system of the external high pressure that sampling resistor both ends introduce when breaking is on predetermined voltage;Multicircuit switch module is by microcontroller
Control, switches between different difference protective modules, to acquire the voltage signal of the generation of the sampling resistor module on different channels;
The high impedance voltage signal for turning switch module in multichannel in differential amplification module future is converted into low-impedance voltage signal, and will
The requirement that low-impedance voltage signal is further amplified to meet analog-digital converter to level signal;Microcontroller is by analog-to-digital conversion
The corresponding current signal in each channel of device conversion passes through communication module and outer equipment exchange information.Utility model device can be with
It remains to work normally when sampling resistor module open circuit introduces external high pressure.
Based on the above technical solution, the utility model can also do following improvement.
Further, the communication module is electrically connected with the microcontroller, and the communication module is specially RS232 chip
Or RS485 chip or CAN chip.
It further, further include power supply, the power supply to the resistive module, difference protective module, multipath conversion for opening
Close module, differential amplification module, analog-digital converter and microcontroller power supply.
Further, the sampling resistor module be equipped with one or more, each sampling resistor module by one or
Multiple resistance alloys RsIt composes in parallel.
Further, the number of the difference protective module is identical as the number of the sampling resistor module, each difference
Being divided to protective module includes two resistance units and a diode;The resistance unit includes one or more concatenated
Resistance R;The diode includes diode D1, diode D2, diode D3 and diode D4, the diode D1, two
Pole pipe D2, diode D3 and diode D4 head and the tail are sequentially connected and are formed loop, and the diode D1 and diode D4's is public
Input has voltage VREF, the common end grounding of the diode D2 and diode D3 on end;One of them resistance unit
One end is connected on the common end of the diode D1 and diode D2, and one end of resistance unit described in another one is connected to
On the common end of diode D3 and diode D4;The both ends of each sampling resistor module are connected to a corresponding institute
On the other end for stating two resistance units in difference protective module.
Further, total resistance value Rn >=U of the resistance unitMAX 2/PR, wherein UMAXFor the ceiling voltage that outside introduces, PR
It is the rated power of resistance R.
Further, the number of the multicircuit switch module is identical as the number of the difference protective module, described more
Road change-over switch module includes multi-channel electronic switch and multicircuit relay, the road of the number of the electronic switch and the relay
Number is identical, and electronic switch described in every road is connected with the corresponding relay described all the way respectively.
Further, the differential amplification module includes that the first operational amplifier, second operational amplifier and third operation are put
Big device, the electrode input end of first operational amplifier and the electrode input end of second operational amplifier are connected to described
Any two road of multicircuit switch module, the negative input of first operational amplifier are connected to first operation
On the output end of amplifier, the negative input of second operational amplifier is connected to the output end of the second operational amplifier
On;The output end of first operational amplifier and the output end of second operational amplifier pass through corresponding two resistance respectively
RiIt is connected on the electrode input end and negative input of the third operational amplifier, the anode of the third operational amplifier
Input terminal also passes through a resistance RfIt is connected on the output end of the third operational amplifier, the third operational amplifier
Negative input also passes through another resistance RfGround connection.
Further, the input voltage of the analog-digital converter is VAD=(Ri/Rf)*I*RS, wherein I is that external inflow is maximum
Electric current.
Detailed description of the invention
Fig. 1 is a kind of integral module figure of the device for header box current detecting of the utility model;
Fig. 2 is a kind of physical circuit figure of the device for header box current detecting of the utility model.
Specific embodiment
The principles of the present invention and feature are described below in conjunction with attached drawing, example is served only for explaining that this is practical
It is novel, it is not intended to limit the scope of the utility model.
As shown in Figure 1, a kind of device for header box current detecting, including sampling resistor module, the difference being sequentially connected in series
Divide protective module, multicircuit switch module, differential amplification module, analog-digital converter, microcontroller and communication module, it is described more
Road change-over switch module is also electrically connected with the microcontroller.
In this embodiment, the communication module is electrically connected with the microcontroller, and the communication module is specially
RS232 chip or RS485 chip or CAN chip.
The utility model further includes power supply, and the power supply is used for the resistive module, difference protective module, multipath conversion
Switch module, differential amplification module, analog-digital converter and microcontroller power supply.
Fig. 2 is a kind of physical circuit figure of the device for header box current detecting of the utility model.
As shown in Fig. 2, the sampling resistor module is equipped with one or more, each sampling resistor module is by one
Or multiple low value resistance alloys RsIt composes in parallel.The sampling resistor module is used to convert foreign current signal in voltage letter
Number, sampling resistor module follows Ohm's law US=I*RS, I is external inflow maximum current, RSFor resistance alloys RsResistance value.
As shown in Fig. 2, the number of the difference protective module is identical as the number of the sampling resistor module, it is each described
Difference protective module includes two resistance units and a diode;The resistance unit includes one or more series connection
Resistance R;The diode include diode D1, diode D2, diode D3 and diode D4, the diode D1,
Diode D2, diode D3 and diode D4 head and the tail are sequentially connected and are formed loop, the public affairs of the diode D1 and diode D4
Input has voltage VREF, the common end grounding of the diode D2 and diode D3 on end altogether;One of them described resistance unit
One end be connected on the common end of the diode D1 and diode D2, the connection of one end of resistance unit described in another one
On the common end of diode D3 and diode D4;The both ends of each sampling resistor module be connected to one it is corresponding
On the other end of two resistance units in the difference protective module.The difference protective module is for drawing sampling resistor module
The press-fitted system of the height entered is on predetermined voltage.Total resistance value of the resistance unit sealed in the difference protective module is introduced according to outside
The maximum power of single resistance R in ceiling voltage and resistance unit calculates, total resistance value Rn >=U of the resistance unitMAX 2/
PR, wherein UMAXFor the ceiling voltage that outside introduces, PRIt is the rated power of resistance R.
The number of the multicircuit switch module is identical as the number of the difference protective module, and the multipath conversion is opened
Closing module includes multi-channel electronic switch and multicircuit relay, and the number of the electronic switch is identical as the number of the relay,
Electronic switch described in every road is connected with the corresponding relay described all the way respectively.Control of the multicircuit switch module by microcontroller
System, switches between different difference protective modules, to acquire the voltage signal of the generation of the sampling resistor module on different channels.
As shown in Fig. 2, the differential amplification module includes the first operational amplifier, second operational amplifier and third operation
Amplifier, the electrode input end of first operational amplifier and the electrode input end of second operational amplifier are connected to institute
Any two road of multicircuit switch module is stated, the negative input of first operational amplifier is connected to first fortune
On the output end for calculating amplifier, the negative input of second operational amplifier is connected to the output end of the second operational amplifier
On;The output end of first operational amplifier and the output end of second operational amplifier pass through corresponding two resistance respectively
RiIt is connected on the electrode input end and negative input of the third operational amplifier, the anode of the third operational amplifier
Input terminal also passes through a resistance RfIt is connected on the output end of the third operational amplifier, the third operational amplifier
Negative input also passes through another resistance Rf ground connection.
In differential amplification module, the first operational amplifier and second operational amplifier composition emitter following circuit group future in
The high impedance voltage signal that multichannel turns switch module is converted into low-impedance voltage signal, and third operational amplifier will be low-impedance
The requirement that voltage signal is further amplified to meet analog-digital converter to level signal.Wherein, third operational amplifier is differential
Amplification factor is A=Ri/Rf。
Analog-digital converter can be met the requirements by the inside AD that microcontroller integrates, it is also possible to which commercially available A/D chip is completed, described
The input voltage of analog-digital converter is VAD=A*US=(Ri/Rf)*I*RS.By adjusting Ri、Rf、RSThese three resistance meet mould
Requirement of the number converter to input voltage.
Microcontroller can be formed with commercially available MCU and dsp chip, such as the model of microcontroller can be 80296SA, micro-
Controller is used to turn multichannel the control of switch module, the corresponding current signal in each channel for being also used to convert analog-digital converter
Pass through communication module and outer equipment exchange information.
A kind of device for header box current detecting of the utility model passes through sampling resistor module for foreign current signal
It is converted into voltage signal;Difference protective module can will introduce at sampling resistor both ends in sampling resistor module operation irregularity open circuit
External high pressure it is embedding system on predetermined voltage, not will cause late-class circuit and damaged because of high pressure;Multicircuit switch module is by micro-
The control of controller switches between different difference protective modules, to acquire the generation of the sampling resistor module on different channels
Voltage signal;The high impedance voltage signal for turning switch module in multichannel in differential amplification module future is converted into low-impedance voltage
Signal, and the requirement low-impedance voltage signal being further amplified to meet analog-digital converter to level signal;Microcontroller
The corresponding current signal in each channel of analog-digital converter conversion is passed through into communication module and outer equipment exchange information.This is practical new
Type device can remain to work normally when sampling resistor module open circuit introduces external high pressure.
The above is only the preferred embodiment of the present invention, is not intended to limit the utility model, all practical at this
Within novel spirit and principle, any modification, equivalent replacement, improvement and so on should be included in the guarantor of the utility model
Within the scope of shield.