A recommendation for suitable technologies for an indoor farming framework

Facing food insecurity and overuse of resources due to effects of climate change, humanity needs to find new ways to secure food production and produce close to consumers. Vertical farming, where plants are grown in vertical arrays inside buildings with help of Information and Communication Technology (ICT) components, could contribute to solving this issue. Such systems integrate heterogeneous devices on different computing layers and acquire a lot of data to monitor and optimize the production process. We created an indoor testing unit in which growing conditions can be monitored and controlled to optimize growth of microgreens. This setup includes an Indoor Farming Support as a Service (IFSaaS) prototype that provides safe and secure monitoring and controlling, as well as self-adaption of an indoor farming system. In this article we provide information about the combination of most suitable technologies.


Introduction
In the upcoming years the world population will grow steadily up to an estimated world population of 9.78 billion peak in 2064, yet decrease after that to 8.88 billion at the end of the century [1]. At the middle of the century about two thirds will live in urban areas [2]. This poses the issue to securely supply a growing number of people with food and imposes a great threat to food security for certain countries and especially for large cities. Several initiatives are targeted at this issue and one in particular, called vertical farming is discussed in this paper. This form of farming grows plants in vertical arrays, inside buildings, where growing conditions are optimized. Plants are supplied with nutrients via a specific solution and with artificial lighting and can thus be grown year round. Said method is able to grow without soil, natural sunlight and can therefore artificially create optimal growth conditions. With the help of Information Technology (IT) and Internet of Things (IoT) components, the environment can be observed and adapted in a corrective way to create desired environmental parameters.
Vertical farming reuses resources more sustainably as water and nutrients can be reused and fewer fertilizers and no pesticides are needed [3], [4]. Food supply chains, often global, produce vast amounts of CO 2 by transporting essential foods to large or remote cities. Indoor farming would tackle this form of emitting greenhouse gases through locally producing required food [5]. Shorter ways from harvesting to consumer can be achieved. We thus present a framework and indoor farming setup that addresses these issues. In our work we established a highly automated testing unit that allows for production of microgreens and other plants, e.g. salads. In our setup we focus on aeroponic [6] and deep water culture (DWC) [7] growing methods and how production processes can be optimized. To investigate approaches to optimize the growing methods and to evaluate optimization processes we established a testing environment at University of Applied Sciences Burgenland. 370 heft 7.2020 The paper is structured as follows: Sect. 2 gives an overview of related work, Sect. 3 introduces the indoor farming service we establish in the project. Sect. 4 describes the infrastructure setup we created for testing purposes and Sect. 5 concludes the paper.

Related work
The topic of vertical farming, e.g. aeroponic is not new [8]. On the other hand, its present state which uses IT and especially IoT to monitor and control growth, is a rather recent development. Smart farming in general, with fine granular monitoring and control is only enabled by the introduction and wide-spread usage of Information and Communication Technology (ICT) solutions like sensor networks [9]. This allows for an optimization of the complete process. Combining this with vertical farming enables better use of space and thus output per square meter [10]. Therefore vertical farming approaches are also summarily called "Zero-Acreage Farming". This is especially important due to the increasing trend of urbanization. At the current point cities take up 2% of the earth surface, but require 75% of the available resources. Vertical farming is able to solve multiple issues, from a reduction in the resource usage to minimizing transportation costs [11]. Plants can be directly produced where they are consumed, in vertical buildings and throughout the year. Consequently, the large amount of fossil fuels consumed while transporting foods from rural farming areas can be reduced [12]. This requires localized vertical farming approaches with an optimization of the production output while minimizing required resources and space. One possible automation approach is autonomic management which we have already applied in related areas [13].
Newly projects often focus on holistic approaches that include not only farming technology but rather building design and structure and societal factors for acceptance of vertical farming projects [12]. Another factor is that agricultural land can be substituted and used to restore natural landscape and allow for much needed ecosystems to evolve [10]. Vertical farming technologies exist but still many factors rely on experience.

Indoor Farming Support as a Service (IFSaaS)
The target of the project Agri-Tec 4.0 1 is to design and construct a cloud-based control system that provides a self adapting, yet safe and secure service for indoor farming. The goal is to develop an Indoor Farming Support as a Service(IFSaaS) prototype that allows for a safe and secure integration of multiple heterogeneous devices and 1 https://www.forschung-burgenland.at/it/agritec/, accessed 29.07.2020. optimization of the growing process. The service is focused on security aspects of IoT systems and thus integrations of a large amount of constrained devices. These measure and further control environmental conditions such as temperature, wind, etc. The cloud system enables integration of multiple sites and focuses on multitenancy, self-adaption of the growing units and scalability of the overall system. Setting it up in this way also allows to have a localized production (e.g. near consumption points) with a centralized and overarching control for multiple sites. The model for the IFSaaS is presented in Fig. 1.
For this purpose a combination of different computing layers are used. The upmost layer is the cloud layer that inhabits servers for data storage and controlling of underlying systems as well as for setting up a Virtual Private Network (VPN). The underlying layer is comprised of edge routers in the form of Raspberry Pi Model 4's 2 that contain ioBroker 3 and Node-Red. 4 These allow for data processing and storage. The last layer comprises of various fog nodes in the form of microcontrollers, e.g. Merkurboard, 5 that measure and control the environment parameters via sensors and actuators. For a visual depiction see Fig. 2.

