Next Article in Journal
Sowing Date Regulates Japonica Rice Yield by Modulating Grain Weight and the Proportion of Grains in Secondary-to-Primary Branches
Previous Article in Journal
Application of Metaheuristic Optimisation Techniques for the Optimisation of a Solid-State Circuit Breaker
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

Natural-Language Relay Control for a SISO Thermal Plant: A Proof-of-Concept with Validation Against a Conventional Hysteresis Controller

1
IKERLAN Technology Research Centre, Paseo José María Arizmendiarrieta 2, 20500 Arrasate-Mondragon, Spain
2
Department of Systems Engineering and Automation, Faculty of Engineering—Vitoria-Gasteiz, University of the Basque Country (UPV/EHU), Nieves Cano 12, 01006 Vitoria-Gasteiz, Spain
*
Author to whom correspondence should be addressed.
Appl. Sci. 2025, 15(24), 12986; https://doi.org/10.3390/app152412986
Submission received: 30 October 2025 / Revised: 1 December 2025 / Accepted: 7 December 2025 / Published: 9 December 2025
(This article belongs to the Section Computing and Artificial Intelligence)

Abstract

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.
Keywords: LLM-in-the-loop; relay control; hysteresis; deadband; SISO thermal; validation; closed-loop; deterministic decoding LLM-in-the-loop; relay control; hysteresis; deadband; SISO thermal; validation; closed-loop; deterministic decoding

Share and Cite

MDPI and ACS Style

Rojas-Ordoñez, S.; Segura, M.; Mendoza, V.; Fernandez, U.; Zulueta, E. Natural-Language Relay Control for a SISO Thermal Plant: A Proof-of-Concept with Validation Against a Conventional Hysteresis Controller. Appl. Sci. 2025, 15, 12986. https://doi.org/10.3390/app152412986

AMA Style

Rojas-Ordoñez S, Segura M, Mendoza V, Fernandez U, Zulueta E. Natural-Language Relay Control for a SISO Thermal Plant: A Proof-of-Concept with Validation Against a Conventional Hysteresis Controller. Applied Sciences. 2025; 15(24):12986. https://doi.org/10.3390/app152412986

Chicago/Turabian Style

Rojas-Ordoñez, Sebastian, Mikel Segura, Veronica Mendoza, Unai Fernandez, and Ekaitz Zulueta. 2025. "Natural-Language Relay Control for a SISO Thermal Plant: A Proof-of-Concept with Validation Against a Conventional Hysteresis Controller" Applied Sciences 15, no. 24: 12986. https://doi.org/10.3390/app152412986

APA Style

Rojas-Ordoñez, S., Segura, M., Mendoza, V., Fernandez, U., & Zulueta, E. (2025). Natural-Language Relay Control for a SISO Thermal Plant: A Proof-of-Concept with Validation Against a Conventional Hysteresis Controller. Applied Sciences, 15(24), 12986. https://doi.org/10.3390/app152412986

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop