FPGA Implementation of Artificial Neural Networks for Model Predictive Control

Vaasquez; J.J.; Cortés; A.; Silva; C.; Agüero; J.C.; Carvajal; G.

Keywords: artificial neural network; field programmable gate array; hls4ml; model predictive control; quantization

Abstract

Traditionally, the real-time implementation of Model Predictive Control (MPC) has been limited by processing and storage requirements. Recently, the idea of using Artificial Neural Networks (ANN) to approximate MPC control laws, including implementations on Field Programmable Gate Array (FPGA), has been explored. This work presents a complete design flow from software controller to hardware implementation, utilizing Keras and QKeras for ANN design and quantization and HLS4ML with the AMD-Xilinx Design Suite for FPGA implementation. The evaluation and analysis conducted provides insights into the trade-offs involved in the proposed workflow. Experimental results are validated on a PYNQ-Z1 board, achieving latencies of less than one microsecond in the case study, demonstrating a hardware precision comparable to traditional MPC methods.

Más información

Título según SCOPUS: FPGA Implementation of Artificial Neural Networks for Model Predictive Control
Título de la Revista: 2024 IEEE International Conference on Automation/26th Congress of the Chilean Association of Automatic Control, ICA-ACCA 2024
Editorial: Institute of Electrical and Electronics Engineers Inc.
Fecha de publicación: 2024
Idioma: Spanish
DOI:

10.1109/ICA-ACCA62622.2024.10766458

Notas: SCOPUS