| Literature DB >> 35774990 |
Abstract
Premise: High-precision data acquisition (DAQ) is essential for developing new methods in the plant sciences. Commercial high-resolution DAQ systems are cost prohibitive, whereas the less expensive systems that are currently available lack the resolution and precision required for many physiological measurements. Methods andEntities:
Keywords: Go; Python; Raspberry Pi; data acquisition; high resolution; thermocouple
Year: 2022 PMID: 35774990 PMCID: PMC9215268 DOI: 10.1002/aps3.11485
Source DB: PubMed Journal: Appl Plant Sci ISSN: 2168-0450 Impact factor: 2.511
Materials needed to build the piadcs data acquisition (DAQ) system.
| Materials | Purpose | Cost | Supplier(s) |
|---|---|---|---|
| Raspberry Pi 4 Model B | Main computer. Controls and reads data from the ADC. Stores and/or displays output. | $35–$75 | Many. See |
| 32‐bit ADS1262/3 ADC with breakout board | Converts input voltage into digital information to be read by the Raspberry Pi. | $30–$44 | ProtoCentral ( |
| ADuM4151 SPIsolator | Electrically isolates the ADC from the Raspberry Pi. This is important for reducing noise. | $11 | Digi‐Key Electronics ( |
| 5 V low‐dropout (LDO) voltage regulator | Provides stable and low noise 5 V output to the ADC. | $4–10 | Digi‐Key Electronics ( |
| 9 V batteries | Power source for the ADC. Batteries are preferable for making low‐noise measurements because there is no 60 Hz AC signal to contend with. | $4 | Many |
Abbrevations: ADC, analog‐to‐digital converter; SPI, serial peripheral interface.
Costs are given in U.S. dollars (US$) at the time of publication.
Varies depending on RAM option selected. The Raspberry Pi 4 Model B comes in 2, 4, and 8 GB RAM options. All three options are appropriate for use in this DAQ system.
There are multiple parts available that could serve this purpose. Examples include MIC2954, MAX883, and µA723. Each of these voltage regulators requires the use of one or more capacitors. Please refer to the datasheet for specific information.
Varies depending on which component is used. Two voltage regulators are required.
Figure 1Wiring diagram for the low‐cost custom data acquisition (DAQ) system that was used to test the piadcs libraries. The ADS1262 is powered using separate power supplies for the analog and digital components. The analog power supply uses the µA723 150‐mA, 40‐V, adjustable linear voltage regulator (Texas Instruments), and the digital supply uses the LM10 operational amplifier (Texas Instruments) configured as a voltage regulator. The ADS1262 is connected through a ProtoCentral breakout board (https://protocentral.com/product/protocentral-ads1262-32-bit-precision-adc-breakout-board/) and interfaces with a Raspberry Pi 4 Model B through the ADuM4151 7‐channel SPIsolator (Analog Devices). Materials to build this DAQ system cost between US$80 and US$120 depending on which version of the Raspberry Pi 4 Model B is used. The full schematic, including the power supply circuit, is available on GitHub (https://github.com/AnnaKnapp/piadcs).
Figure 2Measurement of a K‐type thermocouple in an ice bath using the custom DAQ system shown in Figure 1. The code used to take this measurement was written using the piadcs libraries and can be found in the Examples folder on the piadcs GitHub page as “typeKthermocouple.go” (https://github.com/AnnaKnapp/piadcs). The temperature was calculated from the voltage using the K‐type thermocouple polynomials provided by the National Institute of Standards and Technology (Garrity, 2000). The temperature sensor built into the ADS1262 was used for cold‐junction compensation. The measurement is slightly less than 0°C due to impurities in the water and the rough calibration value that was used to adjust for variation in the thermocouple.
Specifications for the custom DAQ system using a Raspberry Pi 4 Model B, the ADS1262/3 analog‐to‐digital converter (ADC), and the piadcs Go library.
| Specification | Typical | Maximum | Unit |
|---|---|---|---|
| Raspberry Pi 4 current draw | 600 | 1200 | mA |
| ADS1262/3 power consumption | 25 | 37 | mW |
| Maximum sampling rate | 14,400 | sps | |
| Estimated cost of components | $80–120 | USD | |
| Data rate = 20 sps | Data rate = 7200 sps | ||
| Peak‐to‐peak noise | 2 | 60 | µV |
| System precision | 0.4 | 12 | ppm |
| Peak‐to‐peak noise | 0.125 | 3.75 | µV |
| System precision (PGA set to 32 V/V) | 0.8 | 24 | ppm |
Abbreviations: PGA, programmable gain amplifier; sps, samples/second.
More information about Raspberry Pi power consumption can be found here https://www.raspberrypi.org/documentation/hardware/raspberrypi/power/README.md.
The ADS1262/3 ADCs are capable of higher sampling rates. Rates above 14,400 sps were not achieved in testing with the system described here due to limitations of the current release of the piadcs Go library.
Costs are given in U.S. dollars (USD) at the time of publication.
This does not include sensor noise. It was measured by shorting the analog inputs together. The digital filter was set to Sinc4 for these measurements.
This is calculated by dividing the system noise over the full measurement range.
For comparison, a Campbell Scientific CR3000 (Campbell Scientific, Logan, Utah, USA) has a maximum resolution of 0.67 µV and a noise level of about 1.3 µV peak to peak (https://s.campbellsci.com/documents/us/product-brochures/s_cr3000.pdf). A Measurement Computing MCC134 (Measurement Computing, Norton, Massachusetts, USA) has a temperature noise of 1°C (https://www.mccdaq.com/PDFs/specs/DS-MCC-134.pdf).