Professional Documents
Culture Documents
FarmTrace - A Traceability System For Contracted Smallholder Farmers
FarmTrace - A Traceability System For Contracted Smallholder Farmers
FarmTrace - A Traceability System For Contracted Smallholder Farmers
ABSTRACT Keywords
Many African countries have moved into the production of Traceability System, Minimum Pesticide Residues (MRL),
non-traditional agricultural products, in an effort to diversify European Union
their exports and increase foreign currency earnings. However,
in order to access developed country markets and urban 1. INTRODUCTION
domestic markets, these products must meet food safety Fruits and vegetables have some of the fastest growing
requirements, including protocols relating to pesticide residues, agricultural markets in developing countries with production
field and pack house operations, and traceability. Faced with increasing by 3.6 and 5.5 percent per annum respectively over
stringent food safety requirements, companies that establish the 1980-2006 period (World Bank, 2008). During this period,
production centres in low-income countries might exclude China had the greatest increase of horticultural production
smallholder farmers. For instance, export demand for Kenyan (58%) followed by other developing countries (38%) and the
French bean recently dropped suddenly by 25 per cent when remaining 4% came from developed countries. This shows that
the World Trade Organization put Kenya on the watch list due the boom in horticulture is mainly occurring in developing
to high pesticide residue levels; because of this, exporters countries. In India, fruits and vegetables were the most
stopped buying from about 50,000 smallholder farmers. This important growth sector for crop production in the 1990s
research proposed a mobile-phone based traceability system to (World Bank, 2008).
make it easier for exporters to work with smallholder farmers
Sub-Saharan African countries have not been left behind. To
in outgrower schemes to enable better quality control and avoid
reduce poverty and achieve higher rates of growth, they have
such disruptions in future. To do this, the research proposed a
diversified their export portfolio away from primary
pre study to be conducted with the intention of doing an
commodities like coffee, tea and cocoa into non-traditional
exploratory study in order to understand the main issues of the
exports with more propitious market trends (Asfaw et al.,
overall traceability concept and the specifics of pesticide
2007). Empirical literature pinpoints the success of horticulture
residue excesses detected in Kenyan fresh produce to the
in Kenya, Ghana, South Africa, Egypt and Morocco. In these
European Union (EU). From these findings, early requirements
countries, horticulture or high value crops have contributed to
were derived and an initial functional prototype derived using
increased rural incomes and reduced rural poverty, through
Object Oriented Design (OOD) methodology. The Unified
both direct production effects and linkage effects, as
Modelling Language (UML) which is an object oriented
horticultural incomes are re-spent in rural areas (Muriithi,
language for specifying, visualising, constructing, and
2008). The agricultural sector is crucial in the Kenyan
documenting the artefacts of software systems was used to
economy as it provides a source of livelihood to majority of the
develop a requirement model. An end-to-end prototype
population. The sector provides food, raw materials,
application system that traces all the farming activities by using
employment, markets and foreign exchange. It accounts for
a mobile application to capture the information of farming
24% of Gross Domestic Product (GoK, 2009). The majority of
operations was developed. . The mobile application enables the
the population resides in the rural areas and depends on
farmers to work both online and offline allowing data to be
agriculture as a source of livelihood directly through farming
captured even in areas without mobile network coverage and
or indirectly through employment in agro-processing and rural
when one gets in a network enabled area, they are able to
industries. Hence the sector is essential for poverty reduction
synchronize the captured information to a Microsoft Azure
and increased food security which lead to development.
cloud hosted Web Server. Six farmers from two different
farmers grower groups were chosen to test and evaluate the Horticulture is the fastest growing agricultural sector in Kenya
system using questionnaires. The results show that tracing all and is a major foreign exchange earner. It is the countrys most
activities involved in the growing cycle of horticultural crops important foreign exchange earner in the agricultural sector
and GlobalGAP related information is improved by simple and (GoK, 2009). The main export crops are cut flowers, fresh
user friendly system. fruits and vegetables. Large-scale producers mainly grow the
cut flowers while medium scale and smallholder farmers
General Terms dominate in production of fresh fruits and vegetables. Frozen
Traceability, GlobalGAP, Smallholder Farmers. and fresh beans are one of the most important vegetable exports
from Kenya. The quantity of beans exported have been
increasing over time but slowed down in 2006 when it was Traceability is based on a clearly defined relationship between
mandatory for all horticultural produce exported to the these units.
European market to be compliant with food safety standards in
that market as evident in Figure 1 below. Moe (1998) follows this approach, but specifically points out
that traceability is based on unique identification of the
products. Identifying TRUs and activities is necessary in order
to trace a product. TRUs can be described according to weight,
volume, etc., and activities can be described according to type
and time/duration, such as processing, transportation and
storage.
Storey et al. (2008) take a similar view of traceability, but
describe it in more detail. They state that trade units must be
uniquely identified, that additional information must be linked
to these units via the unique identification number, and that all
transformations (split and joins) must be recorded.
Transformations are points where the resources are mixed,
transferred, added, and/or split up (Derrick & Dillon, 2004).
The relationships between traceable units can be one-to-one,
many-to-one, one-to- many or many-to-many. Identifying
Fig 1 : Export quantities of Kenyan frozen French beans traceable units and trans- formation relationships is the key to
(Source: United Nation Trade Statistics) tracing a product internally and/or in supply chains (Storey et
al., 2008). Product information can be linked to the
identification number of traceable units.
In recent years traceability has attracted the attention of
Kenyas fresh produce industry has been facing a series of industry, public authorities and researchers. The increasing
challenges among them increased interceptions involving interest of the scientific community in the research area about
pesticide residue excesses detected in some of its exports to the SC traceability is the result of many developments aimed at
EU, Kenyas leading market for fresh produce. Most of the improving food quality and safety management (Opara, 2003).
fresh fruits and vegetables from Kenya target the European The relevance of product tracing in both the external supply
market. However, the high cost of implementation of the chain and inside the production system has been underlined by
private-sector food-safety standards set by the European Union Stein (1990) and Ramesh et al. (1995).
(EU) retailers, for example EurepGap, present a major
challenge especially to smallholder exporters. The standards Fundamental concepts related to traceability have been well
have increasingly become a major determinant of access to defined by Kim et al. (1995) and Moe, (1998). Kim et al.
markets in the developed countries. Lack of implementation of describe the fundamental and necessary core in ideal
these standards might lead to the exclusion of smallholder traceability systems as the ability to trace both products and
farmers from the international market and related market activities. Products and activities are called core entities, an
income-earning capabilities and hence worsening the welfare entity being what can be individually considered (European
of rural households. Committee for standardization, 1995). They use the Traceable
Resource Unit (TRU) to identify production batch. Moe (1998)
Traceability along organic fresh produce chain was limited. has introduced the concept of traceable resource unit (TRU) for
Use of labels and documentation was limited. Only part of the batch processes as unique unit, meaning that no other unit can
information was traceable; basic primary production and have exactly the same, or comparable, characteristics from the
processing characteristics and identity of immediate actors both point of view of traceability. Important concepts in food
upstream and downstream the supply chain being traceable. traceability are the batch dispersion (Dupuy et al., 2005) or
Majority of the actors did not have functional chain traceability also so called transformation (Ridden &Bollen, 2007) and
strategies to access and share information with others along the the risk transmission (Hu et al., 2009).
chain. At primary production, group affiliation and regular
checks on the verification and monitoring systems by group A general method for modelling and optimizing traceability
members increased trust along the value chain. (Rahmann G & systems in food industry is proposed by Dupuy et al. (2002) and
Aksoy U, 2014). Dupuy et al. (2005). Bollen, Riden, and Cox (2007) and Riden
and Bollen (2007) studied and analysed the traceability in fruit
There was therefore need to analyse and establish gaps in the supply chains in order to improve the traceability control of the
current traceability systems among smallholder farmers in batches. The traceable information flow and risk transmission
outgrower schemes which would inform the development a throughout food supply which contains raw material, process
prototype system for collecting information to enhance and distribution have been studied by Hu et al. (2009). They
traceability along the value chain take into consideration the research work of Dupuy el al. (2002)
and propose a graphical model to describe the risk transference
problem, according to Gozinto graphs which proposed by Dorp
2. Literature Review (2003).
Food chain traceability refers to the ability to follow a food In the recent past the development of traceability systems in the
component intended to be, or expected to be into a food product food Supply chain has interested several author (Jansen-Vullers
through all stages of food supply chain (European et al. (2003); Regattieri et al. (2007); Bechini et al. (2008);
Commission, 2002). According to Kim, Fox, and Gruninger Takur and Hurburgh (2009); Thakur and Donnelly (2010);
(1995), traceable resource unit (TRU) is the name given to an Thakur et al. (2011); Thakur et al. (2011, b); Bevilacqua et al.
entity that is traceable. TRUs are entities with similar (2009); Ruiz- Garcia et al. (2010); Verdouw et al. (2010)).
characteristics that have gone through the same processes.
Some examples follow in the next lines. Jansen-Vullers et al. sharing within and across enterprises. The model presented is
(2003) propose a reference-data model for tracking and tracing used for mapping of food production processes to provide
goods based on the Gozinto Graph, a tree-like graphical improved description and integration of traceability
representation of raw materials parts, intermediates and information. The method follows the approach of defining
subassemblies, in which a particular production process states and transitions in food production. A generic state charts
transforms into an end product through a sequence of for food production is presented and applied to two supply
operations. The development of the reference data model is chains; pelagic fish and grain. A state- transition model with
described by explaining the model-part of the bill of lots and/or emphasis on identifying both traceability transitions and food
batches, the model-part of operations and variables and the safety and quality data is developed. The application of current
integration of these two model-parts. The bill of lots is designed EPCIS framework for managing food traceability information
analogous to the bill of materials and registers each relation is presented by mapping the transitions identified in two
between a sub-ordinate entity and super- ordinate entity via the product chains to the EPCIS events: Object Event and
concept of aggregation. Aggregation is an abstract concept for Aggregation Event. The corresponding states where the quality
building composite objects from their component objects parameters are recorded are also identified and linked to these
(Elmasri & Navathe, 2000). EPCIS events.
Regattieri et al. (2007) developed a traceability system for The review of the previous references shows that although
Parmigiano Reggiano, the famous Italian cheese, and many authors have been interested in the traceability issue, at
introduced a general framework based on the integration of the present time there are no works that completely integrate
alphanumeric codes and RFID. The product characteristics are the capture of data captured in the field and the synchronization
identified in their different aspects along the entire supply of the same to a web application providing an end-to-end
chain, from the bovine farm, the dairy, the seasoning traceability system. Moreover, those papers where a web model
warehouse, and lastly the packaging factory. The complete is presented are limited. Bevilacqua et al. (2009) use the
supply chain of Parmigiano Reggiano is traced by an RFID business process reengineering (BPR) approach to create a
system using an alphanumerical code. Technically the system computer-based system for the management of the supply chain
developed is based on a central database that collects data from traceability information flows. They present a computer-based
bovine farms and from dairies. Manufacturers can check the system for the traceability of fourth range vegetables. In
progress made in production at any time and if some problem addition, none of the researchers has tried to address the issues
occurs in the market place they can re-trace the development of that smallholder farmers face such as the costs of adopting and
the portion and introduce effective re-call strategies. operating a traceability system, and securing staff having the
applicable skills.
Bechini et al. (2008) introduce a data model for identifying
assets and actors and show a formal description of the lot
behaviour throughout the supply chain. The lot behaviour has
been modelled by six activity patterns (integration, division, 3. METHODOLOGY
alteration, movement, acquisition, providing) using a UML A pre-study was carried out with the intention of doing an
activity diagram. The standard Unified Modelling Language exploratory study to determine the necessary requirements for
(UML) notation is adopted to formally describe the different the implementation of a traceability system for managing
aspects of the modelled system. The model of a simply cheese smallholder farmers in outgrower schemes. The researcher had
supply chain with a UML communication diagram is presented to understand the main issues of the overall traceability concept
in the paper. An independent, private data-sharing network and the specifics of the pesticide residue excesses detected in
(PDSNs) is proposed as proper infrastructure for business Kenyan fresh produce export to the EU. The pre-study gathered
process integration and Enterprise Service Bus (ESB) as first insights into the field and identified problems and
architectural scheme for connecting third party applications. peculiarities around traceability. From these findings, early
The ebXML Message Service (ebMS) is used to transport requirements were derived and an initial functional prototype
business documents in a secure, reliable, and recoverable way proposed. The pre-study is based on participatory action
in the inter-enterprise business collaboration scenario. In case research and encompasses participatory observation and note
one of the business partners cannot manage ebMS messages taking, informal as well as semi structured interviews and video
(for instance, in the case of legacy systems), the communication analyses. Notes taken from memory supplemented the insitu.
is handled via ESB. In this case, semi structured interviews were used to collect the
information needed. In this particular study, the main thrust of
A model for implementing internal traceability system for a
the research consisted of interviews with the various
grain elevator has been developed by Takur and Harburg
stakeholders to ensure that fresh produce producers capacity to
(2009) and extended by Thakur et al. (2011,a). In the first
meet the market and regulatory food safety requirements and
reference a UML sequence diagram shows the information
traceability in Kenya.
while the UML (Unified Model language) Use Case diagram
technique defines the usage requirements of the traceability
system. The internal traceability system is developed using the 3.1 Qualitative Research
Integrated Definition Modeling (IDEF0) and the lot In this research project, the researcher opted to use semi-
information is recorded in a RDBMS (Relational Database structured interviews in gathering the data required. The
Management System) form presented in Thakur et al. (2011,a). researcher identified key informant through purposive typical
Thakur and Donnelly (2010) present a new model for case selection with the aim of diversity across the value chain.
information capturing in the soybean SC and develop a UML This form of sampling is non-probability where research
class diagram for modeling products, processes, quality and participants are not chosen at random and consequently are not
transformed information. The UML state charts and EPCIS representative of the population as a whole (Denscombe, 2007).
framework are presented by Thakur et al. (2011, b) as a new According to Punch, purposive sampling is sampling in a
methodology for modeling traceability information. EPCIS is deliberate way, with some purpose function in mind (2005,
an EPCglobal standard designed to enable EPC-related data p.187). Participants are deliberately chosen because of the data
they will be able to produce. It was felt that these participants The participants were informed well in advance that the
could add valuable insights and contribute to a greater researcher would take notes during the interview and they could
understanding of this complex phenomenon. choose not to answer any questions if they did not want, in
addition to stopping the interview at any time.
The interviews lasted between 45 and 60 minutes each
depending on the communication skills and receptivity of the
3.2 Interview Design informants. The interview consisted of open-ended questions,
The researcher opted to use semi-structured interviewing with
questions containing exploring traceability concepts and
all the participants. This involves the researcher having a
structured questions identified from previous research around
number of clear topics to discuss with the participant, but the
traceability systems.
interview is conducted in an informal and flexible way with
regards to the order in which topics are explored (Denscombe,
2007). Semi-structured interviewing is very useful for this type 3.5 Data Analysis
of study as it allows the interviewer to place some direction on
The Analyses of the resultant data were undertaken via a
the interview but gives the interviewer and interviewee a
specially designed two stage process. The first stage of the
certain flexibility to expand on topics that he / she feels are
analytic process initially involved the researcher familiarising
important (Denscombe, 2007).
with the data. This was done by reviewing the notes of the
Interviews were conducted one-on-one. This format was interviews several times, and carrying out a full transcription of
chosen over group interviews as the research topic was quite this substantial body of material on to paper. The researcher
sensitive and personal one for some participants and the also sent out e-mail correspondence to the informants seeking
researcher felt that participants were more likely to speak clarifications on any areas that werent clear.
openly and frankly if they were not in a group setting.
The next phase within this first stage can be characterised as a
Questions tended to be more open-ended in nature to allow the
qualitative content analysis (Bryman 2001; Priest et al 2002)
participant to speak freely about his/her experiences.
which produced emergent themes. This shares some
According to Descombe, open-ended questions produce
similarities with the approach taken by the researcher to
answers that are more likely to reflect the richness and
preform interview analysis.
complexity of the views held by the respondent (2007, p.166).
1. Novice Users (NU): Users who didnt have any 6 (EU) 02:32 00:44 01:30 00:45
experience of using either of two applications.
2. Experienced Users (EU): Users who had used both
applications before
180
Table 3: Selection of users 160
No. Type Farmers Growers 140
Group 120
1 Novice users Romwa Ventures 100
Karie Group 80
2 Experienced users Romwa Ventures
Karie Group 60
40
5.4 Designing the Tasks 20
Before designing tasks for usability testing the researcher met 0
with several farmers grower groups and asked them for what 1 (NU) 2 (NU) 3 (EU) 4 (EU) 5 (EU) 6 (EU)
information is captured during the growing cycle. It helped
the researcher a lot for defining of tasks which would be Task 1 Task 2 Task 3 Task 4
helpful in evaluating usability of the applications. The tasks
were defined as follows:
Fig 3. Bar chart showing FarmTrace test results
1. Register farmers group
2. Edit farmers group
3. Capture growing activity 5.7 Task Timing Analysis
4. Print a report The researcher calculated the average time of tasks of all users
for both applications, figure 23 below shows a graphical
5.5 Questionnaire for Usability Evaluation representation of average time (in seconds) taken by both
After the usability testing the designed questionnaire for applications.
evaluation of usability of both applications for different
criteria were distributed to the participants. The questionnaire 160
was designed in such a way that the researcher could get
quantitative results from it. The questions in the questionnaire 140
are related to the criteria that were selected by the researchers 120
such as effectiveness, usefulness, user reaction, consistency, 100
architectural and visual clarity, and functionality. Three of
80
these criteria are presented by Koua et al. (2006), which
suffice for assessing user performance and satisfaction with 60
the applications while the remaining three criteria are adopted 40
from IS&T guidelines, which covers its web-based nature. All 20
six users gave feedback via the questionnaire.
0
5.6 Usability Test Results Task 1 Task 2 Task 3 Task 4
The results have been collected through usability tests and
questionnaires feedback. Six users were involved in the Fig 4. Bar chart showing average task timing
Based on the result above, the speed of both user groups in researcher identified the key informants. From these findings,
performing activities in the application was relatively easy. early requirements were derived and an initial functional
prototype developed.
Objective Two: To develop a prototype system for collecting
Table 5. Usability Analysis of Web and Android App information to enhance traceability along the value chain.
This was achieved by using Object Oriented Design (OOD)
Android methodology. This involved identification of functional
Web Application Application requirements from which use case artefacts is developed.
Answers N % N % Thereafter the dynamic and static behaviour of the system is
analysed and modelled. The modelling of static behaviours was
Strongly Agree 51 35 34 24 done through identification of objects and classes which are
represented using Unified Modelling Language (UML)
Agree 65 45 37 26
diagrams in Visual Studio 2013. The dynamic aspects of the
Less Agree 24 17 42 29 system were modelled using sequence, interactive, state
diagrams and collaboration diagrams. As regards to
Disagree 4 3 22 15 implementation prototyping technique was followed. The
prototype development followed the four steps model proposed
Strongly Disagree 0 0 9 6 by Floyd, C. et al. (1984).
144 100 144 100 Objective Three: To develop a mobile app that will allow for
offline capture in areas without mobile network coverage and
allow for synchronization of the same when a field staff gets to
a network enabled area. All data is stored locally on the mobile
50 devices and only synchronised when required. This has an
45 enormous advantage over an on-line based systems as it does
not need to be connected to the mobile network to continue to
40 operate. Designed from the ground up to work with SQLite as
35 local storage, all information is optimised to make the
30 synchronisation time with the cloud as short and as low cost as
possible. This was implemented in Android using a sync
25
adapter which does the work of syncing the data between the
20 server and the local database and the sync service which is the
15 service that ties the sync adapter into the Android sync
framework. When a sync happens the sync adapters
10
onPerformSync method is called by the framework and within
5 the scope of that method anything that is permitted by the
0 framework can be done to sync the data. In the case of the
Strongly Agree Less Disagree Strongly FarmTrace App the researcher built a simple REST Web API
Agree Agree Disagree and standard calls were made to retrieve and parse JSON.