Next Article in Journal
Analytic Optimization of Cantilevers for Photoacoustic Gas Sensor with Capacitive Transduction
Previous Article in Journal
A Secure and Lightweight Authentication Protocol for IoT-Based Smart Homes
Previous Article in Special Issue
Analysis of the Variability in Soil Moisture Measurements by Capacitance Sensors in a Drip-Irrigated Orchard
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Low-Cost Control and Measurement Circuit for the Implementation of Single Element Heat Dissipation Soil Water Matric Potential Sensor Based on a SnSe2 Thermosensitive Resistor

1
Faculty of Science and Engineering, Universidade Estadual Paulista (UNESP), Tupã, SP 17602-496, Brazil
2
Department of Electrical Engineering, Universidade Tecnológica Federal do Paraná (UTFPR), Cornélio Procópio, PR 86300-000, Brazil
3
Catalonia Institute for Energy Research (IREC), Jardins de les Dones de Negre 1, 08930 Barcelona, Spain
4
Catalan Institution for Research and Advanced Studies—ICREA, Pg. Lluís Companys 23, 08010 Barcelona, Spain
5
Department of Semiconductors, Instrumentation and Photonics, School of Electrical and Computer Engineering, University of Campinas, Campinas, SP 13083-820, Brazil
*
Author to whom correspondence should be addressed.
Sensors 2021, 21(4), 1490; https://doi.org/10.3390/s21041490
Submission received: 31 December 2020 / Revised: 16 February 2021 / Accepted: 17 February 2021 / Published: 21 February 2021
(This article belongs to the Special Issue Soil Moisture Sensors for Irrigation Management)

Abstract

:
A low-cost signal processing circuit developed to measure and drive a heat dissipation soil matric potential sensor based on a single thermosensitive resistor is demonstrated. The SnSe 2 has a high thermal coefficient, from 2.4 Ω / ° C in the 20 to 25 ° C to 1.07 Ω / ° C in the 20 to 25 ° C. The SnSe 2 thermosensitive resistor is encapsulated with a porous gypsum block and is used as both the heating and temperature sensing element. To control the power dissipated on the thermosensitive resistor and keep it constant during the heat pulse, a mixed analogue/digital circuit is used. The developed control circuit is able to maintain the dissipated power at 327.98 ± 0.3 % mW when the resistor changes from 94.96 Ω to 86.23 Ω . When the gravimetric water content of the porous block changes from dry to saturated ( θ w = 36.7 % ), we measured a variation of 4.77 Ω in the thermosensitive resistor, which results in an end-point sensitivity of 130 m Ω /%. The developed system can easily meet the standard requirement of measuring the gravimetric soil water content with a resolution of approximately Δ θ w = 1 % , since the resistance is measured with a resolution of approximately 31 μ Ω , three orders of magnitude smaller than the sensitivity.

Graphical Abstract

1. Introduction

When applied in large crop fields, advanced irrigation management systems used in precision agriculture [1] require low-cost, accurate and reliable soil matric potential sensors (or water content sensors), which can be done using several types of sensors, as capacitive probes [2], time-domain reflectometers [3], tensiometers [4] and heat dissipation sensors [5]. Due to the low-cost, small size and durability when inserted into the soil, heat dissipation soil water sensors are frequently employed in crop fields. There are basically two types of heat dissipation soil water sensors: dual heat pulse probe (DHPP) and single heat pulse probe (SHPP), and both are briefly discussed in the following sections.

1.1. DHPP Sensors

The DHPP is a sensor with two fixed probes: one contains a heater (usually a NiCr resistor) and the other has a temperature sensing device (usually a thermocouple or a thermistor). The two probes are separated by a small distance r ( r 6 mm), and after applying a well-controlled heat pulse to the heater probe (typically during 8 s), the maximum temperature reached in the other probe is measured. This maximum temperature depends on the soil thermal conductivity which, in turn, depends on its water content. After proper calibration, performed in the specific soil where it will be used, the maximum measured temperature can be correlated with the amount of water in the soil [6].
However, the probes of conventional DHPP are made with thin stainless steel needles that can deflect when inserted into the soil, resulting in large errors in the estimation of the soil water content. Liu et al. showed that a 11% error was measured when one of the probes suffered a 1 ° deflection, and this is a problem that is very difficult to overcome during installation of the sensor into the soil [7]. To eliminate this weakness, needle-less DHPP sensors have been developed [8,9].

1.2. Conventional SHPP Sensors

In the SHPP both the heating and the temperature sensing elements are inserted in the same probe [10]. With the probe inserted into the soil, a constant power source is applied to the heater and, after a period of 20 to 30 s, the temperature rise Δ T (or an electrical parameter that depends on temperature) is measured. The thermal conductivity of the soil depends on the amount of water absorbed in it, and since the soil acts as a heat sink to the probe, the soil moisture can be estimated using this technique.

1.3. Sensors Encapsulated in Porous Blocks

Both DHPP and SHPP require a good contact with the soil, because if the contact between the soil and the probes is not perfect, the thermal conductivity of the soil will not be measured properly. To solve this problem, the probe is encapsulated with a porous block, producing a heat dissipation soil matric potential sensor.
When a porous block is inserted into the soil, the water flows between the soil and the porous element (in both directions) until an equilibrium is reached. In this case, the SHPP sensor measures the thermal conductivity of the ceramic/soil complex, and a correlation between the thermal conductivity and the matric potential of the soil can be determined. Soil water potential sensors are commonly employed in precision agriculture irrigation management, and many commercial systems are available [11,12].

