Citation
Soon, Siow Wan and Kannan, Subarmaniam and Yogarayan, Sumendra (2026) A Hybrid LSTM–PPO–RBC Edge Controller for Building HVAC: Sim-to-Real Validation on a Raspberry Pi 4. Energies, 19 (21). p. 5084. ISSN 1996-1073|
Text
A Hybrid LSTM--PPO--RBC Edge Controller for Building HVAC_ Sim-to-Real Validation on a Raspberry Pi 4.pdf - Published Version Restricted to Repository staff only Download (5MB) |
Abstract
Deep reinforcement learning (DRL) controllers for heating, ventilation and air conditioning (HVAC) are rarely deployed on real edge hardware or evaluated across climates, and published DRL-HVAC studies seldom report a physical deployment. The contribution here is integration rather than a new algorithm: we build an end-to-end Sim-to-Real deployment of a recurrent proximal policy optimisation (PPO) agent, whose policy network contains a long short-term memory (LSTM) core and is supervised by a rule-based safety shield via the Simplex architecture on a Raspberry Pi 4 and ESP32 edge stack. The recurrent policy is trained once on a Kuala Lumpur EnergyPlus/Sinergym profile of the five-zone VAV archetype and then evaluated without retraining on five further climate profiles (New York, Tokyo, Egypt, Iceland and Saudi Arabia), reaching a comfort-zone compliance rate (CZCR) of 100.00% on New York and Kuala Lumpur, 99.50% on Tokyo, 99.65% on Iceland, 97.24% on Saudi Arabia and 93.50% on Egypt (single-run training). A ten-seed re-run on the training climate confirms 100.00% CZCR and 0 violations in every seed, with energy varying by a 2.3% coefficient of variation (mean 29,332.68 ± 673.30 kWh). The cross-climate transfer figures above remain single-run. A matched-climate PPO baseline, retrained directly on Kuala Lumpur rather than zero-shot transferred from New York, also reaches 100.00% CZCR at 13.2% less energy than the hybrid, showing that the hybrid’s energy premium on this climate is larger, not smaller, once the training climate confound in the original baseline comparison is removed. A two-sided safety shield (23.2–25.8 ∘C triggers) is shown, against an archived upper-bound-only configuration, to reduce overcool violations from 4124 (88.20% CZCR) to zero on the same climate. On a physical benchtop hardware-in-the-loop (HIL) testbed, three repeated 30 min trials, selected post hoc as the cleanest window from each of three evening sessions (the same three sessions’ full-length CZCR values are 98.02%, 97.22%, and 91.50%), record a 100.00% CZCR within the selected windows and a predicted mean vote (PMV) of 0.043 ± 0.023, and the system self-heals from a 12 min 42 s router outage with a +0.06 ∘C thermal drift. On-device inference takes 112.9 ms on the Raspberry Pi 4 (
| Item Type: | Article |
|---|---|
| Uncontrolled Keywords: | Deep reinforcement learning, edge computing |
| Subjects: | Q Science > QA Mathematics > QA71-90 Instruments and machines > QA75.5-76.95 Electronic computers. Computer science |
| Divisions: | Faculty of Information Science and Technology (FIST) |
| Depositing User: | Ms Rosnani Abd Wahab |
| Date Deposited: | 01 Dec 2026 03:55 |
| Last Modified: | 01 Dec 2026 03:55 |
| URII: | http://shdl.mmu.edu.my/id/eprint/17110 |
Downloads
Downloads per month over past year
Edit (login required) |
