Journal of Agricultural Machinery (Sep 2020)

Prediction the inside variables of even-span glass greenhouse with special structure by artificial neural network (MLP-RBF) models

  • M Hamdani,
  • M Taki,
  • M Rahnama,
  • A Rohani,
  • M Rahmati-Joneidabad

DOI
https://doi.org/10.22067/jam.v10i2.72346
Journal volume & issue
Vol. 10, no. 2
pp. 213 – 227

Abstract

Read online

Introduction Controlling greenhouse microclimate not only influences the growth of plants, but is also critical in the spread of diseases inside the greenhouse. The microclimate parameters are inside air, roof, crop and soil temperature, relative humidity, light intensity, and carbon dioxide concentration. Predicting the microclimate conditions inside a greenhouse and enabling the use of automatic control systems are the two main objectives of greenhouse climate model. The microclimate inside a greenhouse can be predicted by conducting experiments or by using simulation. Static and dynamic models and also artificial neural networks (ANNs) are used for this purpose as a function of the metrological conditions and the parameters of the greenhouse components. Usually thermal simulation has a lot of problems to predict the inside climate of greenhouse and the error of simulation is higher in literature. So the main objective of this paper is comparison between two types of artificial neural networks (MLP and RBF) for prediction 4 inside variables in an even-span glass greenhouse and help the development of simulation science in estimating the inside variables of intelligent greenhouses. Materials and Methods In this research, different sensors were used for collecting the temperature, solar, humidity and wind data. These sensors were used in different positions inside the greenhouse. After collecting the data, two types of ANNs were used with LM and Br training algorithms for prediction the inside variables in an even-span glass greenhouse in Mollasani, Ahvaz. MLP is a feed-forward layered network with one input layer, one output layer, and some hidden layers. Every node computes a weighted sum of its inputs and passes the sum through a soft nonlinearity. The soft nonlinearity or activity function of neurons should be non-decreasing and differentiable. One type of ANN is the radial basis function (RBF) neural network which uses radial basis functions as activation functions. An RBF has a single hidden layer. Each node of the hidden layer has a parameter vector called center. This center is used to compare with the network input vector to produce a radially symmetrical response. Responses of the hidden layer are scaled by the connection weights of the output layer and then combined to produce the network output. There are many types of cross-validation, such as repeated random sub-sampling validation, K-fold cross-validation, K×2 cross-validation, leave-one-out cross-validation and so on. In this study, we pick up K-fold cross- validation for selecting parameters of model. The K-fold cross-validation is a technique of dividing the original sample randomly into K sub-samples. Different performance criteria have been used in literature to assess model’s predictive ability. The mean absolute percentage error (MAPE), root mean square error (RMSE) and coefficient of determination (R2) are selected to evaluate the forecast accuracy of the models in this study. Results and Discussion The results of neural networks optimization models with different networks, dependent on the initial random values of the synaptic weights. So, the results in general will not be the same in two different trials even if the same training data have been used. So in this research K-fold cross validation was used and different data samples were made for train and test of ANN models. The results showed that trainlm for both of MLP and RBF models has the lower error than trainbr. Also MLP and RBF were trained with 40 and 80% of total data and results indicated that RBF has the lowest sensitivity to the size data. Comparison between RBF and MLP model showed that, RBF has the lowest error for prediction all the inside variables in greenhouse (Ta, Tp, Tri, Rha). In this paper, we tried to show the fact that innovative methods are simple and more accurate than physical heat and mass transfer method to predict the environment changes. Furthermore, this method can use to predict other changes in greenhouse such as final yield, evapotranspiration, humidity, cracking on the fruit, CO2 emission and so on. So the future research will focus on the other soft computing models such as ANFIS, GPR, Time Series and … to select the best one for modeling and finally online control of greenhouse in all climate and different environment. Conclusion This research presents a comparison between two models of Artificial Neural Network (RBF-MLP) to predict 4 inside variables (Ta, Tp, Tri, Rha) in an even-span glass greenhouse. Comparison of the models indicated that RBF has lower error. The range of RMSE and MAPE factors for RBF model to predict all inside variables were between 0.25-0.55 and 0.60-1.10, respectively. Besides the results showed that RBF model can estimate all the inside variables with small size of data for training. Such forecasts can be used by farmers as an appropriate advanced notice for changes in temperatures. Thus, they can apply preventative measures to avoid damage caused by extreme temperatures. More specifically, predicting a greenhouse temperature can not only provide a basis for greenhouse environmental management decisions that can reduce the planting risks, but also could be as a basic research for the feedback-feed-forward type of climate control strategy.

Keywords