Natural-Language Relay Control for a SISO Thermal Plant: A Proof-of-Concept with Validation Against a Conventional Hysteresis Controller
This paper presents a proof-of-concept for a natural-language-based closed-loop controller that regulates the temperature of a simple single-input single-output (SISO) thermal process. The key idea is to express a relay-with-hysteresis policy in plain English and let a local large language model (LLM) interpret sensor readings and output a binary actuation command at each sampling step. Beyond interface convenience, we demonstrate that natural language can serve as a valid medium for modeling physical reality and executing deterministic reasoning in control loops. We implement a compact plant model and compare two controllers: a conventional coded relay and an LLM-driven controller prompted with the same logic and constrained to a single-token output. The workflow integrates schema validation, retries, and a safe fallback, while a stepwise evaluator checks agreement with the baseline. In a long-horizon (1000-step) simulation, the language controller reproduces the hysteresis behavior with matching switching patterns. Furthermore, sensitivity and ablation studies demonstrate the system’s robustness to measurement noise and the LLM’s ability to correctly execute the hysteresis policy, thereby preserving the theoretical robustness inherent to this control law. This work demonstrates that, for slow thermal dynamics, natural-language policies can achieve comparable performance to classical relay systems while providing a transparent, human-readable interface and facilitating rapid iteration.
Authors
- Verónica Monserrate Mendoza-Fernández (ORCID: https://orcid.org/0000-0002-4327-1797)
- Mikel Segura (ORCID: https://orcid.org/0000-0002-8782-5464)
- Unai Fernández‐Gámiz (ORCID: https://orcid.org/0000-0001-9194-2009)
- Ekaitz Zulueta (ORCID: https://orcid.org/0000-0001-6062-9343)
- Sebastian Rojas-Ordoñez (ORCID: https://orcid.org/0009-0000-5142-1284)
Institutions
- University of the Basque Country (ES)
- GAIKER Technology Centre (ES)
- Ikerlan (ES)
- Centro de Tecnologías Aeronauticas (Spain) (ES)
Publication Details
- Journal
- Applied Sciences
- Published
- 2025-12-09
- DOI
- https://doi.org/10.3390/app152412986
- Primary Topic
- Neural Networks and Reservoir Computing
- Type
- article
- Field-Weighted Citation Impact
- 0.00