Professional Documents
Culture Documents
Calibrationtalk: A Farming Sensor Failure Detection and Calibration Technique
Calibrationtalk: A Farming Sensor Failure Detection and Calibration Technique
Abstract—Sensor failure detection and calibration is an impor- data are accurate. Unfortunately, sensors may not produce
tant issue for Internet of Things applications. Many smart accurate data due to manufacturing variation, hardware mal-
applications fail due to inaccurate data produced by their sensors. function, aging, or misplacement. Such sensor failures are not
To solve this issue, we propose the CalibrationTalk mecha-
nism. We use smart agriculture as an example to show how untypical especially for those used in the outdoor environ-
CalibrationTalk automatically fixes the sensing accuracy prob- ments. The examples are the weather and the soil sensors
lems in commercial farm operations. Besides manufacturing installed in the farm field for a smart agriculture platform
variation, hardware malfunction and aging, sensing inaccuracy called AgriTalk [2]. Originally, AgriTalk was designed for soil
may be caused by soil erosion of rain or irrigation, which farming, but was later extended for other smart agriculture cul-
changes the positions and the angles of the sensors inserted
in the soil. The above sensor failure problems can be detected tivations, such as hydroponics farming and aeroponics farming.
by CalibrationTalk. In this article, we first extend our previous In such IoT applications, it is important that we detect sen-
work to detect sensor failures. If the sensors become inaccurate sor failures and try to fix the problems. Several studies have
due to aging or similar reasons, CalibrationTalk automatically focused on sensor failure detection, which assumed that the
calibrates the sensors in the farm fields. We conduct measure- IoT systems have deployed multiple redundant sensors [4], [5].
ments and analytic modeling to investigate the performance of
CalibrationTalk, which suggests that to detect a potential mois- These solutions are appropriate for expensive applications,
ture sensor failure, it is appropriate to set the detection time such as airplane engine failure detection. However, they are
as 30 min for moisture sensors. With this setup, true failure too expensive for applications, such as AgriTalk with limited
is detected while false detections rarely occur. For a detected budget, especially when a large number of distinct sensors
sensor failure due to aging, CalibrationTalk can automatically are deployed in the farm. The study in [6] detects failures of
build a calibration table. During the calibration table establish-
ment period, the sensors still produce correct measured data surface temperature sensor of an urban sewer. With an autore-
and do not interfere with the normal operation of smart farm- gressive integrated moving average model, this study used the
ing. The value of CalibrationTalk lies in its power of automation Gamma distribution to fit the forecasted and faulty data to
for sensor failure detection and calibration processes developed detect anomalies, which is tailored specifically for urban sewer
in this article. sensors without involving actuators. This approach does not
Index Terms—Failure detection, sensor calibration, smart have any actuators and cannot be used in agriculture systems
agriculture, soil moisture sensor. with the operations of soil sensors and actuators.
This article proposes the CalibrationTalk technique to auto-
matically perform farming sensor failure detection and cali-
bration with low cost. The problem of sensor failure detection
I. I NTRODUCTION and calibration in the farm fields (instead of in the laboratory
N A TYPICAL sensor-based smart application, an Internet- environment) is not trivial. The problem has academic values
I of-Things (IoT) system obtains measured data from the
sensors. After big data preprocessing, the manipulated sensor
not because we propose a novel approach but also because
we subtly conduct performance modeling to demonstrate its
sent to the AI mechanisms for prediction [1]–[3]. To produce feasibility. Specific contributions of this article are itemized
accurate prediction, it is essential that the measured sensor as follows.
1) Based on heterogeneous mutual test of IoT devices,
Manuscript received June 16, 2020; revised August 11, 2020 and we propose a novel approach for sensor failure detec-
September 28, 2020; accepted November 2, 2020. Date of publication tion through tests among sensors and actuators in real
November 10, 2020; date of current version April 7, 2021. This work was
supported in part by the Center for Open Intelligent Connectivity from the time and conduct analytic, simulation, and measurement
Featured Areas Research Center Program within the Framework of the Higher modeling to prove its performance excellence.
Education Sprout Project by the Ministry of Education in Taiwan; in part by 2) We propose the first sensor calibration solution in the
the Ministry of Science and Technology Academia–Industry Research Center;
and in part by the Ministry of Science and Technology under Grant 109- farm fields instead of expensive laboratory environ-
2221-E-009-089-MY2; and in part by the Ministry of Economic Affairs under ments, and experimentally demonstrate that the process
Grant 107-EC-17-A-02-S5-007. (Corresponding author: Yun-Wei Lin.) converges.
Yun-Wei Lin is with the College of Artificial Intelligence, National Chiao
Tung University, Hsinchu 300, Taiwan (e-mail: jyneda@gmail.com). The remainder of this article is organized as follows.
Yi-Bing Lin is with the Department of Computer Science, National Chiao Section II surveys the related studies. Section III describes
Tung University, Hsinchu 30010, Taiwan (e-mail: liny@nctu.edu.tw). how AgriTalk works. Sections IV and V propose two statis-
Hui-Nien Hung is with the Institute of Statistics, National Chiao Tung
University, Hsinchu 30010, Taiwan (e-mail: hhung@stat.nctu.edu.tw). tical methods to detect failures in the heterogeneous mutual
Digital Object Identifier 10.1109/JIOT.2020.3036859 test. After a sensor failure is found, Section VI shows how to
2327-4662
c 2020 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission.
See https://www.ieee.org/publications/rights/index.html for more information.
Authorized licensed use limited to: University of Prince Edward Island. Downloaded on May 17,2021 at 10:07:38 UTC from IEEE Xplore. Restrictions apply.
6894 IEEE INTERNET OF THINGS JOURNAL, VOL. 8, NO. 8, APRIL 15, 2021
Authorized licensed use limited to: University of Prince Edward Island. Downloaded on May 17,2021 at 10:07:38 UTC from IEEE Xplore. Restrictions apply.
LIN et al.: CalibrationTalk: FARMING SENSOR FAILURE DETECTION AND CALIBRATION TECHNIQUE 6895
The study in [16] uses a standard RH meter to compare through real-time AI training and predication [2], [3]. The
readings with the humidity DUT, which performs a check by kernel of the IoT mechanism in AgriTalk is the IoTtalk server
placing the meter’s RH probe close to the DUT. Then, the [Fig. 2(a)] [20]. To interact with the IoTtalk server, every farm-
readings are compared to determine the DUT’s calibration and ing IoT device has two software modules; namely, the device
functionality. The disadvantage of this method is that it takes application (DA) and sensor and actuator application (SA)
hours before the sample data are stable enough to perform illustrated in Fig. 2(b)–(d). The DA supports IoT communi-
calibration work in the laboratory. cations using HTTPS and MQTT to interact with the IoTtalk
The study in [17] pointed out that when transient changes in server. The SA implements the sensor or actuator mechanisms,
humidity or temperature occur, the time response characteris- such as calibration tables. The AgriTalk farming sensors are
tics of the humidity sensor must be determined. Following installed in a sensor box [Fig. 2(e)]. The actuators are con-
a step change in humidity, the time to record 90% of the nected to an actuator control box [Fig. 2(f)]. Both boxes are
humidity change is about 10 s for isothermal test condi- mass produced products of the Quanta Computer Inc., which
tions and about 2–5 min for nonisothermal test conditions. won 2020 Innovation Award from the consumer electronic
Accurate temperature and humidity control are performed in show (CES) in Las Vegas, USA. The sensor box is basically
a well-controlled laboratory environment. The above meth- a micro weather station plus soil sensors. The weather sta-
ods [15]–[17] have the same requirement (limitation) that they tion includes the temperature [−40 ◦ C–65 ◦ C], the ultraviolet
have to create accurate environment conditions in an expensive [0–1800 W/m2 ], the humidity [1%–100% RH], the CO2 , and
laboratory environment for calibration. the atmosphere pressure sensors. The box also includes the
Koestoer et al. [18] proposed a simple way to use Arduino rain [0∼2438 mm/hr] and the wind [0–89 m/s] gauges. The
to record the data obtained from the calibration. The study soil sensors include a 3-in-1 sensor (for electrical conductivity,
is conducted in an ordinary room with a fan to change the temperature, and moisture) and a pH sensor. For every sen-
environment conditions, which is not as rigorous as those sor SX [Fig. 2(g)], we implement a sensor/actuator application
in [15]–[17], and the accuracy of the created environment SA X in Fig. 2 (b). A measured sample sent from SX is pro-
conditions is questionable. The study in [19] designed an on- cessed in SA X and then sent to the input device feature (IDF)
site procedure for calibration and validation of a low-cost X in the data application (DA). IDF X is a communication
portable sensor. Based on temperature and humidity sensing, channel in which the IoT device sends the data of SX to the
the proposed procedure achieves calibration of particulate mat- IoTtalk server.
ter sensors. For a large number of dust density sensors, it The actuator control box [Fig. 2(f)] is connected to
cannot automatically detect which one fails, and the costs for the actuators [Fig. 2(h)], including the pest sprayers, the
placing standard sensors besides the tested sensors in such water/fertilizer drippers, and the repellent lights. In the
“dust” environment is typically high. Furthermore, the cali- DA module [Fig. 2(d)], we implement an output device
bration solution does not work for soil sensors presented in feature (ODF) Y for the actuator AY , and the SA mod-
this article. To solve above issue, we propose CalibrationTalk, ule Y executes the instructions given from the IoTtalk
a mechanism that can calibrate the air and soil sensors in the server.
farm fields without interrupting normal operation of the smart AgriTalk also implements a Web-based dashboard that can
farm mechanism. Since the AgriTalk sensors are operated in be browsed in any smartphone [Fig. 2(i)]. Through the ODFs
the farm, we only need to make sure that the sensors operate [Fig. 2(c)], the dashboard records the sensor data sent from
correctly in that environment. Therefore, it suffices to conduct the IoTtalk server, and displays the time series of the data.
calibration with a “small” operation range that already cap- Based on the received data, the SA of the dashboard can con-
tures real-world variations in humidity and temperature. In this duct homogeneous or heterogeneous mutual tests to detect
way, we do not need to calibrate the sensors in an expensive if the sensors or the actuators fail. The details are given in
laboratory environment. Sections IV and V. If a potential failure is found, the dashboard
In this article, we will elaborate on the heterogeneous alarms the farmer (through the display of the smartphone), and
mutual tests for the humidity sensors based on the drippers. sends a failure detection message to the IoTtalk server through
Then, we propose the calibration mechanism. Note that other IDF Cc [Fig. 2(c)]. The IoTtalk server then sends a calibra-
sensors may also be used for mutual tests of humidity. For tion instruction to ODF Cb of the sensor box [Fig. 2(b)] to
example, it should be 100% relative humidity during heavy activate the sensor calibration application SA W. Before cal-
rain, but the soil sensor only outputs like 97% due to the ibration, the farmer needs to connect the standard sensor SW
aging process. This situation is detected by the rain gauge [Fig. 2(j)] to the sensor box. The data produced by SW are used
sensor, not drippers. When the rain gauge reports heavy rain, to calibrate SX to be described in Section VI. When the cali-
CalibrationTalk will check if the soil sensor reports 100%. If bration process is terminated, the result is sent to the IoTtalk
not, the farmer is alerted to check if the soil sensor is aged or server through IDF Cb in Fig. 2(b).
the sensor placement should be adjusted. The sensors are connected to the sensor box through power
over Ethernet (POE) technology. Therefore, there is no need
to support the sensors with batteries. Since AgriTalk also con-
III. C ALIBRAITON TALK S YSTEM S TRUCTURE trols the actuators (drippers, sprayers, and so on) driven by
In AgriTalk, the farming actuators (irrigation drippers) are the motors, batteries do not work and therefore power lines or
automatically controlled by the farming sensors (soil sensors) stable solar power are required.
Authorized licensed use limited to: University of Prince Edward Island. Downloaded on May 17,2021 at 10:07:38 UTC from IEEE Xplore. Restrictions apply.
6896 IEEE INTERNET OF THINGS JOURNAL, VOL. 8, NO. 8, APRIL 15, 2021
Authorized licensed use limited to: University of Prince Edward Island. Downloaded on May 17,2021 at 10:07:38 UTC from IEEE Xplore. Restrictions apply.
LIN et al.: CalibrationTalk: FARMING SENSOR FAILURE DETECTION AND CALIBRATION TECHNIQUE 6897
n−1 i ∗(i)
λ g (s)
Pr[T < t] = (−1)i . (3)
i=0
i! dsi
s=λ
n−1
α
α+i−1 λi β n+1
Pr[T < t] = . (4) β β
i=0
i (λ + β )α+i Pr[Tn < t] ≈ Pr[Tn < t] +
λ+β λ+β
Denote Tα as T when the shape parameter of the T distri-
n
λ λ 2n λ
bution is α. For α = 1, the T1 distribution is an exponential e λ+β +
distribution, and (4) is rewritten as λ+β n λ+β
n
n+1 n−1
λ β λ 2n λ
Pr[T1 < t] = 1 − . (5) = e λ+β + .
λ+β λ+β n λ+β
If α = 2 then the T2 distribution is a chi-squared distribu- If α → ∞, then the T distribution approaches to a fixed value
tion with 2 degrees of freedom, and (4) is rewritten as and (4) is rewritten as
n ∞
λ + (n + 1)β λ Pr[T∞ < t] = f (t)dt
Pr[T2 < t] = 1 − . (6)
λ+β λ+β t=T
If α = n, then
n−1
λi T i e−λT
= (9)
i!
n−1
λi β n
i=0
Pr[Tn < t] = n + i − 1i where T = E[Tα ]. Fig. 4 plots Pr[Tα < t] against α and β.
(λ + β )n+i
i=0
The figure indicates that Pr[Tα < t] is a decreasing function
n i
β
n−1
n+i−1 λ of α. For example, if β = λ and α < n, then from (5) and
= . (7) (6), we have
λ+β i λ+β
i=0 n n n
1 1 n 1
From
(7), we find the relationship between Pr[Tn < t] and Pr[T1 < t] = 1 − >1− −
2 2 2 2
Pr Tn+1 < t as follows:
= Pr[T2 < t].
Pr Tn+1 < t
n+1
i Fig. 4 shows that Pr[T1 < t] > 0.1 for E[T1 ] = 10E[t] .
β
n
n+i λ If β = λ and α = n, Pr[Tn < t] is derived as follows. First
=
λ+β i λ+β note that
i=0
n+1 n−1
i
β β n+i−1 1
= Pr[Tn < t] + =2n−1 .
λ+β λ+β i 2
i=0
n−1 i
n
1 λ 2n λ Substitute the above equation into (4) to yield
× + .
(i − 1)! λ + β n λ+β n−1
n+i
i=0 n+i−1 1 1
Pr[Tn < t] = = .
(8) i 2 2
i=0
Equation (8) allows computation of Pr Tn+1 < t from In Fig. 4, we see Pr[Tn < t] = 0.5 for E[Tn ] = E[t].
Pr[Tn < t] . When n is very large, we can use Taylor series to Practically, we select α → ∞, and E[Tn ] = 3.2 E[t] = 30 min.
approximate (8) as In this case, Pr[Tα < t] ≈ 0.
Authorized licensed use limited to: University of Prince Edward Island. Downloaded on May 17,2021 at 10:07:38 UTC from IEEE Xplore. Restrictions apply.
6898 IEEE INTERNET OF THINGS JOURNAL, VOL. 8, NO. 8, APRIL 15, 2021
Authorized licensed use limited to: University of Prince Edward Island. Downloaded on May 17,2021 at 10:07:38 UTC from IEEE Xplore. Restrictions apply.
LIN et al.: CalibrationTalk: FARMING SENSOR FAILURE DETECTION AND CALIBRATION TECHNIQUE 6899
Fig. 8. Moisture ascent θX (ε) against vX (τ0 ). Fig. 9. Outliers detected through (13).
I I
where x = i=1 xi /I and y = i=1 yi /I. The term “b” in
For all experiments we conducted, both the threshold-based
(10) can be estimated by using (11) as
and the outlier-based methods accurately detect the sensor fail-
b̂ = y − m̂x. ures. We can combine two methods to take the advantages of
them. The threshold-based method has two parameters T and
In (10), ei is the error term. We assume ei has a nor-
ξT . Similarly, there are two parameters in the threshold-based
mal distribution with expectation 0 and variance σ 2 [21] and
method, ε and ξ, where ξT = vX (τ0 ) + ξ, and it is typical
ei is estimated by êi = yi − m̂xi + b̂. Then, from (11), σ 2 is
that T > ε. Therefore, we can first conduct the outlier-based
estimated by
I I method. If the method suggests that sensor X operates nor-
mally, then the dashboard considers X being normal. If the
σ =
2
(yi − y) − m̂
2
(xi − x)(yi − y) (I − 2)−1 . method suggests that an outlier is found at τ0 + ε, then the
i=1 i=1 dashboard continues to exercise the threshold-based method
A paired sample (xi , yi ) is diverged from the regression model to check the sensor value at τ0 + T. If the value is smaller
(10) if the error ei is significantly large. If so, it is considered than ξT , the dashboard still considers sensor X to be nor-
as an outlier due to sensor or actuator malfunction. To deter- mal. Otherwise, a sensor failure alarm is sent to the farmer.
mine whether the error ei is significantly large, from [21], we In this way, we can reduce the probability of false failure
compare êi with σ to find the adjusted error rate ri where detection.
− 1
êi 1 (xi − x)2 2
ri = 1 − − I . (12) VI. S ENSOR C ALIBRATION
σ I j=1 (xj − x)
2
In CalibrationTalk, we create the SA/DA for a special sensor
The adjusted error rate (12) can be fine tuned as
called “Wildcard” to match all kinds of sensors (temperature,
I−3 moisture, etc.). The wildcard sensor SW works as follows. In
∗
ri = ri . (13) the DA module of the sensor box, we build control IDF and
I − 2 − ri 2
ODF Cb for this wildcard sensor [Fig. 2(b)]. In the SA module,
In (13), if |ri ∗ | > 2, then the paired sample (xi , yi ) is consid- we build SAW for SW , which is a “wildcard” SA that can
ered as an outlier. The “2” is corresponding to “5% error” [22]. automatically switch to various farming sensor data formats
That is, if we consider (xi , yi ) as an outliner based on the rule (e.g., temperature, EC, humidity, etc.). When CalibrationTalk
|ri ∗ | > 2, then there is less than 5% chance that (xi , yi ) is not detects that a sensor SX fails, the AgriTalk dashboard indicates
an outliner. If “3” is selected, the chance for nonoutlier paired the warning status to the farmer. The farmer first checks if the
samples of being classified as outliers is 0.27%. Note that warning is due to soil erosion. If so, the sensor is reinserted
(12) and (13) are exact equations for any I value. In Fig. 9, into the soil in the correct position/angle. Otherwise, the sensor
the red line is plotted based on (13), and we identify four is calibrated as follows. The farmer uses a standard sensor SW
sample points as outliers. We checked with the sensors and that has the same type as SX [Fig. 2(g); i.e., moisture] for
found that the outliers do produce wrong values and have to calibration. The farmer connects SW [Fig. 2(j)] to the farming
be calibrated. sensor box, and SAW identifies the received sensor data format
In Fig. 9, the outliers may be caused by soil erosion as “moisture.” The farmer then inserts SW in the soil next to
or sensor aging. When the farmer receives the alarm from SX . To include the calibration functionality in the sensor box,
CalibrationTalk, he/she will check the reason of the outliers. the SA of every sensor is associated with a calibration table.
We have designed standard operating procedures (SOPs) for Let TX be the calibration table for sensor SX with the identity
using CalibrationTalk, and offered training courses to teach the X (e.g., moisture no. 1). A variable VX is used to store the most
farmers through Chunghwa Telecom (CHT, the largest telecom recently received data form SX . The SA of SX is described in
company in Taiwan). the following steps.
Authorized licensed use limited to: University of Prince Edward Island. Downloaded on May 17,2021 at 10:07:38 UTC from IEEE Xplore. Restrictions apply.
6900 IEEE INTERNET OF THINGS JOURNAL, VOL. 8, NO. 8, APRIL 15, 2021
Authorized licensed use limited to: University of Prince Edward Island. Downloaded on May 17,2021 at 10:07:38 UTC from IEEE Xplore. Restrictions apply.
LIN et al.: CalibrationTalk: FARMING SENSOR FAILURE DETECTION AND CALIBRATION TECHNIQUE 6901
Equations (16) and (17) satisfy entries are hit. Fig. 14(a) shows that for tP = 1, 5, 10, and
20 min, the percentages of hit entries in the first day (starting
π3,n + π4,n = 1 at 10/10/2019) are 98%, 91%, 88%, and 67%, respectively. In
Authorized licensed use limited to: University of Prince Edward Island. Downloaded on May 17,2021 at 10:07:38 UTC from IEEE Xplore. Restrictions apply.
6902 IEEE INTERNET OF THINGS JOURNAL, VOL. 8, NO. 8, APRIL 15, 2021
TABLE I
C ONVERGE T IME S TATISTICS FOR VARIOUS tP VALUES
VII. C ONCLUSION
This article proposed a technique named CalibrationTalk
to address the issues of sensor failure detection and calibra-
tion. We use smart agriculture as an example to show how
CalibrationTalk automatically fixes the sensing accuracy prob-
lems in commercial farm operations. Due to soil erosion of
rain or irrigation, the positions and the angles of the sensors
inserted in the soil may be changed, and therefore, even if
the sensors are not out of order, the sensor readings may not
be correct. To our knowledge, there is no feasible solution to
automatically detect soil erosion effect. In this article, we first
proposed two methods (threshold based and outlier based) to
detect sensor failures, including those caused by soil erosion.
If the sensors become inaccurate due to aging or similar rea-
sons, CalibrationTalk automatically calibrates the sensors in
the farm fields. When the sensors are being calibrated, they
still produce correct measured data and do not interfere with
the normal operation of smart farming.
We have conducted measurements and analytic modeling
to investigate the performance of CalibrationTalk. Our study
suggests that to detect a potential moisture sensor failure, it
is appropriate to set the detection time as 30 min such that
true failure is detected while false detections rarely occur.
Fig. 14. Hit rates of a moisture calibration table for various tP values. CalibrationTalk eventually builds the calibration table for
(a) 10/10/2019. (b) 11/03/2019. (c) 12/28/2019. (d) 01/07/2020.
a sensor if it is correctable, and the calibration process is
Fig. 14, the trends for the statistics obtained for 10/10/2019, quickly stopped when the sensor should be replaced. This
11/03/2019, 12/28/2019, and 01/07/2020 are similar. article that has made two major contributions are as follows.
Clearly, the sampling period tP must be shorter than the 1) CalibrationTalk automatically conducts sensor failure
maximum ascent time εξ of the outlier-based failure detection detection through tests among sensors and actuators
in Section V. For example, if tP = 20 min, then the ξ value in real time. Our study indicates that CalibrationTalk
Authorized licensed use limited to: University of Prince Edward Island. Downloaded on May 17,2021 at 10:07:38 UTC from IEEE Xplore. Restrictions apply.
LIN et al.: CalibrationTalk: FARMING SENSOR FAILURE DETECTION AND CALIBRATION TECHNIQUE 6903
can accurately detect sensor failure through the novel [13] K. Sangaiah, D. V. Medhane, T. Han, M. S. Hossain, and
threshold-based and outlier-based methods. G. Muhammad, “Enforcing position-based confidentiality with machine
learning paradigm through mobile edge computing in real-time industrial
2) CalibrationTalk automatically conducts sensor calibra- informatics,” IEEE Trans. Ind. Informat., vol. 15, no. 7, pp. 4189–4196,
tion in the farm field instead of expensive laboratory Jul. 2019.
environments and demonstrate that the process con- [14] Y.-B. Lin, Y.-W. Lin, J.-Y. Lin, and H.-N. Hung, “SensorTalk: An IoT
device failure detection and calibration mechanism for smart farming,”
verges in three days. Sensors, vol. 19, no. 21, p. 4788, Nov. 2019.
Without CalibrationTalk, it will be difficult if not impossible [15] R. Genovese. (Nov. 2017). How to Check and Calibrate a Humidity
to detect and calibrate the farming sensors. More specifically, Sensor. [Online]. Available: https://www.allaboutcircuits.com/projects/
how-to-check-and-calibrate-a-humidity-sensor/
the advantages of our method are threefolds. First, the sensors [16] R. Schellenberg, How Hard Could That Be? Practical Humidity
are calibrated in the farm fields without the costs of expen- Calibration Experiences, Vaisala, Vantaa, Finland, 2001.
sive laboratory testing. Second, the whole process is almost [17] Y. H. Wang, C. J. Simonson, R. W. Besant, and W. Shang, “Transient
humidity measurements: Part I—Sensor calibration and characteristics,”
automatic with a minimum manual operation, i.e., the farmer IEEE Trans. Instrum. Meas., vol. 56, no. 3, pp. 1074–1079, Jun. 2007.
simply plugs the standard sensor in the sensor box. Third, [18] R. A. Koestoer, N. Pancasaputra, I. Roihan, and Harinaldi, “A simple
the smart farm mechanism can normally operate during the calibration method of relative humidity sensor DHT22 for tropical cli-
mates based on Arduino data acquisition system,” AIP Conf. Proc., vol.
calibration process without any interruption. 2062, no. 1, Jan. 2019.
CalibrationTalk can be directly extended for other soil sen- [19] H. Hojaiji, H. Kalantarian, A. A. T. Bui, C. E. King, and M. Sarrafzadeh,
sors, including those for pH, electric conductivity, and so on. “Temperature and humidity calibration of a low-cost wireless dust sensor
for real-time monitoring,” in Proc. IEEE Sensors Appl. Symp., 2017,
For different types of sensor calibration, our solution still pp. 1–6.
works with different threshold values. For example, the sensi- [20] Y.-B. Lin, Y.-W. Lin, C. M. Huang, C.-Y. Chih, and P. Lin, “IoTtalk:
tivity of air temperature sensor is higher than the soil moisture A management platform for reconfigurable sensor devices,” IEEE
Internet Things J., vol. 4, no. 5, pp. 1552–1562, Oct. 2017.
sensor and T for air temperature is shorter than that for soil [21] S. Weisberg, Applied Linear Regression. Hoboken, NJ, USA: Wiley,
moisture. We will extend our work to the sensors under water 2013.
in the future. [22] J. A. Rice, Mathematical Statistics and Data Analysis, 3rd ed. Belmont,
CA, USA: Duxbury Press, 2006.
ACKNOWLEDGMENT
Yun-Wei Lin (Member, IEEE) received the Ph.D.
Fang-Ru Wu assisted to sort out data and draw the figures degree in computer science and information engi-
for statistics. neering from National Chung Cheng University,
Chiayi, Taiwan, in 2011.
He has been an Assistant Professor with the
R EFERENCES College of Artificial Intelligence, National Chiao
Tung University, Hsinchu, Taiwan, since 2019. His
[1] Y.-W. Lin, Y.-B. Lin, C.-Y. Liu, J.-Y. Lin, and Y.-L. Shih, “Implementing
current research interests include mobile ad-hoc
AI as cyber IoT devices: The house valuation example,” IEEE Trans.
network, wireless sensor network, vehicular ad hoc
Ind. Informat., vol. 16, no. 4, pp. 2612–2620, Apr. 2020.
networks, and IoT/M2M communications.
[2] W.-L. Chen et al., “AgriTalk: IoT for precision soil farming of turmeric
cultivation,” IEEE Internet Things J., vol. 6, no. 3, pp. 5209–5223,
Jun. 2019.
[3] W.-L. Chen, Y.-B. Lin, F.-L. Ng, C.-Y. Liu, and Y.-W. Lin, “RiceTalk: Yi-Bing Lin (Fellow, IEEE) received the bache-
Rice blast detection using Internet of Things and artificial intelligence lor’s degree from National Cheng Kung University
technologies,” IEEE Internet Things J., vol. 7, no. 2, pp. 1001–1010, (NCTU), Hsinchu, Taiwan, in 1983, and the Ph.D.
Feb. 2020. degree from the University of Washington, Seattle,
[4] S. Hussain, M. Mokhtar, and J. M. Howe, “Sensor failure detection, WA, USA, in 1990.
identification, and accommodation using fully connected cascade neural He is the Winbond Chair Professor with
network,” IEEE Trans. Ind. Electron., vol. 62, no. 3, pp. 1683–1692, National Chiao Tung University, Hsinchu. From
Mar. 2015. 1990 to 1995, he was a Research Scientist with
[5] W. Oh, “A simple sensor fault detection algorithm,” in Proc. Int. Conf. Bellcore (Telcordia), Piscataway, NJ, USA. He then
Comput. Sci. Data Min. Mech. Eng. (ICCDMME), Apr. 2015, pp. 79–84. joined NCTU, where he remains. In 2010, he became
[6] K. Thiyagarajan, S. Kodagoda, and L. V. Nguyen, “Predictive analyt- a Lifetime Chair Professor with NCTU. In 2011, he
ics for detecting sensor failure using autoregressive integrated moving was the Vice President of NCTU, where he was a Deputy Minister with the
average model,” in Proc. 12th IEEE Conf. Ind. Electron. Appl. (ICIEA), Ministry of Science and Technology from 2014 to 2016. Since 2016, he has
2017, pp. 1926–1931. been appointed as a Vice Chancellor with the University System of Taiwan
[7] B. P. L. Lau et al., “A survey of data fusion in smart city applications,” (for NCTU, NTHU, NCU, and NYM).
Inf. Fusion, vol. 52, pp. 357–374, Dec. 2019. Dr. Lin is an AAAS Fellow, an ACM Fellow, and an IET Fellow.
[8] P. Ferrer-Cid, J. M. Barcelo-Ordinas, J. Garcia-Vidal, A. Ripoll, and
M. Viana, “Multisensor data fusion calibration in IoT air pollution
platforms,” IEEE Internet Things J., vol. 7, no. 4, pp. 3124–3132,
Apr. 2020. Hui-Nien Hung received the B.S. degree in mathe-
[9] I. Mat, M. R. M. Kassim, A. N. Harun, and I. M. Yusoff, “IoT matics from the National Taiwan University, Taipei,
in precision agriculture applications using wireless moisture sensor Taiwan, in 1989, the M.S. degree in mathematics
network,” in Proc. IEEE Conf. Open Syst. (ICOS), Oct. 2016, pp. 24–29. from the National Tsing-Hua University, Hsinchu,
[10] B. P. L. Lau, N. Wijerathne, B. K. K. Ng, and C. Yuen, “Sensor fusion Taiwan, in 1991, and the Ph.D. degree in statistics
for public space utilization monitoring in a smart city,” IEEE Internet from the University of Chicago, Chicago, IL, USA,
Things J., vol. 5, no. 2, pp. 473–481, Apr. 2018. in 1996.
[11] J. Wu, Y. Feng, and P. Sun, “Sensor fusion for recognition of activities He is currently a Professor with the Institute of
of daily living,” Sensors, vol. 18, no. 11, p. 4029, Nov. 2018. Statistics, National Chiao Tung University, Hsinchu.
[12] K. Sangaiah, M. Sadeghilalimi, A. A. R. Hosseinabadi, and W. Zhang, His research interests include applied probability,
“Energy consumption in point-coverage wireless sensor networks via bat biostatistics, statistical inference, statistical comput-
algorithm,” IEEE Access, vol. 7, pp. 180258–180269, 2019. ing, and industrial statistics.
Authorized licensed use limited to: University of Prince Edward Island. Downloaded on May 17,2021 at 10:07:38 UTC from IEEE Xplore. Restrictions apply.