Skip to content

Research · Mar 2026 — Present

Agricultural Digital Twin for Strawberry

Field sensors, mathematical modeling and AI for Andean crops

  • In development
  • Published · ACOFI WEEF 2026
  • RedCOLSI 2026 · National stage
  • Talk · PERUMEC 2026
Private repositoryRead the paper ↗
// projectstrawberry-digital-twin
Role
System architect & technical lead
Team
Team of 5
Client
ETITC — institutional project
Period
Mar 2026 — Present
Category
Research
Code
Private repository

The problem and the value

In Andean strawberry farms, growers decide when to intervene and how much harvest to expect without knowing the actual state of the fruit. That uncertainty leads to mistimed interventions, losses and poor resource planning.

This project is a digital twin that combines field sensors, a mathematical model of fruit development and artificial intelligence to turn that data into agronomic advisory. It is designed to create value at two levels:

For the grower

know the state of the fruit in each zone of the field and get concrete recommendations on when and where to intervene, with no technical background or expensive infrastructure required.

For the farm manager

forecast the expected harvest to plan picking crews, inputs and sales based on data, not intuition.

Every layer of the system exists because it answers a concrete need of the grower. The starting point was the problem, not the technology.

My role

System architect and technical lead. I designed the full 7-layer architecture and I supervise and direct the development of each layer with a team of 5. I personally develop the fruit’s mathematical model, the core of the system.

Architecture

Seven layers that go from field data to a recommendation for the grower, with an orchestration layer that integrates every module and closes the loop.

Seven layers, from field data to recommendationSYSTEM ARCHITECTURESeven layers, from field data to recommendation01Sensor networkField nodes with ESP32-S302StorageTemporal and spatial indexing of field data03Mathematical modelPDEs + ODEs · system core1× / dayStrawberryCoffee+trains04PINNPhysics-informed neural networkLightweight, frequent inference24× / day05Analysis and advisoryTurns results into agronomic recommendations06Grower appRecommendations for the grower and the farm manager07OrchestrationIntegrates modulesand closes the loopfeedbackSwappable layer: changes with the crop; the rest of the architecture is reused

Designed for adoption

A mechanistic model built on PDEs and ODEs is accurate, but expensive to run. If every recommendation depended on it, the system would require computing infrastructure that a rural grower can neither afford nor maintain.

That is why the architecture splits the work into two roles. The mathematical model is the core of the system and the training source for the PINN, a physics-informed neural network. The model runs once a day, while the PINN learns its behavior and reproduces it at a fraction of the cost, enabling hourly inference on a compact self-hosted server, with no dependence on expensive cloud computing.

The result: scientific rigor is preserved, operating costs go down and the barrier to entry for the grower is lowered.

One architecture, many crops

The system was designed so that the crop is a swappable component. Moving from strawberry to another crop only requires replacing the mathematical model layer: the PINN is retrained from the new model, while the sensors, server, analysis, orchestration and grower app are reused as they are. This is possible because the Rust core treats each module as an independent block, regardless of the language it is written in: replacing the model does not touch the rest of the system.

Each new crop starts from infrastructure that is already built and proven, not from scratch. Strawberry is the first case; coffee is the next candidate.

Solver technical details

The fruit is represented as a set of tissue zones (skin, flesh and core) that ripen at different rates, each with its own state. At every time step, the solver runs three stages per zone:

1. Hormonal signals. Evaluates the partial differential equations that describe hormonal signaling.

∂[IAA]∂t=D ∇2[IAA]−∇⋅(vPIN[IAA])−kdeg[IAA]+∑iSi δ(x−xi)\frac{\partial [IAA]}{\partial t} = D\,\nabla^2[IAA] - \nabla\cdot(\mathbf{v}_{PIN}[IAA]) - k_{deg}[IAA] + \sum_i S_i\,\delta(\mathbf{x}-\mathbf{x}_i)

Auxin transport within the fruit: diffusion, polar transport, degradation and input from each achene.

