You are on page 1of 6

Design of Perishable Goods Distribution System Based

on Internet of Thing (IoT)


Achmad Mujib#1, Taufik Djatna#2
#
Departement of Agroindustrial Technology, Bogor Agricultural University
Dramaga, Bogor, Indonesia. 16680
1achmadmujib@apps.ipb.ac.id

2taufikdjatna@apps.ipb.ac.id

Abstract— In perishable goods logistic, such as communication technology in the industrial 4.0 era makes
agricultural products, distribution is the stage in which it possible to create a distribution system that is more
decay often occurs. To deal with that, special attention is adaptive with physical conditions in real time to maintain
required as it should consider the deterioration of material the freshness of goods, one of which is by utilizing the
increasing countinously over time, and the ambient Internet of Things (IoT).
fluctuating during transportation. In this paper, a
In the case of perishable goods, there are specifically
distribution system is purposed utilizing the adventage of
internet of thing (IoT). The quality level of materials would several sensors to capture the degradation of goods such
be determined by the temperature, humidity, and CO 2 rate as CO2 sensors, FoodScan, and Salmonella Sensing
are collected by sensors in real time. Decision tree algorithm System [6]. Real time communication and information
was used to deal with this. To determine the distribution sharing from sensors integrated in IoT can be deployed to
assignment was used Density Based Spatial Clustering maintain product freshness during the distribution
Algorithm with Noise (DBSCAN). The results showed that process [7]. Not only to monitor the material and
the quality level of materials could be predicted by data distribution environment, but the deployment of IoT also
ambient sonsors with 70% precision Based on the results enables to predict the shelf life of fresh agricultural
of distribution assignments with DBSCAN, all consumer products. According to Wang et al [8] and De Venuto et
demands could be fulfilled based by desiring quantity and
al [9] the use of wireless sensor networks (WSN) can
quality level, as well as the minimum quality level variations
in one load. capture the environmental conditions of fresh products
storage and predict their shelf life. However, until now
Keywords— Perishable goods, IoT, distribution system. there has been little research that specifically integrates
the role of IoT to create intelligent distribution in the
I. INTRODUCTION logistics transportation of perishable goods.
Inappropriate distribution of fresh agricultural products In this study, the authors first considered the condition
can cause in loss both goods and finances. According to of the material and the distribution ambient, namely
FAO [1] more than 40% of fresh product losses occur in temperature, humidity, and CO2 levels, in real time
the post-harvest phase, in which includes the distribution through several sensors deployed. Information from these
process. Determination of the amount of goods that must sensors was processed using a decision tree algorithm to
be distributed with acceptable quality level is an predict material quality levels. Next Density Based
important consideration in the distribution perishable Spatial Clustering Algorithm with Noise (DBSCAN) is
goods[2]. Proper planning taking into account used to determine distribution assignments based on
temperature and storage time [3], monitoring and consumer addresses, order quantity and quality level.
scheduling in the distribution network in real time [4] able
II. REQUIREMENTS ANALYSIS
to reduce losses due to deterioration of goods. In addition,
selecting the best route of vehicle can increase the A. Business Process Analysis
freshness of products which was shipped an average of Business process in this proposed system was
74.14% [5]. Based on studies abovementioned imply that modeled with BPMN 2.0. The making of BPMN began
the right distribution can reduce losses due to product by determining a simple flow diagram, subsequently,
decay, but in practice some uncertain things, such as describing data or information flow to each stakeholder,
ambient fluctuations in shipping and storage, need to be so that it could be analyzed and concluded [10]. Analysis
taken into account in determining distribution of the system has been done by decomposing the system
assignments, because these factors can directly affect the into small components making it easier to observe the
quality of goods when shipped. Evolving information and behavior between components and their environment.
Based on the analysis of business processes in this system, large number of values, moreover to deal features with
there were three stakeholders who play a role in the continuous data. Decision tree C4.5 algorithm selects one
distribution system of perishable materials, as shown in of the most effective data attributes, then divides its
figure 1 follows. sample set to become a set of enriched parts in one class
or another. The criterion is normalized information gain
(difference in entropy) resulting from the selection of
attributes to separate data. The attribute with the highest
information gain value was chosen to make a decision. To
get the information gain value, first determine the
SplitInfo value in the way as follows :

P '(j / p) is the proportion of elements present in p position,


taking the j-th test value. Note that, unlike entropy, ID3
does not depend on the distribution of instances in
different classes.

