RELIABLE DATA DELIVERY MECHANISM ON IRRIGATION MONITORING SYSTEM

P R O C E E D IN G S ONMLKJIHGFEDCBA

I C A. C S I S 2 0 1 4
QPONMLKJIHGFEDCBA

2 0 1 4 I n t e r n a t io n a l
A dvanced
I n f o r m a t io n

C o n fe re n c e

C o m p u te r

on

S c ie n c e a n d

S y s te m s

O c to b e r 1 8 th a n d 1 9 th 2 0 1 4


Ambhara Hotel, Slok M
Jakarta, Indonesia tsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA
ISBN:

978-979-1421-22-5

srqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA

e
• I.'

,

.
.•

,

.


_



PERPUSTAKAAN
DEP"'~ I.oMEN ILMU KOMPUTeR
FIIIIPA-INSTIIUT

PERTANIAN

BOGOR

KAMPUS DARMAGA tsrqponmlkjihgfedcbaZYXWVUTSR
ZYXWVUTSRQPONMLKJIHGFEDCBA
TelpJf •• : C0251, &25514

E....,.,il : pu'l.k_.n~lkom_tnoipa_ipb_ec_;CS
URL : hltpl/WWW_~kom.tmip._ipb

.• C-;CS


ONMLKJIHGFEDCBA

IC A C S IS

+ IE E E

IN D O N E S IA S E C T iO N srqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA

2014

2014
Advanced

In te r n a tio n a l

C o m p u te r

C o n fe r e n c e


on

S c ie n c e a n d In fo r m a tio n
(P r o c e e d in g s )

ISBN: 978-979-1421-225

S y s te m s

ICACSIS

2014ONMLKJIHGFEDCBA

W e lc o m e M e s s a g e fr o m
G e n e r a l C h a ir s

On behalf of the Organizing
Committee
of this
International

Conference
on Advanced
Computer
Science and Information
Systems
2014 (ICACSIS
2014), we would like to extend our warm welcome to
all of the presenter and participants,
and in particular,
we would like to express our sincere gratitude to our
plenary and invited speakers.
This international
conference
is organized by the Faculty of Computer
Science, Universitas
Indonesia, and is intended to be the first step towards a top class conference
on Computer
Science and Information
Systems. We believe that this international
conference

will give
opportunities
for sharing and exchanging
original
research
ideas and opinions,
gaining
inspiration for future research, and broadening
knowledge
about various fields in advanced
computer
science
and information
systems,
amongst
members
of Indonesian
research
communities,
together with researchers from Germany, Singapore, Thailand, France. Algeria.

Japan, Malaysia, Philippines, United Kingdom, Sweden, United States and other countries.
This conference
focuses on the development
of computer science and information
systems.
Along with 4 plenary and 2 invited speeches, the proceedings
of this conference contains 71
papers which have been selected from a total of 132 papers from twelve different countries.
These selected papers will be presented during the conference.

We also want to express our sincere appreciation to the members of the Program Committee for
their critical review of the submitted papers. as well as the Organizing Committee for the time
and energy they have devoted to editing the proceedings and arranging the logistics of holding
this conference. We would also like to give appreciation to the authors who have submitted their
excellent works to this conference. Last but not least. we would like to extend our gratitude to
the Ministry of Education of the Republic of Indonesia. the Rector of Universitas
Indonesia.
Universitas
Tarumanagara.
Bogor Agricultural

Institute. and the Dean of the Faculty of
Computer Science for their continued support towards the IC ACSIS 2014 conference.srqponmlkjihgfedcbaZYXWVUTSRQPON

I
1

Sincerely
G eneral

yours.
C h a ir s

t

i

i
1
t


ISBN:

97X-97D-I-I21-n.')

IC A C S IS

2 0 l - ! srqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA

ii

ICACSIS 2014ONMLKJIHGFEDCBA

W e lc o m e M e s s a g e fr o m
T h e D e a n o f F a c u lty o f C o m p u te r S c ie n c e , U n iv e r s ita s
I n d o n e s ia

On behalf of all the academic staff and students of the Faculty of Computer
Science, Universitas Indonesia, I would like to extend our warmest welcome to
all the participants to the Ambhara Hotel, Jakarta on the occasion of the 2014
International

Conference
on Advanced
Computer
Science and Information
Systems (ICACSIS).
Just like the previous five events in this series (ICACSIS 2009. 20 I 0, 20 11, 2012, and 2013). I
am confident that ICASIS 2014 will play an important role in encouraging activities in research
and development
of computer science and information technology
in Indonesia, and give an
excellent opportunity
to forge collaborations
between research institutions
both within the
country and with international
partners. The broad scope of this event, which includes both
theoretical
aspects of computer
science and practical,
applied

experience
of developing
information
systems, provides a unique meeting ground for researchers
spanning the whole
spectrum of our discipline. I hope that over the next two days, some fruitful collaborations
can be
established.
I also hope that the special attention devoted this year to the field of pervasive computing,
including the very exciting area of wireless sensor networks, will ignite the development
of
applications in this area to address the various needs of Indonesia's development.
I would like to express my sincere gratitude to the distinguished
invited speakers
presence and contributions
to the conference. I also thank all the program committee
for their efforts in ensuring a rigorous review process to select high quality papers.

for their
members

Finally. I sincerely hope that all the participants will benefit from the technical contents
conference. and wish you a very successful conference and an enjoyable stay in Jakarta.

of this

Sincerely.

Mirna Adriani, Dra, Ph.D.
Dean of the Faculty of Computer Science
Universitas IndonesiasrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFE

III

ISUN:

!)(~-!),!)-11:21-nS

IC A C S IS

2 0 1 4 tsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA

lY

IS I3N

:

!l7K-97!)-1·121-22S

PERPUSTAKAAN
OEPARE"EN

ILMU I: : 07K-DiD-\· 121-:.n")

2014dcbaZYXWVUTSRQPONMLKJIHGFEDCBA

ICACSIS

-M A n w a r QPONMLKJIHGFEDCBA
M a 's u m , W isn u J a t m ik o .

Particle Swarm Optimation
Fetal Head Biometry

M

lq b a l T a w a k a l,

based 2-Dimensional

Detection

a n d F a ris A l A fif

Randomized

and Approximation

Hough Transform

in Ultrasound

for

Imaging

463

P u tu S a t w ik a . Ik h sa n u l H a b ib ie . M A n w a r M a 's u m . A n d re a s F e b ria n . E n ric o
B u d ia n to ONMLKJIHGFEDCBA

D i g i t a l L i b r a r y ZYXWVUTSRQPONMLKJIHGFEDCBA
& D is ta n c e L e a r n in g

Gamified

E-Learning

Model Based on Community

of Inquiry
469

A n d ik a Y u d h a U to m o , A jifa A m ria n i. A /h a m F ik ri A ji, F a /in R o h m a h N u r
W a h id a h , a n d K a siy a h M J u n u s

Knowledge

Management

System Development

with Evaluation

Method

in Lesson Study

Activity

477

M u re in M ik sa M a r d h ia ,

Designing

Minahasa

Toulour

Heritage and Natural

A rm e in Z . R . L a n g i. a n d Y o a n e s B a n d u n g

3D Animation

Movie as Part of Indonesian

e-Cultural

History

483

S ta n le y K a ro u w

Learning

Content

Personalization

Based on Triple-Factor

Learning

Type Approach

learning

in E489

M ira S u ry a n i. H a rry B u d i S a n to so . a n d Z a in a l A . H a sib u a n

Adaptation
Learning

of Composite

E-Learning

Contents

for Reusable

in Smartphone

Based

System

497

H e rm a n T o lle . K o h e i A m i. a n d A ry o P in a n d ito

The Case Study of Using GIS as Instrument
Traditional

Coastal

for Preserving

Javanese

Culture

in a

503

Batik, Indonesia

T ji b e n g J a p a n d S ri T ia tri

-----------

-----------XXI

ISBN:

978-!)7D-I-121-2:2:;

IC A C S IS

2 0 1 4 tsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA

XXII

ICA(jSIS

2014ONMLKJIHGFEDCBA

R e lia b le D a ta D e liv e r y

M e c h a n is m

M o n ito r in g

o n I r r ig a tio n

S y ste m

Junaidy B. Sanger', Heru Sukoco/, and Satyanto K. Saptomo!dcbaZYXWVUTSRQPONM
t.: D e p a rtm e n t
3

o f C o m p u te r S c ie n c e , B o g o r A g ric u ltu ra l U n iv e rsity

D e p a rte m e n t o f C iv il a n d E n v iro n m e n ta l E n g in e e rin g , B o g o r A g ric u ltu ra l U n iv e rsity

E-mail: junsanger@gmail.com.hsrkom@ipb.ac.id.saptomo@ipb.ac.id

making process. This process is the further process of
activity
is
one
of
automatic
irrigation itself, such as how to control
implementation
of automatically
irrigation system.
setting
of
irrigation
network, how to open or close the
This activity is closely related to data transmission.
floodgates, and how much flow of water to be used so
Wireless communication
channels are not free of
that it can conserve water usage later.
noise interferences.
This
paper
proposes
the
In recent years, there has been increasing demand
development of monitoring irrigation system with a
for digital data transmission system that is efficient
reliable data delivery mechanisms
in which TCP
and reliable [6]. Currently, one of the communication
protocol handles senders sending their data to a
channels for the transmission of digital data that has
receiver. The research designs an irrigation system
been growing very rapidly is the internet. With the
architecture
consisting
of
main
and
field
internet, everyone in Indonesia and even around the
controllers. The main controller is a receiver as a
world that can send data and information with each
server
that
designs
with
concurrent
and
other without any constraints of time and distance.
connection-oriented
mode. The field controller
There are several interference that can cause errors in
consist of gateway (Raspberry
Pi) as a sender,
data transmission which is white noise or thermal
sensor
node (Arduino
Leonardo),
sensor
and
noise, impulse noise, crosstalk, echo, jitter, distortion.
actuator. In order to ensure the design of the data
and attenuation (9). Internet or other communication
delivery architecture
is well defined, analysis is
carried out to calculate
throughput,
packet loss
channels will also not free from noise interference.
ratio, and packet delay to verify the design. In
This situation can lead to the information received
addition, the error control features will be added to
does not same to the information sent. There are many
complement these mechanisms in further research.srqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFED
solutions that can be offered to resolve the above
problem, one is to try to detect and correct errors from
the data that has been damaged by noise.
I. INTRODUCTION
At
present,
the
development
of
computer
technology
has
significant
influence
in
human
life.
Irrigation
is an effort to fulfill water needs of plants
Many
new
breakthroughs
that
also
appear
to
consider
so that can grow optimally with the provision of
need for more capacity as that of the computer. One of
additional water [2]. The water resources if used
them
is microcontroller.
It is a single chip computer
continuously will be limited so it will need to do an
that
has
the
ability
to
be
programmed
for a variety of
effort in the management of water use efficiency in
tasks
aimed
at
the
control-oriented.
It
will
arise due to
agriculture. especially for irrigation so that no crisis of
market requirements is the need of current electronic
water resources in the future. The irrigation system is
products will be smart devices to the data controller.
widely
applied
especially
in Indonesia
is a
and the development of new technology that enables
conventional irrigation system. In practice. it is very
very fast computation. small size and cheap. Besides
time-consuming and labor. Therefore. it is necessary
of its. other breakthroughs are also mini-sized Pc. one
to have an irrigation system that can create an
of which is Raspberry
Pi. It is a single board
environment that fits the needs of plants automatically.
computer. size of a credit card and using open source
It means the system is able to provide the amount and
Linux-based [5]. This mini-sized computer can work
timing of water as needed. One implementation of an
like a desktop computer
for example
create a
automatic irrigation system is monitoring.
document.
process data with spreadsheets.
watch
The monitoring activity is closely related to data
movies, play games, internet, and of course can be
transmission.
The
most
crucial
thing
in data
used to write programs (coding).
transmission is how to transmit data from one place to
. This paper is a part of our research that aims to
another place. where the data received it should be
establish ..:;, reliable data' delivery mechanism
by
~me to data sent. Irrigation monitoring
data is
applying error detection and correction. and setting
Important because it will be used in the decisionA b s tr a c t-M o n ito r in g

51

ISBN:

978-979-1.121-22.')

ICACSIS

201--1

traffic data, so that this mechanism is expected to
reduce the error rate of data delivery in monitoring
irrigation systems.
11.srqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA
RELATED WORKS
Several studies related to this research to be
conducted,
in [15], the authors has develop an
automated irrigation system using a WSN and GPRS
module, the system has potential to be useful in water
limited geographically isolated areas. It was found to
cost effective for optimizing water resources for
agricultural
production.
In [10]. the authors has
proposed a fast mechanism for retransmission solution
on TCP. The aim of this mechanism is to avoid
waiting time too long. A detailed model of the ARQ
protocol and TCP using standard Markov techniques
is reconfigurable
protocol has been developed to
improve
TCP
over
wireless
[3]. The design
optimization
of real-time applications
in wireless
network with the combination of FEC and ARQ to
reduce retransmission
had developed [I). In [8].
authors
has
developed
an approach
to data
transmission
over wireless networks broadcast on
ZigBee.
The
solutions
propose
to
improve
performance of wireless TCP [12 - 14) which involves
ARQ protocol, link layer retransmission and FEe. The
Authors
[11] has develope
an implementation,
simulation and analysis of TCP with FEe. And over
Rayleigh fading channel, the authors [4] has conducted
experiments to compare the performance of RS code
and BCH code.
Ill.
A.

RESEARCII

METHOD dcbaZYXWVUTSRQPONMLKJIHGFEDCBA

D a ta A c q u isitio n

The data used in this study is data from soil moisture
sensor.· It is shown in (Fig. I). The process of data
acquisition is performed on the Arduino Leonardo
using XBee then stored on the Raspberry Pi. The
Arduino Leonardo using Xbee is shown in (Fig. 2).
The Raspberry Pi is shown in (Fig. 3). The data of
sensor node that will be used as an informational
message to be sent to the receiver. The data consists of
datetime, set point lower limit, set point upper limit,
name of sensor. value of sensor, and actuator status
and it stored in the form of a text file. Data Structure
of sensor node is shown in (Fig. 4). And the
architecture of data acquisition is shown in (Fig. 5).
B.

Fig. I. Sensor soil moisture

D e sig n S y ste m

A rc h ite c tu re

System designed consists of two parts namely main
and field controller. The main controller is a server
and it acts as a receiver and field controller as a
sender. The Field controller consist of gateway
(sender). sensor node. sensor. and actuator. The
architecture is shown in (Fig. 6).

Fig. 3. Raspberry

Datetirne

Fig..

Pi

Set point
Lower
I.imit

Set point
Upper
I.imit

Name (If
Sensor

Value (If
Sensor

Actuator
Status

Data structure of sensor node

The number of gateway that use one or more than
one. Gateway using Raspberry Pi. Sensor node using
Arduino Leonardo and sensor used is soil moisture
sensor. The protocol used for communication between
sender
and receiver
to establish
reliable
data
communication
is TCP. It is a standard protocol
communication in Internet.

ISI3!'1

D78-07D-1--l21-225

ICACSIS 2014

Xbee Series
2.
A.

"

Raspberry
Pi

2m - I
form a galois field GF(2m), determining
minimal polynomial, generator polynomial is the least
Xbee Series
common multiple of multiplying
all the minimal
2
polynomial are selected, adding binary bits 0 behind of
A.srqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA
bits information message, perform binary division of
the combined operation of information message and
Soil
Arduino
Power
bits 0 with generator polynomial, and then the bits of
MoistureZYXWVUTSRQPONMLKJIHGFEDCBA
••
Leonardo
SourceONMLKJIHGFEDCBA
S en sor
information
message
included
check
bits
are
transmitted. And the decoding process are calculating
.,.
the value of syndrome of the received polinomial,
determining
error
location
polynomial.
and
RTC
determining error location numbers and correction
acqusition architecture
error occurs. Error can be detected on the step
calculating value of syndrome. If the residual of
division operation on the information message include
~
check bits by generator polynomial is 0 then no error
Serv e r
occurs, and otherwise if not 0, then an error has
occured.

....

"



A.

Powel:
Source

-

Fig. 5. Data

-.

i

-.

y

IV.

Internet

EXPERIMENT

AND RESULTS

There is a receiver as server and senders. Port
receiver used is 20000, size of length buffer is 512.
Server running in C with command ./server,ZYXWVUTSRQPONML
Gatewey


Port: 20000,
length buffer:

AC1W 110f

512

I

Im~"lIon

I

W 'k 'l

Waiting

I

for incoming

connection

r~ld

t
1

••

~

-

,"

I

New socket = accept()
Begin thread
Looping
End

block

thread

Waiting

size

packet

(closesocket(sender))

for incoming

connection

Fig. 6. The system architecture

The system architecture is designed to involve one
or more than one sender to send data to receiver. It
means the server must be able to handle the
concurren~y
that will occur,
and problem
of
congestion and collision in data transmission.
Concurrent processing is fundamental to distributed
computing and occurs in many form among machines
on a single. network, many pairs of application
programs can communicate concurrently. Concurrency
among client programs occurs when users execute
them On .. multiple machines simutaneously or when a
multitasking operating system allows multiple copies
to executeconcurrently
on a single computer (7].

C.dcbaZYXWVUTSRQPONMLKJIHGFEDCBA
D e sig n E rro r C o n tro l D a ta (F o r th e F u rth e r
R e se a rc h )

length

buffer:

512

Recv(new
socket,
)
Send(new-socket,
)
Closesoc~et(new
socKet,
End thread
-

... )

The test of this system is using 3 sender and the
scenario: Data sent every 15 minutes, and data consist
of 3 record sensor every 5 minutes. Total data that can
send by sender is 96 in one day. The calculation
formula is as follow in (I). The delay time sensor to
sender is according to user needs.
Total data (per day) = n devices • 24 hours • (60
minutes / delay time sensor to sender)
(I)

Format of monitoring data is shown in (Fig, 7).

The error control of data that will be designed using
the BCH code. It consist of encoding and decoding.
The encoding
process
is a process to perform
calculations of checkbit that inserted into information
messages':'.:This process performed on the sender. The
process steps of encoding using BCH code [6] are

----. ~---'-----

and senders to send data with command .Ic1ient,

--

15:40:55 7/6/2014
15 :40: 55 7/6/2014
15:40:55 7/6/2014
Fig, 7

Monuoring

300 800 1 783 OFF
300 800 2 693 OFF
300 800 3 ~44 OFF

data

-."

.------~-.--------

ISBN

!)78-!)7D-ll~ 1-22.')

•dcb
ICACSIS

201-1srqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA

equipped with error detection and correction methods.
For the next implementation, data sent over 3G GSM
network. TCP protocol and error control features are
expected to minimize. the occurrence of errors in data
delivery on irrigation monitoring system.

T h ro u g h p u t

J'

REFERENCES

II I

I,

I

W ire le ss

J,'J

Fig 8. Throughput
over ADSL network

[2J

transmission

of monitoring

data
13J

Based on test results. the average of throughput
monitoring data transmission all sender to receiver via
ADSL network (testing network) is 41.9334 Kbps for
331 bytes of text tile. Sender I is 43.23465 Kbps,
sender 2 is 41.53512 Kbps, and sender 3 is 41.03043
Kbps. The throughput is shown in (Fig. 8).

I~I

[5 J
161

P a c k e t lo ss ra tio

Based on test result, total per sender is 96
monitoring data sent succesfully, there is no packet
loss.

171

v o lu m e

181

m u ltim e d ta

III C lie n t-S e rv e r

~naf'l
~11(]t":

Sf.nd~1~

P ro g ra m m in g

a n d A p p h c a tto n

Prentice Hall, 1996.
T. W. Sung. T. T. Wu. CS. Yang. Y. M. Huang, "Reliable
data broadcast for zigbee wireless sensor networks .",
J o u r n a l o n S m a rt S e n sin g

a n d In te llig e n t

vol. 3. pp. 504-520
19J e. M. White. D a ta C o m m u m c a u o n s
a n d C o m p u te r N e tw o rk s.
US: Course Technology. 2013.
1101 R Caceres. L lflode. "Improving the performance of reliable
transport protocols in mobile computing environtrnents".
IE E E jo llm a l
o n S e le c te d A re a in C o m m u n ic a tio n s,
June
1995.
I I I I 1. Shial LI. C. Ta Lee. M. Wang Guo, "Analysis, Simulation
and Implementation of wireless TCP flows with FEe. Journal
Computer Communications.
vol. 27. pp. 222-229. February
200~.
I 121 Z Feng. I.. Min. G. Chuansang. "An analytic throughput
model for TCP Reno over wireless networks". in P ro c 0 /
IC IS .Ill.
200 I.

II ~ I

I I 51

.;

m o d e lin g ,

S y ste m ,

I 131

:~

a n d p e rfo rm a n c e

E d itio n .

In te rn a tio n a l

Based on test results, the average of packet delay
monitoring data transmission all sender to receiver via
ADSL network is 0.034018 second for 331 bytes of
text tile. It is shown in (Fig. 5). Sender I is 0.034418
second, sender 2 is 0.034206 second, and sender 3 is
0.033431 second. The delay is shown in (Fig. 9).

n e tw o rk in g

New York. 2006. pp. 11-18.
R. N. Reddy. Irrig a tio n E n g in e rrtn g . IN: GENE-TECH
BooI\.S.2010.
C F. Chiasserini. M. Meo. "A reconfigurable protocol selling
to improve TCP over wireless." IE E E T ra n sa c tio n s o n
J 'e h ic u la r T e c h n o lo g y . vol. 6. pp. 1608- I620,2002.
F R Lone. A Puri. S Kurnar. "Performance comparison of
reed solomon code and BCH code over rayleigh fading
channel. ". ln te rn a u o n a l J o u rn a l o f C o m p u te r A p p lic a tio n s.
\'01. 20. pp.23-26.
2013.
M. Richardson. S. Wallace. G e tu n g S ta rte d w ith R a sp b e rry QPONMLK
P I. US: O· Reill~. 2012.
L. Shu. DJ Costello Jr, E rro r C o n tro l C o d in g : F u n d a m e n ta ls
a n d A p p h c a tto n s.
US: Prcnuce-Hall, 1983.
D. E. Corner. D. L. Srevens. ln te rn e tw o rk in g
w ith T C P IP
Second

P a c k e t D e la y

,.

R. El Azouzi. T. Peyre, and A. Benslimane. "Optimal design
of hybrid FEClARQ schemes for real time applications in
wireless" In P ro c . O f th e 2 n d AClt in te rn a tio n a l w o rk sh o p o n

D Lin. H T Kung. "TCP fast recovery strategies. analvsis
and improvements".
m P ro c o f IE E E I.\F O C O .II,
1998.
J. Hu. I\. L Yeung. "FDA: a novel base station no" control
scheme for Tep 0\ er hctcgcneous networks", In P ro c 0 / IE E E
I.\F ()('().If.
200 I

J Guucrrcz. J I' Vdla-\1cdma."
Nicio-Garibay. M "
Porta-Gandara. "Automated rrngauon s) stern using a \\ irclcss
sensor network and GPRS module". IE E E T ra n sa c tio n s 0 1 /
ln stru m c n ta n o n
a n d M e a su re m e n t.
20 13

:
tJ-l"'

Fig Q
network

Packet dclav

V.

transnussron

of monuonng

C07'CI.lISIO:-.l "7'J) Ft'T\'R!'

data over AUSI.

WORKS

We have proposedimplementation
of data delivery
mechanism using TC'P protocol from one or multiple
sender to receiver. For the future. we will continue to
be dcv clop the delivery mechanism that will be

[S81'\ : 978-979-1-121-22:)