1.4. Single-Element SHPP Sensors

Recently, Dias et al. presented a novel type of SHPP soil water content sensor, where a single element (an NPN transistor) performed as both heating and sensing elements [13]. In the first version of the sensor, the transistor was inserted directly into the soil, while in a recent and more sophisticated version, the transistor was encapsulated with a porous ceramic block [14]. The bipolar transistors present a temperature variation of the base-to-emitter voltage V B E of approximately d V B E / d T 2 mV / ° C. However, to detect soil water content with high resolution, a sensor with a heating/measuring element that presents a higher thermal coefficient (TC) is desired.
In this paper we present a single-element SHPP based on a thermosensitive resistor fabricated using nanocrystalised materials, that acts as both heating and temperature sensing element. The thermosensitive element changes its resistance as power is applied to it (due to its temperature increase) and to maintain the power dissipated on it constant (as required by the SHPP technique), we developed a simple and low-cost mixed circuit, based on a microcontroller MSP430AFE232 (from Texas Instruments, Dallas, TX, USA).

2. Principle of Operation of a SHPP Sensor

The conventional fabrication technique of SHPP soil water potential sensors with porous material consists of encapsulating two elements, (one heating and one temperature sensing element) with a porous block [11,12]. In our sensor we used a single element, a thermosensitive resistor, encapsulated with a porous gypsum block.
The variations of the thermal conductivity of a porous material depends on the amount of water present in the porous body. The temperature rise caused by the heat exchange between the heater element and the porous body is measured after the end of the application of a heat pulse of fixed duration. For a line-heat source buried in an infinite medium, with an initial temperature T 0 , when a heat pulse of duration t f t 0 is applied to the heating element, the temperature change Δ T measured in the sensing element at the end of this pulse was approximated by [15] as:
Δ T = T f T 0 = q 4 π k l n ( t f t 0 )
where k is the thermal conductivity of the medium ( W m 1 ° C 1 ), q is the heat input per length of the heater ( W · m 1 ), T 0 is the initial temperature (measured at time t 0 ), and T f is the final temperature (measured at time t f ). Solving for k in Equation (1) we can write:
k = q 4 π Δ T l n ( t f t 0 )
Therefore, using the measured value of Δ T , it is possible to estimate the value of the thermal conductivity k of the porous material moistened with water and measuring the value of Δ T , it is possible to correlate the value of Δ T with the amount of water in the porous block.

3. Temperature Sensor Using Thermosensitive Resistors

When using SHPP heat dissipation soil water potential sensors in agriculture, the measured values of the Δ T are generally low, typically in the order of 3 ° C [11]. Thus, a temperature measurement technique with high accuracy and resolution better than 0.1 ° C is usually required, and in conventional SHPP sensors with NiCr resistors and a type K thermocouples, we need to measure voltages in the order of 4 μ V.
Therefore, to simplify the design of the signal processing circuits, a sensor with high thermal sensitivity is desirable. Several strategies can be used to increase the thermal sensitivity of a bulk material [16]. These include the incorporation of a high density of electroactive defects that are activated in the temperature range of interest and the introduction of a high density of potential barriers through nanostructuration of the material. We selected SnSe2 as thermosensitive material because it intrinsically contains a large density of electroactive selenium vacancies and it is characterized by a 2D structure that, when processed in solution at moderate temperatures, results in a large density of grain boundaries. We combined SnSe2 with ZnO to adjust the overall resistance of the composite to a proper range that facilitated the signal processing. The process of fabrication of the thermosensitive resistor is described next.

Thermosensitive Resistor Based on Nanocrystalized Materials

SnSe 2 nanoparticles were produced by thermal decomposition at 380 ° C of a Sn-Se precursor solution prepared by dissolving 10 mM Sn powder (Sn, 99.0%, from Sigma-Aldrich, St. Louis, MO, USA) and 20 mM Se powder (Se, 200 mesh 99.5%, from Acros Organics, Geel, Belgium) within 20 mL of oleylamine ( C 18 H 35 NH 2 , 98%, from Sigma-Aldrich) and 0.2 mL ethanedithiol ( C 2 H 4 ( SH ) 2 ), 98.0%, from Sigma-Aldrich). Nanomaterials obtained from the consolidation of the produced SnSe 2 nanoparticles were characterized by very high electrical conductivities ( 100 S m 1 ) and a very abrupt temperature dependence in the temperature range around ambient [17]. To adjust the electrical resistance of the resistor within a proper range (200–500 Ω ), the high electrical conductivity SnSe 2 nanopowder was mixed with a commercial ZnO powder (ZnO, 99%, from Sigma-Aldrich) at a weight ratio m SnSe 2 : m ZnO = 7 : 3 . This mixture was hot-pressed at 400 ° C and 60 MPa for 3 min to produce the thermosensitive resistor. The final thermosensitive resistor R T was a small cylinder (diameter D = 4 mm and length L = 8 mm), with contacts made with an electrically conductive silver epoxy adhesive (AA-DUCT 902-2.5, from Atom Adhesives, Providence, RI, USA).

4. Signal Conditioning Circuit

When a soil water sensor uses a single device as both heating and temperature sensing element, especial techniques must be used to apply a constant power to the device (as presented in [18], where a transistor is used as the sensor). In this work we use a mixed signal circuit to control the power applied to the thermosensitive resistor and measure its temperature variation. A block diagram of the circuit is shown in Figure 1.

4.1. Power Supplies and Digital Circuits

The system is powered with 2 lithium-thionyl chloride LS 2500 batteries (from Saft, Levallois-Perret, France) in series, generating a power supply V c c = 7.2 V. A 3.3 V LDO (low-dropout) voltage regulator TPS70933 (from Texas Instruments) was used to power the microcontroller and the Bluetooth module (HC-06, from Guangzhou HC Information Technology Co., Guangzhou, China).
The MSP430AFE232 microcontroller (from Texas Instruments) is configured to operate with a master clock of f c k = 12 MHz. It manages the entire signal conditioning circuit, performing several actions: it runs the power control algorithm, calculates several parameters ( R T , temperature, V s e n s o r , the value of the Pulse Width Modulation variable ( p w m ), transmits the data via its UART interface, reads the voltage V ( R 6 ) with a 15 bit unipolar analog-to-digital (A/D) converter, and provides a PWM output signal using Timer 1, with a frequency of 12 kHz.

4.2. Analogue Section

The analogue section of the circuit is presented in Figure 2. The PWM output of the microcontroller is sent to a second order R L C filter, and the output of the filter is amplified (with a gain G v = 1 + R 7 / R 8 = 2 ) by op-amp A3. This amplification is necessary because the maximum output voltage of the filtered PWM is 3.3 V (the supply voltage V d d used to power the microcontroller), and with 3.3 V we would be limited to apply only 135 mW to the sensor. Using A3 (a rail-to-rail op-amp, OPA192 from Texas Instruments), with the gain G v = 2 we can apply up to 6.6 V to the sensor, and with this voltage we can apply a heat pulse of P 550 mW.
Op-amp A1 (LT6004, from Analog Devices, Wilmington, MA, USA) is connected as a follower, with the NMOS current buffer M 1 inside the feedback loop. Neglecting the off-set voltage and the input bias current of A1, we can say that the output voltage of A3 is applied on R T .
The current on R T ( I ( R T ) ) is furnished by the source of M 1 . The drain and the source currents in a MOS transistor are equal, so that I ( R T ) flows through resistor R 1 . The voltage on R 1 ( V R 1 = R 1 I ( R T ) ) is transferred by op-amp A2 (LT6004) to resistor R 5 , generating a current in R 5 given by I ( R 5 ) = V R 1 / R 5 . This current goes into the source of the PMOS transistor M 2 and, when it leaves its drain, develops a voltage on resistor R 6 given by V R 6 = I ( R 5 ) R 6 . Thus, we can write that:
I ( R T ) = V R 6 R 6 R 5 R 1
A photograph of the SnSe 2 thermosensitive resistor and the double layer PCB is shown in Figure 3.

5. Results

5.1. Characterization of the PWM

Since the filtered PWM voltage is used to apply the power to the thermosensitive resistor, it is necessary to characterize precisely the voltage V s e n s o r as a function of the PWM. After the signal processing circuit is assembled, we inserted a resistor (R = 1 k Ω ) in the contacts of the sensor, and a special program, that accepts inputs of PWM values via the Bluetooth connection with a smartphone, is loaded in the microcontroller.
The measured values are plotted and the linear fitting of these points (calculated using a simple linear regression technique) is calculated (Figure 4). The resulting equation (Equation (4)) is used in the final microcontroller firmware, so it is possible to assign PWM values to obtain a given voltage on the sensor. It is important to notice that by measuring the voltage directly on the sensor’s terminals we eliminate the errors due to the off-set voltage and input bias current in op-amps A1, A3 and in the gain of A3, that depends on R 7 / R 8 relation.
We performed the characterization of the PWM with values from 5.0% to 45.0%. The voltage on the R = 1 k Ω resistor as a function of the PWM value was measured with a HP 3468A multimeter.
V s e n s o r = 0.15391 · ( p w m ) 0.00471 [ V ]
In the next sections we will show that, during the operation of the system, the value of V s e n s o r changes only within the range 4.83 V s e n s o r 5.17 , which corresponds to 31.4 P W M 33.6 . Since V s e n s o r is applied using the second order filter shown in Figure 2 ( R 0 , L 1 , C 0 ), we measured the transient response of the filter starting from zero and then using a change from the minimum to the maximum values of the PWM. The measured result is shown in Figure 5. The filter was calculated to provide a critically damped response (with L 1 C 0 = 2 L 1 / R 0 . As we can see, at the start of the PWM signal we have a small delay (approximately 18 ms) before the voltage V f i l t reaches the steady state. We changed abruptly the PWM from 31.4% to 33.6% at t = 25 ms, and it is possible to notice that the value of V f i l t reaches the new steady state in approximately 10 ms.
As we can observe, the settling time of the filter (both at the start of operation and after the PWM is changed between two extreme values) is less than 18 ms and 10 ms, respectively, which is much smaller than the period between two A/D conversions, 250 ms.
Since the PWM has to be defined as an integer, we used the PWM variable ( p w m ) changing from 0 to 1000, corresponding to a PWM value of 0% to 100%, and this results in a resolution of 0.1% in the PWM’s value. Using p w m changing from 0 to 1000 we, consequently, defined the PWM frequency as f P W M = 12 kHz, since it is given by f P W M = f c l k / 1000 . Therefore, for a variation Δ P W M = 0.1 , using Equation (4) we can calculate the variation Δ V s e n s o r = 1.54 mV. If the voltage in the sensor changes from V 0 to ( V 0 + Δ V s e n s o r ) we can estimate the change in the power dissipated in the thermosensitive resistor as:
Δ P m i n = 2 V 0 Δ V s e n s o r + Δ V s e n s o r 2 R T
Thus, if the sensor resistance is R T = 80 Ω ( T = 22 ° C) and we apply a heating power P = 300 mW to it (with V s e n s o r = 4.9 V), we obtain from Equation (5), Δ P m i n 0.19 mW, approximately 300 mW ± 0.06 % . Of course this is just an estimation, since in Equation (4) we considered that R T was constant.

5.2. Characterization of the Thermosensitive Resistor

The first experiment was the characterization of the thermosensitive resistor, using a very small (10 cm × 10 cm × 10 cm) thermoelectric environmental chamber. We conducted the characterization in the 20–40 ° C range to obtain more information about the SnSe 2 material. The value of the resistor was measured with a 3468A 5.5-Digit Digital Multimeter from HP, using a 4-wire method.
A plot of the measured resistance as a function of temperature is shown in Figure 6. The resistor presents a T C 1.5 % / ° C, corresponding to a variation Δ R T / Δ T 1.8 Ω / ° C). If 50 mA is passed through this resistor, a voltage variation of Δ V R T 90 mV / ° C is obtained, while in [13] the bipolar transistor used to measure the temperature presents a variation of the base-to-emitter voltage that is much smaller, typically 1.8 to 2.2 mV/ ° C.
We used the points at T = 20 ° C, T = 30 ° C and T = 40 ° C (from the measured data presented in Figure 6) to calculate the coefficients of the Steinhart–Hart equation for the SnSe 2 resistor:
1 T = A + B l n ( R T ) + C [ l n ( R T ) ] 3
and obtained:
  • A = 0.025278919295275 ;
  • B = 0.009144982694036 ;
  • C = 0.00013756788807 .
A plot of the calculated temperature using the Steinhart–Hart equation as a function of the actual temperature is presented in Figure 7, showing that the developed thermoresistor follows the conventional thermistor equation.

5.3. Measuring Temperature with the SnSe 2 Resistor

The response of the heat dissipation matric water potential sensor depends on the soil temperature [19], and it is important to be able to calibrate the sensor at different soil temperatures, to obtain a calibration curve [11]. Thus, it is important to check if we can use the value of R T when dissipating a very small amount of power ( P 2.8 mW), with 503 mV on it (what is obtained with PWM = 3.3%) to estimate the soil temperature.
In [14] it was shown that the soil temperature presented a very small variation ( T 25 ± 2.5 ° C), when measured during 205 days at a depth of 20 cm. The sensor was put in the thermal chamber and the value of R T was measured using the circuit of Figure 8, at three different temperatures ( T = 20 , 25 and 30 ° C. This test is important to check if the self-heating of the thermosensitive resistor can be neglected when dissipating a very small amount of power ( P 2.8 mW) and, therefore, we can use the measured value of R T with 503 mV (PWM = 3.3%) on it to estimate the soil temperature.
In the set-up of Figure 8 the output of the MSP430AFE231 (Texas Instruments) microcontroller internal voltage reference V R E F = 1200 mV is sent to a buffer (op-amp A1) and divided, in its output, with R a R b , to obtain a voltage of 503 mV. This voltage is connected to the noninverting input of op-amp A0 (LT6004, from Analog Devices, Wilmington, MA, USA). The thermosensitive resistor is connected to the inverting input of A0, and the feedback provided by R f forces the voltage on R T to be 503 mV. Neglecting the input current of A0, the current that flows in R T comes from the output of A0 and passes through R f , so we can write V O as:
V O = 503 mV + R f I ( R T )
Since
R T = 503 mV I ( R T )
using Equations (8) and (9) we calculate the value of R T as:
R T = R f V O 503 mV 1
The 503 mV is applied to R T during 8 s, and the voltage V O is measured with an internal 18 bits A/D converter (17 bit + 1 sign bit) of a MSP430AFE231 microcontroller (one conversion every 250 ms) and sent to a smartphone using a HC-6 bluetooth module. With 503 mV on it, the current in R T is approximately 5.6 mA, so the 5 pA input bias current of the LTC6004 can be neglected, as it was assumed when writing Equation (7).
The calculated values of R T for each temperature, using the measured values of V O , are presented in Figure 9. As suggested in [11], to avoid transients in the response, after the power is applied, the first two seconds of measurement is discarded (eight measured points). Table 1 shows the mean values of R T ( R T ¯ ) and the standard deviation ( σ ), calculated from 32 points measured during 8 s (from 2 to 10 s). The results are plotted in Figure 9.
Thus, from the results presented in Table 1, in the 20–30 ° C temperature range we notice that the standard deviation for all temperatures is almost four orders of magnitude smaller than the mean value, when we apply 503 mV to R T during 8 s. Therefore, the self-heating of R T can be neglected, and we can use its value to measure the soil temperature, using Equation (6) in the microcontroller.

5.4. Variation of the Power Dissipated in R T

One important test was to observe how the power (and the resistance) changes if a constant voltage is applied on it, without any control circuit. We set PWM = 33.6% in the firmware, what results in a constant voltage V s e n s o r = 5 V on R T . The voltage on R 6 ( V R 6 ) was measured with the A/D converter (one conversion every 250 ms). For each conversion, both the current I ( R T ) and the value of R T are calculated. Firstly I ( R T ) is calculated using Equation (3); next, with I ( R T ) known, since V s e n s o r = 5 V, R T is calculated as:
R T = 5 V I ( R T )
The values of I ( R T ) and R T were transmitted, using the Bluetooth link, to a smartphone. The power dissipated in R T (P = R T I ( R T ) 2 ) and the values of R T are plotted in Figure 10.

5.5. Characterization of the Power Control Circuit

The prototype of the control circuit was built and several laboratory tests were performed. During the tests, as in the previous experiment, the A/D converter measures, at every 250 ms, the voltage V R 6 (on R 6 = 100 Ω ) and calculates I ( R T ) , given by Equation (3).
Using the measured values of I ( R T ) , the microcontroller calculates, for each conversion, the value of R T = V s e n s o r / I ( R T ) . These values of I ( R T ) and R T are transmitted to a smartphone, via the Bluetooth link, along with other calculated parameters (the values of the PWM and V s e n s o r ). Although we would need only to calculate and transmit the variation Δ R T , in this laboratory prototype all data is transmitted, so we can check if the circuit is operating correctly.
The firmware used in this version is as follows:
  • The routine starts with the control circuit turned-off and the circuit applying a very low voltage to the sensor during 2.5 s ( V s e n s o r = 503 mV, PWM = 3.3%), so that the power applied to the sensor is approximately 2.8 mW, to avoid the self-heating of R T ;
  • The first 1.75 s (seven measured points) are discarded, and the next three points (0.75 s) are measured and averaged to calculate the initial value of R T . The microcontroller uses Equation (6) to calculate the soil temperature. This initial temperature is important to provide a temperature correction in the sensor calibration curves, as proposed in [19];
  • In our sensor, the target power in R T was set as P = 325 mW. After the initial measurements at very low power, using the initial mean value of R T , the microcontroller calculates the voltage V s e n s o r that must be applied to R T to achieve P = 325 mW as:
    V s e n s o r = 0.325 R T
  • Next, using Equation (4), the new value of the p w m that generates this V s e n s o r is calculated, set by the microcontroller and applied to the filter/op-amps;
  • R T starts to heat, and after 250 ms of self-heating an A/D conversion is performed and the new value of I ( R T ) is calculated;
  • Using the last values of V s e n s o r and I ( R T ) the new value of R T is calculated;
  • With the current values of R T and V s e n s o r the routine goes back to step #3 and repeats continuously for 20 s.
It is worth noting that the strategy used to control the power in R T is not based on the classical closed-loop control theory. Instead of calculating the error between the controlled process variable and the set-point and then applying a feedback, for each measured value of R T we calculate the exact required voltage that must be applied to R T to obtain the exact amount of power desired ( P = 325 mW) and set the PWM/filter/op-amps to furnish this voltage.
The first test performed was to check if the power applied to the sensor was constant, as desired for its proper operation. The test was performed with the sensor left in air (before it was inserted in the soil).
In the plot of in Figure 11 we present the calculated values of R T during a 22.5 s heat pulse. The voltages used to calculate R T are measured with a resolution of 18.3 μ V by the 15 bit A/D converter. The first 1.75 s are discarded and the next 0.75 s (three points) are those calculated with P 2.8 mW. The next points are measured with a nominal power of P = 325 mW applied to R T .
In Figure 12 we present the calculated values of the power dissipated in R T during the 22 s heat pulse, the last 20 s with the control algorithm running.
We can notice that, after a small transient period (the first four points measured with the power at P = 325 mW), the circuit can control the power very effectively. As suggested in [11], the first measurements after the power pulse is applied are discarded, to avoid transients in the measurement of the heater’s current, as it quickly ramps up. We discarded the first second (four measured points) after the heat pulse is applied.
Discarding only one measurement point after the power is applied, the calculated mean value of the power between 3 s and 23 s is P ¯ = 327.98 mW, with a standard deviation σ = 0.59 mW.
It is worth discussing why the measured average value is different from the target value, P = 325 mW. Observing the plot of Figure 13, where a test with P = 100 mW was made, we see that, due to the discrete nature of the variation of the PWM, the measured power changes between 100.0 mW and 101.15 mW, and the mean value of the dissipated power was around 100.5 mW. The measured variation is in close agreement with the Δ P value calculated using Equation (5).
We used this test with P = 100 mW because the self-heating (and consequently the dissipated power) changes more slowly with time, and we are able to measure more points during each value of the PWM, showing the operation of the control strategy.
In the plot of Figure 14 it is shown how the PWM and the current I ( R T ) changes with respect to the time, when the control circuit is actuating. It is interesting to observe that the PWM decreases in fixed steps while the current on R T presents a saw-tooth behavior, increasing while the PWM is constant, with a fast decrease when a new (smaller) value of PWM is applied to R T .

5.6. Characterization of the Sensor

Soil thermal conductivity depends both on the type of soil (loam, sand, silt, clay, etc.) and on the soil void ratio, amount of organic and mineral material. Therefore, soil water content sensors without porous blocks, which measure the thermal conductivity of the soil, need to be calibrated in the specific soil where they will be used.
Porous block matric water potential sensors, on the other hand, do not need to be characterized while inserted into the soil. The characterization can be performed in a laboratory bench, using, for example, a simple inverted Richards chamber [14,20]. After the calibration curve is obtained in laboratory, the soil water content of any type of soil can be obtained by consulting the soil water retention curve (WRC). A precise estimation of the WRC can be obtained using mathematical models, using the knowledge of the soil structure [21,22]. The use of porous blocks is so effective that it has been applied not only in heat dissipation sensors [11,23] but also in capacitive sensors, demonstrating its huge potential [24].
The thermosensitive resistor was encapsulated with a gypsum block with a radius of 50 mm and a height of 80 mm. No special attention was given to the preparation of the gypsum (porous control, porous uniformity, etc.) since our goal was only to test the technique of using a single thermosensitive resistor as heating and temperature measurement element.
In this work we measured the sensor inserted in the soil, so we can obtain the sensors sensitivity when the soil changes from dry to saturated. The following procedure was used to prepare the sensor:
  • Firstly, a PVC container with many small holes (about 1 cm of diameter) in the bottom was “dressed” with a pouch made of gauze, and the structure was weighted.
  • The container was filled with a loam clay soil, and put, with the sensor in a thermal chamber at 70 ° C for 72 h;
  • After dried, both the container with soil and the sensor were weighted, and the sensor was inserted in the soil.
  • Next, a measurement of R T (soil dry) was taken using the developed circuit;
  • The container with the gauze in the bottom was put in a container that was slowly filled with water, and the soil was saturated by capillarity during 48 h.
  • After weighting the container, the soil gravimetric water content (mass of water/mass of soil) was calculated, θ w = 36.7 %.
  • Another measurement of R T (soil saturated) was taken.
To make sure that all the water had evaporated from the soil in the thermal chamber, after the experiment, the soil was transferred to a pyrex beaker, dried at a much higher temperature ( 120 ° C for 72 h) and weighted. The result showed that the soil was properly dried after its preparation in the thermal chamber.
The results of the measurements with the soil dry and saturated are shown in Figure 15. At the end of the heat pulse, we calculated an end-point difference in the resistance Δ ( R T f i n a l ) = 4.77 Ω , a variation in R T f i n a l , from dry to saturated, of approximately 5.3 % .
We obtained a 5.3 % variation in Δ R T f i n a l in our sensor, while the sensor based on a bipolar transistor presented in [14] presented a variation of 1% in Δ V f i n a l . This difference in performance is due to the use of the high TC SnSe 2 nanoparticle thermosensitive resistor. The presented solution (sensor and signal conditioning circuit) forms a complete low-cost matric water potential measurement system, suitable to be used in precision agriculture irrigation management.

6. Conclusions

A sensing system (sensor and signal processing circuit) for the measurement of soil matric water potential in precision agriculture irrigation management was presented. The sensor is based on the principle of the porous block sensor, where a porous material is allowed to equilibrate with the soil water. After an equilibrium is reached, the water content of the sensor/soil complex is measured and converted to a matric potential.
The sensor was encapsulated with a gypsum block, and when the soil water content changed from dry to saturated ( θ w = 36.7 % ), we measured a variation of Δ R T f i n a l = 4.77 Ω (corresponding to a temperature variation Δ T 4.36 ° C), and this results in an end-point sensitivity of S = 130 m Ω / %. It is usually necessary to measure θ w with a resolution of approximately Δ θ w = 1 % , and since the resistance is measured with a resolution three orders of magnitude smaller than the sensitivity S = 130 m Ω / %, the developed system can easily meet this requirement.
Since the temperature rise Δ T observed in SHPP is typically only a few ° C, to obtain a high resolution measurement of the Δ R T , a TC resistor is mandatory. A SnSe 2 nanoparticles thermosensitive resistor was fabricated and presented a very high TC, from 2.4 Ω / ° C) in the 20 to 25 ° C to 1.07 Ω / ° C in the 20 to 25 ° C.
A low-cost signal processing circuit was developed to control the power and measure a single element heat dissipation soil water matric potential sensor based on thermosensitive resistor. The signal processing circuit, used to drive the sensor and maintain the power dissipated on the thermosensitive resistor constant, was based on a mixed signal circuit with simple analogue circuit and a MSP430AFE232 microcontroller. When a heat pulse was applied to the thermosensitive resistor during 20 s, the thermoresistor changed from 94.96 Ω to 86.23 Ω but the control circuit was able to control the dissipated power on it at P = 327.98 ± 0.3 % mW.

Author Contributions

Conceptualization, P.C.-D., J.A.S.D.; methodology, F.M., F.F.; software, F.M.; validation, F.M., F.S.F., A.D.S. and J.A.S.D.; Fabrication of SnSe 2 resistor, Y.Z., A.C.; writing—original draft preparation, J.A.S.D. and A.C.; writing—review and editing, P.C.-D., L.C.D. and A.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by CAPES grant number 0001 and by Generalitat de Catalunya 2017SGR1246.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Dong, X.; Vuran, C.; Irmak, S. Autonomous precision agriculture through integration of wireless sensor networks with center pivot irrigation systems. Ad. Hoc. Netw. 2015, 11, 1975–1987. [Google Scholar] [CrossRef]
  2. Dean, R.N.; Rane, A.K.; Baginski, M.E.; Richard, J.; Hartzog, Z.; Elton, D.J. A Capacitive Fringing Field Sensor Design for Moisture Measurement Based on Printed Circuit Board Technology. IEEE Trans. Instrum. Meas. 2012, 61, 1105–1112. [Google Scholar] [CrossRef]
  3. Pelletier, M.; Schartz, R.; Holt, G.; Wanjura, J.; Green, T. Frequency Domain Probe Design for High Frequency Sensing of Soil Moisture. Agriculture 2016, 6, 60. [Google Scholar] [CrossRef] [Green Version]
  4. Hanson, B.; Peters, D.; Orloff, S. Effectiveness of tensiometers and electrical resistance sensors varies with soil conditions. Calif. Agric. 2000, 54, 47–50. [Google Scholar] [CrossRef]
  5. Bittelli, M. Measuring Soil Water Potential for Water Management in Agriculture: A Review. Sustainability 2010, 2, 1226–1251. [Google Scholar] [CrossRef] [Green Version]
  6. Bristow, K.L.; Whit, R.D.; Kluitenberg, G.J. Comparison of Single and Dual Probes for Measuring Soil Thermal Properties with Transient Heating. Aust. J. Soil Res. 1994, 32, 447–464. [Google Scholar] [CrossRef]
  7. Liu, G.; Li, B.; Ren, T.; Horton, R.; Si, B.C. Analytical solution of heat pulse method in a parallelepiped sample space with inclined needles. Soil Sci. Soc. Amer. J. 2008, 1208–1216. [Google Scholar] [CrossRef]
  8. Kamai, T.; Kluitenberg, G.; Jopmans, J. Design and numerical analysis of a button type heat pulse probe for soil water content measurement. Vadose J. 2009, 8, 167–173. [Google Scholar] [CrossRef]
  9. França, M.; Morais, F.; Carvalhaes-Dias, P.; Duarte, L.; Siqueira Dias, J.A. A Multiprobe Heat Pulse Sensor for Soil Moisture Measurement Based on PCB Technology. IEEE Trans. Instrum. Meas. 2019, 68, 606–613. [Google Scholar] [CrossRef]
  10. Valente, A.; Morais, R.; Couto, C.; Correia, J. Evaluation of a line heat dissipation sensor for measuring soil matric potential. Soil Sci. Soc. Am. J. 1996, 60, 1022–1028. [Google Scholar]
  11. Campbell Scientific LTD. Campbell 229 Heat Dissipation Matric Water Potential Sensor Instruction Manual; Campbell Scientific LTD: Loughborough, UK, 2006. [Google Scholar]
  12. Matile, L.; Berger, R.; Wächter, D.; Krebs, R. Characterization of a New Heat Dissipation Matric Potential Sensor. Sensors 2013, 13, 1137–1145. [Google Scholar] [CrossRef] [Green Version]
  13. Dias, P.C.; Roque, W.; Ferreira, E.C.; Dias, J.A.S. A high sensitivity single-probe heat pulse soil moisture sensor based on a single npn junction transistor. Comput. Electron. Agric. 2013, 96, 139–147. [Google Scholar] [CrossRef]
  14. Carvalhaes-Dias, P.; Morais, F.; Duarte, L.; Cabot, A.; Siqueira Dias, J.A. Autonomous Soil Water Content Sensors Based on Bipolar Transistors Encapsulated in Porous Ceramic Blocks. Appl. Sci. 2019, 9, 1211. [Google Scholar] [CrossRef] [Green Version]
  15. Shiozawa, S.; Campbell, G. Soil thermal conductivity. Remote Sens. Rev. 1990, 5, 301–310. [Google Scholar] [CrossRef]
  16. Dinh, T.; Phan, H.; Qamar, A.; Woodfield, P.; NguQamaryen, N.; Dao, D.V. Thermoresistive Effect for Advanced Thermal Sensors: Fundamentals, Design Considerations, and Applications. J. Microelectromechanical Syst. 2017, 26, 966–986. [Google Scholar] [CrossRef]
  17. Zhang, Y.; Liu, Y.; Lim, K.H.; Xing, C.; Li, M.; Zhang, T.; Tang, P.; Arbiol, J.; Llorca, J.; Ng, K.M.; et al. Tin Diselenide Molecular Precursor for Solution-Processable Thermoelectric Materials. Angew. Chem. 2018, 130, 17309–17314. [Google Scholar] [CrossRef]
  18. Dias, P.; Morais, F.; França, M. Temperature-stable heat pulse driver circuit for low-voltage single supply soil moisture sensors based on junction transistors. Electron. Lett. 2016, 52, 208–210. [Google Scholar] [CrossRef]
  19. Flint, A.L.; Campbell, G.S.; Ellett, K.M.; Calissendorff, C. Calibration and Temperature Correction of Heat Dissipation Matric Potential Sensors. Soil Sci. Soc. Am. J. 2002, 66, 1439–1445. [Google Scholar] [CrossRef]
  20. Richards, L. Number 60; The American Society of Agronomy: Madison, WI, USA, 1965; pp. 1022–1028. [Google Scholar]
  21. Assouline, S.; Tessier, D. A conceptual model of the soil water retention curve. Water Resour. Res. 1998, 34, 223–231. [Google Scholar] [CrossRef]
  22. Castellini, M.; Di Prima, S.; Iovino, M. An assessment of the BEST procedure to estimate the soil water retention curve: A comparison with the evaporation method. Geoderma 2018, 320, 82–94. [Google Scholar] [CrossRef]
  23. Dias, P.; Cadavid, D.; Ortega, S.; Ruiz, A.; França, M.; Morais, F.; Ferreira, E.; Cabot, A. Autonomous soil moisture sensor based on nanostructured thermosensitive resistors powered by an integrated thermoelectric generator. Sens. Actuators A Phys. 2016, 239, 1–7. [Google Scholar] [CrossRef]
  24. Costa, E.F.; de Oliveira, N.E.; Morais, F.J.O.; Carvalhaes-Dias, P.; Duarte, L.F.C.; Cabot, A.; Dias, J.A.S. A self-powered and autonomous fringing field capacitive sensor integrated into a microsprinkler spinner to measure soil water content. Sensors 2017, 17, 575. [Google Scholar] [CrossRef] [PubMed] [Green Version]
Figure 1. Block diagram of the sensor signal processing circuit.
Figure 1. Block diagram of the sensor signal processing circuit.
Sensors 21 01490 g001
Figure 2. Schematic diagram of the sensor analogue signal processing circuit.
Figure 2. Schematic diagram of the sensor analogue signal processing circuit.
Sensors 21 01490 g002
Figure 3. Photograph of the: (a) PCB of the signal processing circuit with the bluetooth module; (b) SnSe 2 cylinder used as the thermosensitive element of the sensor.
Figure 3. Photograph of the: (a) PCB of the signal processing circuit with the bluetooth module; (b) SnSe 2 cylinder used as the thermosensitive element of the sensor.
Sensors 21 01490 g003
Figure 4. Measured voltage across R T as a function of the Pulse Width Modulation (PWM) value.
Figure 4. Measured voltage across R T as a function of the Pulse Width Modulation (PWM) value.
Sensors 21 01490 g004
Figure 5. Transient response of the filter.
Figure 5. Transient response of the filter.
Sensors 21 01490 g005
Figure 6. Measured values of the resistance as a function of the temperature for the SnSe 2 resistor.
Figure 6. Measured values of the resistance as a function of the temperature for the SnSe 2 resistor.
Sensors 21 01490 g006
Figure 7. Calculated temperature using the Steinhart–Hart equation, as a function of the actual temperature.
Figure 7. Calculated temperature using the Steinhart–Hart equation, as a function of the actual temperature.
Sensors 21 01490 g007
Figure 8. Circuit used to measure R T , with V = 503 mV applied on it, during 8 s.
Figure 8. Circuit used to measure R T , with V = 503 mV applied on it, during 8 s.
Sensors 21 01490 g008
Figure 9. Measured values of R T with V = 503 mV applied on it, as a function of the time, at three different temperatures.
Figure 9. Measured values of R T with V = 503 mV applied on it, as a function of the time, at three different temperatures.
Sensors 21 01490 g009
Figure 10. Variation of: R T (left axis); power dissipated in R T (right axis), a function of the time, when a constant voltage V s e n s o r = 5 V is applied.
Figure 10. Variation of: R T (left axis); power dissipated in R T (right axis), a function of the time, when a constant voltage V s e n s o r = 5 V is applied.
Sensors 21 01490 g010
Figure 11. Variation of the value of R T and the temperature on it, when the signal processing circuit is used to control the power dissipated in R T .
Figure 11. Variation of the value of R T and the temperature on it, when the signal processing circuit is used to control the power dissipated in R T .
Sensors 21 01490 g011
Figure 12. Variation of the power dissipated in R T as a function of the time.
Figure 12. Variation of the power dissipated in R T as a function of the time.
Sensors 21 01490 g012
Figure 13. Variation of the power dissipated in R T during two PWM cycles.
Figure 13. Variation of the power dissipated in R T during two PWM cycles.
Sensors 21 01490 g013
Figure 14. Variation of the PWM and I ( R T ) as a function of the time, with the control circuit actuating.
Figure 14. Variation of the PWM and I ( R T ) as a function of the time, with the control circuit actuating.
Sensors 21 01490 g014
Figure 15. Measured values of R T for the sensor in the following soil conditions: dry and saturated ( θ w = 36.7 % ).
Figure 15. Measured values of R T for the sensor in the following soil conditions: dry and saturated ( θ w = 36.7 % ).
Sensors 21 01490 g015
Table 1. Mean values of R T ( R T ¯ ) and standard deviation ( σ ), for T = 20, 25 and 30 ° C.
Table 1. Mean values of R T ( R T ¯ ) and standard deviation ( σ ), for T = 20, 25 and 30 ° C.
T = 20 ° C T = 25 ° C T = 30 ° C
R T ¯ ( Ω ) 103.5891.4386.08
σ 0.0420.0390.024
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Morais, F.; Carvalhaes-Dias, P.; Zhang, Y.; Cabot, A.; Flosi, F.S.; Duarte, L.C.; Dos Santos, A.; Dias, J.A.S. Low-Cost Control and Measurement Circuit for the Implementation of Single Element Heat Dissipation Soil Water Matric Potential Sensor Based on a SnSe2 Thermosensitive Resistor. Sensors 2021, 21, 1490. https://doi.org/10.3390/s21041490

AMA Style

Morais F, Carvalhaes-Dias P, Zhang Y, Cabot A, Flosi FS, Duarte LC, Dos Santos A, Dias JAS. Low-Cost Control and Measurement Circuit for the Implementation of Single Element Heat Dissipation Soil Water Matric Potential Sensor Based on a SnSe2 Thermosensitive Resistor. Sensors. 2021; 21(4):1490. https://doi.org/10.3390/s21041490

Chicago/Turabian Style

Morais, Flávio, Pedro Carvalhaes-Dias, Yu Zhang, Andreu Cabot, Fábio S. Flosi, Luis Caparroz Duarte, Adelson Dos Santos, and José A. Siqueira Dias. 2021. "Low-Cost Control and Measurement Circuit for the Implementation of Single Element Heat Dissipation Soil Water Matric Potential Sensor Based on a SnSe2 Thermosensitive Resistor" Sensors 21, no. 4: 1490. https://doi.org/10.3390/s21041490

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop