This is an old revision of the document!
Core Principles & Design Philosophy
The Afritic Open Farming Standard (AOFS) is built on a set of guiding principles that ensure safety, reliability, scalability, and productive use of resources. These principles form the foundation for all AOFS-compliant systems, controllers, and modules.
AOFS is designed not only to be safe and fail-proof, but also to be smart — capable of learning, predicting, and optimizing operations in environments where infrastructure is intermittent or unreliable. This is especially relevant in regions of Africa, where grid power or water supply may only be available sporadically. AOFS can observe patterns, estimate probabilities, and make intelligent decisions while always respecting local safety thresholds.
1. Local Autonomy
Critical irrigation, safety, and operational functions must operate independently of external connectivity.
Controllers are offline-first, enabling uninterrupted operation even if network or cloud access is unavailable.
Failures in upstream systems (farm HQ or cloud) cannot compromise safety-critical operations.
AOFS can learn patterns of intermittent grid power and water availability. When predictive sensors are installed:
The system can anticipate when power or water is likely to be available.
Decisions such as starting pumps or activating high-load equipment are based on both current measurements and probability estimates, optimizing cost and efficiency.
All predictive actions are subject to local fail-safe limits, ensuring safety under all conditions.
2. Fail-Safe Operation
Hardware and software safeguards prevent:
Sensors and actuators enforce local safety decisions independently of higher-level controllers.
Redundant or passive protection mechanisms (float switches, overflow pipes, battery cutoffs) must be included.
Even when using predictive knowledge of grid availability:
AOFS immediately disconnects power if voltage, current, or frequency are outside safe limits.
AOFS never allows predictive logic to override mandatory water levels, protecting crops and livestock.
3. Separation of Control and Supervision
Field Controllers make authoritative operational decisions.
Farm and HQ Controllers monitor, configure, and analyze — they cannot override critical safety logic locally.
Predictive or probabilistic data (grid power or water availability) is advisory: the Field Controller decides how and when to act based on safety and operational rules.
Human operators can supervise and adjust parameters, but local safety constraints always take precedence.
4. Scalability & Replicability
AOFS supports a wide range of farm sizes, from smallholder plots to multi-hectare commercial operations.
Architecture, data models, and interfaces are designed to be modular, replicable, and extensible across farm types and geographies.
Adding new zones, sensors, or modules does not require redesign of the core system, including predictive grid-aware logic.
5. Smart, Productive Use of Electricity & Water
AOFS promotes efficient, intelligent use of electricity and water, adapting to resource availability while protecting equipment.
For electricity:
Sensors measure not just whether grid power is present, but voltage, current, frequency, and fluctuations.
AOFS can operate high-power relays safely, only using grid power when within safe parameters.
Overvoltage, undervoltage, or unsafe frequency triggers immediate disconnect, preventing equipment damage.
For water:
Sensors track grid water availability and tank levels.
AOFS learns supply patterns: if there’s a high probability of water arriving tonight, the system can delay pumping from wells.
If probability is low, AOFS can fill tanks partially to meet mandatory minimums, avoiding overuse of costly generator or well water.
This predictive capability allows AOFS to optimize energy costs, reduce wear on equipment, and ensure continuous farm operation, even under intermittent infrastructure.
6. Data-Driven Optimization
All AOFS deployments collect timestamped, structured data from sensors and human input.
Predictive measurements for grid power and water availability, decisions made, and outcomes are logged for future learning, enabling continuous improvement of probabilistic models.
This allows:
Farm-level analytics
Optimization of irrigation, feed, and operational schedules
Research and experimental comparisons across fields, modules, or livestock units
Transparent, auditable decision-making even for complex probabilistic logic
7. Modular & Extendable Design
AOFS is modular, allowing additional modules (poultry, livestock, greenhouse) to integrate seamlessly.
Predictive logic modules can augment operations but cannot override core safety compliance.
Standardized interfaces allow third-party developers to extend predictive, smart behavior without compromising system integrity.
8. Transparency & Documentation
Every action, sensor reading, human input, and predictive decision must be logged and timestamped.
Documentation ensures auditability, regulatory compliance, and reproducibility, including probabilistic decisions regarding power and water.
References