1 Introduction

With global hunger on the rise again, the food and agricultural organization of the United Nations (FAO) has issued a sobering forecast on world food production. If global population reaches 9.1 billion by 2050, the FAO says that world food production will need to rise by 70%, and food production in the developing world will need to double [1].

To increase the world food production, the agriculture need to be improved the productivity. Especially, the countries located near the earth equator are appropriate to be considered because sunlight at this area is sufficient for making food twelve months a year. According to the lettuce cultures, the farmer can harvest the lettuce for 12 crops. However agriculture in tropical countries is unavoidable to face the strong net radiation caused by the sunlight. The precision sensor solution including the Internet of Things (IoT) is very suitable to be the key of success for modern agricultures.

Precision farming is very important to help the farmer to realize the high quality productivity. Sensor technologies are the best solutions to do this. According to the root stress problem caused by the high temperature root stress, there are two groups of leaf sensor methods: external change based methods and internal change based methods.

Currently, there are various image sensor solutions to realize the precision farming. According to leaf sensor based image solutions, this solution can analyze the plant stress effectively. In 2011, Seelye et al. [2] developed low cost colour sensors for monitoring leaf colour of plant tissues growing in a modified microprogation. In 2017, Thorat et al. [3] introduced an IoT based smart image sensor for leaf disease detection.

In 2018, Okamoto et al. developed plant growth estimation technologies by image analysis based on visible and thermography thermal images captured by cameras in real time and non-destructive leaf and root growth in lettuce hydroponic culture. The study shows that there is a correlation between the leaf area of the lettuce actually harvested and the area length of the root [4].

As discussed above, the image sensor solutions are considered as the external change solutions. These methods rely on the image information 2D or 3D information to analyze the plant stress. The image sensor solution is suitable for the stress that can analyze the leaf external information like leaf color, leaf area index (LAI), and leaf emotion and so on. The limitation of using the leaf external information is when these applies to analyze the root stress situation caused by high temperature root stress, the detection accuracy would be significantly decrease because the external change is so rough compared to plant transpiration and leaf temperature change. Thus internal change based leaf sensor methods have been introduced to be the best solutions for detecting and analyzing the plant stress caused by the internal change like root stress.

To detect the plant water status, a microwave method was introduced in 2006 as a novel method. The microwave sensor has been developed for precisely detecting plant water status or diagnosing water stress in plants. It is based on a microwave sensor, which contains a resonant cavity. Comparing to the methods introduced previously this method detects the plant water status more directly. It does not need a fusion sensor to measure more than one parameter to determine the plant water status. So it is more convenient and accurate than other methods. In 2016, an alternative solution of leaf sensor based on microwave sensor was presented by E. Pievanelli et al. The leaf wetness sensor is realized connecting the horn antenna to two transceivers by a 3-port circulator. Measuring the ratio between transmitted and received signal is possible to evaluate the reflector coefficients and consequently the wetness [5, 6].

Recently, remote sensing technologies have been presented for large area precision agricultures. Leaf area index (LAI) and leaf temperature have been introduced as the important biophysical parameters for estimating gas exchange, crop yields, and root stress for the precision agricultures.

Leaf area index (LAI) is an important vegetation biophysical parameter to estimate gas-vegetation exchange process. The airborne discrete-return light detection (LiDAR) based solution can estimate the LAI of low-statue vegetation, such as the maize [11]. However, the achievement of this technique has to complete with Beer-Lambert law and the algometric relationship. Thus, the LiDAR offers the possibility to characterize the 3-D variation of LAD over space [12]. In addition, the problem of LAI is that the saturation is possible to occur in the nadir direction, and vary with crop canopy structure and view zenith angles. To overcome this issue, the multi-angular remote sensing was presented to improve the monitoring accuracy and stability of VIs [13].

In 2017, Jin et al. developed a theoretical model based on physical energy balance equations and remote sensing data to evaluate heavy-metal stress in rice. Canopy temperature and LAI were used as the useful features to detect the heavy metal stress. Three extreme states of heavy-metal stress in rice were analyzed to be three states [7]. The hyperspectral based remote sensing method has been introduced for identifying of pathogen discrimination in coffee plants [14]. In [15], the simplified version of the boundary leaf resistance was presented to reduce the thickness of leaf lamina boundary layer so that the parasite population is rare filed.

Besides the remote sensing applications, the difference of leaf and air temperatures has been considered as the biophysical parameter for wireless sensor network (WSN) applications. In 2018, Daskalakis et al. develop the leaf sensor which used for the first time ambient backscattering over analog modulated (FM) signals. The leaf sensor is based on an ultra-low power microcontroller. Ambient backscattering has the potential to be the next new primitive approach for extremely low power communication [8].

The chlorophyll fluorescence (ChF) detection methods have been presented to be suitable for detecting the plant stress as an internal change principle. The principle of ChF method is very useful for detecting leaf stress especially nutrient stress and abiotic stress. The limitation of ChF method is that some techniques need the dark environment to analyze the plant stress. This is suitable as an alternative method [9, 10].

This paper presents the IoTs based root stress detection system for lettuce cultures. The proposed detection algorithm is based on the leaf energy balance principle and transpiration patterns. Unlike image sensors based detection methods, transpiration patterns derived from a lettuce leaf are considered as the key features to address the lettuce root stress conditions. The challenge of detecting lettuce stress by using a leaf sensor is to estimate the non-linear function of stomatal conductance. This paper has clarified the concept of detecting lettuce root stress using the transpiration patterns as well.

2 Materials and Methods

As discussed in the literatures, this section explains the details of the leaf sensor development. The concept of development starts with the overall precision detection system. Figure 1 shows the overall system of the IoT based root stress detection. In order to early detect the lettuce root health in real-time, the system consists of four parts (1) people, (2) cloud, (3) lettuce culture and (4) sensors. Lettuce is one kind of vegetable that consumes low levels of fertilizer. Its leaf thickness is not largely. Thus leaf sensors need to design as an infrared leaf sensor. We cannot attach any kind of disguised material to the leaf. Otherwise our sensors would be major cause of lettuce stress.

Fig. 1
figure 1

Schematic diagram of Internet of Things (IoTs) based temperature root stress detection using a leaf sensor. The leaf sensor consists of temperature sensor, and light intensity sensor. A farm owner, a manager, and an expert can real-time monitor the temperature root stress situation

The sensor module as shown in Fig. 1 consists of internal change based sensor like infrared temperature sensor. Light intensity sensor is used to analyze the relationship among the heat radiation, internal change in lettuce plant and light intensity. The ChF sensor is an optional sensor to be a second opinion sensor for analyzing the other kinds of lettuce stress.

The communication of each module can be realized by WiFi connection via cloud platform.

2.1 The Concept of the Root Stress Detection by the Leaf Sensor

The principle of the proposed leaf sensor is based on energy balance principle as shown in Fig. 2. The net radiation Rn is balanced by sensible heat H and latent heat \(\uplambda {\text{E}}\) as expressed in Eq. (1). In Eq. (2), Qa is the radiative forcing, defined as the sum of absorbed solar radiation and incident longwave radiation. Longwave radiation is emitted by the leaf in proportion to its temperature (Tleaf, °C) raised to the fourth power. Sensible heat is exchanged between the leaf and air temperature (Tair, °C) in proportion to the temperature difference divided by a diffusion resistance (\(r_{H}\), sm−1). Similarly, latent heat is exchanged in relation to the vapor pressure deficit (VPD) between the leaf and the surrounding air divided by a diffusion resistance (\(r_{W}\), sm−1) [16].

$${\text{R}}_{{\text{n}}} = {\text{H}} + {\uplambda E}$$
(1)
$${\text{Q}}_{{\text{a}}} = {\upvarepsilon \upsigma }\left( {{\text{T}}_{{\text{s}}} + 273.15} \right)^{4} + {\rho C}_{{\text{p}}} \frac{{\left( {{\text{T}}_{{{\text{leaf}}}} - {\text{T}}_{{\text{a}}} } \right)}}{{{\text{r}}_{{\text{H}}} }} + \frac{{{\text{M}}_{{\text{W}}} {\uplambda }}}{{{\text{R}}\left( {273 + {\text{T}}_{{\text{a}}} } \right)}} \cdot \frac{{{\text{e}}_{{\text{S}}} \left( {{\text{T}}_{{{\text{leaf}}}} } \right) - {\text{e}}_{{\text{a}}} \left( {{\text{T}}_{{\text{a}}} } \right)}}{{{\text{r}}_{{\text{W}}} }}$$
(2)
Fig. 2
figure 2

Schematic diagram of a lettuce when the net radiation is balanced by sensible heat and latent heat

The transpiration rate depends on the total resistance \(r_{W}\) (actually the sum of the stoma resistance and the boundary layer resistance) as expressed in Eq. (3). In Eq. (4), Vapor pressure deficit (VPD) can be calculated by the leaf temperature, the air temperature, and relative humidity RH [17]. The transpiration E can be expressed in function of VPD, and stomatal conductance gsw as in Eqs. (5) and (6).

$${\lambda E} = \frac{{M_{W} {\uplambda }}}{{R\left( {273 + T_{a} } \right)}} \cdot \frac{{e_{S} \left( {T_{leaf} } \right) - e_{a} \left( {T_{air} } \right)}}{{r_{W} }}$$
(3)
$${\text{VPD}} = \left( {610.7} \right) \cdot \left[ {10^{{\left( {\frac{{7.5T_{leaf} }}{{237.3 + T_{leaf} }}} \right)}} - \left( {\frac{RH}{{100}}} \right) \cdot 10^{{\left( {\frac{{7.5T_{air} }}{{237.3 + T_{air} }}} \right)}} } \right]$$
(4)
$${\text{E}} = \left[ {VPD/BP} \right]*g_{sW}$$
(5)

where \(g_{sW}\) is the stomatal conductance, BP is the barometric pressure in kPa (101.3 at sea level).

$${\text{E}} = f\left( {T_{leaf} , T_{air} , RH, g_{sW} } \right)$$
(6)

Since stomatal conductance \(g_{sW}\) in Eq. (6) is a non-linear function, transpiration E is so difficult to determine the exact values, especially during plant stress. When a lettuce faces to temperature root stress caused by high net radiation, abscisic acid (ABA) hormones are generated and mixed into the water and nutrient via xylem as shown in Fig. 3. The ABA hormones affecting to the change of stomatal conductance, thus the latent heat decrease as well [18, 19]. Moreover, the change of stomatal conductance caused by the temperature root stress affects to the decrease of the latent heat according to Eq. (3). Thus the difference of leaf and air temperature DTLA, VPD, and E would also significantly change as well.

Fig. 3
figure 3

The concept of stomatal aperture changes caused by the net radiation when considering the leaf energy balance and abscisic acid (ABA) with three conditions of temperature root stress: normal, root stress, and black root rot

Figure 4 shows the patterns of transpiration and the difference of leaf and air temperature, DTLA. DTLA is the key features of the proposed leaf sensor to detect the root stress. In addition, the patterns of transpiration rate in different conditions of lettuce root would be a main feature for early detecting the root stress.

Fig. 4
figure 4

Transpiration patterns of green oak lettuce a transpiration patterns in different stress conditions, b the difference of leaf temperature and air temperature (DTLA) in different stress conditions, c a green oak with root stress, d green oak with temperature root stress and e green oak with black root rot

During the normal condition (no root stress), the transpiration patterns, DTLA, and the lettuce image are shown in Fig. 4a–c, respectively. When the lettuce faces to root stress, the transpiration patterns, DTLA patterns, and the lettuce image become the line (b) in Fig. 4a, b, respectively. The lettuce image during root stress is shown in Fig. 4d. The black root rot situation, final stage of root stress, the transpiration pattern and DTLA become the line (c) as shown in Fig. 4a, b, respectively. The lettuce image with black root rot damaged by temperature root stress caused by high net radiation is shown in Fig. 4e. This is impossible to compensate back to the normal condition or even the stress condition.

2.2 The Detection Algorithm