Figure 1 General BPMN in this system F is the number of samples in the database with a known
B. Data acquisition value for the total in one attribute data set.
Ambient parameters at the distribution which will be
2. Distribution
observed are temperature, humidity, and CO2 rate using
Distribution of perishable goods from the hub to
sensors. The DHT11 sensor was used to capture
consumers according to the rules of the vehicle routing
temperature and humidity, and the mq135 gas sensor was
problem (VRP). Each customer puts the order of a
deployed for recording CO2 rate. Both of these sensors
number of goods that do not exceed the capacity of the
would capture and transmit data to the cloud in real-time.
transport truck. The truck departs from a hub and visits
Analog data from physical world, such as temperature,
the specified customer, then returns to the same hub once
humidity, and CO2 rate, was previously converted to
at most. The assignment and determination of the number
digital using an ESP32 type of microprocessor. A web-
of trucks depends on the consumer cluster determined by
based opensource cloud service was used to display, store
the Density Based Spatial Clustering Algorithm with
and process data from sensors. The monitoring results of
Noise (DBSCAN) algorithm.
the data processing would be sent to the personal
The basic principle of the DBSCAN algorithm is to
computer.
determine clusters with minimum points (minPts) within
a certain radius (ε). The distance between points, in this
paper depicting consumers, is calculated by the Euclidean
distance formula.

Figure 2 data acqisitions

C. Processing
1. Determining quality levels. Where p and q are the values of each attribute, and n is
A decision tree algorithm is used to predict the quality the data dimension. In this paper the data dimension
level of goods based on the surrounding ambient data. consists of the number of orders, goods quality levels,
There are three numerical attributes for determining longitude, and latitude in 19 cities in West Java.
quality levels, namely temperature, humidity, and CO2
rate. The quality levels are labeled 1,2,3, and 4,
respectively according to the maturity degree of goods. III. RESULT AND DISCUSSION
The decision tree C4.5 algorithm is an ID3 A. Business Process
development which is too sensitive to features with a
On the customer side, this process begins by entering
the order data. afterwards, order data is matched with the
database of goods owned by the company by the system.
The process will going on if the order was convenient
with the database, if the order does not match, there would
be sent a feedback to the customer to adjust the order or
not. This process is illustrated in Figure 3.
On the company side, the process starts when the
postharvest goods comes from the farmer. Goods, before
stored in warehouse, are checked their quality, matched
with the standard and determined the level of quality at
the entry. This quality level would be used later to
monitor and predict the shelf life of goods during storage,
or before distribution.

Figure 4 Business process on company side

On the other hand, the system works to bridge these


two stakeholders. Data generated by business processes
in the company are matched with customer orders. After
the order had matched, the distribution schedule would be
determined. The distribution consider the number and
Figure 3 process of customer order quality of orders and the location of customers.
Afterwards, the fleet was choosen. This process was
described as follows:
Goods which comply with the standards are then
stored. During storage, the environmental conditions and
their quality levels will be monitored by sensors. data on
the amount and quality of goods will be stored in a
database which is then used to assign the distribution.

Figure 5 Business process in the system side


B. Data Acquisition
Ambient conditions, such as temperature,
humidity and CO2 rate are analog data. analog data
should first be converted into digital data, so that it could
be read on a platform and processed further. The

Figure 7 Quality level prediction using decision tree

Figure 6 Data sensors visualization on Thingspeak Based on the results of the analysis using a decision
tree, it was concluded that the thing that most determines
embedded sensor records every condition of the storage the quality of agricultural products during distribution is
ambient, including real-time temperature and humidity. the first quality level at reception. Furthermore, quality
The recorded data was sent to ThingSpeak via the internet, will be influenced by environmental factors namely
to be stored, processed and visualized. humidity, and temperature. The severity and number of
In Figure 6 is an example of a sensor reading products that have decreased quality is greatly influenced
visualized by ThingSpeak. The data was updated once by environmental conditions such as humidity and
every 15 seconds. temperature [3] [11].
C. Quality Determination D. Distribution
Decision tree classification algorithm was used to Assignment of the distribution is determined by the
predict the quality of goods. Goods which is in the DBSCAN algorithm. The object data, the consumer, was
warehouse was collected from farmers or collective obtained from the order transaction, i.e. the number of
merchant with the provisions that meet the quality level 1 orders and the quality level of the material ordered.
and 2. The company determines four quality levels that Meanwhile, location data is taken through the Geographic
can be distributed to consumers, specifically 1, 2, 3, and Information System (GIS). In this paper it is simulated
4. Quality indicate the maturity degree of bananas that distribution is carried out in 27 districts and cities
influenced by several environmental factors during throughout West Java.
storage. Based on calculations, as many as 27 districts and
In Figure 2, we can see how the prediction of the cities in West Java are grouped into 5 distribution clusters
quality level resulting from the decision tree C4.5 with minPts 2 and eps 0.7. This value is based on the level
algorithm. Some of the factors considered to predict of order quality and the astronomical location of each city.
quality levels are temperature, humidity, CO2 levels, in besides based on location, proximity is also measured by
which all the data are streamed from sensors in the storage the similarity of the order quality level. This selection is
warehouse, as well as initial quality levels recorded when reasonable so as not to mix too many product variations
receiving postharvest goods. In the picture, the most enabling the potential order fulfillment errors. This was
important factor in determining the quality is the level of also done in order to facilitate treatment to maintain
quality at the time the item first enters, in Figure 2 is quality during shipping.
denoted as Qlevel1. This means that the initial quality
level has the highest InformationGain value among other
factors followed by CO2 levels, humidity, and length of
storage time in sequence.
IV. CONCLUSIONS
This paper has presented the distribution system of
perishable goods based on IoT. Changes of quality
level of goods could be predicted based on the
condition of the storage environment/ambient in
which the data was acquired by several sensors. The
results were then used as a basis for determining
distribution clusters. Based on the analysis using
BPMN2.0 there are three stakeholders that play a
role in this distribution system. The results of
calculations using the decision tree algorithm
successfully predict changes in material quality with
Figure 8 Distribution cluster
an accuracy of 70%. Distribution clustering based on
The fleet used was a truck with a capacity of six tons. astronomical location and order quality level using
Based on the division of clusters abovementioned, almost DBSCAN in 27 districts / cities in West Java can be
all of them can be served with 1 mode of transportation.
divided into 4 clusters.
Except for outliers or clusters 0 will be served by two
modes. Cikarang, Cirebon and Indramayu will be served
In this paper still needs to be improved, such as
in one mode, as well as in Ngamprah, Sukabumi and increasing the accuracy of predictions with a
Pelabuhanratu areas. This has its own advantages when mathematic model taking into account
using astronomical location by considering latitude and environmental conditions toward quality. The
longitude data, where each outlier is still relatively close clustering still needs to be improved to minimize
[12]. outliers, for example by adding relevant attributes.
Apart from distance, the DBSCAN algorithm also
generated customer clusters with almost uniform quality
REFERENCES
levels. This means that in one mode of transportation the
[1] FAO. Global food losses and food waste – Extent, causes and prevention.
ordered material has a level of quality that is even uniform. Rome. 2011
Minimizing this variant could reduce the risk of [2] Chen, Jing, Ming Dong, and Lei Xu. "A perishable product shipment
missplacement orders, and facilitate control of shipping consolidation model considering freshness-keeping
effort." Transportation Research Part E: Logistics and Transportation
conditions during delivery. Review, Vol. 115, pp. 56-86, Jul. 2018.
[3] Liu, Lu, Hua Wang, and Shaohua Xing. "Optimization of distribution
Table 1 planning for agricultural products in logistics based on degree of
maturity." Computers and Electronics in Agriculture. Vol. 160, pp. 1-7,
DISTRIBUTION CLASTERS May. 2019.
No Cluster Quality Level City [4] Lin, Xiao, Rudy R. Negenborn, Mark B. Duinkerken, and Gabriel
1 0 A&C Cikarang, Cirebon Lodewijks. "Quality-aware modeling and optimal scheduling for
perishable good distribution networks: the case of banana logistics."
Indramayu, In International Conference on Computational Logistics, pp. 483-497,
Ngamprah, Okt. 2017.
Pelabuhanratu, [5] Rahbari, Ali, Mohammad Mahdi Nasiri, Frank Werner, MirMohammad
Musavi, and Fariborz Jolai. "The vehicle routing and scheduling
Sukabumi problem with cross-docking for perishable products under uncertainty:
2 1 D Cibinong, Bogor Two robust bi-objective models." Applied Mathematical Modelling, Vol.
70, pp. 605-625. Jun. 2019
3 2 B Bekasi, Cianjur, [6] Pal, Amitangshu, and Krishna Kant. "Internet of perishable logistics:
Karawang Building smart fresh food supply chain networks." IEEE Access, Vol. 7,
4 3 D Bandung, Ciamis, pp. 17675-17695, Jan. 2019
Sumedang, Tarogong [7] Zhang, Yingfeng, Lin Zhao, and Cheng Qian. "Modeling of an IoT-
enabled supply chain for perishable food with two-echelon supply
5 4 A Kuningan, hubs." Industrial Management & Data Systems. Okt. 2017
Majalengka, [8] Wang, Xiang, Maja Matetić, Huijuan Zhou, Xiaoshuan Zhang, and
Tomislav Jemrić. "Postharvest quality monitoring and variance analysis
Purwakarta, of peach and nectarine cold chain with multi-sensors
Singaparna technology." Applied Sciences, 7(2),pp. 133, Feb. 2017
[9] De Venuto, Daniela, and Giovanni Mezzina. "Spatio-temporal
optimization of perishable goods’ shelf life by a pro-active WSN-based
architecture." Sensors. 18(7)pp. 2126, Jul. 2018
[10] White Stephen A. and Miers Derek. BPMN Modelling and classification at a provincial scale." Australasian Plant Pathology 47,
Reference Guide. USA: Future Strategies,Inc, 2008. vol. 1, pp. 53-61, Jan. 2018
[11] Zhao, Jinling, Chao Xu, Jianpeng Xu, Linsheng Huang, Dongyan Zhang, [12] Huang, Fang, Qiang Zhu, Ji Zhou, Jian Tao, Xiaocheng Zhou, Du Jin,
and Dong Liang. "Forecasting the wheat powdery mildew (Blumeria Xicheng Tan, and Lizhe Wang. "Research on the parallelization of the
graminis f. Sp. tritici) using a remote sensing-based decision-tree DBSCAN clustering algorithm for spatial data mining based on the
Spark platform." Remote Sensing, Vol 9(12), p. 1301. Dec. 2017

You might also like