Agrosystems, Geosciences & Environment (Dec 2024)

Comparative analysis of RNN versus IIR digital filtering to optimize resilience to dynamic perturbations in pH sensing for vertical farming

  • Rolando Hinojosa‐Meza,
  • Martín Montes Rivera,
  • Paulino Vacas‐Jacques,
  • Nivia Escalante‐Garcia,
  • José Alonso Dena‐Aguilar,
  • Aldonso Becerra Sanchez,
  • Ernesto Olvera‐Gonzalez

DOI
https://doi.org/10.1002/agg2.70001
Journal volume & issue
Vol. 7, no. 4
pp. n/a – n/a

Abstract

Read online

Abstract Vertical farming (VF) refers to systems of agriculture where crops are grown in trays stacked vertically by exposing them to artificial light and using sensing technology to improve product quality and yield. In this work, we propose an advanced filtering scheme based on recurrent neural networks (RNNs) and deep learning to enable efficient control strategies for VF applications. We demonstrate that the best RNN model incorporates five neuron layers, with the first and second containing 90 long short‐term memory neurons. The third layer implements one gated recurrent units neuron. The fourth segment incorporates one RNN network, while the output layer is designed by using a single neuron exhibiting a rectified linear activation function. By utilizing this RNN digital filter, we introduce two variations: (1) a scaled RNN model to tune the filter to the signal of interest, and (2) a moving average filter to eliminate harmonic oscillations of the output waveforms. The RNN models are contrasted with conventional digital Butterworth, Chebyshev I, Chebyshev II, and elliptic infinite impulse response (IIR) configurations. The RNN digital filtering schemes avoid introducing unwanted oscillations, which makes them more suitable for VF than their IIR counterparts. Finally, by utilizing the advanced features of scaling of the RNN model, we demonstrate that the RNN digital filter can be pH selective, as opposed to conventional IIR filters.