SciELO - Scientific Electronic Library Online

 
vol.20 issue3Ethnobotanical study and commercialization of medicinal plants in the Murocomba protected forest and its influence area in the Valencia Canton, EcuadorEffect of nitrogen-sulfur fertilization on yield and quality of three corn genotypes differing in endosperm texture author indexsubject indexarticles search
Home Pagealphabetic serial listing  

Services on Demand

Journal

Article

Indicators

Related links

  • On index processCited by Google
  • Have no similar articlesSimilars in SciELO
  • On index processSimilars in Google

Share


Ciencia y Tecnología Agropecuaria

Print version ISSN 0122-8706On-line version ISSN 2500-5308

Cienc. Tecnol. Agropecuaria vol.20 no.3 Mosquera Sep./Dec. 2019  Epub Sep 10, 2019

https://doi.org/10.21930/rcta.vol20num3art:1588 

Manejo cosecha y tecnología postcosecha

Design and implementation of a software for the traceability of coffee processing

Sandra Patricia Castillo Landínez*  1 
http://orcid.org/0000-0003-2751-3191

Pablo Eduardo Caicedo Rodríguez2 
http://orcid.org/0000-0002-5000-9623

Diego Felipe Sánchez Gómez3 
http://orcid.org/0000-0001-6670-1297

Catarina Carvalho4 

1Docente-Investigadora, Corporación Universitaria Autónoma del Cauca, Facultad de Ingeniería. Popayán, Colombia

2Docente-Investigador, Corporación Universitaria Autónoma del Cauca, Facultad de Ingeniería. Popayán, Colombia.

3Líder de Desarrollo TI, VigiVox - BeeTiC. Popayán, Colombia.

4Centro de Comercio SENA Regional Antioquia


Abstract

This article describes the implementation of a software which allows supporting coffee producers in the process of obtaining a certification of origin for their product according to the regulations established for trade in agricultural products, especially monitored in the European Union since January 2005. This regulation set down the requirements for a follow-up that guarantees the authenticity and traceability of the food, which satisfies the final consumer. The project was carried out using the Scrum framework and the eXtreme Programming (xp) software development methodology. The results showed that the integration of the framework and the method allowed organizing the work in phases and achieve incremental results. This application represents the first step to generate added value in a coffee farm through the traceability registration of their products.

Keywords coffee industry; computer programming; food safety; food traceability; quality controls

Resumen

Este artículo describe la implementación de un software que busca apoyar a los productores cafeteros en el proceso de certificación de origen de su producto, de acuerdo con la normativa establecida para el comercio de productos agrícolas, especialmente vigilada por la Unión Europea desde enero de 2005, que estableció la necesidad de hacer un seguimiento que garantice la autenticidad y la trazabilidad de los alimentos, y la satisfacción de las demandas de calidad del consumidor final. El proyecto se realizó utilizando Scrum como marco de trabajo y eXtreme Programming (xp) como metodología de desarrollo de software. Los resultados mostraron que la integración de ambos instrumentos permitió organizar el trabajoen fases y obtener resultados incrementales. Esta aplicación representa el primer paso para generar valor agregado en una finca cafetera a través del registro de trazabilidad de sus productos.

Palabras clave control de calidad; industria cafetera; inocuidad alimentaria; programación informática; trazabilidad de los alimentos

Introduction

In a global economy, food must travel long distances to get from the producer to the consumer (Zailani, Arrifin, Wahid, Othman, & Fernando, 2010). Therefore, it is increasingly necessary to closely monitor the quality and safety of these products through multiple mechanisms (Wang, Yue, & Zhou, 2017).

Tracking strategies are used for this purpose and are known as traceability tools. According to Costa et al. (2013), traceability includes all those techniques and technologies that allow locating an animal, specific merchandise or a food product and make a historical study of the origin and the processing to which it was submitted. This definition is in line with the one proposed by the European regulation 178/2002 (Zhang, Sun, & Liu, 2011).

According to Zhang et al. (2011), the first activity that is required for a traceability system to work is a good product labeling; this is achieved through barcodes (Colom, 2004) or radiofrequency identification devices (rfid) (Ha, Song, Chung, Lee, & Park, 2014). In the work of Badia-Melis, Mishra, and Ruiz-García (2015), a series of technological devices used to register food traceability are detailed.

