{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,10,12]],"date-time":"2025-10-12T01:52:51Z","timestamp":1760233971698,"version":"build-2065373602"},"reference-count":35,"publisher":"MDPI AG","issue":"6","license":[{"start":{"date-parts":[[2021,3,12]],"date-time":"2021-03-12T00:00:00Z","timestamp":1615507200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Applied Sciences"],"abstract":"<jats:p>In this article, we designed and implemented neural controllers to control a nonlinear and unstable magnetic levitation system composed of an electromagnet and a magnetic disk. The objective was to evaluate the implementation and performance of neural control algorithms in a low-cost hardware. In a first phase, we designed two classical controllers with the objective to provide the training data for the neural controllers. After, we identified several neural models of the levitation system using Nonlinear AutoRegressive eXogenous (NARX)-type neural networks that were used to emulate the forward dynamics of the system. Finally, we designed and implemented three neural control structures: the inverse controller, the internal model controller, and the model reference controller for the control of the levitation system. The neural controllers were tested on a low-cost Arduino control platform through MATLAB\/Simulink. The experimental results proved the good performance of the neural controllers.<\/jats:p>","DOI":"10.3390\/app11062535","type":"journal-article","created":{"date-parts":[[2021,3,12]],"date-time":"2021-03-12T11:56:55Z","timestamp":1615550215000},"page":"2535","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":8,"title":["Experiments with Neural Networks in the Identification and Control of a Magnetic Levitation System Using a Low-Cost Platform"],"prefix":"10.3390","volume":"11","author":[{"given":"Bruno E.","family":"Silva","sequence":"first","affiliation":[{"name":"Department of Electrical Engineering, Institute of Engineering\u2014Polytechnic of Porto (ISEP\/IPP), Rua Dr. Ant\u00f3nio Bernardino de Almeida, 431, 4249-015 Porto, Portugal"}]},{"given":"Ramiro S.","family":"Barbosa","sequence":"additional","affiliation":[{"name":"Research Group on Intelligent Engineering and Computing for Advanced Innovation and Development (GECAD), Instituto Superior de Engenharia do Porto (ISEP), Rue Dr. Ant\u00f3nio Bernardino de Almeida 431, 4200-072 Porto, Portugal"}]}],"member":"1968","published-online":{"date-parts":[[2021,3,12]]},"reference":[{"key":"ref_1","unstructured":"\u00c5str\u00f6m, K.J., and H\u00e4gglund, T. (1995). PID Controllers: Theory, Design, and Tuning, Instrument Society of America. [2nd ed.]."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"305","DOI":"10.1007\/s11071-004-3763-7","article-title":"Tuning of PID controllers based on Bode\u2019s ideal transfer function","volume":"38","author":"Barbosa","year":"2004","journal-title":"Nonlinear Dyn."},{"key":"ref_3","unstructured":"Passino, K.M., and Yurkovich, S. (1998). Fuzzy Control, Addison-Wesley."},{"key":"ref_4","unstructured":"Passino, K.M. (2005). Biomimicry for Optimization, Control, and Automation, Springer."},{"key":"ref_5","unstructured":"Haykin, S. (2009). Neural Networks and Learning Machines, Pearson. [3rd ed.]."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"220","DOI":"10.1016\/j.isatra.2015.01.006","article-title":"Genetic Optimization of Fuzzy Fractional PD+I Controllers","volume":"57","author":"Jesus","year":"2015","journal-title":"ISA Trans."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"11","DOI":"10.1016\/j.cviu.2017.05.007","article-title":"Systematic evaluation of convolution neural network advances on the Imagenet","volume":"161","author":"Mishkin","year":"2017","journal-title":"Comput. Vis. Image Underst."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"12","DOI":"10.1016\/j.eswa.2019.05.058","article-title":"Analysis of the proficiency of fully connected neural networks in the process of classifying digital images. Benchmark of different classification algorithms on high-level image features from convolutional layers","volume":"135","author":"Janke","year":"2019","journal-title":"Expert Syst. Appl."},{"key":"ref_9","unstructured":"Chen, Y., Shi, Y., and Zhang, B. (2019, January 6\u20139). Optimal Control Via Neural Networks: A Convex Approach. Proceedings of the ICLR 2019\u2014International Conference on Learning Representations, New Orleans, LA, USA."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"10","DOI":"10.1016\/j.neucom.2015.10.006","article-title":"Observer-based adaptive fuzzy-neural-network control for hybrid maglev transportation system","volume":"175","author":"Wai","year":"2016","journal-title":"Neurocomputing"},{"key":"ref_11","first-page":"1642","article-title":"Neural networks for control","volume":"3","author":"Hagan","year":"1999","journal-title":"Proc. Am. Control Conf."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"959","DOI":"10.1002\/rnc.727","article-title":"An introduction to the use of neural networks in control systems","volume":"12","author":"Hagan","year":"2002","journal-title":"Int. J. Robust Nonlinear Control"},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Zhao, S.T., and Gao, X.W. (June, January 31). Neural network adaptive state feedback control of a magnetic levitation system. Proceedings of the 26th Chinese Control and Decision Conference, CCDC 2014, Changsha, China.","DOI":"10.1109\/CCDC.2014.6852423"},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"113","DOI":"10.1016\/j.neucom.2016.09.101","article-title":"Modeling and control with neural networks for a magnetic levitation system","volume":"227","author":"Zhang","year":"2017","journal-title":"Neurocomputing"},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"74","DOI":"10.1088\/0034-4885\/44\/4\/002","article-title":"Electromagnetic suspension and levitation","volume":"44","author":"Jayawant","year":"1981","journal-title":"Rep. Prog. Phys."},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"1216","DOI":"10.1016\/j.isatra.2014.05.015","article-title":"Design and implementation of a 2-DOF PID compensation for magnetic levitation systems","volume":"53","author":"Ghosh","year":"2014","journal-title":"ISA Trans."},{"key":"ref_17","unstructured":"Hyung-Suk, H., and Dong-Sung, K. (2016). Magnetic Levitation\u2014Maglev Technology and Applications, Springer."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"1250","DOI":"10.1016\/j.conengprac.2013.04.009","article-title":"Nonlinear model predictive control of a magnetic levitation system","volume":"21","author":"Hentzelt","year":"2013","journal-title":"Control Eng. Pract."},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"141","DOI":"10.1016\/j.aeue.2017.05.029","article-title":"Real time implementation of fractional order PID controllers for a magnetic levitation plant","volume":"78","author":"Swain","year":"2017","journal-title":"Int. J. Electron. Commun. (AE\u00dc)"},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"312","DOI":"10.1016\/j.engappai.2018.07.005","article-title":"Application of new training methods for neural model reference control","volume":"74","author":"Jafari","year":"2018","journal-title":"Eng. Appl. Artif. Intell."},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"93","DOI":"10.1016\/j.jprocont.2013.10.016","article-title":"A modeling and control approach to magnetic levitation system based on state-dependent ARX model","volume":"24","author":"Qin","year":"2014","journal-title":"J. Process Control"},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"352","DOI":"10.1016\/j.isatra.2015.01.012","article-title":"Favela-Contreras, A. Output feedback control of a mechanical system using magnetic levitation","volume":"57","year":"2015","journal-title":"ISA Trans."},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"327","DOI":"10.1016\/j.isatra.2019.06.020","article-title":"Robust switched control of an air levitation system with minimum sensing","volume":"96","author":"Chaos","year":"2020","journal-title":"ISA Trans."},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Chacon, J., Saenz, J., de la Torre, L., Diaz, J.M., and Esquembre, F. (2017). Design of a Low-Cost Air Levitation System for Teaching Control Engineering. Sensors, 17.","DOI":"10.3390\/s17102321"},{"key":"ref_25","unstructured":"Microsystems, A. (2020, December 09). A1324-A1325-A1326: Low Noise, Linear Hall Effect Sensor ICs. Available online: https:\/\/www.allegromicro.com\/en\/Products\/Sense\/Linear-and-Angular-Position\/Linear-Position-Sensor-ICs\/A1324-5-6."},{"key":"ref_26","unstructured":"Microsystems, A. (2020, May 22). Datasheet ACS711. Available online: https:\/\/static6.arrow.com\/aropdfconversion\/31faf7d62603aaa2b659e4e2e96e413e49963d95\/acs711-datasheet.pdf."},{"key":"ref_27","unstructured":"(2020, December 31). Simulink Support Package for Arduino Hardware. Available online: https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/40312-simulink-support-package-for-arduino-hardware."},{"key":"ref_28","unstructured":"Zeltom LLC (2009). Electromagnetic Levitation System, Zeltom LLC.. Technical report."},{"key":"ref_29","unstructured":"Microchip (2020, May 22). ATmega640\/1280\/1281\/2560\/2561 Datasheet. Available online: https:\/\/ww1.microchip.com\/downloads\/en\/DeviceDoc\/ATmega640-1280-1281-2560-2561-Datasheet-DS40002211A.pdf."},{"key":"ref_30","first-page":"94","article-title":"A Simple Analog Controller for a Magnetic Levitation Kit","volume":"5","year":"2016","journal-title":"Int. J. Eng. Res. Technol. (IJERT)"},{"key":"ref_31","unstructured":"Ogata, K. (2004). System Dynamics, Prentice Hall. [4th ed.]."},{"key":"ref_32","unstructured":"Ogata, K. (2010). Modern Control Engineering, Prentice Hall. [5th ed.]."},{"key":"ref_33","unstructured":"William, J.P. (2010). System Dynamics, The McGraw-Hill. [3th ed.]."},{"key":"ref_34","unstructured":"Beale, G. (2020, May 25). Classical Systems and Control Theory-Compensator Design to Improve Steady-State Error Using Root Locus. Available online: https:\/\/people-ece.vse.gmu.edu\/~gbeale\/ece_421\/comp_root_ess.pdf."},{"key":"ref_35","unstructured":"Kajan, S. (2008, January 10\u201313). Neural controllers for nonlinear systems in Matlab. Proceedings of the 16th Annual Conference on Technical Computing, Prague, Czech."}],"container-title":["Applied Sciences"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2076-3417\/11\/6\/2535\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T05:34:33Z","timestamp":1760160873000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2076-3417\/11\/6\/2535"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,3,12]]},"references-count":35,"journal-issue":{"issue":"6","published-online":{"date-parts":[[2021,3]]}},"alternative-id":["app11062535"],"URL":"https:\/\/doi.org\/10.3390\/app11062535","relation":{},"ISSN":["2076-3417"],"issn-type":[{"type":"electronic","value":"2076-3417"}],"subject":[],"published":{"date-parts":[[2021,3,12]]}}}