{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,1,24]],"date-time":"2026-01-24T17:09:27Z","timestamp":1769274567580,"version":"3.49.0"},"reference-count":36,"publisher":"MDPI AG","issue":"3","license":[{"start":{"date-parts":[[2022,1,24]],"date-time":"2022-01-24T00:00:00Z","timestamp":1642982400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"publisher","award":["61871133"],"award-info":[{"award-number":["61871133"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"publisher"}]},{"name":"Industry-Academia Collaboration Program of Fujian Universities","award":["2020H6006"],"award-info":[{"award-number":["2020H6006"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>In the actual industrial production process, the method of adaptively tuning proportional\u2013integral\u2013derivative (PID) parameters online by neural network can adapt to different characteristics of different controlled objects better than the controller with PID. However, the commonly used microcontroller unit (MCU) cannot meet the application scenarios of real time and high reliability. Therefore, in this paper, a closed-loop motion control system based on BP neural network (BPNN) PID controller by using a Xilinx field programmable gate array (FPGA) solution is proposed. In the design of the controller, it is divided into several sub-modules according to the modular design idea. The forward propagation module is used to complete the forward propagation operation from the input layer to the output layer. The PID module implements the mapping of PID arithmetic to register transfer level (RTL) and is responsible for completing the output of control amount. The main state machine module generates enable signals that control the sequential execution of each sub-module. The error backpropagation and weight update module completes the update of the weights of each layer of the network. The peripheral modules of the control system are divided into two main parts. The speed measurement module completes the acquisition of the output pulse signal of the encoder and the measurement of the motor speed. The pulse width modulation (PWM) signal generation module generates PWM waves with different duty cycles to control the rotation speed of the motor. A co-simulation of Modelsim and Simulink is used to simulate and verify the system, and a test analysis is also performed on the development platform. The results show that the proposed system can realize the self-tuning of PID control parameters, and also has the characteristics of reliable performance, high real-time performance, and strong anti-interference. Compared with MCU, the convergence speed is far more than three orders of magnitude, which proves its superiority.<\/jats:p>","DOI":"10.3390\/s22030889","type":"journal-article","created":{"date-parts":[[2022,1,25]],"date-time":"2022-01-25T21:07:11Z","timestamp":1643144831000},"page":"889","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":43,"title":["A Design of FPGA-Based Neural Network PID Controller for Motion Control System"],"prefix":"10.3390","volume":"22","author":[{"given":"Jun","family":"Wang","sequence":"first","affiliation":[{"name":"College of Electrical Engineering and Automation, Fuzhou University, Fuzhou 350116, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Moudao","family":"Li","sequence":"additional","affiliation":[{"name":"College of Electrical Engineering and Automation, Fuzhou University, Fuzhou 350116, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Weibin","family":"Jiang","sequence":"additional","affiliation":[{"name":"College of Electrical Engineering and Automation, Fuzhou University, Fuzhou 350116, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1483-2049","authenticated-orcid":false,"given":"Yanwei","family":"Huang","sequence":"additional","affiliation":[{"name":"College of Electrical Engineering and Automation, Fuzhou University, Fuzhou 350116, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Ruiquan","family":"Lin","sequence":"additional","affiliation":[{"name":"College of Electrical Engineering and Automation, Fuzhou University, Fuzhou 350116, China"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1968","published-online":{"date-parts":[[2022,1,24]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"559","DOI":"10.1109\/TCST.2005.847331","article-title":"Pid control system analysis, design, and technology","volume":"13","author":"Ang","year":"2005","journal-title":"IEEE Trans. Contr Syst. Tech."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"252","DOI":"10.1016\/j.procs.2019.05.019","article-title":"Comparison of fuzzy-pid and pid controller for speed control of dc motor using labview","volume":"152","author":"Somwanshi","year":"2005","journal-title":"Procedia Comput. Sci."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"79","DOI":"10.1016\/j.neucom.2013.03.065","article-title":"An adaptive pid neural network for complex nonlinear system control","volume":"135","author":"Kang","year":"2014","journal-title":"Neurocomputing"},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"Ngo, H.Q.T., Nguven, H.D., and Truong, Q.V. (2020, January 25\u201327). A design of pid controller using fpga-realization for motion control systems. Proceedings of the 2020 International Conference on Advanced Computing and Applications (ACOMP), Quy Nhon, Vietnam.","DOI":"10.1109\/ACOMP50827.2020.00030"},{"key":"ref_5","first-page":"29","article-title":"Simulink simulation of bp neural network pid controller based on s-function","volume":"22","author":"Yang","year":"2014","journal-title":"Electron. Des. Eng."},{"key":"ref_6","first-page":"106","article-title":"Design and implementation of neural network pid controller based on fpga","volume":"10","author":"Wei","year":"2017","journal-title":"Autom. Instrum."},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Bari, S., Zehra Hamdani, S.S., Khan, H.U., Rehman, M.U., and Khan, H. (2019, January 21\u201322). Artificial neural network based self-tuned pid controller for flight control of quadcopter. Proceedings of the 2019 International Conference on Engineering and Emerging Technologies (ICEET), Lahore, Pakistan.","DOI":"10.1109\/CEET1.2019.8711864"},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Hern\u00e1ndez-Alvarado, R., Garc\u00eda-Valdovinos, L.G., Salgado-Jim\u00e9nez, T., G\u00f3mez-Espinosa, A., and Fonseca-Navarro, F. (2016). Neural Network-Based Self-Tuning PID Control for Underwater Vehicles. Sensors, 16.","DOI":"10.3390\/s16091429"},{"key":"ref_9","first-page":"121","article-title":"Dc motor speed control system based on incremental pid algorithm","volume":"7","author":"Zhu","year":"2017","journal-title":"Instrum. Tech. Sens."},{"key":"ref_10","first-page":"121","article-title":"Research on dc motor control system based on particle swarm optimization algorithm","volume":"41","author":"Liu","year":"2018","journal-title":"Mod. Electron. Tech."},{"key":"ref_11","first-page":"78","article-title":"Design and simulation of a self-driving precision compass based on BP+PID control","volume":"38","author":"Hong","year":"2021","journal-title":"Mech. Des."},{"key":"ref_12","unstructured":"Wang, H., Jiang, H., and Cheng, X. (2015, January 12\u201314). A Design of Flight Control System for Four-Rotor Micro Aerial Vehicle. Proceedings of the 2015 International Conference on Computational Intelligence and Communication Networks (CICN), Jabalpur, India."},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Das, P., Edavoor, P.J., Raveendran, S., and Rahulkar, A.D. (2017, January 3\u20135). Design and implementation of computationally efficient architecture of PID based motion controller for robotic land navigation system in FPGA. Proceedings of the 2017 Conference on Information and Communication Technology (CICT), Gwalior, India.","DOI":"10.1109\/INFOCOMTECH.2017.8340615"},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Liu, J., Liu, M., Pei, D., and Sun, H. (2019, January 8\u201310). Fpga implementation of family service robot based on neural network pid motion control system. Proceedings of the International Conference on Electronic Engineering and Informatics (EEI), Nanjing, China.","DOI":"10.1109\/EEI48997.2019.00073"},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Zhang, Y., and Dai, W. (2021, January 15\u201317). Design and verification of neural network sliding mode controller based on FPGA. Proceedings of the 2021 IEEE International Conference on Consumer Electronics and Computer Engineering (ICCECE), Guangzhou, China.","DOI":"10.1109\/ICCECE51280.2021.9342548"},{"key":"ref_16","first-page":"1733","article-title":"Hardware implementation and improvement of bp neural network based on fpga","volume":"39","author":"Yang","year":"2018","journal-title":"Comput. Eng. Des."},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"331","DOI":"10.1016\/j.sysarc.2019.01.007","article-title":"Bedoui, A survey and taxonomy of fpga-based deep learning accelerators","volume":"98","author":"Blaiech","year":"2019","journal-title":"J. Syst. Archit."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"227","DOI":"10.1016\/j.neucom.2018.04.077","article-title":"Reconfigurable FPGA implementation of neural networks","volume":"308","author":"Hajduk","year":"2018","journal-title":"Neurocomputing"},{"key":"ref_19","first-page":"111","article-title":"FPGA implementation of convolutional neural network based on pipeline architecture","volume":"39","author":"Chui","year":"2021","journal-title":"J. Beijing. Univ. Chem. Tech."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"306","DOI":"10.1016\/j.isatra.2020.12.033","article-title":"Particle swarm optimization aided pid gait controller design for a humanoid robot","volume":"114","author":"Kashyap","year":"2021","journal-title":"ISA Trans."},{"key":"ref_21","unstructured":"Huang, Y. (2010). Parameter Tuning and Realization of PID Controller, Sci Press."},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"108053","DOI":"10.1016\/j.oceaneng.2020.108053","article-title":"Reinforcement learning-based adaptive pid controller for dps","volume":"216","author":"Lee","year":"2020","journal-title":"Ocean Eng."},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Al-Sammarraie, N.A., Al-Mayali, Y.M.H., and El-Ebiary, Y.A.B. (2018, January 11\u201312). Classification and diagnosis using back propagation artificial neural networks (ann). Proceedings of the 2018 International Conference on Smart Computing and Electronic Enterprise (ICSCEE), Shah Alam, Malaysia.","DOI":"10.1109\/ICSCEE.2018.8538383"},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Zhang, Y. (2021, January 12\u201314). Artificial intelligence governance structure association model based on bp neural network. Proceedings of the 2021 IEEE 5th Advanced Information Technology, Electronic and Automation Control Conference (IAEAC), Chongqing, China.","DOI":"10.1109\/IAEAC50856.2021.9390758"},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Pei, G., Yu, M., Xu, Y., Ma, C., Lai, H., Chen, F., and Lin, H. (2021). An Improved PID Controller for the Compliant Constant-Force Actuator Based on BP Neural Network and Smith Predictor. Appl. Sci., 11.","DOI":"10.3390\/app11062685"},{"key":"ref_26","first-page":"1","article-title":"Hysteresis Model of Magnetically Controlled Shape Memory Alloy Based on a PID Neural Network","volume":"51","author":"Zhou","year":"2015","journal-title":"IEEE Tran. Magn."},{"key":"ref_27","doi-asserted-by":"crossref","unstructured":"Montesdeoca-Contreras, J.C., Zambrano-Abad, J.C., Morales-Garcia, J.A., and \u00c1vila-Campoverde, R.S. (2014, January 5\u20137). Virtual speed sensor for DC motor using back-propagation artificial neural networks. Proceedings of the 2014 IEEE International Autumn Meeting on Power, Electronics and Computing (ROPEC), Ixtapa, Mexico.","DOI":"10.1109\/ROPEC.2014.7036283"},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"356","DOI":"10.1109\/TNN.2010.2098481","article-title":"Uniformly Stable Backpropagation Algorithm to Train a Feedforward Neural Network","volume":"22","author":"Rubio","year":"2011","journal-title":"IEEE Trans. Neural Netw."},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"693","DOI":"10.1016\/j.sysarc.2015.07.015","article-title":"An embedded system for handwritten digit recognition","volume":"61","author":"Saldanha","year":"2015","journal-title":"J. Syst. Archit."},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"880","DOI":"10.1109\/TNN.2007.891626","article-title":"Feedforward neural network implementation in fpga using layer multiplexing for effective resource utilization","volume":"18","author":"Himavathi","year":"2007","journal-title":"IEEE Trans. Neural Netw."},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Rozycki, P., Kolbusz, J., Krzos, G., and Wilamowski, B.M. (2019, January 25\u201327). Approximation-based estimation of learning rate for error back propagation algorithm. Proceedings of the 2019 IEEE 23rd International Conference on Intelligent Engineering Systems (INES), G\u00f6d\u00f6ll\u0151, Hungary.","DOI":"10.1109\/INES46365.2019.9109445"},{"key":"ref_32","doi-asserted-by":"crossref","unstructured":"Kolbusz, J., Rozycki, P., Lysenko, O., and Wilamowski, B.M. (2019, January 25\u201327). Error back propagation algorithm with adaptive learning rate. Proceedings of the 2019 International Conference on Information and Digital Technologies (IDT), Zilina, Slovakia.","DOI":"10.1109\/DT.2019.8813440"},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"89602","DOI":"10.1109\/ACCESS.2021.3090918","article-title":"Gradient descent effects on differential neural architecture search: A survey","volume":"9","author":"Santra","year":"2021","journal-title":"IEEE Access"},{"key":"ref_34","unstructured":"Wu, J., and Zhou, M. (2016, January 3\u20135). Digital pid controller designed and realized based on state machine. Proceedings of the 2016 IEEE Advanced Information Management, Communicates, Electronic and Automation Control Conference (IMCEC), Xi\u2019an, China."},{"key":"ref_35","doi-asserted-by":"crossref","unstructured":"Ma, F., Lu, J., Liu, L., and He, Y. (2021, January 18\u201320). Application of improved single neuron adaptive pid control method in the angle predefined loop of active radarseekerforanti-radiationmissile. Proceedings of the 2021 IEEE 4th Advanced Information Management, Communicates, Electronic and Automation Control Conference (IMCEC), Chongqing, China.","DOI":"10.1109\/IMCEC51613.2021.9482241"},{"key":"ref_36","doi-asserted-by":"crossref","unstructured":"Payal, R., Saxena, A., and Chanda, B. (2020, January 30\u201330). Implementation of smart home through fpga using verilog hardware descriptive language. Proceedings of the 2020 IEEE International Conference on Advent Trends in Multidisciplinary Research and Innovation (ICATMRI), Buldhana, India.","DOI":"10.1109\/ICATMRI51801.2020.9398499"}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/22\/3\/889\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T22:06:46Z","timestamp":1760134006000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/22\/3\/889"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,1,24]]},"references-count":36,"journal-issue":{"issue":"3","published-online":{"date-parts":[[2022,2]]}},"alternative-id":["s22030889"],"URL":"https:\/\/doi.org\/10.3390\/s22030889","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2022,1,24]]}}}