N. Mohanty, Chaitanya Jugade, Vaishali Patne, Deepak D. Ingole, D. Sonawane
{"title":"FPGA Implementation of Low Complexity Nonlinear Model Predictive Control Using Deep Learning Approach","authors":"N. Mohanty, Chaitanya Jugade, Vaishali Patne, Deepak D. Ingole, D. Sonawane","doi":"10.1109/ICC56513.2022.10093340","DOIUrl":null,"url":null,"abstract":"The main bottleneck in the embedded real-time implementation of nonlinear model predictive control (NMPC) is to solve a complex online optimization problem within a sample time on resource-limited hardware. This computational complexity limits its applicability in real-time control applications running on embedded hardware. Motivated by the recent developments in machine learning methods, our idea is to approximate standard NMPC control law with deep neural networks (DNNs) for a nonlinear system. The developed DNN-based NMPC is implemented on a field-programmable gate array (FPGA) using low-level C/C++ code, where the activation function is evaluated at each sample time. The performance of the proposed DNN-NMPC is demonstrated with a flying robot control application. The proposed DNN-NMPC is compared with the standard NMPC implemented on the same FPGA board (Xilinx's ZYNQ-7000 SoC ZC706). The hardware-in-the-loop (HIL) co-simulation results of both controllers are presented with a detailed analysis of computational complexity, memory utilization, clock speed, and power utilization. Results show that the FPGA-based DNN-NMPC is fast, resource-efficient, and delivers comparable closed-loop performance compared to standard NMPC. The proposed framework allows one to use an NMPC for systems with high computational complexity, significant resource demand and on low-cost embedded hardware like microcontrollers, digital signal processors (DSPs), programmable logic controllers (PLCs), etc.","PeriodicalId":101654,"journal":{"name":"2022 Eighth Indian Control Conference (ICC)","volume":"19 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-12-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 Eighth Indian Control Conference (ICC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICC56513.2022.10093340","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
The main bottleneck in the embedded real-time implementation of nonlinear model predictive control (NMPC) is to solve a complex online optimization problem within a sample time on resource-limited hardware. This computational complexity limits its applicability in real-time control applications running on embedded hardware. Motivated by the recent developments in machine learning methods, our idea is to approximate standard NMPC control law with deep neural networks (DNNs) for a nonlinear system. The developed DNN-based NMPC is implemented on a field-programmable gate array (FPGA) using low-level C/C++ code, where the activation function is evaluated at each sample time. The performance of the proposed DNN-NMPC is demonstrated with a flying robot control application. The proposed DNN-NMPC is compared with the standard NMPC implemented on the same FPGA board (Xilinx's ZYNQ-7000 SoC ZC706). The hardware-in-the-loop (HIL) co-simulation results of both controllers are presented with a detailed analysis of computational complexity, memory utilization, clock speed, and power utilization. Results show that the FPGA-based DNN-NMPC is fast, resource-efficient, and delivers comparable closed-loop performance compared to standard NMPC. The proposed framework allows one to use an NMPC for systems with high computational complexity, significant resource demand and on low-cost embedded hardware like microcontrollers, digital signal processors (DSPs), programmable logic controllers (PLCs), etc.