After clarifying the concept of stress detection, the detection algorithm would be explained in this section. According to Eq. (6), the difference of leaf and air temperatures DTLA, light intensity LX, are used to be the inputs of the proposed detection algorithm. The LXA and LXB related to the saturated transpiration of green oak lettuce for tropical climates. In this paper, the LXA and LXB are set to be 20,000 lux and 73,000 lux, respectively [20]. The basic concept of the detection algorithm is to divide the patterns into three regions related to the amount of the net radiation. The light intensity LX is thresholded by LXA and LXB values as shown in Fig. 5b. Thus, there are three regions to be considered, R1, R2, and R3 as shown in Fig. 5c, d. These regions would be represented the region area of each part related to the different levels of net radiation. R1 is the region that the light intensity LX gradually increases. The latent heat and transpiration rate would also increase. When a lettuce is healthy (no temperature root stress), \(g_{sW}\) has no effect of ABA. Thus DTLA is the negative value. When LX is beyond LXB, the decrease of \(g_{sW}\) and E depends on the conditions of stress according to Fig. 4b. The change of \(g_{sW}\) caused by ABA hormones affecting to the change of latent heat, transpiration patterns, and DTLA inevitably. Figure 5a shows the flowchart of the detection algorithm. There are four steps (steps 1–4) of DTLA determination. The decision making is based on DTLA patterns according to Fig. 5e.

Fig. 5
figure 5

The proposed detection algorithm a the block diagram of the algorithm consists of four steps, b thresholding LX by LXA and LXB, c region determination of DTLA, d calculating area of each region, and e decision making by DTLA patterns

2.3 Sensor Implementation

The concept of the leaf sensor that can be able to detect the root stress is shown in Fig. 6. The infrared temperature sensor and the controller would be in the bottom side of the leaf sensor. The light intensity sensor and the display are on the top-side of the leaf sensor. In case of long time monitoring, the solar panel, battery charger and battery are employed as the DC power supply for the sensor system.

Fig. 6
figure 6

The proposed leaf sensor for measuring leaf temperature, air temperature, and light intensity. Display, controller based WiFi communication, and solar panel with a 12 V-battery and a battery charger are included in the system as well

To realize the proposed concept for internal change detection, the concept of leaf sensor has been designed as shown in Fig. 7. Figure 7a is the tested circuit of IoT based leaf sensor. The prototype of the proposed leaf sensor is shown in Fig. 7b and 7c, respectively.

Fig. 7
figure 7

The prototype of the proposed leaf sensor. a The tested circuit of the proposed leaf sensor, b top view of the proposed leaf sensor, and c bottom view of lea sensor

As shown in Fig. 7a, b, the prototype of leaf sensor has been designed with OLED display. Thus a user can use it as a portable sensor without WiFi connection to manually detect the lettuce root stress in field test as well. The lists of hardware components and software are shown in Tables 1 and 2, respectively.

Table 1 List of hardware components for sensor implementation
Table 2 List of software for sensor implementation

3 Experimental Results

To evaluate the proposed root stress detection system, the experiments are set up to measure the difference of leaf temperature TL and air temperature TA at root temperature 30 °C, 40 °C, 50 °C and 60 °C. The ambient temperature is controlled to be between 28 °C and 32 °C. As discussed previously, the internal change of lettuce leaf would be able to detect with the proposed detection system. In Sect. 3.1, the difference of TL and TA vs light intensity (lux) are shown.

To realize the performance of the proposed root stress detection system, the samples of 24 hydroponic lettuces have been tested in different root temperatures. The weight per plant of green oak and red oak is 1.2 g and 1.0 g respectively. The reason of selecting the hydroponic lettuce is easy to evaluate lettuce root health. Root color based method is the alternative way to evaluate the temperature root stress conditions. The clear white, light brown and black represent no stress, temperature root stress, and black root rot, respectively. However the proposed detection methods can be applied to both organic and hydroponic cultures.

3.1 Difference of TL and TA (DTLA) Versus Light Intensity

The objective of this experiment is to show that the difference of leaf temperature TL and ambient temperature TA can be determined by using the proposed detection system. The TL and TA in different root stress conditions are compared to light intensity. The experimental results show that the internal changes in difference of TL and TA relate to the heat radiation affecting by sunlight. The representative of the heat radiation from sunlight is measured by using the light intensity sensor (lux).

According to Fig. 8, Fig. 8a–d is the experimental results of green oak. When the root temperature increases, the different trends of TL and TA are higher (more positive). Figure 8e–h is the experimental results of red oak. Noticed that red oak is more sensitive than green oak comparing to the same level of root temperature. Tables 3, 4 and 5 shows experimental data used to plot Fig. 8.

Fig. 8
figure 8