Evaluated and combined technology for indoor farming
In this section we present our test environment for indoor farming in which we integrated a set of evaluated technologies. A black box, nicknamed Cubus, with dimensions of approximately 2.5x3x2.5 (length x width x height) meters was designed and constructed at the premises. It essentially embodies a closed environmental chamber in which optimal conditions for indoor farming are established. Moreover, the Cubus contains the necessary IT and IoT infrastructure. A steel framework represents the basis and is supported and coated by textured coated boards. Each side contains three steel frames that can be opened up like doors and that are coated with a water-repellent fabric to allow for humidity to be kept inside the Cubus. The floor again consists of water-repellent material in case water leaks. On one side there are two shelves which contain IT, IoT and other technical infrastructure (screens) and growing equipment. There are also four deep water culture beds for growing salads. A 2 https://www.raspberrypi.org/products/raspberry-pi-4-model-b/, accessed 29.07.2020.  The current IT infrastructure setup consists of a router, a switch, an edgerouter (Raspberry Pi 4), multiple constrained devices and the AgroRobot [8]. For remote visual inspections, a Raspberry Pi camera was installed to display the growing beds. The constrained devices, e.g. Merkurboards, are attached on the growing beds. These boards are battery powered devices that use ContikiOS [14], [15] as an operating system and communicate wirelessly with IEEE 802.15.4, 6 or 6LoWPAN [8]. This protocol enables low energy communication over IPv6. The Constrained Application Protocol (CoAP) is further used as it uses URIs similar to HTTP and is ideal for machine to machine (M2M) communication [16]. Routing Protocol for Low power and Lossy Networks (RPL) [17] is used for the mesh network setup to enable fault-tolerant communication if individual nodes fail. Raspberry Pi 4s act as edgerouters for the Merkurboards and process the sensory data to the cloud system. For control aspects of the IFSaaS we implemented ioBroker. 7 It is a widely used and robust open source IoT platform with multiple ready to use interfaces. In combination with Node-RED, a rapid prototyping tool, it allows us to design and implement control loops for self-adaption. These are designed to optimize the growing process inside the cubus, by processing continuous measurements of environmental factors like humidity, temperature, wind, etc. and activating measures to influence them, e.g. turn on humidifier. Another possible technology for secure and trustworthy communication of the IoT Components is the Arrowhead Framework [18].
A robotic appliance, named AgroRobot, made of a 3D printer motor and food-safe components inhabits six 3D printed growing trays for microgreens. This aeroponic system uses a vertically moving spraying lance to water plant roots with nutrient solution. It is currently controlled by an Arduino Nano 8 and further operates the water pump and artificial lighting of the setup. The AgroRobot can further be controlled via a touchscreen. The visual setup was de-

Conclusion
Taking into account the progress and optimization enabled by the application of ICT, which complements the benefits of vertical farming there is a huge potential regarding environmental protection. In addition, climate change has the potential to threaten food security due to a more dynamic and unforeseeable climate [19]. Vertical farming with the independence from natural climate has here not only the potential to minimize the footprint of food production and to optimize the output for a given set of resources but also to stabilize food production. With investigating optimization approaches for vertical farming we support this approach in the future even more. The presented infrastructure will not only help us to evaluate optimization processes but also help others in reproduction for vertical farming setups. In the future, systems beyond aeroponics, e.g. aquaponic should also be investigated and their integration in the IFSaaS.
Funding Note Open access funding provided by University of Applied Sciences Burgenland. The research has been carried out in the context of the project Agri-Tec 4.0 (FE06), funded by IWB-EFRE 2014-2020.
Publisher's Note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Korbinian Christl is a Junior Research Engineer at the Austrian Institute of Technology. In 2016 Mr. Christl graduated in Business Computer Science at the University of Vienna, Austria. He is currently studying for a master's degree in general computer science and a member of the "Dependable Systems Engineering" Team of the AIT.

Johannes
Knapitsch is a technical engineer and CEO of PhytonIQ Technology. He has decades of experience in robotics, automotive development, LED technology, microcontroller HW and SW, as well as controlling and regulation. He worked in corporations as production manager of a solar cell factory and program director in the development of electronical components for the consumer area.
Martin Parapatits the founder of PhytonIQ, has a broad, interdisciplinary knowledge in different fields of expertise, through his three completed studies in Civil Engineering(TU Vienna), Environmental Sciences (University of Hagen) and Astronomy (University of Vienna). His 20-year experience include technical aspects of building constructions, sales and acquisition activities.