Online Circuit Simulator
Ground resistance tester simulation: fall of potential and the 61.8 % rule
We typically respond within one business day.
A ground resistance tester sends a current from the electrode under test to a current electrode far away and reads the voltage between the electrode and a potential probe placed between them. Here an ATmega328P is the tester: it reverses a 12 V test current every 8 ms, reads voltage and current, and reports the resistance. The circuit, the soil and the chip are simulated together.
A teaching model: uniform soil and a hemispherical electrode, so the answer is known exactly. It is not a test procedure; ground resistance tests on real systems follow the applicable standards and safety rules and are done by qualified people.
The probe walked from 5 % to 95 % of the way to the current electrode. Blue: the program reading at each place; orange: the formula; dashed: the true resistance, 31.83 ohm.
What is being simulated?
Soil of 100 ohm m, a hemispherical electrode of 0.5 m radius under test, a current electrode 30 m away and a potential probe at a distance x from the electrode. The potential in the soil is the sum of the fields of the current entering at one electrode and leaving at the other, so the reading depends on where the probe is.
R(x) = rho / (2 pi) (1/a - 1/(D - a) - 1/x + 1/(D - x))
The true resistance of the electrode is rho / (2 pi a) = 31.83 ohm. Close to the electrode the probe reads too little (29.30 ohm at 20 %), close to the current electrode too much (36.01 ohm at 90 %). At 61.8 % of the distance the two errors cancel: the reading is 31.82 ohm. IEEE® Std 81 describes this fall-of-potential method.
What does the default program do?
It drives a 12 V H-bridge through 100 ohm, so about 40.0 mA flows, and reverses it every 8 ms. 6 ms into each half it reads the voltage and the current, and every 32 cycles it reports the change in voltage over the change in current. A steady stray voltage in the soil adds the same amount to both halves and drops out; measured with one polarity only, a 50 mV stray voltage adds 1.26 ohm to the answer.
Default program in AVR assembly
Default program in C
Lessons and challenges
- The curve. Move the probe in 10 % steps and plot the reading: a flat stretch in the middle, falling and rising at the ends.
- The 61.8 % rule. Check: the reading at 61.8 % within 0.2 % of rho / (2 pi a).
- Too close. Put the current electrode at 10 m instead of 30 m: the flat stretch disappears.
- Stray voltage. Build the program with one polarity only and compare: the error is the stray voltage over the test current.
- Soil. Double the soil resistivity: every reading doubles, and so does the true resistance.
- Challenge: make the program find the flat stretch by itself from readings at 52 %, 62 % and 72 % and report how flat it is.
How were the numbers checked?
The field formula was checked at nine probe positions against the readings of both programs, within 0.3 %; the reading at 61.8 % against rho / (2 pi a); and the stray voltage error against Vst / I. The assembly and C programs report the same values.
Get your project started
We typically respond within one business day.