2. Rate adjustment. Uses those concentrations to adjust the metabolic coefficients.

v=Vmax [S]Km+[S]  e−Ea/RTv = V_{max}\,\frac{[S]}{K_m + [S]}\; e^{-E_a/RT}

Temperature-dependent enzyme kinetics; the basis of every reaction in the fruit.

3. Metabolism and quality. Integrates the differential equations that update growth and quality.

Firmness=Fmax([Pec][Pec]0)βFirmness = F_{max}\left(\frac{[Pec]}{[Pec]_0}\right)^{\beta}

Firmness is not imposed: it emerges from pectin breakdown.

A state machine governs the fruit’s four development stages. The simulation spans 40 days with a 1-hour step (960 steps), with in-memory computation in NumPy/SciPy and history persisted to HDF5. Current parameters come from related species; calibration with Colombian field data is planned for Phase II.

Current status

From field sensor to self-hosted serverMVP DEPLOYMENTFrom field sensor to self-hosted serverGATEWAYGROWERFIELDE1E2E3E4EnNode = ESP32-S3 + sensorsGraph defined at installation:each ESP32 holds a fixed positionwirelessRaspberry Pi 4Ubuntu · gatewayCollects and sends as JSON{"esp": "E3","t": "10:30","data": {…}}every 30 minSELF-HOSTED SERVERMac mini M6Self-hosted server nodeRust coreOrchestrates multi-language modulesData → node mappingby ESP32 IDMathematical modelPythonPINNtrained by the modelAnalysis and advisoryresults → recommendationsGrowerappNearly completeIn development / integrationDesigned / not startedCrop-swappable module

Field

sensor network

  • In integration

Each sensor is paired with an ESP32-S3 that transmits wirelessly to a Raspberry Pi 4 running Ubuntu. The field is mapped as a graph during installation, and each ESP32 holds a fixed position in it. The Pi acts purely as a gateway: it packages each reading as JSON with the ID of the ESP32 that produced it and sends it to the server every 30 minutes, where it is assigned to the corresponding node. Hardware acquired, gateway in development.

Intelligence

mathematical model + PINN

  • Model nearly complete
  • PINN designed

The PINN is trained on the model, so its development starts once the model is finalized.

Advisory

data analysis

  • Not started

Analyzes the outputs of the model and the PINN to turn them into concrete agronomic recommendations for the grower. Its development depends on having the PINN running.

Platform

server and orchestration

  • In development toward the MVP

The MVP will be deployed on a self-hosted server node (Mac mini M6), part of a server that hosts several projects. That node will receive the field data and run the model and the PINN. Its Rust core orchestrates the system’s modules and integrates blocks written in other languages, closing the loop from field data to recommendation.

Next steps

Finalize the model → build and train the PINN → build the analysis and advisory layer. In parallel, the platform moves toward the MVP and its deployment on the server node. In Phase II, experimental calibration with AGROSAVIA. A collaboration with a university research group is also being explored to extend the architecture to other crops.

Stack

Field
  • ESP32-S3
  • Raspberry Pi 4
  • Ubuntu
Server
  • Rust
  • self-hosted Mac mini M6 (MVP target)
Modeling
  • Python
  • NumPy
  • SciPy
  • HDF5
AI
  • Physics-Informed Neural Network (PINN)

🔒 Private code: institutional project of ETITC.

Talks & presentations

  • Presenter standing between two people next to the poster on the mathematical model of strawberry growth, with a laptop showing the digital twin
  • Presenter standing next to the poster on the mathematical model of strawberry growth at WEEF 2026 in Cartagena
  • Attendees talking in front of the research posters in the exhibition hall at WEEF 2026
  • Group photo on stage in front of the ACOFI screen at WEEF 2026
  • Team gathered around a table with an electronics kit and a VR headset, taking a selfie
  • Group selfie with event lanyards outside, in front of a Universidad Nacional de Colombia tent
1 of 6