In addition to the label, it is necessary to process a large amount of information such as the characteristics of the place of origin; the variables that were handled during the transformation, storage and transport processes; and the data of the people or organizations that intervened during the generation of the final product (Buhr, 2003), among others. A conceptual model of a framework for a food traceability system that integrates hardware technologies (global positioning system [gps], identification labels, and devices to capture, store and visualize images) and software (information systems) is described by Aung and Chang (2014).

Currently, there are many examples of traceability in different areas: wines (Stranieri, Cavalieren, & Banterle, 2018, Vázquez et al., 2016), seafood (Costa et al., 2013), vegetables (Xinting et al., 2008), beef (Neto, Rodriques, Pinto, & Berger, 2003) and pork meat products (Wang et al., 2017), bacteria in food (Melo, Andrew, & Faleiro, 2015) and coffee (López & González, 2012), among others.

The society of today demands more information on everything related to its food products, which translates into the implementation of traceability systems available for the entire supply chain. In the specific case of coffee practices, it is important to identify soil characteristics, altitude, microclimate, crop location, coffee variety, cultivation and processing methods, as well as the people involved in the process (farmers, producers, processors, cooperatives, exporters, importers, roasters, shopkeepers, among others), since all these elements influence the quality of the final drink, and also allow establishing practices with fairer prices and the use of more environmentally friendly techniques (Puerta, 2013).

In Colombia, there are more than 563,000 coffeebased family businesses, and around 90,000 are located in the department of Cauca in Colombia (Federación Nacional de Cafeteros de Colombia, 2017). Most of them carry out artisanal processes concentrating their efforts on the production of raw material (coffee volumes), and many only transform the product into dried parchment coffee (even, many only reach the stage of wet pulped coffee), without generating added value to the marketing chain. Moreover, there is unawareness of the main features and specifications of the additional processes that allow obtaining a quality product. The lack of a traceability record by coffee producers causes a lack of control and monitoring of the product until it reaches the final customer. This generates a competitive disadvantage inherent in recognizing Colombian coffee as one of the best in the world, turning it into a generic article without identity.

In coffee traceability, several stages are identified, and different tasks are carried out in each of them (Evangelista et al., 2014). Each of these stages is explained as follows. The first phase is the harvest of the cherry coffee, in which the collectors collect the fruits of the coffee bush (cherry) and places them inside their baskets; the allocation of baskets and collection rows is done by the cutting pattern. With all the cherry harvested, the coffee is classified and pulped. The classification is done through an automated system that divides them into the following classes: decaffeinated coffee A+ (coffee to be exported as very high quality coffee), deca-ffeinated coffee A (coffee exported as high quality), decaffeinated coffee B (sent to standard export) and decaffeinated coffee C (sold for internal con-sumption). The criteria for classification are size, quality, and degree of maturity of the cherry (Fede-ración Nacional de Cafeteros de Colombia, 2007).

The next treatment is to extract the cherry beans (pulped) in their respective hopper (one for each variety, except for the C class that is not pulped). Subsequently, the fermentation begins, in which the A+ and A classes pass to different tanks (depending on the class, the variety and the date of collection) where they are fermented; similarly, class B grains go into fermentation tanks, but before all the varieties come together in a single group. The coffee for internal consumption is not fermented, nor pulped, nor washed, and is left to dry directly. Once the coffee has been fermented, it goes to the washing stage, where the grain of each tank is washed using an automated system, in which a measurement of the weight of wet coffee and of the coffee that has been discarded must be made. Finally, it is passed to independent drying rooms where the water level is controlled according to international standards (Correa et al., 2016, Espinal, Martínez, & Acevedo, 2005). The coffee processing process is summarized in figure 1.

This work is the result of the initial construction phase of a software platform that makes a tracea-bility record of coffee in its processing process and that, in the future, will allow certifying the origin of the product. The progress reported here was validated at the facilities of the company Supracafé Colombia S.A.

Source: Elaborated by the authors

Figure 1. Flowchart of the coffee processing process. 

Materials and methods

One of the allies in the development of the software tool was Supracafé Colombia S.A., an organization dedicated to the production of high-quality coffee, whose farms are located in the plateau of Popayan (department of Cauca), at altitudes that vary between 1,700 and 1,900 m above the sea level. It has a department for R+D+i from which it supports the development of research and innovation projects. The company was established in 2008 aiming at generating value in the coffee chain, implementing innovations and development projects through strategic alliances with government institutions and the academia, based on the following premise: the specialty of a coffee begins in the farm where the coffee is produced. Currently, this organization has managed to differentiate itself by its remarkable improvements in coffee production and preparation. The development activities were carried out for the coffee processing process at the farm Los Naranjos located in the municipality of Cajibío (Cauca department, Colombia) (Supracafé, n.d.).

In Supracafé, the processing process has been standardized after several years of uninterrupted work; it consists of six sequential stages (figure 2), and its purpose is to convert the coffee fruit (cherry coffee) into parchment coffee ready for packaging and export (Federación Nacional de Cafeteros de Colombia, 2007, Ocampo-López et al., 2017).

After a process of analysis carried out jointly by the engineers in charge of development and the agronomists of Supracafé, the fundamental variables that are part of the traceability of the coffee processing process were identified:

Recollection (harvest)

Classification

Pulping

Fermentation

Washing

Drying

Source: Elaborated by the authors

Figura 2. Stages of the coffee processing process.  

Subsequently, the six initial basic functionalities that the application should provide were established as follows:

1. Harvest record: it allows recording who made the harvest of the coffee cherry, as well as the approximate day and hour, assuming as a measure of collection a basket of 28 kg. This record will additionally store information about the start and end batch of the collection.

2. Estimated quality record: In this process, representative samples of baskets are taken at random, and an estimated percentage of green, ripe, overripe, bits (with damage caused by the coffee berry borer) and floating grains is recorded. This information has several purposes: to encourage collectors to harvest the best quality grains; estimate if the collection process is getting late (data on mature grains); observe and take corrective actions regarding pests (data on beans damaged by the coffee berry borer).

3. Hopper entry record: here the date and hour in which the entry process to the hopper is carried out is recorded to continue with the selection by quality and pulping; it is necessary to record the quantity by weight of the qualities known as inferior, B and C.

4. Fermentation record: in this record, the duration time of the fermentation is stored; the quality of the coffee; whether or not inoculum is applied and its quantity; Brix degrees of the inoculum applied; the minimum and maximum temperature of the environment during the fermentation process; and liters and Brix degrees of the inoculum produced.

5. Coffee washing record: this record keeps the date and hour when the washing process is carried out.

6. Coffee drying record: finally, this process records the date and hour when the coffee drying process begins, the type of drying process and the end date of the drying process.

The team chose Scrum as a framework for the multiple advantages it offers: application of good practices, collaborative work, the formation of flexible and adaptive work teams, and an iterative and incremental approach that accredits partial and regular deliveries of the product, according to the prioritization criteria established (Schwaber & Sutherland, 2017).

Source: Elaborated by the authors

Figure 3. Variables resulting from the analysis of the traceability information in the coffee processing process. 

Source: Elaborated by the authors

Figure 4. Scrum framework. 

The work team defined the functionalities of the system and, subsequently, these were divided into user stories, which were evaluated and prioritized according to the criteria of the end user. The user history with the highest priority enters the sprint, which means that it starts its implementation, and the maximum duration time is four weeks. Feedback was obtained, and daily work objectives were set to carry out error control quickly and guide the daily work.

If the user story ended before the end of the sprint, the next one was continued according to the order of duration and priority. When the sprint was finished, the priority of each user story was re-evaluated, and a new sprint was started. At the end of each sprint, there was a fully operational functionality. A diagram of the basic functioning of the Scrum framework is shown in figure 4.

For sprints that contained user stories that involved software development, the agile development methodology software, eXtreme Programming (xp), was used, which is comprised by the following six phases (Beck & Andres, 2004; Maurer & Wells, 2011):

1. Exploration phase: the general scope of the project was defined; the client established the user stories (cards in which the client describes in a summarized way the features that the system must have), and the development team became familiar with the tools and technologies that were used.

2. Delivery planning phase: the client assigned a priority to each user story, and the developers estimated the effort required for each of them; the parties agreed on the content of the first delivery and its corresponding schedule.

3. Iterations phase: the programming established in the previous phase was divided into a certain number of iterations; at the end of the last iteration, a complete system is expected to be established.

The following three phases, although explained below, are not the focus of this document, given that it is a slow and long-term process in which the real impact of the system will be established:

4. Production phase: The system is delivered to the user to perform tests and adjustments in a real environment.

5. Maintenance: during this phase, customer support tasks are performed parallel to the execution of new iterations.

6. Death of the project: the implementation of user stories concludes, and other customer needs are met such as performance, safety, and reliability of the system and, besides, the final project documentation is built.

Results and discussion

Exploration phase

The team defined the functionalities of the system (figure 5), which were described in previous sections. They were implemented from the analysis of the coffee processing process, the identified variables and the expert knowledge of professionals working in the company Supracafé and who supported the process.

Some examples of user stories (seven stories) can be observed in figure 6; the priority hierarchy is represented by colors: red, for high priority; yellow, for average priority. Each story involved the execution of two or three activities to be completed, given their nature. All have a software development component, which was made with the xp methodology, composed of the six phases shown above. Given the initial scope of the project, only the first two were executed: planning and iterations.

Planning phase

Based on the needs expressed by the user (user stories), a series of requirements were established that were divided into functional (describe how the system operates) and non-functional (derived from the inherent features of the system operation). Figure 7 shows the requirements that were implemented in the developed system.

Source: Elaborated by the authors

Figure 5.  System functionalities. 

Source: Elaborated by the authors

Figure 6. Examples of user stories for the development of the system. 

Source: Elaborated by the authors

Figure 7. Functional and non-functional requirements of the system. 

Considering the described characteristics, the implementation of a client/server type architecture, in which the development of a Frontend (a website that the user can access directly, it is related to all the web design and development technologies that run in the browser, and is responsible for the interactivity with end users) and a Backend (application that connects to the database and the web server, whose function is to manage the information displayed in the Frontend) were suggested for use. A detailed view of the architecture of the system can be seen in figure 8.

Source: Elaborated by the authors

Figure 8. System architecture. 

The tools selected to carry out the programming of the system were Angular JS to program the web application, and Node JS, as a development environment; the libraries needed for the development are grouped in the NPM tool.

Iterations phase

During the different iterations, several applications were developed. Figure 9 shows the user interfaces of the mobile platform (Frontend) that allowed reaching the functional requirements.

The functional web requirements were covered by programming a Web application. Figure 10 shows the Frontend web user interfaces of the system.

It is worth mentioning that both the mobile as well as the web Frontends require the use of a support platform (Backend), which was designed as a cloud computing service, which allows the integration of all the information.

This integration is essential to record the traceability of the coffee processing process; however, to carry out its verification, the progress and possible improvements of this development is an arduous task that requires the active participation of the end users. This essential feedback and tests in the actual scope are under execution.

Source: Elaborated by the authors

Figure 9.  User interfaces for the mobile application. 

Source: Elaborated by the authors

Figure 10. User interfaces of the web application. 

Conclusions

The use of Information and Communication Technologies (ict) in different agricultural sectors allows the optimization of tasks: response times can be improved; information can be centralized and timely monitoring of processes can be carried out. All this goes hand in hand with a participatory process and training with the community.

At the farm Los Naranjos of the company Supracafé manual records were used and, in the best case, also Excel spreadsheets for the management of the traceability data in the coffee processing process. These practices usually generated waste of time during the data entry; additionally, the possibility of committing errors due to an involuntary alteration or omission existed, causing errors when performing their subsequent processing. The idea of automating these processes through the development of a software tool seeks to support the coffee industry.

Keeping the traceability record in the coffee processing process generates a competitive advantage over other coffee companies, which adds to the requirements of the final consumer who demands quality products. These arguments show the need to build devices that support the monitoring of the transformation and product distribution processes, especially regarding agricultural products.

The Scrum framework and the XP methodology were effective to fulfill the functionalities, since they facilitated the integration of several processes and techniques, to build complex products from iterative and incremental processes, in which each participant had a defined role. In the first stage of the implementation, the application allowed users to generate general reports of their coffee production as the quantity of cherry coffee collected in a given time and the percentage of conversion of coffee cherry to dry parchment coffee.

Disclaimers

All the authors made significant contributions to the study and the document, and agree on its publication; moreover, all authors state that there are no conflicts of interest in this study.

Acknowledgments

The authors wish to thank Red de Formación del Talento Humano para la Innovación Social y Productiva en el departamento del Cauca (InnovAcción Cauca) [Human Talent Training Network for Social and Productive Innovation in the department of Cauca] for financing this study, and also to Supracafé, for their willingness and support during the entire process.

REFERENCES

Aung, M. M., & Chang, Y. S. (2014). Traceability in a food supply chain: Safety and quality perspectives. Food Control, 39, 172-184. doi:10.1016/J.FOODCONT.2013.11.007. [ Links ]

Badia-Melis, R., Mishra, P., & Ruiz-García, L. (2015). Food traceability: New trends and recent advances. A review. Food Control, 57, 393-401. doi:10.1016/J.FOODCONT. 2015.05.005 [ Links ]

Beck, K., & Andres, C. (2004). Extreme Programming Explained: Embrace Change - Kent Beck, Cynthia Andres. Nueva Jersey, EE. UU.: Pearson Education. [ Links ]

Buhr, B. L. (2003). Traceability and Information Technology in the Meat Supply Chain: Implications for Firm Organization and Market Structure. Journal of Food Distribution Research, 34(November), 13-26. doi:10.1.1.133.3777. [ Links ]

Colom, A. (2004). Innovación organizacional y domesticación de Internet y las TIC en el mundo rural, con nuevas utilidades colectivas y sociales. La figura del Telecentro y el Teletrabajo. CIRIEC-España, Revista de Economía Pública, Social y Cooperativa, 49, 77-116. Recuperado de https://www.redalyc.org/articulo.oa?id=17404905Links ]

Correa-Hernando, E. C., Díaz-Barcos, V., Diezma-Iglesias, B., Echeverri, C., Hoyos-García, J., & Oteros, R. (2016). Cafés Especiales. El caso del Cauca en Colombia. Fórumcafé. Fórum Cultural del Café, 64, 26-29. Recuperado de https://www.oa.upm.es/40417/Links ]

Costa, C., Antonucci, F., Pallottino, F., Aguzzi, J., Sarriá, D., & Menesatti, P. (2013). A Review on Agri-food Supply Chain Traceability by Means of RFID Technology. Food and Bioprocess Technology, 6(2), 353-366. doi:10.1007/ s11947-012-0958-7. [ Links ]

Espinal, C. F., Martínez, H. J., & Acevedo, X. (2005). La cadena del café en Colombia. Una mirada global de su estructura y dinámica 1991-2005. Bogotá, Colombia: Ministerio de Agricultura y Desarrollo Rural (MADR). Recuperado de https://www.agrocadenas.gov.coLinks ]

Evangelista, S. R., Silva, C. F., Miguel, M. G. P. da C., Cordeiro, C. de S., Pinheiro, A. C. M., Duarte, W. F., & Schwan, R. F. (2014). Improvement of coffee beverage quality by using selected yeasts strains during the fermentation in dry process. Food Research International, 61, 183-195. doi:10.1016/J.FOODRES.2013.11.033. [ Links ]

Federación Nacional de Cafeteros de Colombia. (2007). Sistemas de producción de café en Colombia. Bogotá, Colombia: Cenicafé. Recuperado de https://www.cenicafe.org/es/documents/LibroSistemasProduccionCapitulo1.pdfLinks ]

Federación Nacional de Cafeteros de Colombia. (2017). Comportamiento de la Industria Cafetera Colombiana 2016. Recuperado de https://www.federaciondecafeteros.org/static/files/Informe_Industria_2016.pdfLinks ]

Ha, O. K., Song, Y. S., Chung, K. Y., Lee, K. D., & Park, D. (2014). Relation model describing the effects of introducing RFID in the supply chain: Evidence from the food and beverage industry in South Korea. Personal and Ubiquitous Computing, 18(3), 553-561. doi:10.1007/s00779-013-0675-x. [ Links ]

López C, D., & González G, J. (2012). TIC, redes sociales y la cadena de valor para la comercialización del café. Scientia Et Technica, 17(51). Recuperado de https://www.redalyc.org/html/849/84923910021/Links ]

Maurer, F., & Wells, D. (2011). Extreme Programming and Agile Methods. Nueva Orleans, EE. UU.: Springer. Recuperado de https://books.google.com.co/books?id=Iv5sCQAAQBAJ&dq=%22Extreme+Programming%22&hl=es&source=gbs_navlinks_sLinks ]

Melo, J., Andrew, P. W., & Faleiro, M. L. (2015). Listeria monocytogenes in cheese and the dairy environment remains a food safety challenge: The role of stress responses. Food Research International, 67, 75-90. doi:10.1016/j.foodres. 2014.10.031 [ Links ]

Neto, M. D. C., Rodrigues, M. B., Pinto, P. A., & Berger, I. (2003). Traceability on the Web – a prototype for the Portuguese beef sector. European Federation for Information Technologies in Agriculture, July, 607-611. [ Links ]

Ocampo-López, O. L., Ovalle-Castiblanco, A. M., Arroyave- Diaz, A., Salazar-Ospina, K., Ramírez-Gómez, C. A., & Oliveros-Tascon, C. E. (2017). Nuevo método estándar para la recolección selectiva de café. Ingeniería. Investigación y Tecnología, 18, 127-137. Recuperado de https://www.redalyc.org/pdf/404/40450393001.pdfLinks ]

Puerta Q, G. (2013). Registro de la trazabilidad del café en la finca. Avances Técnicos Cenicafé, 355, 1-8. Recuperado de https://www.biblioteca.cenicafe.org/bitstream/10778/375/1/avt0355.pdfLinks ]

Schwaber, K., & Sutherland, J. (2017). La Guía de Scrum TM. Recuperado de https://www.scrumguides.org/docs/scrumguide/v2017/2017-Scrum-Guide-Spanish-SouthAmerican.pdfLinks ]

Stranieri, S., Cavalieren, A., & Banterle, A. (2018). The determinants of voluntary traceability standards. The case of the wine sector. Wine Economics and Policy, 7(1), 45-53. doi:10.1016/j.wep.2018.02.001. [ Links ]

Supracafé. (s. f.). Supracafé. Somos lo que sembramos. Recuperado de https://www.supracafe.com/nosotros/Links ]

Vázquez, A., Troglia, C., Manino, G., Sánchez, M., Vitale, L., Caballero, J., … Naveda, C. (2016). Metamodelo de auditoría y reingeniería para sistemas de trazabilidad de vinos. En VIII Congreso Argentino de AgroInformática (CAI-2016). Recuperado de https://www.sedici.unlp.edu.ar/handle/10915/57511Links ]

Wang, J., Yue, H., & Zhou, Z. (2017). An improved traceability system for food quality assurance and evaluation based on fuzzy classification and neural network. Food Control, 79, 363-370. doi:10.1016/J.FOODCONT.2017.04.013. [ Links ]

Xinting, Y., Jianping, Q., Chuanheng, S., Chunjiang, Z., Junying, W., Shehong, T., & Yanlin, H. (2008). Design and application of safe production and quality traceability system for vegetable. Transactions of the Chinese Society of Agricultural Engineering, 2008(3). doi:10.3969/J.ISSN. 1002-6819.2008.3.032. [ Links ]

Zailani, S., Arrifin, Z., Wahid, N. A., Othman, R., & Fernando, Y. (2010). Halal Traceability and Halal Tracking Systems in Strengthening Halal Food Supply Chain for Food Industry in Malaysia (A Review). Journal of Food Technology, 8(3), 74-81. doi:10.3923/jftech.2010.74.81. [ Links ]

Zhang, H., Sun, X., & Liu, Y. (2011). Food Safety and Technological Implications of Food Traceability Systems. En D. Li, Y. Liu, & Y. Chen (Eds.), Computer and Computing Technologies in Agriculture IV. CCTA 2010 (pp. 1-10). Berlín & Heidelberg, Alemania: Springer. doi:10.1007/978-3642-18336-2_1. [ Links ]

Received: February 23, 2018; Accepted: March 23, 2019

Creative Commons License Esta obra está bajo una Licencia Creative Commons Atribución - No comercial - Compartir Igual 4.0 Internacional.