| Literature DB >> 35498256 |
Rémi Clement1, Yannick Fargier2, Vivien Dubois1, Julien Gance3, Emile Gros1, Nicolas Forquet1.
Abstract
The use of electrical resistivity tomography in laboratory or field experiments for environmental purposes has been increasing in recent years. The development of commercial devices has thus far focused on the quality of measurements and their robustness in all field cases. However, both their costs and lack of flexibility to adapt to specific applications have limited their prevalence in the environmental sector. This article presents the development of a low-cost, open hardware resistivity meter to provide the scientific community with a robust and flexible tool for small-scale experiments. Called OhmPi, this basic resistivity meter features current injection and measurement functions associated with a multiplexer that allows performing automatic measurements with up to 32 electrodes (at a cost of less than $500). The device was first tested using a soil-analog electrical circuit to verify the reliability and robustness of the measurements. Results show that OhmPi offers a wide range of resistance measurements, from 0.2 to 1000 O, for contact resistances between 100 and 5000 O. Measurements were then carried out on a small field experiment, in demonstrating good stability of the OhmPi measurements, as well as a strong correlation with the output of a commercial reference instrument.Entities:
Keywords: Electrical resistivity; Electrical resistivity imaging; OhmPi; Quadrupole; Raspberry Pi; Resistivity meter; Time-lapse
Year: 2020 PMID: 35498256 PMCID: PMC9041214 DOI: 10.1016/j.ohx.2020.e00122
Source DB: PubMed Journal: HardwareX ISSN: 2468-0672
Fig. 1Theoretical representation of the electrical resistivity measurement with 4 electrodes: a) Distribution of the electric current line and of equipotential in the subsurface (modified from [44]); b) theoretical representation of the electric current measurement; c) perfect potential measurement, including chargeability; d) representation of a noisy measurement; and e) representation of a noisy measurement case affected by a spontaneous potential effect.
Fig. 2Procedure for acquiring a dataset with several quadrupoles using an automatic electrical resistivity meter (as modified according to [14]).
Fig. 3Organizational chart of OhmPi resistivity meter functions (RPI: Raspberry Pi, ADC: analog digital converter).
Fig. 4Wiring of the 4-channel relay module board for current injection management.
Fig. 5Diagram of the resistivity measurement board.
Fig. 6Multiplexer connection diagram for electrodes A, B, M or N: a) theoretical connection diagram for electrode A; and b) connection to the 16-relay shield module.
Table of specifications.
| Name of hardware | |
| Subject area | Environmental, Planetary and Agricultural Sciences |
| Hardware type | Imaging tools Measuring physical properties and in-lab sensors |
| Open Source License | GNU General Public License v3.0 |
| Cost of hardware | |
| Source File Repository |
GPIO channel and binary electrode address.
| Electrode A | Electrode A | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Electrode B | Electrode B | ||||||||||
| Electrode M | Electrode M | ||||||||||
| Electrode N | Electrode N | ||||||||||
| 1 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | ||
| 1 | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | ||
| 1 | 1 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | ||
| 1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | ||
| 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | ||
| 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | ||
| 1 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | ||
| 1 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | ||
| 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | ||
| 1 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | ||
| 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | ||
| 1 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | ||
| 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | ||
| 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | ||
| 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | ||
| 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 |
Complete list of files.
| Design file name | File type | Open source license | Location of the file |
|---|---|---|---|
| Hardware | PCB | CC BY 4.0 | Source file repository (PCB folder) |
| ABMN.txt | Text | CC BY 4.0 | Source file repository |
| ohmpi.py | Python script (.py) | CC BY 4.0 | Source file repository |
| path2elec.txt | Text | CC BY 4.0 | Source file repository |
| quadmux.txt | Text | CC BY 4.0 | Source file repository |
| README.md | markdown | CC BY 4.0 | Source file repository |
| requirements.txt | Text | CC BY 4.0 | Source file repository |
PCB Folder: contains all files necessary for the design of a printed circuit board for the measurement board.
ABMN.txt: query sequence: list of all quadrupoles used for measurements. This file can be modified depending on the measurements the user wishes to carry out.
ohmpi.py: code for use in a python environment on the Raspberry Pi, allowing OhmPi to conduct measurements according to both the parameters specified in the code and the query sequence defined in the ABMN.txt file. Measurement parameters that must be specified in the ohmpi.py file include:
the number of electrodes (32 by default),
the injection duration, in seconds (0.5 s by default),
the number of times the query sequence must be repeated (useful for time-lapse monitoring, the default value is set to 1),
the delay between two repetitions of the query sequence in seconds (30 s by default),
the stack number corresponding to the number of times current injection is repeated for each quadrupole.
path2elec.txt: This file is hardware-dependent; it contains a matrix of logical values (0 or 1) indicating the different states (0 V or 5 V) of the multiplexers in order to connect a channel to an electrode.
quadmux.txt: This file is also hardware-dependent; for each channel, it provides the sequence of GPIO channels controlling the multiplexers downstream.
README.md: A description file that describes how to install the software dependencies.
requirements.txt: A text file listing the package dependencies that must be satisfied in order to run ohmpi.py.
Tools and their applications required for assembly.
| Tool | Application |
|---|---|
| Soldering iron and solder | Electronics and inserting heat set nuts |
| Electric drill | Drilling holes and screwing |
| Wire stripper | Stripping the electrical wires |
| Wire cutter | Cutting the electrical wires |
| Flat screwdriver | Screwing the cables into the terminal blocks |
Note to manufacturers: All these tools are commonly found in makerspaces or garages.
Fig. 7Our laboratory OhmPi resistivity meter layout.
Fig. 8Measurement circuit board assembly: a) printed circuit board, b) adding the 1-Kohm resistors ±1%, c) adding the 1.5-Kohm resistors ±1%, d) adding the black female 1 × 10 header and the 7-blue screw terminal block (2 pin, 3.5-mm pitch), e) adding the 50-ohm reference resistor ±0.1%, and f) adding the ADS1115 and the LM358N low-power dual operational amplifiers. (For interpretation of the references to colour in this figure legend, the reader is referred to the web version of this article.)
Fig. 9Measurement board installation with Raspberry Pi.
Fig. 10Main connection diagram of the measurement card and 4-channel relay shield.
Fig. 11Schematic diagram of the wiring of two 16-channel relay shields.
Fig. 12Connection to the 16-channel relay shield.
Bill of materials.
| Designator | Component | Number | Cost per unit currency | Total cost, currency | Source of materials | Material type |
|---|---|---|---|---|---|---|
| CPU | Raspberry Pi 3 Model B | 1 | $61 USD | $61 USD | Amazon | Other |
| Power adapter | Raspberry Pi power adapter (5V 2.5A) | 1 | $10 USD | $8 USD | Amazon | Other |
| Relay shield for multiplexer | 16-channel 5V Relay Module | 8 | $28 USD | $224 USD | Amazon | Other |
| Relay shield for current injection | 4-channel 5V Relay Module | 1 | $5 USD | $5 USD | Amazon | Other |
| Cable | 1 mm2 (50 m) | 1 | ||||
| 0.5 mm2 (100 m) | 1 | $16 USD | ||||
| PCB print | Printed circuit board (packaging quantity × 3) | 1 | $12 USD | $12 USD | Aisler | Other |
| Electronic | Header sets 1 × 10 | 1 | $1.20 USD | $1.20 USD | Mouser | Other |
| Dual screw terminal (3.5-mm pitch) | 7 | $0.8 USD | $4.20 USD | Mouser | Other | |
| Resistor 1 Kohm, | 4 | $0.25 USD | $1 USD | RS | Other | |
| Resistor 1.5 Kohms ± 1% | 4 | $0.25 USD | $1 USD | RS | Other | |
| Resistor 50 ± 0.1% | 1 | $5.22 USD | $5.22 USD | Mouser | Other | |
| LM358N AMP-o | 4 | $0.80 USD | $2.40 USD | Mouser | Other | |
| ADS1115 | 1 | $14.95 USD | $14.95 USD | Adafruit | Other | |
| 12 V battery 7ah | 2 | $27 USD | $54 USD | RS | Other | |
| Ferrule Crimp Terminal (1 mm2) | 100 | $0.20 USD | $20 USD | RS | Other | |
| Electrical Crimp Terminal (0.5 mm2) | 10 | $0.20 USD | $2 USD | RS | Other | |
| Fuse 1.0 A | 1 | $0.10 USD | $0.10 USD | Conrad | Other | |
| Fuse holder (576-FHAC0002ZXJ) | 1 | $5 USD | $5 USD | Mouser | Other | |
| Total | $422.8 USD | |||||
Connection of the GPIOs to each multiplexer.
| Relay shield no. 1 | Relay shield no. 2 | ||||
|---|---|---|---|---|---|
| PIN 1 | PINS 2–3 | PINS 4–7 | PINS 8–16 | PINS 1–16 | |
| Multiplexer A | 12 | 16 | 20 | 21 | 26 |
| Multiplexer B | 18 | 23 | 24 | 25 | 19 |
| Multiplexer M | 6 | 13 | 4 | 17 | 27 |
| Multiplexer N | 22 | 10 | 9 | 11 | 5 |
Fig. 13Wire cabling for multiplexer and terminal screw connections.
Fig. 14Example of a multiplexer connection to the screw terminal for electrode no. 1.
OhmPi technical specifications.
| Parameter | Specifications | Units |
|---|---|---|
| Operating temperature (°C) | From 0 to 50 | °C |
| Power consumption of CPU and control system | 18.5 (estimation depending on the number of relays used per measurement) | W |
| Voltage injection | 12 | V |
| Battery | 12 | V |
| Current | 0–50 | mA |
| Min pulse duration | 150 | ms |
| Input impedance | 36 | Mohms |
| Data storage | micro SD card | |
| Resolution | 0.01 | mV |
Fig. 15Diagram of the four-wire measurement validation procedure – R1 and R2 represent the soil resistance and contact resistance, respectively.
Fig. 16Laboratory results of measurements: a) mean Rsoil, b) StD of Rsoil, c) mean current, d) StD current, e) mean voltage, and f) StD voltage.
Fig. 17Error on the measured Rsoil (%) – resistance tolerance of resistors: 1%.
Fig. 18a) Experimental site, b) correlation between repeated measurements 1 and 2, c) correlation between repeated measurements 2 and 3, and d) correlation between OhmPi and Syscal measurements.
Fig. 19Inversion of electrical resistivity data obtained with OhmPi (RMS = 4.11%) (top) and with Syscal Pro 48 (RMS = 4.05%) (bottom), 182 quadrupoles (Wenner-Schlumberger and dipole–dipole) – the red point indicates the electrodes. (For interpretation of the references to colour in this figure legend, the reader is referred to the web version of this article.)