The experimental results of the proposed leaf sensors

Table 3 Experimental results: difference of TL and TA with 500 lux of light intensity when root temperature varies between 30 and 60 °C
Table 4 Experimental results: difference of TL and TA with 3,500 lux of light intensity when root temperature varies between 30 and 60 °C
Table 5 Experimental results: difference of TL and TA with 54,000 lux of light intensity when root temperature varies between 30—60 °C

3.2 The Comparison Between the Proposed Detection and the LAI Method

In order to evaluate the detection performance of the proposed detection system, the internal change detection and the external change detection would be explained in more details. Figure 9 shows the comparison of the internal change and external change. When the root temperature is at 60 °C, the difference of TL and TA (DTLA) has been significantly changed in different light intensity 500 lux, 3500 lux and 54,000 lux. This means that the lettuce root was affected by the temperature root stress. According to the external change feature, the red oak leaf was still fresh except two leaves in the dash circle that gradually started to wilt. Thus the external change features are more difficult to implement the early stage detection of lettuce root stress.

Fig. 9
figure 9

The internal change detection and the external change detection red oak with 60 °C of root temperature

Figure 10 shows the experimental results of LAI based detection method with green oak by using Easy Leaf Area application for a smartphone. The LAI value of no stress green oak is 174.24 cm2 as shown in Fig. 10a. After facing temperature root stress at 55 °C, the LAI value of green oak significantly reduces by 20% (141.96 cm2), approximately. Table 6 shows the results of the LAI tests with 20 lettuces of green oak. The response detection time of the proposed method and the LAI method are 5 min and less than 60 s, respectively.

Fig. 10
figure 10

Experimental Results of LAI based detection method with green oak by using easy leaf area for a smartphone. a Green oak with no root stress, b green oak with black root rot (final stage of root stress).

Table 6 The experimental results of black root rot stress detection

In practical, the response time of the detection system considerably affects to losing of crop yields. The response time of LAI method is equal to 5 min, approximately. This is not sufficient to early detect the temperature root stress. On the other side, the response time of the proposed detection system is less than 30 s. This is sufficient to early detect the temperature root stress for compensation in real-time.

4 Discussion

According to the experimental results, the difference of TL and TA in case of green oak and red oak in root temperature at 30 °C is very interested. Basically, the requirement of red oak in term of light intensity (lux) is lower than green oak. Normally, light intensity for green oak lettuce cultures is around 40,000–70,000 lux. The red oak cultures need only 30,000–50,000 lux approximately. This is the reason that red oak is more sensitive than green oak in term of root temperature increase. The comparison between green oak and red oak in term of root temperature is shown in Table 7. Figure 11 shows the internal change of red oak and green oak.

Table 7 Comparison between green oak and red oak when root temperature is 30 °C and the light intensity at 500 lux, 3,500 lux and 54,000 lux
Fig. 11
figure 11

The comparison of the internal change results of green oak and red oak with the same root temperature level (30 °C). The red oak (red circle) is more sensitive to temperature root stress than the green oak (green circle). (Color figure online)

Figure 12 shows the detection error of the proposed root stress detection system. Basically, when the root temperature is at 60 °C, the difference of TL and TA should be close to zero or positive. In this case the difference of TL and TA is − 7.5. This is because of the limitation of the proposed detection system cannot effectively detect the leaf temperature when the leaf is wet. In practical, the lettuce cultures in tropical climate areas would compensate relative humidity RH by using foggy system. However, the foggy pressure and duration are recommended to be lower than 70% of RH. The measurement position of infrared temperature sensor should select a leaf in the vertical direction to avoid the dropped water on the leaf.

Fig. 12
figure 12

Detection error of the proposed detection system

5 Conclusion

This paper presents the root stress detection system based on internal change detection using a novel leaf sensor system. The energy balance principle, stomatal conductance and lettuce leaf transpiration in different light intensity conditions are considered as the internal change features for detecting the lettuce root stress. The real-time detection system realized by IoT based controller has been implemented to monitor the internal change of lettuce culture. The experimental results show that the real-time monitoring of the TL and TA in different light intensity condition leads to effective detection for the lettuce root stress situation affected by root temperature increased. Moreover the internal change based root stress detection can be applied to different types of lettuce.