FPGA Implementation of Low Complexity Nonlinear Model Predictive Control Using Deep Learning Approach

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.
基于深度学习的低复杂度非线性模型预测控制的FPGA实现
嵌入式实时实现非线性模型预测控制(NMPC)的主要瓶颈是在资源有限的硬件上,在样本时间内解决复杂的在线优化问题。这种计算复杂性限制了其在嵌入式硬件上运行的实时控制应用中的适用性。受机器学习方法最新发展的启发,我们的想法是用深度神经网络(dnn)近似非线性系统的标准NMPC控制律。开发的基于dnn的NMPC在现场可编程门阵列(FPGA)上使用低级C/ c++代码实现,其中在每个采样时间对激活函数进行评估。通过一个飞行机器人控制应用验证了所提出的DNN-NMPC的性能。提出的DNN-NMPC与在同一FPGA板(Xilinx的ZYNQ-7000 SoC ZC706)上实现的标准NMPC进行了比较。给出了两种控制器的硬件在环(HIL)联合仿真结果,并详细分析了计算复杂度、内存利用率、时钟速度和功耗。结果表明,与标准NMPC相比,基于fpga的DNN-NMPC具有快速、资源高效和可媲美的闭环性能。所提出的框架允许将NMPC用于具有高计算复杂性,显著资源需求和低成本嵌入式硬件(如微控制器,数字信号处理器(dsp),可编程逻辑控制器(plc)等)的系统。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信