Skip to main navigation Skip to search Skip to main content

Tiny-AMPC: Hardware-Aware Compression of MLP Controllers for Mixed-Integer MPC

  • Huayu JIANG (Invited speaker)

Activity: Talk or presentation › Contributed

Description

Smart control of residential fixed-frequency ACs is increasingly important for improving energy flexibility and reducing operating costs under dynamic electricity prices. However, mixed-integer model predictive control (MI-MPC), despite its good control performance, remains difficult to execute on low-cost thermostat hardware because of its high computational complexity. This paper proposes Tiny-AMPC, a practical controller that distills the control policy of MI-MPC into compact multilayer perceptrons (MLPs) and systematically compresses them for embedded deployment. To characterize the trade-off between control performance and hardware efficiency, we evaluate post-training quantization (PTQ), quantization-aware training (QAT), pruning, and pruning combined with QAT across multiple MLP sizes.

The compressed MLPs are evaluated in BOPTEST for residential HVAC operation under both peak and typical heating scenarios. Performance is evaluated in terms of thermal discomfort, electricity cost, switching behaviours, and system overhead. The results show that pruning reduces parameter count and storage cost, and its combination with QAT yields the most favorable compromise between control performance and model size. The best-performing model is a two-layer MLP compressed by 90% pruning plus QAT, which achieves near-baseline control performance while remaining small enough for embedded execution. The controller is successfully deployed on an STM32H753 microcontroller, confirming the feasibility of low-cost edge deployment. The study demonstrates a practical approach for bringing smart building control from host computers to low-cost edge equipment.
Period27 Apr 2026
Event titleIBPSA Education Webinars Series 6: BOPTEST
Event typeOther