CN108845186A - The detection circuit and detection method of ground resistance - Google Patents
The detection circuit and detection method of ground resistance Download PDFInfo
- Publication number
- CN108845186A CN108845186A CN201810407235.0A CN201810407235A CN108845186A CN 108845186 A CN108845186 A CN 108845186A CN 201810407235 A CN201810407235 A CN 201810407235A CN 108845186 A CN108845186 A CN 108845186A
- Authority
- CN
- China
- Prior art keywords
- relay
- resistance
- power supply
- ground
- connect
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R27/00—Arrangements for measuring resistance, reactance, impedance, or electric characteristics derived therefrom
- G01R27/02—Measuring real or complex resistance, reactance, impedance, or other two-pole characteristics derived therefrom, e.g. time constant
- G01R27/20—Measuring earth resistance; Measuring contact resistance, e.g. of earth connections, e.g. plates
- G01R27/205—Measuring contact resistance of connections, e.g. of earth connections
Abstract
The invention discloses a kind of detection circuit of ground resistance and detection method, the detection circuit of the ground resistance includes power supply electrode input end, power supply negative input, relay circuit unit, signal sample circuit unit and single-chip microcontroller;Single-chip microcontroller, to relay circuit unit, executes corresponding switch motion with control relay circuit unit and exports corresponding voltage signal to signal sample circuit unit according to the preset corresponding control signal of control rule output;Signal sample circuit unit exports the voltage signal sampled to single-chip microcontroller, the resistance value of the ground resistance of the resistance value and power supply negative input of the ground resistance for single-chip microcontroller according to the voltage signal received and preset computation rule calculating power supply electrode input end over the ground over the ground.The present invention solve ground resistance of the ground resistance of power supply electrode input end over the ground with power supply negative input over the ground resistance value it is identical when the technical issues of being unable to measure to ground resistance.
Description
Technical field
The present invention relates to the detection circuits and detection method of electronic technology field more particularly to a kind of ground resistance.
Background technique
In the prior art, be usually all using balanced bridge method to power supply electrode input end ground resistance over the ground and
The resistance value of the ground resistance of power supply negative input over the ground measures, still, when power supply electrode input end over the ground
Ground resistance of the ground resistance with power supply negative input over the ground resistance value it is identical when, balanced bridge rule is unable to measure
The resistance value of above-mentioned two pair of ground resistance.
Summary of the invention
The main purpose of the present invention is to provide a kind of detection circuits of ground resistance, it is intended to it is defeated to solve power supply anode
Existing balanced bridge when entering to hold the resistance value of ground resistance of the ground resistance with power supply negative input over the ground over the ground identical
Method is unable to measure the technical issues of to ground resistance.
To achieve the goals above, the present invention provides a kind of detection circuit of ground resistance, the detection of the ground resistance
Circuit includes power supply electrode input end, power supply negative input, relay circuit unit, signal sample circuit unit
And single-chip microcontroller;Wherein:
The single-chip microcontroller, for according to the preset corresponding control signal of control rule output to the relay circuit list
The control terminal of member, to control the work of the relay circuit unit;
The relay circuit unit, for executing corresponding switch motion according to the control signal received, and
Corresponding voltage signal is exported to the signal sample circuit unit;
The signal sample circuit unit, the voltage signal for exporting to the relay circuit unit carry out signal and adopt
Sample, and the voltage signal sampled is exported to the single-chip microcontroller, for the single-chip microcontroller according to the voltage signal and
Preset computation rule calculate the ground resistance of the power supply electrode input end over the ground resistance value and the power supply
The resistance value of the ground resistance of negative input over the ground;
The relay circuit unit is connected to the power supply electrode input end and power supply cathode input
Between end, the input terminal of the signal sample circuit unit is connect with the signal output end of the relay circuit unit, described
The output end of signal sample circuit unit is connect with the signal sampling end of the single-chip microcontroller, the control output end of the single-chip microcontroller with
The control terminal of the relay circuit unit connects.
Preferably, the relay circuit unit includes the first relay circuit subelement, the second relay circuit list
Member, first resistor, second resistance, 3rd resistor, the 4th resistance, the 5th resistance, the 6th resistance, the 7th resistance and first capacitor;
Wherein:
The first end of the first resistor is inputted through the first relay circuit subelement and the power supply anode
End connection, the second end of the first resistor are connect with the first end of the second resistance, the second end warp of the second resistance
The second relay circuit subelement is connect with the power supply negative input, the second end of the first resistor also with
Ground connection;The first end of the 3rd resistor is connect with the power supply electrode input end, the second end of the 3rd resistor
It is connect through the 4th resistance with the first end of the 5th resistance, the second end of the 5th resistance is through the 6th resistance point
It is not connect with the first end of the first end of the 7th resistance and the first capacitor, the second end of the 7th resistance and described
The second end of first capacitor is connect with the power supply negative input, and the second end of the 3rd resistor also connects with ground
It connects;The first end of 7th resistance is the signal output end of the relay circuit unit;First relay circuit
The control terminal of unit and the control terminal of the second relay circuit subelement are connect with the single-chip microcontroller.
Preferably, the first relay circuit subelement includes the first operating voltage input terminal, the first NMOS tube, first
Relay, first diode, the 8th resistance, the 9th resistance and the second capacitor;Wherein:
The first end of the switch of first relay is connect with the power supply electrode input end, first relay
The second end of the switch of device is connect with the first end of the first resistor;The first end of the coil of first relay with it is described
The drain electrode of the connection of first operating voltage input terminal, the second end of the coil of first relay and first NMOS tube connects
It connects, the first operating voltage input terminal is also connect through second capacitor with the power supply negative input;
The anode of the first diode is connect with the second end of the coil of first relay, the first diode
Cathode connect with the first end of the coil of first relay;The source electrode and the power supply of first NMOS tube are negative
The connection of pole input terminal, the grid of first NMOS tube are connect through the 8th resistance with the power supply negative input,
The grid of first NMOS tube is also connect with the first end of the 9th resistance, and the second end of the 9th resistance is described the
The control terminal of one relay circuit subelement, the second end of the 9th resistance and the first control output end of the single-chip microcontroller connect
It connects.
Preferably, the second relay circuit subelement include the second NMOS tube, the second relay, the second diode,
Tenth resistance, eleventh resistor, the first operating voltage input terminal and second capacitor;Wherein:
The first end of the switch of second relay is connect with the power supply negative input, second relay
The second end of the switch of device is connect with the second end of the second resistance;The first end of the coil of second relay with it is described
The drain electrode of the connection of first operating voltage input terminal, the second end of the coil of second relay and second NMOS tube connects
It connects;
The anode of second diode is connect with the second end of the coil of second relay, second diode
Cathode connect with the first end of the coil of second relay;The source electrode and the power supply of second NMOS tube are negative
The connection of pole input terminal, the grid of second NMOS tube are connect through the tenth resistance with the power supply negative input,
The grid of second NMOS tube is also connect with the first end of the eleventh resistor, and the second end of the eleventh resistor is institute
The control terminal of the second relay circuit subelement is stated, the second end of the eleventh resistor and the second control of the single-chip microcontroller are defeated
Outlet connection;The first operating voltage input terminal is also connect through second capacitor with the power supply negative input.
Preferably, the signal sample circuit unit include the second operating voltage input terminal, third operating voltage input terminal,
Third capacitor, the 4th capacitor, the 5th capacitor, operational amplifier and twelfth resistor;Wherein:
The non-inverting input terminal of the operational amplifier is connect with the signal output end of the relay circuit unit, the fortune
The inverting input terminal for calculating amplifier is connect with the output end of the operational amplifier, the power positive end of the operational amplifier and institute
The connection of the second operating voltage input terminal is stated, the power supply negative terminal of the operational amplifier and the third operating voltage input terminal connect
It connects;
The first end of the third capacitor is connect with the second operating voltage input terminal, the second end of the third capacitor
It is connect with the power supply negative input;The first end of 4th capacitor and the third operating voltage input terminal connect
It connects, the second end of the 4th capacitor is connect with the power supply negative input;The output end of the operational amplifier is also
It is connect through the twelfth resistor with the signal sampling end of the single-chip microcontroller, the signal sampling end of the single-chip microcontroller is also through described
Five capacitors are connect with the power supply negative input.
Preferably, the signal sampling end of the single-chip microcontroller is also connected with a voltage regulator circuit, and the voltage regulator circuit includes the 4th
Operating voltage input terminal, third diode and the 4th diode;Wherein:
The signal sampling end of the described single-chip microcontroller of cathode of the cathode of the third diode and the 4th diode connects
It connects;The anode of the third diode is connect with the power supply negative input, the anode of the 4th diode and institute
State the connection of the 4th operating voltage input terminal.
In addition, to achieve the above object, the present invention also provides a kind of detection method of ground resistance, the ground resistance
Detection method includes the following steps:
S10, single-chip microcontroller control the control of signal to relay circuit unit according to preset control rule output is corresponding
End executes corresponding switch motion to control the relay circuit unit, so that the relay circuit unit output phase is answered
Voltage signal to the signal sample circuit unit;
S20, the signal sample circuit unit carry out signal to the voltage signal that the relay circuit unit exports and adopt
Sample, and the voltage signal sampled is exported to the single-chip microcontroller;
S30, the single-chip microcontroller are defeated according to the voltage signal and the preset computation rule calculating power supply anode
Enter the resistance value of the ground resistance of the resistance value and the power supply negative input of the ground resistance of end over the ground over the ground.
Preferably, the step S10 includes:
S11, single-chip microcontroller according to preset control rule output first control signal into relay circuit unit first after
The control terminal of appliance circuit subelement and the second relay circuit subelement, to control in the first relay circuit subelement
The first relay and the second relay circuit subelement in the second relay be off-state so that the relay
Device circuit unit exports first voltage signal to the signal sample circuit unit;
S12, single-chip microcontroller are single to the first relay circuit according to preset control rule output second control signal
The control terminal of member and the control terminal for exporting the first control signal to the second relay circuit subelement, described in control
First relay is on state, and second relay is off-state, so that relay circuit unit output second
Voltage signal is to the signal sample circuit unit;
S13, single-chip microcontroller export the first control signal to first relay circuit according to preset control rule
The control terminal of subelement and the control terminal for exporting the second control signal to the second relay circuit subelement, with control
First relay is off-state, and second relay is on state, so that the relay circuit unit exports
Tertiary voltage signal is to the signal sample circuit unit.
Preferably, the step S30 includes:
S31, when first relay and second relay are off-state, the single-chip microcontroller is according to
First voltage signal and preset first computation rule calculate the voltage of the power supply electrode input end;
S32, when first relay is on state and second relay is off-state, the single-chip microcontroller
It is calculated between the power supply negative input and ground according to the second voltage signal and preset second computation rule
First detection voltage;
S33, when first relay is off-state and second relay is on state, the single-chip microcontroller
It is calculated between the power supply negative input and ground according to the tertiary voltage signal and preset third computation rule
Second detection voltage;
S34, the single-chip microcontroller is according to the voltage of the power supply electrode input end, the first detection voltage, described
Second detection voltage and preset 4th computation rule calculate the resistance of the ground resistance of the power supply electrode input end over the ground
The resistance value of the ground resistance of value and the power supply negative input over the ground.
The present invention provides a kind of detection circuit of ground resistance, the detection circuit of the ground resistance include power supply just
Pole input terminal, power supply negative input, relay circuit unit, signal sample circuit unit and single-chip microcontroller;The monolithic
Machine, for the control terminal according to the preset corresponding control signal of control rule output to the relay circuit unit, with control
Make the work of the relay circuit unit;The relay circuit unit, for being held according to the control signal received
The corresponding switch motion of row, and corresponding voltage signal is exported to the signal sample circuit unit;The signal sample circuit
Unit, the voltage signal for exporting to the relay circuit unit carry out signal sampling, and the voltage that will be sampled
Signal is exported to the single-chip microcontroller, so that the single-chip microcontroller calculates the confession according to the voltage signal and preset computation rule
The ground resistance of the resistance value of the ground resistance of electric power supply positive input over the ground and the power supply negative input over the ground
Resistance value;The relay circuit unit is connected to the power supply electrode input end and the power supply negative input
Between, the input terminal of the signal sample circuit unit is connect with the signal output end of the relay circuit unit, the letter
Number output end of sample circuit unit is connect with the signal sampling end of the single-chip microcontroller, the control output end of the single-chip microcontroller and institute
State the control terminal connection of relay circuit unit.The detection circuit of ground resistance of the present invention can be according to institute by the single-chip microcontroller
State the voltage signal and the preset computation rule calculating power supply electrode input end pair that signal sample circuit samples
The resistance value of the ground resistance of the resistance value of the ground resistance on ground and the power supply negative input over the ground, to solve confession
When the resistance value of ground resistance of the ground resistance of electric power supply positive input over the ground with power supply negative input over the ground is identical
Existing balanced bridge method is unable to measure the technical issues of to ground resistance;Also, the present invention also has the structure simple and easily realizes
Advantage.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
The structure shown according to these attached drawings obtains other attached drawings.
Fig. 1 is the structural schematic diagram of one embodiment of detection circuit of ground resistance of the present invention;
Fig. 2 be ground resistance of the present invention one embodiment of detection circuit described in the first relay be connected and described second after
When electric appliance disconnects, between the power supply electrode input end and ground and between the power supply negative input and ground
The structural schematic diagram of resistance equivalent circuit;
Fig. 3 be ground resistance of the present invention one embodiment of detection circuit described in the first relay disconnection and described second after
When electric appliance is connected, between the power supply electrode input end and ground and between the power supply negative input and ground
The structural schematic diagram of resistance equivalent circuit;
Fig. 4 is the flow diagram of the detection method first embodiment of ground resistance of the present invention;
Fig. 5 is the flow diagram of the detection method second embodiment of ground resistance of the present invention;
Fig. 6 is the flow diagram of the detection method 3rd embodiment of ground resistance of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provides a kind of detection circuit of ground resistance, for solving the ground connection of power supply electrode input end over the ground
The resistance value of ground resistance of the resistance with power supply negative input over the ground when identical existing balanced bridge method be unable to measure over the ground
The technical issues of resistance.
Fig. 1 is the structural schematic diagram of one embodiment of detection circuit of ground resistance of the present invention, referring to Fig.1, in an embodiment
In, the detection circuit of the ground resistance includes power supply electrode input end Uin+, power supply negative input Uin-, relay
Device circuit unit 101, signal sample circuit unit 102 and single-chip microcontroller 103.
Specifically, the single-chip microcontroller 103, for according to the output of preset control rule control accordingly signal to it is described after
The control terminal of appliance circuit unit 101, to control the work of the relay circuit unit 101;
The relay circuit unit 101, for executing corresponding switch motion according to the control signal received,
And corresponding voltage signal is exported to the signal sample circuit unit 102;
The signal sample circuit unit 102, the voltage signal for exporting to the relay circuit unit 101 carry out
Signal sampling, and the voltage signal sampled is exported to the single-chip microcontroller 103, so that the single-chip microcontroller 103 is according to institute
It states voltage signal and preset computation rule calculates the resistance value of the power supply electrode input end Uin+ ground resistance of G over the ground
And the resistance value of the power supply negative input Uin- ground resistance of G over the ground.
Wherein, the relay circuit unit 101 is connected to the power supply electrode input end Uin+ and the power supply
Between power supply negative input terminal Uin-, the input terminal of the signal sample circuit unit 102 and the relay circuit unit 101
Signal output end connection, the signal sampling end of the output end of the signal sample circuit unit 102 and the single-chip microcontroller 103 connects
It connects, the control output end of the single-chip microcontroller 103 is connect with the control terminal of the relay circuit unit 101.
Specifically, in the present embodiment, the relay circuit unit 101 include the first relay circuit subelement 1011,
Second relay circuit subelement 1012, first resistor R1, second resistance R2,3rd resistor R3, the 4th resistance R4, the 5th resistance
R5, the 6th resistance R6, the 7th resistance R7 and first capacitor C1.Wherein, the first end of the first resistor R1 through described first after
Appliance circuit subelement 1011 is connect with the power supply electrode input end Uin+, the second end of the first resistor R1 and institute
State the first end connection of second resistance R2, the second end of the second resistance R2 and the second relay circuit subelement 1012
Connection, the second end of the first resistor R1 are also connect with ground G;The first end of the 3rd resistor R3 and the power supply are just
Pole input terminal Uin+ connection, the second end of the 3rd resistor R3 is through the first of the 4th resistance R4 and the 5th resistance R5
End connection, the second end of the 5th resistance R5 through the 6th resistance R6 respectively with the first end of the 7th resistance R7 and institute
State the first end connection of first capacitor C1, the second end of the second end of the 7th resistance R7 and the first capacitor C1 are and institute
The Uin- connection of power supply negative input is stated, the second end of the 3rd resistor R3 is also connect with ground G;The 7th resistance R7
First end be the relay circuit unit 101 signal output end;The control of the first relay circuit subelement 1011
The control terminal B of end A processed and the second relay circuit subelement 1012 is connect with the single-chip microcontroller 103.
In the present embodiment, the first relay circuit subelement 1011 includes the first operating voltage input terminal VCC1, the
One NMOS tube Q1, the first relay J1, first diode D1, the 8th resistance R8, the 9th resistance R9 and the second capacitor C2.Specifically
Ground, the first end of the switch of the first relay J1 are connect with the power supply electrode input end Uin+, described first after
The second end of the switch of electric appliance J1 is connect with the first end of the first resistor R1;The first of the coil of the first relay J1
End is connect with the first operating voltage input terminal VCC1, the second end and described first of the coil of the first relay J1
The drain electrode of NMOS tube Q1 connects, and the first operating voltage input terminal VCC1 is also through the second capacitor C2 and the power supply
Negative input Uin- connection;The second end of the coil of the anode of the first diode D1 and the first relay J1 connects
It connects, the cathode of the first diode D1 is connect with the first end of the coil of the first relay J1;First NMOS tube
The source electrode of Q1 is connect with the power supply negative input Uin-, and the grid of the first NMOS tube Q1 is through the 8th resistance
R8 is connect with the power supply negative input Uin-, and the grid of the first NMOS tube Q1 is also with the 9th resistance R9's
First end connection, the second end of the 9th resistance R9 is the control terminal of the first relay circuit subelement 1011, described
The second end of 9th resistance R9 is connect with the first control output end (figure is unlabeled) of the single-chip microcontroller 103.
In the present embodiment, the second relay circuit subelement 1012 include the second NMOS tube Q2, the second relay J2,
Second diode D2, the tenth resistance R10, eleventh resistor R11, the first operating voltage input terminal VCC1 and second electricity
Hold C2.Specifically, the first end of the switch of the second relay J2 is connect with the power supply negative input Uin-, institute
The second end for stating the switch of the second relay J2 is connect with the second end of the second resistance R2;The line of the second relay J2
The first end of circle is connect with the first operating voltage input terminal VCC1, the second end of the coil of the second relay J2 and institute
State the drain electrode connection of the second NMOS tube Q2;The second of the coil of the anode of the second diode D2 and the second relay J2
End connection, the cathode of the second diode D2 are connect with the first end of the coil of the second relay J2;Described second
The source electrode of NMOS tube Q2 is connect with the power supply negative input Uin-, and the grid of the second NMOS tube Q2 is through described
Ten resistance R10 are connect with the power supply negative input Uin-, and the grid of the second NMOS tube Q2 is also with the described tenth
The first end of one resistance R11 connects, and the second end of the eleventh resistor R11 is the second relay circuit subelement 1012
Control terminal, the second control output end (figure is unlabeled) of the second end of the eleventh resistor R11 and the single-chip microcontroller 103 is even
It connects;The first operating voltage input terminal VCC1 also connects through the second capacitor C2 and power supply negative input Uin-
It connects.
In the present embodiment, the signal sample circuit unit 102 includes the second operating voltage input terminal VCC2, third work
Voltage input end VCC3, third capacitor C3, the 4th capacitor C4, the 5th capacitor C5, operational amplifier U1 and twelfth resistor R12.
Specifically, the signal output end of the non-inverting input terminal of the operational amplifier U1 and the relay circuit unit 101 is (i.e. described
The first end of 7th resistance R7) connection, the output of the inverting input terminal of the operational amplifier U1 and the operational amplifier U1
End connection, the power positive end of the operational amplifier U1 are connect with the second operating voltage input terminal VCC2, and the operation is put
The power supply negative terminal of big device U1 is connect with the third operating voltage input terminal VCC3;The first end of the third capacitor C3 with it is described
Second operating voltage input terminal VCC2 connection, the second end of the third capacitor C3 and the power supply negative input Uin-
Connection;The first end of the 4th capacitor C4 is connect with the third operating voltage input terminal VCC3, the 4th capacitor C4's
Second end is connect with the power supply negative input Uin-;The output end of the operational amplifier U1 is also through the described 12nd
Resistance R12 is connect with the signal sampling end of the single-chip microcontroller 103, and the signal sampling end of the single-chip microcontroller 103 is also through the described 5th
Capacitor C5 is connect with the power supply negative input Uin-.
Further, in the present embodiment, the signal sampling end of the single-chip microcontroller 103 is also connected with a voltage regulator circuit 1021,
The voltage regulator circuit 1021 includes the 4th operating voltage input terminal VCC4, third diode D3 and the 4th diode D4.Specifically,
The signal sampling end of the described single-chip microcontroller 103 of cathode of the cathode and the 4th diode D4 of the third diode D3 connects
It connects;The anode of the third diode D3 is connect with the power supply negative input Uin-, the 4th diode D4's
Anode is connect with the 4th operating voltage input terminal VCC4.
It is understood that above-mentioned first operating voltage input terminal VCC1, above-mentioned second operating voltage are defeated in the present embodiment
Enter to hold the voltage value of VCC2, above-mentioned third operating voltage input terminal VCC3 and above-mentioned 4th operating voltage input terminal VCC4 can root
It is set according to actual conditions.Preferably, in the present embodiment, the voltage of the first operating voltage input terminal VCC1 be+15V,
The voltage of the second operating voltage input terminal VCC2 is+5V, and the voltage of the third operating voltage input terminal VCC3 is -5V,
The voltage of the 4th operating voltage input terminal VCC4 is+2.8V.
Similarly, the resistance value of above-mentioned each resistance in the detection circuit of the present embodiment ground resistance can also be according to the actual situation
It is set.Preferably, in the present embodiment, the first resistor R1, the second resistance R2 resistance value be 1000K ohm,
The resistance value of the 3rd resistor R3 is 2500K ohm, the 4th resistance R4, the 5th resistance R5 and the 6th resistance R6
Resistance value be 750K ohm, the resistance value of the 7th resistance R7 is 9.53K ohm, the 8th resistance R8 and described tenth electric
The resistance value for hindering R10 is 10K ohm, and the resistance value of the 9th resistance R9 and the eleventh resistor R11 are 100K ohm, institute
The resistance value for stating twelfth resistor R12 is 680K ohm.
The working principle of the detection circuit of the present embodiment ground resistance is described in detail below:Firstly, the single-chip microcontroller 103
According to the first relay circuit described in preset control rule output first control signal to the relay circuit unit 101
The control terminal of the control terminal of unit 1011 and the second relay circuit subelement 1012, to control the first relay electricity
The second relay J2 in the first relay J1 and the second relay circuit subelement 1012 in way unit 1011 is equal
For off-state, so that the relay circuit unit 101 exports first voltage signal UAD1 to the signal sample circuit list
Member 102, the signal sample circuit unit 102 carries out signal sampling to the first voltage signal UAD1, and will sample
The first voltage signal UAD1 is exported to the single-chip microcontroller 103, and the single-chip microcontroller 103 is according to the first voltage signal UAD1
And preset first computation rule calculates the voltage Uin of the power supply electrode input end Uin+.Specifically, the single-chip microcontroller
103 calculate the power supply electricity according to the first voltage signal UAD1 and according to preset first computation rule as follows
The voltage Uin of source electrode input end Uin+:
Uin=UAD1* (R3+R4+R5+R6+R7)/R7 (1.1)
Then, the single-chip microcontroller 103 is according to preset control rule output second control signal to first relay
The control terminal of circuit subelement 1011 and the output first control signal are to the second relay circuit subelement 1012
Control terminal, to control the first relay J1 as on state, the second relay J2 is off-state so that it is described after
Appliance circuit unit 101 exports second voltage signal UAD2 to the signal sample circuit unit 102, the signal sample circuit
Unit 102 carries out signal sampling to the second voltage signal UAD2, and the second voltage signal UAD2 sampled is defeated
Out to the single-chip microcontroller 103, the single-chip microcontroller 103 is according to the second voltage signal UAD2 and preset second computation rule meter
Calculate the first detection voltage U between the power supply negative input Uin- and groundb1.Specifically, 103 basis of single-chip microcontroller
The second voltage signal UAD2 and the power supply cathode is calculated according to preset second computation rule as follows
The first detection voltage U between input terminal Uin- and groundb1:
Ub1=UAD2* [R1*R3/ (R1+R3)+R4+R5+R6+R7]/R7 (2.1)
Fig. 2 be ground resistance of the present invention one embodiment of detection circuit described in the first relay be connected and described second after
When electric appliance disconnects, between the power supply electrode input end and ground and between the power supply negative input and ground
The structural schematic diagram of resistance equivalent circuit, together referring to Figures 1 and 2, R1 '=R1=1000K ohm;The R2 '=Europe R3=2500K
Nurse;R3 '=R4+R5+R6+R7=2259.53K ohm;RxFor the power supply electrode input end Uin+ over the ground G ground connection electricity
Resistance, RyFor the ground resistance of power supply negative input Uin- G over the ground, Ub1For when first relay conducting and institute
State the first detection voltage of the G over the ground of power supply negative input Uin- when the second relay disconnects, RaFor when described
The R when conducting of one relay and second relay disconnectionxAnd total resistance value of upper R1 ' and R2 ', RbFor when first relay
R when conducting and second relay disconnectionyAnd total resistance value of upper R3 '.According to the as described above first resistor R1, described
The resistance of 3rd resistor R3, the 4th resistance R4, the 5th resistance R5, the 6th resistance R6 and the 7th resistance R7
Value, can obtain:
Therefore, by above-mentioned (2.2), (2.3) and (2.4) Shi Ke get:
RxRy(2973.83Ub1-2259.53Uin)+1613982RxUb1+1613982Ry(Ub1-Uin)=0 (2.5)
Then, the single-chip microcontroller 103 according to preset control rule export the first control signal to described first after
The control terminal of appliance circuit subelement 1011 and the output second control signal are to the second relay circuit subelement
1012 control terminal, to control the first relay J1 as off-state, the second relay J2 is on state, so that
The relay circuit unit 101 exports tertiary voltage signal UAD3 to the signal sample circuit unit 102, and the signal is adopted
Sample circuit unit 102 carries out signal sampling, and the tertiary voltage signal that will be sampled to the tertiary voltage signal UAD3
UAD3 is exported to the single-chip microcontroller 103, and the single-chip microcontroller 103 is calculated according to the tertiary voltage signal UAD3 and preset third
Rule calculates the second detection voltage U between the power supply negative input Uin- and groundb2.Specifically, the single-chip microcontroller
103 calculate the power supply electricity according to the tertiary voltage signal UAD3 and according to preset third computation rule as follows
The second detection voltage U between source negative input Uin- and groundb2:
Ub2=[UAD3*R2* (R4+R5+R6+R7)/(R2+R4+R5+R6+R7)]/R7 (3.1)
Fig. 3 be ground resistance of the present invention one embodiment of detection circuit described in the first relay disconnection and described second after
When electric appliance is connected, between the power supply electrode input end and ground and between the power supply negative input and ground
The structural schematic diagram of resistance equivalent circuit, together referring to Figure 1 and Figure 3, R4 '=R3=2500K ohm;The R5 '=Europe R2=1000K
Nurse;R6 '=R4+R5+R6+R7=2259.53K ohm;RxFor the power supply electrode input end Uin+ over the ground G ground connection electricity
Resistance, RyFor the ground resistance of power supply negative input Uin- G over the ground, Ub2For when first relay disconnection and institute
The second detection voltage of power supply negative input Uin- G over the ground, R when stating the conducting of the second relayaFor when described
R when one relay disconnects and second relay is connectedxAnd total resistance value of upper R4 ', RbFor when first relay disconnect and
R when second relay is connectedyAnd total resistance value of upper R5 ' and R6 '.According to the as described above second resistance R2, described
The resistance of 3rd resistor R3, the 4th resistance R4, the 5th resistance R5, the 6th resistance R6 and the 7th resistance R7
Value, can obtain:
Therefore, by above-mentioned (3.2), (3.3) and (3.4) Shi Ke get:
RxRy(3193.2Ub1-693.2Uin)+1733000RxUb2+1733000Ry(Ub2-Uin)=0 (3.5)
The ground resistance R of power supply electrode input end Uin+ G over the ground can be obtained by (2.5) formula and (3.5) formulaxResistance
The ground resistance R of value and power supply negative input Uin- G over the groundyResistance value be respectively:
Finally, the single-chip microcontroller 103 is according to the voltage Uin of the power supply electrode input end Uin+, first inspection
Survey voltage Ub1, it is described second detection voltage Ub2And preset 4th computation rule (i.e. above-mentioned (4.1) formula and (4.2) formula) calculates
The ground resistance R of power supply electrode input end Uin+ G over the groundxResistance value and the power supply negative input
The ground resistance R of Uin- G over the groundyResistance value (unit be kilo-ohm).
Since the value of Uin can be can be calculated by (1.1) formula, Ub1Value can be can be calculated by (2.1) formula, Ub2Value can be by
(3.1) it is all known quantity that formula, which can be calculated, therefore, it is defeated that the power supply anode can be calculated by (4.1) formula and (4.2) formula
Enter to hold the resistance value R of the Uin+ ground resistance of G over the groundxResistance value and the power supply negative input Uin- G connects over the ground
The resistance value R of ground resistanceyResistance value.
The detection circuit of the present embodiment ground resistance can be applied to field of solar thermal power generation and direct current generator power field
Deng the detection circuit of the present embodiment ground resistance has safeguard protection effect to power supply system.
The detection circuit of the present embodiment ground resistance can be according to the signal sample circuit due to the single-chip microcontroller 103
102 voltage signals (i.e. UAD1, UAD2 and UAD3) sampled and above-mentioned each preset computation rule calculate the power supply electricity
The ground resistance R of source electrode input end Uin+ G over the groundxResistance value and power supply negative input Uin- G over the ground
Ground resistance RyResistance value, to solve power supply electrode input end ground resistance over the ground and the input of power supply cathode
The technical issues of existing balanced bridge method is unable to measure to ground resistance when holding the resistance value of ground resistance over the ground identical;Also, this
Invention also has the advantages that structure is simple and easily realizes.
The present invention also provides a kind of detection methods of ground resistance, referring to Fig. 4, in one embodiment, the ground resistance
Detection method includes the following steps:
S10, single-chip microcontroller control the control of signal to relay circuit unit according to preset control rule output is corresponding
End executes corresponding switch motion to control the relay circuit unit, so that the relay circuit unit output phase is answered
Voltage signal to the signal sample circuit unit;
S20, the signal sample circuit unit carry out signal to the voltage signal that the relay circuit unit exports and adopt
Sample, and the voltage signal sampled is exported to the single-chip microcontroller;
S30, the single-chip microcontroller are defeated according to the voltage signal and the preset computation rule calculating power supply anode
Enter the resistance value of the ground resistance of the resistance value and the power supply negative input of the ground resistance of end over the ground over the ground.
It specifically, together referring to Fig.1 and Fig. 4, the detection method of the present embodiment ground resistance, is single-chip microcontroller 103 first
According to the control terminal of the preset corresponding control signal of control rule output to relay circuit unit 101, to control the relay
Device circuit unit 101 executes corresponding switch motion, so that the relay circuit unit 101 exports corresponding voltage signal extremely
The signal sample circuit unit 102;Then, the signal sample circuit unit 102 is defeated to the relay circuit unit 101
Voltage signal out carries out signal sampling, and the voltage signal sampled is exported to the single-chip microcontroller 103;Finally, institute
It states single-chip microcontroller 103 and the power supply electrode input end Uin+ is calculated over the ground according to the voltage signal and preset computation rule
The resistance value of the resistance value of the ground resistance of G and the power supply negative input Uin- ground resistance of G over the ground.
The detection method of the present embodiment ground resistance can be according to the signal sample circuit due to the single-chip microcontroller 103
102 voltage signals sampled and preset computation rule calculate the power supply electrode input end Uin+, and G connects over the ground
The resistance value of the resistance value of ground resistance and the power supply negative input Uin- ground resistance of G over the ground, to solve confession
When the resistance value of ground resistance of the ground resistance of electric power supply positive input over the ground with power supply negative input over the ground is identical
Existing balanced bridge method is unable to measure the technical issues of to ground resistance;Also, the present invention also has the structure simple and easily realizes
Advantage.
Further, referring to Fig. 5, the detection method first embodiment based on above-mentioned ground resistance, in present invention ground connection electricity
In the second embodiment of the detection method of resistance, above-mentioned steps S10 includes:
S11, single-chip microcontroller according to preset control rule output first control signal into relay circuit unit first after
The control terminal of appliance circuit subelement and the second relay circuit subelement, to control in the first relay circuit subelement
The first relay and the second relay circuit subelement in the second relay be off-state so that the relay
Device circuit unit exports first voltage signal to the signal sample circuit unit;
S12, single-chip microcontroller are single to the first relay circuit according to preset control rule output second control signal
The control terminal of member and the control terminal for exporting the first control signal to the second relay circuit subelement, described in control
First relay is on state, and second relay is off-state, so that relay circuit unit output second
Voltage signal is to the signal sample circuit unit;
S13, single-chip microcontroller export the first control signal to first relay circuit according to preset control rule
The control terminal of subelement and the control terminal for exporting the second control signal to the second relay circuit subelement, with control
First relay is off-state, and second relay is on state, so that the relay circuit unit exports
Tertiary voltage signal is to the signal sample circuit unit.
Specifically, together referring to Fig.1, Fig. 4 and Fig. 5, the detection method of the present embodiment ground resistance, be the monolithic first
Machine 103 is according to preset control rule output first control signal the first relay electricity into the relay circuit unit 101
The control terminal of way unit 1011 and the second relay circuit subelement 1012, to control the first relay circuit
The second relay J2 in the first relay J1 and the second relay circuit subelement 1012 in unit 1011 is disconnected
Open state, so that the relay circuit unit 101 exports first voltage signal UAD1 to the signal sample circuit unit
102;
Then, the single-chip microcontroller 103 is according to preset control rule output second control signal to first relay
The control terminal of circuit subelement 1011 and the output first control signal are to the second relay circuit subelement 1012
Control terminal, to control the first relay J1 as on state, controlling the second relay J2 is off-state, so that institute
It states relay circuit unit 101 and exports second voltage signal UAD2 to the signal sample circuit unit 102;
Finally, the single-chip microcontroller 103 according to preset control rule export the first control signal to described first after
The control terminal of appliance circuit subelement 1011 and the output second control signal are to the second relay circuit subelement
1012 control terminal, to control the first relay J1 as off-state, controlling the second relay J2 is on state,
So that the relay circuit unit 101 exports tertiary voltage signal UAD3 to the signal sample circuit unit 102.
The detection method of the present embodiment ground resistance can be according to the signal sample circuit due to the single-chip microcontroller 103
102 voltage signals (i.e. UAD1, UAD2 and UAD3) sampled and preset computation rule calculate the power supply anode
The ground resistance of the input terminal Uin+ resistance value of the ground resistance of G and the power supply negative input Uin- G over the ground over the ground
Resistance value, to solve power supply electrode input end ground resistance over the ground and power supply negative input connecing over the ground
The technical issues of existing balanced bridge method is unable to measure to ground resistance when the resistance value of ground resistance is identical;Also, the present invention also has
The advantages of structure is simple and easily realizes.
Further, referring to Fig. 6, the detection method second embodiment based on above-mentioned ground resistance, in present invention ground connection electricity
In the 3rd embodiment of the detection method of resistance, above-mentioned steps S30 includes:
S31, when first relay and second relay are off-state, the single-chip microcontroller is according to
First voltage signal and preset first computation rule calculate the voltage of the power supply electrode input end;
S32, when first relay is on state and second relay is off-state, the single-chip microcontroller
It is calculated between the power supply negative input and ground according to the second voltage signal and preset second computation rule
First detection voltage;
S33, when first relay is off-state and second relay is on state, the single-chip microcontroller
It is calculated between the power supply negative input and ground according to the tertiary voltage signal and preset third computation rule
Second detection voltage;
S34, the single-chip microcontroller is according to the voltage of the power supply electrode input end, the first detection voltage, described
Second detection voltage and preset 4th computation rule calculate the resistance of the ground resistance of the power supply electrode input end over the ground
The resistance value of the ground resistance of value and the power supply negative input over the ground.
Specifically, together referring to figs. 1 to Fig. 6, the detection method of the present embodiment ground resistance, as the first relay J1
And the second relay J2 is when being off-state, the single-chip microcontroller 103 is according to the first voltage signal UAD1 and default
The first computation rule calculate the voltage Uin of the power supply electrode input end Uin+.Specifically, the single-chip microcontroller 103
The power supply is being calculated just according to the first voltage signal UAD1 and according to preset first computation rule as follows
The voltage Uin of pole input terminal Uin+:
Uin=UAD1* (R3+R4+R5+R6+R7)/R7 (1.1)
When the first relay J1 is on state and the second relay J2 is off-state, the single-chip microcontroller
103 calculate the power supply negative input Uin- according to the second voltage signal UAD2 and preset second computation rule
The first detection voltage U between ground Gb1.Specifically, the single-chip microcontroller 103 according to the second voltage signal UAD2 and is pressed
The first inspection between the power supply negative input Uin- and ground is calculated according to preset second computation rule as follows
Survey voltage Ub1:
Ub1=UAD2* [R1*R3/ (R1+R3)+R4+R5+R6+R7]/R7 (2.1)
Due to when first relay conducting and second relay disconnect when, the power supply electrode input end
Structural schematic diagram such as Fig. 2 institute of resistance equivalent circuit between ground and between the power supply negative input and ground
Show, together referring to Figures 1 and 2, R1 '=R1=1000K ohm;R2 '=R3=2500K ohm;R3 '=R4+R5+R6+R7=
2259.53K ohm;RxFor the ground resistance of power supply electrode input end Uin+ G over the ground, RyIt is negative for the power supply
The ground resistance of pole input terminal Uin- G over the ground, Ub1For when first relay conducting and second relay disconnection when institute
State the voltage of power supply negative input Uin- G over the ground, RaFor when first relay conducting and second relay
R when disconnectionxAnd total resistance value of upper R1 ' and R2 ', RbFor the R when first relay is connected and second relay disconnectsy
And total resistance value of upper R3 '.According to the first resistor R1, the 3rd resistor R3, the 4th resistance R4, institute as described above
The resistance value of the 5th resistance R5, the 6th resistance R6 and the 7th resistance R7 are stated, can be obtained:
Therefore, by above-mentioned (2.2), (2.3) and (2.4) Shi Ke get:
RxRy(2973.83Ub1-2259.53Uin)+1613982RxUb1+1613982Ry(Ub1-Uin)=0 (2.5)
When the first relay J1 is off-state and the second relay J2 is on state, the single-chip microcontroller
103 calculate the power supply negative input Uin- according to the tertiary voltage signal UAD3 and preset third computation rule
The second detection voltage U between ground Gb2.Specifically, the single-chip microcontroller 103 according to the tertiary voltage signal UAD3 and is pressed
The second inspection between the power supply negative input Uin- and ground is calculated according to preset third computation rule as follows
Survey voltage Ub2:
Ub2=[UAD3*R2* (R4+R5+R6+R7)/(R2+R4+R5+R6+R7)]/R7 (3.1)
Since when the first relay J1 is disconnected and the second relay J2 is connected, the power supply anode is defeated
Enter to hold the structure of the resistance equivalent circuit between Uin+ and ground G and between the power supply negative input Uin- and ground G
Schematic diagram is as shown in figure 3, together referring to Figure 1 and Figure 3, and R4 '=R3=2500K ohm;R5 '=R2=1000K ohm;R6 '=
R4+R5+R6+R7=2259.53K ohm;RxFor the ground resistance of power supply electrode input end Uin+ G over the ground, RyFor institute
State the ground resistance of power supply negative input Uin- G over the ground, Ub2For when first relay disconnect and described second after
The voltage of power supply negative input Uin- G over the ground, R when electric appliance is connectedaFor when first relay disconnection and institute
R when stating the conducting of the second relayxAnd total resistance value of upper R4 ', RbFor when first relay disconnect and second relay lead
R when logicalyAnd total resistance value of upper R5 ' and R6 '.According to the as described above second resistance R2, the 3rd resistor R3, described the
The resistance value of four resistance R4, the 5th resistance R5, the 6th resistance R6 and the 7th resistance R7, can obtain:
Therefore, by above-mentioned (3.2), (3.3) and (3.4) Shi Ke get:
RxRy(3193.2Ub1-693.2Uin)+1733000RxUb2+1733000Ry(Ub2-Uin)=0 (3.5)
Finally, the single-chip microcontroller 103 is according to the voltage Uin of the power supply electrode input end Uin+, first inspection
Survey voltage Ub1, it is described second detection voltage Ub2And according to preset 4th computation rule as follows (i.e. (4.1) formula and
(4.2 formula)) calculate separately the ground resistance R of power supply electrode input end Uin+ G over the groundxResistance value and the power supply
The ground resistance R of power supply negative input terminal Uin- G over the groundyResistance value (unit be kilo-ohm).Specifically, by above-mentioned (2.5) and
(3.5) formula can obtain the ground resistance R of power supply electrode input end Uin+ G over the groundxResistance value and the power supply
The ground resistance R of negative input Uin- G over the groundyResistance value be respectively:
Since the value of Uin can be can be calculated by above-mentioned (1.1) formula, Ub1Value can be can be calculated by (2.1) formula, Ub2Value
Can be can be calculated by (3.1) formula is all known quantity, therefore, the power supply can be calculated just by (4.1) formula and (4.2) formula
The resistance value R of the pole input terminal Uin+ ground resistance of G over the groundxResistance value and power supply negative input Uin- G over the ground
Ground resistance resistance value RyResistance value.
The detection method of the present embodiment ground resistance can be according to the signal sample circuit due to the single-chip microcontroller 103
102 voltage signals (i.e. UAD1, UAD2 and UAD3) sampled and preset above-mentioned each computation rule calculate the power supply electricity
The ground resistance R of source electrode input end Uin+ G over the groundxResistance value and power supply negative input Uin- G over the ground
Ground resistance RyResistance value, to solve power supply electrode input end ground resistance over the ground and the input of power supply cathode
The technical issues of existing balanced bridge method is unable to measure to ground resistance when holding the resistance value of ground resistance over the ground identical;Also, this
Invention also has the advantages that structure is simple and easily realizes.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (9)
1. a kind of detection circuit of ground resistance, which is characterized in that the detection circuit of the ground resistance include power supply just
Pole input terminal, power supply negative input, relay circuit unit, signal sample circuit unit and single-chip microcontroller;Wherein:
The single-chip microcontroller, for according to the preset corresponding control signal of control rule output to the relay circuit unit
Control terminal, to control the work of the relay circuit unit;
The relay circuit unit for executing corresponding switch motion according to the control signal received, and exports
Corresponding voltage signal is to the signal sample circuit unit;
The signal sample circuit unit, the voltage signal for exporting to the relay circuit unit carry out signal sampling,
And export the voltage signal sampled to the single-chip microcontroller, so that the single-chip microcontroller according to the voltage signal and is preset
Computation rule calculate the ground resistance of the power supply electrode input end over the ground resistance value and the power supply cathode
The resistance value of the ground resistance of input terminal over the ground;
The relay circuit unit be connected to the power supply electrode input end and the power supply negative input it
Between, the input terminal of the signal sample circuit unit is connect with the signal output end of the relay circuit unit, the signal
The output end of sample circuit unit is connect with the signal sampling end of the single-chip microcontroller, the control output end of the single-chip microcontroller with it is described
The control terminal of relay circuit unit connects.
2. the detection circuit of ground resistance as described in claim 1, which is characterized in that the relay circuit unit includes the
One relay circuit subelement, the second relay circuit subelement, first resistor, second resistance, 3rd resistor, the 4th resistance,
5th resistance, the 6th resistance, the 7th resistance and first capacitor;Wherein:
The first end of the first resistor connects through the first relay circuit subelement and the power supply electrode input end
It connects, the second end of the first resistor is connect with the first end of the second resistance, described in the second end warp of the second resistance
Second relay circuit subelement is connect with the power supply negative input, and the second end of the first resistor also connects with ground
It connects;The first end of the 3rd resistor is connect with the power supply electrode input end, and the second end of the 3rd resistor is through institute
The 4th resistance is stated to connect with the first end of the 5th resistance, the second end of the 5th resistance through the 6th resistance respectively with
The first end connection of the first end and the first capacitor of 7th resistance, the second end and described first of the 7th resistance
The second end of capacitor is connect with the power supply negative input, and the second end of the 3rd resistor is also connected to ground;Institute
The first end for stating the 7th resistance is the signal output end of the relay circuit unit;The first relay circuit subelement
Control terminal and the control terminal of the second relay circuit subelement are connect with the single-chip microcontroller.
3. the detection circuit of ground resistance as claimed in claim 2, which is characterized in that the first relay circuit subelement
Including the first operating voltage input terminal, the first NMOS tube, the first relay, first diode, the 8th resistance, the 9th resistance and
Two capacitors;Wherein:
The first end of the switch of first relay is connect with the power supply electrode input end, first relay
The second end of switch is connect with the first end of the first resistor;The first end of the coil of first relay and described first
The connection of operating voltage input terminal, the second end of the coil of first relay are connect with the drain electrode of first NMOS tube, institute
The first operating voltage input terminal is stated also to connect through second capacitor with the power supply negative input;
The anode of the first diode is connect with the second end of the coil of first relay, the yin of the first diode
Pole is connect with the first end of the coil of first relay;The source electrode of first NMOS tube and the power supply cathode are defeated
Enter end connection, the grid of first NMOS tube is connect through the 8th resistance with the power supply negative input, described
The grid of first NMOS tube is also connect with the first end of the 9th resistance, the second end of the 9th resistance be described first after
The second end of the control terminal of appliance circuit subelement, the 9th resistance is connect with the first control output end of the single-chip microcontroller.
4. the detection circuit of ground resistance as claimed in claim 3, which is characterized in that the second relay circuit subelement
Including the second NMOS tube, the second relay, the second diode, the tenth resistance, eleventh resistor, first operating voltage input
End and second capacitor;Wherein:
The first end of the switch of second relay is connect with the power supply negative input, second relay
The second end of switch is connect with the second end of the second resistance;The first end of the coil of second relay and described first
The connection of operating voltage input terminal, the second end of the coil of second relay are connect with the drain electrode of second NMOS tube;
The anode of second diode is connect with the second end of the coil of second relay, the yin of second diode
Pole is connect with the first end of the coil of second relay;The source electrode of second NMOS tube and the power supply cathode are defeated
Enter end connection, the grid of second NMOS tube is connect through the tenth resistance with the power supply negative input, described
The grid of second NMOS tube is also connect with the first end of the eleventh resistor, and the second end of the eleventh resistor is described the
The control terminal of two relay circuit subelements, the second control output end of the second end of the eleventh resistor and the single-chip microcontroller
Connection;The first operating voltage input terminal is also connect through second capacitor with the power supply negative input.
5. the detection circuit of ground resistance as claimed in claim 4, which is characterized in that the signal sample circuit unit includes
Second operating voltage input terminal, third operating voltage input terminal, third capacitor, the 4th capacitor, the 5th capacitor, operational amplifier and
Twelfth resistor;Wherein:
The non-inverting input terminal of the operational amplifier is connect with the signal output end of the relay circuit unit, and the operation is put
The inverting input terminal of big device is connect with the output end of the operational amplifier, the power positive end of the operational amplifier and described the
The connection of two operating voltage input terminals, the power supply negative terminal of the operational amplifier are connect with the third operating voltage input terminal;
The first end of the third capacitor is connect with the second operating voltage input terminal, the second end of the third capacitor and institute
State the connection of power supply negative input;The first end of 4th capacitor is connect with the third operating voltage input terminal, institute
The second end for stating the 4th capacitor is connect with the power supply negative input;The output end of the operational amplifier also passes through described
Twelfth resistor is connect with the signal sampling end of the single-chip microcontroller, and the signal sampling end of the single-chip microcontroller is also through the 5th capacitor
It is connect with the power supply negative input.
6. the detection circuit of the ground resistance as described in any one of claims 1 to 5, which is characterized in that the single-chip microcontroller
Signal sampling end is also connected with a voltage regulator circuit, the voltage regulator circuit include the 4th operating voltage input terminal, third diode and
4th diode;Wherein:
The signal sampling end of the described single-chip microcontroller of cathode of the cathode of the third diode and the 4th diode connects;Institute
The anode for stating third diode is connect with the power supply negative input, the anode and the described 4th of the 4th diode
The connection of operating voltage input terminal.
7. a kind of detection method of ground resistance, which is characterized in that detection method includes the following steps for the ground resistance:
S10, single-chip microcontroller control the control terminal of signal to relay circuit unit according to preset control rule output accordingly, with
It controls the relay circuit unit and executes corresponding switch motion, so that the relay circuit unit exports corresponding voltage
Signal is to the signal sample circuit unit;
S20, the signal sample circuit unit carry out signal sampling to the voltage signal that the relay circuit unit exports, and
The voltage signal sampled is exported to the single-chip microcontroller;
S30, the single-chip microcontroller calculate the power supply electrode input end according to the voltage signal and preset computation rule
The resistance value of the ground resistance of the resistance value of ground resistance over the ground and the power supply negative input over the ground.
8. the detection method of ground resistance as claimed in claim 7, which is characterized in that the step S10 includes:
S11, single-chip microcontroller is according to preset control rule output first control signal first relay into relay circuit unit
The control terminal of circuit subelement and the second relay circuit subelement, to control in the first relay circuit subelement
The second relay in one relay and the second relay circuit subelement is off-state, so that the relay is electric
Road unit exports first voltage signal to the signal sample circuit unit;
S12, single-chip microcontroller is according to preset control rule output second control signal to the first relay circuit subelement
Control terminal and the control terminal for exporting the first control signal to the second relay circuit subelement, to control described first
Relay is on state, and second relay is off-state, so that the relay circuit unit exports second voltage
Signal is to the signal sample circuit unit;
S13, single-chip microcontroller export the first control signal to the first relay circuit list according to preset control rule
The control terminal of member and the control terminal for exporting the second control signal to the second relay circuit subelement, described in control
First relay is off-state, and second relay is on state, so that the relay circuit unit exports third
Voltage signal is to the signal sample circuit unit.
9. the detection method of ground resistance as claimed in claim 8, which is characterized in that the step S30 includes:
S31, when first relay and second relay are off-state, the single-chip microcontroller is according to described first
Voltage signal and preset first computation rule calculate the voltage of the power supply electrode input end;
S32, when first relay is on state and second relay is off-state, the single-chip microcontroller according to
The second voltage signal and preset second computation rule calculate first between the power supply negative input and ground
Detect voltage;
S33, when first relay is off-state and second relay is on state, the single-chip microcontroller according to
The tertiary voltage signal and preset third computation rule calculate second between the power supply negative input and ground
Detect voltage;
S34, voltage, first the detection voltage, described second of the single-chip microcontroller according to the power supply electrode input end
Detection voltage and preset 4th computation rule calculate the resistance value of the ground resistance of the power supply electrode input end over the ground with
And the resistance value of the ground resistance of the power supply negative input over the ground.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810407235.0A CN108845186A (en) | 2018-04-28 | 2018-04-28 | The detection circuit and detection method of ground resistance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810407235.0A CN108845186A (en) | 2018-04-28 | 2018-04-28 | The detection circuit and detection method of ground resistance |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108845186A true CN108845186A (en) | 2018-11-20 |
Family
ID=64212497
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810407235.0A Pending CN108845186A (en) | 2018-04-28 | 2018-04-28 | The detection circuit and detection method of ground resistance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108845186A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110554310A (en) * | 2019-09-20 | 2019-12-10 | 润电能源科学技术有限公司 | Method, circuit and device for online testing action power of on-off relay |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201293815Y (en) * | 2008-05-08 | 2009-08-19 | 深圳龙多电子科技有限公司 | Apparatus for detecting zero/live wire polarity and testing ground resistance |
CN102279318A (en) * | 2011-06-23 | 2011-12-14 | 广东易事特电源股份有限公司 | Online detection system of insulating resistance to ground of photovoltaic grid-connected inverter |
CN105548719A (en) * | 2015-12-29 | 2016-05-04 | 阳光电源股份有限公司 | Detection circuit and method of grounding insulation resistors |
CN206725712U (en) * | 2017-05-26 | 2017-12-08 | 深圳市科华恒盛科技有限公司 | A kind of rush-harvesting and rush-planting charger exports observation circuit |
-
2018
- 2018-04-28 CN CN201810407235.0A patent/CN108845186A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201293815Y (en) * | 2008-05-08 | 2009-08-19 | 深圳龙多电子科技有限公司 | Apparatus for detecting zero/live wire polarity and testing ground resistance |
CN102279318A (en) * | 2011-06-23 | 2011-12-14 | 广东易事特电源股份有限公司 | Online detection system of insulating resistance to ground of photovoltaic grid-connected inverter |
CN105548719A (en) * | 2015-12-29 | 2016-05-04 | 阳光电源股份有限公司 | Detection circuit and method of grounding insulation resistors |
CN206725712U (en) * | 2017-05-26 | 2017-12-08 | 深圳市科华恒盛科技有限公司 | A kind of rush-harvesting and rush-planting charger exports observation circuit |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110554310A (en) * | 2019-09-20 | 2019-12-10 | 润电能源科学技术有限公司 | Method, circuit and device for online testing action power of on-off relay |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN205304222U (en) | Protective circuit of switching power supply | |
CN202383199U (en) | Phase sequence and zero cross detection circuit structure | |
CN205450144U (en) | Test auxiliary circuit discharges | |
CN108845186A (en) | The detection circuit and detection method of ground resistance | |
CN206258511U (en) | A kind of electric current, voltage ratio conversion and sampling apparatus | |
CN107464411B (en) | MBUS circuit for centralized meter reading system | |
CN104635052B (en) | Apply the on-off circuit in electromagnetic relay contact resistance test equipment | |
CN203941243U (en) | A kind of three-phase electric power open phase testing circuit | |
CN206041578U (en) | Double cell solos control circuit that charges | |
CN201335866Y (en) | Connection test device | |
CN205725459U (en) | A kind of self-adaption switch electric power source flow equalizing circuit | |
CN209375240U (en) | A kind of ultra-low loss two-way power supply switching anti-back flow circuit | |
CN207977724U (en) | A kind of fire-fighting two lines bus short-circuit protection circuit of hand-held encoder | |
CN217133305U (en) | Aging circuit for diode | |
CN206323124U (en) | A kind of over under-voltage protection circuit, backlight circuit and liquid crystal TV set | |
CN202917957U (en) | Relay switching-off and switching-on control circuit for ammeter and intelligent ammeter | |
CN101738526B (en) | Direct current output voltage test circuit for power factor correction control circuit | |
CN206497198U (en) | For electric energy meter direct current and the load automatic matching device of even-order harmonic influence experiment | |
CN204464950U (en) | A kind of leakage protection system | |
CN202886443U (en) | Voltage sampling circuit | |
CN204156536U (en) | A kind of hydroelectric station auto-parallel instrument | |
CN207440239U (en) | The general switching device of Insulation Test | |
CN203287424U (en) | Surge current testing device | |
CN208623333U (en) | A kind of dc power interface and its DC power supply | |
CN209606566U (en) | A kind of diode forward current surge experimental circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20201016 Address after: 261031, north of Jade East Street, Dongming Road, Weifang hi tech Zone, Shandong province (GoerTek electronic office building, Room 502) Applicant after: GoerTek Optical Technology Co.,Ltd. Address before: 261031 Dongfang Road, Weifang high tech Industrial Development Zone, Shandong, China, No. 268 Applicant before: GOERTEK Inc. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181120 |